Skip to content

Commit

Permalink
Merge branch 'develop' into 7808-support-protocol-http IQSS#7808
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Jun 7, 2022
2 parents 275d16b + 365e7be commit 7e9a5c9
Show file tree
Hide file tree
Showing 145 changed files with 5,575 additions and 1,254 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/guides_build_sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: "Guides Build Status"
on:
pull_request:
paths:
- 'doc/sphinx-guides/**/*.rst'
- "doc/sphinx-guides/**/*.rst"
- "doc/sphinx-guides/**/requirements.txt"
- "doc/sphinx-guides/**/conf.py"

jobs:
docs:
Expand Down
2 changes: 1 addition & 1 deletion conf/solr/8.11.1/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
<field name="grantNumber" type="text_en" multiValued="true" stored="true" indexed="true"/>
<field name="grantNumberAgency" type="text_en" multiValued="true" stored="true" indexed="true"/>
<field name="grantNumberValue" type="text_en" multiValued="true" stored="true" indexed="true"/>
<field name="journalArticleType" type="text_en" multiValued="false" stored="true" indexed="true"/>
<field name="journalArticleType" type="text_en" multiValued="true" stored="true" indexed="true"/>
<field name="journalIssue" type="text_en" multiValued="true" stored="true" indexed="true"/>
<field name="journalPubDate" type="text_en" multiValued="true" stored="true" indexed="true"/>
<field name="journalVolume" type="text_en" multiValued="true" stored="true" indexed="true"/>
Expand Down
9 changes: 9 additions & 0 deletions doc/release-notes/7492_muting_notifications.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
This release has a new feature that allows users to control which notifications they receive. How to enable this feature and which options can be set by the admins is described in the [Letting users manage receiving notifications section of the Admin Guide](https://guides.dataverse.org/en/latest/admin/user-administration.html#letting-users-manage-receiving-notifications). See also #7492.

In addition, the existing API endpoint for listing notifications has been enhanced to show the subject, text, and timestamp of notifications. See also #8487.

## New DB Settings

- :ShowMuteOptions
- :AlwaysMuted
- :NeverMuted
8 changes: 8 additions & 0 deletions doc/release-notes/8295-support-postgresql-14.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
This release upgrades the bundled PostgreSQL JDBC driver to support major version 14.

Note that the newer PostgreSQL driver required a Flyway version bump, which entails positive and negative consequences:

- The newer version of Flyway supports PostgreSQL 14 and includes a number of security fixes.
- As of version 8.0 the Flyway Community Edition dropped support for PostgreSQL 9.6 and older.

Upgrade instructions may be found under “PostgreSQL Update” in the 5.10 release notes: https://github.com/IQSS/dataverse/releases/tag/v5.10
4 changes: 4 additions & 0 deletions doc/release-notes/8456-upgrade-primefaces.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### Primefaces 11

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.

14 changes: 14 additions & 0 deletions doc/release-notes/8533_semantic-api-updates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

## Notes for Developers and Integrators

This release include an update to the experimental semantic API and the underlying assignment of URIs to metadatablock termshat are not explicitly mapped to terms in community vocabularies. The change affects the output of the OAI_ORE metadata export, the OAI_ORE file in archival bags, and the input/out allowed for those terms in the semantic api. For those updating integrating code or existing files intended for input into this release of Dataverse: URIs of the form:
https://dataverse.org/schema/<block name>/<parentField name>#<childField title>, and
https://dataverse.org/schema/<block name>/<Field title>
are both replaced with URIs of the form:
https://dataverse.org/schema/<block name>/<Field name>

## Additional Release Steps

Upgrade should include re-export of metadata files (only the OAI_ORE is affected).

For this PR and other changes coming from DataCommons, it will also be advisable for people archiving Bags to re-archive. More detail on the overall set if changes in those tbd PRs.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Information about the license selection (or custom terms) is now available in the confirmation popup when contributors click "Submit for Review". Previously, this was only available in the confirmation popup for the "Publish" button, which contributors do not see.
3 changes: 3 additions & 0 deletions doc/release-notes/8595-cvv-field-solr-update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Controlled vocabulary fields that do not allow multiple entries are not indexed properly in Dataverse instances configured to support multiple languages. This release fixes the schema.xml file for the one field affected in the standard metadata blocks (journalArticleType) and updates the api/admin/index/solr/schema to provide the correct information for use with the update-fields.sh script described in the [Metadata Customization section of the Admin Guide](https://guides.dataverse.org/en/latest/admin/metadatacustomization.html#updating-the-solr-schema).

The release should include updating the schema.xml file for solr or running the update-fields.sh script and reindexing (whatever standard instructions we give for schema changes.)
9 changes: 9 additions & 0 deletions doc/release-notes/8600-duplicate-templates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
###Duplicate Templates in Database
Prior to this release making a copy of a Dataset Template was creating two copies, one of which is visible in the dataverse, the other not being assigned
a dataverse was invisible to the user (https://github.com/IQSS/dataverse/issues/8600). This release fixes the issue.

If you would like to remove these orphan templates you may run the follwing script:

https://github.com/IQSS/dataverse/raw/develop/scripts/issues/8600/delete_orphan_templates_8600.sh

Also, admin APIs for finding and deleting templates have been added.
10 changes: 10 additions & 0 deletions doc/release-notes/8608-bagit-support-validate-checksums.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## BagIt Support - Automatic checksum validation on zip file upload
The BagIt file handler detects and transforms zip files with a BagIt package format into Dataverse DataFiles. The system validates the checksums of the files in the package payload as described in the first manifest file with a hash algorithm that we support. Take a look at `BagChecksumType class <https://github.com/IQSS/dataverse/tree/develop/src/main/java/edu/harvard/iq/dataverse/util/bagit/BagChecksumType.java>`_ for the list of the currently supported hash algorithms.

The handler will not allow packages with checksum errors. The first 5 errors will be displayed to the user. This is configurable though database settings.

The checksum validation uses a thread pool to improve performance. This thread pool can be adjusted to your Dataverse installation requirements.

The BagIt file handler is disabled by default. Use the ``:BagItHandlerEnabled`` database settings to enable it: ``curl -X PUT -d 'true' http://localhost:8080/api/admin/settings/:BagItHandlerEnabled``

For more configuration settings see the user guide: https://guides.dataverse.org/en/latest/installation/config.html#bagit-file-handler
5 changes: 5 additions & 0 deletions doc/release-notes/8663-update-create-ds-doc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Release Highlights

### Documentation of Create Dataset API has been Updated

Previous versions of the guides omitted the content header in the example API call for creating a datset. Due to a code change introduced in Dataverse version 5.6 calls without the content header will fail.
1 change: 1 addition & 0 deletions doc/release-notes/ds54-csp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
As always, widgets can be embedded in the `<iframe>` HTML tag, but the HTTP header "Content-Security-Policy" is now being sent on non-widget pages to prevent them from being embedded.
5 changes: 5 additions & 0 deletions doc/sphinx-guides/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# current version as of this writing
Sphinx==3.5.4
# Necessary workaround for ReadTheDocs for Sphinx 3.x - unnecessary as of Sphinx 4.5+
Jinja2>=3.0.2,<3.1

# Sphinx - Additional modules
sphinx-icon==0.1.2
14 changes: 7 additions & 7 deletions doc/sphinx-guides/source/_static/api/dataset-create.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"http://purl.org/dc/terms/title": "Darwin's Finches",
"http://purl.org/dc/terms/subject": "Medicine, Health and Life Sciences",
"http://purl.org/dc/terms/creator": {
"https://dataverse.org/schema/citation/author#Name": "Finch, Fiona",
"https://dataverse.org/schema/citation/author#Affiliation": "Birds Inc."
"https://dataverse.org/schema/citation/authorName": "Finch, Fiona",
"https://dataverse.org/schema/citation/authorAffiliation": "Birds Inc."
},
"https://dataverse.org/schema/citation/Contact": {
"https://dataverse.org/schema/citation/datasetContact#E-mail": "finch@mailinator.com",
"https://dataverse.org/schema/citation/datasetContact#Name": "Finch, Fiona"
"https://dataverse.org/schema/citation/datasetContact": {
"https://dataverse.org/schema/citation/datasetContactEmail": "finch@mailinator.com",
"https://dataverse.org/schema/citation/datasetContactName": "Finch, Fiona"
},
"https://dataverse.org/schema/citation/Description": {
"https://dataverse.org/schema/citation/dsDescription#Text": "Darwin's finches (also known as the Galápagos finches) are a group of about fifteen species of passerine birds."
"https://dataverse.org/schema/citation/dsDescription": {
"https://dataverse.org/schema/citation/dsDescriptionValue": "Darwin's finches (also known as the Galápagos finches) are a group of about fifteen species of passerine birds."
}
}
48 changes: 22 additions & 26 deletions doc/sphinx-guides/source/_static/api/dataset-migrate.jsonld
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"citation:Depositor": "Admin, Dataverse",
"Title": "Test Dataset",
"Subject": "Computer and Information Science",
"Creator": {
"author:Name": "Admin, Dataverse",
"author:Affiliation": "GDCC"
"citation:depositor": "Admin, Dataverse",
"title": "Test Dataset",
"subject": "Computer and Information Science",
"author": {
"citation:authorName": "Admin, Dataverse",
"citation:authorAffiliation": "GDCC"
},
"Deposit Date": "2020-10-08",
"citation:Distributor": {
"distributor:Name": "Demo Dataverse Repository",
"distributor:Affiliation": "Dataverse Community",
"distributor:Abbreviation": "GDCC",
"distributor:URL": "https://dataverse.org/global-dataverse-community-consortium"
"dateOfDeposit": "2020-10-08",
"citation:distributor": {
"citation:distributorName": "Demo Dataverse Repository",
"citation:distributorAffiliation": "Dataverse Community",
"citation:distributorAbbreviation": "GDCC",
"citation:distributorURL": "https://dataverse.org/global-dataverse-community-consortium"
},
"citation:Contact": {
"datasetContact:Name": "Admin, Dataverse",
"datasetContact:Affiliation": "GDCC",
"datasetContact:E-mail": "admin@demo.dataverse.org"
"citation:datasetContact": {
"citation:datasetContactName": "Admin, Dataverse",
"citation:datasetContactAffiliation": "GDCC",
"citation:datasetContactEmail": "admin@demo.dataverse.org"
},
"citation:Description": {
"dsDescription:Text": "A short description"
"citation:dsDescription": {
"citation:dsDescriptionValue": "A short description"
},
"@id": "doi:10.33564/FK27U7YBV",
"schema:version": "1.0",
Expand All @@ -29,15 +29,11 @@
"dvcore:fileRequestAccess": false
},
"@context": {
"Creator": "http://purl.org/dc/terms/creator",
"Deposit Date": "http://purl.org/dc/terms/dateSubmitted",
"Subject": "http://purl.org/dc/terms/subject",
"Title": "http://purl.org/dc/terms/title",
"author": "https://dataverse.org/schema/citation/author#",
"author": "http://purl.org/dc/terms/creator",
"dateOfDeposit": "http://purl.org/dc/terms/dateSubmitted",
"subject": "http://purl.org/dc/terms/subject",
"title": "http://purl.org/dc/terms/title",
"citation": "https://dataverse.org/schema/citation/",
"datasetContact": "https://dataverse.org/schema/citation/datasetContact#",
"distributor": "https://dataverse.org/schema/citation/distributor#",
"dsDescription": "https://dataverse.org/schema/citation/dsDescription#",
"dvcore": "https://dataverse.org/schema/core#",
"schema": "http://schema.org/"
}}
4 changes: 3 additions & 1 deletion doc/sphinx-guides/source/_static/docsdataverse_org.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ ul.navbar-nav li.dropdown.open > span.dropdown-toggle {background: #e7e7e7;}
}

a.headerlink {
display: none;
font-size: 60%;
vertical-align: middle;
color: #d14e6f;
}

#sidebar.bs-sidenav {
Expand Down
Loading

0 comments on commit 7e9a5c9

Please sign in to comment.