Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
5fd9aab
Update namespace config and docker compose files (#730)
milanmajchrak Nov 21, 2024
0fef938
UFAL/Resolve conflicts before merge (#764)
milanmajchrak Dec 6, 2024
41258e9
Updated docker-compose: use normal assetstore volume
milanmajchrak Dec 6, 2024
fe4ac8b
Update docker-compose-rest.yml: uncommented volume
milanmajchrak Dec 6, 2024
471d2f6
Update docker-compose-rest.yml - fix wrong comment
milanmajchrak Dec 6, 2024
4806add
Update docker-compose.yml: the aai.js doesn't need to be mounted as a…
milanmajchrak Dec 6, 2024
f0f6bc7
Update import action.yml - use the right BE
milanmajchrak Dec 6, 2024
60fc63d
Update deploy.yml - updated /server/api to /repository/server/api
milanmajchrak Dec 9, 2024
359954a
Update docker-compose-rest.yml - Updated symlink command and custom_r…
milanmajchrak Dec 10, 2024
129629c
Used root URL to compose download URL with namespace (#768)
milanmajchrak Dec 10, 2024
1fc720a
Use content route for downloading the bitstream (#769)
milanmajchrak Dec 10, 2024
96c78a3
Update sourceversion.py - update tage base to `lindat`
milanmajchrak Dec 10, 2024
60567ef
Run build tests every 4 hours and changed actions/upload-artifact@v3 …
milanmajchrak Jan 24, 2025
3d1ba84
UFAL/Release fixed conflicts (#780)
milanmajchrak Feb 4, 2025
014d646
New Release merge - 2025/Mar/07 (#803)
milanmajchrak Mar 7, 2025
643edfc
Do not encode netId from the URL because some character could be chan…
milanmajchrak Mar 11, 2025
0e2a38c
The netid must be encoded
milanmajchrak Mar 11, 2025
57c8d77
New Release merge - 2025/Apr/04 (#826)
milanmajchrak Apr 4, 2025
a680833
Removed accidentally added a `custom_run.sh` into wrong place.
milanmajchrak Apr 4, 2025
6f6e2c5
Removed a duplicity code from the `build.yml` which causes that the a…
milanmajchrak Apr 4, 2025
6322abf
UFAL/Redirect to `/lindat` after clicking on the Lindat icon in the h…
milanmajchrak Apr 4, 2025
186f40d
New Release merge - 2025/Apr/22 (#840)
milanmajchrak Apr 22, 2025
db7d0e7
New Release merge - 2025/May/16 (#856)
milanmajchrak May 16, 2025
199447c
Do not use solr config volumes in the docker-compose-rest
milanmajchrak May 16, 2025
8eec9d0
UFAL/Do not add `dtoken` into the URL if it is null (#860)
milanmajchrak May 19, 2025
4bfa477
New Release merge - 2025/Jun/17 (#878)
milanmajchrak Jun 17, 2025
7d93d5e
UFAL/Publisher search redirect not work #880
milanmajchrak Jun 17, 2025
c99c834
UFAL/License Administration Labels & Required Info checkboxes should …
jr-rk Jun 20, 2025
7c9405f
UFAL/Searching problems in Manage Handles table (#882)
jr-rk Jun 20, 2025
96fa9f6
New Release merge - 2025/July/10 (#912)
milanmajchrak Jul 10, 2025
6003cbd
New Release merge - 2025/July/24 (#932)
milanmajchrak Jul 24, 2025
73605b0
UFAL/Enable running group of ui tests for lindat (#935)
Kasinhou Jul 28, 2025
54c0a0e
Removed duplicity and deleted unused triggers (#983)
Kasinhou Sep 18, 2025
50e9507
UFAL/Replaced admin and user name (#985)
Kasinhou Sep 18, 2025
1f3a652
Increased timeout (#1142)
Kasinhou Dec 8, 2025
0a62c28
Merge branch 'dtq-dev' into customer/lindat
milanmajchrak Jan 23, 2026
a56a4af
LINDAT/Fix incorrect translation of "withdraw" (#1191) (#1199)
Kasinhou Feb 10, 2026
87bf3b8
UFAL/Removed green line from the home page (#1204)
milanmajchrak Feb 10, 2026
24fc2b0
Merge branch 'customer/lindat' of github.com:dataquest-dev/dspace-ang…
milanmajchrak Feb 11, 2026
077a4a6
UFAL/Release hotfix 2026 02 26 - merge PR (#1225)
milanmajchrak Feb 26, 2026
ed36ed4
UFAL/Release hotfix 2026 03 11 (#1248)
milanmajchrak Mar 11, 2026
937d05c
LINDAT/Changed curl to gh cli in rest tests (#1256)
Kasinhou Mar 23, 2026
f6e9309
UFAL/stabilize form array reorder/delete behavior (ufal/dspace-angula…
milanmajchrak Mar 30, 2026
e9792ad
UFAL/Release 2026 july 02 (#1342)
milanmajchrak Jul 2, 2026
c0219ae
LINDAT/Remove UI-test config copy - config now in dspace-ui-tests (#1…
Kasinhou Jul 8, 2026
dc0be47
UFAL/Release 2026 July 14 (#1375)
milanmajchrak Jul 14, 2026
b1b5bec
Merge tag 'lindat-2026.07.29320217955' into dataquest/conflict-resolv…
kosarko Jul 20, 2026
7aaa5dc
Merge remote-tracking branch 'origin/clarin-v7' into dataquest/confli…
kosarko Jul 20, 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
1 change: 1 addition & 0 deletions .dspace-skills
Submodule .dspace-skills added at cedd19
5 changes: 5 additions & 0 deletions .github/actions/import-db/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ inputs:
description: 'Admin password for DSpace'
required: true
type: string
LOGDIR:
description: 'Directory for log files'
required: false
type: string
default: ''

runs:
using: "composite"
Expand Down
75 changes: 27 additions & 48 deletions .github/disabled-workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,35 +202,25 @@ jobs:
rest-tests-after-deploy8:
runs-on: ubuntu-latest
needs: playwright-after-deploy8
if: '!inputs.IMPORT'
timeout-minutes: 120
env:
GH_TOKEN: ${{ secrets.DEPLOY_DEV5_GH_ACTION_DISPATCH }}
REPO: dataquest-dev/dspace-rest-test
WORKFLOW: run_unittests.yml
steps:
- name: run rest-tests
run: |
curl -H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token ${{ secrets.DEPLOY_DEV5_GH_ACTION_DISPATCH }}" \
--request POST \
https://api.github.com/repos/dataquest-dev/\
dspace-rest-test/actions/workflows/run_unittests.yml/dispatches \
--data "{\"ref\":\"refs/heads/master\"}" 2> /dev/null

# wait for it to start
sleep 30s

# get result of last job
RES=$(curl -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${{ secrets.DEPLOY_DEV5_GH_ACTION_DISPATCH }}" https://api.github.com/repos/dataquest-dev/dspace-rest-test/actions/workflows/run_unittests.yml/runs?per_page=1 2> /dev/null | jq .workflow_runs[0].conclusion)
OUTPUT=$(gh workflow run "$WORKFLOW" \
--repo "$REPO" \
--ref master \
-f CUSTOMER="${{ github.ref_name }}" \
-f URL="http://dev-5.pc:88/repository/server/api" 2>&1)

# while job did not finish, sleep
while [[ $RES == 'null' ]]; do
sleep 10s
RES=$(curl -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${{ secrets.DEPLOY_DEV5_GH_ACTION_DISPATCH }}" https://api.github.com/repos/dataquest-dev/dspace-rest-test/actions/workflows/run_unittests.yml/runs?per_page=1 2> /dev/null | jq .workflow_runs[0].conclusion)
done;
RUN_ID=$(echo "$OUTPUT" | grep -oE '/runs/[0-9]+' | grep -oE '[0-9]+')

echo $RES
# if last result is not success, return -1 and fail
if [[ $RES != \"success\" ]]; then
echo "rest-tests have failed! check appropriate action run in the dspace-rest-test repository"
exit 1
fi;
echo "Watching run: https://github.com/$REPO/actions/runs/$RUN_ID"
gh run watch "$RUN_ID" --repo "$REPO" --interval 30 --exit-status


playwright-after-import8:
Expand All @@ -243,31 +233,20 @@ jobs:
runs-on: ubuntu-latest
needs: playwright-after-import8
timeout-minutes: 120
env:
GH_TOKEN: ${{ secrets.DEPLOY_DEV5_GH_ACTION_DISPATCH }}
REPO: dataquest-dev/dspace-rest-test
WORKFLOW: run_unittests.yml
steps:
- name: run rest-tests
run: |
curl -H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token ${{ secrets.DEPLOY_DEV5_GH_ACTION_DISPATCH }}" \
--request POST \
https://api.github.com/repos/dataquest-dev/\
dspace-rest-test/actions/workflows/run_unittests.yml/dispatches \
--data "{\"ref\":\"refs/heads/master\"}" 2> /dev/null

# wait for it to start
sleep 30s

# get result of last job
RES=$(curl -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${{ secrets.DEPLOY_DEV5_GH_ACTION_DISPATCH }}" https://api.github.com/repos/dataquest-dev/dspace-rest-test/actions/workflows/run_unittests.yml/runs?per_page=1 2> /dev/null | jq .workflow_runs[0].conclusion)

# while job did not finish, sleep
while [[ $RES == 'null' ]]; do
sleep 10s
RES=$(curl -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${{ secrets.DEPLOY_DEV5_GH_ACTION_DISPATCH }}" https://api.github.com/repos/dataquest-dev/dspace-rest-test/actions/workflows/run_unittests.yml/runs?per_page=1 2> /dev/null | jq .workflow_runs[0].conclusion)
done;

echo $RES
# if last result is not success, return -1 and fail
if [[ $RES != \"success\" ]]; then
echo "rest-tests have failed! check appropriate action run in the dspace-rest-test repository"
exit 1
fi;
OUTPUT=$(gh workflow run "$WORKFLOW" \
--repo "$REPO" \
--ref master \
-f CUSTOMER="${{ github.ref_name }}" \
-f URL="http://dev-5.pc:88/repository/server/api" 2>&1)

RUN_ID=$(echo "$OUTPUT" | grep -oE '/runs/[0-9]+' | grep -oE '[0-9]+')

echo "Watching run: https://github.com/$REPO/actions/runs/$RUN_ID"
gh run watch "$RUN_ID" --repo "$REPO" --interval 30 --exit-status
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,11 @@ jobs:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# uses: actions/checkout@v3
#
# # Download artifacts from previous 'tests' job
# - name: Download coverage artifacts
# uses: actions/download-artifact@v4
# uses: actions/download-artifact@v3
#
# # Now attempt upload to Codecov using its action.
# # NOTE: We use a retry action to retry the Codecov upload if it fails the first time.
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/new_issue_label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Auto Label New Issues

on:
issues:
types: [opened]

jobs:
label-issue:
runs-on: ubuntu-latest
permissions:
issues: write

steps:
- name: Auto Label
uses: dataquest-dev/gh-actions/start@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
12 changes: 2 additions & 10 deletions .github/workflows/playwright-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,12 @@ jobs:
path: dspace-ui-tests
token: ${{ secrets.DEPLOY_DEV5_GH_ACTION_DISPATCH }}

- name: Checkout main repository
uses: actions/checkout@v4
with:
path: this-repository

- name: Copy customer config to UI tests repository for merging
run: |
cp this-repository/config/config.lindat.ui.tests.json dspace-ui-tests/customer-constants/

- name: test
working-directory: dspace-ui-tests/scripts
env:
HOME_URL: https://dev-5.pc:8443/repository/
NAME: LINDAT
NAME: DEFAULT
PASSWORD_ADMIN: ${{ secrets.DSPACE_ADMIN_PASSWORD }}
run: |
./test.sh

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

git fetch --prune origin
BRANCHES=$(git ls-remote --heads origin | awk -F'/' '{print $3"/"$4}' | grep '^customer/')
SKIP_BRANCHES=("customer/uk" "customer/mendelu-v7" "customer/palo-docker" "customer/palo-docker-rebase" "customer/palo-docker-typo-fix")
SKIP_BRANCHES=("customer/jcu" "customer/uk" "customer/mendelu-v7" "customer/palo-docker" "customer/palo-docker-rebase" "customer/palo-docker-typo-fix")

for branch in $(echo "$BRANCHES" | sed -e 's/[\[\]"]//g' -e 's/,/\n/g'); do
if [[ " ${SKIP_BRANCHES[@]} " =~ " ${branch} " ]]; then
Expand Down
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,16 @@ python_data_import/debug.log.txt
python_data_import/logs.txt
python_data_import/date.txt
*/__pycache__/

# Local-only artifacts generated by scripts/dspace-deploy.bat (one-per-instance, never committed)
/docker/.env.dspace-*
/docker/.override.dspace-*.yml

# Playwright MCP captures + investigation artifacts
/.playwright-mcp/
/PROGRESS.md
/flicker-snapshots-*.json
/perf-*.json
/home-initial.png
/overlay-state.png
/verify-*.png
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[submodule "python_data_import/lib"]
path = python_data_import/lib
url = https://github.com/dataquest-dev/dspace-blackbox-testing.git
[submodule ".dspace-skills"]
path = .dspace-skills
url = git@github.com:dataquest-dev/dspace-skills.git
branch = main
16 changes: 16 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

<!-- dspace-skills:begin -->
## Private team playbooks (dataquest)

This repo vendors dataquest's private AI knowledge base as the `.dspace-skills/` git submodule. **If
`.dspace-skills/` is present**, treat **`.dspace-skills/AGENTS.md`** as the authoritative agent guide for this repo:
read it first, then load the matching profile (`.dspace-skills/profiles/frontend.md` for dspace-angular,
`.dspace-skills/profiles/backend.md` for DSpace) and pull skills from `.dspace-skills/skills/` on demand. Start any
PR/backport/test task from `.dspace-skills/SKILLS.md`.

If `.dspace-skills/` is empty (you don't have access, e.g. an outside contributor), ignore this section
and proceed with the public project conventions.

To enable: `git submodule update --init .dspace-skills` (requires access to
`dataquest-dev/dspace-skills`).
<!-- dspace-skills:end -->
16 changes: 16 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

<!-- dspace-skills:begin -->
## Private team playbooks (dataquest)

This repo vendors dataquest's private AI knowledge base as the `.dspace-skills/` git submodule. **If
`.dspace-skills/` is present**, treat **`.dspace-skills/AGENTS.md`** as the authoritative agent guide for this repo:
read it first, then load the matching profile (`.dspace-skills/profiles/frontend.md` for dspace-angular,
`.dspace-skills/profiles/backend.md` for DSpace) and pull skills from `.dspace-skills/skills/` on demand. Start any
PR/backport/test task from `.dspace-skills/SKILLS.md`.

If `.dspace-skills/` is empty (you don't have access, e.g. an outside contributor), ignore this section
and proceed with the public project conventions.

To enable: `git submodule update --init .dspace-skills` (requires access to
`dataquest-dev/dspace-skills`).
<!-- dspace-skills:end -->
4 changes: 2 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@
"budgets": [
{
"type": "initial",
"maximumWarning": "3mb",
"maximumError": "5mb"
"maximumWarning": "5.5mb",
"maximumError": "6mb"
},
{
"type": "anyComponentStyle",
Expand Down
10 changes: 0 additions & 10 deletions config/config.lindat.ui.tests.json

This file was deleted.

10 changes: 9 additions & 1 deletion cypress/e2e/submission-ui.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,12 @@ describe('Create a new submission', () => {
// DON'T upload any file - just check the license section is accessible
createItemProcess.checkLicenseSelectionValue('Select a License ...');

// Allow frontend to propagate the initial section status (no file => valid)
// before asserting the header icon. Mirrors the pattern used in the
// sibling "license validation when file is uploaded" test above.
cy.wait(1000);
cy.get('div[id="section_clarin-license"]').find('.card-header').should('be.visible');

// Verify warning and error icons do NOT exist
cy.get('div[id="section_clarin-license"]')
.find('.card-header')
Expand All @@ -294,9 +300,11 @@ describe('Create a new submission', () => {
.find('.fa-exclamation-circle.text-danger')
.should('not.exist');

// Green check must eventually appear (retry-ability with a longer timeout
// handles any remaining async settle of the section status observable).
cy.get('div[id="section_clarin-license"]')
.find('.card-header')
.find('.fa-check-circle.text-success')
.find('.fa-check-circle.text-success', { timeout: 15000 })
.should('be.visible');
});

Expand Down
3 changes: 2 additions & 1 deletion docker/docker-compose-rest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ services:
volumes:
- dspace_logs:/dspace/log
- assetstore:/dspace/assetstore
#- /opt/DATA/assetstore:/dspace/assetstore
- handle_server:/dspace/handle-server
- ./local.cfg:/dspace/config/local.cfg
# Mount a tmpfs over the requests folder to protect it - associated with https://github.com/dataquest-dev/DSpace/pull/1095
Expand Down Expand Up @@ -174,7 +175,7 @@ services:
cp -r /opt/solr/server/solr/configsets/search/* search
precreate-core statistics /opt/solr/server/solr/configsets/statistics
cp -r /opt/solr/server/solr/configsets/statistics/* statistics
exec solr -p 8983 -f -m 4g
exec solr -p 8983 -f -m "${SOLR_HEAP:-4g}"
volumes:
# Commented out because there are a lot of files in the assetstore
assetstore:
Expand Down
Loading
Loading