Commit Graph

14870 Commits

Author SHA1 Message Date
Alan Orth
c7e6aaeb16 Add undeclared dependency md5
This is used directly in webpack/helpers.ts. It is a transitive de-
pendency of orejime but we are using it directly in our code so we
should declare it.

(cherry picked from commit 54d44e62c1)
2025-10-06 22:08:07 +00:00
Alan Orth
e0bb01dc1f Add undeclared xhr2 dependency
This used directly in src/app/core/services/server-xhr.service.ts.
We have been relying on this being available by virtue of it being
a transitive dependency of some other package.

(cherry picked from commit e359da52a4)
2025-10-06 22:08:07 +00:00
Alan Orth
64a4ffcfd4 Add undeclared body-parser dependency
We explicitly use this in server.ts. It has always been available
because it is a dependency of express, and therefore a transitive
dependency of ours. Because we are using it directly in *our* code
we should declare the dependency.

I am using version ^1.20.3 because that is the one used by the
version of Express we are using.

(cherry picked from commit 803381c756)
2025-10-06 22:08:07 +00:00
Alan Orth
82cb18133a Add glob dependency and update syntax
This undeclared dependency is used by lint/src/util/theme-support.ts.

(cherry picked from commit 62f4cbd5cd)
2025-10-06 22:08:07 +00:00
Alan Orth
dae6cb4e28 Add commander dependency
We use this explicitly in the following scripts:

- scripts/merge-i18n-files.ts
- scripts/sync-i18n-files.ts

Previously it was assumed that `commander` was available in the en-
vironment, which seems to have been provided by cypress.

(cherry picked from commit e72b93ba76)
2025-10-06 22:08:07 +00:00
Tim Donohue
7474b39726 Merge pull request #4759 from DSpace/backport-4738-to-dspace-9_x
[Port dspace-9_x] Remove unused dependencies
2025-10-01 16:39:53 -05:00
Alan Orth
ec67d1970b package-lock.json: run npm install
(cherry picked from commit 2b0cc82b12)
2025-10-01 20:32:07 +00:00
Alan Orth
2657d82eb0 Remove unused @angular/language-service dependency
(cherry picked from commit 0bcef2afa1)
2025-10-01 20:32:06 +00:00
Alan Orth
0df521d50f Remove unused webpack-dev-server dependency
(cherry picked from commit a46e378ab6)
2025-10-01 20:32:06 +00:00
Alan Orth
6d3d913ddb Remove unused @babel/runtime dependency
(cherry picked from commit 053d8e29b1)
2025-10-01 20:32:06 +00:00
Alan Orth
68d6efd369 Remove unused @ngrx/operators from dependencies
(cherry picked from commit e3ccaa3ee0)
2025-10-01 20:32:06 +00:00
Tim Donohue
20a468d260 Merge pull request #4744 from DSpace/backport-4733-to-dspace-9_x
[Port dspace-9_x] SSR: avoid sending new response when headers were already sent
2025-09-30 17:30:28 -05:00
Daniel Coelho
99244c4e93 SSR: avoid sending new response when headeras were already sent (fixes #2315)
(cherry picked from commit 951c5f69d4)
2025-09-30 21:25:55 +00:00
Tim Donohue
177d57b65f Merge pull request #4729 from DSpace/backport-4728-to-dspace-9_x
[Port dspace-9_x] src/app: use correct icon in item mapper
2025-09-22 17:00:05 -05:00
Alan Orth
aaf534467e src/app: use correct icon in item mapper
When adding mappings in the item mapper we should use the save icon
rather than the trash icon!

(cherry picked from commit 3a9eb87914)
2025-09-19 12:06:56 +00:00
Tim Donohue
06d0177329 Merge pull request #4721 from DSpace/backport-4639-to-dspace-9_x
[Port dspace-9_x] Fix for #8916 #8917 #8918 The Community Administrator should not be able to view all communities/collections in the create/edit community and collection sections. Previous PR #9814
2025-09-15 09:10:17 -05:00
im-shubham-vish
76a7d10ec4 Fix Lint Error
(cherry picked from commit 15d9cb0ea8)
2025-09-12 21:22:14 +00:00
im-shubham-vish
a5cf9a448b Fix to set Edit Collection to utilize findAdminAuthorized instead of findSubmitAuthorized
(cherry picked from commit a26c718db4)
2025-09-12 21:22:14 +00:00
im-shubham-vish
0f588466cb Fix for #8918 The Community Administrator should not be able to view all communities/collections in the create/edit community and collection sections
(cherry picked from commit 5aab53e064)
2025-09-12 21:22:13 +00:00
Tim Donohue
d66e43949d Merge pull request #4690 from DSpace/dependabot/npm_and_yarn/dspace-9_x/core-js-3.45.1
Bump core-js from 3.44.0 to 3.45.1
2025-09-12 14:07:40 -05:00
Tim Donohue
963ee60890 Merge pull request #4694 from DSpace/dependabot/npm_and_yarn/dspace-9_x/babel/runtime-7.28.4
Bump @babel/runtime from 7.28.2 to 7.28.4
2025-09-12 12:33:28 -05:00
Tim Donohue
f7d2e899ab Merge pull request #4691 from DSpace/dependabot/npm_and_yarn/dspace-9_x/types/node-18.19.124
Bump @types/node from 18.19.121 to 18.19.124
2025-09-10 17:01:05 -05:00
Tim Donohue
e5735b397d Merge pull request #4687 from DSpace/dependabot/npm_and_yarn/dspace-9_x/sass-2e0f0fb0cc
Bump sass from 1.89.2 to 1.92.1 in the sass group
2025-09-10 16:59:30 -05:00
Tim Donohue
94fa8dcc62 Merge pull request #4692 from DSpace/dependabot/npm_and_yarn/dspace-9_x/isbot-5.1.30
Bump isbot from 5.1.29 to 5.1.30
2025-09-10 16:37:07 -05:00
Tim Donohue
d95731c929 Merge pull request #4689 from DSpace/dependabot/npm_and_yarn/dspace-9_x/bootstrap-5.3.8
Bump bootstrap from 5.3.7 to 5.3.8
2025-09-10 16:29:46 -05:00
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
dependabot[bot]
e40cba812e Bump bootstrap from 5.3.7 to 5.3.8
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 5.3.7 to 5.3.8.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v5.3.7...v5.3.8)

---
updated-dependencies:
- dependency-name: bootstrap
  dependency-version: 5.3.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 18:25:35 +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]
7dd6c438b7 Bump @babel/runtime from 7.28.2 to 7.28.4
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.28.2 to 7.28.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.28.4/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-version: 7.28.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 20:18:15 +00:00
dependabot[bot]
bc48f038d5 Bump isbot from 5.1.29 to 5.1.30
Bumps [isbot](https://github.com/omrilotan/isbot) from 5.1.29 to 5.1.30.
- [Changelog](https://github.com/omrilotan/isbot/blob/main/CHANGELOG.md)
- [Commits](https://github.com/omrilotan/isbot/compare/v5.1.29...v5.1.30)

---
updated-dependencies:
- dependency-name: isbot
  dependency-version: 5.1.30
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 20:15:30 +00:00
dependabot[bot]
0c17003e33 Bump @types/node from 18.19.121 to 18.19.124
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.19.121 to 18.19.124.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 18.19.124
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 20:15:00 +00:00
dependabot[bot]
c9b06c1e34 Bump core-js from 3.44.0 to 3.45.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.44.0 to 3.45.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.45.1/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-version: 3.45.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 20:14:36 +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
dependabot[bot]
75c7f5cdcc Bump sass from 1.89.2 to 1.92.1 in the sass group
Bumps the sass group with 1 update: [sass](https://github.com/sass/dart-sass).


Updates `sass` from 1.89.2 to 1.92.1
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.89.2...1.92.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-version: 1.92.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: sass
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 20:13:05 +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