Skip to content

Commit 126a0fa

Browse files
dspeed2AAwoutersdependabot[bot]pilasoutdonohue
authored
Merge Dspace 8.2 in UoEMainLibrary-dspace-8_x (UoEMainLibrary#7) (#1)
* 119602: Fix existing accessibility-settings.component tests * 119602: Add additional accessibility-settings.component test * 119602: Inject AppConfig instead of using environment directly * 119602: Rework settings validation * 119602: Fix tests after merge * Bump rxjs from 7.8.1 to 7.8.2 Bumps [rxjs](https://github.com/reactivex/rxjs) from 7.8.1 to 7.8.2. - [Release notes](https://github.com/reactivex/rxjs/releases) - [Changelog](https://github.com/ReactiveX/rxjs/blob/7.8.2/CHANGELOG.md) - [Commits](ReactiveX/rxjs@7.8.1...7.8.2) --- updated-dependencies: - dependency-name: rxjs dependency-type: direct:production update-type: version-update:semver-patch ... * Addtion to the fr.json5 following version 8.1 Adding and changing parameters after upgrading to 8.1. (cherry picked from commit 0437ec4) * Port #10053: Notify PCI endorsement support (DSpace 8.x) * Change label quality-assurance.event.table.event.message.serviceUrl to generic "Actor" * Bump core-js from 3.40.0 to 3.41.0 Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.40.0 to 3.41.0. - [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.41.0/packages/core-js) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:production update-type: version-update:semver-minor ... * src/app/core: add citation_doi tag to head meta This is used by harvesters like Altmetric and was present in DSpace version 6 and previous. * src/app/core: remove unnecessary comment Remove commented out this.setCitationDOITag() since it is not used and we use camel case with this.setCitationDoiTag() now anyway. * fixed deprecated import of TransferState (cherry picked from commit 4d85639) * [Port dspace-8_x] remove custom theme dependency in base component SuggestionListElementComponent (DSpace#4059) * remove custom theme dependency (cherry picked from commit 0c63c17) * remove custom theme component (cherry picked from commit 469164f) * remove obsolete constructor (cherry picked from commit b54638c) * fix lint error (cherry picked from commit b0407fe) * fix lint error (cherry picked from commit c6d83ec) --------- * 119602: Fix small accessibility settings typo * 119602: Reorder footer links * 119602: Make KlaroService optional in AccSettingsService * Bump axios from 1.7.9 to 1.8.4 Bumps [axios](https://github.com/axios/axios) from 1.7.9 to 1.8.4. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.7.9...v1.8.4) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production update-type: version-update:semver-minor ... * Bump isbot from 5.1.22 to 5.1.25 Bumps [isbot](https://github.com/omrilotan/isbot) from 5.1.22 to 5.1.25. - [Changelog](https://github.com/omrilotan/isbot/blob/main/CHANGELOG.md) - [Commits](omrilotan/isbot@v5.1.22...v5.1.25) --- updated-dependencies: - dependency-name: isbot dependency-type: direct:production update-type: version-update:semver-patch ... * 129694: PoC DSpace#4099 solution with resolvers * 129621: Add a not empty check This check is present in the other event handlers above so adding it here as well. * Add note with link to Release Notes on homepage * Bump webpack from 5.97.1 to 5.98.0 in the webpack group Bumps the webpack group with 1 update: [webpack](https://github.com/webpack/webpack). Updates `webpack` from 5.97.1 to 5.98.0 - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.97.1...v5.98.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development update-type: version-update:semver-minor dependency-group: webpack ... * Bump sass from 1.84.0 to 1.85.1 in the sass group across 1 directory Bumps the sass group with 1 update in the / directory: [sass](https://github.com/sass/dart-sass). Updates `sass` from 1.84.0 to 1.85.1 - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](sass/dart-sass@1.84.0...1.85.1) --- updated-dependencies: - dependency-name: sass dependency-type: direct:development update-type: version-update:semver-minor dependency-group: sass ... * 130081: Fix pagination on 'Select bistreams' modal on 'Access Control' tab * Adding missing french labels Addition of french translations for Duplicate detection, ROR and Advanced search features. (cherry picked from commit 9b7ccd9) * Fix lint errors (cherry picked from commit c2b7024) * Bump the angular group with 3 updates Bumps the angular group with 3 updates: [@angular/ssr](https://github.com/angular/angular-cli), [@angular-devkit/build-angular](https://github.com/angular/angular-cli) and [@angular/cli](https://github.com/angular/angular-cli). Updates `@angular/ssr` from 17.3.11 to 17.3.12 - [Release notes](https://github.com/angular/angular-cli/releases) - [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md) - [Commits](angular/angular-cli@17.3.11...17.3.12) Updates `@angular-devkit/build-angular` from 17.3.11 to 17.3.12 - [Release notes](https://github.com/angular/angular-cli/releases) - [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md) - [Commits](angular/angular-cli@17.3.11...17.3.12) Updates `@angular/cli` from 17.3.11 to 17.3.12 - [Release notes](https://github.com/angular/angular-cli/releases) - [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md) - [Commits](angular/angular-cli@17.3.11...17.3.12) --- updated-dependencies: - dependency-name: "@angular/ssr" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: angular - dependency-name: "@angular-devkit/build-angular" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: angular - dependency-name: "@angular/cli" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: angular ... * Bump @babel/runtime from 7.26.7 to 7.27.0 Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.26.7 to 7.27.0. - [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.27.0/packages/babel-runtime) --- updated-dependencies: - dependency-name: "@babel/runtime" dependency-type: direct:production update-type: version-update:semver-minor ... * Bump eslint-plugin-jsonc from 2.19.1 to 2.20.0 in the eslint group Bumps the eslint group with 1 update: [eslint-plugin-jsonc](https://github.com/ota-meshi/eslint-plugin-jsonc). Updates `eslint-plugin-jsonc` from 2.19.1 to 2.20.0 - [Release notes](https://github.com/ota-meshi/eslint-plugin-jsonc/releases) - [Changelog](https://github.com/ota-meshi/eslint-plugin-jsonc/blob/master/CHANGELOG.md) - [Commits](ota-meshi/eslint-plugin-jsonc@v2.19.1...v2.20.0) --- updated-dependencies: - dependency-name: eslint-plugin-jsonc dependency-version: 2.20.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: eslint ... * Bump the testing group with 2 updates Bumps the testing group with 2 updates: [axe-core](https://github.com/dequelabs/axe-core) and [ng-mocks](https://github.com/help-me-mom/ng-mocks). Updates `axe-core` from 4.10.2 to 4.10.3 - [Release notes](https://github.com/dequelabs/axe-core/releases) - [Changelog](https://github.com/dequelabs/axe-core/blob/develop/CHANGELOG.md) - [Commits](dequelabs/axe-core@v4.10.2...v4.10.3) Updates `ng-mocks` from 14.13.2 to 14.13.4 - [Release notes](https://github.com/help-me-mom/ng-mocks/releases) - [Changelog](https://github.com/help-me-mom/ng-mocks/blob/master/CHANGELOG.md) - [Commits](help-me-mom/ng-mocks@v14.13.2...v14.13.4) --- updated-dependencies: - dependency-name: axe-core dependency-version: 4.10.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: testing - dependency-name: ng-mocks dependency-version: 14.13.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: testing ... * Bump isbot from 5.1.25 to 5.1.26 Bumps [isbot](https://github.com/omrilotan/isbot) from 5.1.25 to 5.1.26. - [Changelog](https://github.com/omrilotan/isbot/blob/main/CHANGELOG.md) - [Commits](omrilotan/isbot@v5.1.25...v5.1.26) --- updated-dependencies: - dependency-name: isbot dependency-version: 5.1.26 dependency-type: direct:production update-type: version-update:semver-patch ... * Bump @types/lodash from 4.17.15 to 4.17.16 Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.17.15 to 4.17.16. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash) --- updated-dependencies: - dependency-name: "@types/lodash" dependency-version: 4.17.16 dependency-type: direct:development update-type: version-update:semver-patch ... * Bump webpack from 5.98.0 to 5.99.5 in the webpack group Bumps the webpack group with 1 update: [webpack](https://github.com/webpack/webpack). Updates `webpack` from 5.98.0 to 5.99.5 - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.98.0...v5.99.5) --- updated-dependencies: - dependency-name: webpack dependency-version: 5.99.5 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: webpack ... * Store the state of the computed filters * Use take instead unsubscribe * Fix export button enabled in bulk access management without selecting step 2 (cherry picked from commit 4b3b660) * Lint errors * Add additional automated SSR tests for Community, Collection, Publication/Item, Person, OrgUnit and all Journal entities * Bump http-proxy-middleware from 2.0.7 to 2.0.9 Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.7 to 2.0.9. - [Release notes](https://github.com/chimurai/http-proxy-middleware/releases) - [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.9/CHANGELOG.md) - [Commits](chimurai/http-proxy-middleware@v2.0.7...v2.0.9) --- updated-dependencies: - dependency-name: http-proxy-middleware dependency-version: 2.0.9 dependency-type: direct:production update-type: version-update:semver-patch ... * .eslintrc.json: use plugin:jsonc/recommended-with-json5 The eslint-plugin-jsonc has a recommended configuration for json5. See: https://ota-meshi.github.io/eslint-plugin-jsonc/user-guide/#usage (cherry picked from commit 3a05733) * .eslintrc.json: use jsonc/no-irregular-whitespace The eslint-plugin-jsonc documentation recommends turning ESLint's own no-irregular-whitespace plugin off for JSON files in favor of its own jsonc/no-irregular-whitespace plugin. See: https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-irregular-whitespace.html (cherry picked from commit 5e8571d) * .eslintrc.json: remove second eslint-plugin-jsonc This seems to have been added twice at some point. (cherry picked from commit 9896eab) * Bump webpack from 5.99.5 to 5.99.6 in the webpack group Bumps the webpack group with 1 update: [webpack](https://github.com/webpack/webpack). Updates `webpack` from 5.99.5 to 5.99.6 - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.99.5...v5.99.6) --- updated-dependencies: - dependency-name: webpack dependency-version: 5.99.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: webpack ... * 129694: resolver fix after merge * 129694: fixed lint issues * Fix - Validate value on remove item for submission form only for qualdrop component (cherry picked from commit 1e73fa6) * [DURACOM-350] fix cache issue after mydspace action (cherry picked from commit e84af6a) * [DURACOM-350] prevent unnecessary reload (cherry picked from commit 1b112dd) * [DURACOM-350] Fix filter skeleton missing update (cherry picked from commit 7998d2d) * fix issue where thumnails of embargoed bitstreams wouldn't show up for users with access rights * 130405: Add translations for journal submission volume lookup (cherry picked from commit fef16bc) * fix: prevent bitstream format cache issue by disabling cached version (cherry picked from commit 6001652) * fix: invalidate cache only for the modified bitstream (cherry picked from commit 4f48f39) * fix unit tests for bitstream-data.service.ts (cherry picked from commit bb53619) * Bump webpack from 5.99.6 to 5.99.7 in the webpack group Bumps the webpack group with 1 update: [webpack](https://github.com/webpack/webpack). Updates `webpack` from 5.99.6 to 5.99.7 - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.99.6...v5.99.7) --- updated-dependencies: - dependency-name: webpack dependency-version: 5.99.7 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: webpack ... * Bump axios from 1.8.4 to 1.9.0 Bumps [axios](https://github.com/axios/axios) from 1.8.4 to 1.9.0. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.8.4...v1.9.0) --- updated-dependencies: - dependency-name: axios dependency-version: 1.9.0 dependency-type: direct:production update-type: version-update:semver-minor ... * Bump isbot from 5.1.26 to 5.1.27 Bumps [isbot](https://github.com/omrilotan/isbot) from 5.1.26 to 5.1.27. - [Changelog](https://github.com/omrilotan/isbot/blob/main/CHANGELOG.md) - [Commits](omrilotan/isbot@v5.1.26...v5.1.27) --- updated-dependencies: - dependency-name: isbot dependency-version: 5.1.27 dependency-type: direct:production update-type: version-update:semver-patch ... * 127655: Fix submission infinite loading * 127655: Submission get data stale re-request * Bump sass from 1.86.3 to 1.87.0 in the sass group Bumps the sass group with 1 update: [sass](https://github.com/sass/dart-sass). Updates `sass` from 1.86.3 to 1.87.0 - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](sass/dart-sass@1.86.3...1.87.0) --- updated-dependencies: - dependency-name: sass dependency-version: 1.87.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: sass ... * 127655: refactor to use buildFromRequestUUID * 127655: avoid nullpointer * Translation additions, fixes and updates for German message catalogue Made with results of the i18n-sync tool against en.json5 * Translation and typo corrections * 130484: Only add bundles when they are missing from the subject * 130484: Correctly update the 'showLoadMoreLink$' observable * 117287: Removed remaining observable function calls from the HTML templates * 130484: Filter new bundles * Fixed Missing Tags in Import Popup from External Sources - 4220 * 122464: Fixed a memory leak when initComponentInstance is called multiple times * Bump @babel/runtime from 7.27.0 to 7.27.1 Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.27.0 to 7.27.1. - [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.27.1/packages/babel-runtime) --- updated-dependencies: - dependency-name: "@babel/runtime" dependency-version: 7.27.1 dependency-type: direct:production update-type: version-update:semver-patch ... * Bump core-js from 3.41.0 to 3.42.0 Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.41.0 to 3.42.0. - [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.42.0/packages/core-js) --- updated-dependencies: - dependency-name: core-js dependency-version: 3.42.0 dependency-type: direct:production update-type: version-update:semver-minor ... * [DURACOM-326] fix possible issue on missing value for eperson patch (cherry picked from commit 7b9cd73) * 117287: Fixed broken pagination on resource policy page * Bump the angular group with 3 updates Bumps the angular group with 3 updates: [@angular/ssr](https://github.com/angular/angular-cli), [@angular-devkit/build-angular](https://github.com/angular/angular-cli) and [@angular/cli](https://github.com/angular/angular-cli). Updates `@angular/ssr` from 17.3.16 to 17.3.17 - [Release notes](https://github.com/angular/angular-cli/releases) - [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md) - [Commits](angular/angular-cli@17.3.16...17.3.17) Updates `@angular-devkit/build-angular` from 17.3.16 to 17.3.17 - [Release notes](https://github.com/angular/angular-cli/releases) - [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md) - [Commits](angular/angular-cli@17.3.16...17.3.17) Updates `@angular/cli` from 17.3.16 to 17.3.17 - [Release notes](https://github.com/angular/angular-cli/releases) - [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md) - [Commits](angular/angular-cli@17.3.16...17.3.17) --- updated-dependencies: - dependency-name: "@angular/ssr" dependency-version: 17.3.17 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: angular - dependency-name: "@angular-devkit/build-angular" dependency-version: 17.3.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: angular - dependency-name: "@angular/cli" dependency-version: 17.3.17 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: angular ... * 127655: Fixed getFirstDataDefinition not always returning a correct SubmitDataResponseDefinitionObject, leading to an infinite loading screen - Also fixed an issue where the collection switcher could accidentally show the old collection name instead of the new one - Also updated the WorkspaceItemPageResolver & WorkflowItemPageResolver to embed the collection to use fewer requests * fix issue where thumbnail would sometimes keep loading indefinitely * don't show the loading animation when src is set to null * [DURACOM-312] updated UploaderOptions to include impersonatingID. (cherry picked from commit 2c79be1456c753665e27b58563e56accc87b0383) (cherry picked from commit 4b0ab81) * [DURACOM-312] set the newly created impersonatingID filed in UploaderOptions. (cherry picked from commit c70fe184208805be8657d4373f50f193e2c6e85f) (cherry picked from commit 70c6af3) * [DURACOM-312] set the X-On-Behalf-Of header with impersonatingID in FileUploader. (cherry picked from commit 727bcdc2cb23ae7fcff1d9ddfa794f872f1d1b8c) (cherry picked from commit 0574c8e) * [DURACOM-312] lint fix (cherry picked from commit c68e5a1) * 130424: Fix validation on the edit metadata tab sometimes wrongly displaying an error message This only happens when the request that validates the metadata field doesn't return the field with qualifier null on the first page * improved "tab" navigation on DSpace 8 * always use thumbnail component for files not supported by the media viewer, and switch to themed version of thumbnail component * always use thumbnail component for files not supported by the media viewer, and switch to themed version of thumbnail component * fix lint issues * [DSC-1847][DSC-1966] fix navbar ui error (cherry picked from commit 49b329e) * Bump webpack from 5.99.7 to 5.99.8 in the webpack group Bumps the webpack group with 1 update: [webpack](https://github.com/webpack/webpack). Updates `webpack` from 5.99.7 to 5.99.8 - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.99.7...v5.99.8) --- updated-dependencies: - dependency-name: webpack dependency-version: 5.99.8 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: webpack ... * [DURACOM-344] Adapt SSR page filtering mechanism to a not allowed list (cherry picked from commit b1c5460) * [DURACOM-344] adapt patterns and example file, fix possible error from YAML (cherry picked from commit 4c96381) * [DURACOM-344] refactor solution to avoid double slashes (cherry picked from commit c442d35) * Add basic tests to our build to verify correct HTTP return codes for 301, 403, 404 and 500. * 130479: add aria-selected to selected language + globe button uses a button element * 130479: using ul > li in recent-item + "Load more ..." to "<a>" element * 130479: Hide no results status when query is empty * 129964: Made DSO badges more screen-reader friendly - Added commas between the labels to prevent screen readers from reading it as a sentence - Added hidden text describing what the badges represent * 129964: Hide duplicate links for keyboard navigators * Adjust the font size of the 'No thumbnails available' text. (cherry picked from commit c4dfed0) * Changed the implementation of changing the text font size when there is no thumbnail. (cherry picked from commit 3cd5432) * Adding treatment for the use of the thumb-font-2 class (cherry picked from commit e06db4c) * Key spacing adjustment (cherry picked from commit 829d406) * Adjust thumb text for smaller resolutions (cherry picked from commit fa723c1) * Bump sass from 1.87.0 to 1.88.0 in the sass group Bumps the sass group with 1 update: [sass](https://github.com/sass/dart-sass). Updates `sass` from 1.87.0 to 1.88.0 - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](sass/dart-sass@1.87.0...1.88.0) --- updated-dependencies: - dependency-name: sass dependency-version: 1.88.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: sass ... * 129964: Restored language button border on focus * [CST-19327] use ellipsis for truncatable parts (cherry picked from commit 6703a07) * [DURACOM-226] fix submission footer wrapping on medium screens * Bump eslint-plugin-jsonc from 2.20.0 to 2.20.1 in the eslint group Bumps the eslint group with 1 update: [eslint-plugin-jsonc](https://github.com/ota-meshi/eslint-plugin-jsonc). Updates `eslint-plugin-jsonc` from 2.20.0 to 2.20.1 - [Release notes](https://github.com/ota-meshi/eslint-plugin-jsonc/releases) - [Changelog](https://github.com/ota-meshi/eslint-plugin-jsonc/blob/master/CHANGELOG.md) - [Commits](ota-meshi/eslint-plugin-jsonc@v2.20.0...v2.20.1) --- updated-dependencies: - dependency-name: eslint-plugin-jsonc dependency-version: 2.20.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: eslint ... * Bump sass from 1.88.0 to 1.89.0 in the sass group Bumps the sass group with 1 update: [sass](https://github.com/sass/dart-sass). Updates `sass` from 1.88.0 to 1.89.0 - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](sass/dart-sass@1.88.0...1.89.0) --- updated-dependencies: - dependency-name: sass dependency-version: 1.89.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: sass ... * Bump isbot from 5.1.27 to 5.1.28 Bumps [isbot](https://github.com/omrilotan/isbot) from 5.1.27 to 5.1.28. - [Changelog](https://github.com/omrilotan/isbot/blob/main/CHANGELOG.md) - [Commits](omrilotan/isbot@v5.1.27...v5.1.28) --- updated-dependencies: - dependency-name: isbot dependency-version: 5.1.28 dependency-type: direct:production update-type: version-update:semver-patch ... * Fix and simplify submission section 'enabled' logic Fixes cases where a section needs to be disabled on save/init because it is empty and non-mandatory (cherry picked from commit f77dfa3) * Remove stray comma (cherry picked from commit bcd2081) * QREPO-0 adding missing translations and correcting existing ones * Bump @types/lodash from 4.17.16 to 4.17.17 Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.17.16 to 4.17.17. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash) --- updated-dependencies: - dependency-name: "@types/lodash" dependency-version: 4.17.17 dependency-type: direct:development update-type: version-update:semver-patch ... * Bump zone.js from 0.15.0 to 0.15.1 Bumps [zone.js](https://github.com/angular/angular/tree/HEAD/packages/zone.js) from 0.15.0 to 0.15.1. - [Release notes](https://github.com/angular/angular/releases) - [Changelog](https://github.com/angular/angular/blob/main/packages/zone.js/CHANGELOG.md) - [Commits](https://github.com/angular/angular/commits/zone.js-0.15.1/packages/zone.js) --- updated-dependencies: - dependency-name: zone.js dependency-version: 0.15.1 dependency-type: direct:production update-type: version-update:semver-patch ... * Bump @babel/runtime from 7.27.1 to 7.27.3 Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.27.1 to 7.27.3. - [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.27.3/packages/babel-runtime) --- updated-dependencies: - dependency-name: "@babel/runtime" dependency-version: 7.27.3 dependency-type: direct:production update-type: version-update:semver-patch ... * Bump ng-mocks from 14.13.4 to 14.13.5 in the testing group Bumps the testing group with 1 update: [ng-mocks](https://github.com/help-me-mom/ng-mocks). Updates `ng-mocks` from 14.13.4 to 14.13.5 - [Release notes](https://github.com/help-me-mom/ng-mocks/releases) - [Changelog](https://github.com/help-me-mom/ng-mocks/blob/master/CHANGELOG.md) - [Commits](help-me-mom/ng-mocks@v14.13.4...v14.13.5) --- updated-dependencies: - dependency-name: ng-mocks dependency-version: 14.13.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: testing ... * Bump webpack from 5.99.8 to 5.99.9 in the webpack group Bumps the webpack group with 1 update: [webpack](https://github.com/webpack/webpack). Updates `webpack` from 5.99.8 to 5.99.9 - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.99.8...v5.99.9) --- updated-dependencies: - dependency-name: webpack dependency-version: 5.99.9 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: webpack ... * Fixed search facet deadlock Also fixed minor issue in MetadataService, but this doesn't cause any issues in the current code (cherry picked from commit 446280b) * fix theming for DS8 * Bump @babel/runtime from 7.27.3 to 7.27.4 Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.27.3 to 7.27.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.27.4/packages/babel-runtime) --- updated-dependencies: - dependency-name: "@babel/runtime" dependency-version: 7.27.4 dependency-type: direct:production update-type: version-update:semver-patch ... * Bump postcss from 8.5.3 to 8.5.4 in the postcss group Bumps the postcss group with 1 update: [postcss](https://github.com/postcss/postcss). Updates `postcss` from 8.5.3 to 8.5.4 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.5.3...8.5.4) --- updated-dependencies: - dependency-name: postcss dependency-version: 8.5.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: postcss ... * 129964: Fixed the header role structure being invalid in the custom theme - Replaced the menubar role from the parent of all the header buttons like lang switch, auth menu & help toggle with toolbar - Replaced the remaining `<a>` buttons in the header with `<button>` to make them expandable with space - Fixed accessibility issues flagged by axe DevTools in the user menu dropdown * Pin zone.js dependency to ~0.14.0 This is a peer dependency of Angular so we should keep it in sync to avoid dependency conflicts. DSpace 8.x uses Angular 17.x so we can pin the same version. See: https://github.com/angular/angular/blob/17.3.x/packages/core/package.json * fix typo in German translation of bitstream.edit.form.description.hint (cherry picked from commit c72af8e) * Bump sass from 1.89.0 to 1.89.1 in the sass group Bumps the sass group with 1 update: [sass](https://github.com/sass/dart-sass). Updates `sass` from 1.89.0 to 1.89.1 - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](sass/dart-sass@1.89.0...1.89.1) --- updated-dependencies: - dependency-name: sass dependency-version: 1.89.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sass ... * make the default tab for browsing communities and collections configurable * lint fixes * 117287: Fixed various layout issues - The unthemed home news didn't stick to the header like the dspace theme - Impersonate user button has additional margin - Submission form loading icon is not translatable - Create resource policy page doesn't have the correct heading (cherry picked from commit 56e45a9) * Bump @babel/runtime from 7.27.4 to 7.27.6 Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.27.4 to 7.27.6. - [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.27.6/packages/babel-runtime) --- updated-dependencies: - dependency-name: "@babel/runtime" dependency-version: 7.27.6 dependency-type: direct:production update-type: version-update:semver-patch ... * Resolve field instance models using index when filtering errors (cherry picked from commit d218e22) * Bump postcss from 8.5.4 to 8.5.5 in the postcss group Bumps the postcss group with 1 update: [postcss](https://github.com/postcss/postcss). Updates `postcss` from 8.5.4 to 8.5.5 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.5.4...8.5.5) --- updated-dependencies: - dependency-name: postcss dependency-version: 8.5.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: postcss ... * Bump sass from 1.89.1 to 1.89.2 in the sass group Bumps the sass group with 1 update: [sass](https://github.com/sass/dart-sass). Updates `sass` from 1.89.1 to 1.89.2 - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](sass/dart-sass@1.89.1...1.89.2) --- updated-dependencies: - dependency-name: sass dependency-version: 1.89.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sass ... * Bump axios from 1.9.0 to 1.10.0 Bumps [axios](https://github.com/axios/axios) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](axios/axios@v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: axios dependency-version: 1.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... * Bump postcss from 8.5.5 to 8.5.6 in the postcss group --- updated-dependencies: - dependency-name: postcss dependency-version: 8.5.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: postcss ... * 119602: Align accessibility link with other footer links * 119602: Open tooltip to left of info icon * 119602: Port disabling of cookie popup from main # Conflicts: # src/app/footer/footer.component.spec.ts # src/app/footer/footer.component.ts # src/config/default-app-config.ts # src/config/info-config.interface.ts # src/environments/environment.test.ts * 119602: Fix SSR error by making klaroService optional KlaroService handles cookies which are not applicable during SSR. By making the service optional, and handling the case when it is not available, SSR can do its work without throwing NullInjectorErrors. * 119612: UI warning that only first part of configured items will be exported (cherry picked from commit b69b21a) * 119612: Check if a warning should be shown on changes to the total elements of the search, default to 500 if no value for the configuration property was returned (cherry picked from commit e1b773c) * 119612: aria-label to also include warning message if applicable (cherry picked from commit 8eaff78) * 119612: fix spec test (cherry picked from commit 6232d4e) * Sync i18n files to prepare for 8.2 release. * Update version tag for release --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Andreas Awouters <andreas.awouters@atmire.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pierre Lasou <pierre.lasou@bibl.ulaval.ca> Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org> Co-authored-by: Agustina Martinez <am857@cam.ac.uk> Co-authored-by: Alan Orth <alan.orth@gmail.com> Co-authored-by: Sascha Szott <szott@gmx.de> Co-authored-by: DSpace Bot <68393067+dspace-bot@users.noreply.github.com> Co-authored-by: lotte <lotte_hofstede@hotmail.com> Co-authored-by: abhinav <abhinav.sidharthan@atmire.com> Co-authored-by: Nona Luypaert <nona.luypaert@atmire.com> Co-authored-by: Sergio Fernández Celorio <sfernandez@arvo.es> Co-authored-by: VictorDuranEscire <victor@escire.lat> Co-authored-by: FrancescoMolinaro <francesco.molinaro@4science.com> Co-authored-by: Art Lowel <art.lowel@gmail.com> Co-authored-by: Joran De Braekeleer <joran.debraekeleer@atmire.com> Co-authored-by: Jesiel Viana <jesielviana@proton.me> Co-authored-by: Kristof De Langhe <kristof.delanghe@atmire.com> Co-authored-by: Yannick Paulsen <yannick@the-library-code.de> Co-authored-by: Alexandre Vryghem <alexandre@atmire.com> Co-authored-by: kshepherd <kim@shepherd.nz> Co-authored-by: guillermo2519 <escalante.guillermo2519@gmail.com> Co-authored-by: Adamo <adamo.fapohunda@4science.com> Co-authored-by: Oscar Chacón <oscar@escire.lat> Co-authored-by: Andrea Barbasso <´andrea.barbasso@4science.com´> Co-authored-by: Oscar Chacón <167455436+oscar-escire@users.noreply.github.com> Co-authored-by: wout <wout.atmire@gmail.com> Co-authored-by: DanGastardelli <55243638+DanGastardelli@users.noreply.github.com> Co-authored-by: Kanász-Nagy Zoltán <zoltan.kanasz-nagy@qulto.eu> Co-authored-by: nwoodward <woodward.nicholas@gmail.com> Co-authored-by: Jens Vannerum <jens.vannerum@atmire.com>
1 parent 02e1e28 commit 126a0fa

File tree

791 files changed

+187700
-34518
lines changed

Some content is hidden

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

791 files changed

+187700
-34518
lines changed

.eslintrc.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"eslint-plugin-rxjs",
1313
"eslint-plugin-simple-import-sort",
1414
"eslint-plugin-import-newlines",
15-
"eslint-plugin-jsonc",
1615
"dspace-angular-ts",
1716
"dspace-angular-html"
1817
],
@@ -165,6 +164,7 @@
165164
"@angular-eslint/no-output-native": "warn",
166165
"@angular-eslint/no-output-on-prefix": "warn",
167166
"@angular-eslint/no-conflicting-lifecycle": "warn",
167+
"@angular-eslint/use-lifecycle-interface": "error",
168168

169169
"@typescript-eslint/no-inferrable-types":[
170170
"error",
@@ -292,18 +292,22 @@
292292
],
293293
"rules": {
294294
// Custom DSpace Angular rules
295-
"dspace-angular-html/themed-component-usages": "error"
295+
"dspace-angular-html/themed-component-usages": "error",
296+
"dspace-angular-html/no-disabled-attribute-on-button": "error"
296297
}
297298
},
298299
{
299300
"files": [
300301
"*.json5"
301302
],
302303
"extends": [
303-
"plugin:jsonc/recommended-with-jsonc"
304+
"plugin:jsonc/recommended-with-json5"
304305
],
305306
"rules": {
306-
"no-irregular-whitespace": "error",
307+
// The ESLint core no-irregular-whitespace rule doesn't work well in JSON
308+
// See: https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-irregular-whitespace.html
309+
"no-irregular-whitespace": "off",
310+
"jsonc/no-irregular-whitespace": "error",
307311
"no-trailing-spaces": "error",
308312
"jsonc/comma-dangle": [
309313
"error",

.github/workflows/build.yml

Lines changed: 119 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ name: Build
77
on: [push, pull_request]
88

99
permissions:
10-
contents: read # to fetch code (actions/checkout)
10+
contents: read # to fetch code (actions/checkout)
11+
packages: read # to fetch private images from GitHub Container Registry (GHCR)
1112

1213
jobs:
1314
tests:
@@ -28,13 +29,18 @@ jobs:
2829
DSPACE_CACHE_SERVERSIDE_ANONYMOUSCACHE_MAX: 0
2930
# Tell Cypress to run e2e tests using the same UI URL
3031
CYPRESS_BASE_URL: http://127.0.0.1:4000
32+
# Disable the cookie consent banner in e2e tests to avoid errors because of elements hidden by it
33+
DSPACE_INFO_ENABLECOOKIECONSENTPOPUP: false
3134
# When Chrome version is specified, we pin to a specific version of Chrome
3235
# Comment this out to use the latest release
3336
#CHROME_VERSION: "90.0.4430.212-1"
3437
# Bump Node heap size (OOM in CI after upgrading to Angular 15)
3538
NODE_OPTIONS: '--max-old-space-size=4096'
3639
# Project name to use when running "docker compose" prior to e2e tests
3740
COMPOSE_PROJECT_NAME: 'ci'
41+
# Docker Registry to use for Docker compose scripts below.
42+
# We use GitHub's Container Registry to avoid aggressive rate limits at DockerHub.
43+
DOCKER_REGISTRY: ghcr.io
3844
strategy:
3945
# Create a matrix of Node versions to test against (in parallel)
4046
matrix:
@@ -114,6 +120,14 @@ jobs:
114120
path: 'coverage/dspace-angular/lcov.info'
115121
retention-days: 14
116122

123+
# Login to our Docker registry, so that we can access private Docker images using "docker compose" below.
124+
- name: Login to ${{ env.DOCKER_REGISTRY }}
125+
uses: docker/login-action@v3
126+
with:
127+
registry: ${{ env.DOCKER_REGISTRY }}
128+
username: ${{ github.repository_owner }}
129+
password: ${{ secrets.GITHUB_TOKEN }}
130+
117131
# Using "docker compose" start backend using CI configuration
118132
# and load assetstore from a cached copy
119133
- name: Start DSpace REST Backend via Docker (for e2e tests)
@@ -178,12 +192,115 @@ jobs:
178192
# Get homepage and verify that the <meta name="title"> tag includes "DSpace".
179193
# If it does, then SSR is working, as this tag is created by our MetadataService.
180194
# This step also prints entire HTML of homepage for easier debugging if grep fails.
181-
- name: Verify SSR (server-side rendering)
195+
- name: Verify SSR (server-side rendering) on Homepage
182196
run: |
183197
result=$(wget -O- -q http://127.0.0.1:4000/home)
184198
echo "$result"
185199
echo "$result" | grep -oE "<meta name=\"title\" [^>]*>" | grep DSpace
186200
201+
# Get a specific community in our test data and verify that the "<h1>" tag includes "Publications" (the community name).
202+
# If it does, then SSR is working.
203+
- name: Verify SSR on a Community page
204+
run: |
205+
result=$(wget -O- -q http://127.0.0.1:4000/communities/0958c910-2037-42a9-81c7-dca80e3892b4)
206+
echo "$result"
207+
echo "$result" | grep -oE "<h1 [^>]*>[^><]*</h1>" | grep Publications
208+
209+
# Get a specific collection in our test data and verify that the "<h1>" tag includes "Articles" (the collection name).
210+
# If it does, then SSR is working.
211+
- name: Verify SSR on a Collection page
212+
run: |
213+
result=$(wget -O- -q http://127.0.0.1:4000/collections/282164f5-d325-4740-8dd1-fa4d6d3e7200)
214+
echo "$result"
215+
echo "$result" | grep -oE "<h1 [^>]*>[^><]*</h1>" | grep Articles
216+
217+
# Get a specific publication in our test data and verify that the <meta name="title"> tag includes
218+
# the title of this publication. If it does, then SSR is working.
219+
- name: Verify SSR on a Publication page
220+
run: |
221+
result=$(wget -O- -q http://127.0.0.1:4000/entities/publication/6160810f-1e53-40db-81ef-f6621a727398)
222+
echo "$result"
223+
echo "$result" | grep -oE "<meta name=\"title\" [^>]*>" | grep "An Economic Model of Mortality Salience"
224+
225+
# Get a specific person in our test data and verify that the <meta name="title"> tag includes
226+
# the name of the person. If it does, then SSR is working.
227+
- name: Verify SSR on a Person page
228+
run: |
229+
result=$(wget -O- -q http://127.0.0.1:4000/entities/person/b1b2c768-bda1-448a-a073-fc541e8b24d9)
230+
echo "$result"
231+
echo "$result" | grep -oE "<meta name=\"title\" [^>]*>" | grep "Simmons, Cameron"
232+
233+
# Get a specific project in our test data and verify that the <meta name="title"> tag includes
234+
# the name of the project. If it does, then SSR is working.
235+
- name: Verify SSR on a Project page
236+
run: |
237+
result=$(wget -O- -q http://127.0.0.1:4000/entities/project/46ccb608-a74c-4bf6-bc7a-e29cc7defea9)
238+
echo "$result"
239+
echo "$result" | grep -oE "<meta name=\"title\" [^>]*>" | grep "University Research Fellowship"
240+
241+
# Get a specific orgunit in our test data and verify that the <meta name="title"> tag includes
242+
# the name of the orgunit. If it does, then SSR is working.
243+
- name: Verify SSR on an OrgUnit page
244+
run: |
245+
result=$(wget -O- -q http://127.0.0.1:4000/entities/orgunit/9851674d-bd9a-467b-8d84-068deb568ccf)
246+
echo "$result"
247+
echo "$result" | grep -oE "<meta name=\"title\" [^>]*>" | grep "Law and Development"
248+
249+
# Get a specific journal in our test data and verify that the <meta name="title"> tag includes
250+
# the name of the journal. If it does, then SSR is working.
251+
- name: Verify SSR on a Journal page
252+
run: |
253+
result=$(wget -O- -q http://127.0.0.1:4000/entities/journal/d4af6c3e-53d0-4757-81eb-566f3b45d63a)
254+
echo "$result"
255+
echo "$result" | grep -oE "<meta name=\"title\" [^>]*>" | grep "Environmental &amp; Architectural Phenomenology"
256+
257+
# Get a specific journal volume in our test data and verify that the <meta name="title"> tag includes
258+
# the name of the volume. If it does, then SSR is working.
259+
- name: Verify SSR on a Journal Volume page
260+
run: |
261+
result=$(wget -O- -q http://127.0.0.1:4000/entities/journalvolume/07c6249f-4bf7-494d-9ce3-6ffdb2aed538)
262+
echo "$result"
263+
echo "$result" | grep -oE "<meta name=\"title\" [^>]*>" | grep "Environmental &amp; Architectural Phenomenology Volume 28 (2017)"
264+
265+
# Get a specific journal issue in our test data and verify that the <meta name="title"> tag includes
266+
# the name of the issue. If it does, then SSR is working.
267+
- name: Verify SSR on a Journal Issue page
268+
run: |
269+
result=$(wget -O- -q http://127.0.0.1:4000/entities/journalissue/44c29473-5de2-48fa-b005-e5029aa1a50b)
270+
echo "$result"
271+
echo "$result" | grep -oE "<meta name=\"title\" [^>]*>" | grep "Environmental &amp; Architectural Phenomenology Vol. 28, No. 1"
272+
273+
# Verify 301 Handle redirect behavior
274+
# Note: /handle/123456789/260 is the same test Publication used by our e2e tests
275+
- name: Verify 301 redirect from '/handle' URLs
276+
run: |
277+
result=$(wget --server-response --quiet http://127.0.0.1:4000/handle/123456789/260 2>&1 | head -1 | awk '{print $2}')
278+
echo "$result"
279+
[[ "$result" -eq "301" ]]
280+
281+
# Verify 403 error code behavior
282+
- name: Verify 403 error code from '/403'
283+
run: |
284+
result=$(wget --server-response --quiet http://127.0.0.1:4000/403 2>&1 | head -1 | awk '{print $2}')
285+
echo "$result"
286+
[[ "$result" -eq "403" ]]
287+
288+
# Verify 404 error code behavior
289+
- name: Verify 404 error code from '/404' and on invalid pages
290+
run: |
291+
result=$(wget --server-response --quiet http://127.0.0.1:4000/404 2>&1 | head -1 | awk '{print $2}')
292+
echo "$result"
293+
result2=$(wget --server-response --quiet http://127.0.0.1:4000/invalidurl 2>&1 | head -1 | awk '{print $2}')
294+
echo "$result2"
295+
[[ "$result" -eq "404" && "$result2" -eq "404" ]]
296+
297+
# Verify 500 error code behavior
298+
- name: Verify 500 error code from '/500'
299+
run: |
300+
result=$(wget --server-response --quiet http://127.0.0.1:4000/500 2>&1 | head -1 | awk '{print $2}')
301+
echo "$result"
302+
[[ "$result" -eq "500" ]]
303+
187304
- name: Stop running app
188305
run: kill -9 $(lsof -t -i:4000)
189306

.github/workflows/docker.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ on:
1616
pull_request:
1717

1818
permissions:
19-
contents: read # to fetch code (actions/checkout)
19+
contents: read # to fetch code (actions/checkout)
20+
packages: write # to write images to GitHub Container Registry (GHCR)
2021

2122
jobs:
2223
#############################################################

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This image will be published as dspace/dspace-angular
22
# See https://github.com/DSpace/dspace-angular/tree/main/docker for usage details
33

4-
FROM node:18-alpine
4+
FROM docker.io/node:18-alpine
55

66
# Ensure Python and other build tools are available
77
# These are needed to install some node modules, especially on linux/arm64
@@ -24,5 +24,5 @@ ENV NODE_OPTIONS="--max_old_space_size=4096"
2424
# Listen / accept connections from all IP addresses.
2525
# NOTE: At this time it is only possible to run Docker container in Production mode
2626
# if you have a public URL. See https://github.com/DSpace/dspace-angular/issues/1485
27-
ENV NODE_ENV development
27+
ENV NODE_ENV=development
2828
CMD yarn serve --host 0.0.0.0

Dockerfile.dist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# See https://github.com/DSpace/dspace-angular/tree/main/docker for usage details
33

44
# Test build:
5-
# docker build -f Dockerfile.dist -t dspace/dspace-angular:latest-dist .
5+
# docker build -f Dockerfile.dist -t dspace/dspace-angular:dspace-8_x-dist .
66

7-
FROM node:18-alpine AS build
7+
FROM docker.io/node:18-alpine AS build
88

99
# Ensure Python and other build tools are available
1010
# These are needed to install some node modules, especially on linux/arm64
@@ -26,6 +26,6 @@ COPY --chown=node:node docker/dspace-ui.json /app/dspace-ui.json
2626

2727
WORKDIR /app
2828
USER node
29-
ENV NODE_ENV production
29+
ENV NODE_ENV=production
3030
EXPOSE 4000
3131
CMD pm2-runtime start dspace-ui.json --json

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace
3535
Quick start
3636
-----------
3737

38-
**Ensure you're running [Node](https://nodejs.org) `v16.x` or `v18.x`, [npm](https://www.npmjs.com/) >= `v5.x` and [yarn](https://yarnpkg.com) == `v1.x`**
38+
**Ensure you're running [Node](https://nodejs.org) `v18.x` or `v20.x`, [npm](https://www.npmjs.com/) >= `v10.x` and [yarn](https://yarnpkg.com) == `v1.x`**
3939

4040
```bash
4141
# clone the repo
@@ -90,7 +90,7 @@ Requirements
9090
------------
9191

9292
- [Node.js](https://nodejs.org) and [yarn](https://yarnpkg.com)
93-
- Ensure you're running node `v16.x` or `v18.x` and yarn == `v1.x`
93+
- Ensure you're running node `v18.x` or `v20.x` and yarn == `v1.x`
9494

9595
If you have [`nvm`](https://github.com/creationix/nvm#install-script) or [`nvm-windows`](https://github.com/coreybutler/nvm-windows) installed, which is highly recommended, you can run `nvm install --lts && nvm use` to install and start using the latest Node LTS.
9696

angular.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"lodash",
3131
"jwt-decode",
3232
"uuid",
33-
"webfontloader",
3433
"zone.js"
3534
],
3635
"outputPath": "dist/browser",

0 commit comments

Comments
 (0)