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 "integration" into deployment-portage #712

Merged
merged 21 commits into from
Apr 9, 2024

Conversation

aaronskiba
Copy link
Collaborator

As specified by the updated CHANGELOG.md, this merge includes the following code changes:

Added

  • Bump mysql2 from 0.5.5 to 0.5.6 #645

  • Added "Accept terms and conditions" checkbox to invitation form #684

Fixed

  • Updated Webmock's allowed request list to enable fetching of chromedriver #670

  • Edit Gemfile config for 'rollbar' to enable app tracking on rollbar.com #687

  • Fxed ordering of templates within the "Create a new plan" template dropdown #706

dependabot bot and others added 19 commits February 12, 2024 14:53
Bumps [mysql2](https://github.com/brianmario/mysql2) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/brianmario/mysql2/releases)
- [Commits](brianmario/mysql2@0.5.5...0.5.6)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ment-portage/mysql2-0.5.6

Bump mysql2 from 0.5.5 to 0.5.6
Edit Webmock allowed requests  to get chromedriver
This adds the terms and conditions checkbox to the devise invitation form. In addition, `accept_terms` has been added to devise_parameter_sanitizer.permit(). This change is required in order for `accept_terms` to be updated within the update method of Devise::InvitationsController.
This change results in the user being unable to submit the invitation form unless the accept terms checkbox is actually checked.
The checkbox handling here is a bit different from the checkbox handling within the create account section of the homepage (see the create method within RegistrationsController). We could do the same here, but it would require a bit more work. Specifically, we'd have to override the Devise::InvitationsController update method within InvitationsController. Also, a bit of extra handling would be required within the DeviseController require_no_authentication method that we are already overriding within InvitationsController.
This change enables app errors to be sent to rollbar.com

`config/initializers/rollbar.rb` includes the following line:
`config.enabled = false if Rails.env.test?`
Thus, having the gem as part of the :default group should be okay.

`rake rollbar:test` can be executed to send a test message to rollbar.com. However, this rake task doesn't work when `require: false` is part of the gem 'rollbar' config.
Edit Rollbar Gem To Enable Tracking on rollbar.com
Prior to this commit, all of the templates were simply being sorted by title.

Now, the sorting follows the instructions specified within the following GitHub issue comment: #685 (comment)
The `funder.present? && !funder.new_record?` check was being unnecessarily repeated.

NOTE: This file features a lot of code exclusive to DMP Assistant. I feel like it could be further cleaned up.
Commit d127444 removed this assignment. However, considering that this instance variable may be used by some corresponding views, this commit puts back the assignment.
Fix Ordering of Templates Within Create Plan Template Dropdown
Add Terms and Conditions For Invitation Form
@aaronskiba aaronskiba changed the title Merge "integration" into "deployment-portage" Merge "integration" into deployment-portage Apr 8, 2024
Merge release `4.0.2+portage-4.0.2` hotfix changes into integration
Copy link
Collaborator

@200455939-yashu 200455939-yashu left a comment

Choose a reason for hiding this comment

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

Good work 👏

@aaronskiba aaronskiba merged commit d888285 into deployment-portage Apr 9, 2024
14 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.

2 participants