Skip to content

Commit c8a8161

Browse files
committed
Merge remote-tracking branch 'IQSS/develop' into DANS-performance
2 parents 4fd710b + 4624bb6 commit c8a8161

File tree

99 files changed

+2290
-477
lines changed

Some content is hidden

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

99 files changed

+2290
-477
lines changed

.github/workflows/deploy_beta_testing.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@ on:
55
branches:
66
- develop
77

8+
concurrency:
9+
group: deploy-beta-testing
10+
cancel-in-progress: false
11+
812
jobs:
913
build:
1014
runs-on: ubuntu-latest
1115

1216
steps:
13-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1418

15-
- uses: actions/setup-java@v3
19+
- uses: actions/setup-java@v4
1620
with:
1721
distribution: 'zulu'
1822
java-version: '17'
@@ -32,7 +36,7 @@ jobs:
3236
run: echo "war_file=$(ls *.war | head -1)">> $GITHUB_ENV
3337

3438
- name: Upload war artifact
35-
uses: actions/upload-artifact@v3
39+
uses: actions/upload-artifact@v4
3640
with:
3741
name: built-app
3842
path: ./target/${{ env.war_file }}
@@ -42,10 +46,10 @@ jobs:
4246
runs-on: ubuntu-latest
4347

4448
steps:
45-
- uses: actions/checkout@v3
49+
- uses: actions/checkout@v4
4650

4751
- name: Download war artifact
48-
uses: actions/download-artifact@v3
52+
uses: actions/download-artifact@v4
4953
with:
5054
name: built-app
5155
path: ./

.github/workflows/maven_unit_test.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
steps:
3333
# TODO: As part of #10618 change to setup-maven custom action
3434
# Basic setup chores
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
3636
- name: Set up JDK ${{ matrix.jdk }}
37-
uses: actions/setup-java@v3
37+
uses: actions/setup-java@v4
3838
with:
3939
java-version: ${{ matrix.jdk }}
4040
distribution: temurin
@@ -57,7 +57,7 @@ jobs:
5757

5858
# Upload the built war file. For download, it will be wrapped in a ZIP by GitHub.
5959
# See also https://github.com/actions/upload-artifact#zipped-artifact-downloads
60-
- uses: actions/upload-artifact@v3
60+
- uses: actions/upload-artifact@v4
6161
with:
6262
name: dataverse-java${{ matrix.jdk }}.war
6363
path: target/dataverse*.war
@@ -67,7 +67,7 @@ jobs:
6767
- run: |
6868
tar -cvf java-builddir.tar target
6969
tar -cvf java-m2-selection.tar ~/.m2/repository/io/gdcc/dataverse-*
70-
- uses: actions/upload-artifact@v3
70+
- uses: actions/upload-artifact@v4
7171
with:
7272
name: java-artifacts
7373
path: |
@@ -98,16 +98,16 @@ jobs:
9898
steps:
9999
# TODO: As part of #10618 change to setup-maven custom action
100100
# Basic setup chores
101-
- uses: actions/checkout@v3
101+
- uses: actions/checkout@v4
102102
- name: Set up JDK ${{ matrix.jdk }}
103-
uses: actions/setup-java@v3
103+
uses: actions/setup-java@v4
104104
with:
105105
java-version: ${{ matrix.jdk }}
106106
distribution: temurin
107107
cache: maven
108108

109109
# Get the build output from the unit test job
110-
- uses: actions/download-artifact@v3
110+
- uses: actions/download-artifact@v4
111111
with:
112112
name: java-artifacts
113113
- run: |
@@ -119,7 +119,7 @@ jobs:
119119

120120
# Wrap up and send to coverage job
121121
- run: tar -cvf java-reportdir.tar target/site
122-
- uses: actions/upload-artifact@v3
122+
- uses: actions/upload-artifact@v4
123123
with:
124124
name: java-reportdir
125125
path: java-reportdir.tar
@@ -132,15 +132,15 @@ jobs:
132132
steps:
133133
# TODO: As part of #10618 change to setup-maven custom action
134134
# Basic setup chores
135-
- uses: actions/checkout@v3
136-
- uses: actions/setup-java@v3
135+
- uses: actions/checkout@v4
136+
- uses: actions/setup-java@v4
137137
with:
138138
java-version: '17'
139139
distribution: temurin
140140
cache: maven
141141

142142
# Get the build output from the integration test job
143-
- uses: actions/download-artifact@v3
143+
- uses: actions/download-artifact@v4
144144
with:
145145
name: java-reportdir
146146
- run: tar -xvf java-reportdir.tar

conf/solr/schema.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@
234234
<field name="datasetValid" type="boolean" stored="true" indexed="true" multiValued="false"/>
235235

236236
<field name="license" type="string" stored="true" indexed="true" multiValued="false"/>
237+
<field name="fileCount" type="plong" stored="true" indexed="true" multiValued="false"/>
237238

238239
<!--
239240
METADATA SCHEMA FIELDS
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Custom questions in Guestbooks can now be more than 255 characters and the bug causing a silent failure when questions were longer than this limit has been fixed.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
### Guestbook Email Validation Bug fix
3+
4+
Guestbook UI Form: Email address is now checked for valid email format
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
MDC Citation retrieval with the PID settings has been fixed.
2-
DOI parsing in Dataverse is case insensitive, improving interaction with services that may change the case.
2+
PID parsing in Dataverse is now case insensitive, improving interaction with services that may change the case of PIDs.
33
Warnings related to managed/excluded PID lists for PID providers have been reduced
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Improvements have been made in handling the errors when a dataset has been edited in one window and an attempt is made to
2+
edit/publish it in another.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Some repository extend the "oai_dc" metadata prefix with specific namespaces. In this case, harvesting of these datasets is not possible, as an XML parsing error is raised.
2+
3+
The PR [#10837](https://github.com/IQSS/dataverse/pull/10837) allows the harvesting of these datasets by excluding tags with namespaces that are not "dc:", and harvest only metadata with the "dc" namespace.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The following API have been added:
2+
3+
/api/datasets/{persistentId}/versions/{versionId0}/compare/{versionId1}
4+
5+
This API lists the changes between 2 dataset versions. The Json response shows the changes per field within the Metadata block and the Terms Of Access. Also listed are the files that have been added or removed. Files that have been modified will also display the new file data plus the fields that have been modified.
6+
When compare includes an unpublished/draft version the api token must be associated with a user having view unpublished privileges
7+
An error will be returned if VERSION0 was not created before VERSION1
8+
9+
Example of Metadata Block field change:
10+
```json
11+
{
12+
"blockName": "Life Sciences Metadata",
13+
"changed": [
14+
{
15+
"fieldName": "Design Type",
16+
"oldValue": "",
17+
"newValue": "Parallel Group Design; Nested Case Control Design"
18+
}
19+
]
20+
}
21+
```
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The JSON payload of the getDataverse endpoint has been extended to include properties isMetadataBlockRoot and isFacetRoot.

0 commit comments

Comments
 (0)