Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blank page on certain browser plugins injecting stylesheets #2450

Closed
floriangantner opened this issue Aug 22, 2023 · 7 comments · Fixed by #2454 or #2580
Closed

blank page on certain browser plugins injecting stylesheets #2450

floriangantner opened this issue Aug 22, 2023 · 7 comments · Fixed by #2454 or #2580

Comments

@floriangantner
Copy link
Contributor

Describe the bug
Loading DSpace with certain plugins leads to problems and the site will not load correctly resulting in some white page after the initial load.

Screenshot of some white demo page - not really valuable for debugging, i must admit :)
Screenshot from 2023-08-22 18-29-04

As far as we know some dark mode plugin
as well as some of our users reported this with the Ghostery Plugin.

We could reproduce the problem locally on dev mode/localhost as well as on the demo page with the dark mode plugin on Firefox 116.0.3. On my settings we could not reproduce the problem with the ghostery plugin

To Reproduce
Steps to reproduce the behavior:

  1. Install the dark mode plugin or any similiar plugin (you must not if it concerns your security settings or you are unsure if this impacts your system.)
  2. Call the page https://demo7.dspace.org/
  3. Wait for the Loading - at the end some white page should occur
  4. The Browser Console logs the following errors (won't paste the whole stack trace, but the relevant parts):
ERROR DOMException: CSSStyleSheet.cssRules getter: Not allowed to access cross-origin stylesheet
    h https://demo7.dspace.org/main.135b9dd6bfbbbfb9.js:1
    getCSSVariablesFromStylesheets https://demo7.dspace.org/main.135b9dd6bfbbbfb9.js:1
    storeCSSVariables https://demo7.dspace.org/main.135b9dd6bfbbbfb9.js:1
Unhandled Promise rejection: CSSStyleSheet.cssRules getter: Not allowed to access cross-origin stylesheet ; Zone: <root> ; Task: Promise.then ; Value: DOMException: CSSStyleSheet.cssRules getter: Not allowed to access cross-origin stylesheet
    h https://demo7.dspace.org/main.135b9dd6bfbbbfb9.js:1
    getCSSVariablesFromStylesheets https://demo7.dspace.org/main.135b9dd6bfbbbfb9.js:1
    storeCSSVariables https://demo7.dspace.org/main.135b9dd6bfbbbfb9.js:1

Screenshot from 2023-08-22 18-38-25

Expected behavior
We except the page to be loaded correctly.

Investigation
Our investigation come to the conclusion, that the stylesheets injected by external plugins (into the dom) can lead to problems when the stylesheet contains no cssRules and thus the stylesheetobject has no css rules.

The line where the error occurs is this

[...sheet.cssRules].filter(this.isStyleRule).reduce((propValArr, rule: any) => {

Possible Solution
One possible solution could be to add some additional filter in


which checks whether the stylesheet contains some cssRule property before processing the variables

Related work

This was introduced in 7.5 with commit 89ba24f (#1853) and should occur on 7.5 and 7.6 instances.

@floriangantner floriangantner added bug needs triage New issue needs triage and/or scheduling labels Aug 22, 2023
@tdonohue
Copy link
Member

@floriangantner : Thanks for the detailed analysis. I agree this would be nice to fix if possible, to avoid odd behaviors if a user happens to have these browser plugins installed.

If you wanted to create a PR with your "Possible Solution" we could have others try it out and see if it works for them as well.

Moving this to our 7.6.x maintenance board and flagging as needs a volunteer in the meantime. PRs welcome though.

@tdonohue tdonohue added help wanted Needs a volunteer to claim to move forward high priority themes and removed needs triage New issue needs triage and/or scheduling labels Aug 22, 2023
@tdonohue tdonohue removed the help wanted Needs a volunteer to claim to move forward label Aug 23, 2023
@ybnd
Copy link
Member

ybnd commented Aug 29, 2023

I've been seeing this in my Firefox as well, even with plugins disabled.
It only seems to happen with some themes; like the dspace theme on https://demo.dspace.org/

@tdonohue tdonohue added this to the 7.6.1 milestone Oct 17, 2023
@tdonohue
Copy link
Member

tdonohue commented Oct 20, 2023

Reopening, as #2454 had to be reverted in #2558 since it caused the bugs noted in #2557 .

Unfortunately, this would need more work to resolve. Perhaps an updated version of #2454 will provide better behavior overall.

For now, we may have to continue to ask users to disable problematic Browser Plugins (like Ghostery, etc), which is alkso sometimes the recommendation on StackOverflow: https://stackoverflow.com/a/62475347/3750035

@tdonohue tdonohue reopened this Oct 20, 2023
@tdonohue
Copy link
Member

NOTE: another possible option to solving this problem might be to see if there's a way to no longer use cross-origin stylesheets? I'm surprised we have any, as I thought all our stylesheets should be served from DSpace itself?

@tdonohue
Copy link
Member

tdonohue commented Oct 23, 2023

Further thoughts today. This problem might be related to this external Google font which is loaded into only the dspace theme: https://github.com/DSpace/dspace-angular/blob/main/src/themes/dspace/styles/_theme_sass_variable_overrides.scss#L6

That's the only place where I've found a possible cross-origin stylesheet. Maybe it could be fixed if we switched the dspace theme to using a font that doesn't require import? (Or alternatively distribute this Nunito font in the dspace theme directly instead of having to import it via URL... as all Google fonts are allowed to redistributed in other products.)

UPDATE: I found time to test this theory & I'm wrong. It's not the Google font which is to blame. I was able to reproduce this bug with Firefox + Dark Mode extension. Even if that Google font is removed, the error still occurs & references getCSSVariablesFromStylesheets here: https://github.com/DSpace/dspace-angular/blob/main/src/app/shared/sass-helper/css-variable.service.ts#L92

The error therefore appears to be coming from our own code.

@floriangantner
Copy link
Contributor Author

floriangantner commented Oct 26, 2023

Sorry about the circumstances and the late reply, i had time to further test it and reproduce it locally (also in dev mode) which leads to an more detailed error log (also see #2557 )

 NG03505: @slideSidebar has failed due to:
 NG03003: Please provide a value for the animation param sidebarWidth

Screenshot from 2023-10-26 14-57-01

The error after logging in (and hovering the admin sidebar

this.sidebarWidth = this.variableService.getVariable('--ds-sidebar-items-width');
) should occur because some variable --ds-sidebar-items-width is missing. The variables from _exposed_variables.scss https://github.com/DSpace/dspace-angular/blob/main/src/styles/_exposed_variables.scss seems to be unset after the stylesheets are filtered, so it should come from our own code.

Further investigating which stylesheets are being filtered by my proposed solution were also some stylesheets where (at least at the point of the request in the browser console) some cssRules were mentioned, but these were filtered.
Screenshot from 2023-10-26 13-12-31

It seems they have no own property "cssRules" but the cssRules are accessible/processed anyway. so some exception to catch the Unhandled Promise rejection: CSSStyleSheet.cssRules getter: Not allowed to access cross-origin stylesheet ; Zone: <root> ; Task: Promise.then ; Value: DOMException: CSSStyleSheet.cssRules getter: Not allowed to access cross-origin stylesheet error for external cross-origin stylesheets could solve the problem, although this looks a little bit odd for me.

  hasCssRules = (styleSheet) => {
    // Injected (cross-origin) styles might have no css rules value and throw some exception
    try {
      return styleSheet.cssRules;
    } catch (e) {
      return false;
    }
  };

floriangantner added a commit to uniba-ub/dspace-angular that referenced this issue Oct 26, 2023
floriangantner added a commit to uniba-ub/dspace-angular that referenced this issue Oct 26, 2023
… get from stylesheet

check the existence off cssRules property before the variables are readed from this stylesheet
DSpace#2450
github-actions bot pushed a commit that referenced this issue Oct 27, 2023
… get from stylesheet

check the existence off cssRules property before the variables are readed from this stylesheet
#2450

(cherry picked from commit 4dd334f)
@tdonohue
Copy link
Member

Fixed (finally) in #2580

vidiecan pushed a commit to dataquest-dev/dspace-angular that referenced this issue Jan 30, 2024
* Fix accessibility of date sliders by adding aria-labels

(cherry picked from commit 2a88179)

* Minor fixes to cypress tests

(cherry picked from commit 70a7bbe)

* Fix heading order accessibility issue in search filters/facets

(cherry picked from commit 276d808)

* Spanish translation updated to 7.6

(cherry picked from commit 4cc4192)

* Some lint errors fixed

(cherry picked from commit 1885638)

* 🐛 fix when navbar expands on firefox

(cherry picked from commit 6070672)

* 🐛 Fix Value of dropdown changes automatically on item submission page

(cherry picked from commit 6513059)

* ✅change test event, click by mousedown on dynamic-scrollable-dropdown.component.spec.ts

(cherry picked from commit 25479e1)

* config/config.example.yml: fix example syntax

As of DSpace Angular 7.2 the syntax has changed from TypeScript to
YAML.

(cherry picked from commit 9e46b53)

* Fix VocabularyTreeview not updating + i18n for nsi

(cherry picked from commit b5a70e8)

* 104189: Allow CSV export on related entity search

(cherry picked from commit cac1407)

* 104189: CSV export add fixedFilter

(cherry picked from commit 45ad5f7)

* Minor pt-PT translation fixes

(cherry picked from commit a6c1120)

* remove redundant cache default values from server.ts

(cherry picked from commit e53abcb)

* 🚸remove thumbnail from file-upload section and show bitstream format and checksum

(cherry picked from commit 4c8ec8a)

* 🎨revert unnecessary format

(cherry picked from commit 13e4052)

* Update workspaceitem-section-upload-file.model.ts

Fix code comment

(cherry picked from commit 01c8a4d)

* ♻️ refactor chain of observables to avoid async issues

(cherry picked from commit 2dc9fd4)

* 🐛 fix bug of caching when add new schema

(cherry picked from commit 9fb9e58)

* 🎨 revert format

(cherry picked from commit 3e5524d)

* Fix innerText still being undefined in ssr mode

* Correct text of help info on edit group page

(cherry picked from commit 4924743)

* Graceful shutdown on SIGINT (e.g. from 'pm2 stop').

(cherry picked from commit 6709c3b)

* Properly await termination.

(cherry picked from commit 4449737)

* Document a modified method as required by PR guidelines.

(cherry picked from commit bf9b2b8)

* 106974: Angular SSR menu issues

* src/app/shared/search: don't capitalize metadata values

Don't capitalize metadata values for display purposes.

* fix issue where more than one api call was made on every route change

* fix issue where invalidateRootCache didn't happen when the page first loaded

* remove obsolete label element in metadata-schema.component.html

(cherry picked from commit 6847c30)

* removed trailing whitespaces as suggested by reviewer

(cherry picked from commit 43f19e7)

* [Port dspace-7_x] Update fi.json5 (DSpace#2516)

* Update fi.json5

Two last translations to the Finnish file.

(cherry picked from commit c3a908b)

* Fix routes not working with baseHref

(cherry picked from commit 18febff)

* [Port dspace-7_x] Serbian (Latin) translation (DSpace#2520)

* Serbian (latin) translation added.

---------

Co-authored-by: imilos <imilos@gmail.com>

* [Port dspace-7_x] Fix missing or wrong Italian translations (DSpace#2522)

[DURACOM-184] fix missing or wrong Italian translations

---------

Co-authored-by: Andrea Barbasso <´andrea.barbasso@4science.com´>

* fix dev mode issue where retrieving the login options fails

* roll back unintended change to the responseMsToLive for RootDataservice

* [DURACOM-185] Fix pointer on language dropdown menu

(cherry picked from commit 6b5708c)

* Move subscription button to DSO edit menu

(cherry picked from commit c955816)

* Update DSO edit menu resolver tests

- Abstract away the different "subsections" ~ DSO type (the tests should not care about this)
  Instead, retrieve sections of interest by ID & assert whether they're there & how they should look
- Test separately for Communities, Collections & Items
- Test newly added menu section

(cherry picked from commit 18b7a9c)

* Issue#2535: Hide add more button in submission if no disabled sections

* translate community as 'Bereich' in de.json5

(cherry picked from commit 0139670)

* Fix browse by visual bug

(cherry picked from commit d0b4e15)

* Bump postcss from 8.4.23 to 8.4.31

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.23 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.23...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 3c5079e)

* check cssRules existence before css variables are get from stylesheet

(cherry picked from commit 367cda2)

* checkstyle remove unused extra lines

(cherry picked from commit 5f8a9de)

* 107664: Normalized ePerson & group edit url and moved error message to translation file

* Bump @babel/traverse from 7.21.4 to 7.23.2

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.4 to 7.23.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.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 97f7a5e)

* Revert "Check cssRules before css variables are read from stylesheet (DSpace#2454)"

This reverts commit fa79c35.

(cherry picked from commit 6f73b65)

* Update email-request-copy.component.html

Message is optional: remove req in [disabled]

(cherry picked from commit 94c756d)

* Fix RequestService test failing because of different lastUpdated time

(cherry picked from commit fb31533)

* Use gap instead of individual paddings for header icons

(cherry picked from commit 9f2a1d0)

* Themed LangSwitchComponent

(cherry picked from commit f9b4460)

* Applied same gap between header icons in the dspace theme and made the search field non-focusable when collapsed

(cherry picked from commit 58d31dd)

* Fixed invalid html structure the ExpandableNavbarSectionComponent had an ul tag containing non-li tags

(cherry picked from commit fa56d5d)

* Added Serbian cyrilic translation and corrected Serbian latin translation.

(cherry picked from commit ad12e5a)

* Added Serbian cyrilic translation and corrected Serbian latin translation.

(cherry picked from commit aa9e12d)

* Merge branch 'fix-display-order-authentication-methods_contribute-7.4' into fix-display-order-authentication-methods_contribute-7.6

# Conflicts:
#	src/app/shared/log-in/log-in.component.html
#	src/app/shared/log-in/log-in.component.ts

* Added themed-user-menu component.

* Corrected missing semicolon.

* Replaced tags for ds-user-menu.

* Included user-menu component in custom theme.

* Removed default value from inExpandableNavbar.

* [DURACOM-190] Fix i18n labels in vocabulary-treeview

(cherry picked from commit b321d6f)

* [DURACOM-190] Fix alignment in vocabulary-treeview

(cherry picked from commit feb2b2b)

* allow to insert multi-line scope notes in MD field registry

(cherry picked from commit 5bc5dd8)

* Added support for changing the color of the navbar

(cherry picked from commit f6649e1)

* Fixed header bg color not being set in default (no) theme

(cherry picked from commit 14b1ce5)

* Fixed breadcrumb padding using incorrect syntax

(cherry picked from commit 6c48238)

* Added new variables for the expandable navbar section

(cherry picked from commit 2ca2a38)

* New themed components & minor CSS fixes (DSpace#2442)

* 100839: Created themeable BrowseByComponent

* 100839: Added themed BrowseByComponent to custom theme

* 100839: Added themed BrowseEntryListElementComponent to custom theme

* Added PersonComponent to custom theme

* Themed LogInComponent

* Fix focus on navbar using different color

* Fix ccLicense checkbox margin

* Fix long search facets name not displaying correctly

* Removed RecentItemListComponent's unnecessary float causing alignment issues when adding components underneath it

* Themed RegisterEmailFormComponent

* more error-prone check of cssRules existence before css variables are get from stylesheet

check the existence off cssRules property before the variables are readed from this stylesheet
DSpace#2450

(cherry picked from commit 4dd334f)

* fix(pt-BR.json5): fix and update the language file

Fix and update the pt-BR language file

* fix(pt-BR.json5): fix and update the language file and previous errors

Fix and update the pt-BR language file and the previous errors

* Merged in DSC-106 (pull request DSpace#643)

[DSC-106] Date input usable via keyboard using tab

Approved-by: Vincenzo Mecca
(cherry picked from commit 543b4ad)

* [DURACOM-194] fixed year input value on input type date

(cherry picked from commit c412c1f)

* Ensure e2e tests run in production mode

(cherry picked from commit 7dcaae8)

* Specify user agent to avoid being detected as a "bot" by backend

(cherry picked from commit 72cda41)

* [DURACOM-177] gap-* classes

(cherry picked from commit 930a381)

* [DURACOM-177] Use gap-* classes on navbar buttons

(cherry picked from commit a356295)

* [DURACOM-197] Fix cache issue when depositing a submission

(cherry picked from commit f992ff6)

* Add UI nameSpace context path to Mirador viewer path

(cherry picked from commit 3228c45)

* 108055: fix issue 8686: unable to enter freetext values in the submission form for vocabulary

(cherry picked from commit 0dcf6cb)

* 108055: add user input to tag list

(cherry picked from commit aac58e6)

* Support type-bind of elements based on repeatable list type-bound element (CHECKBOX_GROUP)

(cherry picked from commit 09aaa46)

* [DURACOM-195] Simplify vertical spacing in header and breadcrumbs

(cherry picked from commit a3e6d9b)

* [DURACOM-180] Prevent header from covering media viewer controls (dspace theme)

(cherry picked from commit 0208a78)

* [DURACOM-180] Prevent header from covering media viewer controls (base theme)

(cherry picked from commit c042cd8)

* Update condition to render show more node

`loadingNode` ends up being the current `node` after clicking it preventing it from rendering when more pages available.

Update community list component spec

Make the show more flat node id unique

The nodes with same id are conflicting when added to the tree. Clicking on the second with same id places the show more button under the wrong branch and expands the wrong page.

(cherry picked from commit 11d3771)

* Filter expanded nodes by id

Co-Authored-By: Art Lowel <1567693+artlowel@users.noreply.github.com>
(cherry picked from commit dc2ef98)

* Added skip to main content button

* Limit getMembers() and getSubgroups() to only fetching one object. These lists are only used to find the size of each

(cherry picked from commit 0da7c15)

* Remove isSubgroupOfGroup() functionality as it loads every subgroup at once. Bad peformance for large groups

(cherry picked from commit 97479a2)

* Fix bug where linked Community/Collection info was sometimes listed many times in a row

(cherry picked from commit 2292366)

* Remove "isMemberOfGroup()" from members-list component.

(cherry picked from commit 43d3719)

* Remove unnecessary EpersonDtoModel. Rework code and tests to use EPerson instead.

(cherry picked from commit bffae54)

* Also remove unnecessary EpersonDtoModel from extending ReviewersListComponent. Remove "memberOfGroup" from EpersonDtoModel as it is no longer used

(cherry picked from commit b598f1b)

* Fix subgroups-list specs so they align with new members-list specs

(cherry picked from commit 64f968b)

* Refactor members-list and subgroups-list components to use new isNotMemberOf endpoints (via services)

(cherry picked from commit 8a10888)

* Refactor subgroups-list component's "search()" to act same as member-list component's "search()". Avoids reloading the page as frequently.

(cherry picked from commit 2eb1a17)

* Remove seemingly unnecessary page reload after new search.

(cherry picked from commit d163db1)

* Address feedback. Run empty search on init. Reorder sections to list current members before add members (for both eperson and groups)

(cherry picked from commit 9117ac0)

* Bump axios from 0.27.2 to 1.6.0

Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v0.27.2...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit ef9f31d)

* 108045: Fix for repeatable date field labels

* Fixed test

* Fix handle redirect not working with custom nameSpace

(cherry picked from commit b894dce)

* adding new access-status-list-element-badge css classes

(cherry picked from commit e847e4e)

* Create new access-status-badge.component.scss

(cherry picked from commit 3bf2eb1)

* new accessStatusClass atribute

(cherry picked from commit 6378dbe)

* remove replaceAll and use an object property

(cherry picked from commit c7eae92)

* adding ngOnDestroy for dealing with unsubscribe

(cherry picked from commit 75b788d)

* 107671: Fix handle theme not working with canonical prefix https://hdl.handle.net/

(cherry picked from commit a7faf7d)

* 107671: Split Theme model & ThemeConfig classes in separate files to prevent circular dependencies

(cherry picked from commit da8880e)

* 107671: Fixed bug where config property would still sometimes be undefined whey calling the ngOnDestroy in the ThemedComponent

(cherry picked from commit 4e54cca)

* 107671: Fixed theme matching by handle not working in production mode

(cherry picked from commit 7529ed8)

* [DURACOM-202] feature: item edit pages are accessible by administrator

(cherry picked from commit ccf1cc4)

* [DURACOM-202] refactor: code

(cherry picked from commit b6d515f)

* [DURACOM-202] refactor: code

(cherry picked from commit 6f64db1)

* fix: random order of buttons in status tab

(cherry picked from commit 35f8b55)

* refactor: code

(cherry picked from commit fbbbc18)

* 107685: menu-component re-render section on store update

* 107902: Created test case for 2f26e68

* Update version tag for release

* Fixed lint errors

* Fixed compilation errors which were created by mistakes from upgrade

* Fixed wrong resolved conlicts for test files and copied yarn.lock from the dspace761 image

* Update charts, toggle dependencies in the package.json

* updated yarn.lock - from 7.6.1 and run yarn install

* Revert "updated yarn.lock - from 7.6.1 and run yarn install"

This reverts commit 2dabb71.

* updated yarn.lock - from 7.6.1 and run yarn install

* Fixed lint errors

* Fixed semicolon lint error.

* update clarin item statistics

* After deleting `.browserlistrc` the errors are gone.. that file is totally empty, it isn't into Vanilla 7.6. and makes me so many problems..
ReactiveX/rxjs#5976

* Fixed clarin-zip-download-page.component.spec.ts tests - if payload was null it throws an error

* Fixed section-form.component.spec.ts tests - delay was missing in tests and some duplicate of the code has occurred.

* Checkout vocabulary-treeview.component.html file because it was removed during resolving conflicts.

* Updated router.mock.ts - one method was missing from clarin routerstub

* Fixed log-in-password.component.spec.ts - authService was used in the wrong way

* Removed set timeout in tests `section-form.component.spec.ts`

* Removed duplicate cypress config file

* Updated complex input field test

* spy on reinitializeForm method

* Fixed warn in the `bypassSecurityTrustResourceUrl` when the url contains `undefined`

* Removed `id` - it doesn't help in the failing tests.

* Commented out failing tests.

* Renamed integration test names following a new cypress version.

* WorkspaceitemsEditPage resolver was missing.

* Removed green line from the navbar.

* Fixed crossing home page into nav and footer.

* Fixed home page to the navbar and footer

* Added missing messages into en.json

* `my-cs` main content must be used, I updated margin of home page

* Updated padding between language flags

* Show license type in the default grey color in the item view box

* Updated license selector padding and colors

* Do not show empty item type box in the item view box

* The sponsor values are showed in the Item View.

* Added unit tests for testing showing of the Acknowledgement

* Added messages for the acknowledgement component.

* Fixed lint errors from the `cs.json5`

* Added translate module into clarin-sponsor-item-field.component.spec.ts because it was missing

* Updated IT database dump - a DB was updated by Vanilla

* Fixed `collection-statistics.cy.ts` test, it wanted to see `menu` option which was removed in the CLARIN-DSpace update.

* Call index-discovery in the docker-compose-ci.yml instead of `cli.assetstore.yml` because it is not run from the `cli.assetstore.yml`

* Commented out the `login-modal.cy.ts` because the CLARIN-DSpace has different login

* Commented out the accessibility violations in the `my-dspace.cy.ts`

* Fixed calling indexing of the solr

* Commented community statistics menu from the `community-statistics.cy` integration test

* Commented out the search navbar tests

* Login and language flags was covered by the menu navbar - I updated z-index

* Commented out item-page accessibility tests

* Updated submission.cy.ts process - license granting

* Commented out the item statistics menu test

* Commented out the accessibility tests

* Added missing .env properties into `cypress`

* Fixed failing IT

---------

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
Co-authored-by: Sergio Fernández Celorio <sfernandez@arvo.es>
Co-authored-by: Hugo Dominguez <hugo@escire.lat>
Co-authored-by: Alan Orth <alan.orth@gmail.com>
Co-authored-by: Nona Luypaert <nona.luypaert@atmire.com>
Co-authored-by: Kristof De Langhe <kristof.delanghe@atmire.com>
Co-authored-by: José Carvalho <jnsc@ua.pt>
Co-authored-by: Sascha Szott <szott@gmx.de>
Co-authored-by: Alexandre Vryghem <alexandre@atmire.com>
Co-authored-by: Mark H. Wood <mwood@iu.edu>
Co-authored-by: Yana De Pauw <yana@atmire.com>
Co-authored-by: Art Lowel <art.lowel@gmail.com>
Co-authored-by: DSpace Bot <68393067+dspace-bot@users.noreply.github.com>
Co-authored-by: Hrafn Malmquist <hrafn.malmquist@gmail.com>
Co-authored-by: imilos <imilos@gmail.com>
Co-authored-by: Andrea Barbasso <´andrea.barbasso@4science.com´>
Co-authored-by: Davide Negretti <davide.negretti@4science.com>
Co-authored-by: Yury Bondarenko <ybnd@tuta.io>
Co-authored-by: Marie Verdonck <maria.verdonck@atmire.com>
Co-authored-by: Janne Jensen <micrograph@posteo.de>
Co-authored-by: Pascal-Nicolas Becker <pnbecker@users.noreply.github.com>
Co-authored-by: Jens Vannerum <jens.vannerum@atmire.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gantner, Florian Klaus <florian.gantner@uni-bamberg.de>
Co-authored-by: Agustina Martinez <am857@cam.ac.uk>
Co-authored-by: Eike Martin Löhden <eike.loehden@ub.uni-marburg.de>
Co-authored-by: Marco Aurelio Cardoso <marcoaurelio.cardoso@gmail.com>
Co-authored-by: Alisa Ismailati <alisa.ismailati@atis.al>
Co-authored-by: Alisa Ismailati <alisa.ismailati@4science.com>
Co-authored-by: Giuseppe Digilio <giuseppe.digilio@4science.com>
Co-authored-by: William Welling <wwelling@tamu.edu>
Co-authored-by: Andreas Mahnke <andreas.mahnke@leuphana.de>
Co-authored-by: lotte <lotte_hofstede@hotmail.com>
Co-authored-by: Paulo Graça <paulo1978@gmail.com>
Co-authored-by: Vlad Nouski <uladzislau.nouski@4science.com>
milanmajchrak added a commit to dataquest-dev/dspace-angular that referenced this issue Feb 2, 2024
* by default only deploy to INSTANCE=5

* give more time for postgres init

* add even more time

* Update action.yml (#405)

Run import from main branch

* ufal/fe-update-json-messages

Added missing tranlates and updated messages after running the script

* ufal/fe-initiated-login-not-redirecting-from-collection

Redirect to login with `redirectUrl` param because it is lost after click on `local` login button. (#404)

* [devOps] add dspace commands after import

* ufal/fe-add-default-static-pages (#406)

* Added static pages from the lindat git

* Fixed redirection and created safeHtml pipe.

* Could redirect out of namespace url, small refactoring.

* Updated tests.

* Added images into the static pages.

* ufal/fe-shibboleth-validate-emails

* Encoded query params (#407)

* placeholder configs to be mounted into docker

* change entrypoint so that containers has less logs and restarts (#412)

* ufal/fe-get-user-ip-address (#420)

* The clients IP address is fetched from the BE API.

* Replace LegacyBitstreamUrlResolver by BitstreamBreadcrumbResolver because the first one throws errors to the console.

* ufal/fe-fix-static-page-redirect (#421)

* Fixed static page redirects.

* Refactored processing links.

* ufal/fe-download-bitstream-back-to-item (#423)

* Separated toggling of DiscoJuice popup from the workign with redirect URL

* The downloading page is loaded before downloading.

* Login redirect works.

* Removed storing cookies in the aai.js

* ufal/fe-oversized-file-upload-message (#424)

* If the file exceeds the upload max file size the uploading will be stopped before starting and the user will see proper error message.

* Fixed unit tests - added configurationDataService

* ufal/fe-item-view-license-box (#427)

* Do not show licenses if the Item doesn't have any file.

* ufal/fe-email-restricted-download (#430)

* ClarinAuthorization passed, but vanilla not because of vanilla check - I added dtoken into vanilla authorization url and because of that the vanilla authorization will be passed.

* Added message for the expiration token message - it was hardcoded.

* ufal/fe-not-show-shib-welcome-page

* Loaded property from the cfg and check if the page with idp attributes could be showed up. If not redirect the user to the home page. (#431)

* ufal/fe-s3-customization (#428)

* The admin could see in the bitstream admin UI if the bitstream is stored in both storages (S3, local).

* Fixed failing unit test - updated columnSizes object

* ufal/curate-translation-missing

Added curate collection edit translation and curation task name. (#434)

* ufal/upload-on-first-attempt-fix (#435)

* Moved file size limit into FileUploader options and handled Upload cancelation.

* Check that uploading is successful

* ufal/fe-show-checksum-result (#432)

* BitstreamChecksum values are fetched and parsed from the BE

* Checksum info is showed up.

* Added messages and translations.

* Added docs and refactored code

* Fixed failing tests

* Fixed wrong czech translations.

* ufal/shibboleth-redirect-from-login (#433)

* Send redirectUrl param to the IdP in the target url

* The code is updated to be more readable.

* internal/increase-server-memory-limit (#411)

* Update docker-compose-rest.yml

Increase memory limit to 4GB

* Load JAVA_OPTS from the .env file.

* ufal/shibboleth-encode-redirecturl (#438)

* Compose redirectURL if the redirection is initiated from the login page and encode that URL because server cannot process decoded URL.

* Removed unused getCookie method.

* Updated if condition - it was made more readable

* Avoid accessing an out-of-bounds index in the split question marks array.

* internal/fix-failing-it (#437)

* Fixed integration tests - updated login via form - closed discojuice login. Updated licenses path to `licenses/manage-table`

* Cancel discojuice if it is popped up in the tombstone test

* internal/docker-remove-orphans (#439)

* Removed --remove-orphans flag because it doesn't have any effect.

* internal/update-config

* Copied missing parts from TUL:config/config.yml (#441)

* internal/fe-upgrade-clarin-dspace-7.6 (#450)

* Fix accessibility of date sliders by adding aria-labels

(cherry picked from commit 2a88179)

* Minor fixes to cypress tests

(cherry picked from commit 70a7bbe)

* Fix heading order accessibility issue in search filters/facets

(cherry picked from commit 276d808)

* Spanish translation updated to 7.6

(cherry picked from commit 4cc4192)

* Some lint errors fixed

(cherry picked from commit 1885638)

* 🐛 fix when navbar expands on firefox

(cherry picked from commit 6070672)

* 🐛 Fix Value of dropdown changes automatically on item submission page

(cherry picked from commit 6513059)

* ✅change test event, click by mousedown on dynamic-scrollable-dropdown.component.spec.ts

(cherry picked from commit 25479e1)

* config/config.example.yml: fix example syntax

As of DSpace Angular 7.2 the syntax has changed from TypeScript to
YAML.

(cherry picked from commit 9e46b53)

* Fix VocabularyTreeview not updating + i18n for nsi

(cherry picked from commit b5a70e8)

* 104189: Allow CSV export on related entity search

(cherry picked from commit cac1407)

* 104189: CSV export add fixedFilter

(cherry picked from commit 45ad5f7)

* Minor pt-PT translation fixes

(cherry picked from commit a6c1120)

* remove redundant cache default values from server.ts

(cherry picked from commit e53abcb)

* 🚸remove thumbnail from file-upload section and show bitstream format and checksum

(cherry picked from commit 4c8ec8a)

* 🎨revert unnecessary format

(cherry picked from commit 13e4052)

* Update workspaceitem-section-upload-file.model.ts

Fix code comment

(cherry picked from commit 01c8a4d)

* ♻️ refactor chain of observables to avoid async issues

(cherry picked from commit 2dc9fd4)

* 🐛 fix bug of caching when add new schema

(cherry picked from commit 9fb9e58)

* 🎨 revert format

(cherry picked from commit 3e5524d)

* Fix innerText still being undefined in ssr mode

* Correct text of help info on edit group page

(cherry picked from commit 4924743)

* Graceful shutdown on SIGINT (e.g. from 'pm2 stop').

(cherry picked from commit 6709c3b)

* Properly await termination.

(cherry picked from commit 4449737)

* Document a modified method as required by PR guidelines.

(cherry picked from commit bf9b2b8)

* 106974: Angular SSR menu issues

* src/app/shared/search: don't capitalize metadata values

Don't capitalize metadata values for display purposes.

* fix issue where more than one api call was made on every route change

* fix issue where invalidateRootCache didn't happen when the page first loaded

* remove obsolete label element in metadata-schema.component.html

(cherry picked from commit 6847c30)

* removed trailing whitespaces as suggested by reviewer

(cherry picked from commit 43f19e7)

* [Port dspace-7_x] Update fi.json5 (DSpace#2516)

* Update fi.json5

Two last translations to the Finnish file.

(cherry picked from commit c3a908b)

* Fix routes not working with baseHref

(cherry picked from commit 18febff)

* [Port dspace-7_x] Serbian (Latin) translation (DSpace#2520)

* Serbian (latin) translation added.

---------

Co-authored-by: imilos <imilos@gmail.com>

* [Port dspace-7_x] Fix missing or wrong Italian translations (DSpace#2522)

[DURACOM-184] fix missing or wrong Italian translations

---------

Co-authored-by: Andrea Barbasso <´andrea.barbasso@4science.com´>

* fix dev mode issue where retrieving the login options fails

* roll back unintended change to the responseMsToLive for RootDataservice

* [DURACOM-185] Fix pointer on language dropdown menu

(cherry picked from commit 6b5708c)

* Move subscription button to DSO edit menu

(cherry picked from commit c955816)

* Update DSO edit menu resolver tests

- Abstract away the different "subsections" ~ DSO type (the tests should not care about this)
  Instead, retrieve sections of interest by ID & assert whether they're there & how they should look
- Test separately for Communities, Collections & Items
- Test newly added menu section

(cherry picked from commit 18b7a9c)

* Issue#2535: Hide add more button in submission if no disabled sections

* translate community as 'Bereich' in de.json5

(cherry picked from commit 0139670)

* Fix browse by visual bug

(cherry picked from commit d0b4e15)

* Bump postcss from 8.4.23 to 8.4.31

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.23 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.23...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 3c5079e)

* check cssRules existence before css variables are get from stylesheet

(cherry picked from commit 367cda2)

* checkstyle remove unused extra lines

(cherry picked from commit 5f8a9de)

* 107664: Normalized ePerson & group edit url and moved error message to translation file

* Bump @babel/traverse from 7.21.4 to 7.23.2

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.4 to 7.23.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.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 97f7a5e)

* Revert "Check cssRules before css variables are read from stylesheet (DSpace#2454)"

This reverts commit fa79c35.

(cherry picked from commit 6f73b65)

* Update email-request-copy.component.html

Message is optional: remove req in [disabled]

(cherry picked from commit 94c756d)

* Fix RequestService test failing because of different lastUpdated time

(cherry picked from commit fb31533)

* Use gap instead of individual paddings for header icons

(cherry picked from commit 9f2a1d0)

* Themed LangSwitchComponent

(cherry picked from commit f9b4460)

* Applied same gap between header icons in the dspace theme and made the search field non-focusable when collapsed

(cherry picked from commit 58d31dd)

* Fixed invalid html structure the ExpandableNavbarSectionComponent had an ul tag containing non-li tags

(cherry picked from commit fa56d5d)

* Added Serbian cyrilic translation and corrected Serbian latin translation.

(cherry picked from commit ad12e5a)

* Added Serbian cyrilic translation and corrected Serbian latin translation.

(cherry picked from commit aa9e12d)

* Merge branch 'fix-display-order-authentication-methods_contribute-7.4' into fix-display-order-authentication-methods_contribute-7.6

# Conflicts:
#	src/app/shared/log-in/log-in.component.html
#	src/app/shared/log-in/log-in.component.ts

* Added themed-user-menu component.

* Corrected missing semicolon.

* Replaced tags for ds-user-menu.

* Included user-menu component in custom theme.

* Removed default value from inExpandableNavbar.

* [DURACOM-190] Fix i18n labels in vocabulary-treeview

(cherry picked from commit b321d6f)

* [DURACOM-190] Fix alignment in vocabulary-treeview

(cherry picked from commit feb2b2b)

* allow to insert multi-line scope notes in MD field registry

(cherry picked from commit 5bc5dd8)

* Added support for changing the color of the navbar

(cherry picked from commit f6649e1)

* Fixed header bg color not being set in default (no) theme

(cherry picked from commit 14b1ce5)

* Fixed breadcrumb padding using incorrect syntax

(cherry picked from commit 6c48238)

* Added new variables for the expandable navbar section

(cherry picked from commit 2ca2a38)

* New themed components & minor CSS fixes (DSpace#2442)

* 100839: Created themeable BrowseByComponent

* 100839: Added themed BrowseByComponent to custom theme

* 100839: Added themed BrowseEntryListElementComponent to custom theme

* Added PersonComponent to custom theme

* Themed LogInComponent

* Fix focus on navbar using different color

* Fix ccLicense checkbox margin

* Fix long search facets name not displaying correctly

* Removed RecentItemListComponent's unnecessary float causing alignment issues when adding components underneath it

* Themed RegisterEmailFormComponent

* more error-prone check of cssRules existence before css variables are get from stylesheet

check the existence off cssRules property before the variables are readed from this stylesheet
DSpace#2450

(cherry picked from commit 4dd334f)

* fix(pt-BR.json5): fix and update the language file

Fix and update the pt-BR language file

* fix(pt-BR.json5): fix and update the language file and previous errors

Fix and update the pt-BR language file and the previous errors

* Merged in DSC-106 (pull request DSpace#643)

[DSC-106] Date input usable via keyboard using tab

Approved-by: Vincenzo Mecca
(cherry picked from commit 543b4ad)

* [DURACOM-194] fixed year input value on input type date

(cherry picked from commit c412c1f)

* Ensure e2e tests run in production mode

(cherry picked from commit 7dcaae8)

* Specify user agent to avoid being detected as a "bot" by backend

(cherry picked from commit 72cda41)

* [DURACOM-177] gap-* classes

(cherry picked from commit 930a381)

* [DURACOM-177] Use gap-* classes on navbar buttons

(cherry picked from commit a356295)

* [DURACOM-197] Fix cache issue when depositing a submission

(cherry picked from commit f992ff6)

* Add UI nameSpace context path to Mirador viewer path

(cherry picked from commit 3228c45)

* 108055: fix issue 8686: unable to enter freetext values in the submission form for vocabulary

(cherry picked from commit 0dcf6cb)

* 108055: add user input to tag list

(cherry picked from commit aac58e6)

* Support type-bind of elements based on repeatable list type-bound element (CHECKBOX_GROUP)

(cherry picked from commit 09aaa46)

* [DURACOM-195] Simplify vertical spacing in header and breadcrumbs

(cherry picked from commit a3e6d9b)

* [DURACOM-180] Prevent header from covering media viewer controls (dspace theme)

(cherry picked from commit 0208a78)

* [DURACOM-180] Prevent header from covering media viewer controls (base theme)

(cherry picked from commit c042cd8)

* Update condition to render show more node

`loadingNode` ends up being the current `node` after clicking it preventing it from rendering when more pages available.

Update community list component spec

Make the show more flat node id unique

The nodes with same id are conflicting when added to the tree. Clicking on the second with same id places the show more button under the wrong branch and expands the wrong page.

(cherry picked from commit 11d3771)

* Filter expanded nodes by id

Co-Authored-By: Art Lowel <1567693+artlowel@users.noreply.github.com>
(cherry picked from commit dc2ef98)

* Added skip to main content button

* Limit getMembers() and getSubgroups() to only fetching one object. These lists are only used to find the size of each

(cherry picked from commit 0da7c15)

* Remove isSubgroupOfGroup() functionality as it loads every subgroup at once. Bad peformance for large groups

(cherry picked from commit 97479a2)

* Fix bug where linked Community/Collection info was sometimes listed many times in a row

(cherry picked from commit 2292366)

* Remove "isMemberOfGroup()" from members-list component.

(cherry picked from commit 43d3719)

* Remove unnecessary EpersonDtoModel. Rework code and tests to use EPerson instead.

(cherry picked from commit bffae54)

* Also remove unnecessary EpersonDtoModel from extending ReviewersListComponent. Remove "memberOfGroup" from EpersonDtoModel as it is no longer used

(cherry picked from commit b598f1b)

* Fix subgroups-list specs so they align with new members-list specs

(cherry picked from commit 64f968b)

* Refactor members-list and subgroups-list components to use new isNotMemberOf endpoints (via services)

(cherry picked from commit 8a10888)

* Refactor subgroups-list component's "search()" to act same as member-list component's "search()". Avoids reloading the page as frequently.

(cherry picked from commit 2eb1a17)

* Remove seemingly unnecessary page reload after new search.

(cherry picked from commit d163db1)

* Address feedback. Run empty search on init. Reorder sections to list current members before add members (for both eperson and groups)

(cherry picked from commit 9117ac0)

* Bump axios from 0.27.2 to 1.6.0

Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v0.27.2...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit ef9f31d)

* 108045: Fix for repeatable date field labels

* Fixed test

* Fix handle redirect not working with custom nameSpace

(cherry picked from commit b894dce)

* adding new access-status-list-element-badge css classes

(cherry picked from commit e847e4e)

* Create new access-status-badge.component.scss

(cherry picked from commit 3bf2eb1)

* new accessStatusClass atribute

(cherry picked from commit 6378dbe)

* remove replaceAll and use an object property

(cherry picked from commit c7eae92)

* adding ngOnDestroy for dealing with unsubscribe

(cherry picked from commit 75b788d)

* 107671: Fix handle theme not working with canonical prefix https://hdl.handle.net/

(cherry picked from commit a7faf7d)

* 107671: Split Theme model & ThemeConfig classes in separate files to prevent circular dependencies

(cherry picked from commit da8880e)

* 107671: Fixed bug where config property would still sometimes be undefined whey calling the ngOnDestroy in the ThemedComponent

(cherry picked from commit 4e54cca)

* 107671: Fixed theme matching by handle not working in production mode

(cherry picked from commit 7529ed8)

* [DURACOM-202] feature: item edit pages are accessible by administrator

(cherry picked from commit ccf1cc4)

* [DURACOM-202] refactor: code

(cherry picked from commit b6d515f)

* [DURACOM-202] refactor: code

(cherry picked from commit 6f64db1)

* fix: random order of buttons in status tab

(cherry picked from commit 35f8b55)

* refactor: code

(cherry picked from commit fbbbc18)

* 107685: menu-component re-render section on store update

* 107902: Created test case for 2f26e68

* Update version tag for release

* Fixed lint errors

* Fixed compilation errors which were created by mistakes from upgrade

* Fixed wrong resolved conlicts for test files and copied yarn.lock from the dspace761 image

* Update charts, toggle dependencies in the package.json

* updated yarn.lock - from 7.6.1 and run yarn install

* Revert "updated yarn.lock - from 7.6.1 and run yarn install"

This reverts commit 2dabb71.

* updated yarn.lock - from 7.6.1 and run yarn install

* Fixed lint errors

* Fixed semicolon lint error.

* update clarin item statistics

* After deleting `.browserlistrc` the errors are gone.. that file is totally empty, it isn't into Vanilla 7.6. and makes me so many problems..
ReactiveX/rxjs#5976

* Fixed clarin-zip-download-page.component.spec.ts tests - if payload was null it throws an error

* Fixed section-form.component.spec.ts tests - delay was missing in tests and some duplicate of the code has occurred.

* Checkout vocabulary-treeview.component.html file because it was removed during resolving conflicts.

* Updated router.mock.ts - one method was missing from clarin routerstub

* Fixed log-in-password.component.spec.ts - authService was used in the wrong way

* Removed set timeout in tests `section-form.component.spec.ts`

* Removed duplicate cypress config file

* Updated complex input field test

* spy on reinitializeForm method

* Fixed warn in the `bypassSecurityTrustResourceUrl` when the url contains `undefined`

* Removed `id` - it doesn't help in the failing tests.

* Commented out failing tests.

* Renamed integration test names following a new cypress version.

* WorkspaceitemsEditPage resolver was missing.

* Removed green line from the navbar.

* Fixed crossing home page into nav and footer.

* Fixed home page to the navbar and footer

* Added missing messages into en.json

* `my-cs` main content must be used, I updated margin of home page

* Updated padding between language flags

* Show license type in the default grey color in the item view box

* Updated license selector padding and colors

* Do not show empty item type box in the item view box

* The sponsor values are showed in the Item View.

* Added unit tests for testing showing of the Acknowledgement

* Added messages for the acknowledgement component.

* Fixed lint errors from the `cs.json5`

* Added translate module into clarin-sponsor-item-field.component.spec.ts because it was missing

* Updated IT database dump - a DB was updated by Vanilla

* Fixed `collection-statistics.cy.ts` test, it wanted to see `menu` option which was removed in the CLARIN-DSpace update.

* Call index-discovery in the docker-compose-ci.yml instead of `cli.assetstore.yml` because it is not run from the `cli.assetstore.yml`

* Commented out the `login-modal.cy.ts` because the CLARIN-DSpace has different login

* Commented out the accessibility violations in the `my-dspace.cy.ts`

* Fixed calling indexing of the solr

* Commented community statistics menu from the `community-statistics.cy` integration test

* Commented out the search navbar tests

* Login and language flags was covered by the menu navbar - I updated z-index

* Commented out item-page accessibility tests

* Updated submission.cy.ts process - license granting

* Commented out the item statistics menu test

* Commented out the accessibility tests

* Added missing .env properties into `cypress`

* Fixed failing IT

---------

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
Co-authored-by: Sergio Fernández Celorio <sfernandez@arvo.es>
Co-authored-by: Hugo Dominguez <hugo@escire.lat>
Co-authored-by: Alan Orth <alan.orth@gmail.com>
Co-authored-by: Nona Luypaert <nona.luypaert@atmire.com>
Co-authored-by: Kristof De Langhe <kristof.delanghe@atmire.com>
Co-authored-by: José Carvalho <jnsc@ua.pt>
Co-authored-by: Sascha Szott <szott@gmx.de>
Co-authored-by: Alexandre Vryghem <alexandre@atmire.com>
Co-authored-by: Mark H. Wood <mwood@iu.edu>
Co-authored-by: Yana De Pauw <yana@atmire.com>
Co-authored-by: Art Lowel <art.lowel@gmail.com>
Co-authored-by: DSpace Bot <68393067+dspace-bot@users.noreply.github.com>
Co-authored-by: Hrafn Malmquist <hrafn.malmquist@gmail.com>
Co-authored-by: imilos <imilos@gmail.com>
Co-authored-by: Andrea Barbasso <´andrea.barbasso@4science.com´>
Co-authored-by: Davide Negretti <davide.negretti@4science.com>
Co-authored-by: Yury Bondarenko <ybnd@tuta.io>
Co-authored-by: Marie Verdonck <maria.verdonck@atmire.com>
Co-authored-by: Janne Jensen <micrograph@posteo.de>
Co-authored-by: Pascal-Nicolas Becker <pnbecker@users.noreply.github.com>
Co-authored-by: Jens Vannerum <jens.vannerum@atmire.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gantner, Florian Klaus <florian.gantner@uni-bamberg.de>
Co-authored-by: Agustina Martinez <am857@cam.ac.uk>
Co-authored-by: Eike Martin Löhden <eike.loehden@ub.uni-marburg.de>
Co-authored-by: Marco Aurelio Cardoso <marcoaurelio.cardoso@gmail.com>
Co-authored-by: Alisa Ismailati <alisa.ismailati@atis.al>
Co-authored-by: Alisa Ismailati <alisa.ismailati@4science.com>
Co-authored-by: Giuseppe Digilio <giuseppe.digilio@4science.com>
Co-authored-by: William Welling <wwelling@tamu.edu>
Co-authored-by: Andreas Mahnke <andreas.mahnke@leuphana.de>
Co-authored-by: lotte <lotte_hofstede@hotmail.com>
Co-authored-by: Paulo Graça <paulo1978@gmail.com>
Co-authored-by: Vlad Nouski <uladzislau.nouski@4science.com>

* Update docker.yml (#452)

It was run only for `dspace` repository

* The BE was started without instance (#453)

* Copying of solr configs were missing from the docker-compose-rest (#454)

* configured path (#455)

try to append server/ to test gh action

* Internal/run container in production mode (#456)

* Added NODE_ENV=production because the container is trying to run in development mode

* Use Vanilla dspace-ui.json instead of ours from root.

* Updated path for running `dspace-ui.json`

* Use ENV - production in the dspace-ui.json (#457)

* The docker-compose-rest has defined network which is not the same like in the cli.yml - it throws an error (#458)

* Update deploy.yml (#459)

Allowed S3

---------

Co-authored-by: MajoBerger <88670521+MajoBerger@users.noreply.github.com>
Co-authored-by: Jozef Misutka <332350+vidiecan@users.noreply.github.com>
Co-authored-by: jm <jm@maz>
Co-authored-by: MajoBerger <marian.berger@dataquest.sk>
Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
Co-authored-by: Sergio Fernández Celorio <sfernandez@arvo.es>
Co-authored-by: Hugo Dominguez <hugo@escire.lat>
Co-authored-by: Alan Orth <alan.orth@gmail.com>
Co-authored-by: Nona Luypaert <nona.luypaert@atmire.com>
Co-authored-by: Kristof De Langhe <kristof.delanghe@atmire.com>
Co-authored-by: José Carvalho <jnsc@ua.pt>
Co-authored-by: Sascha Szott <szott@gmx.de>
Co-authored-by: Alexandre Vryghem <alexandre@atmire.com>
Co-authored-by: Mark H. Wood <mwood@iu.edu>
Co-authored-by: Yana De Pauw <yana@atmire.com>
Co-authored-by: Art Lowel <art.lowel@gmail.com>
Co-authored-by: DSpace Bot <68393067+dspace-bot@users.noreply.github.com>
Co-authored-by: Hrafn Malmquist <hrafn.malmquist@gmail.com>
Co-authored-by: imilos <imilos@gmail.com>
Co-authored-by: Andrea Barbasso <´andrea.barbasso@4science.com´>
Co-authored-by: Davide Negretti <davide.negretti@4science.com>
Co-authored-by: Yury Bondarenko <ybnd@tuta.io>
Co-authored-by: Marie Verdonck <maria.verdonck@atmire.com>
Co-authored-by: Janne Jensen <micrograph@posteo.de>
Co-authored-by: Pascal-Nicolas Becker <pnbecker@users.noreply.github.com>
Co-authored-by: Jens Vannerum <jens.vannerum@atmire.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gantner, Florian Klaus <florian.gantner@uni-bamberg.de>
Co-authored-by: Agustina Martinez <am857@cam.ac.uk>
Co-authored-by: Eike Martin Löhden <eike.loehden@ub.uni-marburg.de>
Co-authored-by: Marco Aurelio Cardoso <marcoaurelio.cardoso@gmail.com>
Co-authored-by: Alisa Ismailati <alisa.ismailati@atis.al>
Co-authored-by: Alisa Ismailati <alisa.ismailati@4science.com>
Co-authored-by: Giuseppe Digilio <giuseppe.digilio@4science.com>
Co-authored-by: William Welling <wwelling@tamu.edu>
Co-authored-by: Andreas Mahnke <andreas.mahnke@leuphana.de>
Co-authored-by: lotte <lotte_hofstede@hotmail.com>
Co-authored-by: Paulo Graça <paulo1978@gmail.com>
Co-authored-by: Vlad Nouski <uladzislau.nouski@4science.com>
milanmajchrak added a commit to dataquest-dev/dspace-angular that referenced this issue Feb 28, 2024
* by default only deploy to INSTANCE=5

* give more time for postgres init

* add even more time

* Update action.yml (#405)

Run import from main branch

* ufal/fe-update-json-messages

Added missing tranlates and updated messages after running the script

* ufal/fe-initiated-login-not-redirecting-from-collection

Redirect to login with `redirectUrl` param because it is lost after click on `local` login button. (#404)

* [devOps] add dspace commands after import

* ufal/fe-add-default-static-pages (#406)

* Added static pages from the lindat git

* Fixed redirection and created safeHtml pipe.

* Could redirect out of namespace url, small refactoring.

* Updated tests.

* Added images into the static pages.

* ufal/fe-shibboleth-validate-emails

* Encoded query params (#407)

* placeholder configs to be mounted into docker

* change entrypoint so that containers has less logs and restarts (#412)

* ufal/fe-get-user-ip-address (#420)

* The clients IP address is fetched from the BE API.

* Replace LegacyBitstreamUrlResolver by BitstreamBreadcrumbResolver because the first one throws errors to the console.

* ufal/fe-fix-static-page-redirect (#421)

* Fixed static page redirects.

* Refactored processing links.

* ufal/fe-download-bitstream-back-to-item (#423)

* Separated toggling of DiscoJuice popup from the workign with redirect URL

* The downloading page is loaded before downloading.

* Login redirect works.

* Removed storing cookies in the aai.js

* ufal/fe-oversized-file-upload-message (#424)

* If the file exceeds the upload max file size the uploading will be stopped before starting and the user will see proper error message.

* Fixed unit tests - added configurationDataService

* ufal/fe-item-view-license-box (#427)

* Do not show licenses if the Item doesn't have any file.

* ufal/fe-email-restricted-download (#430)

* ClarinAuthorization passed, but vanilla not because of vanilla check - I added dtoken into vanilla authorization url and because of that the vanilla authorization will be passed.

* Added message for the expiration token message - it was hardcoded.

* ufal/fe-not-show-shib-welcome-page

* Loaded property from the cfg and check if the page with idp attributes could be showed up. If not redirect the user to the home page. (#431)

* ufal/fe-s3-customization (#428)

* The admin could see in the bitstream admin UI if the bitstream is stored in both storages (S3, local).

* Fixed failing unit test - updated columnSizes object

* ufal/curate-translation-missing

Added curate collection edit translation and curation task name. (#434)

* ufal/upload-on-first-attempt-fix (#435)

* Moved file size limit into FileUploader options and handled Upload cancelation.

* Check that uploading is successful

* ufal/fe-show-checksum-result (#432)

* BitstreamChecksum values are fetched and parsed from the BE

* Checksum info is showed up.

* Added messages and translations.

* Added docs and refactored code

* Fixed failing tests

* Fixed wrong czech translations.

* ufal/shibboleth-redirect-from-login (#433)

* Send redirectUrl param to the IdP in the target url

* The code is updated to be more readable.

* internal/increase-server-memory-limit (#411)

* Update docker-compose-rest.yml

Increase memory limit to 4GB

* Load JAVA_OPTS from the .env file.

* ufal/shibboleth-encode-redirecturl (#438)

* Compose redirectURL if the redirection is initiated from the login page and encode that URL because server cannot process decoded URL.

* Removed unused getCookie method.

* Updated if condition - it was made more readable

* Avoid accessing an out-of-bounds index in the split question marks array.

* internal/fix-failing-it (#437)

* Fixed integration tests - updated login via form - closed discojuice login. Updated licenses path to `licenses/manage-table`

* Cancel discojuice if it is popped up in the tombstone test

* internal/docker-remove-orphans (#439)

* Removed --remove-orphans flag because it doesn't have any effect.

* internal/update-config

* Copied missing parts from TUL:config/config.yml (#441)

* internal/fe-upgrade-clarin-dspace-7.6 (#450)

* Fix accessibility of date sliders by adding aria-labels

(cherry picked from commit 2a88179)

* Minor fixes to cypress tests

(cherry picked from commit 70a7bbe)

* Fix heading order accessibility issue in search filters/facets

(cherry picked from commit 276d808)

* Spanish translation updated to 7.6

(cherry picked from commit 4cc4192)

* Some lint errors fixed

(cherry picked from commit 1885638)

* 🐛 fix when navbar expands on firefox

(cherry picked from commit 6070672)

* 🐛 Fix Value of dropdown changes automatically on item submission page

(cherry picked from commit 6513059)

* ✅change test event, click by mousedown on dynamic-scrollable-dropdown.component.spec.ts

(cherry picked from commit 25479e1)

* config/config.example.yml: fix example syntax

As of DSpace Angular 7.2 the syntax has changed from TypeScript to
YAML.

(cherry picked from commit 9e46b53)

* Fix VocabularyTreeview not updating + i18n for nsi

(cherry picked from commit b5a70e8)

* 104189: Allow CSV export on related entity search

(cherry picked from commit cac1407)

* 104189: CSV export add fixedFilter

(cherry picked from commit 45ad5f7)

* Minor pt-PT translation fixes

(cherry picked from commit a6c1120)

* remove redundant cache default values from server.ts

(cherry picked from commit e53abcb)

* 🚸remove thumbnail from file-upload section and show bitstream format and checksum

(cherry picked from commit 4c8ec8a)

* 🎨revert unnecessary format

(cherry picked from commit 13e4052)

* Update workspaceitem-section-upload-file.model.ts

Fix code comment

(cherry picked from commit 01c8a4d)

* ♻️ refactor chain of observables to avoid async issues

(cherry picked from commit 2dc9fd4)

* 🐛 fix bug of caching when add new schema

(cherry picked from commit 9fb9e58)

* 🎨 revert format

(cherry picked from commit 3e5524d)

* Fix innerText still being undefined in ssr mode

* Correct text of help info on edit group page

(cherry picked from commit 4924743)

* Graceful shutdown on SIGINT (e.g. from 'pm2 stop').

(cherry picked from commit 6709c3b)

* Properly await termination.

(cherry picked from commit 4449737)

* Document a modified method as required by PR guidelines.

(cherry picked from commit bf9b2b8)

* 106974: Angular SSR menu issues

* src/app/shared/search: don't capitalize metadata values

Don't capitalize metadata values for display purposes.

* fix issue where more than one api call was made on every route change

* fix issue where invalidateRootCache didn't happen when the page first loaded

* remove obsolete label element in metadata-schema.component.html

(cherry picked from commit 6847c30)

* removed trailing whitespaces as suggested by reviewer

(cherry picked from commit 43f19e7)

* [Port dspace-7_x] Update fi.json5 (DSpace#2516)

* Update fi.json5

Two last translations to the Finnish file.

(cherry picked from commit c3a908b)

* Fix routes not working with baseHref

(cherry picked from commit 18febff)

* [Port dspace-7_x] Serbian (Latin) translation (DSpace#2520)

* Serbian (latin) translation added.

---------

Co-authored-by: imilos <imilos@gmail.com>

* [Port dspace-7_x] Fix missing or wrong Italian translations (DSpace#2522)

[DURACOM-184] fix missing or wrong Italian translations

---------

Co-authored-by: Andrea Barbasso <´andrea.barbasso@4science.com´>

* fix dev mode issue where retrieving the login options fails

* roll back unintended change to the responseMsToLive for RootDataservice

* [DURACOM-185] Fix pointer on language dropdown menu

(cherry picked from commit 6b5708c)

* Move subscription button to DSO edit menu

(cherry picked from commit c955816)

* Update DSO edit menu resolver tests

- Abstract away the different "subsections" ~ DSO type (the tests should not care about this)
  Instead, retrieve sections of interest by ID & assert whether they're there & how they should look
- Test separately for Communities, Collections & Items
- Test newly added menu section

(cherry picked from commit 18b7a9c)

* Issue#2535: Hide add more button in submission if no disabled sections

* translate community as 'Bereich' in de.json5

(cherry picked from commit 0139670)

* Fix browse by visual bug

(cherry picked from commit d0b4e15)

* Bump postcss from 8.4.23 to 8.4.31

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.23 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.23...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 3c5079e)

* check cssRules existence before css variables are get from stylesheet

(cherry picked from commit 367cda2)

* checkstyle remove unused extra lines

(cherry picked from commit 5f8a9de)

* 107664: Normalized ePerson & group edit url and moved error message to translation file

* Bump @babel/traverse from 7.21.4 to 7.23.2

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.4 to 7.23.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.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 97f7a5e)

* Revert "Check cssRules before css variables are read from stylesheet (DSpace#2454)"

This reverts commit fa79c35.

(cherry picked from commit 6f73b65)

* Update email-request-copy.component.html

Message is optional: remove req in [disabled]

(cherry picked from commit 94c756d)

* Fix RequestService test failing because of different lastUpdated time

(cherry picked from commit fb31533)

* Use gap instead of individual paddings for header icons

(cherry picked from commit 9f2a1d0)

* Themed LangSwitchComponent

(cherry picked from commit f9b4460)

* Applied same gap between header icons in the dspace theme and made the search field non-focusable when collapsed

(cherry picked from commit 58d31dd)

* Fixed invalid html structure the ExpandableNavbarSectionComponent had an ul tag containing non-li tags

(cherry picked from commit fa56d5d)

* Added Serbian cyrilic translation and corrected Serbian latin translation.

(cherry picked from commit ad12e5a)

* Added Serbian cyrilic translation and corrected Serbian latin translation.

(cherry picked from commit aa9e12d)

* Merge branch 'fix-display-order-authentication-methods_contribute-7.4' into fix-display-order-authentication-methods_contribute-7.6

# Conflicts:
#	src/app/shared/log-in/log-in.component.html
#	src/app/shared/log-in/log-in.component.ts

* Added themed-user-menu component.

* Corrected missing semicolon.

* Replaced tags for ds-user-menu.

* Included user-menu component in custom theme.

* Removed default value from inExpandableNavbar.

* [DURACOM-190] Fix i18n labels in vocabulary-treeview

(cherry picked from commit b321d6f)

* [DURACOM-190] Fix alignment in vocabulary-treeview

(cherry picked from commit feb2b2b)

* allow to insert multi-line scope notes in MD field registry

(cherry picked from commit 5bc5dd8)

* Added support for changing the color of the navbar

(cherry picked from commit f6649e1)

* Fixed header bg color not being set in default (no) theme

(cherry picked from commit 14b1ce5)

* Fixed breadcrumb padding using incorrect syntax

(cherry picked from commit 6c48238)

* Added new variables for the expandable navbar section

(cherry picked from commit 2ca2a38)

* New themed components & minor CSS fixes (DSpace#2442)

* 100839: Created themeable BrowseByComponent

* 100839: Added themed BrowseByComponent to custom theme

* 100839: Added themed BrowseEntryListElementComponent to custom theme

* Added PersonComponent to custom theme

* Themed LogInComponent

* Fix focus on navbar using different color

* Fix ccLicense checkbox margin

* Fix long search facets name not displaying correctly

* Removed RecentItemListComponent's unnecessary float causing alignment issues when adding components underneath it

* Themed RegisterEmailFormComponent

* more error-prone check of cssRules existence before css variables are get from stylesheet

check the existence off cssRules property before the variables are readed from this stylesheet
DSpace#2450

(cherry picked from commit 4dd334f)

* fix(pt-BR.json5): fix and update the language file

Fix and update the pt-BR language file

* fix(pt-BR.json5): fix and update the language file and previous errors

Fix and update the pt-BR language file and the previous errors

* Merged in DSC-106 (pull request DSpace#643)

[DSC-106] Date input usable via keyboard using tab

Approved-by: Vincenzo Mecca
(cherry picked from commit 543b4ad)

* [DURACOM-194] fixed year input value on input type date

(cherry picked from commit c412c1f)

* Ensure e2e tests run in production mode

(cherry picked from commit 7dcaae8)

* Specify user agent to avoid being detected as a "bot" by backend

(cherry picked from commit 72cda41)

* [DURACOM-177] gap-* classes

(cherry picked from commit 930a381)

* [DURACOM-177] Use gap-* classes on navbar buttons

(cherry picked from commit a356295)

* [DURACOM-197] Fix cache issue when depositing a submission

(cherry picked from commit f992ff6)

* Add UI nameSpace context path to Mirador viewer path

(cherry picked from commit 3228c45)

* 108055: fix issue 8686: unable to enter freetext values in the submission form for vocabulary

(cherry picked from commit 0dcf6cb)

* 108055: add user input to tag list

(cherry picked from commit aac58e6)

* Support type-bind of elements based on repeatable list type-bound element (CHECKBOX_GROUP)

(cherry picked from commit 09aaa46)

* [DURACOM-195] Simplify vertical spacing in header and breadcrumbs

(cherry picked from commit a3e6d9b)

* [DURACOM-180] Prevent header from covering media viewer controls (dspace theme)

(cherry picked from commit 0208a78)

* [DURACOM-180] Prevent header from covering media viewer controls (base theme)

(cherry picked from commit c042cd8)

* Update condition to render show more node

`loadingNode` ends up being the current `node` after clicking it preventing it from rendering when more pages available.

Update community list component spec

Make the show more flat node id unique

The nodes with same id are conflicting when added to the tree. Clicking on the second with same id places the show more button under the wrong branch and expands the wrong page.

(cherry picked from commit 11d3771)

* Filter expanded nodes by id

Co-Authored-By: Art Lowel <1567693+artlowel@users.noreply.github.com>
(cherry picked from commit dc2ef98)

* Added skip to main content button

* Limit getMembers() and getSubgroups() to only fetching one object. These lists are only used to find the size of each

(cherry picked from commit 0da7c15)

* Remove isSubgroupOfGroup() functionality as it loads every subgroup at once. Bad peformance for large groups

(cherry picked from commit 97479a2)

* Fix bug where linked Community/Collection info was sometimes listed many times in a row

(cherry picked from commit 2292366)

* Remove "isMemberOfGroup()" from members-list component.

(cherry picked from commit 43d3719)

* Remove unnecessary EpersonDtoModel. Rework code and tests to use EPerson instead.

(cherry picked from commit bffae54)

* Also remove unnecessary EpersonDtoModel from extending ReviewersListComponent. Remove "memberOfGroup" from EpersonDtoModel as it is no longer used

(cherry picked from commit b598f1b)

* Fix subgroups-list specs so they align with new members-list specs

(cherry picked from commit 64f968b)

* Refactor members-list and subgroups-list components to use new isNotMemberOf endpoints (via services)

(cherry picked from commit 8a10888)

* Refactor subgroups-list component's "search()" to act same as member-list component's "search()". Avoids reloading the page as frequently.

(cherry picked from commit 2eb1a17)

* Remove seemingly unnecessary page reload after new search.

(cherry picked from commit d163db1)

* Address feedback. Run empty search on init. Reorder sections to list current members before add members (for both eperson and groups)

(cherry picked from commit 9117ac0)

* Bump axios from 0.27.2 to 1.6.0

Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v0.27.2...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit ef9f31d)

* 108045: Fix for repeatable date field labels

* Fixed test

* Fix handle redirect not working with custom nameSpace

(cherry picked from commit b894dce)

* adding new access-status-list-element-badge css classes

(cherry picked from commit e847e4e)

* Create new access-status-badge.component.scss

(cherry picked from commit 3bf2eb1)

* new accessStatusClass atribute

(cherry picked from commit 6378dbe)

* remove replaceAll and use an object property

(cherry picked from commit c7eae92)

* adding ngOnDestroy for dealing with unsubscribe

(cherry picked from commit 75b788d)

* 107671: Fix handle theme not working with canonical prefix https://hdl.handle.net/

(cherry picked from commit a7faf7d)

* 107671: Split Theme model & ThemeConfig classes in separate files to prevent circular dependencies

(cherry picked from commit da8880e)

* 107671: Fixed bug where config property would still sometimes be undefined whey calling the ngOnDestroy in the ThemedComponent

(cherry picked from commit 4e54cca)

* 107671: Fixed theme matching by handle not working in production mode

(cherry picked from commit 7529ed8)

* [DURACOM-202] feature: item edit pages are accessible by administrator

(cherry picked from commit ccf1cc4)

* [DURACOM-202] refactor: code

(cherry picked from commit b6d515f)

* [DURACOM-202] refactor: code

(cherry picked from commit 6f64db1)

* fix: random order of buttons in status tab

(cherry picked from commit 35f8b55)

* refactor: code

(cherry picked from commit fbbbc18)

* 107685: menu-component re-render section on store update

* 107902: Created test case for 2f26e68

* Update version tag for release

* Fixed lint errors

* Fixed compilation errors which were created by mistakes from upgrade

* Fixed wrong resolved conlicts for test files and copied yarn.lock from the dspace761 image

* Update charts, toggle dependencies in the package.json

* updated yarn.lock - from 7.6.1 and run yarn install

* Revert "updated yarn.lock - from 7.6.1 and run yarn install"

This reverts commit 2dabb71.

* updated yarn.lock - from 7.6.1 and run yarn install

* Fixed lint errors

* Fixed semicolon lint error.

* update clarin item statistics

* After deleting `.browserlistrc` the errors are gone.. that file is totally empty, it isn't into Vanilla 7.6. and makes me so many problems..
ReactiveX/rxjs#5976

* Fixed clarin-zip-download-page.component.spec.ts tests - if payload was null it throws an error

* Fixed section-form.component.spec.ts tests - delay was missing in tests and some duplicate of the code has occurred.

* Checkout vocabulary-treeview.component.html file because it was removed during resolving conflicts.

* Updated router.mock.ts - one method was missing from clarin routerstub

* Fixed log-in-password.component.spec.ts - authService was used in the wrong way

* Removed set timeout in tests `section-form.component.spec.ts`

* Removed duplicate cypress config file

* Updated complex input field test

* spy on reinitializeForm method

* Fixed warn in the `bypassSecurityTrustResourceUrl` when the url contains `undefined`

* Removed `id` - it doesn't help in the failing tests.

* Commented out failing tests.

* Renamed integration test names following a new cypress version.

* WorkspaceitemsEditPage resolver was missing.

* Removed green line from the navbar.

* Fixed crossing home page into nav and footer.

* Fixed home page to the navbar and footer

* Added missing messages into en.json

* `my-cs` main content must be used, I updated margin of home page

* Updated padding between language flags

* Show license type in the default grey color in the item view box

* Updated license selector padding and colors

* Do not show empty item type box in the item view box

* The sponsor values are showed in the Item View.

* Added unit tests for testing showing of the Acknowledgement

* Added messages for the acknowledgement component.

* Fixed lint errors from the `cs.json5`

* Added translate module into clarin-sponsor-item-field.component.spec.ts because it was missing

* Updated IT database dump - a DB was updated by Vanilla

* Fixed `collection-statistics.cy.ts` test, it wanted to see `menu` option which was removed in the CLARIN-DSpace update.

* Call index-discovery in the docker-compose-ci.yml instead of `cli.assetstore.yml` because it is not run from the `cli.assetstore.yml`

* Commented out the `login-modal.cy.ts` because the CLARIN-DSpace has different login

* Commented out the accessibility violations in the `my-dspace.cy.ts`

* Fixed calling indexing of the solr

* Commented community statistics menu from the `community-statistics.cy` integration test

* Commented out the search navbar tests

* Login and language flags was covered by the menu navbar - I updated z-index

* Commented out item-page accessibility tests

* Updated submission.cy.ts process - license granting

* Commented out the item statistics menu test

* Commented out the accessibility tests

* Added missing .env properties into `cypress`

* Fixed failing IT

---------

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
Co-authored-by: Sergio Fernández Celorio <sfernandez@arvo.es>
Co-authored-by: Hugo Dominguez <hugo@escire.lat>
Co-authored-by: Alan Orth <alan.orth@gmail.com>
Co-authored-by: Nona Luypaert <nona.luypaert@atmire.com>
Co-authored-by: Kristof De Langhe <kristof.delanghe@atmire.com>
Co-authored-by: José Carvalho <jnsc@ua.pt>
Co-authored-by: Sascha Szott <szott@gmx.de>
Co-authored-by: Alexandre Vryghem <alexandre@atmire.com>
Co-authored-by: Mark H. Wood <mwood@iu.edu>
Co-authored-by: Yana De Pauw <yana@atmire.com>
Co-authored-by: Art Lowel <art.lowel@gmail.com>
Co-authored-by: DSpace Bot <68393067+dspace-bot@users.noreply.github.com>
Co-authored-by: Hrafn Malmquist <hrafn.malmquist@gmail.com>
Co-authored-by: imilos <imilos@gmail.com>
Co-authored-by: Andrea Barbasso <´andrea.barbasso@4science.com´>
Co-authored-by: Davide Negretti <davide.negretti@4science.com>
Co-authored-by: Yury Bondarenko <ybnd@tuta.io>
Co-authored-by: Marie Verdonck <maria.verdonck@atmire.com>
Co-authored-by: Janne Jensen <micrograph@posteo.de>
Co-authored-by: Pascal-Nicolas Becker <pnbecker@users.noreply.github.com>
Co-authored-by: Jens Vannerum <jens.vannerum@atmire.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gantner, Florian Klaus <florian.gantner@uni-bamberg.de>
Co-authored-by: Agustina Martinez <am857@cam.ac.uk>
Co-authored-by: Eike Martin Löhden <eike.loehden@ub.uni-marburg.de>
Co-authored-by: Marco Aurelio Cardoso <marcoaurelio.cardoso@gmail.com>
Co-authored-by: Alisa Ismailati <alisa.ismailati@atis.al>
Co-authored-by: Alisa Ismailati <alisa.ismailati@4science.com>
Co-authored-by: Giuseppe Digilio <giuseppe.digilio@4science.com>
Co-authored-by: William Welling <wwelling@tamu.edu>
Co-authored-by: Andreas Mahnke <andreas.mahnke@leuphana.de>
Co-authored-by: lotte <lotte_hofstede@hotmail.com>
Co-authored-by: Paulo Graça <paulo1978@gmail.com>
Co-authored-by: Vlad Nouski <uladzislau.nouski@4science.com>

* Update docker.yml (#452)

It was run only for `dspace` repository

* The BE was started without instance (#453)

* Copying of solr configs were missing from the docker-compose-rest (#454)

* configured path (#455)

try to append server/ to test gh action

* Internal/run container in production mode (#456)

* Added NODE_ENV=production because the container is trying to run in development mode

* Use Vanilla dspace-ui.json instead of ours from root.

* Updated path for running `dspace-ui.json`

* Use ENV - production in the dspace-ui.json (#457)

* The docker-compose-rest has defined network which is not the same like in the cli.yml - it throws an error (#458)

* Update deploy.yml (#459)

Allowed S3

* Update deploy.yml (#461)

Use .env file from the dev5 instead of createing a new one in the github action

* Update deploy.yml (#462)

Working directory was missing

* ufal/cannot-login-after-upgrade

Merge pull request DSpace#2731 from DSpace/backport-2670-to-main (#512)

[Port main] Ensure HALEndpointService doesn't use stale responses

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>

* ufal/cannot-load-user-metadata

Added searchData because it was null (#514)

* ufal/license-agreement-multiple-records (#516)

* Load required input fields only if are loaded user metadata or the user is anonymous

* Added ID into ClarinUserRegistration model

* Added a search method in the userMetadataService

* The filtered user metadata are loaded from the BE

* internal/update-deploy-s3-props (#448)

* Update deploying customer/uk - there weren't right S3 properties.

* ufal/discojuice-not-popped-up (#515)

* Use cookie to popup discojuice login.

* Added Cookie Service into tests

* Close discojuice if it is popped up

* Do not import commands in the constants file.

* commands must be imported in the e2e.ts

* ufal/search-page-without-results (#517)

* Use ClarinSearch instead of Vanilla one - updated themed component

* Added updates from the vanilla upgrade into clarin-search.component.ts

* Removed empty my-dspace file

* Maybe IT will be passed with vanilla search component

* Fixed my-dspace integration tests, they failed because the clarin-search was filtering only Items and integration tests exceted publication and other types

* Do not close discojuice login if it is not popped up

* internal/fix-deploy-s3-props

* ufal/s3-checksum-improvements (#518)

* Do not compute checksum on null object..

* The checksum is computed only after the download button is clicked.

* Added tests to check the checksum won't be loaded on init

* Fixed accidentally updated message key

* add information about modified entrypoint (#520)

* add information about modified entrypoint

* accept jm's suggestion

Co-authored-by: Jozef Misutka <332350+vidiecan@users.noreply.github.com>

---------

Co-authored-by: Jozef Misutka <332350+vidiecan@users.noreply.github.com>

* correct branches for main gh actions

* Internal/rework actions (#523)

* no longer needed gh action

* deploy after images not working

* five is five!

* corrected indent

* removed unused action

* is it plane? is it duck? is it string?

* same repo needs other syntax?

* run, not runs

* this if is wrong

* just inputs, not github.event.inputs

* correct inputs to gh actions

* full build and fixed deploy.yml

* last polish

* final v2

* ipranges must also be separated by instance number (#522)

* internal/discojuice-missing-port

Do not ignore port when connecting to Shibboleth.SSO (#524)

* make deploy action work (#525)

* Fix erase options on deploy (#526)

* condify the erase_db

* remove wrong comment

* remove useless line

* rm unused import action (#527)

* add version to FE + improve build action (#528)

* python script for version

* reworked build

* correct dependency on deploy job

* tmp different branch

* correct tmp different branch

* correct tmp different branch as well

* merge-ready branches

* formatting

* Fix all mistakes in the /home page (#529)

* Fix Catalogue message in the header navbar to Catalog

* The Lindat icon in the header must be stored in our assets, not from the current lindat page

* Do not redirect to /home page after click on lindat icon in the navbar

* Downloaded clarin icons instead of fetching them from lindat page. Changed routerLink to absolute https://lindat.mff.cuni.cz/ path.

* The user is redirected to the search page after click on Enter - only if there is some value in the input.

* After click on Lindat icon on the navbar menu the user will be redirected into /home page for better develoment using

* Override the search classes for the home page from the global styles because ::ng-deep is deprecated

* Our custom search is replaced by vanilla search component

* Added `Description` translation into clarin-item-box-view.component

* The item name should be underscored in the item-view-box.component

* The space should not be in the author string before `;` separator

* Show correct message if the item contains one file.

* Added `and` translation into authors in the item-view-box.component

* Added `Show everyone` translation into authors in the item-view-box.component

* Do not cut links in the fast search in the home page

* Updated fast search links to be correctly responsive

* Removed unused css class

* Added `... View More` browsing filter button

* Do not redirect to home page after click on `Please help, I cannot find my provider` in the discojuice

* Added RSS feed button to the home page

* Show image for every item type in the item view box

* Do not overlay text on the item type icon

* View More message in the fast search should be in the new row

* Item view box already show more than 20 files info

* Fixed linting mistake - import breadcrumbs

* update job name - removed 5 instance

---------

Co-authored-by: MajoBerger <88670521+MajoBerger@users.noreply.github.com>
Co-authored-by: Jozef Misutka <332350+vidiecan@users.noreply.github.com>
Co-authored-by: jm <jm@maz>
Co-authored-by: MajoBerger <marian.berger@dataquest.sk>
Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
Co-authored-by: Sergio Fernández Celorio <sfernandez@arvo.es>
Co-authored-by: Hugo Dominguez <hugo@escire.lat>
Co-authored-by: Alan Orth <alan.orth@gmail.com>
Co-authored-by: Nona Luypaert <nona.luypaert@atmire.com>
Co-authored-by: Kristof De Langhe <kristof.delanghe@atmire.com>
Co-authored-by: José Carvalho <jnsc@ua.pt>
Co-authored-by: Sascha Szott <szott@gmx.de>
Co-authored-by: Alexandre Vryghem <alexandre@atmire.com>
Co-authored-by: Mark H. Wood <mwood@iu.edu>
Co-authored-by: Yana De Pauw <yana@atmire.com>
Co-authored-by: Art Lowel <art.lowel@gmail.com>
Co-authored-by: DSpace Bot <68393067+dspace-bot@users.noreply.github.com>
Co-authored-by: Hrafn Malmquist <hrafn.malmquist@gmail.com>
Co-authored-by: imilos <imilos@gmail.com>
Co-authored-by: Andrea Barbasso <´andrea.barbasso@4science.com´>
Co-authored-by: Davide Negretti <davide.negretti@4science.com>
Co-authored-by: Yury Bondarenko <ybnd@tuta.io>
Co-authored-by: Marie Verdonck <maria.verdonck@atmire.com>
Co-authored-by: Janne Jensen <micrograph@posteo.de>
Co-authored-by: Pascal-Nicolas Becker <pnbecker@users.noreply.github.com>
Co-authored-by: Jens Vannerum <jens.vannerum@atmire.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gantner, Florian Klaus <florian.gantner@uni-bamberg.de>
Co-authored-by: Agustina Martinez <am857@cam.ac.uk>
Co-authored-by: Eike Martin Löhden <eike.loehden@ub.uni-marburg.de>
Co-authored-by: Marco Aurelio Cardoso <marcoaurelio.cardoso@gmail.com>
Co-authored-by: Alisa Ismailati <alisa.ismailati@atis.al>
Co-authored-by: Alisa Ismailati <alisa.ismailati@4science.com>
Co-authored-by: Giuseppe Digilio <giuseppe.digilio@4science.com>
Co-authored-by: William Welling <wwelling@tamu.edu>
Co-authored-by: Andreas Mahnke <andreas.mahnke@leuphana.de>
Co-authored-by: lotte <lotte_hofstede@hotmail.com>
Co-authored-by: Paulo Graça <paulo1978@gmail.com>
Co-authored-by: Vlad Nouski <uladzislau.nouski@4science.com>
milanmajchrak added a commit to dataquest-dev/dspace-angular that referenced this issue Mar 20, 2024
* by default only deploy to INSTANCE=5

* give more time for postgres init

* add even more time

* Update action.yml (#405)

Run import from main branch

* ufal/fe-update-json-messages

Added missing tranlates and updated messages after running the script

* ufal/fe-initiated-login-not-redirecting-from-collection

Redirect to login with `redirectUrl` param because it is lost after click on `local` login button. (#404)

* [devOps] add dspace commands after import

* ufal/fe-add-default-static-pages (#406)

* Added static pages from the lindat git

* Fixed redirection and created safeHtml pipe.

* Could redirect out of namespace url, small refactoring.

* Updated tests.

* Added images into the static pages.

* ufal/fe-shibboleth-validate-emails

* Encoded query params (#407)

* placeholder configs to be mounted into docker

* change entrypoint so that containers has less logs and restarts (#412)

* ufal/fe-get-user-ip-address (#420)

* The clients IP address is fetched from the BE API.

* Replace LegacyBitstreamUrlResolver by BitstreamBreadcrumbResolver because the first one throws errors to the console.

* ufal/fe-fix-static-page-redirect (#421)

* Fixed static page redirects.

* Refactored processing links.

* ufal/fe-download-bitstream-back-to-item (#423)

* Separated toggling of DiscoJuice popup from the workign with redirect URL

* The downloading page is loaded before downloading.

* Login redirect works.

* Removed storing cookies in the aai.js

* ufal/fe-oversized-file-upload-message (#424)

* If the file exceeds the upload max file size the uploading will be stopped before starting and the user will see proper error message.

* Fixed unit tests - added configurationDataService

* ufal/fe-item-view-license-box (#427)

* Do not show licenses if the Item doesn't have any file.

* ufal/fe-email-restricted-download (#430)

* ClarinAuthorization passed, but vanilla not because of vanilla check - I added dtoken into vanilla authorization url and because of that the vanilla authorization will be passed.

* Added message for the expiration token message - it was hardcoded.

* ufal/fe-not-show-shib-welcome-page

* Loaded property from the cfg and check if the page with idp attributes could be showed up. If not redirect the user to the home page. (#431)

* ufal/fe-s3-customization (#428)

* The admin could see in the bitstream admin UI if the bitstream is stored in both storages (S3, local).

* Fixed failing unit test - updated columnSizes object

* ufal/curate-translation-missing

Added curate collection edit translation and curation task name. (#434)

* ufal/upload-on-first-attempt-fix (#435)

* Moved file size limit into FileUploader options and handled Upload cancelation.

* Check that uploading is successful

* ufal/fe-show-checksum-result (#432)

* BitstreamChecksum values are fetched and parsed from the BE

* Checksum info is showed up.

* Added messages and translations.

* Added docs and refactored code

* Fixed failing tests

* Fixed wrong czech translations.

* ufal/shibboleth-redirect-from-login (#433)

* Send redirectUrl param to the IdP in the target url

* The code is updated to be more readable.

* internal/increase-server-memory-limit (#411)

* Update docker-compose-rest.yml

Increase memory limit to 4GB

* Load JAVA_OPTS from the .env file.

* ufal/shibboleth-encode-redirecturl (#438)

* Compose redirectURL if the redirection is initiated from the login page and encode that URL because server cannot process decoded URL.

* Removed unused getCookie method.

* Updated if condition - it was made more readable

* Avoid accessing an out-of-bounds index in the split question marks array.

* internal/fix-failing-it (#437)

* Fixed integration tests - updated login via form - closed discojuice login. Updated licenses path to `licenses/manage-table`

* Cancel discojuice if it is popped up in the tombstone test

* internal/docker-remove-orphans (#439)

* Removed --remove-orphans flag because it doesn't have any effect.

* internal/update-config

* Copied missing parts from TUL:config/config.yml (#441)

* internal/fe-upgrade-clarin-dspace-7.6 (#450)

* Fix accessibility of date sliders by adding aria-labels

(cherry picked from commit 2a88179)

* Minor fixes to cypress tests

(cherry picked from commit 70a7bbe)

* Fix heading order accessibility issue in search filters/facets

(cherry picked from commit 276d808)

* Spanish translation updated to 7.6

(cherry picked from commit 4cc4192)

* Some lint errors fixed

(cherry picked from commit 1885638)

* 🐛 fix when navbar expands on firefox

(cherry picked from commit 6070672)

* 🐛 Fix Value of dropdown changes automatically on item submission page

(cherry picked from commit 6513059)

* ✅change test event, click by mousedown on dynamic-scrollable-dropdown.component.spec.ts

(cherry picked from commit 25479e1)

* config/config.example.yml: fix example syntax

As of DSpace Angular 7.2 the syntax has changed from TypeScript to
YAML.

(cherry picked from commit 9e46b53)

* Fix VocabularyTreeview not updating + i18n for nsi

(cherry picked from commit b5a70e8)

* 104189: Allow CSV export on related entity search

(cherry picked from commit cac1407)

* 104189: CSV export add fixedFilter

(cherry picked from commit 45ad5f7)

* Minor pt-PT translation fixes

(cherry picked from commit a6c1120)

* remove redundant cache default values from server.ts

(cherry picked from commit e53abcb)

* 🚸remove thumbnail from file-upload section and show bitstream format and checksum

(cherry picked from commit 4c8ec8a)

* 🎨revert unnecessary format

(cherry picked from commit 13e4052)

* Update workspaceitem-section-upload-file.model.ts

Fix code comment

(cherry picked from commit 01c8a4d)

* ♻️ refactor chain of observables to avoid async issues

(cherry picked from commit 2dc9fd4)

* 🐛 fix bug of caching when add new schema

(cherry picked from commit 9fb9e58)

* 🎨 revert format

(cherry picked from commit 3e5524d)

* Fix innerText still being undefined in ssr mode

* Correct text of help info on edit group page

(cherry picked from commit 4924743)

* Graceful shutdown on SIGINT (e.g. from 'pm2 stop').

(cherry picked from commit 6709c3b)

* Properly await termination.

(cherry picked from commit 4449737)

* Document a modified method as required by PR guidelines.

(cherry picked from commit bf9b2b8)

* 106974: Angular SSR menu issues

* src/app/shared/search: don't capitalize metadata values

Don't capitalize metadata values for display purposes.

* fix issue where more than one api call was made on every route change

* fix issue where invalidateRootCache didn't happen when the page first loaded

* remove obsolete label element in metadata-schema.component.html

(cherry picked from commit 6847c30)

* removed trailing whitespaces as suggested by reviewer

(cherry picked from commit 43f19e7)

* [Port dspace-7_x] Update fi.json5 (DSpace#2516)

* Update fi.json5

Two last translations to the Finnish file.

(cherry picked from commit c3a908b)

* Fix routes not working with baseHref

(cherry picked from commit 18febff)

* [Port dspace-7_x] Serbian (Latin) translation (DSpace#2520)

* Serbian (latin) translation added.

---------

Co-authored-by: imilos <imilos@gmail.com>

* [Port dspace-7_x] Fix missing or wrong Italian translations (DSpace#2522)

[DURACOM-184] fix missing or wrong Italian translations

---------

Co-authored-by: Andrea Barbasso <´andrea.barbasso@4science.com´>

* fix dev mode issue where retrieving the login options fails

* roll back unintended change to the responseMsToLive for RootDataservice

* [DURACOM-185] Fix pointer on language dropdown menu

(cherry picked from commit 6b5708c)

* Move subscription button to DSO edit menu

(cherry picked from commit c955816)

* Update DSO edit menu resolver tests

- Abstract away the different "subsections" ~ DSO type (the tests should not care about this)
  Instead, retrieve sections of interest by ID & assert whether they're there & how they should look
- Test separately for Communities, Collections & Items
- Test newly added menu section

(cherry picked from commit 18b7a9c)

* Issue#2535: Hide add more button in submission if no disabled sections

* translate community as 'Bereich' in de.json5

(cherry picked from commit 0139670)

* Fix browse by visual bug

(cherry picked from commit d0b4e15)

* Bump postcss from 8.4.23 to 8.4.31

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.23 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.23...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 3c5079e)

* check cssRules existence before css variables are get from stylesheet

(cherry picked from commit 367cda2)

* checkstyle remove unused extra lines

(cherry picked from commit 5f8a9de)

* 107664: Normalized ePerson & group edit url and moved error message to translation file

* Bump @babel/traverse from 7.21.4 to 7.23.2

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.4 to 7.23.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.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 97f7a5e)

* Revert "Check cssRules before css variables are read from stylesheet (DSpace#2454)"

This reverts commit fa79c35.

(cherry picked from commit 6f73b65)

* Update email-request-copy.component.html

Message is optional: remove req in [disabled]

(cherry picked from commit 94c756d)

* Fix RequestService test failing because of different lastUpdated time

(cherry picked from commit fb31533)

* Use gap instead of individual paddings for header icons

(cherry picked from commit 9f2a1d0)

* Themed LangSwitchComponent

(cherry picked from commit f9b4460)

* Applied same gap between header icons in the dspace theme and made the search field non-focusable when collapsed

(cherry picked from commit 58d31dd)

* Fixed invalid html structure the ExpandableNavbarSectionComponent had an ul tag containing non-li tags

(cherry picked from commit fa56d5d)

* Added Serbian cyrilic translation and corrected Serbian latin translation.

(cherry picked from commit ad12e5a)

* Added Serbian cyrilic translation and corrected Serbian latin translation.

(cherry picked from commit aa9e12d)

* Merge branch 'fix-display-order-authentication-methods_contribute-7.4' into fix-display-order-authentication-methods_contribute-7.6

# Conflicts:
#	src/app/shared/log-in/log-in.component.html
#	src/app/shared/log-in/log-in.component.ts

* Added themed-user-menu component.

* Corrected missing semicolon.

* Replaced tags for ds-user-menu.

* Included user-menu component in custom theme.

* Removed default value from inExpandableNavbar.

* [DURACOM-190] Fix i18n labels in vocabulary-treeview

(cherry picked from commit b321d6f)

* [DURACOM-190] Fix alignment in vocabulary-treeview

(cherry picked from commit feb2b2b)

* allow to insert multi-line scope notes in MD field registry

(cherry picked from commit 5bc5dd8)

* Added support for changing the color of the navbar

(cherry picked from commit f6649e1)

* Fixed header bg color not being set in default (no) theme

(cherry picked from commit 14b1ce5)

* Fixed breadcrumb padding using incorrect syntax

(cherry picked from commit 6c48238)

* Added new variables for the expandable navbar section

(cherry picked from commit 2ca2a38)

* New themed components & minor CSS fixes (DSpace#2442)

* 100839: Created themeable BrowseByComponent

* 100839: Added themed BrowseByComponent to custom theme

* 100839: Added themed BrowseEntryListElementComponent to custom theme

* Added PersonComponent to custom theme

* Themed LogInComponent

* Fix focus on navbar using different color

* Fix ccLicense checkbox margin

* Fix long search facets name not displaying correctly

* Removed RecentItemListComponent's unnecessary float causing alignment issues when adding components underneath it

* Themed RegisterEmailFormComponent

* more error-prone check of cssRules existence before css variables are get from stylesheet

check the existence off cssRules property before the variables are readed from this stylesheet
DSpace#2450

(cherry picked from commit 4dd334f)

* fix(pt-BR.json5): fix and update the language file

Fix and update the pt-BR language file

* fix(pt-BR.json5): fix and update the language file and previous errors

Fix and update the pt-BR language file and the previous errors

* Merged in DSC-106 (pull request DSpace#643)

[DSC-106] Date input usable via keyboard using tab

Approved-by: Vincenzo Mecca
(cherry picked from commit 543b4ad)

* [DURACOM-194] fixed year input value on input type date

(cherry picked from commit c412c1f)

* Ensure e2e tests run in production mode

(cherry picked from commit 7dcaae8)

* Specify user agent to avoid being detected as a "bot" by backend

(cherry picked from commit 72cda41)

* [DURACOM-177] gap-* classes

(cherry picked from commit 930a381)

* [DURACOM-177] Use gap-* classes on navbar buttons

(cherry picked from commit a356295)

* [DURACOM-197] Fix cache issue when depositing a submission

(cherry picked from commit f992ff6)

* Add UI nameSpace context path to Mirador viewer path

(cherry picked from commit 3228c45)

* 108055: fix issue 8686: unable to enter freetext values in the submission form for vocabulary

(cherry picked from commit 0dcf6cb)

* 108055: add user input to tag list

(cherry picked from commit aac58e6)

* Support type-bind of elements based on repeatable list type-bound element (CHECKBOX_GROUP)

(cherry picked from commit 09aaa46)

* [DURACOM-195] Simplify vertical spacing in header and breadcrumbs

(cherry picked from commit a3e6d9b)

* [DURACOM-180] Prevent header from covering media viewer controls (dspace theme)

(cherry picked from commit 0208a78)

* [DURACOM-180] Prevent header from covering media viewer controls (base theme)

(cherry picked from commit c042cd8)

* Update condition to render show more node

`loadingNode` ends up being the current `node` after clicking it preventing it from rendering when more pages available.

Update community list component spec

Make the show more flat node id unique

The nodes with same id are conflicting when added to the tree. Clicking on the second with same id places the show more button under the wrong branch and expands the wrong page.

(cherry picked from commit 11d3771)

* Filter expanded nodes by id

Co-Authored-By: Art Lowel <1567693+artlowel@users.noreply.github.com>
(cherry picked from commit dc2ef98)

* Added skip to main content button

* Limit getMembers() and getSubgroups() to only fetching one object. These lists are only used to find the size of each

(cherry picked from commit 0da7c15)

* Remove isSubgroupOfGroup() functionality as it loads every subgroup at once. Bad peformance for large groups

(cherry picked from commit 97479a2)

* Fix bug where linked Community/Collection info was sometimes listed many times in a row

(cherry picked from commit 2292366)

* Remove "isMemberOfGroup()" from members-list component.

(cherry picked from commit 43d3719)

* Remove unnecessary EpersonDtoModel. Rework code and tests to use EPerson instead.

(cherry picked from commit bffae54)

* Also remove unnecessary EpersonDtoModel from extending ReviewersListComponent. Remove "memberOfGroup" from EpersonDtoModel as it is no longer used

(cherry picked from commit b598f1b)

* Fix subgroups-list specs so they align with new members-list specs

(cherry picked from commit 64f968b)

* Refactor members-list and subgroups-list components to use new isNotMemberOf endpoints (via services)

(cherry picked from commit 8a10888)

* Refactor subgroups-list component's "search()" to act same as member-list component's "search()". Avoids reloading the page as frequently.

(cherry picked from commit 2eb1a17)

* Remove seemingly unnecessary page reload after new search.

(cherry picked from commit d163db1)

* Address feedback. Run empty search on init. Reorder sections to list current members before add members (for both eperson and groups)

(cherry picked from commit 9117ac0)

* Bump axios from 0.27.2 to 1.6.0

Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v0.27.2...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit ef9f31d)

* 108045: Fix for repeatable date field labels

* Fixed test

* Fix handle redirect not working with custom nameSpace

(cherry picked from commit b894dce)

* adding new access-status-list-element-badge css classes

(cherry picked from commit e847e4e)

* Create new access-status-badge.component.scss

(cherry picked from commit 3bf2eb1)

* new accessStatusClass atribute

(cherry picked from commit 6378dbe)

* remove replaceAll and use an object property

(cherry picked from commit c7eae92)

* adding ngOnDestroy for dealing with unsubscribe

(cherry picked from commit 75b788d)

* 107671: Fix handle theme not working with canonical prefix https://hdl.handle.net/

(cherry picked from commit a7faf7d)

* 107671: Split Theme model & ThemeConfig classes in separate files to prevent circular dependencies

(cherry picked from commit da8880e)

* 107671: Fixed bug where config property would still sometimes be undefined whey calling the ngOnDestroy in the ThemedComponent

(cherry picked from commit 4e54cca)

* 107671: Fixed theme matching by handle not working in production mode

(cherry picked from commit 7529ed8)

* [DURACOM-202] feature: item edit pages are accessible by administrator

(cherry picked from commit ccf1cc4)

* [DURACOM-202] refactor: code

(cherry picked from commit b6d515f)

* [DURACOM-202] refactor: code

(cherry picked from commit 6f64db1)

* fix: random order of buttons in status tab

(cherry picked from commit 35f8b55)

* refactor: code

(cherry picked from commit fbbbc18)

* 107685: menu-component re-render section on store update

* 107902: Created test case for 2f26e68

* Update version tag for release

* Fixed lint errors

* Fixed compilation errors which were created by mistakes from upgrade

* Fixed wrong resolved conlicts for test files and copied yarn.lock from the dspace761 image

* Update charts, toggle dependencies in the package.json

* updated yarn.lock - from 7.6.1 and run yarn install

* Revert "updated yarn.lock - from 7.6.1 and run yarn install"

This reverts commit 2dabb71.

* updated yarn.lock - from 7.6.1 and run yarn install

* Fixed lint errors

* Fixed semicolon lint error.

* update clarin item statistics

* After deleting `.browserlistrc` the errors are gone.. that file is totally empty, it isn't into Vanilla 7.6. and makes me so many problems..
ReactiveX/rxjs#5976

* Fixed clarin-zip-download-page.component.spec.ts tests - if payload was null it throws an error

* Fixed section-form.component.spec.ts tests - delay was missing in tests and some duplicate of the code has occurred.

* Checkout vocabulary-treeview.component.html file because it was removed during resolving conflicts.

* Updated router.mock.ts - one method was missing from clarin routerstub

* Fixed log-in-password.component.spec.ts - authService was used in the wrong way

* Removed set timeout in tests `section-form.component.spec.ts`

* Removed duplicate cypress config file

* Updated complex input field test

* spy on reinitializeForm method

* Fixed warn in the `bypassSecurityTrustResourceUrl` when the url contains `undefined`

* Removed `id` - it doesn't help in the failing tests.

* Commented out failing tests.

* Renamed integration test names following a new cypress version.

* WorkspaceitemsEditPage resolver was missing.

* Removed green line from the navbar.

* Fixed crossing home page into nav and footer.

* Fixed home page to the navbar and footer

* Added missing messages into en.json

* `my-cs` main content must be used, I updated margin of home page

* Updated padding between language flags

* Show license type in the default grey color in the item view box

* Updated license selector padding and colors

* Do not show empty item type box in the item view box

* The sponsor values are showed in the Item View.

* Added unit tests for testing showing of the Acknowledgement

* Added messages for the acknowledgement component.

* Fixed lint errors from the `cs.json5`

* Added translate module into clarin-sponsor-item-field.component.spec.ts because it was missing

* Updated IT database dump - a DB was updated by Vanilla

* Fixed `collection-statistics.cy.ts` test, it wanted to see `menu` option which was removed in the CLARIN-DSpace update.

* Call index-discovery in the docker-compose-ci.yml instead of `cli.assetstore.yml` because it is not run from the `cli.assetstore.yml`

* Commented out the `login-modal.cy.ts` because the CLARIN-DSpace has different login

* Commented out the accessibility violations in the `my-dspace.cy.ts`

* Fixed calling indexing of the solr

* Commented community statistics menu from the `community-statistics.cy` integration test

* Commented out the search navbar tests

* Login and language flags was covered by the menu navbar - I updated z-index

* Commented out item-page accessibility tests

* Updated submission.cy.ts process - license granting

* Commented out the item statistics menu test

* Commented out the accessibility tests

* Added missing .env properties into `cypress`

* Fixed failing IT

---------

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
Co-authored-by: Sergio Fernández Celorio <sfernandez@arvo.es>
Co-authored-by: Hugo Dominguez <hugo@escire.lat>
Co-authored-by: Alan Orth <alan.orth@gmail.com>
Co-authored-by: Nona Luypaert <nona.luypaert@atmire.com>
Co-authored-by: Kristof De Langhe <kristof.delanghe@atmire.com>
Co-authored-by: José Carvalho <jnsc@ua.pt>
Co-authored-by: Sascha Szott <szott@gmx.de>
Co-authored-by: Alexandre Vryghem <alexandre@atmire.com>
Co-authored-by: Mark H. Wood <mwood@iu.edu>
Co-authored-by: Yana De Pauw <yana@atmire.com>
Co-authored-by: Art Lowel <art.lowel@gmail.com>
Co-authored-by: DSpace Bot <68393067+dspace-bot@users.noreply.github.com>
Co-authored-by: Hrafn Malmquist <hrafn.malmquist@gmail.com>
Co-authored-by: imilos <imilos@gmail.com>
Co-authored-by: Andrea Barbasso <´andrea.barbasso@4science.com´>
Co-authored-by: Davide Negretti <davide.negretti@4science.com>
Co-authored-by: Yury Bondarenko <ybnd@tuta.io>
Co-authored-by: Marie Verdonck <maria.verdonck@atmire.com>
Co-authored-by: Janne Jensen <micrograph@posteo.de>
Co-authored-by: Pascal-Nicolas Becker <pnbecker@users.noreply.github.com>
Co-authored-by: Jens Vannerum <jens.vannerum@atmire.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gantner, Florian Klaus <florian.gantner@uni-bamberg.de>
Co-authored-by: Agustina Martinez <am857@cam.ac.uk>
Co-authored-by: Eike Martin Löhden <eike.loehden@ub.uni-marburg.de>
Co-authored-by: Marco Aurelio Cardoso <marcoaurelio.cardoso@gmail.com>
Co-authored-by: Alisa Ismailati <alisa.ismailati@atis.al>
Co-authored-by: Alisa Ismailati <alisa.ismailati@4science.com>
Co-authored-by: Giuseppe Digilio <giuseppe.digilio@4science.com>
Co-authored-by: William Welling <wwelling@tamu.edu>
Co-authored-by: Andreas Mahnke <andreas.mahnke@leuphana.de>
Co-authored-by: lotte <lotte_hofstede@hotmail.com>
Co-authored-by: Paulo Graça <paulo1978@gmail.com>
Co-authored-by: Vlad Nouski <uladzislau.nouski@4science.com>

* Update docker.yml (#452)

It was run only for `dspace` repository

* The BE was started without instance (#453)

* Copying of solr configs were missing from the docker-compose-rest (#454)

* configured path (#455)

try to append server/ to test gh action

* Internal/run container in production mode (#456)

* Added NODE_ENV=production because the container is trying to run in development mode

* Use Vanilla dspace-ui.json instead of ours from root.

* Updated path for running `dspace-ui.json`

* Use ENV - production in the dspace-ui.json (#457)

* The docker-compose-rest has defined network which is not the same like in the cli.yml - it throws an error (#458)

* Update deploy.yml (#459)

Allowed S3

* Update deploy.yml (#461)

Use .env file from the dev5 instead of createing a new one in the github action

* Update deploy.yml (#462)

Working directory was missing

* ufal/cannot-login-after-upgrade

Merge pull request DSpace#2731 from DSpace/backport-2670-to-main (#512)

[Port main] Ensure HALEndpointService doesn't use stale responses

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>

* ufal/cannot-load-user-metadata

Added searchData because it was null (#514)

* ufal/license-agreement-multiple-records (#516)

* Load required input fields only if are loaded user metadata or the user is anonymous

* Added ID into ClarinUserRegistration model

* Added a search method in the userMetadataService

* The filtered user metadata are loaded from the BE

* internal/update-deploy-s3-props (#448)

* Update deploying customer/uk - there weren't right S3 properties.

* ufal/discojuice-not-popped-up (#515)

* Use cookie to popup discojuice login.

* Added Cookie Service into tests

* Close discojuice if it is popped up

* Do not import commands in the constants file.

* commands must be imported in the e2e.ts

* ufal/search-page-without-results (#517)

* Use ClarinSearch instead of Vanilla one - updated themed component

* Added updates from the vanilla upgrade into clarin-search.component.ts

* Removed empty my-dspace file

* Maybe IT will be passed with vanilla search component

* Fixed my-dspace integration tests, they failed because the clarin-search was filtering only Items and integration tests exceted publication and other types

* Do not close discojuice login if it is not popped up

* internal/fix-deploy-s3-props

* ufal/s3-checksum-improvements (#518)

* Do not compute checksum on null object..

* The checksum is computed only after the download button is clicked.

* Added tests to check the checksum won't be loaded on init

* Fixed accidentally updated message key

* add information about modified entrypoint (#520)

* add information about modified entrypoint

* accept jm's suggestion

Co-authored-by: Jozef Misutka <332350+vidiecan@users.noreply.github.com>

---------

Co-authored-by: Jozef Misutka <332350+vidiecan@users.noreply.github.com>

* correct branches for main gh actions

* Internal/rework actions (#523)

* no longer needed gh action

* deploy after images not working

* five is five!

* corrected indent

* removed unused action

* is it plane? is it duck? is it string?

* same repo needs other syntax?

* run, not runs

* this if is wrong

* just inputs, not github.event.inputs

* correct inputs to gh actions

* full build and fixed deploy.yml

* last polish

* final v2

* ipranges must also be separated by instance number (#522)

* internal/discojuice-missing-port

Do not ignore port when connecting to Shibboleth.SSO (#524)

* make deploy action work (#525)

* Fix erase options on deploy (#526)

* condify the erase_db

* remove wrong comment

* remove useless line

* rm unused import action (#527)

* add version to FE + improve build action (#528)

* python script for version

* reworked build

* correct dependency on deploy job

* tmp different branch

* correct tmp different branch

* correct tmp different branch as well

* merge-ready branches

* formatting

* Fix all mistakes in the /home page (#529)

* Fix Catalogue message in the header navbar to Catalog

* The Lindat icon in the header must be stored in our assets, not from the current lindat page

* Do not redirect to /home page after click on lindat icon in the navbar

* Downloaded clarin icons instead of fetching them from lindat page. Changed routerLink to absolute https://lindat.mff.cuni.cz/ path.

* The user is redirected to the search page after click on Enter - only if there is some value in the input.

* After click on Lindat icon on the navbar menu the user will be redirected into /home page for better develoment using

* Override the search classes for the home page from the global styles because ::ng-deep is deprecated

* Our custom search is replaced by vanilla search component

* Added `Description` translation into clarin-item-box-view.component

* The item name should be underscored in the item-view-box.component

* The space should not be in the author string before `;` separator

* Show correct message if the item contains one file.

* Added `and` translation into authors in the item-view-box.component

* Added `Show everyone` translation into authors in the item-view-box.component

* Do not cut links in the fast search in the home page

* Updated fast search links to be correctly responsive

* Removed unused css class

* Added `... View More` browsing filter button

* Do not redirect to home page after click on `Please help, I cannot find my provider` in the discojuice

* Added RSS feed button to the home page

* Show image for every item type in the item view box

* Do not overlay text on the item type icon

* View More message in the fast search should be in the new row

* Item view box already show more than 20 files info

* Fixed linting mistake - import breadcrumbs

* longer deploy limit

* wrongly commited file

* introduce release pipeline 

add run link to VERSION_D.html
comment sourceversion script so that future programmers hate me less
add tag-release workflow
correct old mistakes that were found underway

* add necessary attribute to release-action

* warning comment for erase-db action

* correct support images while testing (solr) (#534)

only solr was changed, since PG remains the original one, as is the case on upstream
INSTANCE was added so that cli connects to the correct DB

* fix ipranges in docker composes (#536)

removed redundant network spec, added config from upstream

* Create create_bitstreams.yml

* fix a bad save

* Fixed all mistakes in the Item View page (#532)

* Redirect the user to the new browser page after click on featured service.

* Show dropdown options in the featured services button - it was not working

* Added the copy button into metadata field row.

* Added missing Demo Uri metadata field

* The referenced by is a hyperlink, the translations was added and fixed overlaying of big cz translation.

* Replaced unwanted separator values in the Size metadata field. I've created a new pipe - dsReplaced

* Updated messages for the full item page redirect

* Updated metadata field translations

* Show cursor on hover in the author preview component

* Show handle and DOI identifier following the cfg.

* Show different date messages in special occurrences

* Show description with line breaks and redirection links.

* Updated language and other metadata spacing with separator.

* Added citation type to the bottom of the citation box.

* Ref box should have full width

* Fixed big spacing between metadata fields. It was because of d-inline-flex.

* The full item view page looks almost the same as in the v5.

* Make metadata values in the full item page clickable when there is a link and remove the separator `;` from the medata value.

* Show language info only for admin

* Added icons for every mimetype, that icon is showed up in the bitstream file box.

* Collection component is aligned to other metadata values.

* License info is different for CZ language and EN

* Update button and form colors

* Featured service dropdown options fixed.

* fixed failing unit tests

* Removed commented out and not used code.

* Fixed all mistakes in the Search page (#537)

* Composing of the Item's date was refactored and moved into shared service.

* The item view box was refactored. The item view box is different for the search result. The label title is triggered on mouse hover.

* Show workspace items in the `/mydspace` - there were problem with filtering `dsoTypes` in the `clarin-search.component`

* Use Vanilla file size in the Item View and search results in the item view box.

* Updated sorting option names

* Updated search filter head messages

* Defined search options in the themed-search.component.ts following CLARIN requirements.

* Default configuration list must be set to null instead of empty array, because it shows empty space.

* Use homepage configuration which contains searching by dc.date.accessioned

* Updated border in  the item view box

* Updated `Has files` filter messages

* Show Item type in the Item view from the `emd.type`

* Fixed searching by publisher.

* Added languages for `Community` and `Rights` filtering.

* Updated `Search all of DSpace` button color.

* Fixed showing license label icons when there is czech translation.

* Updated messages on sidebar search and results header.

* Updated RSS Feed description button and css

* Prettied Copy button of handle in the Item View page

* Updated favicon icon

* Update item view box: Fixed occurrences when the author is null.

* Remove `DSpace Repository ::` from the browser page title.

* Use `LINDAT/CLARIAH-CZ Repository title prefix`

* Fixed unit tests

* Fixed linting errors

* Commented out check for view options in the Search page - for CLARIN that options was disabled.

* Fixed Verify SSR - do not check if there is DSpace in the title

* Prettified the DOI metadata field - removed the DOI resolver from metadata value (#539)

* Prettify the DOI metadata field. Remove the DOI resolver from that metadata value.

* Fixed failing unit test

* Internal/fix create bitstreams (#541)

* fixed non-created admin user

* fixed order

* Show DOI in the refbox if the Item has some. (#540)

* Show authors from the `dc.contributor.other` metadata field (#544)

* Show authors from the `dc.contributor.other` metadata field

* UI - fixed small changes (#543)

* Removed duplicate author message and added `:` char into specific messages.

* Show breadcumbs full text on hover

* Fixed pinned sidebar translation

* Added missing ReplacePipe to shared module.

---------

Co-authored-by: MajoBerger <88670521+MajoBerger@users.noreply.github.com>
Co-authored-by: Jozef Misutka <332350+vidiecan@users.noreply.github.com>
Co-authored-by: jm <jm@maz>
Co-authored-by: MajoBerger <marian.berger@dataquest.sk>
Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
Co-authored-by: Sergio Fernández Celorio <sfernandez@arvo.es>
Co-authored-by: Hugo Dominguez <hugo@escire.lat>
Co-authored-by: Alan Orth <alan.orth@gmail.com>
Co-authored-by: Nona Luypaert <nona.luypaert@atmire.com>
Co-authored-by: Kristof De Langhe <kristof.delanghe@atmire.com>
Co-authored-by: José Carvalho <jnsc@ua.pt>
Co-authored-by: Sascha Szott <szott@gmx.de>
Co-authored-by: Alexandre Vryghem <alexandre@atmire.com>
Co-authored-by: Mark H. Wood <mwood@iu.edu>
Co-authored-by: Yana De Pauw <yana@atmire.com>
Co-authored-by: Art Lowel <art.lowel@gmail.com>
Co-authored-by: DSpace Bot <68393067+dspace-bot@users.noreply.github.com>
Co-authored-by: Hrafn Malmquist <hrafn.malmquist@gmail.com>
Co-authored-by: imilos <imilos@gmail.com>
Co-authored-by: Andrea Barbasso <´andrea.barbasso@4science.com´>
Co-authored-by: Davide Negretti <davide.negretti@4science.com>
Co-authored-by: Yury Bondarenko <ybnd@tuta.io>
Co-authored-by: Marie Verdonck <maria.verdonck@atmire.com>
Co-authored-by: Janne Jensen <micrograph@posteo.de>
Co-authored-by: Pascal-Nicolas Becker <pnbecker@users.noreply.github.com>
Co-authored-by: Jens Vannerum <jens.vannerum@atmire.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gantner, Florian Klaus <florian.gantner@uni-bamberg.de>
Co-authored-by: Agustina Martinez <am857@cam.ac.uk>
Co-authored-by: Eike Martin Löhden <eike.loehden@ub.uni-marburg.de>
Co-authored-by: Marco Aurelio Cardoso <marcoaurelio.cardoso@gmail.com>
Co-authored-by: Alisa Ismailati <alisa.ismailati@atis.al>
Co-authored-by: Alisa Ismailati <alisa.ismailati@4science.com>
Co-authored-by: Giuseppe Digilio <giuseppe.digilio@4science.com>
Co-authored-by: William Welling <wwelling@tamu.edu>
Co-authored-by: Andreas Mahnke <andreas.mahnke@leuphana.de>
Co-authored-by: lotte <lotte_hofstede@hotmail.com>
Co-authored-by: Paulo Graça <paulo1978@gmail.com>
Co-authored-by: Vlad Nouski <uladzislau.nouski@4science.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment