forked from DMPRoadmap/roadmap
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… more modifications
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
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
Change was requested here: #888 (comment)
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
Adding SSO CILogon
Generated by 🚫 Danger |
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
lagoan
approved these changes
Sep 11, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added
Add Rake Upgrade Task For
4.1.1+portage-4.2.0
#892Test 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
#859Optimise 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
Withinspec/features/plans/exports_spec.rb
#871Patch to Put Back ORCID Linking Functionality #891