Commit Graph

14839 Commits

Author SHA1 Message Date
Tim Donohue
c660b330af Merge pull request #4688 from DSpace/dependabot/npm_and_yarn/dspace-9_x/testing-c9201e7a88
Bump cypress-axe from 1.6.0 to 1.7.0 in the testing group
2025-09-10 15:56:26 -05:00
Tim Donohue
59d21bc507 Merge pull request #4719 from DSpace/backport-4634-to-dspace-9_x
[Port dspace-9_x] server.ts: remove port and host fallbacks in run
2025-09-10 15:51:44 -05:00
Tim Donohue
5803f61b5d Merge pull request #4716 from DSpace/backport-4636-to-dspace-9_x
[Port dspace-9_x] src/themes/dspace: rework banner image
2025-09-10 14:57:41 -05:00
Alan Orth
f6f8e078dd server.ts: remove port fallback
If a user has messed up their config so much that the fallbacks in
our default configuration interface don't work then we should just
fail here.

(cherry picked from commit 6c09677510)
2025-09-10 19:49:07 +00:00
Alan Orth
9a3987bce1 server.ts: remove invalid host fallback
If `environment.ui.host` is Falsy, then we attempt to fall back to
a host value of '/', which is invalid. I think that, if a user has
messed up their config so much that defaults in our configuration
interface don't work, then we should actually fail here.

(cherry picked from commit f622d58917)
2025-09-10 19:49:07 +00:00
Alan Orth
36f680a05d src/themes/dspace: rework banner image
For some reason our version of this image is twice the size of the
original (~860KiB vs 1.6MiB). To make matters worse, the dimensions
of the image are 4777x3166 pixels, but we display it at 2000 pixels
wide.

This regenerates the images based on the original and adjusts the
dimensions to be more appropriate. Generated using ImageMagick 7
on Linux:

$ magick pexels-inspiredimages-132477.jpg -resize 2000x src/themes/dspace/assets/images/banner.jpg
$ magick pexels-inspiredimages-132477.jpg -resize 2000x src/themes/dspace/assets/images/banner.webp
$ magick pexels-inspiredimages-132477.jpg -resize 1200x src/themes/dspace/assets/images/banner-half.jpg
$ magick pexels-inspiredimages-132477.jpg -resize 1200x src/themes/dspace/assets/images/banner-half.webp

See: https://www.pexels.com/photo/clear-water-drops-132477/
(cherry picked from commit d9e8fea5bf)
2025-09-10 19:08:09 +00:00
Tim Donohue
7a00a00af0 Merge pull request #4710 from DSpace/backport-4673-to-dspace-9_x
[Port dspace-9_x] Replaced removed col-xs-_ bootstrap 3 classes with the equivalent col-_ classes
2025-09-10 13:24:13 -05:00
Tim Donohue
8ecde49070 Merge pull request #4711 from DSpace/backport-4632-to-dspace-9_x
[Port dspace-9_x] Use several modern Node.js patterns
2025-09-10 13:24:03 -05:00
Alan Orth
e3105a119d Use native Node.js watch instead of nodemon
Modern Node.js can watch natively so we don't need nodemon anymore.

(cherry picked from commit 4d7051007b)
2025-09-10 17:23:32 +00:00
Alan Orth
fd3b2dada3 Remove axios dependency
We can use the Node.js Fetch API directly instead of relying on an
external dependency.

(cherry picked from commit 2d31afb92f)
2025-09-10 17:23:32 +00:00
Alan Orth
26c522176b Use node: for Node.js builtin modules
Use the the `node:` protocol when importing Node.js builtin modules
and enable rule in eslint to enforce.

The `node:` protocol for Node.js builtin modules has been available
since Node.js v14.

See: https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/enforce-node-protocol-usage.md
(cherry picked from commit af71c152c1)
2025-09-10 17:23:32 +00:00
Eike Martin Löhden
1794c8da0f Replace col-xs-_ with the equivalent col-_.
(cherry picked from commit 31a31b247d)
2025-09-10 16:57:51 +00:00
Tim Donohue
a8b1e52e2f Merge pull request #4709 from DSpace/backport-4644-to-dspace-9_x
[Port dspace-9_x] fix: call parent ngOnDestroy in dynamic form control container
2025-09-10 08:52:36 -05:00
Jukka Lipka
8f3295b57a fix: call parent ngOnDestroy in dynamic form control container
(cherry picked from commit 4d803a58d4)
2025-09-09 21:37:00 +00:00
dependabot[bot]
f5d7890f78 Bump cypress-axe from 1.6.0 to 1.7.0 in the testing group
Bumps the testing group with 1 update: [cypress-axe](https://github.com/component-driven/cypress-axe).


Updates `cypress-axe` from 1.6.0 to 1.7.0
- [Release notes](https://github.com/component-driven/cypress-axe/releases)
- [Commits](https://github.com/component-driven/cypress-axe/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: cypress-axe
  dependency-version: 1.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: testing
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 20:13:33 +00:00
Tim Donohue
8d3219856d Merge pull request #4677 from tdonohue/port_4520_to_9x
[Port dspace-9_x] Fix: Remove HTML tags from cookie popup translations
2025-09-08 12:04:52 -05:00
Jesiel Viana
b4fdaa7e70 remove hardcoded HTML tags from cookie popup translations 2025-09-08 11:08:12 -05:00
Tim Donohue
b7cffd0943 Merge pull request #4674 from tdonohue/port_2734_to_9x
[Port dspace-9_x] Clear url parameters for entity search tabs
2025-09-08 10:51:39 -05:00
Atmire-Kristof
fa8bdeb157 Clear url parameters for entity search tabs (#2734)
* 110878: Entity search - clear params on tab switch

* 110878: Properly clear browse-by values when navigating

* 132230: Related entity tab switching: only keep query & scope, reset page to 1

---------

Co-authored-by: Nona Luypaert <nona.luypaert@atmire.com>
2025-09-05 16:59:13 -05:00
Art Lowel
4fb0dcac0c Merge pull request #4671 from DSpace/backport-4664-to-dspace-9_x
[Port dspace-9_x] Inspect event key characters, not keyCodes on tag keyUp for dynamic tag input
2025-09-04 17:38:15 +02:00
Kim Shepherd
e160b12ed5 Create dynamic tag test events with key chars, not keyCodes
(cherry picked from commit 98fc76d867)
2025-09-04 14:46:18 +00:00
Kim Shepherd
0f9b777ccd Inspect event key characters, not keyCodes on tag keyUp
(cherry picked from commit f313b4a8fd)
2025-09-04 14:46:18 +00:00
Tim Donohue
fa27088b72 Merge pull request #4666 from DSpace/backport-4628-to-dspace-9_x
[Port dspace-9_x] Fix untranslated i18n keys ror api
2025-09-03 16:48:40 -05:00
Jesiel Viana
89880c4209 fix code style
(cherry picked from commit 22baef689a)
2025-09-03 21:00:21 +00:00
Jesiel Viana
4cd9eabc0e add in pt-BR file and remove form pt-PT
(cherry picked from commit 14de56279f)
2025-09-03 21:00:21 +00:00
Jesiel Viana
9d9711ef1a add untranslated i18n keys for ROR API
(cherry picked from commit b6bf862542)
2025-09-03 21:00:21 +00:00
Tim Donohue
f7e2cb2b66 Merge pull request #4657 from DSpace/backport-4563-to-dspace-9_x
[Port dspace-9_x] Adding all missing french translations
2025-08-22 10:51:34 -05:00
Pierre Lasou
1207078bd9 Remove extra character
Remove extra ": line 1636

(cherry picked from commit e4dfcda009)
2025-08-22 15:11:35 +00:00
Pierre Lasou
097bb00b69 Update to correct errors and duplicates
(cherry picked from commit 8c4e8f38bc)
2025-08-22 15:11:35 +00:00
Pierre Lasou
0409210a11 Adding translation for all missing french translations
This commit is adding translations for all parameters that were tagged "// TODO New key - Add a translation" in fr.json5 file.

(cherry picked from commit 003a5f5ee8)
2025-08-22 15:11:34 +00:00
Tim Donohue
4923cdf9db Merge pull request #4653 from DSpace/backport-4642-to-dspace-9_x
[Port dspace-9_x] Improved geospatial map bounds & scroll behaviour
2025-08-21 08:49:59 -05:00
Alexandre Vryghem
a1927b3258 Restricted map bounds
(cherry picked from commit 643836addc)
2025-08-21 13:11:17 +00:00
Tim Donohue
f03fb43463 Merge pull request #4651 from DSpace/backport-4640-to-dspace-9_x
[Port dspace-9_x] .github/workflows/codescan.yml: use codeql-action v3
2025-08-20 17:16:29 -05:00
Alan Orth
d0ff025904 .github/workflows/codescan.yml: use codeql-action v3
Version 2 was deprecated in January, 2024 after the release of v3.

See: https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
(cherry picked from commit 3333ee4fbb)
2025-08-20 21:10:58 +00:00
Tim Donohue
a6b0f75756 Merge pull request #4647 from DSpace/backport-4635-to-dspace-9_x
[Port dspace-9_x] Update GitHub template references to DSDOC9x
2025-08-20 13:41:26 -05:00
Alan Orth
4893911a83 README.md: update DSDOC references to DSDOC9x
(cherry picked from commit b5fe301209)
2025-08-20 18:39:07 +00:00
Alan Orth
b2d13d5eb2 Fix references to DSDOC8x
The latest release is DSDOC9x.

(cherry picked from commit a877cbe284)
2025-08-20 18:39:07 +00:00
Tim Donohue
5daae1c373 Merge pull request #4631 from DSpace/backport-4550-to-dspace-9_x
[Port dspace-9_x] fix back button navigation after visiting a community or collection page
2025-08-08 12:51:29 -05:00
Jesiel Viana
3dc9cf593d fix back button navigation after visiting a community or collection page
(cherry picked from commit c7c1c0fc17)
2025-08-08 17:08:20 +00:00
Tim Donohue
0ba218f8f7 Merge pull request #4627 from DSpace/backport-4386-to-dspace-9_x
[Port dspace-9_x] Spanish translation updated
2025-08-05 15:37:25 -05:00
Tim Donohue
e02e877e0c Merge pull request #4626 from DSpace/backport-4623-to-dspace-9_x
[Port dspace-9_x] Update webpack and webpack-cli dependencies
2025-08-05 15:18:04 -05:00
Sergio Fernández Celorio
7e2d24bbe5 Fixed some errors
(cherry picked from commit 36ca66c09a)
2025-08-05 19:50:44 +00:00
Sergio Fernández Celorio
83685ee03f Spanish translation updated
(cherry picked from commit 5530ba9a0d)
2025-08-05 19:50:43 +00:00
Alan Orth
c217594872 package.json: update webpack-cli to v6.0.1
Update webpack-cli from v5.1.4 to v6.0.1. This is compatible with
webpack v5 and the minimum required Node.js version is 18.12.0.

See: https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md
(cherry picked from commit 46e291d767)
2025-08-05 19:35:32 +00:00
Alan Orth
c00895a0a1 package.json: use semver for webpack dependency
As far as I can tell dspace-angular doesn't explicitly need any
particular version of webpack itself, but angular-cli specifies
a semver string of `^5.54.0` so we should do the same.

Also, our dependabot configuration currently considers minor and
patch versions for updates, so we should not be using an exact
version here anyway.

See: https://github.com/angular/angular-cli/blob/18.2.x/packages/ngtools/webpack/package.json
(cherry picked from commit 24ca6442f6)
2025-08-05 19:35:32 +00:00
Tim Donohue
1ce4860049 Merge pull request #4624 from DSpace/backport-4622-to-dspace-9_x
[Port dspace-9_x] Update @types/node to ^18.11.9
2025-08-05 10:18:26 -05:00
Alan Orth
c0fe57ceeb Update @types/node to ^18.11.9
As of DSpace 10.0-SNAPSHOT we currently support Node.js v18 and v20
so we should be using appropriate types.

(cherry picked from commit 41282f064c)
2025-08-05 14:15:47 +00:00
DSpace Bot
a99353e2e8 [Port dspace-9_x] Contribute to adding Persian translation to DSpace (#4621)
* Create fa.json5

Persian language

(cherry picked from commit c2b7e7b0b8)

* Update fa.json5

(cherry picked from commit 27a1dfff6d)

* Update fa.json5

(cherry picked from commit 8a10866dce)

* Update fa.json5

(cherry picked from commit 1af8be2bdb)

* Update fa.json5

(cherry picked from commit 43e6b3b54a)

* Update fa.json5

(cherry picked from commit e28f24ff15)

* Update fa.json5

(cherry picked from commit 4f7dfbe5ff)

* Update fa.json5

(cherry picked from commit 3fb1e77001)

* Update fa.json5

(cherry picked from commit 366d0e1aad)

* Update fa.json5

(cherry picked from commit d72a02137a)

* Update fa.json5

(cherry picked from commit 57bed93f16)

* Update fa.json5

(cherry picked from commit 69c33d7bca)

* Update fa.json5

(cherry picked from commit a078807fc0)

* Update fa.json5

(cherry picked from commit c20de9eddf)

* Update fa.json5

(cherry picked from commit a85f5c5d5c)

* Add Persian language to default configs

(cherry picked from commit 4fa0c57e02)

---------

Co-authored-by: Shafi Habibi <shafihabibi@gmail.com>
Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
2025-08-04 12:19:04 -05:00
Tim Donohue
82ec7003bf Merge pull request #4590 from DSpace/dependabot/npm_and_yarn/dspace-9_x/babel/runtime-7.28.2
Bump @babel/runtime from 7.27.6 to 7.28.2
2025-08-01 10:47:12 -05:00
Tim Donohue
3d256d8482 Merge pull request #4612 from DSpace/dependabot/npm_and_yarn/dspace-9_x/webpack-16f7f9f544
Bump the webpack group across 1 directory with 2 updates
2025-08-01 10:00:16 -05:00