Skip to content

Releases: NCEAS/metacatui

2.11.3

15 May 18:37
Compare
Choose a tag to compare

Bug fixes

  • The "Submit Dataset" button now displays as soon as someone start typing in the editor. Before, it would only display typing and then moving focus to another editor field. #1378
  • If a resource map failed to serialize correctly (using the RDFlib JS library), the resource map would fail to save, causing the package to "break". Now resource maps are serialized before any models are saved. #1377 #1381
  • Nested data packages were showing many incorrect links to parent packages.

Improvements

  • The AppModel has a new configuration for reserving/blacklisting portal labels. Add any string to this array that no one should be able to use as a portal label. #1349
     /**
      * The list of labels that should be blacklisted while 
      * @type {string[]}
      */
      portalLabelBlacklist: []

https://github.com/NCEAS/metacatui/blob/33c4445c7bfd2591ad2bebe2744cffec41cec793/src/js/models/AppModel.js#L424

2.11.2

08 May 20:42
Compare
Choose a tag to compare

Bug fix

  • Some queries were not working, in particular the "My Portals" query.

Responsive navigation in default theme

  • Responsive navigation was not being used in the default theme, so the mobile-friendly navigation styles were added there.

2.11.1

08 May 00:20
Compare
Choose a tag to compare

Bug fix

This patch release includes a fix to queries sent by the Portal view, when used with Solr 8.5+ (#1374)

2.11.0

06 May 21:13
Compare
Choose a tag to compare

New features

Reordering parties in the dataset editor

People and organizations can now be reordered using "Move up" and "Move down" buttons. This changes their order of appearance on the dataset landing page and in the underlying metadata XML. The order of creators is also reflected in the citations shown for the dataset throughout the app. (#521)

reorder

New publish button configuration options

  • The "Publish with DOI" button can now be hidden completely or only display for certain users or groups, using two new configurations options in the AppModel - enablePublishDOI and enablePublishDOIForSubjects:

https://github.com/NCEAS/metacatui/blob/22e54dc70cba2dc55bc84438243d30b5d004e9cf/src/js/models/AppModel.js#L239-L254

      /**
      * If true, users can see a "Publish" button in the MetadataView, which makes the metadata
      * document public and gives it a DOI identifier.
      * If false, the button will be hidden completely.
      * @type {boolean}
      */
      enablePublishDOI: true,


      /**
      * A list of users or groups who exclusively will be able to see and use the "Publish" button,
      * which makes the metadata document public and gives it a DOI identifier.
      * Anyone not in this list will not be able to see the Publish button.
      * `enablePublishDOI` must be set to `true` for this to take effect.
      * @type {string[]}
      */
      enablePublishDOIForSubjects: [],

(#1366)

Metadata assessments

  • The "Metadata Quality" features have been renamed to "Metadata Assessment"
  • The citation for the dataset is now shown on the Metadata Assessment Report (#1180)

Screen Shot 2020-05-06 at 3 54 55 PM

LDAP sign-in configuration option

  • The LDAP sign-in option, which usually is displayed under the ORCID button as "Have an existing account?" can now be disabled using the new enableLdapSignIn configuration in the AppModel. LDAP sign-in will be disabled by default

https://github.com/NCEAS/metacatui/blob/22e54dc70cba2dc55bc84438243d30b5d004e9cf/src/js/models/AppModel.js#L164-L170

      /**
      * Enable DataONE LDAP authentication. If true, users can sign in from an LDAP account that is in the DataONE CN LDAP directory.
      * This is not recommended, as DataONE is moving towards supporting only ORCID logins for users.
      * This LDAP authentication is separate from the File-based authentication for the Metacat Admin interface.
      * @type {boolean}
      */
      enableLdapSignIn: false,

Other

Bug fixes

  • Navigating to a dataset landing page via a data object seriesId would sometimes show an "A newer version of this dataset exists" message, even though the latest version of the dataset should be shown. (#1365)
  • The browser back button was not working right when used in the portal editor. (#1364)
  • Saving the provenance editor was not working (#1325)
  • In the dataset editor, when an EMLParty had only an organization name, is was flagged as invalid and prevented a successful save, even though organizations are valid EMLParties. (#1220)
  • The Copy Token button was not working (#1320)
  • Misc. CSS issues (#1329, #1272, #1331)

2.10.0

31 Mar 21:23
Compare
Choose a tag to compare

New features

Unsaved changes to EML are saved as local drafts, for emergency retrieval

When changes are made to an EML metadata document via the editor, a local draft of the EML document will be saved to the user's browser. These drafts can be downloaded or copied from a new view, /drafts.

This tool is useful for repository user support teams, who can direct users to that view to download and email their drafts for manual upload. This is the first phase of the MetacatUI drafts feature. The second phase is to make these local drafts editable in the UI. (See #1228).

Screen Shot 2020-03-31 at 1 12 03 PM

Custom keyword thesauri

The EML editor can now be customized with any keyword thesauri. Configure the AppModel emlKeywordThesauri attribute to specify thesauri with a label and value.

Bug fixes

  • Sign In in Safari was not working sometimes. Safari (and possibly other browsers) were sometimes using cached versions of the DataONE /portal/token response. MetacatUI now sends a Cache-Control header to disable cached responses. #1311
  • EML documents with spatialReference elements were causing submit errors #1303
  • The Submit Dataset button would stay as "Submitting..." forever. #1314
  • Clicking "Submit Dataset" does nothing, sometimes #1313

Changes to browser support

Internet Explorer

  • As of MetacatUI 2.10.0, Internet Explorer 11 and earlier are officially deprecated as supported browsers. Most functions of MetacatUI will still be functional in IE 11, but fixes to future bugs in IE 11 will not be prioritized. IE 11 users will now see a dismissable message that they should update their browser.

Screen Shot 2020-03-26 at 2 54 09 PM

Safari

As of Safari 13.1, third-party cookies will be disabled by default, which is required for sign in via DataONE. MetacatUI will now display a help message on the Sign In page for Safari 13.1+ users.

Screen Shot 2020-03-31 at 1 52 42 PM

2.9.0

12 Mar 20:04
Compare
Choose a tag to compare

New features

Metrics for data portals

DataONE Plus data portals have new charts of aggregated usage metrics and metadata assessment scores.

Note: These aggregated metrics are only available to DataONE Plus subscribers. They may be visible in MetacatUI for a temporary period as DataONE Plus is still in development.

Total citations

Screen Shot 2020-03-11 at 3 54 12 PM

Monthly counts of downloads and views

Screen Shot 2020-03-11 at 3 54 32 PM

Monthly FAIR metadata assessment scores

Screen Shot 2020-03-11 at 3 56 46 PM

Share portal access for easier collaboration

Screen Shot 2020-03-11 at 4 09 06 PM

All data portals (even non-DataONE Plus portals) have new sharing options for granting your collaborators view, edit, and ownership access of your portal.

Create a group for your team to easily organize access levels for multiple people.

Keep your portal private until you are ready to publish with a simple privacy toggle.

Misc.

  • Added a link to view the last saved version of a portal, when in the portal editor. #1219
  • A message is displayed on the portal page if it is likely still being indexed. #1221

Bug fixes

  • EML entities were being duplicated, deleted, or messed up when the entity was edited. #1246, #1217, #1095, #1172
  • Citations button was not working sometimes - #1254
  • The image uploaders in the portal editor were not working in MS Edge #1195

Notes

  • MetacatUI developer documentation is now live at https://nceas.github.io/metacatui/docs. The docs are not complete yet, but will be added to over time.
  • The downloads bar chart was removed from the profile pages and replaced with the aforementioned DataONE Plus downloads chart.

2.8.5

18 Feb 19:37
Compare
Choose a tag to compare

Bug fixes

  • Fix bug where provenance charts did not always display on the dataset landing pages (#1266)
  • Improvements to the download buttons:
    • "Download All" buttons for private resource maps will be disabled
    • "Download All" buttons will be disabled when at least one member of the resource map is private/inaccessible.
    • Downloads will only be done via XHR when the objects are private and authentication is required.

2.8.4

20 Jan 19:34
Compare
Choose a tag to compare

Bug fixes

  • The private toggle checkbox in the EML editor was not working, and causing data files to disappear #1226, #1227
  • The Metrics page in the Portal Views were not working #1241 #1233
  • Fixed an IE 11 compatibility error #1236

2.8.3

19 Dec 20:17
Compare
Choose a tag to compare

Bug fixes

  • A confirmation message wasn't displaying when leaving the Portal Editor. This may have been happening in the EML Editor sometimes too. #1222
  • Navigating to the edit/portals or portals routes by clicking a link was causing the browser to do a full page navigation, bypassing the Backbone Router. This is a slower form of navigation since the entire MetacatUI app gets spun up in the browser. It can also cause a slower performance since local memory is lost on navigation. Commit 56745d2
  • Fixed bug where the Portal View and Portal Editor View would show an unexpected Not Found message for private portals, because the view was rendered before the authentication was completed. Commit 5177f35

Minor improvements

  • Make the data attribute column wider in the Metadata View #1119
  • Send the system metadata data parameter in the create and update calls before the object data, for faster upload. #1188

See all 2.8.3 issues

2.8.2

19 Dec 20:23
Compare
Choose a tag to compare

Bug Fixes

  • The citation list in the dataset landing pages were not rendering Commit 5705c96
  • Queries sent to the query service in the Data Catalog view for the year filter and provenance icons were failing when containing semantic annotation filters. Commit 683e6eb

Minor improvements

  • Improved the spacing of the search result rows so that Metric badges are now lined up vertically, similar to table columns Commit 98a447a
  • Added JSDoc documentation to the AppModel for semantic annotation features. Reorganized some of the semantic annotation config options. Commit 1c6d63c