Commit Graph

9476 Commits

Author SHA1 Message Date
Yana De Pauw
d185630faa Fix issue with onClick models in dso edit menus 2022-12-06 16:20:21 +01:00
Koen Pauwels
92c7922fbe 97183 Fixed linting issues 2022-12-06 15:59:01 +01:00
Koen Pauwels
4f20d200ca 97183 Tests for MenuService.isMenuVisibleWithVisibleSections 2022-12-06 15:45:46 +01:00
Koen Pauwels
fa87b1d94e 97183 MenuResolver tests for regular user 2022-12-06 14:33:04 +01:00
Koen Pauwels
68bac1f400 97183 Hide sidebar items w/o appropriate permissions.
See https://github.com/DSpace/dspace-angular/issues/1643

Sidebar now omits "New" and/or "Edit" options in the sidebar if the user does
not have permissions to respectively create new Items or edit Items.

If this results in an empty sidebar, the sidebar is hidden in its entirety.
2022-12-06 11:30:46 +01:00
Michael Spalti
b0e4daee04 Merge branch 'main' into relation-submisssion-thumb 2022-12-05 09:51:17 -08:00
jensvannerum
c97ab80d93 Merge branch 'main' into issue-815-controlled-vocabulary-hierarchical-facets-7.4 2022-12-05 15:21:43 +01:00
Jens Vannerum
acbff2e6b4 97049: Minor refactor // adding docs 2022-12-05 15:13:13 +01:00
Jens Vannerum
569e34f869 lint fixes 2022-12-05 11:32:05 +01:00
Jens Vannerum
744b406745 Alter tests for themed modal 2022-12-05 11:20:09 +01:00
Jens Vannerum
eb15368197 97049: Clean up strings 2022-12-05 09:58:38 +01:00
Jens Vannerum
7916dada1b Theme external-source-entry-import-modal.component 2022-12-05 09:40:46 +01:00
Jens Vannerum
fb82d22509 Merge branch 'create-reference-to-themed-comp' into w2p-96062_theme-external-source-entry-import-modal-component 2022-12-05 09:18:51 +01:00
Jens Vannerum
6c0459e590 Merge remote-tracking branch 'dspace-main/main' into create-reference-to-themed-comp 2022-12-05 09:11:44 +01:00
Jens Vannerum
73aa164f0f Add missing import 2022-12-05 09:11:17 +01:00
Michael Spalti
e8dacfff1d Removed style. 2022-12-04 20:02:04 -08:00
Michael Spalti
652e941e59 Updated spec. 2022-12-03 14:04:58 -08:00
Michael Spalti
422d72e001 Fix for related item thumbnail images. 2022-12-03 13:36:52 -08:00
dependabot[bot]
7a6b835ea8 Bump decode-uri-component from 0.2.0 to 0.2.2
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-03 04:00:44 +00:00
Tim Donohue
39aee1dbb9 Merge pull request #1937 from pilasou/main
Addition of missing params
2022-12-02 12:27:20 -06:00
Tim Donohue
1215a7ee7a Fix email validation regex to use HTML5 provided regex 2022-12-02 10:08:45 -06:00
Mark H. Wood
20faa40f22 More name resolution repairs. 2022-12-02 09:24:30 -05:00
Alexandre Vryghem
6e54acddc6 97065: Check if indexableObject exists 2022-12-02 14:52:21 +01:00
Mark H. Wood
2ef78741cc Name resolution changed in Node 18 -- avoid it. 2022-12-02 08:47:01 -05:00
Jens Vannerum
099debf666 97049: Resolve lint issues 2022-12-02 14:11:41 +01:00
Jens Vannerum
aac8fea225 97049: Fix constructor issue + rework test for new functionality 2022-12-02 13:43:22 +01:00
Alexandre Vryghem
a0c3ca57d4 97065: Make the error clickable and resend request if it failed 2022-12-02 10:59:15 +01:00
Jens Vannerum
d04ac74c6f Merge remote-tracking branch 'dspaceMain/main' into issue-815-controlled-vocabulary-hierarchical-facets-7.2
# Conflicts:
#	src/app/shared/search/search-filters/search-filter/search-hierarchy-filter/search-hierarchy-filter.component.spec.ts
#	src/app/shared/search/search-filters/search-filter/search-hierarchy-filter/search-hierarchy-filter.component.ts
#	src/app/shared/vocabulary-treeview/vocabulary-treeview.component.ts
#	src/assets/i18n/en.json5
#	src/config/app-config.interface.ts
#	src/config/default-app-config.ts
#	src/environments/environment.test.ts
2022-12-02 10:45:11 +01:00
Alexandre Vryghem
4ba5eba556 95335: Display error message when DSOSelectorComponent can't successfully retrieve the next page of DSOs 2022-12-02 10:19:38 +01:00
Jens Vannerum
6ed762a8ac 97049: alter tests 2022-12-01 17:12:14 +01:00
Jens Vannerum
dd3a528c48 97049: Remove accidental focused describe 2022-12-01 16:52:50 +01:00
Jens Vannerum
472c2a1dd1 97049: Remove client structure 2022-12-01 15:34:41 +01:00
Jens Vannerum
85ccfc6ea7 97049: Remove client structure 2022-12-01 15:30:30 +01:00
Art Lowel
be0b54e058 change sitemap entries in robots.txt to absolute urls 2022-12-01 15:08:58 +01:00
Jens Vannerum
edc73d3585 97049: Refactor how to obtain vocabularies for filter (configurable) 2022-12-01 15:01:11 +01:00
Kristof De Langhe
532a59006f 97075: Edit-metadata redesign messages + JSDocs 2022-12-01 14:33:23 +01:00
Jens Vannerum
4afa5181a6 refac 2022-12-01 13:34:56 +01:00
Kristof De Langhe
6be343cccf 97075: Margin fixes + metadata field autofocus and validation 2022-12-01 13:07:19 +01:00
Alexandre Vryghem
ba15b28c7c 94688: Added themeable template of SearchFormComponent 2022-12-01 10:28:15 +01:00
Alexandre Vryghem
e96954cf60 94688: Added ThemedSearchFormComponent 2022-12-01 10:27:10 +01:00
Samuel
3b7d962671 taskid 85843 Add a tree to browse hierarchical facets on the search page - feedback 2022-12-01 10:08:28 +01:00
Samuel
2fab841562 taskid 85843 Add a tree to browse hierarchical facets on the search page - i18n updates 2022-12-01 10:08:18 +01:00
Samuel
bc3ab46e8e taskid 85843 Add a tree to browse hierarchical facets on the search page - fix import issue 2022-12-01 10:07:42 +01:00
Samuel
d5578accea taskid 85843 Add a tree to browse hierarchical facets on the search page 2022-12-01 10:07:41 +01:00
Samuel
9ff1a6a642 taskid 85843 Add a tree to browse hierarchical facets on the search page - overrides 2022-12-01 10:03:25 +01:00
Tim Donohue
7d39f5de83 Merge pull request #1965 from LisAtUP/main
Update el.json5
2022-11-30 16:25:33 -06:00
Kristof De Langhe
105f6cb954 97075: Edit metadata redesign pt2 2022-11-30 17:49:19 +01:00
Koen Pauwels
627da93e23 97183 Workaround: reorder admin sidebar sections
The issue described at https://github.com/DSpace/dspace-angular/issues/1643 was
no longer reproducible: The menu component ultimately retrieves menu section
information from the store, but in the `MenuComponent#ngOnInit` method, this
information is piped through `distinctUntilChanged(compareArraysUsingIds())`,
which discards an update that sets these menu elements to be visible.

The behavior of this pipe is probably incorrect, but a proper fix is out of
scope for the current task. For now, we work around the problem by adding
top-level menu sections _after_ their children while initializing the menu
section store, which side-steps this issue.
2022-11-30 15:25:36 +01:00
Kristof De Langhe
92f94c39b2 97075: Edit metadata redesign 2022-11-29 18:02:13 +01:00
Alexandre Vryghem
9eb4a7e22e 95335: Removed duplicate i18n key 2022-11-29 17:20:35 +01:00