Commit Graph

14914 Commits

Author SHA1 Message Date
Alan Orth
3333ee4fbb .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/
2025-08-17 12:01:52 +03:00
im-shubham-vish
5aab53e064 Fix for #8918 The Community Administrator should not be able to view all communities/collections in the create/edit community and collection sections 2025-08-14 17:12:54 +05:30
Alan Orth
d9e8fea5bf 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/
2025-08-11 10:02:19 +03:00
Alan Orth
b5fe301209 README.md: update DSDOC references to DSDOC9x 2025-08-10 12:03:47 +03:00
Alan Orth
a877cbe284 Fix references to DSDOC8x
The latest release is DSDOC9x.
2025-08-09 19:43:23 +03:00
Alan Orth
6c09677510 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.
2025-08-09 19:25:28 +03:00
Alan Orth
f622d58917 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.
2025-08-09 19:23:51 +03:00
Alan Orth
4d7051007b Use native Node.js watch instead of nodemon
Modern Node.js can watch natively so we don't need nodemon anymore.
2025-08-09 11:35:18 +03:00
Alan Orth
2d31afb92f Remove axios dependency
We can use the Node.js Fetch API directly instead of relying on an
external dependency.
2025-08-09 11:35:11 +03:00
Alan Orth
af71c152c1 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
2025-08-09 11:06:09 +03:00
Tim Donohue
77731af50d Merge pull request #4550 from lareferencia/fix-back-button-navigation-community-collection
fix back button navigation after visiting a community or collection page
2025-08-08 12:07:59 -05:00
Jesiel Viana
22baef689a fix code style 2025-08-06 17:55:49 -03:00
Jesiel Viana
14de56279f add in pt-BR file and remove form pt-PT 2025-08-06 17:40:57 -03:00
Jesiel Viana
b6bf862542 add untranslated i18n keys for ROR API 2025-08-06 17:37:56 -03:00
Tim Donohue
67a17e4ea1 Merge pull request #4386 from arvoConsultores/i18n-spanish-update
Spanish translation updated
2025-08-05 14:50:30 -05:00
Tim Donohue
b0d5430a4c Merge pull request #4623 from alanorth/webpack-pin
Update webpack and webpack-cli dependencies
2025-08-05 14:35:14 -05:00
Tim Donohue
18aafea9bc Merge pull request #4622 from alanorth/node-types
Update @types/node to ^18.11.9
2025-08-05 09:15:27 -05:00
Alan Orth
46e291d767 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
2025-08-05 11:12:09 +03:00
Alan Orth
24ca6442f6 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
2025-08-05 11:05:18 +03:00
Alan Orth
41282f064c 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.
2025-08-05 09:48:00 +03:00
Tim Donohue
eaf11d5ffe Merge pull request #4453 from sh-habibi/main
Contribute to adding Persian translation to DSpace
2025-08-04 11:44:32 -05:00
Tim Donohue
4fa0c57e02 Add Persian language to default configs 2025-08-04 11:02:40 -05:00
Tim Donohue
c0ba94836f Merge pull request #4589 from DSpace/dependabot/npm_and_yarn/babel/runtime-7.28.2
Bump @babel/runtime from 7.27.6 to 7.28.2
2025-08-01 10:46:36 -05:00
Tim Donohue
4f8724bb3e Merge pull request #4614 from DSpace/dependabot/npm_and_yarn/webpack-16f7f9f544
Bump the webpack group across 1 directory with 2 updates
2025-08-01 09:59:49 -05:00
dependabot[bot]
85066ac595 Bump the webpack group across 1 directory with 2 updates
Bumps the webpack group with 2 updates in the / directory: [webpack](https://github.com/webpack/webpack) and [webpack-dev-server](https://github.com/webpack/webpack-dev-server).


Updates `webpack` from 5.99.9 to 5.101.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.99.9...v5.101.0)

Updates `webpack-dev-server` from 5.2.1 to 5.2.2
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v5.2.1...v5.2.2)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.101.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: webpack
- dependency-name: webpack-dev-server
  dependency-version: 5.2.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: webpack
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-31 21:24:52 +00:00
Tim Donohue
fa58bc5da7 Merge pull request #4617 from tdonohue/refactor_dependabot_rules
[Dependabot] Move zone.js and typescript rules into "ignore" settings and ignore major/minor versions
2025-07-31 16:23:29 -05:00
Tim Donohue
9f8fd506f0 Move zone.js and typescript rules into "ignore" settings and ignore all major/minor versions 2025-07-31 16:09:42 -05:00
Tim Donohue
5015e68901 Merge pull request #4115 from atmire/w2p-129629_add-models-to-provide-core-list_contribute-main
129629: Add models to provide-core.ts and remove duplicates
2025-07-30 17:00:10 -05:00
Tim Donohue
45f7ea8f03 Merge pull request #4611 from DSpace/backport-4606-to-main
[Port main] [Dependabot] Bump webpack-dev-server from 4.15.2 to 5.2.1
2025-07-30 16:05:31 -05:00
dependabot[bot]
a1fb28a03f Bump webpack-dev-server from 4.15.2 to 5.2.1
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.15.2 to 5.2.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.15.2...v5.2.1)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-version: 5.2.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 8454a1cbe7)
2025-07-30 19:58:59 +00:00
Alan Orth
c1bd789180 Merge pull request #4610 from tdonohue/change_dependabot_schedule 2025-07-30 11:39:02 -07:00
Tim Donohue
2ee68323d5 Update dependabot to run monthly 2025-07-30 11:53:04 -05:00
Tim Donohue
3fc4cedb44 Merge pull request #4544 from DSpace/dependabot/npm_and_yarn/core-js-3.44.0
Bump core-js from 3.42.0 to 3.44.0
2025-07-30 11:42:38 -05:00
Tim Donohue
69655a5217 Merge pull request #4471 from DSpace/dependabot/npm_and_yarn/ngtools/webpack-18.2.20
Bump @ngtools/webpack from 18.2.19 to 18.2.20
2025-07-30 10:08:22 -05:00
Tim Donohue
7fafa8602c Merge pull request #4575 from DSpace/dependabot/npm_and_yarn/axios-1.11.0
Bump axios from 1.10.0 to 1.11.0
2025-07-30 09:59:26 -05:00
Tim Donohue
eddbe0eea5 Merge pull request #4344 from jlipka/fix/4327-encode-version-summary
fix(versioning): Encode summary
2025-07-30 09:20:49 -05:00
Shafi Habibi
a85f5c5d5c Update fa.json5 2025-07-30 17:29:25 +03:30
Shafi Habibi
c20de9eddf Update fa.json5 2025-07-30 17:17:19 +03:30
Alan Orth
4cfbe00dd1 Merge pull request #4597 from DSpace/dependabot/npm_and_yarn/isbot-5.1.29 2025-07-29 10:43:40 -07:00
dependabot[bot]
9bae9e2659 Bump isbot from 5.1.28 to 5.1.29
Bumps [isbot](https://github.com/omrilotan/isbot) from 5.1.28 to 5.1.29.
- [Changelog](https://github.com/omrilotan/isbot/blob/main/CHANGELOG.md)
- [Commits](https://github.com/omrilotan/isbot/compare/v5.1.28...v5.1.29)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 14:44:25 +00:00
Tim Donohue
813f9ba23f Merge pull request #4483 from alanorth/dependabot-typescript
.github/dependabot.yml: adjust rules for typescript
2025-07-29 09:28:54 -05:00
Tim Donohue
9555630ae0 Merge pull request #4482 from alanorth/ng-tools-dependabot
.github/dependabot.yml: group @ngtools/webpack with Angular
2025-07-29 09:26:22 -05:00
Alan Orth
4cd8544a43 .github/dependabot.yml: group @ngtools/webpack with Angular
@ngtools/webpack is provided by the Angular team and follows the
same versioning so we should group it with Angular in dependabot.
2025-07-28 21:53:09 -07:00
Alan Orth
460cef44c1 .github/dependabot.yml: adjust rules for typescript
Our package.json uses the "~" specifier to pin typescript to patch
versions so dependabot should not try to update minor versions here.
2025-07-28 21:48:20 -07:00
Tim Donohue
5c0580201f Merge pull request #4593 from tdonohue/remove_pgcryto_in_docker
[Docker] Remover references to obsolete backend "pgcrypto" images
2025-07-28 16:22:51 -05:00
Tim Donohue
1e4ee4fb0b Update Docker to no longer reference removed/replaced backend "pgcrypto" images. 2025-07-28 15:48:14 -05:00
Tim Donohue
38b641e577 Update package-lock.json to remove dependency that is no longer needed. This was an automated change by "npm install" 2025-07-28 09:22:35 -05:00
dependabot[bot]
45953931d9 Bump @babel/runtime from 7.27.6 to 7.28.2
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.27.6 to 7.28.2.
- [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.2/packages/babel-runtime)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-28 07:43:55 +00:00
Alan Orth
0435802002 Merge pull request #4536 from lareferencia/fix-search-bar-empty-query-interaction 2025-07-24 10:58:43 -07:00
dependabot[bot]
b751b103b1 Bump axios from 1.10.0 to 1.11.0
Bumps [axios](https://github.com/axios/axios) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.11.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-23 16:52:33 +00:00