Releases: NCEAS/metacatui
2.11.3
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: []
- New and improved installation, theming, and configuration documentation: https://nceas.github.io/metacatui/
2.11.2
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
2.11.0
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)
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
andenablePublishDOIForSubjects
:
/**
* 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)
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 theAppModel
. LDAP sign-in will be disabled by default
/**
* 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
- Misc. style improvements to the Stats view and metrics charts (#1290, #1296, #865, #1291, #1292, #1293)
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
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).
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.
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.
2.9.0
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
Monthly counts of downloads and views
Monthly FAIR metadata assessment scores
Share portal access for easier collaboration
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
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
2.8.3
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
orportals
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