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

Prepare for 3.1.0 formal release #321

Merged
merged 3,557 commits into from
Feb 21, 2023
Merged

Prepare for 3.1.0 formal release #321

merged 3,557 commits into from
Feb 21, 2023

Conversation

pengyin-shan
Copy link

3.1.0 Formal Release:

[3.1.0+portage-3.1.0] - 2023-02-22

Added

  • In the project detail page, users can now specify a primary research domain for their project (e.g. Biology, Computer Science, Humanities, etc.). This information appears in the DMP's JSON as a 'tag'

  • On the project detail page, users can now indicate and describe any ethical concerns that concern their research data. Clicking the checkbox will display a field to describe the concerns and a URL field to link to a report. This information appears in the DMP's JSON.

  • Added a new 'Research Outputs' tab that allows users to specify information about their intended research outputs #2738. User can specify the type (e.g. dataset, software, image, etc.), name and a description of the output, size (if applicable), whether or not it contains sensitive info or PII, what the initial access level will be (e.g. open, restricted, closed) and the anticipated publication date:

  • Research Output

  • Allowed user to select an appropriate license in the Research Outputs tab (note that the options come from the SPDX license registry) #2607

  • Allowed user to any metadata standards that will be followed (e.g. Dublin Core) in the Research Outputs tab (note that the list of standards comes from the RDA Metadata standards catalog) #2798

  • Allowed users to select the repositories they intend to preserve the object in (e.g. Dryad, Zenodo, GitHub, or an institutional repository) in the Research Outputs tab (note that the list of repositories comes from the re3data registry) #2605

  • Added research outputs result to downloaded PDF file in a table format #2812

  • Updated APIs to add research outputs result to the downloaded JSON file, which appears as 'Dataset' information

  • Added helpdesk email address field to Organisation's details. This email will be used in the email signature for emails sent from the system (assuming the recipient of the email is a member of the same Organisation) #3140

  • Added data migration rake tasks and migrated DMP Assistant database from MariaDB 10 to PostgreSQL 12 to better accommodate JSON format data

  • Sandbox testing flag can be turned on/off so org admin can change locally hosted DMP Assistant to a sandbox testing environment

  • Added rubocop test and code side support #264

  • Updated rubocop setting to disable the debug checking after upgrading to rubocop 1.45 #316

  • Added more clear error message to remind users not to fresh the page when the 'saving plan' process is stuck and the success message is not shown as expected #241

  • Added static page for server upgrading time #310

  • Make the comments/guidances are collapsible to give the researcher more space to see their answers #3123

Changed

  • DMP Assistant migrated all data from MariaDB 10 to PostgreSQL 12

  • Updated all Gems and JS dependencies

  • Used excel sheet to track the upgrading process #187

  • Updated the french translations for the Portage template for systematic reviews #269

  • Adjusted Dockerfile.Production to move rails assets:precompile step to docker-compose.yml file #282

  • Relived memory load in the translation syncing process by adjusting configuration so that only code in the app folder will be scanned and translated #313

  • Adjusted customized translation.io source code to add unscoped method for the necessary table to fit PostgreSQL syntax (Improve translation speed by apply unscope to only necessary table ualbertalib/translation_io_rails#2)

Fixed

  • Reversed perm_helper.rb changes to reduce translation.io sync memory pressure and added rubocop exception for translation.rb #315

  • Unmanaged organization will not show in all org selectors except the creating new organization page #260

  • Allowed contributors to choose organizations #273

  • Allowed admin to see unmanaged org name when creating new org to avoid duplication #275

  • Force Github actions using Ubuntu 20.04 to fix wkhtmltopdf-binary issue #266

  • Clarified of String and Array behavior for plan exports #268

  • Fixed the error that app.pot headers accidentals appear in the empty text box of writing plans area #308

  • Fixed for pagination of plans retrieved using the REST API V0 #3105

  • Security vulnerability patches #3100, #3097, #3093, #3077

  • Fixed issues/inconsistencies with policies #3084 #3099

  • Fix for issue downloading PDFs #3054#3049 #3098

  • Fix for issue displaying users as collaborators on a plan after they have removed themselves Fix for issue downloading PDFs #3095

  • Fix for API v0 not supplying the owner email address Fix for issue downloading PDFs #3094

  • Fix for bug preventing Super Admins from creating new Orgs #3091

  • Fix for issue causing deleted plans to appear in the Org Admin list of plans #3087

  • Fix for CSV downloads #3085#3075

  • Fix for pagination and search on the Admin plans page #3069 #3073

  • Fix for strings that were not included in translation content #3081#3050

  • Fix for issue with contributor org logic not adhering to the restrict_orgs config flag #3078#3060

  • Fix for adding contributors #3071

  • Removed phone number field from contributor page #3067

  • Fixed issue with merging users #3065

  • Fixed issue with emails #3052

  • Fix for users unable to see API page #3047

  • Upgraded Rubocop and updated all files accordingly #3048 #3045

  • Fixed an issue that was preventing Org Admins from seeing the 'Share' tab #3131

  • Fixed an issue that was causing errors when Org Admins tried to save changes to a template #3071

  • Patched an issue that continued to show users as collaborators on a Plan's Share tab even after they had removed themselves from the Plan #3126

  • Fixed an issue that was causing TinyMCE editors to have an incorrect size when they initially load #3141

  • Various fixes for the APIs

  • Patched issue that was always using the default template when creating a new DMP in API v1 #3137

  • Fixed an issue that was preventing plans from being created via API v0 #3135

  • Addressed an issue that was preventing users from being unassigned from a department in API v0 #3132

  • Reverted change to our use of string format tokens that were made during an upgrade of Rubocop. The preferred format is once again Some %{variable_name} text #3138

  • Fixed some potential PDF downloading problems

  • Updated Github Actions to use specified node version #319

raycarrick-ed and others added 30 commits February 1, 2022 13:20
…5_deleted-private_plans_visible_to_org_admins

Bug DCC Issues 592, 645 - Fix for Org Admins seeing deleted Plans for…
…hub.com:DMPRoadmap/roadmap into bug_dcc_674_csv_download_plans_fails_for_admins
…wnload_plans_fails_for_admins

Issue DCC-674: Fix for broken CSV Download noticed because a nil
    pagination of user's plans broken.

    Fix for issue DMPRoadmap#3069 and DCC issue
    https://github.com/DigitalCurationCentre/DMPonline-Service/issues/675.

    Changes:
      - Replaced view files /paginable/plans/org_admin_other_user with /paginable/plans/_index.html.erb
        with extra checks for plan.owner.present? as missing plan.owner broke a DCC user's plans being render by org_admin.
      - Replaced partial with '/paginable/plans/org_admin_other_user'  with '/paginable/plans/index',
         replaced action'org_admin_other_user' with 'index' in paginable_renderiser() method in views
        /org_admin/users/edit.html.erb. /org_admin/users/plans.html.erb and /super_admin/users/edit.html.erb.
      - In Paginable::PlansController replaced -
        # GET /paginable/plans/org_admin/:page  with # GET /paginable/users/:id/plans
        associated with method org_admin_other_user()  renamed index()
      - Routes replaced
        get "org_admin_other_user/:page", action: :org_admin_other_user,
                                        on: :collection, as: :org_admin_other_user
        # Paginable actions for users
        resources :users, only: [] do
          get "index/:page", action: :index, on: :collection, as: :index

        with

        resources :users, only: %i[index] do
           member do
             resources :plans, only: %(index)
           end
        end
…75_paged_results_on_plans_org_admin_other_user_breaks

 Issue#3069 - (DCC Issue 675) - Org Admin and Super Admin searches and
form for Plan based on whether email and/or name are required.

Fix for DCC bug DMPRoadmap#2983

Changes:
 - Added two new properties to config/initializers/_dmproadmap.rb
   (both devault to false):
   config.x.application.require_contributor_name = false
   config.x.application.require_contributor_email = false
 -In Contributor model the private method name_or_email_presence()
  has been updated to take account of the above mentioned property
settings.
… of github.com:DMPRoadmap/roadmap into bug_DCC2983-possible_to_add_contributor_without_a_name
typo
rubocop stuff. Single line ifs and use of zero?
…le_to_add_contributor_without_a_name

Issue#dcc2983 - Fix for preventing adding a Contributor via Contributor
V0.

Changes:
- replaced wrongly named param :page_size with :per_page that is used in
pagination in app/controllers/api/v0/base_controller.rb
- added a before_action :page_params to app/controllers/api/v0/plans_controller.rb
- added code to retreive :per_page param to scope in
app/controllers/concerns/paginable.rb.
pengyin-shan and others added 23 commits February 1, 2023 15:43
#trival resolve issue308 by restore title and description public methods
add static page for 3.1.0 upgrade
Fix memory usage issue in translation sync process
3.1.0 formal release minor fixes for Github Action and Rubocop
@pengyin-shan pengyin-shan self-assigned this Feb 21, 2023
@github-actions
Copy link

1 Warning
⚠️ This PR is too big! Consider breaking it down into smaller PRs.

Generated by 🚫 Danger

@pengyin-shan pengyin-shan merged commit 60fc889 into deployment-portage Feb 21, 2023
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.

7 participants