Releases: DMPRoadmap/roadmap
v2.1.4
General
- All of the text area fields will now provide spellcheck (browser dependent) #2169
- We moved the 'Request Feedback' button to its own tab #2234
- Fixed a bug with the progress bars on the write plan page for plans with multiple phases (e.g. Horizon2020) #2095
- Updated Português (Brasil) translations #2303
- Template
published date
now shows the date the template was published #2199 - Fixed a bug that was preventing some users from updating their profile #2208
- Clicking your institution's logo no longer brings you to your institution's website #2173
- You can now create a plan for a specific public template by clicking on the icon in the public templates page instead of going through the create plan page (you can also copy the link to do this) #2284
Accessibility
- Links, buttons, table cells and fields now show a visible cue when they have focus #2206, #2230
- A new 'Opens in a new window' tooltip appears when selecting or hovering over a link that goes to a different site #2211
- Now providing alternate text as well as tooltips for assistive technologies like screen readers #2222
- Addressed some issues encountered when using zoomText or Windows Magnifier #2223
- Fixed some accessibility issues with tables #2253
- Fixed an issue where radio button labels were not correctly associated with their radio buttons #2273
- The Guidance and Comments tabs when editing a plan are now accessible by keyboard #2283
PDF Downloads
- Fixed an issue with long plan title's #2251
- Fixed an issue with non-latin characters #2249
- Fixed an issue with the display of some bullet points #2147
Org Admins
- You can now define departments for your Organization (e.g. 'School of Engineering')
- Added user's 'department' and their 'number of plans' to the Users table #2266
- You can now export your own templates #2091
- Fixed some issues with searching on table #2236
- Fixed a bug that was causing errors when sorting guidance #2207
- Fixed a bug when changing a template's visibility (only effected organizations that are both a funder and an organization) #2264
Super Admins
- You can now merge user accounts on the Admin -> Users page #2245, #2224
- You can now archive a user account. The account is anonymized so that all personal information for the user is no longer available. Their plans and comments remain. #2224
- Fixed an issue with updating an organization's shibboleth entityID (only applicable to installations that filter the list of organizations that can use institutional login) #2289
API
- The full text API is now filterable by user ids, template ids or plan ids #2293
Developers
- Updated gem and JS dependencies
- Cleaned up deprecated methods in the Rspec tests #2258
- Fixed an issue where annotations were being added to removed questions #2216
- Updated cookie serialization from hybrid to JSON #2256 Note this may invalidate any very old user cookies
- New
branding.yml
attribute for the suffix to use when 'anonymizing' a user account. Make sure you update your copy of thebranding.yml
file (e.g.archived_accounts_email_suffix: '@removed_accounts-dmproadmap.org'
). Rather than an account being deleted from the system, it will be anonymized using the email domain you enter here. This prevents records from being orphaned in the DB. - There is a new JS variable called
OPENS_IN_A_NEW_WINDOW_TEXT
that you should ensure is part of yourviews/layouts/application.html.erb
file (if you have replaced the default with your own)
V2.1.3
v2.1.3
Upgrade Process:
- add the
api_max_page_size
key to yourconfig/branding.yml
, seeconfig/branding.yml.sample
- run
rake upgrade:v2_1_3
to:- fill blank plan_identifier fields with the ID for the plan
- add the Reviewer permission to the database
- Make all org-admins into reviewers
- Remove the old reviewer Roles
- Make sure you
bundle install
andyarn install
to get all dependancies up-to-date - Run
rake db:migrate
to add the new table and fields for the departments
Changes:
Researchers
- Updated date-format in footer of PDF Export to be unambigious
- Pre-fill the plan's Identifier with it's ID
- Horison 2020 plan now lets you select your grant-id via a typeahead, pre-filled with active projects
- Edit-times on comments are now in 'time-ago' instead of displaying in UCT
- You can now add a school or department to your profile
Org-Admins
- Reviewer is now an admin permission, you should now have this permission
- You can now add schools or departments (and set a label for your organisation's sub-divisions) for your users to select & add to their profile
- To publish, Templates now must have phases; phases, a section; sections a question
- 'Share Plan' page now viewable for your org's plans
Super-admins
- 'Share Plan' page now visible
- Reviewer now a permission, you will see the organisation you are associated with's plans, changing when you change organisation.
Bugfixes
- RDA Metadata Standards question now working
- Users with capital letters in their emails can be invited to plans
- Template export shows error messaging for bad IDs
- blank answer.text no longer causes csv and text export to throw an error
Security
- Updated versions for gems and JS dependancies to patch security issues
- Added gem to patch Omniauth vunlerability CVE-2015-9284
v2.1.2
Upgrade Process
- Update the text of
config/branding.yml
to set the following (see #2059):
preferences:
email:
users:
new_comment: false
- Run
rake upgrade:v2_1_2
to add the Date question type - Run
rake stat:build
to update your generated statistics
Changes
Researchers
- Long links in Guidances now wrap in all browsers #1876
- Clarified error messaging when updating user profile #1749
- Improved formatting of Question/Answer in plan downloads #1893
- Updated Request feedback text to show user/plan name, instead of placeholders #2047
- Only show Guidance selections on Project Details page when the Plan has applicable Guidance #2020
- Updated CSV download formatting to include comments and strip text formatting instead of representing line-breaks as semicolons #2058
- Expand/collapse all links only show on the guidance tab when there are multiple guidances #2049
- Updated preferences to not notify of new comments by default #2059
- Comment notification text updated to link-out to plan tab, and list question and section #1872
- Improved Table Formatting in Example Answers, Questions, Default Answers, Guidance, Answers, and Comments #2071
- Searches over tables are now case-insensitive #2080
Org-Admins
- Org-admins cannot become reviewers of their own plans #2009
- When reviewing a plan, Answers are rendered in HTML, so always display in full #1683
- Template names in tables are now a link to the template details page #1182
- Themed guidance displays on all template previews #1209
- Added missing Date question type #1158
- Usage Dashboard report now shows the number of plans, grouped by template used (also available via the API) #1679
Accessibility
- Request feedback confirmation now accessible to screen-readers #1447
Bugfixes
- UTF no longer breaking PDF footer, solution contributed by @benjaminfaure #73
- Tables Default sorting is no longer removed by clicking 'View All' or 'View Less' #2027
- Javascript now compiles to work in IE
v2.1.1
This release includes some significant restructuring of the codebase's stylesheets. Please review your local customizations before deploying to your production environment. Information on the new Stylesheet organization can be found in the Branding wiki.
Also please note that assets have been moved from the lib/assets/
directory to app/assets
directory. We are no longer using nom and webpack directly but instead are now using the Webpacker gem. Please use the standard rake assets:precompile
to compile your assets.
You should also run rake upgrade:v2_1_0
which will make sure that any plans in your system that do not have at least one owner/co-owner/editor are set to 'private' visibility and any remaining reviewer/commenter roles are deactivated.
Admins:
- Fixed an issue when viewing a plan in read-only mode that prevented you from seeing the entire answer #1683
- Fixed an issue with the sorts on the admin's Users page #2016
- Fixed an inconsistency between the number of plans reported on the Usage Statistics page #1703
- The text field is now required when creating or editing a template question #1725
- The remove plan function will now deactivate the plan if it no longer has any owner, co-owner or editor. This will also remove it from the organizational plans list #1663
Researchers:
- Tooltips on the Create Plan page now appear below the textboxes instead of to the right where they hid the checkboxes from view #1161
- Guidance selection options are no longer displayed if the plan you are working with has no applicable themed guidance that would be relevant #2020
- Fixed an issue with the way the feedback request button appeared on the Share Plan page #2012
- Fixed an issue with account creation via Shibboleth (Institutional credentials) #2014
- All external links now open in a new tab/window #2005
- Fixed an issue when downloading institutional plans as a PDF #2001
- Fixed an issue that was preventing users from creating an account when a plan had been shared with them #1986
- The links to download plans and templates are now icons #1164
Developers:
- Updated the wiki Branding, Installation and Troubleshooting pages to reflect changes to asset management
- Added support for storing organizational logos in an S3 bucket instead of on disk #1976
v2.1.0
v2.0.0
Upgrade Process
This release introduces so major changes to the way we ensure our data is valid. The upgrade process is detailed on the wiki: https://github.com/DMPRoadmap/roadmap/wiki/Upgrading-from-v1.x-to-2.0.0
Changes
OrgAdmins
- Template Sections can now be re-organised via drag-and-drop
- Changed message text for flash notice when removing User permissions (#1880)
- Added button to download list of CSV users (#1754)
- Added status for total org users and plans (#1760)
Researchers
- Comments are now visible by default, without having to click "Show" (#1873)
- Updated text labels on form buttons for better clarity (#1781)
- Removed multi-select box as an answer format (#1771)
Developers
- Normalised asset compilation. Now you can use
rake assets:precompile
to build JS and CSS assets. - Consolodated and simplified JS code.
This commit removes duplication in the JS code, making it simpler and easier to manage (#1752) - Added new System-wide configuration for plan readability. Developers can now set whether org admins may view each plan within their org or not, via
branding.yml
- Added Bullet gem to identify sub-optimal database queries in development mode #1675
- Replaced MiniTest suite with RSpec (#1664)
- Installed Capybara and Selenium for integration tests #1668
- Removed unused methods from models #1572
- Add additional validations to ActiveRecord models
NOTE: This will require you to run some rake tasks to ensure your own data is valid. Please view this README for more information (#1572) - Installed Annotate gem for automated comments in Gemfile and models (#1672)
- Renamed deprecated
deliver
methods todeliver_now
(#1695) - Replaced fixtures with FactoryBot factories for tests (#1651)
- Added Faker gem for better factory test data (#1666)
- Added Shoulda gem for cleaner tests
- Removed
attr_accessible
from models and added strong params to controllers (#100) - The BetterSpecs.org is now our standard guide for writing tests (#1665)
- Replaced instances of
raw
method withsanitize
for safer HTML escaping (#532) - Removed unused accessibility link from layout footer (#1734)
- Removed number field from sections form (#1371)
Bug fixes
- Fixed bug preventing users from adding new questions (#1723)
- Fixed CSS bug causing page footer to overlap when page content is long (#1300)
- Fixed bug on plan downloads that was ignoring the user-defined configurations (#1730)
- Fixed bug when downloading a public or org DMP (#1841, #1785)
- Fixed bug on user org change that ensures
other_organization
column is reset (#1736) - Fixed bug preventing super-admin from switching orgs (#1835)
- Fixed the layout of annotations within questions (#1833)
- Fixed bug preventing users from requesting feedback on a plan (#1845)
- Fixed bug affecting the display order of sections within templates (#1371)
- Fixed instances where TinyMCE would not load when added by Ajax (#1777)
- Fixed bug showing the wrong value for "Not customised" templates (#1815)
- Fixed bug showing guidance with multiple themes multiple times (#1755)
- Fixed bug showing incorrect display name for guidance subgroups (#1409)
- Fixed bug causing org dropdown on sign-up form to be empty when
is_other
is false (#1809) - Fixed bug breaking autosave on TinyMCE forms (#1878)
- Fixed bug preventing org admin from turning on feedback (#1877)
v1.1.4
Researchers
- When a user shares a plan with a colleague the email will now display the user's name #1587
Org Admins
- Option based template questions (e.g. select box, radio buttons, etc.) now allow for an unlimited number of choices #1640
- You can now associate guidance with multiple themes again #1742
- Updates to the 'Request Expert Feedback' functionality:
- Improved tooltip language to help clarify the purpose of items on the Admin -> Organization details -> Request Feedback tab #1722
- The system now displays the 'Request Feedback Message' to your users on-screen instead of sending them an email #1163
- Updated the 'Request Feedback complete' email to include clearer instructions on how the user can find your comments and a direct link to the appropriate page #1431 & #1492
Bug Fixes
- Addressed an issue that some users were encountering when trying to change their email address #1714
- Addressed an issue that caused Shibboleth IdP information to be lost when editing an Org's request feedback options #1732
- Fixed an issue with Guidance page form validations #1629
- Users can now click the 'Show password' checkbox on the create account form #1702
- Theme selections are no longer deleted when an admin adds annotations/customizations to a question #1684
- Fixed issue preventing users from submitting the create account form #1680
Accessibility
- Groups of Check boxes and Radio buttons are now properly nested within
<fieldset>
tags #1448
General Improvements
v1.1.3
This release is a minor patch to v1.1.2. Please refer to the v1.1.2 release notes for important information on recent changes and the need to run rake upgrade:v1_1_2
and manually update data.
- Added an additional string to translation files
- Added in missing fr_FR and pt_BR translation files for devise, contact_us and bootstrap gems
v1.1.2
Note that you will need to run rake upgrade:v1_1_2
task to update your database (see the database changes list below for details
Bug fixes
- Tinymce editors on Template edit page now have bulleted lists and table options again #1594
- Improvements to the consistency of the Organisation selection boxes #1589
- Labels on the Create Plan page updated to make the requirements clearer for the user #1479
- The system will no longer email all admins when a user requests feedback #1217
- Current tab is now properly highlighted #1603
- Fixed default sort on Public Templates page #1333
- The 'Show full list' link on the shibboleth org selection page was fixed #1617
- Guidance can now have only one associated theme #1212
Accessibility updates
- 'Skip to main content' link added for screen readers #1442
- Pages now have unique titles #1441
- All form input elements now have labels #1445
- All buttons now provide a visual cue when they have focus #1443
- Properly grouped PI and Data Contact elements on the Project details page #1454
Translations
- New
translatable:find
rake task to replacegettext:find
. This new task gathers all translatable strings from the code and updates the POT/PO files accordingly. #1339#, fuzzy
means that the string is new and needs to be translated#msgid
means that the string is no longer in the code (obsolete) and can be deleted
- New translations for Française (France) - thanks to the DMPOPIDoR team
- New translations for Português (Brasil) - thanks to The University of Campinas
Database changes
- The
orgs.contact_email
is now required. This will add the helpdesk email defined in your branding.yml file to any orgs whose contact_email is blank. The task will provide feedback on which records have been updated. - Guidance can now only have one associated theme. The task will notify your of which guidances have multiple theme associations. You will need to manually update those records to select the most appropriate theme.
- Removes the email notification preference for receiving emails when a user requests feedback. Only the org's contact_email is notified now when a user requests feedback.
The translation files are now complete and contain all of the translatable text within the codebase. To see a list of these changes, please refer to the comparison page, click on the 'Files changed' tab and then scroll down to the config/locale/app.pot
file . The list of changed translations should be smaller in future releases now that we have a complete set.
v1.1.1
Added a Privacy statement for GDPR
- GDPR privacy statement added to footer #1556
Bug fixes
- Fixed format of links in DOCX downloads #1185
- Fixed bug that allowed users to edit historical template information #1554
- Removed Copyright statement from downloaded plan coversheet when the plan is not public #1549
- Fixed bug with updating email notification preferences for non super-admin users #1514
- Fixed bug with Plan Overview page for multi-phase templates #1548