Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c03a530
by default only deploy to INSTANCE=5
MajoBerger Nov 16, 2023
51bb185
give more time for postgres init
vidiecan Nov 16, 2023
75923d3
add even more time
Nov 16, 2023
4e44231
Update action.yml (#405)
milanmajchrak Nov 30, 2023
5965637
ufal/fe-update-json-messages
milanmajchrak Dec 1, 2023
560aada
ufal/fe-initiated-login-not-redirecting-from-collection
milanmajchrak Dec 1, 2023
a5c9d5d
[devOps] add dspace commands after import
Dec 1, 2023
5e3c540
ufal/fe-add-default-static-pages (#406)
milanmajchrak Dec 5, 2023
c4e8387
ufal/fe-shibboleth-validate-emails
milanmajchrak Dec 6, 2023
285a115
placeholder configs to be mounted into docker
MajoBerger Dec 6, 2023
b6e7c7d
change entrypoint so that containers has less logs and restarts (#412)
MajoBerger Dec 11, 2023
8637755
ufal/fe-get-user-ip-address (#420)
milanmajchrak Dec 14, 2023
40e3e85
ufal/fe-fix-static-page-redirect (#421)
milanmajchrak Dec 14, 2023
1d4c3a5
ufal/fe-download-bitstream-back-to-item (#423)
milanmajchrak Dec 14, 2023
ee0e746
ufal/fe-oversized-file-upload-message (#424)
milanmajchrak Dec 15, 2023
bb8ed5f
ufal/fe-item-view-license-box (#427)
milanmajchrak Dec 19, 2023
ddee862
ufal/fe-email-restricted-download (#430)
milanmajchrak Dec 21, 2023
2d073dd
ufal/fe-not-show-shib-welcome-page
milanmajchrak Dec 21, 2023
dd80fde
ufal/fe-s3-customization (#428)
milanmajchrak Dec 21, 2023
11de325
ufal/curate-translation-missing
milanmajchrak Jan 3, 2024
0484c9d
ufal/upload-on-first-attempt-fix (#435)
milanmajchrak Jan 3, 2024
6be9911
ufal/fe-show-checksum-result (#432)
milanmajchrak Jan 3, 2024
4e6c290
ufal/shibboleth-redirect-from-login (#433)
milanmajchrak Jan 3, 2024
051adab
internal/increase-server-memory-limit (#411)
milanmajchrak Jan 4, 2024
28425d4
ufal/shibboleth-encode-redirecturl (#438)
milanmajchrak Jan 5, 2024
d663b56
internal/fix-failing-it (#437)
milanmajchrak Jan 5, 2024
602e5d9
internal/docker-remove-orphans (#439)
milanmajchrak Jan 5, 2024
b45168e
internal/update-config
milanmajchrak Jan 8, 2024
97e93b3
Merged from dtq-dev and resolved conflicts
milanmajchrak Jan 10, 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
10 changes: 5 additions & 5 deletions build-scripts/run/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ docker pull $DSPACE_UI_IMAGE
pushd ../..
echo "====="
docker compose --env-file $ENVFILE -f docker/docker-compose.yml -f docker/docker-compose-rest.yml pull
docker compose --env-file $ENVFILE -p $PROJECT -f docker/docker-compose.yml -f docker/docker-compose-rest.yml up -d --no-build --remove-orphans
docker compose --env-file $ENVFILE -p $PROJECT -f docker/docker-compose.yml -f docker/docker-compose-rest.yml up -d --no-build
popd

# Create admin user
Expand All @@ -26,9 +26,9 @@ pushd ../..
echo "====="
#docker compose --env-file $ENVFILE -p $PROJECT -f docker/matomo-w-db.yml pull
#docker compose --env-file $ENVFILE -p $PROJECT -f docker/matomo-w-db.yml up -d --no-build
docker compose --env-file $ENVFILE -p $PROJECT -f docker/cli.yml run --rm dspace-cli create-administrator -e test@test.edu -f admin -l user -p admin -c en -o dataquest
docker compose --env-file $ENVFILE -p $PROJECT -f docker/cli.yml run --rm dspace-cli user --add -m user@test.edu -g meno -s priezvisko -l en -p user -o dataquest
docker compose --env-file $ENVFILE -p $PROJECT -f docker/cli.yml run --rm dspace-cli version
docker compose --env-file $ENVFILE -p $PROJECT -f docker/docker-compose.yml -f docker/docker-compose-rest.yml -f docker/cli.yml run --rm dspace-cli create-administrator -e test@test.edu -f admin -l user -p admin -c en -o dataquest
docker compose --env-file $ENVFILE -p $PROJECT -f docker/docker-compose.yml -f docker/docker-compose-rest.yml -f docker/cli.yml run --rm dspace-cli user --add -m user@test.edu -g meno -s priezvisko -l en -p user -o dataquest
docker compose --env-file $ENVFILE -p $PROJECT -f docker/docker-compose.yml -f docker/docker-compose-rest.yml -f docker/cli.yml run --rm dspace-cli version

echo "====="
echo "Logs"
Expand All @@ -40,4 +40,4 @@ echo "Copy assetstore"
docker cp assetstore dspace${INSTANCE}:/dspace/

echo "====="
echo "Finished start.sh"
echo "Finished start.sh"
74 changes: 74 additions & 0 deletions config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,77 @@ cache:
# When set to false, after timeToLive expires, the next request will wait on SSR to complete & receive a fresh page (which is then saved to cache).
# This ensures stale pages (older than timeToLive) are never returned from the cache, but some users will wait on SSR.
allowStale: true

#info:
# # Whether the end user agreement is required before users may use the repository.
# # If enabled, the user will be required to accept the agreement before they can use the repository.
# # If disabled, the page will not exist and no agreement is required to use the repository
# enableEndUserAgreement: false
# # Whether the privacy statement should exist or not.
# enablePrivacyStatement: false

# Allow only EN and CS languages
languages:
- code: en
label: English
active: true
- code: ca
label: Català
active: false
- code: cs
label: Čeština
active: true
- code: de
label: Deutsch
active: false
- code: es
label: Español
active: false
- code: fr
label: Français
active: false
- code: gd
label: Gàidhlig
active: false
- code: lv
label: Latviešu
active: false
- code: hu
label: Magyar
active: false
- code: nl
label: Nederlands
active: false
- code: pl
label: Polski
active: false
- code: pt-PT
label: Português
active: false
- code: pt-BR
label: Português do Brasil
active: false
- code: fi
label: Suomi
active: false
- code: sv
label: Svenska
active: false
- code: tr
label: Türkçe
active: false
- code: kk
label: Қазақ
active: false
- code: bn
label: বাংলা
active: false
- code: hi
label: हिंदी
active: false
- code: el
label: Ελληνικά
active: false
- code: uk
label: Yкраї́нська
active: false
2 changes: 1 addition & 1 deletion cypress/integration/admin-menu.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ describe('Admin Menu Page', () => {
cy.get('.sidebar-top-level-items a[href = "/handle-table"]').scrollIntoView().should('be.visible');

// Check licenses redirect url in the <a> tag
cy.get('.sidebar-top-level-items a[href = "/licenses"]').scrollIntoView().should('be.visible');
cy.get('.sidebar-top-level-items a[href = "/licenses/manage-table"]').scrollIntoView().should('be.visible');
});
});
2 changes: 1 addition & 1 deletion cypress/integration/clarin-licenses-page.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('License Administration Page', () => {
// Login as admin
cy.loginViaForm(TEST_ADMIN_USER, TEST_ADMIN_PASSWORD);

cy.visit('/licenses');
cy.visit('/licenses/manage-table');

// <ds-clarin-license-table> tag must be loaded
cy.get('ds-clarin-license-table').should('exist');
Expand Down
3 changes: 3 additions & 0 deletions cypress/integration/tombstone.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ const TOMBSTONED_ITEM_MESSAGE = 'This item has been withdrawn';
describe('Admin Tombstone Page', () => {
beforeEach(() => {
cy.visit('/login');
// Cancel discojuice login - only if it is popped up
cy.wait(500);
cy.get('.discojuice_close').should('exist').click();
// Login as admin
cy.loginViaForm(TEST_ADMIN_USER, TEST_ADMIN_PASSWORD);
cy.visit('/');
Expand Down
1 change: 1 addition & 0 deletions docker/docker-compose-rest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
restart: unless-stopped
container_name: dspace${INSTANCE}
environment:
JAVA_OPTS: ${JAVA_OPTS:--Xmx4g}
TZ: ${TIMEZONE:-Europe/Bratislava}
# Below syntax may look odd, but it is how to override dspace.cfg settings via env variables.
# See https://github.com/DSpace/DSpace/blob/main/dspace/config/config-definition.xml
Expand Down