-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'IQSS/develop' into QDR-solr_and_libs_up…
…dates
- Loading branch information
Showing
150 changed files
with
3,682 additions
and
890 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ Thank you for contributing to the Dataverse Project through the creation of a bu | |
WARNING: If this is a security issue it should be reported privately to [email protected] | ||
More information on bug issues and contributions can be found in the "Contributing to Dataverse" page: | ||
https://github.com/IQSS/dataverse/blob/develop/CONTRIBUTING.md#bug-reportsissues | ||
https://guides.dataverse.org/en/latest/contributor/index.html | ||
Please fill out as much of the template as you can. | ||
Start below this comment section. | ||
|
@@ -44,7 +44,6 @@ Start below this comment section. | |
**Any related open or closed issues to this bug report?** | ||
|
||
|
||
|
||
**Screenshots:** | ||
|
||
No matter the issue, screenshots are always welcome. | ||
|
@@ -53,3 +52,7 @@ To add a screenshot, please use one of the following formats and/or methods desc | |
|
||
* https://help.github.com/en/articles/file-attachments-on-issues-and-pull-requests | ||
* | ||
|
||
|
||
**Are you thinking about creating a pull request for this issue?** | ||
Help is always welcome, is this bug something you or your organization plan to fix? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
name: Idea proposal | ||
about: Propose a new idea for discussion to improve the Dataverse software! | ||
title: 'Suggestion:' | ||
labels: 'Type: Suggestion' | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!-- | ||
Thank you for contributing to the Dataverse Project through the creation of a feature request! | ||
More information on ideas/feature requests and contributions can be found in the "Contributing to Dataverse" page: | ||
https://guides.dataverse.org/en/latest/contributor/index.html | ||
Please fill out as much of the template as you can. | ||
Start below this comment section. | ||
--> | ||
|
||
**Overview of the Suggestion** | ||
|
||
|
||
**What kind of user is the suggestion intended for?** | ||
(Example users roles: API User, Curator, Depositor, Guest, Superuser, Sysadmin) | ||
|
||
|
||
**What inspired this idea?** | ||
|
||
|
||
**What existing behavior do you want changed?** | ||
|
||
|
||
**Any brand new behavior do you want to add to Dataverse?** | ||
|
||
|
||
**Any open or closed issues related to this suggestion?** | ||
|
||
|
||
**Are you thinking about creating a pull request for this issue?** | ||
Help is always welcome, is this idea something you or your organization plan to implement? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: "Properties Check" | ||
on: | ||
pull_request: | ||
paths: | ||
- "src/**/*.properties" | ||
- "scripts/api/data/metadatablocks/*" | ||
jobs: | ||
duplicate_keys: | ||
name: Duplicate Keys | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run duplicates detection script | ||
shell: bash | ||
run: tests/check_duplicate_properties.sh | ||
|
||
metadata_blocks_properties: | ||
name: Metadata Blocks Properties | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup GraalVM + Native Image | ||
uses: graalvm/setup-graalvm@v1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
java-version: '21' | ||
distribution: 'graalvm-community' | ||
- name: Setup JBang | ||
uses: jbangdev/setup-jbang@main | ||
- name: Run metadata block properties verification script | ||
shell: bash | ||
run: tests/verify_mdb_properties.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### Improved JSON Schema validation for datasets | ||
|
||
Enhanced JSON schema validation with checks for required and allowed child objects, type checking for field types including `primitive`, `compound` and `controlledVocabulary`. More user-friendly error messages to help pinpoint the issues in the dataset JSON. See [Retrieve a Dataset JSON Schema for a Collection](https://guides.dataverse.org/en/6.3/api/native-api.html#retrieve-a-dataset-json-schema-for-a-collection) in the API Guide and PR #10543. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
A new metadata export format called Croissant is now available as an external metadata exporter. It is oriented toward making datasets consumable by machine learning. | ||
|
||
When enabled, Croissant replaces the Schema.org JSON-LD format in the `<head>` of dataset landing pages. For details, see the [Schema.org JSON-LD/Croissant Metadata](https://dataverse-guide--10533.org.readthedocs.build/en/10533/admin/discoverability.html#schema-org-head) under the discoverability section of the Admin Guide. | ||
|
||
For more about the Croissant exporter, see https://github.com/gdcc/exporter-croissant | ||
|
||
For installation instructions, see [Enabling External Exporters](https://dataverse-guide--10533.org.readthedocs.build/en/10533/installation/advanced.html#enabling-external-exporters) in the Installation Guide. | ||
|
||
See also Issue #10341 and PR #10533. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Security and Compatibility Fixes to the Container Base Image | ||
|
||
- Switch "wait-for" to "wait4x", aligned with the Configbaker Image | ||
- Update "jattach" to v2.2 | ||
- Install AMD64 / ARM64 versions of tools as necessary | ||
- Run base image as unprivileged user by default instead of `root` - this was an oversight from OpenShift changes | ||
- Linux User, Payara Admin and Domain Master passwords: | ||
- Print hints about default, public knowledge passwords in place for | ||
- Enable replacing these passwords at container boot time | ||
- Enable building with updates Temurin JRE image based on Ubuntu 24.04 LTS | ||
- Fix entrypoint script troubles with pre- and postboot script files | ||
- Unify location of files at CONFIG_DIR=/opt/payara/config, avoid writing to other places |
2 changes: 2 additions & 0 deletions
2
doc/release-notes/10583-dataset-unlink-functionality-same-permission-as-link.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
New "Unlink Dataset" button has been added to the Dataset Page to allow a user to unlink a dataset from a collection that was previously linked with the "Link Dataset" button. The user must possess the same permissions needed to unlink the Dataset as they would to link the Dataset. | ||
The [existing API](https://guides.dataverse.org/en/6.3/admin/dataverses-datasets.html#unlink-a-dataset) for unlinking datasets has been updated to no longer require superuser access. The "Publish Dataset" permission is now enough. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The addDataverse (/api/dataverses/{identifier}) API endpoint has been extended to allow adding metadata blocks, input levels and facet ids at creation time, as the Dataverse page in create mode does in JSF. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
New optional query parameter "returnDetails" added to "dataverses/{identifier}/facets/" endpoint to include detailed information of each DataverseFacet. | ||
|
||
New endpoint "datasetfields/facetables" that lists all facetable dataset fields defined in the installation. |
14 changes: 14 additions & 0 deletions
14
doc/release-notes/10733-add-publication-status-to-search-api-results.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Search API (/api/search) response will now include publicationStatuses in the Json response as long as the list is not empty | ||
|
||
Example: | ||
```javascript | ||
"items": [ | ||
{ | ||
"name": "Darwin's Finches", | ||
... | ||
"publicationStatuses": [ | ||
"Unpublished", | ||
"Draft" | ||
], | ||
(etc, etc) | ||
``` |
1 change: 1 addition & 0 deletions
1
doc/release-notes/10741-list-metadatablocks-display-on-create-fix.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixed dataverses/{identifier}/metadatablocks endpoint to not return fields marked as displayOnCreate=true if there is an input level with include=false, when query parameters returnDatasetFieldTypes=true and onlyDisplayedOnCreate=true are set. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## RO-Crate Support (Metadata Export) | ||
|
||
Dataverse now supports [RO-Crate](https://www.researchobject.org/ro-crate/) in the sense that dataset metadata can be exported in that format. This functionality is not available out of the box but you can enable one or more RO-Crate exporters from the [list of external exporters](https://preview.guides.gdcc.io/en/develop/installation/advanced.html#inventory-of-external-exporters). See also #10744. |
1 change: 1 addition & 0 deletions
1
doc/release-notes/10749-dataverse-user-permissions-api-extension.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
New API endpoint "dataverses/{identifier}/userPermissions" for obtaining the user permissions on a dataverse. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### Rust API client library | ||
|
||
An API client library for the Rust programming language is now available at https://github.com/gdcc/rust-dataverse and has been added to the [list of client libraries](https://dataverse-guide--10758.org.readthedocs.build/en/10758/api/client-libraries.html) in the API Guide. See also #10758. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
A significant bug in the superuser-only "Update-Current-Version" publication was found and fixed in this release. If the Update-Current-Version option was used when changes were made to the dataset Terms (rather than to dataset metadata), or if the PID provider service was down/returned an error, the update would fail and render the dataset unusable and require restoration from a backup. The fix in this release allows the update to succeed in both of these cases and redesigns the functionality such that any unknown issues should not make the dataset unusable (i.e. the error would be reported and the dataset would remain in its current state with the last-published version as it was and changes still in the draft version.) | ||
|
||
Users of earlier Dataverse releases are encouraged to alert their superusers to this issue. Those who wish to disable this functionality have two options: | ||
* Change the dataset.updateRelease entry in the Bundle.properties file (or local language version) to "Do Not Use" or similar (doesn't disable but alerts superusers to the issue), or | ||
* Edit the dataset.xhtml file to remove the lines | ||
|
||
<c:if test="#{dataverseSession.user.isSuperuser()}"> | ||
<f:selectItem rendered="#" itemLabel="#{bundle['dataset.updateRelease']}" itemValue="3" /> | ||
</c:if> | ||
|
||
, delete the contents of the generated and osgi-cache directories in the Dataverse Payara domain, and restart the Payara server. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## Release Highlights | ||
|
||
### Pre-Publish File DOI Reservation with DataCite | ||
|
||
Dataverse installations using DataCite (or other persistent identifier (PID) Providers that support reserving PIDs) will be able to reserve PIDs for files when they are uploaded (rather than at publication time). Note that reserving file DOIs can slow uploads with large numbers of files so administrators may need to adjust timeouts (specifically any Apache "``ProxyPass / ajp://localhost:8009/ timeout=``" setting in the recommended Dataverse configuration). | ||
|
||
## Major Use Cases | ||
|
||
- Users will have DOIs/PIDs reserved for their files as part of file upload instead of at publication time. (Issue #7068, PR #7334) |
6 changes: 6 additions & 0 deletions
6
doc/release-notes/9081-CC0-waiver-turned-into-custom-license.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
In an earlier Dataverse release, Datasets with only 'CC0 Waiver' in termsofuse field were converted to 'Custom License' instead of CC0 1.0 licenses during an automated process. A new process was added to correct this. Only Datasets with no terms other than the one create by the previous process will be modified. | ||
- The existing 'Terms of Use' must be equal to 'This dataset is made available under a Creative Commons CC0 license with the following additional/modified terms and conditions: CC0 Waiver' | ||
- The following terms fields must be empty: Confidentiality Declaration, Special Permissions, Restrictions, Citation Requirements, Depositor Requirements, Conditions, and Disclaimer. | ||
- The License ID must not be assigned. | ||
|
||
This process will set the License ID to that of the CC0 1.0 license and remove the contents of termsofuse field. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
### Saved search deletion | ||
|
||
Saved searches can now be removed using API `/api/admin/savedsearches/$id`. See PR #10198. | ||
This is reflected in the [Saved Search Native API section](https://dataverse-guide--10198.org.readthedocs.build/en/10198/api/native-api.html#saved-search) of the Guide. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
* When any `ApiBlockingFilter` policy applies to a request, the JSON in the body of the error response is now valid JSON. | ||
In case an API client did any special processing to allow it to parse the body, that is no longer necessary. | ||
The status code of such responses has not changed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### Counter Processor 1.05 Support | ||
|
||
This release includes support for counter-processor-1.05 for processing Make Data Count metrics. If you are running Make Data Counts support, you should reinstall/reconfigure counter-processor as described in the latest Guides. (For existing installations, note that counter-processor-1.05 requires a Python3, so you will need to follow the full counter-processor install. Also note that if you configure the new version the same way, it will reprocess the days in the current month when it is first run. This is normal and will not affect the metrics in Dataverse.) |
65 changes: 65 additions & 0 deletions
65
doc/sphinx-guides/source/_static/api/dataverse-complete-optional-params.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"name": "Scientific Research", | ||
"alias": "science", | ||
"dataverseContacts": [ | ||
{ | ||
"contactEmail": "[email protected]" | ||
}, | ||
{ | ||
"contactEmail": "[email protected]" | ||
} | ||
], | ||
"affiliation": "Scientific Research University", | ||
"description": "We do all the science.", | ||
"dataverseType": "LABORATORY", | ||
"metadataBlocks": { | ||
"metadataBlockNames": [ | ||
"citation", "geospatial" | ||
], | ||
"inputLevels": [ | ||
{ | ||
"datasetFieldTypeName": "geographicCoverage", | ||
"include": true, | ||
"required": true | ||
}, | ||
{ | ||
"datasetFieldTypeName": "country", | ||
"include": true, | ||
"required": true | ||
}, | ||
{ | ||
"datasetFieldTypeName": "geographicUnit", | ||
"include": false, | ||
"required": false | ||
}, | ||
{ | ||
"datasetFieldTypeName": "geographicBoundingBox", | ||
"include": false, | ||
"required": false | ||
}, | ||
{ | ||
"datasetFieldTypeName": "westLongitude", | ||
"include": false, | ||
"required": false | ||
}, | ||
{ | ||
"datasetFieldTypeName": "eastLongitude", | ||
"include": false, | ||
"required": false | ||
}, | ||
{ | ||
"datasetFieldTypeName": "northLatitude", | ||
"include": false, | ||
"required": false | ||
}, | ||
{ | ||
"datasetFieldTypeName": "southLatitude", | ||
"include": false, | ||
"required": false | ||
} | ||
], | ||
"facetIds": [ | ||
"authorName", "authorAffiliation" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.