Releases: NCEAS/metacatui
2.8.2
2.8.1
Bug fixes
- Private Portals sometimes never rendered, and instead showed a "not found" message. This is because sometimes the Portal was fetched before the user authentication was completed. #1204
- If the map failed to render for whatever reason, the dataset list would also fail to display. Now map errors are caught better so that the dataset list will still show up. #1202
- Submissions in the metadata editor were causing Save errors because EML Parties were not serialized correctly. #1203
See all issues: https://github.com/NCEAS/metacatui/milestone/78?closed=1
2.8.0
New features
Portal Editor
Portals (previously called projects) can now be created and edited in the new Portal Editor!
Dynamically-retrieved portals
In previous versions of MetacatUI, portals were only navigable by mapping the portal label to it's seriesId via the AppModel configuration. This configuration is now deprecated, since portals are retrieved dynamically by grabbing the portal label
from the DataONE/Metacat search index.
Misc.
- Custom JSON-LD can be inserted into the page by using the new jsonld.txt file
Bug fixes
2.7.0
New features
EML 2.2.0 is now supported in dataset landing pages!
- Markdown content in EML 2.2.0 documents will be rendered into HTML and displayed in the dataset landing page.
- EML Annotations are displayed and when clicked on, the annotations will show the term definition. A "find more" link will navigate to the user to a search for other datasets with the same annotation.
- The term definition will only display if MetacatUI is configured with a Bioportal API key in the
bioportalAPIKey
attribute on the AppModel.
- The term definition will only display if MetacatUI is configured with a Bioportal API key in the
- Datasets with Measurement Type EML Annotations can be searched for using the new "Annotation" search filter. If Bioportal is configured, a term tree is displayed and can be used to find and browse measurement type terms from The Ecosystem Ontology (ECSO).
- This filter can be turned off by excluding the word "annotation" from the
defaultSearchFilters
AppModel attribute.
- This filter can be turned off by excluding the word "annotation" from the
- An annotation icon will display in the search results for datasets with annotations.
- This feature can be turned off using the
showAnnotationIndicator
AppModel attribute.
- This feature can be turned off using the
Note: EML 2.2.0 docs cannot be created or edited in the MetacatUI editor yet.
Other improvements
- ORCIDs are displayed in the Project pages Members tab #940
- If Google Analytics is enabled, a download event will now be sent whenever a Download button is clicked. An event will also be sent whenever a metrics button has been clicked (views, downloads, and citations). #783
- The
creator
andpublisher
properties were added to the JSON-LD metadata in each dataset landing page, to be more compatible with Google's new schema.org guidelines. #1074
Bug fixes
2.6.5
Bug fixes
- Use the
Content-Disposition
header to get file names for bagit downloads #1020 - Trailing slashes in URLs caused routes to fail. Now trailing slashes can be used in URLs and the routes will still work. (e.g. https://site.com/data/) #1030
Bug fixes on dataset landing pages
- Dataset landing pages were sending a network request for the system metadata of every object in the package, which was unnecessary. These excessive calls have been removed. #978
- When on a nested dataset landing page, links to obsoleted parent packages were displayed. #1025
- Archived resource maps were displaying in non-archived dataset landing pages #1017
Improvements
- Added a JS file,
server.js
, to launch a Node Express server for development - In search results, use the
seriesId
in the link to the dataset landing page rather than thepid
, if there is one. #955 - The
entityName
in EML is updated whenever it's data objectfileName
is updated, unless the user has changed theentityName
to a custom value. #1027 - Use the data object identifier in the
id
attribute on its EML entity XML node, to better link data objects to their EML entities. #1027
Improvements to Projects
2.6.4
Bug fixes
- Fixed major bug where provenance statements in the RDF were sometimes lost when updating the dataset in the editor #972
- Some less commonly used parts of the EML schema were causing EML save errors in the editor 5afc994 and 6a2cae7
- Adding an empty file to a dataset caused the file to get stuck in "loading" status forever. #975
Improvements
- Changed the /api page so that it uses theme-specific language and URLs instead of always KNB #977
- The "More info" link in the dataset table in the MetadataView will now show up when matching the files in the table by file name. (It was matching based on exact ID only). This is helpful when moving a dataset from production to a test environment without changing the IDs in the EML. b974963
2.6.3
Bug fixes:
- Data packages with DOI-published metadata were breaking after adding new files in the editor. #946
- XML and HTML inserted into the metadata via the editor is now escaped. Previously, it was causing the dataset submission to fail. #935
- When only an organization name is given for a party in the editor, it was not being serialized to the EML. #953
- Fixed bug where resource maps with test CN URLs were changed to production CN URLs after updating the dataset in the editor. #478
- Fixed a bug where the "Searching for a newer version of this dataset" message was indefinitely loading because the metadata was obsoleted by an object that was deleted. #942
- Fixed a bug in the
showdown
math extension that was displaying monetary numbers as math, even when escaped. #950 - In the project views, the metrics tab was showing metrics based on the filtered search results and not the entire project dataset list #958
- Linking directly to the metrics tab of a project view now works. (e.g.
/projects/{name}/metrics
- #952
Improvements:
- The table of contents in the project views are now sticky, so it is visible as you scroll down the page. #956
- Links in the Solr fields are now hyperlinked in the MetadataIndexView #944
- The MetadataIndexView now shows an informational message when the metadata document is not indexed (either because it's in the index queue or there was an indexing error). #964
- Changed how some of the identifiers and file names are created in the metadata editor #915:
Resource Maps
Id: resource_map_urn:uuid:0134818a-6e59-4141-9b69-d5843d06c731
Filename: resource_map_urn_uuid_0134818a_6e59_4141_9b69_d5843d06c731.rdf.xml
Metadata
Id: urn:uuid:771ca3b7-02ff-44d8-92b5-6702a6953d5f
Filename: Water_isotope_data_collected_from_precipitation.xml
Data
Id: urn:uuid:b571728e-47aa-41b6-bb84-419eaeb917e9
Filename: ThuleAFB_ppt_isotopes.csv
2.6.2
Bug fixes
- The "My datasets" link was not working #945
- The WholeTale Analyze button wasn't displaying on the KNB theme, even when enabled #938
Project view enhancements
- Utilized the latest Project schema changes to display unlimited custom content sections, which include a large display image and title with introduction text, and markdown content.
- The project colors are translated from hex codes to RGB so that they can be used at semi-transparency in CSS (872a4f6)
- Improve the table of contents so as much text as possible displays (c76c102)
- Allow links to project sections and table of content items (b7e21f8)
- Center the logos in the footer (c42efb8)
- Add links to the logos in the footer (ff094b9)
- Fix major bug in the Citation.js library that was overriding the global
require
variable. (663b081)
2.6.1
Bug fixes
- Invalid queries were sent sometimes when zooming in on the map (#936) or when the Member Node filter was applied (d0be93b and deda378)
- Replaced all the jQueryUI buttonset widgets with regular checkboxes to avoid further bugs with them f9929b1 and #855
- The provenance icon was not displaying in the DataCatalogView sometimes #788
- When a data file failed to upload in the editor, the
otherEntity
was still serialized to the EML #911 - The little arrow connector image in the prov charts was not displaying #756
- The
query=
URL parameter was not working for the DataCatalogView (only since v2.6.0) #933
2.6.0
New features
Project views (beta)
A beta version of this new feature is now available. Projects can be described via an XML document using the project XML schema. See the documentation for adding new projects.
Customize the editor success and error save messages
- When someone successfully submits changes in the editor, a success message is displayed at the top of the window. This message can be customized by overriding the
editorSubmitMessage
HTML template - When one or more of the models failed to save in the editor and there is no predefined error message (e.g. the network request suggests there are network issues), an error message is displayed. The text of this error message can be configured in the AppModel via the 'editorSaveErrorMsg'. If an EML draft was saved, the 'editorSaveErrorMsgWithDraft' message is displayed.
HTTP POST requests for the StatsView
The StatsView will now send queries via HTTP POST when the query string is above a certain length. Other queries will be converted to POST in future MetacatUI versions. This feature requires Metacat 2.10.2. To disable POST queries, set disableQueryPOSTs
in the AppModel to true
.
Bug fixes
- When an authentication token expires and one signed in again via the modal popup, the sign-in pop-up window was redirecting to a 404 page. #857