-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'IQSS:develop' into IQSS/3818_delete_thumbnail_tmp_files
- Loading branch information
Showing
41 changed files
with
594 additions
and
315 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
2 changes: 2 additions & 0 deletions
2
doc/release-notes/10202-extend-getVersionFiles-api-to-include-total-file-count.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 @@ | ||
The response for getVersionFiles (/api/datasets/{id}/versions/{versionId}/files) endpoint has been modified to include a total count of records available (totalCount:x). | ||
This will aid in pagination by allowing the caller to know how many pages can be iterated through. The existing API (getVersionFileCounts) to return the count will still be available. |
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,5 @@ | ||
The API endpoint `/api/metadatablocks/{block_id}` has been extended to include the following fields: | ||
|
||
- `isRequired`: Whether or not this field is required | ||
- `displayOrder`: The display order of the field in create/edit forms | ||
- `typeClass`: The type class of this field ("controlledVocabulary", "compound", or "primitive") |
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 @@ | ||
OAI-PMH error handling has been improved to display a machine-readable error in XML rather than a 500 error with no further information. | ||
|
||
- /oai?foo=bar will show "No argument 'verb' found" | ||
- /oai?verb=foo&verb=bar will show "Verb must be singular, given: '[foo, bar]'" |
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 @@ | ||
universe field in variablemetadata table was changed from varchar(255) to text. The change was made to support longer strings in "universe" metadata field, similar to the rest of text fields in variablemetadata table. |
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 @@ | ||
Listing collction/dataverse role assignments via API still requires ManageDataversePermissions, but listing dataset role assignments via API now requires only ManageDatasetPermissions. |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# cpwebapp <project dir> <file in webapp> | ||
# | ||
# Usage: | ||
# | ||
# Add a File watcher by importing watchers.xml into IntelliJ IDEA, and let it do the copying whenever you save a | ||
# file under webapp. | ||
# | ||
# https://www.jetbrains.com/help/idea/settings-tools-file-watchers.html | ||
# | ||
# Alternatively, you can add an External tool and trigger via menu or shortcut to do the copying manually: | ||
# | ||
# https://www.jetbrains.com/help/idea/configuring-third-party-tools.html | ||
# | ||
|
||
PROJECT_DIR=$1 | ||
FILE_TO_COPY=$2 | ||
RELATIVE_PATH="${FILE_TO_COPY#$PROJECT_DIR/}" | ||
|
||
# Check if RELATIVE_PATH starts with 'src/main/webapp', otherwise ignore | ||
if [[ $RELATIVE_PATH == src/main/webapp* ]]; then | ||
# Get current version. Any other way to do this? A simple VERSION file would help. | ||
VERSION=`perl -ne 'print $1 if /<revision>(.*?)<\/revision>/' ./modules/dataverse-parent/pom.xml` | ||
RELATIVE_PATH_WITHOUT_WEBAPP="${RELATIVE_PATH#src/main/webapp/}" | ||
TARGET_DIR=./docker-dev-volumes/glassfish/applications/dataverse-$VERSION | ||
TARGET_PATH="${TARGET_DIR}/${RELATIVE_PATH_WITHOUT_WEBAPP}" | ||
|
||
mkdir -p "$(dirname "$TARGET_PATH")" | ||
cp "$FILE_TO_COPY" "$TARGET_PATH" | ||
|
||
echo "File $FILE_TO_COPY copied to $TARGET_PATH" | ||
fi |
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,22 @@ | ||
<TaskOptions> | ||
<TaskOptions> | ||
<option name="arguments" value="$ProjectFileDir$ $FilePath$" /> | ||
<option name="checkSyntaxErrors" value="false" /> | ||
<option name="description" /> | ||
<option name="exitCodeBehavior" value="ERROR" /> | ||
<option name="fileExtension" value="*" /> | ||
<option name="immediateSync" value="false" /> | ||
<option name="name" value="Dataverse webapp file copy on save" /> | ||
<option name="output" value="" /> | ||
<option name="outputFilters"> | ||
<array /> | ||
</option> | ||
<option name="outputFromStdout" value="false" /> | ||
<option name="program" value="$ProjectFileDir$/scripts/intellij/cpwebapp.sh" /> | ||
<option name="runOnExternalChanges" value="true" /> | ||
<option name="scopeName" value="Current File" /> | ||
<option name="trackOnlyRoot" value="false" /> | ||
<option name="workingDir" value="$ProjectFileDir$" /> | ||
<envs /> | ||
</TaskOptions> | ||
</TaskOptions> |
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.