Skip to content

Commit 38b5500

Browse files
authored
Merge branch 'main' into cookie-popup-html-tags
2 parents 0b14bbc + bf24baf commit 38b5500

File tree

111 files changed

+25697
-2693
lines changed

Some content is hidden

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

111 files changed

+25697
-2693
lines changed

.github/dependabot.yml

Lines changed: 35 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ updates:
1111
# So, only this first section can include "applies-to: security-updates"
1212
- package-ecosystem: "npm"
1313
directory: "/"
14+
# Monthly dependency updates (NOTE: "schedule" doesn't apply to security updates)
1415
schedule:
15-
interval: "weekly"
16+
interval: "monthly"
1617
time: "05:00"
1718
# Allow up to 10 open PRs for dependencies
1819
open-pull-requests-limit: 10
@@ -23,6 +24,7 @@ updates:
2324
applies-to: version-updates
2425
patterns:
2526
- "@angular*"
27+
- "@ngtools/webpack"
2628
update-types:
2729
- "minor"
2830
- "patch"
@@ -31,6 +33,7 @@ updates:
3133
applies-to: security-updates
3234
patterns:
3335
- "@angular*"
36+
- "@ngtools/webpack"
3437
update-types:
3538
- "minor"
3639
- "patch"
@@ -142,14 +145,13 @@ updates:
142145
update-types:
143146
- "minor"
144147
- "patch"
145-
# Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
146-
zonejs:
147-
applies-to: version-updates
148-
patterns:
149-
- "zone.js"
150-
update-types:
151-
- "patch"
152148
ignore:
149+
# Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
150+
- dependency-name: "zone.js"
151+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
152+
# Restrict typescript updates to patch level because that's what our package.json says
153+
- dependency-name: "typescript"
154+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
153155
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
154156
- dependency-name: "*"
155157
update-types: ["version-update:semver-major"]
@@ -160,7 +162,7 @@ updates:
160162
directory: "/"
161163
target-branch: dspace-9_x
162164
schedule:
163-
interval: "weekly"
165+
interval: "monthly"
164166
time: "05:00"
165167
# Allow up to 10 open PRs for dependencies
166168
open-pull-requests-limit: 10
@@ -171,6 +173,7 @@ updates:
171173
applies-to: version-updates
172174
patterns:
173175
- "@angular*"
176+
- "@ngtools/webpack"
174177
update-types:
175178
- "minor"
176179
- "patch"
@@ -179,6 +182,7 @@ updates:
179182
applies-to: version-updates
180183
patterns:
181184
- "@ngrx*"
185+
- "@ngtools/webpack"
182186
update-types:
183187
- "minor"
184188
- "patch"
@@ -228,14 +232,13 @@ updates:
228232
update-types:
229233
- "minor"
230234
- "patch"
231-
# Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
232-
zonejs:
233-
applies-to: version-updates
234-
patterns:
235-
- "zone.js"
236-
update-types:
237-
- "patch"
238235
ignore:
236+
# Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
237+
- dependency-name: "zone.js"
238+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
239+
# Restrict typescript updates to patch level because that's what our package.json says
240+
- dependency-name: "typescript"
241+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
239242
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
240243
- dependency-name: "*"
241244
update-types: ["version-update:semver-major"]
@@ -246,7 +249,7 @@ updates:
246249
directory: "/"
247250
target-branch: dspace-8_x
248251
schedule:
249-
interval: "weekly"
252+
interval: "monthly"
250253
time: "05:00"
251254
# Allow up to 10 open PRs for dependencies
252255
open-pull-requests-limit: 10
@@ -257,6 +260,7 @@ updates:
257260
applies-to: version-updates
258261
patterns:
259262
- "@angular*"
263+
- "@ngtools/webpack"
260264
update-types:
261265
- "minor"
262266
- "patch"
@@ -314,14 +318,13 @@ updates:
314318
update-types:
315319
- "minor"
316320
- "patch"
317-
# Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
318-
zonejs:
319-
applies-to: version-updates
320-
patterns:
321-
- "zone.js"
322-
update-types:
323-
- "patch"
324321
ignore:
322+
# Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
323+
- dependency-name: "zone.js"
324+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
325+
# Restrict typescript updates to patch level because that's what our package.json says
326+
- dependency-name: "typescript"
327+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
325328
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
326329
- dependency-name: "*"
327330
update-types: ["version-update:semver-major"]
@@ -332,7 +335,7 @@ updates:
332335
directory: "/"
333336
target-branch: dspace-7_x
334337
schedule:
335-
interval: "weekly"
338+
interval: "monthly"
336339
time: "05:00"
337340
# Allow up to 10 open PRs for dependencies
338341
open-pull-requests-limit: 10
@@ -343,6 +346,7 @@ updates:
343346
applies-to: version-updates
344347
patterns:
345348
- "@angular*"
349+
- "@ngtools/webpack"
346350
update-types:
347351
- "minor"
348352
- "patch"
@@ -392,17 +396,16 @@ updates:
392396
update-types:
393397
- "minor"
394398
- "patch"
395-
# Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
396-
zonejs:
397-
applies-to: version-updates
398-
patterns:
399-
- "zone.js"
400-
update-types:
401-
- "patch"
402399
ignore:
403400
# 7.x Cannot update Webpack past v5.76.1 as later versions not supported by Angular 15
404401
# See also https://github.com/DSpace/dspace-angular/pull/3283#issuecomment-2372488489
405402
- dependency-name: "webpack"
403+
# Restrict zone.js updates to patch level to avoid dependency conflicts with @angular/core
404+
- dependency-name: "zone.js"
405+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
406+
# Restrict typescript updates to patch level because that's what our package.json says
407+
- dependency-name: "typescript"
408+
update-types: ["version-update:semver-major", "version-update:semver-minor"]
406409
# Ignore all major version updates for all dependencies. We'll only automate minor/patch updates.
407410
- dependency-name: "*"
408411
update-types: ["version-update:semver-major"]

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ However, reviewers may request that you complete any actions in this list if you
2525
- [ ] My PR **doesn't introduce circular dependencies** (verified via `npm run check-circ-deps`)
2626
- [ ] My PR **includes [TypeDoc](https://typedoc.org/) comments** for _all new (or modified) public methods and classes_. It also includes TypeDoc for large or complex private methods.
2727
- [ ] My PR **passes all specs/tests and includes new/updated specs or tests** based on the [Code Testing Guide](https://wiki.lyrasis.org/display/DSPACE/Code+Testing+Guide).
28-
- [ ] My PR **aligns with [Accessibility guidelines](https://wiki.lyrasis.org/display/DSDOC8x/Accessibility)** if it makes changes to the user interface.
28+
- [ ] My PR **aligns with [Accessibility guidelines](https://wiki.lyrasis.org/display/DSDOC9x/Accessibility)** if it makes changes to the user interface.
2929
- [ ] My PR **uses i18n (internationalization) keys** instead of hardcoded English text, to allow for translations.
3030
- [ ] My PR **includes details on how to test it**. I've provided clear instructions to reviewers on how to successfully test this fix or feature.
3131
- [ ] If my PR includes new libraries/dependencies (in `package.json`), I've made sure their licenses align with the [DSpace BSD License](https://github.com/DSpace/DSpace/blob/main/LICENSE) based on the [Licensing of Contributions](https://wiki.lyrasis.org/display/DSPACE/Code+Contribution+Guidelines#CodeContributionGuidelines-LicensingofContributions) documentation.

.github/workflows/codescan.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ jobs:
4040
# Initializes the CodeQL tools for scanning.
4141
# https://github.com/github/codeql-action
4242
- name: Initialize CodeQL
43-
uses: github/codeql-action/init@v2
43+
uses: github/codeql-action/init@v3
4444
with:
4545
languages: javascript
4646

4747
# Autobuild attempts to build any compiled languages
4848
- name: Autobuild
49-
uses: github/codeql-action/autobuild@v2
49+
uses: github/codeql-action/autobuild@v3
5050

5151
# Perform GitHub Code Scanning.
5252
- name: Perform CodeQL Analysis
53-
uses: github/codeql-action/analyze@v2
53+
uses: github/codeql-action/analyze@v3

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ DSpace is a community built and supported project. We do not have a centralized
1010
## Contribute new code via a Pull Request
1111

1212
We accept [GitHub Pull Requests (PRs)](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) at any time from anyone.
13-
Contributors to each release are recognized in our [Release Notes](https://wiki.lyrasis.org/display/DSDOC8x/Release+Notes).
13+
Contributors to each release are recognized in our [Release Notes](https://wiki.lyrasis.org/display/DSDOC9x/Release+Notes).
1414

1515
Code Contribution Checklist
1616
- [ ] PRs _should_ be smaller in size (ideally less than 1,000 lines of code, not including comments & tests)
1717
- [ ] PRs **must** pass [ESLint](https://eslint.org/) validation using `yarn lint`
1818
- [ ] PRs **must** not introduce circular dependencies (verified via `yarn check-circ-deps`)
1919
- [ ] PRs **must** include [TypeDoc](https://typedoc.org/) comments for _all new (or modified) public methods and classes_. Large or complex private methods should also have TypeDoc.
2020
- [ ] PRs **must** pass all automated pecs/tests and includes new/updated specs or tests based on the [Code Testing Guide](https://wiki.lyrasis.org/display/DSPACE/Code+Testing+Guide).
21-
- [ ] User interface changes **must** align with [Accessibility guidelines](https://wiki.lyrasis.org/display/DSDOC8x/Accessibility)
21+
- [ ] User interface changes **must** align with [Accessibility guidelines](https://wiki.lyrasis.org/display/DSDOC9x/Accessibility)
2222
- [ ] PRs **must** use i18n (internationalization) keys instead of hardcoded English text, to allow for translations.
2323
- [ ] Details on how to test the PR **must** be provided. Reviewers must be aware of any steps they need to take to successfully test your fix or feature.
2424
- [ ] If a PR includes new libraries/dependencies (in `package.json`), then their software licenses **must** align with the [DSpace BSD License](https://github.com/DSpace/dspace-angular/blob/main/LICENSE) based on the [Licensing of Contributions](https://wiki.lyrasis.org/display/DSPACE/Code+Contribution+Guidelines#CodeContributionGuidelines-LicensingofContributions) documentation.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Overview
1010

1111
DSpace open source software is a turnkey repository application used by more than
1212
2,000 organizations and institutions worldwide to provide durable access to digital resources.
13-
For more information, visit http://www.dspace.org/
13+
For more information, visit https://www.dspace.org/
1414

1515
DSpace consists of both a Java-based backend and an Angular-based frontend.
1616

@@ -30,7 +30,7 @@ Downloads
3030
Documentation for each release may be viewed online or downloaded via our [Documentation Wiki](https://wiki.lyrasis.org/display/DSDOC/).
3131

3232
The latest DSpace Installation instructions are available at:
33-
https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace
33+
https://wiki.lyrasis.org/display/DSDOC9x/Installing+DSpace
3434

3535
Quick start
3636
-----------
@@ -349,7 +349,7 @@ See our [DSpace Code Testing Guide](https://wiki.lyrasis.org/display/DSPACE/Code
349349
Documentation
350350
--------------
351351
352-
Official DSpace documentation is available in the DSpace wiki at https://wiki.lyrasis.org/display/DSDOC7x/
352+
Official DSpace documentation is available in the DSpace wiki at https://wiki.lyrasis.org/display/DSDOC9x/
353353
354354
Some UI specific configuration documentation is also found in the [`./docs`](docs) folder of this codebase.
355355
@@ -552,7 +552,7 @@ Additional support options are at https://wiki.lyrasis.org/display/DSPACE/Suppor
552552

553553
DSpace also has an active service provider network. If you'd rather hire a service provider to
554554
install, upgrade, customize or host DSpace, then we recommend getting in touch with one of our
555-
[Registered Service Providers](http://www.dspace.org/service-providers).
555+
[Registered Service Providers](https://dspace.org/registered-service-providers/).
556556

557557

558558
Issue Tracker
@@ -565,7 +565,7 @@ DSpace uses GitHub to track issues:
565565
License
566566
-------
567567
DSpace source code is freely available under a standard [BSD 3-Clause license](https://opensource.org/licenses/BSD-3-Clause).
568-
The full license is available in the [LICENSE](LICENSE) file or online at http://www.dspace.org/license/
568+
The full license is available in the [LICENSE](LICENSE) file or online at https://www.dspace.org/license/
569569

570570
DSpace uses third-party libraries which may be distributed under different licenses. Those licenses are listed
571571
in the [LICENSES_THIRD_PARTY](LICENSES_THIRD_PARTY) file.

config/config.example.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,9 @@ languages:
265265
- code: es
266266
label: Español
267267
active: true
268+
- code: fa
269+
label: فارسی
270+
active: true
268271
- code: fi
269272
label: Suomi
270273
active: true
@@ -307,6 +310,9 @@ languages:
307310
- code: pt-BR
308311
label: Português do Brasil
309312
active: true
313+
- code: ru
314+
label: Русский
315+
active: true
310316
- code: sr-lat
311317
label: Srpski (lat)
312318
active: true

cypress/e2e/my-dspace.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describe('My DSpace page', () => {
8484
cy.url().should('include', '/mydspace');
8585

8686
// Close any open notifications, to make sure they don't get in the way of next steps
87-
cy.get('[data-dismiss="alert"]').click({ multiple: true });
87+
cy.get('[data-bs-dismiss="alert"]').click({ multiple: true });
8888

8989
// This is the GET command that will actually run the search
9090
cy.intercept('GET', '/server/api/discover/search/objects*').as('search-results');

cypress/e2e/submission.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ describe('New Submission page', () => {
9595
// A success alert should be visible
9696
cy.get('ds-notification div.alert-success').should('be.visible');
9797
// Now, dismiss any open alert boxes (may be multiple, as tests run quickly)
98-
cy.get('[data-dismiss="alert"]').click({ multiple: true });
98+
cy.get('[data-bs-dismiss="alert"]').click({ multiple: true });
9999

100100
// This is the GET command that will actually run the search
101101
cy.intercept('GET', '/server/api/discover/search/objects*').as('search-results');

docker/db.entities.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# # Therefore, it should be kept in sync with that file
1515
services:
1616
dspacedb:
17-
image: "${DOCKER_REGISTRY:-docker.io}/${DOCKER_OWNER:-dspace}/dspace-postgres-pgcrypto:${DSPACE_VER:-latest}-loadsql"
17+
image: "${DOCKER_REGISTRY:-docker.io}/${DOCKER_OWNER:-dspace}/dspace-postgres-loadsql:${DSPACE_VER:-latest}"
1818
environment:
1919
# This LOADSQL should be kept in sync with the URL in DSpace/DSpace
2020
# This SQL is available from https://github.com/DSpace-Labs/AIP-Files/releases/tag/demo-entities-data

docker/docker-compose-ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,15 @@ services:
6060
# NOTE: This is customized to use our loadsql image, so that we are using a database with existing test data
6161
dspacedb:
6262
container_name: dspacedb
63-
image: "${DOCKER_REGISTRY:-docker.io}/${DOCKER_OWNER:-dspace}/dspace-postgres-pgcrypto:${DSPACE_VER:-latest}-loadsql"
63+
image: "${DOCKER_REGISTRY:-docker.io}/${DOCKER_OWNER:-dspace}/dspace-postgres-loadsql:${DSPACE_VER:-latest}"
6464
environment:
6565
# This LOADSQL should be kept in sync with the LOADSQL in
6666
# https://github.com/DSpace/DSpace/blob/main/dspace/src/main/docker-compose/db.entities.yml
6767
# This SQL is available from https://github.com/DSpace-Labs/AIP-Files/releases/tag/demo-entities-data
6868
LOADSQL: https://github.com/DSpace-Labs/AIP-Files/releases/download/demo-entities-data/dspace7-entities-data.sql
6969
PGDATA: /pgdata
70+
POSTGRES_DB: dspace
71+
POSTGRES_USER: dspace
7072
POSTGRES_PASSWORD: dspace
7173
networks:
7274
- dspacenet

0 commit comments

Comments
 (0)