Skip to content

v3.0.4

Choose a tag to compare

@raycarrick-ed raycarrick-ed released this 04 Oct 11:55
· 490 commits to master since this release
5cd2a36

Researchers

  • Fixed an issue that was causing Guidance selections to display incorrectly on the Project Details page #2989
  • Corrected an issue that was preventing Funder selection on the Project Details page #3029
  • Addressed an issue that was causing the 'Search' functionality to fail on tables displaying plans #3000
  • Added a red asterisk next to the 'Organization' label on the create account tab since it is a required field #2889
  • Adds a "Funding status" selection box to the Project Details page #2920
  • Adds a "Research domain" selection box to the Project Details page #2673 (if enabled in config/initializers/_dmproadmap.rb)
  • Adds the "Ethical Issues" checkbox and corresponding "Description" and "Report URL" to the Project Details page #2432 (if enabled in config/initializers/_dmproadmap.rb)
  • Added spellcheck to all of the text area / TinyMCE editors
  • Fixed an issue when downloading a plan that has unanswered questions #2958

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 #3011
  • Addressed issue with HTML Downloads #3030
  • Addressed an accessibility issue that was improperly attaching the wrong label to TinyMCE editors #3032
  • Cleaned out old unused/legacy tables and columns. See #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 #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).