Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
c794f52
UFAL/Added import-5 to deploy (#1206)
Paurikova2 Feb 12, 2026
1b769b9
UFAL/Removed unused github docker registry (#1212)
milanmajchrak Feb 18, 2026
d4d84cb
internal/Renamed dspace-import to dspace-import-clarin in import acti…
Paurikova2 Feb 18, 2026
0ee58b2
UFAL/Editing similar process parameters (#1195)
Paurikova2 Feb 18, 2026
2f14694
UFAL/Display all versions in version history (#1213)
Kasinhou Feb 19, 2026
aac563e
UFAL/Missing translation for new curation task (#1208)
kosarko Feb 19, 2026
0434ff9
UFAL/We expect (in metadata) the path to be "licence" (#1193)
kosarko Feb 19, 2026
99637f0
UFAL/Rewrite OAI links in static page HTML with rest.baseUrl (ufal/ds…
kosarko Feb 19, 2026
d6ed972
Update path for dspace-import in action.yml (#1216)
Kasinhou Feb 23, 2026
6fc73d8
Refactor erase-db action to clean up comments
vidiecan Feb 24, 2026
911bb36
Use `dspace:dspace` permissions for the assetstore - not ubuntu:ubunt…
milanmajchrak Feb 24, 2026
1dd1127
UFAL/Fix: generate correct curl download URLs using backend handle en…
milanmajchrak Feb 26, 2026
6ea61f9
UFAL/CURL downloads issue - fix integration test
milanmajchrak Feb 26, 2026
31adb31
UFAL/Fix: preserve namespace in OAI link rewrite on static pages (#12…
milanmajchrak Feb 27, 2026
6628aaf
UFAL/Resolve duplicate HTML element IDs across pages (#1221)
Kasinhou Mar 2, 2026
4bc3119
Refactor running rest tests in deploy
Mar 4, 2026
d175c4a
Commented playwright for testing
Mar 4, 2026
6e743aa
UFAL/Successfully downloaded collection file when the file is downloa…
Paurikova2 Mar 4, 2026
dcce53c
Removed dynamic string interpolation from URL
Mar 4, 2026
24717a5
Allows running playwright tests again
Mar 9, 2026
eed7d30
UFAL/Resolve duplicate html IDs in submission form (#1234)
Kasinhou Mar 9, 2026
b920059
Merge pull request #1233 from dataquest-dev/ufal/update-rest-tests-ca…
Kasinhou Mar 9, 2026
39abed3
Revert "UFAL/Refactor running rest tests in deploy" (#1238)
Kasinhou Mar 9, 2026
602a261
UFAL/Broken matomo tracking with custom dimensions (#1237)
milanmajchrak Mar 10, 2026
23989e1
Merge remote-tracking branch 'dataquest-dev/dtq-dev' into dataquest/c…
kosarko Mar 10, 2026
11a607a
Merge branch 'clarin-v7' into dataquest/conflict-resolved-dtq-dev
kosarko Mar 10, 2026
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
7 changes: 2 additions & 5 deletions .github/actions/erase-db/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ runs:
env:
NAME: ${{ inputs.NAME }}
run: |
# # condition below was found by accident and appears to be useless. Investigate later.
# be sure to have INSTANCE set
# if [[ "x${NAME}" != "dspace-" ]]; then
docker volume rm $(docker volume ls --filter name="${NAME}_" -q) || true
# fi;
echo "Removing volumes for $(docker volume ls --filter name="${NAME}_" -q)"
docker volume rm $(docker volume ls --filter name="${NAME}_" -q) || true

7 changes: 4 additions & 3 deletions .github/actions/import-db/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ runs:

- uses: actions/checkout@v4
with:
repository: dataquest-dev/dspace-import
repository: dataquest-dev/dspace-import-clarin
ref: 'main'
submodules: 'recursive'
path: 'dspace-import'
path: 'dspace-import-clarin'


- name: stop and remove containers
id: import
shell: bash
working-directory: dspace-import/scripts
working-directory: dspace-import-clarin/scripts
env:
DATADIR: ${{ inputs.DATADIR }}
DB5PORT: 15432
Expand All @@ -62,6 +62,7 @@ runs:
echo Location of assetstore folder is empty. Not copping assetstore
else
docker cp ${{ inputs.ASSETSTORE }} dspace${{ inputs.INSTANCE }}:/dspace/
docker exec -u root dspace${{ inputs.INSTANCE }} chown -R dspace:dspace /dspace/assetstore
fi
echo "====="
cd ../
Expand Down
42 changes: 42 additions & 0 deletions .github/disabled-workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,48 @@ jobs:
/bin/bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' http://dev-5.pc:8$INSTANCE/repository/server/api)" != "200" ]]; do sleep 5; done'


import-5:
runs-on: dspace-dep-1
if: inputs.IMPORT
needs: deploy-5
env:
INSTANCE: '5'
ENVFILE: /opt/dspace-envs/.env.dspace.dev-5
steps:
- uses: ./.github/actions/import-db
with:
INSTANCE: ${{ env.INSTANCE }}
DATADIR: /opt/dspace-data/clarin-dspace-oxford/
ASSETSTORE: /opt/dspace-data/clarin-dspace-oxford/assetstore/
LOGDIR: /log/
ADMIN_PASSWORD: ${{ secrets.DSPACE_ADMIN_PASSWORD }}

- name: dspace basic command
run: |
export DNAME=dspace$INSTANCE
docker logs -n 50 $DNAME

echo "dspace version:"
docker exec $DNAME /bin/bash -c "cd /dspace/bin && ./dspace version"

echo "dspace cleanup:"
docker exec $DNAME /bin/bash -c "cd /dspace/bin && ./dspace cleanup -v"

echo "dspace reindex solr:"
docker exec $DNAME /bin/bash -c "cd /dspace/bin && ./dspace index-discovery -b"

echo "dspace reindex OAI-PMH:"
docker exec $DNAME /bin/bash -c "cd /dspace/bin && ./dspace oai import -c"

echo "dspace checker:"
docker exec $DNAME /bin/bash -c "cd /dspace/bin && ./dspace checker -v -l"

- name: dspace healthcheck
run: |
export DNAME=dspace$INSTANCE
echo "dspace healthcheck:"
docker exec $DNAME /bin/bash -c "cd /dspace/bin && ./dspace healthcheck -v"

import-8:
runs-on: dspace-dep-1
if: inputs.IMPORT
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ jobs:
NODE_OPTIONS: '--max-old-space-size=4096'
# Project name to use when running "docker compose" prior to e2e tests
COMPOSE_PROJECT_NAME: 'ci'
# Docker Registry to use for Docker compose scripts below.
# We use GitHub's Container Registry to avoid aggressive rate limits at DockerHub.
#DOCKER_REGISTRY: ghcr.io
strategy:
# Create a matrix of Node versions to test against (in parallel)
matrix:
Expand Down Expand Up @@ -125,14 +122,6 @@ jobs:
path: 'coverage/dspace-angular/lcov.info'
retention-days: 14

# Login to our Docker registry, so that we can access private Docker images using "docker compose" below.
#- name: Login to ${{ env.DOCKER_REGISTRY }}
# uses: docker/login-action@v3
# with:
# registry: ${{ env.DOCKER_REGISTRY }}
# username: ${{ github.repository_owner }}
# password: ${{ secrets.GITHUB_TOKEN }}

# Using "docker compose" start backend using CI configuration
# and load assetstore from a cached copy
- name: Start DSpace REST Backend via Docker (for e2e tests)
Expand Down
1 change: 1 addition & 0 deletions build-scripts/run/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ popd
echo "====="
echo "Copy assetstore"
docker cp assetstore dspace${INSTANCE}:/dspace/
docker exec -u root dspace${INSTANCE} chown -R dspace:dspace /dspace/assetstore

echo "====="
echo "Finished start.sh"
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h2 id="search" class="border-bottom pb-2">
</div>
<div class="flex-grow-1 mr-3 ml-3">
<div class="form-group input-group">
<label id="query" for="query" class="sr-only">{{labelPrefix + 'search.placeholder' | translate}}</label>
<label id="query-label" for="query" class="sr-only">{{labelPrefix + 'search.placeholder' | translate}}</label>
<input type="text" name="query" id="query" formControlName="query"
class="form-control" [attr.aria-label]="labelPrefix + 'search.placeholder' | translate"
[placeholder]="(labelPrefix + 'search.placeholder' | translate)">
Expand Down
3 changes: 2 additions & 1 deletion src/app/bitstream-page/bitstream-page.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import { getFirstCompletedRemoteData } from '../core/shared/operators';
* Requesting them as embeds will limit the number of requests
*/
export const BITSTREAM_PAGE_LINKS_TO_FOLLOW: FollowLinkConfig<Bitstream>[] = [
followLink('bundle', {}, followLink('primaryBitstream'), followLink('item')),
followLink('bundle', {}, followLink('item')),
followLink('bundle', {}, followLink('primaryBitstream')),
followLink('format')
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,33 @@
<h6><i class="fa fa-paperclip">&nbsp;</i>{{'item.page.files.head' | translate}}</h6>
<div class="pb-3">
<span class="pr-1">
<a class="btn btn-download" (click)="setCommandline()" style="text-decoration: none"
<a class="btn btn-download" (click)="openCommandModal(commandModal)" style="text-decoration: none"
*ngIf="canShowCurlDownload">
<i class="fa fa-download fa-3x" style="display: block">&nbsp;</i>
{{'item.page.download.button.command.line' | translate}}
</a>
</span>
<div id="command-div" *ngIf="isCommandLineVisible">
<pre class="command-pre">{{ command }}</pre>
</div>

<ng-template #commandModal let-modal>
<div class="modal-header">
<h5 class="modal-title" id="commandModalTitle">{{'item.page.download.button.command.line' | translate}}</h5>
<button type="button" class="close" aria-label="Close" (click)="modal.dismiss()">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<pre class="command-pre mb-0">{{ command }}</pre>
</div>
<div class="modal-footer">
<button class="btn btn-outline-secondary" (click)="copyCommand()">
<i class="fa" [ngClass]="commandCopied ? 'fa-check' : 'fa-clipboard'"></i>
{{ commandCopied ? ('item.page.download.command.copied' | translate) : ('item.page.download.command.copy' | translate) }}
</button>
<button class="btn btn-secondary" (click)="modal.close()">
{{'item.page.download.command.close' | translate}}
</button>
</div>
</ng-template>
<span>
<a *ngIf="
(totalFileSizes | async) > (downloadZipMinFileSize | async) &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,44 +17,17 @@ The styling file for the `clarin-files-section.component`

.command-pre {
display: block;
padding: 9.5px;
margin: 0 0 10px;
padding: 12px 16px;
margin: 0;
font-size: 13px;
line-height: 1.428571429;
line-height: 1.5;
white-space: pre-wrap;
word-break: break-all;
word-wrap: break-word;
background-color: #d9edf7;
color: #3a87ad;
border: 1px solid #ccc;
border-radius: 4px;
}

#command-div .repo-copy-btn {
opacity: 0;
-webkit-transition: opacity 0.3s ease-in-out;
-o-transition: opacity 0.3s ease-in-out;
transition: opacity 0.3s ease-in-out;
}

#command-div:hover .repo-copy-btn, #command-div .repo-copy-btn:focus {
opacity: 1;
}

.repo-copy-btn {
width: 20px;
height: 20px;
position: relative;
display: inline-block;
padding: 0 !important;
}

.repo-copy-btn:before {
content: " ";
background-size: 13px 15px;
background-repeat: no-repeat;
background-color: red;
display: inline-block;
width: 13px;
height: 15px;
padding: 0 !important;
max-height: 60vh;
overflow-y: auto;
}
Loading