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

Release candidate - v3.0.4 #3043

Merged
merged 85 commits into from Oct 4, 2021
Merged

Release candidate - v3.0.4 #3043

merged 85 commits into from Oct 4, 2021

Conversation

briri
Copy link
Contributor

@briri briri commented Oct 1, 2021

Release candidate for v3.0.4

Researchers

Admins

  • Updates to API V1:
    • Use the plan.owner as the data contact if available (otherwise the contributor who is the :data_curator)
    • Include the new ethical_issues fields
    • Include the research_domain as a :keyword
    • include the plan.org as a :dmproadmap_funded_affilaition to deal with scenarios where the plan.org does not match the orgs defined for the owner or contributors
    • include the user entered plan.identifier as :dmproadmap_funding_opportunity_number

Developers

  • Pulled in the latest translations from Translation.io
  • Updated Gem and JS dependencies
  • Added grant getter and setter overrides to the Plan model to allow the grant to be loaded and set properly from incoming UI params.
  • Added new config settings to allow the Research Domain and Ethical Issues to be enabled/disabled in config/initializers/_dmproadmap.rb
  • Fixed issues with ReCaptcha implementation Check re-captcha implementation across the board #3011
  • Addressed issue with HTML Downloads Remove vulnerability xss hack #3030
  • Addressed an accessibility issue that was improperly attaching the wrong label to TinyMCE editors Tinymce label fix #3032
  • Cleaned out old unused/legacy tables and columns. See DB Cleanup #2818 for details (note that despite orgs.is_other and users.other_organization being listed on the ticket, they were not removed)
  • Added a utils/conditionalFields.js file that can be used to hide/show form elements based on the state of a checkbox within a <conditional></conditional> block.
  • Refactored JS on 'Plan Details' page to use generalized utils/conditionalFields.js
  • Removed old unused feedback_confirmation mailer
  • Removed unnecessary link between Plan and ApiClient
  • Removes the mime_types table which we decided not to use Remove mime type field from the Research Outputs tab #2816
  • Add a Rake task rails external_apis:add_field_of_science_to_research_domains that populates the new research_domains table

Warning! This update will drop the old user_identifiers and org_identifiers tables. You should evaluate the data in these tables to ensure that there are no recent record (the transition to the consolidated identifiers table occurred several versions ago). It is advisable to backup your database prior to the upgrade.

If you wish to enable the new Research Domain selection box and/or Ethical Issues questions on the 'Project Details' page, you will need to run bin/rails external_apis:add_field_of_science_to_research_domains RAILS_ENV=[env] and set the enable_research_domain and/or enable_ethical_issues flags in the config/initializers/_dmproadmap.rb file (note that you will need to restart the Rails server after updating the config).

raycarrick-ed and others added 30 commits July 28, 2021 10:38
Merge 3.0.3 into deploy/dmponline
fix for rubocop

updated db schema

rubocop appeasement

fixed issue with db schema

eslinter fixes

fix weird rspec error

fixed issue with schema

fixed issue with deserialization service
New maDMP additions for the project details page
return the standard html error page.

Changes:
 In ApplicationController:
   - so that rescue_from errors are rendered appropriately formatted messages for html
     and json with a private method render_respond_to_format_with_error_message()
   - added a rescue_from StandardError with a method handle_server_method()
   - updated existing user_not_authorized
   - updated rescue_from ActiveRecord::RecordNotFound by removing if Production condition
   - added missing method render_not_found()
  In spec/controllers/super_admin/orgs_controller_spec.rb failing tests
   (1) merge_analyze: test "fails if user is not a super admin"
   (2) merge_commit: test "fails if user is not a super admin"
   - changed redirect_to(plans_path) -> redirect_to(root_path)
   - removed "format: :js" because of ActionController::UnknownFormatError
       post :merge_analyze, params: @params. format: :js
       and
       post :merge_commit, params: @params. format: :js
…urn_json_not_html_page

Issue #561 - Fix for ensuring Json format rendering errors no longer
…password_page

Bug 403 add recapcha to new password page
martaribeiro and others added 27 commits September 27, 2021 16:05
…ity_XSS_hack

Remove vulnerability xss hack
opposite.

Changes to following views in shared/export:
- _plan.erb &  _plan_txt.erb: In the questions code block
added a missing check for whether the question should be displayed. This
required moving some of the variables evaluated from lower down in the code, as we need them for our check here.
… fields except for fields:

abbreviation
code
name
firstname
surname
…enabled-for-small-data-entry-boxes

Issue #2169 - Added missing spellcheck for all form text and textarea…
Apologies to @johnpinto1 for editing his file but for a one line change I didn't think it was worth holding things up.
I removed the first blank declaration since it wasn't used until after the second blank declaration. That seemed tidier to me.
…aswered_questions_bug

Issue #2958 - Fix for Download option "unanswered questions" does
added handler for Pundit errors on ApplicationController
@raycarrick-ed raycarrick-ed merged commit 5cd2a36 into master Oct 4, 2021
portagenetwork pushed a commit to portagenetwork/roadmap that referenced this pull request Feb 24, 2022
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.

None yet

3 participants