Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Changes For Upcoming Release 4.1.1+portage-4.2.0 #893

Merged
merged 127 commits into from
Sep 11, 2024

Conversation

aaronskiba
Copy link
Collaborator

Added

  • Add Rake Upgrade Task For 4.1.1+portage-4.2.0 #892

  • Test cases for CILogon(openid_connection) changes in Omniauth controller - #869

  • Implemented openid_connection SSO with CILogon #872

  • Create GET "/api/ca_dashboard/stats" endpoint to fetch Plan, User, and Org-related statistics #852

  • Added SSO changes updates to the About and Help pages. #882

Changed

  • Update Favicons and Associated HTML Code #873

  • Drop Sessions Table and Delete lib/tasks/sessions.rake #859

  • Optimise Load Time of "Edit Profile" Page #883

Fixed

  • Fix triggering and title of autosent email when a user's admin privileges are changed #858

  • Fix flaky tests / Optimize Checking Of plan.title Within spec/features/plans/exports_spec.rb #871

  • Patch to Put Back ORCID Linking Functionality #891

Yashu and others added 30 commits June 28, 2024 09:38
Adding some missing methods and start cleanup.

We still need to clean up and fix the `openid_connect` method on
`omniauth_callbacks_controller.rb`.
When `privileges_changed == true`, the admin_privileges email is triggered. Prior to this commit, the triggered email was working properly with respect to removed privileges. However, in terms of added privileges, it was only being triggered when the API access privilege was added. This commit results in the email now being triggered after any privilege is added.
Fix Triggering and Update Title of Admin Privileges Email
Our app has been using `cookie_store` for some time https://github.com/portagenetwork/roadmap/blob/deployment-portage/config/initializers/session_store.rb. As a result, this rake task is no longer needed.

Also, this rake task is currently broken: https://app.rollbar.com/a/ualbertalib/fix/item/dmp_assistant/490
aaronskiba and others added 24 commits September 6, 2024 10:30
Optimise Load Time of "Edit Profile" Page
About and Help page changes related to the SSO updates #877
Commit f76758b - "Add link account with CILogon" added the functionality to link an external account via CILogon. However, the commit also removed the functionality to link one's ORCID credentials within the app. This commit adds the ORCID functionality back.
We previously had methods that were dynamically created but are no
longer needed since we are creating them specifically.

This is done to handle the different workflow for CILogon account
creation.
Patch to Put Back ORCID Linking Functionality
Testcases for the Ominiauth controller openid connect
Release `4.1.1+portage-4.2.0` includes a migration and it requires a specific new entry to the `identifier_schemes` table for openid_connect / CILogon to work properly. This rake task is intended to take care of all of that.

Note: The changes applied via this rake task have already been executed manually on the staging environment. However, performing the rake task on staging should still have no adverse effects.
…ade-task

Add Rake Task For `4.1.1+portage-4.2.0` Upgrade
Copy link

1 Warning
⚠️ This PR is too big! Consider breaking it down into smaller PRs.

Generated by 🚫 Danger

aaronskiba and others added 3 commits September 11, 2024 12:52
The command for executing the tests was updated for the purpose of resolving the following encountered errors: https://github.com/portagenetwork/roadmap/actions/runs/10816895157/job/30010270894?pr=893
Update ruby workflow command for executing tests
Copy link
Collaborator

@lagoan lagoan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aaronskiba aaronskiba merged commit 2c1df33 into deployment-portage Sep 11, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants