Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8573 garbled #9

Open
wants to merge 196 commits into
base: 8573-Shib-attribute-character-set-conversion-for-affiliation
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
196 commits
Select commit Hold shift + click to select a range
d1ad4f0
#10218 OdumInstitute is now uncch-rdmc
Jan 9, 2024
fd9f051
#10218 OdumInstitute is now uncch-rdmc
Jan 9, 2024
c4b82df
fix(deps): resolve conflicting version of MIME4J #9077
poikilotherm Feb 6, 2024
477eb06
chore(deps): update Apache Tika to v2.9.1
poikilotherm Feb 7, 2024
f3f86a8
Bump org.xmlunit:xmlunit-core from 2.9.1 to 2.10.0
dependabot[bot] Jun 28, 2024
fd82437
refactor/fix avoidJoin logic
qqmyers Jun 27, 2024
0331585
bug fix - default to */All groups for superuser
qqmyers Jul 3, 2024
1aa2e64
drop extra line from merge
qqmyers Jul 19, 2024
d9488a7
add logging to allow comparing old and new result
qqmyers Jul 19, 2024
52ca8a9
fix getProviderType
qqmyers Jun 21, 2024
1f87aa3
citation/case-insensitive DOI fixes
qqmyers Jun 21, 2024
b1cc199
avoid having an empty entry & log warning in managed/excluded lists
qqmyers Jul 2, 2024
08595ec
avoid nulls
qqmyers Jul 2, 2024
e98a91f
add is-supplement-to relation
qqmyers Jul 20, 2024
62fb0e8
release note
qqmyers Jul 20, 2024
1cd9b7c
test tweak for case insensitivity
qqmyers Jul 20, 2024
2ce7b54
Fix MultipleCompoundField for otherId
luddaniel Jul 22, 2024
9c5036d
Merge remote-tracking branch 'IQSS/develop' into QDR-PIDBugFixes
qqmyers Sep 3, 2024
bd500cf
test fix
qqmyers Sep 3, 2024
7a0ee7f
keep doi: lower case
qqmyers Sep 3, 2024
8a6744f
Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows
dependabot[bot] Sep 3, 2024
03debc1
Some work-in-progress modifications of the Harvested imports and inde…
landreev Sep 9, 2024
e62fc55
intermediate/unfinished state - work in progress #10734
landreev Sep 10, 2024
3fab4c8
incremental. #10734
landreev Sep 10, 2024
bd08b69
Largely finalized versions of the refactored harvesting classes. #10734
landreev Sep 11, 2024
e02a584
a typo + some unused imports #10734
landreev Sep 11, 2024
30266dd
comment language #10734
landreev Sep 11, 2024
9291554
minor/cosmetic #10734
landreev Sep 11, 2024
8db46f5
Added: optional query param returnExpiration to token/recreate endpoint
GPortas Sep 18, 2024
bdf626b
Added: release notes and docs for #10857
GPortas Sep 18, 2024
7568cd0
Some cleanup/streamlining #10734
landreev Sep 19, 2024
740b18d
include validDataLocation in cached value/query
qqmyers Sep 19, 2024
efb9005
fix queries w.r.t. minorversion ordering
qqmyers Sep 19, 2024
35c9b5a
release note
qqmyers Sep 19, 2024
0a83bc3
typo in comment
qqmyers Sep 23, 2024
110fbe1
#9650 improve the linked dataverse listing API
pkiraly Jun 20, 2023
2c2cd86
#9650 backwards compatibility, release note
pkiraly Jun 20, 2023
6228d3f
adding tests, doc changes, and formatting fix
stevenwinship Sep 12, 2024
54fad55
update doc
stevenwinship Sep 12, 2024
7948836
Update the conditions to display image_url
stevenwinship Sep 26, 2024
d52aa58
Update the conditions to display image_url
stevenwinship Sep 26, 2024
3a84fe5
Merge remote-tracking branch 'IQSS/develop' into QDR-PIDBugFixes
qqmyers Sep 27, 2024
01f0bd3
abstract cleaning to separate method
qqmyers Sep 27, 2024
700c39f
add release note
stevenwinship Sep 30, 2024
48dead8
add release note
stevenwinship Sep 30, 2024
7d1e6fe
replace ZipInputStream with ZipFile
jo-pol Oct 1, 2024
97a38ea
Fix Deaccessioned edition.
jp-tosca Oct 1, 2024
9a7af05
Merge branch 'develop' of github.com:IQSS/dataverse into 10857-add-ex…
GPortas Oct 1, 2024
08249f5
Merge pull request #10858 from IQSS/10857-add-expiration-date-to-recr…
ofahimIQSS Oct 1, 2024
2aad633
Patch notes
jp-tosca Oct 1, 2024
db1a066
Added a signature of the method to receive includeDeaccessioned param
jp-tosca Oct 1, 2024
c2e1e15
Missing call to the new method
jp-tosca Oct 1, 2024
18db193
Merge branch 'develop' into 9650-5-improve-list-linked-dataverses-API…
pdurbin Oct 2, 2024
a0cb73d
Merge pull request #9665 from pkiraly/9650-5-improve-list-linked-data…
ofahimIQSS Oct 2, 2024
c46e0ce
Test added
jp-tosca Oct 2, 2024
2f4a84c
Typo
jp-tosca Oct 2, 2024
535d531
Merge branch 'develop' into 9077-fix-mime4j #9077
pdurbin Oct 2, 2024
a72aa01
Merge branch 'develop' into 10875-update-conditions-to-display-image_…
pdurbin Oct 2, 2024
cb6e44f
tweak release note #10875
pdurbin Oct 2, 2024
d383802
Merge remote-tracking branch 'IQSS/develop' into IQSS/10379
qqmyers Oct 2, 2024
a7e0d87
Merge remote-tracking branch 'IQSS/develop' into QDR-PIDBugFixes
qqmyers Oct 2, 2024
86ea279
Merge remote-tracking branch 'IQSS/develop' into QDR-refactor_avoidJo…
qqmyers Oct 2, 2024
e57f834
Remove of clone from the API file deletion.
jp-tosca Oct 2, 2024
8accad7
Copy still needs to be created but not sent as a parameter to the com…
jp-tosca Oct 2, 2024
70a2651
File upload assertion
jp-tosca Oct 2, 2024
4e2bc1a
Update DatasetsIT.java
qqmyers Oct 3, 2024
7be6c1b
Merge pull request #10901 from IQSS/9351-edit-optionds-deaccessioned-…
ofahimIQSS Oct 3, 2024
d50c484
Facets filter labels not translated in result block (#10158)
jeromeroucou Oct 4, 2024
1a5ca4b
PR template, add hyphen to show issue title
pdurbin Oct 4, 2024
7d3ab22
open zip once and reuse list of entries
jo-pol Oct 7, 2024
4afcfb2
Merge pull request #10908 from IQSS/pr-template-hyphen
sekmiller Oct 8, 2024
7cc81e0
add isRelease field to isPartOf
stevenwinship Sep 25, 2024
45bdf5a
Merge pull request #10882 from IQSS/10849-add-isreleased-field-to-isp…
ofahimIQSS Oct 8, 2024
36d15a5
Reorder modifiers to static final
bencomp Oct 31, 2023
ba35f99
Use Map type and diamond operator
bencomp Oct 31, 2023
a32b9ed
Replace deprecated constructors with valueOf(String)
bencomp Oct 31, 2023
c44ad65
Merge pull request #10075 from bencomp/10074-modifiers
ofahimIQSS Oct 10, 2024
8c4cd4c
fix if statement body
qqmyers Oct 11, 2024
f1380b1
release note
qqmyers Oct 11, 2024
212df5e
#10920 fixing skomos typo
pkiraly Oct 12, 2024
a242d14
mime type of m4a uploaded in zip
jo-pol Oct 14, 2024
cce22a2
Changed: users/token GET endpoint to support all available auth mecha…
GPortas Oct 14, 2024
129c80c
Added: release notes for #10914
GPortas Oct 14, 2024
7f5b0be
Added: updateDataverse endpoint with addDataverse refactoring
GPortas Oct 15, 2024
73dd0dd
fix relationType display value bug
qqmyers Oct 15, 2024
d039a10
IQSS/10697 - Improve batch permission indexing (#10698)
qqmyers Oct 16, 2024
19c8a12
Changed: limiting the information to update in a dataverse through th…
GPortas Oct 16, 2024
f4c3d2c
Removed: DataverseContact host dataverse re-set
GPortas Oct 16, 2024
330462e
Additional DataCiteXML testing with more fields
qqmyers Oct 16, 2024
816b704
formatting after review dog notice
qqmyers Oct 16, 2024
8ef8cfd
Added: parseDataverseUpdates unit test
GPortas Oct 17, 2024
62df2a7
Changed: reordered logic in UpdateDataverseCommand for further refact…
GPortas Oct 17, 2024
6ccbb4a
Changed: updateDataverse return code
GPortas Oct 17, 2024
5c17039
Added: IT for updateDataverse endpoint
GPortas Oct 17, 2024
e5cdb10
Refactor: UtilIT duplication on dataverse write operations
GPortas Oct 17, 2024
8020d50
Added: pending doc comment to JsonParserTest method
GPortas Oct 17, 2024
2d10f22
Added: missing IT for updateDataverse endpoint
GPortas Oct 17, 2024
0854019
how to set up languages in Docker #10939
pdurbin Oct 18, 2024
d334b68
Refactor: CreateDataverseCommand inheriting AbstractWriteDataverseCom…
GPortas Oct 21, 2024
e778239
Refactor: UpdateDataverseCommand inheriting AbstractWriteDataverseCom…
GPortas Oct 21, 2024
2a62c04
performance test
jo-pol Oct 21, 2024
67dc91e
Merge remote-tracking branch 'iqss/develop' into 10898-own-cloud-zips
jo-pol Oct 21, 2024
4e90d0c
Added: docs for #10904
GPortas Oct 21, 2024
0748b18
Merge branch 'develop' of github.com:IQSS/dataverse into 10904-edit-d…
GPortas Oct 21, 2024
6aac751
Added: release notes for #10904
GPortas Oct 21, 2024
4f98be6
Removed: unnecessary line in updateDataverse endpoint
GPortas Oct 21, 2024
e82069e
Merge pull request #10940 from IQSS/10939-i18n-docker
ofahimIQSS Oct 21, 2024
a8e1e80
Fixed typo tombstone in Bundle.properties
THRINADH43 Oct 22, 2024
255f419
defensive assert; concise time measurement
jo-pol Oct 22, 2024
580ca36
more defensive assert
jo-pol Oct 22, 2024
31aeb4b
Merge pull request #10948 from THRINADH43/develop
ofahimIQSS Oct 22, 2024
1c0bd9a
Merge pull request #10921 from pkiraly/10920-fixing-skomos-typo
ofahimIQSS Oct 22, 2024
ba99445
update xmlunit-assertj3 as well
qqmyers Oct 22, 2024
9154996
Merge remote-tracking branch 'IQSS/develop' into dependabot/maven/org…
qqmyers Oct 22, 2024
c76eddd
Update testing-infrastructure.md
ofahimIQSS Oct 22, 2024
6c983e8
Update doc/sphinx-guides/source/qa/testing-infrastructure.md
ofahimIQSS Oct 22, 2024
f6a0d53
Merge pull request #10951 from IQSS/ofahimIQSS-patch-1
pdurbin Oct 22, 2024
fab247a
Merge remote-tracking branch 'iqss/develop' into 10898-own-cloud-zips
jo-pol Oct 23, 2024
1b1d337
Changed: using new UpdateDataverseAttributeCommand from updateAttribu…
GPortas Oct 23, 2024
45cab75
Changed: recovered response message in updateAttribute endpoint
GPortas Oct 23, 2024
e98ae05
Added: IT cases for testAttributesApi
GPortas Oct 23, 2024
f970ab3
Merge pull request #10660 from IQSS/dependabot/maven/org.xmlunit-xmlu…
ofahimIQSS Oct 23, 2024
51f9298
Merge branch 'develop' into 10734-harvest-reindex-refactoring
landreev Oct 23, 2024
b2e2f18
Merge branch '10734-harvest-reindex-refactoring' of https://github.co…
landreev Oct 23, 2024
aeb6d2a
Merge remote-tracking branch 'iqss/develop' into 10898-own-cloud-zips
jo-pol Oct 24, 2024
0453a85
Update text.rst
DieuwertjeBloemen Oct 24, 2024
0b5f9a8
Changed: handling properties update through a DTO object for updateDa…
GPortas Oct 24, 2024
224cc96
Fix for timing issue in test
qqmyers Oct 24, 2024
68ae318
Merge pull request #10919 from QualitativeDataRepository/QDR-send_sof…
ofahimIQSS Oct 24, 2024
cbc20d3
Merge pull request #10965 from GlobalDataverseCommunityConsortium/Dat…
ofahimIQSS Oct 24, 2024
1012763
remove link to empty doc of tips #10962
pdurbin Oct 24, 2024
e2d1b6a
Merge pull request #10301 from IQSS/9077-fix-mime4j
ofahimIQSS Oct 24, 2024
f0f22b9
Bump org.apache.james:apache-mime4j-core from 0.8.7 to 0.8.10
dependabot[bot] Oct 24, 2024
aebf31d
Merge pull request #10865 from QualitativeDataRepository/IQSS/10379
ofahimIQSS Oct 24, 2024
c369517
Merge pull request #10966 from IQSS/dependabot/maven/org.apache.james…
ofahimIQSS Oct 24, 2024
03538f0
Merge pull request #10706 from QualitativeDataRepository/QDR-refactor…
landreev Oct 24, 2024
473286c
fix blank query, emphasize Guest user in comment
qqmyers Oct 25, 2024
940b3fb
alternate way of emphasizing
qqmyers Oct 25, 2024
f851163
Ordering subfields while displaying dataset version differences
luddaniel Oct 25, 2024
b3147a0
adding release note
luddaniel Oct 25, 2024
858eab6
Merge pull request #10836 from IQSS/10734-harvest-reindex-refactoring
ofahimIQSS Oct 25, 2024
9faf32e
Merge pull request #10886 from IQSS/10875-update-conditions-to-displa…
ofahimIQSS Oct 25, 2024
d09e509
Merge pull request #10899 from DANS-KNAW-jp/10898-own-cloud-zips
ofahimIQSS Oct 25, 2024
9339e44
Merge pull request #10958 from IQSS/fix/updateAttributes
ofahimIQSS Oct 25, 2024
ff9b2e3
Merge pull request #10967 from QualitativeDataRepository/QDR-refactor…
landreev Oct 25, 2024
e76f2ff
Revert "remove link to empty doc of tips #10962"
pdurbin Oct 25, 2024
5f5126a
Merge pull request #10962 from DieuwertjeBloemen/patch-3
pdurbin Oct 25, 2024
04f7f76
fix get major version when deaccessioned
stevenwinship Oct 28, 2024
7010ead
adding release note
stevenwinship Oct 28, 2024
81672be
adding release note
stevenwinship Oct 28, 2024
f2a9b0a
Update doc/release-notes/10947-unpublished-files-appearing-in-search-…
stevenwinship Oct 28, 2024
c4c3e28
Update doc/release-notes/10947-unpublished-files-appearing-in-search-…
stevenwinship Oct 28, 2024
2dfdaa2
add #10947 and #10974 to release note
pdurbin Oct 28, 2024
64ac076
Merge pull request #10708 from QualitativeDataRepository/QDR-PIDBugFixes
ofahimIQSS Oct 28, 2024
aebe63c
Merge branch 'develop' into dependabot/github_actions/dot-github/work…
sekmiller Oct 30, 2024
ad35051
add release note
luddaniel Oct 30, 2024
a5edef7
Merge branch 'develop' into fix_importDDI_otherId
luddaniel Oct 30, 2024
93dd423
add test for returnDatasetFieldTypes #10984
pdurbin Oct 30, 2024
f0cc9c8
Merge pull request #10822 from IQSS/dependabot/github_actions/dot-git…
ofahimIQSS Oct 30, 2024
51794df
Add FIXME about inheritence. Add "if #10984 fixed" to tests.
pdurbin Oct 30, 2024
db18184
fixes the validation method in harvesting import that got broken in 1…
landreev Oct 30, 2024
ed8a889
Fixed: always querying the owner if the dataverse is not MetadataBloc…
GPortas Oct 31, 2024
cfe9dbd
Removed: FIXME comment
GPortas Oct 31, 2024
f317ab0
Added: tweaks to DataversesIT listMetadataBlocks
GPortas Oct 31, 2024
e7eace3
Update FeatureFlags apiNotes
qqmyers Oct 31, 2024
d18f01f
Merge pull request #10974 from IQSS/10947-unpublished-files-appearing…
ofahimIQSS Oct 31, 2024
3ce59f4
Merge pull request #10991 from IQSS/qqmyers-patch-1
pdurbin Oct 31, 2024
0628e4d
Merge pull request #10219 from IQSS/10218_update_sphinx_action
pdurbin Oct 31, 2024
5b92752
Merge pull request #10924 from IQSS/10910-users-token-api-credentials
ofahimIQSS Nov 1, 2024
5b2b35d
Update dev-usage.rst - Add Details for Accessing and Saving Harvestin…
ofahimIQSS Nov 1, 2024
90665f9
Revert "Bump actions/download-artifact from 3 to 4.1.7 in /.github/wo…
pdurbin Nov 1, 2024
899cc25
Update doc/sphinx-guides/source/container/dev-usage.rst
ofahimIQSS Nov 1, 2024
356da8f
Update doc/sphinx-guides/source/container/dev-usage.rst
ofahimIQSS Nov 1, 2024
9119c4b
Update dev-usage.rst
ofahimIQSS Nov 1, 2024
41a1d13
Update dev-usage.rst
ofahimIQSS Nov 1, 2024
432feb0
Update dev-usage.rst
ofahimIQSS Nov 1, 2024
0d59b16
Update dev-usage.rst
ofahimIQSS Nov 1, 2024
c76d62a
Update dev-usage.rst
ofahimIQSS Nov 1, 2024
e28b6d3
tweaks #10996
pdurbin Nov 1, 2024
2fd8fce
Merge pull request #10996 from IQSS/ofahimIQSS-patch-1
pdurbin Nov 1, 2024
c685fcf
Merge pull request #10990 from IQSS/10989-harvesting-regression
ofahimIQSS Nov 1, 2024
052262f
replaced deprecated mime type with mp4
jo-pol Nov 4, 2024
b322c28
Merge branch 'develop' of github.com:IQSS/dataverse into 10904-edit-d…
GPortas Nov 4, 2024
bf47f6b
Merge pull request #10925 from IQSS/10904-edit-dataverse-collection
ofahimIQSS Nov 4, 2024
80a9312
Merge pull request #10985 from IQSS/10984-returnDatasetFieldTypes
ofahimIQSS Nov 4, 2024
a55d31f
Fixed: unit test assertion in JsonParserTest
GPortas Nov 4, 2024
1ed0d30
Added: assertion to JsonParserTest
GPortas Nov 4, 2024
b1dcb00
Refactor: JsonParserTest.parseDataverseDTO
GPortas Nov 4, 2024
7c31efb
Merge pull request #10923 from DANS-KNAW-jp/10922-content-type-of-m4a…
ofahimIQSS Nov 4, 2024
6a00ce5
Merge pull request #10999 from IQSS/fix/jsonParserTest
ofahimIQSS Nov 4, 2024
483e99f
Merge branch 'develop' into fix_importDDI_otherId
luddaniel Nov 5, 2024
e3b3fea
Merge pull request #10772 from Recherche-Data-Gouv/fix_importDDI_otherId
ofahimIQSS Nov 5, 2024
5d392b6
Merge pull request #10926 from QualitativeDataRepository/RelationType…
ofahimIQSS Nov 5, 2024
e208eed
Merge pull request #10969 from Recherche-Data-Gouv/10968-order-subfie…
ofahimIQSS Nov 6, 2024
35b4d23
Merge branch 'develop' into 8573-Shib-attribute-character-set-convers…
pdurbin Nov 6, 2024
368bcc9
add "garbled affiliation" test case #8573
pdurbin Nov 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**Which issue(s) this PR closes**:

Closes #
- Closes #

**Special notes for your reviewer**:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/guides_build_sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: OdumInstitute/sphinx-action@master
- uses: uncch-rdmc/sphinx-action@master
with:
docs-folder: "doc/sphinx-guides/"
10 changes: 10 additions & 0 deletions doc/release-notes/10379-MetricsBugsFixes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

### Metrics API Bug fixes

Two bugs in the Metrics API have been fixed:

- The /datasets and /datasets/byMonth endpoints could report incorrect values if/when they have been called using the dataLocation parameter (which allows getting metrics for local, remote (harvested), or all datasets) as the metrics cache was not storing different values for these cases.

- Metrics endpoints who's calculation relied on finding the latest published datasetversion were incorrect if/when the minor version number was > 9.

When deploying the new release, the [/api/admin/clearMetricsCache](https://guides.dataverse.org/en/latest/api/native-api.html#metrics) API should be called to remove old cached values that may be incorrect.
7 changes: 7 additions & 0 deletions doc/release-notes/10697-improve-permission-indexing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### Reindexing after a role assignment is less memory intensive

Adding/removing a user from a role on a collection, particularly the root collection, could lead to a significant increase in memory use resulting in Dataverse itself failing with an out-of-memory condition. Such changes now consume much less memory.

If you have experienced out-of-memory failures in Dataverse in the past that could have been caused by this problem, you may wish to run a [reindex in place](https://guides.dataverse.org/en/latest/admin/solr-search-index.html#reindex-in-place) to update any out-of-date information.

For more information, see #10697 and #10698.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
MDC Citation retrieval with the PID settings has been fixed.
DOI parsing in Dataverse is case insensitive, improving interaction with services that may change the case.
Warnings related to managed/excluded PID lists for PID providers have been reduced
2 changes: 2 additions & 0 deletions doc/release-notes/10772-fix-importDDI-otherId.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Bug Fix :
This PR fixes the `edu.harvard.iq.dataverse.util.json.JsonParseException: incorrect multiple for field otherId` error when DDI harvested data contains multiple ortherId.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
An optional query parameter called 'returnExpiration' has been added to the 'users/token/recreate' endpoint, which, if set to true, returns the expiration time in the response message.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Search API (/api/search) responses for Datafiles include image_url for the thumbnail if each of the following are true:
1. The DataFile is not Harvested
2. A Thumbnail is available for the Datafile
3. If the Datafile is Restricted then the caller must have Download File Permission for the Datafile
4. The Datafile is NOT actively embargoed
5. The Datafile's retention period has NOT expired

See also #10875 and #10886.
1 change: 1 addition & 0 deletions doc/release-notes/10901deaccessioned file edit fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
When a dataset was deaccessioned and was the only previous version it will cause an error when trying to update the files.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Adds a new endpoint (`PUT /api/dataverses/<identifier>`) for updating an existing Dataverse collection using a JSON file following the same structure as the one used in the API for the creation.
3 changes: 3 additions & 0 deletions doc/release-notes/10914-users-token-api-credentials.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Extended the users/token GET endpoint to support any auth mechanism for retrieving the token information.

Previously, this endpoint only accepted an API token to retrieve its information. Now, it accepts any authentication mechanism and returns the associated API token information.
1 change: 1 addition & 0 deletions doc/release-notes/10919-minor-DataCiteXML-bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A minor bug fix was made to avoid sending a useless ", null" in the DataCiteXML sent to DataCite and in the DataCite export when a dataset has a metadata entry for "Software Name" and no entry for "Software Version". The bug fix will update datasets upon publication. Anyone with existing published datasets with this problem can be fixed by [pushing updated metadata to DataCite for affected datasets](https://guides.dataverse.org/en/6.4/admin/dataverses-datasets.html#update-metadata-for-a-published-dataset-at-the-pid-provider) and [re-exporting the dataset metadata](https://guides.dataverse.org/en/6.4/admin/metadataexport.html#batch-exports-through-the-api) or by following steps 9 and 10 in the v6.4 release notes to update and re-export all datasets.
5 changes: 5 additions & 0 deletions doc/release-notes/10939-i18n-docker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Multiple Language in Docker

Configuration and documentation has been added to explain how to set up multiple languages (e.g. English and French) in the tutorial for setting up Dataverse in Docker.

See also #10939
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Unpublished file bug fix

A bug fix was made that gets the major version of a Dataset when all major versions were deaccessioned. This fixes the incorrect showing of the files as "Unpublished" in the search list even when they are published.
This fix affects the indexing, meaning these datasets must be re-indexed once Dataverse is updated. This can be manually done by calling the index API for each affected Dataset.

Example:
```shell
curl http://localhost:8080/api/admin/index/dataset?persistentId=doi:10.7910/DVN/6X4ZZL
```

See also #10947 and #10974.
2 changes: 2 additions & 0 deletions doc/release-notes/10969-order-subfields-version-difference.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Bug Fix:
In order to facilitate the comparison between the draft version and the published version of a dataset, a sort on subfields has been added (#10969)
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Fix facets filter labels not translated in result block

On the main page, it's possible to filter results using search facets. If internationalization (i18n) has been activated in the Dataverse installation, allowing pages to be displayed in several languages, the facets are translated in the filter column. However, they aren't translated in the search results and remain in the default language, English.

This version of Dataverse fix this, and includes internationalization in the facets visible in the search results section.

For more information, see issue [#9408](https://github.com/IQSS/dataverse/issues/9408) and pull request [#10158](https://github.com/IQSS/dataverse/pull/10158)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
The following API have been added:

/api/datasets/{datasetId}/links

It lists the linked dataverses to a dataset. It can be executed only by administrators.
12 changes: 9 additions & 3 deletions doc/sphinx-guides/source/admin/dataverses-datasets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,21 @@ Lists the link(s) created between a dataset and a Dataverse collection (see the

curl -H "X-Dataverse-key: $API_TOKEN" http://$SERVER/api/datasets/$linked-dataset-id/links

It returns a list in the following format:
It returns a list in the following format (new format as of v6.4):

.. code-block:: json

{
"status": "OK",
"data": {
"dataverses that link to dataset id 56782": [
"crc990 (id 18802)"
"id": 5,
"identifier": "FK2/OTCWMM",
"linked-dataverses": [
{
"id": 2,
"alias": "dataverse1",
"displayName": "Lab experiments 2023 June"
}
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion doc/sphinx-guides/source/admin/metadatacustomization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ In general, the external vocabulary support mechanism may be a better choice for
The specifics of the user interface for entering/selecting a vocabulary term and how that term is then displayed are managed by third-party Javascripts. The initial Javascripts that have been created provide auto-completion, displaying a list of choices that match what the user has typed so far, but other interfaces, such as displaying a tree of options for a hierarchical vocabulary, are possible.
Similarly, existing scripts do relatively simple things for displaying a term - showing the term's name in the appropriate language and providing a link to an external URL with more information, but more sophisticated displays are possible.

Scripts supporting use of vocabularies from services supporting the SKOMOS protocol (see https://skosmos.org), retrieving ORCIDs (from https://orcid.org), services based on Ontoportal product (see https://ontoportal.org/), and using ROR (https://ror.org/) are available https://github.com/gdcc/dataverse-external-vocab-support. (Custom scripts can also be used and community members are encouraged to share new scripts through the dataverse-external-vocab-support repository.)
Scripts supporting use of vocabularies from services supporting the SKOSMOS protocol (see https://skosmos.org), retrieving ORCIDs (from https://orcid.org), services based on Ontoportal product (see https://ontoportal.org/), and using ROR (https://ror.org/) are available https://github.com/gdcc/dataverse-external-vocab-support. (Custom scripts can also be used and community members are encouraged to share new scripts through the dataverse-external-vocab-support repository.)

Configuration involves specifying which fields are to be mapped, to which Solr field they should be indexed, whether free-text entries are allowed, which vocabulary(ies) should be used, what languages those vocabulary(ies) are available in, and several service protocol and service instance specific parameters, including the ability to send HTTP headers on calls to the service.
These are all defined in the :ref:`:CVocConf <:CVocConf>` setting as a JSON array. Details about the required elements as well as example JSON arrays are available at https://github.com/gdcc/dataverse-external-vocab-support, along with an example metadata block that can be used for testing.
Expand Down
2 changes: 1 addition & 1 deletion doc/sphinx-guides/source/api/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ v6.4

- **/api/datasets/$dataset-id/modifyRegistration**: Changed from GET to POST
- **/api/datasets/modifyRegistrationPIDMetadataAll**: Changed from GET to POST

- **/api/datasets/{identifier}/links**: The GET endpoint returns a list of Dataverses linked to the given Dataset. The format of the response has changes for v6.4 making it backward incompatible.

v6.3
----
Expand Down
58 changes: 58 additions & 0 deletions doc/sphinx-guides/source/api/native-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,58 @@ The request JSON supports an optional ``metadataBlocks`` object, with the follow

To obtain an example of how these objects are included in the JSON file, download :download:`dataverse-complete-optional-params.json <../_static/api/dataverse-complete-optional-params.json>` file and modify it to suit your needs.

.. _update-dataverse-api:

Update a Dataverse Collection
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Updates an existing Dataverse collection using a JSON file following the same structure as the one used in the API for the creation. (see :ref:`create-dataverse-api`).

The steps for updating a Dataverse collection are:

- Prepare a JSON file containing the fields for the properties you want to update. You do not need to include all the properties, only the ones you want to update.
- Execute a curl command or equivalent.

As an example, you can download :download:`dataverse-complete.json <../_static/api/dataverse-complete.json>` file and modify it to suit your needs. The controlled vocabulary for ``dataverseType`` is the following:

- ``DEPARTMENT``
- ``JOURNALS``
- ``LABORATORY``
- ``ORGANIZATIONS_INSTITUTIONS``
- ``RESEARCHERS``
- ``RESEARCH_GROUP``
- ``RESEARCH_PROJECTS``
- ``TEACHING_COURSES``
- ``UNCATEGORIZED``

The curl command below assumes you are using the name "dataverse-complete.json" and that this file is in your current working directory.

Next you need to figure out the alias or database id of the Dataverse collection you want to update.

.. code-block:: bash

export API_TOKEN=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
export SERVER_URL=https://demo.dataverse.org
export DV_ALIAS=dvAlias

curl -H "X-Dataverse-key:$API_TOKEN" -X PUT "$SERVER_URL/api/dataverses/$DV_ALIAS" --upload-file dataverse-complete.json

The fully expanded example above (without environment variables) looks like this:

.. code-block:: bash

curl -H "X-Dataverse-key:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -X PUT "https://demo.dataverse.org/api/dataverses/dvAlias" --upload-file dataverse-complete.json

You should expect an HTTP 200 response and JSON beginning with "status":"OK" followed by a representation of the updated Dataverse collection.

Same as in :ref:`create-dataverse-api`, the request JSON supports an optional ``metadataBlocks`` object, with the following supported sub-objects:

- ``metadataBlockNames``: The names of the metadata blocks you want to add to the Dataverse collection.
- ``inputLevels``: The names of the fields in each metadata block for which you want to add a custom configuration regarding their inclusion or requirement when creating and editing datasets in the new Dataverse collection. Note that if the corresponding metadata blocks names are not specified in the ``metadataBlockNames``` field, they will be added automatically to the Dataverse collection.
- ``facetIds``: The names of the fields to use as facets for browsing datasets and collections in the new Dataverse collection. Note that the order of the facets is defined by their order in the provided JSON array.

To obtain an example of how these objects are included in the JSON file, download :download:`dataverse-complete-optional-params.json <../_static/api/dataverse-complete-optional-params.json>` file and modify it to suit your needs.

.. _view-dataverse:

View a Dataverse Collection
Expand Down Expand Up @@ -4412,6 +4464,12 @@ In order to obtain a new token use::

curl -H "X-Dataverse-key:$API_TOKEN" -X POST "$SERVER_URL/api/users/token/recreate"

This endpoint by default will return a response message indicating the user identifier and the new token.

To also include the expiration time in the response message, the query parameter ``returnExpiration`` must be set to true::

curl -H "X-Dataverse-key:$API_TOKEN" -X POST "$SERVER_URL/api/users/token/recreate?returnExpiration=true"

Delete a Token
~~~~~~~~~~~~~~

Expand Down
50 changes: 50 additions & 0 deletions doc/sphinx-guides/source/container/dev-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,56 @@ Alternatives:
- If you used Docker Compose for running, you may use ``docker compose -f docker-compose-dev.yml logs <service name>``.
Options are the same.

Accessing Harvesting Log Files
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

\1. Open a terminal and access the Dataverse container.

Run the following command to access the Dataverse container (assuming your container is named dataverse-1):

.. code-block::

docker exec -it dataverse-1 bash

This command opens an interactive shell within the dataverse-1 container.

\2. Navigate to the log files directory.

Once inside the container, navigate to the directory where Dataverse logs are stored:

.. code-block::

cd /opt/payara/appserver/glassfish/domains/domain1/logs

This directory contains various log files, including those relevant to harvesting.

\3. Create a directory for copying files.

Create a directory where you'll copy the files you want to access on your local machine:

.. code-block::

mkdir /dv/filesToCopy

This will create a new folder named filesToCopy inside /dv.

\4. Copy the files to the new directory.

Copy all files from the current directory to the newly created filesToCopy directory:

.. code-block::

cp * /dv/filesToCopy

This command copies all files in the logs directory to /dv/filesToCopy.

\5. Access the files on your local machine.

On your local machine, the copied files should appear in the following directory:

.. code-block::

docker-dev-volumes/app/data/filesToCopy

Redeploying
-----------
Expand Down
17 changes: 17 additions & 0 deletions doc/sphinx-guides/source/container/running/demo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,23 @@ In the example below of configuring :ref:`:FooterCopyright` we use the default u

One you make this change it should be visible in the copyright in the bottom left of every page.

Multiple Languages
++++++++++++++++++

Generally speaking, you'll want to follow :ref:`i18n` in the Installation Guide to set up multiple languages such as English and French.

To set up the toggle between English and French, we'll use a slight variation on the command in the instructions above, adding the unblock key we created above:

``curl "http://localhost:8080/api/admin/settings/:Languages?unblock-key=unblockme" -X PUT -d '[{"locale":"en","title":"English"},{"locale":"fr","title":"Français"}]'``

Similarly, when loading the "languages.zip" file, we'll add the unblock key:

``curl "http://localhost:8080/api/admin/datasetfield/loadpropertyfiles?unblock-key=unblockme" -X POST --upload-file /tmp/languages/languages.zip -H "Content-Type: application/zip"``

Stop and start the Dataverse container in order for the language toggle to work.

Note that ``dataverse.lang.directory=/dv/lang`` has already been configured for you in the ``compose.yml`` file. The step where you loaded "languages.zip" should have populated the ``/dv/lang`` directory with files ending in ".properties".

Next Steps
----------

Expand Down
17 changes: 11 additions & 6 deletions doc/sphinx-guides/source/developers/remote-users.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,27 @@
Shibboleth, OAuth and OIDC
==========================

If you are working on anything related to users, please keep in mind that your changes will likely affect Shibboleth, OAuth, and OIDC users. For some background on user accounts in the Dataverse Software, see :ref:`auth-modes` section of Configuration in the Installation Guide.

.. contents:: |toctitle|
:local:

Shibboleth and OAuth
--------------------

If you are working on anything related to users, please keep in mind that your changes will likely affect Shibboleth and OAuth users. For some background on user accounts in the Dataverse Software, see :ref:`auth-modes` section of Configuration in the Installation Guide.
Shibboleth
----------

Rather than setting up Shibboleth on your laptop, developers are advised to add the Shibboleth auth provider (see "Add the Shibboleth Authentication Provider to Your Dataverse Installation" at :doc:`/installation/shibboleth`) and add a value to their database to enable Shibboleth "dev mode" like this:
Rather than setting up Shibboleth on your laptop, developers are advised to add the Shibboleth auth provider (see :ref:`add-shib-auth`) and add a value to their database to enable Shibboleth "dev mode" like this:

``curl http://localhost:8080/api/admin/settings/:DebugShibAccountType -X PUT -d RANDOM``

For a list of possible values, please "find usages" on the settings key above and look at the enum.
For a list of possible values, please "find usages" on the settings key above and look at the enum. As of this writing it's at the top of ShibServiceBean.

Now when you go to http://localhost:8080/shib.xhtml you should be prompted to create a Shibboleth account.

If you want to test again with the same account, you can delete it as long as you didn't create anything with it. See :ref:`delete-a-user`.

OAuth
-----

OAuth is much more straightforward to get working on your laptop than Shibboleth. GitHub is a good identity provider to test with because you can easily request a Client ID and Client Secret that works against localhost. Follow the instructions in the :doc:`/installation/oauth2` section of the installation Guide and use "http://localhost:8080/oauth2/callback.xhtml" as the callback URL.

In addition to setting up OAuth on your laptop for real per above, you can also use a dev/debug mode:
Expand Down
Loading
Loading