Skip to content

Commit 118aa71

Browse files
authored
Merge pull request #6369 from IQSS/develop
v4.18
2 parents 51739f6 + f566290 commit 118aa71

113 files changed

Lines changed: 3713 additions & 2509 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ Dataverse is a trademark of President and Fellows of Harvard College and is regi
1717

1818
[![Dataverse Project logo](src/main/webapp/resources/images/dataverseproject_logo.jpg?raw=true "Dataverse Project")](http://dataverse.org)
1919

20-
[![Build Status](https://travis-ci.org/IQSS/dataverse.svg?branch=develop)](https://travis-ci.org/IQSS/dataverse) [![Coverage Status](https://coveralls.io/repos/IQSS/dataverse/badge.svg?branch=develop&service=github)](https://coveralls.io/github/IQSS/dataverse?branch=develop)
20+
[![API Test Status](https://jenkins.dataverse.org/buildStatus/icon?job=IQSS-dataverse-develop&subject=API%20Test%20Status)](https://jenkins.dataverse.org/job/IQSS-dataverse-develop/)
21+
[![Unit Test Status](https://img.shields.io/travis/IQSS/dataverse?label=Unit%20Test%20Status)](https://travis-ci.org/IQSS/dataverse)
22+
[![Unit Test Coverage](https://img.shields.io/coveralls/github/IQSS/dataverse?label=Unit%20Test%20Coverage)](https://coveralls.io/github/IQSS/dataverse?branch=develop)
2123

2224
[dataverse.org]: https://dataverse.org
2325
[demo.dataverse.org]: https://demo.dataverse.org

conf/docker-aio/configure_doi.bash

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@ if [ ! -z "${doi_baseurl}" ]; then
1717
doi_baseurl_esc=`echo ${doi_baseurl} | sed -e 's/:/\\:/'`
1818
bin/asadmin create-jvm-options "\"-Ddoi.baseurlstring=${doi_baseurl_esc}\""
1919
fi
20+
if [ ! -z "${doi_mdcbaseurl}" ]; then
21+
bin/asadmin delete-jvm-options "-Ddoi.mdcbaseurlstring=https\://api.test.datacite.org"
22+
doi_mdcbaseurl_esc=`echo ${doi_mdcbaseurl} | sed -e 's/:/\\:/'`
23+
bin/asadmin create-jvm-options "\"-Ddoi.mdcbaseurlstring=${doi_mdcbaseurl_esc}\""
24+
fi

conf/docker-aio/run-test-suite.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ fi
88

99
# Please note the "dataverse.test.baseurl" is set to run for "all-in-one" Docker environment.
1010
# TODO: Rather than hard-coding the list of "IT" classes here, add a profile to pom.xml.
11-
mvn test -Dtest=DataversesIT,DatasetsIT,SwordIT,AdminIT,BuiltinUsersIT,UsersIT,UtilIT,ConfirmEmailIT,FileMetadataIT,FilesIT,SearchIT,InReviewWorkflowIT,HarvestingServerIT,MoveIT,MakeDataCountApiIT,FileTypeDetectionIT,EditDDIIT,ExternalToolsIT -Ddataverse.test.baseurl=$dvurl
11+
mvn test -Dtest=DataversesIT,DatasetsIT,SwordIT,AdminIT,BuiltinUsersIT,UsersIT,UtilIT,ConfirmEmailIT,FileMetadataIT,FilesIT,SearchIT,InReviewWorkflowIT,HarvestingServerIT,MoveIT,MakeDataCountApiIT,FileTypeDetectionIT,EditDDIIT,ExternalToolsIT,AccessIT -Ddataverse.test.baseurl=$dvurl
-1.49 KB
Loading

doc/release-notes/4.17-release-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Second, file level tools that did not previously define a "contentType" are now
7272

7373
The Dataverse team has been reaching out to tool makers about these breaking changes and getting various tools working in the https://github.com/IQSS/dataverse-ansible repo. Thank you for your patience as the dust settles around the external tool framework.
7474

75-
For more information, check out new <a href=http://guides.dataverse.org/en/4.17/api/external-tools.html/>Building External Tools</a> section of the API Guide.
75+
For more information, check out new <a href=http://guides.dataverse.org/en/4.17/api/external-tools.html>Building External Tools</a> section of the API Guide.
7676

7777
## Complete List of Changes
7878

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
# Dataverse 4.18
2+
3+
This release brings new features, enhancements, and bug fixes to Dataverse. Thank you to all of the community members who contributed code, suggestions, bug reports, and other assistance across the project.
4+
5+
## Release Highlights
6+
7+
### File Page Previews and Previewers
8+
9+
File-level External Tools can now be configured to display in a "Preview Mode" designed for embedding within the file landing page.
10+
11+
While not technically part of this release, previewers have been made available for several common file types. The previewers support for spreadsheet, image, text, document, audio, video, html files and more. These previewers can be found in the <a href="https://github.com/QualitativeDataRepository/dataverse-previewers">Qualitative Data Repository Github Repository</a>.
12+
13+
### Microsoft Login
14+
15+
Users can now create Dataverse accounts and login using self-provisioned Microsoft accounts such as live.com and outlook.com. Users can also use Microsoft accounts managed by their institutions. This new feature not only makes it easier to log in to Dataverse but will also streamline the interaction between any external tools that utilize Azure services that require login.
16+
17+
### Add Data and Host Dataverse
18+
19+
More workflows to add data have been added across the UI, including a new button on the My Data tab of the Account page, as well as a link in the Dataverse navbar, which will display on every page. This will provider users much easier access to start depositing data. By default, the Host Dataverse will be the installation root dataverse for these new Add Data workflows, but there is now a dropdown component allowing creators to select a dataverse you have proper permissions to create a new dataverse or dataset in.
20+
21+
### Primefaces 7
22+
23+
Primefaces, the open source UI framework upon which the Dataverse front end is built, has been updated to the most recent version. This provides security updates and bug fixes and will also allow Dataverse developers to take advantage of new features and enhancements.
24+
25+
### Integration Test Pipeline and Test Health Reporting
26+
27+
As part of the Dataverse Community's ongoing efforts to provide more robust automated testing infrastructure, and in support of the project's desire to have the develop branch constantly in a "release ready" state, API-based integration tests are now run every time a branch is merged to develop. The status of the last test run is available as a badge at the bottom of the README.md file that serves as the homepage of Dataverse Github Repository.
28+
29+
### Make Data Count Metrics Updates
30+
31+
A new configuration option has been added that allows Make Data Count metrics to be collected, but not reflected in the front end. This option was designed to allow installations to collect and verify metrics for a period before turning on the display to users.
32+
33+
### Search API Enhancements
34+
35+
The Dataverse Search API will now display unpublished content when an API token is passed (and appropriate permissions exist).
36+
37+
### Additional Dataset Author Identifiers
38+
39+
The following dataset author identifiers are now supported:
40+
41+
- DAI: https://en.wikipedia.org/wiki/Digital_Author_Identifier
42+
- ResearcherID: http://researcherid.com
43+
- ScopusID: https://www.scopus.com
44+
45+
## Major Use Cases
46+
47+
Newly-supported use cases in this release include:
48+
49+
- Users can view previews of several common file types, eliminating the need to download or explore a file just to get a quick look.
50+
- Users can log in using self-provisioned Microsoft accounts and also can log in using Microsoft accounts managed by an organization.
51+
- Dataverse administrators can now revoke and regenerate API tokens with an API call.
52+
- Users will receive notifications when their ingests complete, and will be informed if the ingest was a success or failure.
53+
- Dataverse developers will receive feedback about the health of the develop branch after their pull request was merged.
54+
- Dataverse tool developers will be able to query the Dataverse API for unpublished data as well as published data.
55+
- Dataverse administrators will be able to collect Make Data Count metrics without turning on the display for users.
56+
- Users with a DAI, ResearcherID, or ScopusID and use these author identifiers in their datasets.
57+
58+
## Notes for Dataverse Installation Administrators
59+
60+
### API Token Management
61+
62+
- You can now delete a user's API token, recreate a user's API token, and find a token's expiration date. See the <a href="http://guides.dataverse.org/en/4.18/api/native-api.html">Native API guide</a> for more information.
63+
64+
### New JVM Options
65+
66+
[:mdcbaseurlstring](http://guides.dataverse.org/en/4.18/installation/config.html#mdcbaseurlstring) allows dataverse administrators to use a test base URL for Make Data Count.
67+
68+
### New Database Settings
69+
70+
[:DisplayMDCMetrics](http://guides.dataverse.org/en/4.18/installation/config.html#DisplayMDCMetrics) can be set to false to disable display of MDC metrics.
71+
72+
## Notes for Tool Developers and Integrators
73+
74+
### Preview Mode
75+
76+
Tool Developers can now add the `hasPreviewMode` parameter to their file level external tools. This setting provides an embedded, simplified view of the tool on the file pages for any installation that installs the tool. See <a href="http://guides.dataverse.org/en/4.18/api/external-tools.html">Building External Tools</a> for more information.
77+
78+
### API Token Management
79+
80+
If your tool writes content back to Dataverse, you can now take advantage of administrative endpoints that delete and re-create API tokens. You can also use an endpoint that provides the expiration date of a specific API token. See the <a href="http://guides.dataverse.org/en/4.18/api/native-api.html">Native API guide</a> for more information.
81+
82+
### View Unpublished Data Using Search API
83+
84+
If you pass a token, the search API output will include unpublished content.
85+
86+
## Complete List of Changes
87+
88+
For the complete list of code changes in this release, see the <a href="https://github.com/IQSS/dataverse/milestone/85?closed=1">4.18 milestone</a> in Github.
89+
90+
For help with upgrading, installing, or general questions please post to the <a href="https://groups.google.com/forum/#!forum/dataverse-community">Dataverse Google Group</a> or email [email protected].
91+
92+
## Installation
93+
94+
If this is a new installation, please see our <a href="http://guides.dataverse.org/en/4.18/installation/">Installation Guide</a>.
95+
96+
## Upgrade
97+
98+
1. Undeploy the previous version.
99+
100+
- &lt;glassfish install path&gt;/glassfish4/bin/asadmin list-applications
101+
- &lt;glassfish install path&gt;/glassfish4/bin/asadmin undeploy dataverse
102+
103+
2. Stop glassfish and remove the generated directory, start.
104+
105+
- service glassfish stop
106+
- remove the generated directory: rm -rf &lt;glassfish install path&gt;glassfish4/glassfish/domains/domain1/generated
107+
- service glassfish start
108+
109+
3. Deploy this version.
110+
111+
- &lt;glassfish install path&gt;/glassfish4/bin/asadmin deploy &lt;path&gt;dataverse-4.18.war
112+
113+
4. Restart glassfish.
114+
115+
5. Update Citation Metadata Block
116+
117+
- `wget https://github.com/IQSS/dataverse/releases/download/v4.18/citation.tsv`
118+
- `curl http://localhost:8080/api/admin/datasetfield/load -X POST --data-binary @citation.tsv -H "Content-type: text/tab-separated-values"`
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id":"microsoft",
3+
"factoryAlias":"oauth2",
4+
"title":"Microsoft",
5+
"subtitle":"",
6+
"factoryData":"type: microsoft | userEndpoint: NONE | clientId: FIXME | clientSecret: FIXME",
7+
"enabled":true
8+
}

doc/sphinx-guides/source/admin/external-tools.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ In the curl command below, replace the placeholder "fabulousFileTool.json" place
3737
3838
curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin/externalTools --upload-file fabulousFileTool.json
3939
40+
Note that some tools will provide a preview mode, which provides an embedded, simplified view of the tool on the file pages of your installation. This is controlled by the `hasPreviewMode` parameter.
41+
4042
Listing All External Tools in Dataverse
4143
+++++++++++++++++++++++++++++++++++++++
4244

@@ -76,10 +78,15 @@ Once you have added an external tool to your installation of Dataverse, you will
7678
File Level Explore Tools
7779
++++++++++++++++++++++++
7880

79-
File level explore tools are specific to the file type (content type or MIME type) of the file. For example, there is a tool for exploring PDF files in the "File Previewers" set of tools.
81+
File level explore tools are specific to the file type (content type or MIME type) of the file. For example, Data Explorer is tool for exploring tabular data files.
8082

8183
An "Explore" button will appear (on both the dataset page and the file landing page) for files that match the type that the tool has been built for. When there are multiple explore tools for a filetype, the button becomes a dropdown.
8284

85+
File Level Preview Tools
86+
++++++++++++++++++++++++
87+
88+
File level explore tools can be set up to display in preview mode, which is a simplified view of an explore tool designed specifically for embedding in the file page.
89+
8390
File Level Configure Tools
8491
++++++++++++++++++++++++++
8592

doc/sphinx-guides/source/admin/integrations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Dataverse supports a protocol called OAI-PMH that facilitates harvesting dataset
9090
SHARE
9191
+++++
9292

93-
`SHARE <http://www.share-research.org>`_ is building a free, open, data set about research and scholarly activities across their life cycle. It's possible to add and installation of Dataverse as one of the `sources <https://share.osf.io/sources>`_ they include if you contact the SHARE team.
93+
`SHARE <http://www.share-research.org>`_ is building a free, open, data set about research and scholarly activities across their life cycle. It's possible to add an installation of Dataverse as one of the `sources <https://share.osf.io/sources>`_ they include if you contact the SHARE team.
9494

9595
Research Data Preservation
9696
--------------------------

doc/sphinx-guides/source/admin/make-data-count.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,15 @@ Enable Logging for Make Data Count
6363

6464
To make Dataverse log dataset usage (views and downloads) for Make Data Count, you must set the ``:MDCLogPath`` database setting. See :ref:`MDCLogPath` for details.
6565

66+
If you wish to start logging in advance of setting up other components, or wish to log without display MDC metrics for any other reason, you can set the optional ``:DisplayMDCMetrics`` database setting to false. See :ref:`DisplayMDCMetrics` for details.
67+
6668
After you have your first day of logs, you can process them the next day.
6769

70+
Enable or Disable Display of Make Data Count Metrics
71+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72+
73+
By default, when MDC logging is enabled (when ``:MDCLogPath`` is set), Dataverse will display MDC metrics instead of it's internal (legacy) metrics. You can avoid this (e.g. to collect MDC metrics for some period of time before starting to display them) by setting ``:DisplayMDCMetrics`` to false.
74+
6875
Configure Counter Processor
6976
~~~~~~~~~~~~~~~~~~~~~~~~~~~
7077

@@ -128,11 +135,15 @@ Once you are satisfied with your testing, you should contact [email protected]
128135
- Views ("investigations" in COUNTER)
129136
- Downloads ("requests" in COUNTER)
130137

138+
.. _MDC-updateCitationsForDataset:
139+
131140
Configuring Dataverse for Make Data Count Citations
132141
---------------------------------------------------
133142

134143
Please note: as explained in the note above about limitations, this feature is not available to installations of Dataverse that use Handles.
135144

145+
To configure Dataverse to pull citations from the test vs. production DataCite server see :ref:`doi.mdcbaseurlstring` in the Installation Guide.
146+
136147
Please note that in the curl example, Bash environment variables are used with the idea that you can set a few environment variables and copy and paste the examples as is. For example, "$DOI" could become "doi:10.5072/FK2/BL2IBM" by issuing the following export command from Bash:
137148

138149
``export DOI="doi:10.5072/FK2/BL2IBM"``

0 commit comments

Comments
 (0)