Compare commits

...

4722 Commits

Author SHA1 Message Date
Tim Donohue
d1ec9897b1 Update version tag for release 2023-02-17 10:35:32 -06:00
Tim Donohue
1ea7c61315 Merge pull request #2107 from tdonohue/fix_8670
Fix issue with admin reset password functionality
2023-02-16 16:03:13 -06:00
Tim Donohue
02cc3b77f3 Merge pull request #2102 from CrisGuzmanS/2101
Fix for "No option appears for Bundle when the user is loading a bitstream of an item"
2023-02-16 14:22:53 -06:00
Tim Donohue
92f2196135 Fix param to send user the forgot password email 2023-02-16 14:09:35 -06:00
cris
4c819ea665 Merge branch '2101' of https://github.com/CrisGuzmanS/dspace-angular into 2101 2023-02-16 17:12:19 +00:00
cris
3a2225679a avoiding console.log errors 2023-02-16 17:11:17 +00:00
Giuseppe Digilio
0733e2766d [CST-8952] Fix issue with admin reset password functionality 2023-02-16 17:53:47 +01:00
Cristian Emanuelle Guzmán Suárez
0915afac14 Merge branch 'DSpace:main' into 2101 2023-02-15 16:30:13 -06:00
cris
bf22eb5582 suggestionOption.name displayed 2023-02-15 22:14:31 +00:00
Tim Donohue
49bec1b046 Merge pull request #2098 from saschaszott/german-translation-fixes
German translation fixes in security form
2023-02-15 15:14:17 -06:00
Sascha Szott
e5e6639d21 added comma to default translation 2023-02-15 20:05:59 +01:00
Sascha Szott
26705a5cf7 fixed missing comma 2023-02-15 20:05:59 +01:00
Sascha Szott
3ed9ae2d3e remove minimum passwort length value from translated messages 2023-02-15 20:05:59 +01:00
Sascha Szott
028d4192bb translation fixes in security form 2023-02-15 20:05:59 +01:00
Tim Donohue
e48b675bd4 Merge pull request #2100 from 4Science/CST-8935-fix-edit-bitstream-form
Fix issue with missing matcher providers
2023-02-15 12:31:06 -06:00
Giuseppe Digilio
b676c1ab79 [CST-8935] Fix issue with missing matcher providers 2023-02-15 18:43:49 +01:00
Tim Donohue
8f410eb66b Merge pull request #2097 from alanorth/2096-item-submission-form
src/assets/i18n: Improve English strings for file upload
2023-02-15 10:33:22 -06:00
Alan Orth
d810cbcc8f src/assets/i18n: Improve English strings for file upload
Simple improvement to the wording in the file upload section of the
item submission form. Also add a period at the end of the string.

Fixes: #2096
2023-02-15 11:36:56 +03:00
Tim Donohue
5fb7f4da60 Merge pull request #2093 from 4Science/CST-8914-export-button
Add flag to show/hide csv export button
2023-02-14 12:34:53 -06:00
Tim Donohue
21b0374290 Merge pull request #2075 from atmire/w2p-98855_themeable-file-download-link_contribute-main
Pass `ng-content` to themed child components
2023-02-14 12:33:54 -06:00
Tim Donohue
368c1ea93f Merge pull request #2019 from 4Science/CST-7755
Supervision orders user interface
2023-02-14 11:11:50 -06:00
Tim Donohue
5ba0997bbd Merge pull request #2042 from atmire/poc-keepalive-during-ssr
Keep SSL sessions alive during SSR
2023-02-14 09:06:25 -06:00
Tim Donohue
2ee818543a Merge pull request #2091 from tdonohue/fix_2090
Fix for "cannot read properties of undefined" error for Withdrawn Items
2023-02-14 09:06:01 -06:00
Giuseppe Digilio
0f25f9f18f [CST-8914] Add flag to show/hide csv export button 2023-02-14 11:24:08 +01:00
Tim Donohue
da4e1a85cb Fix for "cannot read properties of undefined" error 2023-02-13 16:21:46 -06:00
Giuseppe Digilio
6a0c1a978c Merge branch 'main' into CST-7755-refactoring
# Conflicts:
#	src/app/core/core.module.ts
#	src/app/shared/shared.module.ts
2023-02-13 21:36:30 +01:00
Giuseppe Digilio
75ebacf90e [CST-7755] Complete refactoring 2023-02-13 21:34:45 +01:00
Tim Donohue
6cb6737256 Merge pull request #2061 from CrisGuzmanS/collection-in-workflow-tasks
Collection in workflow tasks
2023-02-13 10:20:42 -06:00
Tim Donohue
bd428d7c85 Merge pull request #2017 from 4Science/CST-7757
Manage Subscriptions interface
2023-02-13 09:51:55 -06:00
Davide Negretti
078bdd287f [CST-7757] Fix delete message 2023-02-13 15:45:56 +01:00
Giuseppe Digilio
363136027e [CST-7755] WIP revert changes on list components 2023-02-13 11:30:17 +01:00
Giuseppe Digilio
cf0db54011 Merge branch 'main' into CST-7755-refactoring
# Conflicts:
#	src/app/shared/shared.module.ts
2023-02-13 10:09:17 +01:00
Alexandre Vryghem
a6be9204e6 Merge remote-tracking branch 'upstream/main' into w2p-98855_themeable-file-download-link_contribute-main
# Conflicts:
#	src/themes/custom/eager-theme.module.ts
2023-02-12 23:22:00 +01:00
cris
c74ef49797 fixed issue in browser console 2023-02-11 17:13:52 +00:00
cris
ff09bec795 Merge branch 'collection-in-workflow-tasks' of https://github.com/CrisGuzmanS/dspace-angular into collection-in-workflow-tasks 2023-02-11 16:09:15 +00:00
Cristian Emanuelle Guzmán Suárez
c749746129 Merge branch 'DSpace:main' into collection-in-workflow-tasks 2023-02-11 10:08:59 -06:00
cris
875eea05f0 Merge branch 'main' of https://github.com/CrisGuzmanS/dspace-angular into collection-in-workflow-tasks 2023-02-11 16:08:30 +00:00
Davide Negretti
851fe7869e [CST-7757] Missing label 2023-02-11 03:29:17 +01:00
Davide Negretti
d65c12ae04 Merge branch 'main-gh4s' into CST-7757
# Conflicts:
#	src/app/collection-page/collection-page.component.html
#	src/app/community-page/community-page.component.html
#	src/app/core/core.module.ts
#	src/app/core/data/feature-authorization/feature-id.ts
#	src/app/shared/shared.module.ts
2023-02-11 03:17:44 +01:00
Tim Donohue
a3e99b6a11 Merge pull request #2039 from atmire/w2p-98211_advanced-workflow-actions-main
Advanced workflow actions - framework & workflows `scoreReview` and `selectSingleReviewer`
2023-02-10 13:40:31 -06:00
Marie Verdonck
53cb013b81 Merge branch 'main' into w2p-98211_advanced-workflow-actions-main
# Conflicts:
#	src/app/shared/shared.module.ts
2023-02-10 19:57:25 +01:00
Giuseppe Digilio
7a9f4efa95 Merge branch 'main' into CST-7755-refactoring
# Conflicts:
#	src/app/core/core.module.ts
#	src/app/shared/shared.module.ts
2023-02-10 19:52:55 +01:00
Giuseppe Digilio
d82526af8a [CST-7755] WIP refactoring 2023-02-10 19:47:20 +01:00
Tim Donohue
f2f49a6ef2 Merge pull request #2073 from DSpace/dependabot/npm_and_yarn/http-cache-semantics-4.1.1
Bump http-cache-semantics from 4.1.0 to 4.1.1
2023-02-10 12:24:41 -06:00
dependabot[bot]
8ddcd42d04 Bump http-cache-semantics from 4.1.0 to 4.1.1
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-10 18:14:15 +00:00
Tim Donohue
e8a7bf2314 Merge pull request #2079 from atmire/w2p-97732_feature-context-help-service
Remove unnecessary subscriptions
2023-02-10 11:04:56 -06:00
Tim Donohue
fae586bc44 Merge pull request #2078 from atmire/restore-csr-fallback
Let the production server "serve for direct CSR" if SSR is disabled or fails
2023-02-10 10:51:24 -06:00
Tim Donohue
f886d3de77 Merge pull request #2018 from 4Science/CST-7217
Improve facet badges alignment
2023-02-10 10:11:25 -06:00
Alexandre Vryghem
164af61417 Merge branch 'w2p-98211_advanced-workflow-actions-7.2' into w2p-98211_advanced-workflow-actions-main 2023-02-10 16:57:55 +01:00
Alexandre Vryghem
dce84dbe70 99053: Save queryParams in init to prevent them being overwritten 2023-02-10 16:53:02 +01:00
Tim Donohue
9246e5ef06 Merge pull request #1852 from atmire/w2p-94390_replace-dso-page-edit-buttons-with-a-menu
Replace dso page edit buttons with a menu
2023-02-10 09:49:32 -06:00
Alexandre Vryghem
63c5b2ca9a Merge branch 'w2p-98211_advanced-workflow-actions-7.2' into w2p-98211_advanced-workflow-actions-main 2023-02-10 15:55:09 +01:00
Alexandre Vryghem
356962a571 99053: Pass all queryParameters to advanced workflow pages by default 2023-02-10 15:52:51 +01:00
Tim Donohue
46f6037a0c Merge pull request #1740 from the-library-code/TLC-249_show_identifiers_7x
Show Identifiers section
2023-02-10 06:51:44 -06:00
Alexandre Vryghem
9af7bb7bc6 Merge branch 'w2p-98211_advanced-workflow-actions-7.2' into w2p-98211_advanced-workflow-actions-main
# Conflicts:
#	src/app/shared/testing/active-router.stub.ts
2023-02-10 13:42:25 +01:00
Alexandre Vryghem
f0ceb645c7 99053: Passed previousSearchQuery to AdvancedWorkflowActionSelectReviewerComponent 2023-02-10 13:41:51 +01:00
Alexandre Vryghem
67c6684320 Merge remote-tracking branch 'atmire/w2p-98211_advanced-workflow-actions-7.2' into w2p-98211_advanced-workflow-actions-main
# Conflicts:
#	src/app/shared/testing/active-router.stub.ts
#	src/app/workflowitems-edit-page/advanced-workflow-action/advanced-workflow-action-select-reviewer/advanced-workflow-action-select-reviewer.component.ts
2023-02-10 13:37:19 +01:00
Alexandre Vryghem
99f9f592a0 99053: Passed previousSearchQuery to AdvancedWorkflowActionSelectReviewerComponent 2023-02-10 13:24:00 +01:00
Alexandre Vryghem
19d0975df5 99053: Fixed encoded parameters being encoded twice in WorkflowItemActionPageComponent.previousPage() 2023-02-10 12:21:33 +01:00
Yana De Pauw
131eaef469 Merge remote-tracking branch 'upstream/main' into w2p-94390_replace-dso-page-edit-buttons-with-a-menu 2023-02-10 12:05:21 +01:00
Yury Bondarenko
59d8ba5d7e Merge remote-tracking branch 'origin/main' into restore-csr-fallback 2023-02-10 11:53:31 +01:00
Tim Donohue
f2624fdf86 Merge pull request #2025 from atmire/w2p-97425_System-wide-alerts
System-wide alerts
2023-02-09 17:10:56 -06:00
Pascal-Nicolas Becker
86dd622da5 Merge pull request #2072 from amgciadev/2071
Fixes DSpace/dspace-angular#2071
2023-02-09 22:55:37 +01:00
Agustina Martinez
f00b8738ad Merge branch 'main' into 2071 2023-02-09 21:08:11 +00:00
Tim Donohue
e0488fa4a3 Merge pull request #2033 from tdonohue/improve_caching
Add Caching of SSR public pages. Update default Cache-Control HTTP header
2023-02-09 14:49:59 -06:00
Alexandre Vryghem
0ec4e08e4b Merge branch 'w2p-98211_advanced-workflow-actions-7.2' into w2p-98211_advanced-workflow-actions-main
# Conflicts:
#	yarn.lock
2023-02-09 17:19:59 +01:00
Alexandre Vryghem
ac06f30950 99053: Removed ngx-bootstrap dependency 2023-02-09 17:19:07 +01:00
Tim Donohue
9e11d69a8a Fix bug where allowStale couldn't be disabled 2023-02-09 08:48:50 -06:00
Yury Bondarenko
9f9864be79 Merge remote-tracking branch 'origin/main' into poc-keepalive-during-ssr 2023-02-09 15:41:20 +01:00
corrado lombardi
52cd98a7d3 [CST-7755] lint fix 2023-02-09 15:39:13 +01:00
corrado lombardi
800d3a9001 [CST-7755] added cancel button to modal and updated message returned when a supervision order already exists 2023-02-09 15:31:03 +01:00
Yury Bondarenko
1e20551d2a Keep SSL sessions alive between xhr2 requests 2023-02-09 15:08:56 +01:00
Yana De Pauw
81c786af5c Merge remote-tracking branch 'upstream/main' into w2p-94390_replace-dso-page-edit-buttons-with-a-menu 2023-02-09 14:25:10 +01:00
Davide Negretti
516b91f520 [CST-7757] Hide delete info for new subscriptions and fix issue with unavailable items 2023-02-09 12:06:15 +01:00
Yana De Pauw
0076edd026 Merge remote-tracking branch 'upstream/main' into w2p-97425_System-wide-alerts 2023-02-09 11:57:25 +01:00
Giuseppe Digilio
0755e300e8 [CST-7217] Add margins to better align badge 2023-02-09 11:41:14 +01:00
Giuseppe Digilio
54fc97206c Merge branch 'main' into CST-7217 2023-02-09 11:19:35 +01:00
Davide Negretti
27f541ef84 [CST-7757] modal fixes 2023-02-08 19:56:54 +01:00
Davide Negretti
325d78dded [CST-7757] modal fixes 2023-02-08 19:38:42 +01:00
Davide Negretti
c8e7ac3e8c [CST-7757] subscription modal tests 2023-02-08 18:26:37 +01:00
Tim Donohue
8acf7c565b Merge pull request #2016 from atmire/w2p-97298_issue-3281_self-register-issue-main
Self register domain restriction
2023-02-08 10:56:19 -06:00
Tim Donohue
94f90f5c1d Merge pull request #2076 from atmire/w2p-99039_XSRFTokenGetRequest
XSRF Token to ServerAuthRequestService
2023-02-08 10:44:33 -06:00
Alexandre Vryghem
8f62fc2fa9 Merge branch 'w2p-98855_themeable-file-download-link_contribute-7.4' into w2p-98855_themeable-file-download-link_contribute-main
# Conflicts:
#	src/app/shared/theme-support/themed.component.ts
2023-02-08 15:40:27 +01:00
Alexandre Vryghem
04d0621b4a Fixed default @Input() values not working for themed components 2023-02-08 15:21:07 +01:00
Alexandre Vryghem
b4acb5cbed Fixed text (without HTML tags) not being passed to child components 2023-02-08 15:07:02 +01:00
Davide Negretti
6bfcc25502 [CST-7757] subscriptions data service tests 2023-02-08 13:08:39 +01:00
Koen Pauwels
ad870829d2 97732 Remove unnecessary subscriptions 2023-02-08 11:13:03 +01:00
Alexandre Vryghem
d2dec2b79a Merge remote-tracking branch 'atmire/w2p-97298_issue-3281_self-register-issue-7.2' into w2p-97298_issue-3281_self-register-issue-main
# Conflicts:
#	src/app/register-email-form/register-email-form.component.spec.ts
2023-02-08 10:21:31 +01:00
Alexandre Vryghem
5d2f63ff65 99053: Added test to check that the TYPE_REQUEST_FORGOT doesn't use the authentication-password.domain.valid 2023-02-08 10:17:36 +01:00
Tim Donohue
bee893dd12 Merge pull request #2063 from CrisGuzmanS/issue/1190-1
aria-selected added to Item Edit "Status" Tab. Fixed ID: 470076
2023-02-07 16:56:41 -06:00
Tim Donohue
b87ea9a875 Merge pull request #1972 from the-library-code/TLC-380_browse_links_in_item_pages_PR
Browse links and "by regex" links in item display (Angular)
2023-02-07 14:18:44 -06:00
Nathan Buckingham
9435f1c4a7 Add done() to async tests 2023-02-07 13:59:57 -05:00
Tim Donohue
c099bc468d Add "debug" config and "allowStale" configs 2023-02-07 12:22:32 -06:00
Nathan Buckingham
369ffac39e Merge branch 'main' into w2p-99039_XSRFTokenGetRequest 2023-02-07 11:59:46 -05:00
Nathan Buckingham
ce6324a569 Fix lint and test issues 2023-02-07 11:50:42 -05:00
Yury Bondarenko
88cb397dc9 Fix direct CSR
By moving from environment.ts to config.yml we made it so the environment is _not_ up to date with the server configuration when main.js is first loaded.
Because of this the app behaved as if CSR always happened _after_ SSR, effectively breaking direct CSR.

Here the "criterion" for SSR/non-SSR HTML is changed from the related configuration property to the presence of Angular Universal transfer state.

This means we can correctly determine when to bootstrap the app for direct CSR, and it's' now "safe" to just send index.html by itself.
2023-02-07 15:25:20 +01:00
Art Lowel
06de559974 Retrieve the XSRF token first, and set it as both the XSRF header and cookie 2023-02-07 14:49:22 +01:00
Alexandre Vryghem
9deb7cbb60 Merge remote-tracking branch 'atmire/w2p-98211_advanced-workflow-actions-7.2' into w2p-98211_advanced-workflow-actions-main
# Conflicts:
#	src/app/my-dspace-page/my-dspace-search.module.ts
#	src/app/shared/mydspace-actions/claimed-task/claimed-task-actions.component.html
#	src/app/shared/object-list/my-dspace-result-list-element/claimed-search-result/claimed-approved-search-result/claimed-approved-search-result-list-element.component.html
#	src/app/shared/object-list/my-dspace-result-list-element/claimed-search-result/claimed-approved-search-result/claimed-approved-search-result-list-element.component.spec.ts
#	src/app/shared/object-list/my-dspace-result-list-element/claimed-search-result/claimed-declined-search-result/claimed-declined-search-result-list-element.component.html
#	src/app/shared/object-list/my-dspace-result-list-element/claimed-search-result/claimed-declined-search-result/claimed-declined-search-result-list-element.component.spec.ts
2023-02-07 10:33:28 +01:00
Kim Shepherd
129342435f [TLC-249] Further test fixes 2023-02-07 17:48:06 +13:00
Kim Shepherd
8346232444 [TLC-249] Fix import typo (from merge conflict) 2023-02-07 17:22:59 +13:00
Kim Shepherd
08096e6829 [TLC-249] Lint 2023-02-07 17:12:02 +13:00
Kim Shepherd
76407866c0 [TLC-249] Update item status button logic to avoid nested subs 2023-02-07 17:05:21 +13:00
Kim Shepherd
e65bb88e23 [TLC-249] Attempting art's sub fix (doesn't work) 2023-02-07 17:05:21 +13:00
Kim Shepherd
639fe69c5f [TLC-380] Refactor to use new endpoints, better naming 2023-02-07 17:05:21 +13:00
Kim Shepherd
0a69560a8c [TLC-380] Refactor to use new endpoints, better naming 2023-02-07 17:05:21 +13:00
Kim Shepherd
e86f0d3d13 [TLC-380] WIP trying new routing / create flow 2023-02-07 17:05:21 +13:00
Kim Shepherd
ce84c3fe36 [TLC-380] Renaming, changes as per review feedback 2023-02-07 17:05:20 +13:00
Kim Shepherd
b779509bf0 [TLC-249] Identifier mock data updated in unit test 2023-02-07 17:03:49 +13:00
Kim Shepherd
b5c6e7f1b7 [TLC-249] Identifier mock data updated in unit test 2023-02-07 17:03:49 +13:00
Kim Shepherd
9471aa9897 [TLC-249] Update en.json5 with DOI status labels 2023-02-07 17:03:49 +13:00
Kim Shepherd
d6f458863f [TLC-249] Improve model of identifier data in workspace section 2023-02-07 17:03:49 +13:00
Kim Shepherd
39fb61ca85 [TLC-249] Lint fixes (imports, quotes) 2023-02-07 17:03:49 +13:00
Kim Shepherd
52a3776027 [TLC-249] Addressing review feedback #2
Update WorkspaceitemSectionIdentifiersObject model to include a
display types string array, so identifier types can be included or excluded
from the step as needed.

Update section template to work with the above new data

As per todonohue's feedback on 2022-01-18
2023-02-07 17:03:49 +13:00
Kim Shepherd
838cde4841 [TLC-249] Addressing review feedback
Adding comments and tidying some comments, imports
Expect text for status not integer
Send a 'type' parameter with a DOI registration
Rename item-status.register to registerDOI

As per todonohue's feedback on 2022-01-18
2023-02-07 17:03:49 +13:00
Kim Shepherd
d0b5fc257a [TLC-249] Update spec test for new config form data service 2023-02-07 17:03:49 +13:00
Kim Shepherd
21c9ef4ea2 [TLC-249] Ensure identifier data model mapped to type 2023-02-07 17:03:48 +13:00
Kim Shepherd
7795f92234 [TLC-249] Update data service usage since rebasing 2023-02-07 17:03:48 +13:00
Kim Shepherd
ed5ab710a3 [TLC-249] Update data service usage since rebasing 2023-02-07 17:03:48 +13:00
Kim Shepherd
8d70e1788b [TLC-249] Lint fixes 2023-02-07 17:03:48 +13:00
Kim Shepherd
e0c0d3c8e0 [TLC-337] Unit tests for register DOI component 2023-02-07 17:03:48 +13:00
Kim Shepherd
87bbe50732 [TLC-249] Linting 2023-02-07 17:03:48 +13:00
Kim Shepherd
5f6e20eaa4 [TLC-249] Register DOI operation and button in item status page 2023-02-07 17:03:47 +13:00
Kim Shepherd
a7586ca07a [TLC-249] LGTM unused import fixes 2023-02-07 17:01:39 +13:00
Kim Shepherd
0ab12d5ab5 [TLC-249] Lint fixes 2023-02-07 17:01:39 +13:00
Kim Shepherd
16fbc8e339 [TLC-249] Remove CRIS7 visibility refs from component, i18n 2023-02-07 17:01:39 +13:00
Kim Shepherd
0082d71658 [TLC-249] Show Identifier Step angular 7.x 2023-02-07 17:01:39 +13:00
Kim Shepherd
e8a53da766 [TLC-380] Fix item page field test to supply router 2023-02-07 15:30:14 +13:00
Kim Shepherd
ca6f799ee5 [TLC-380] Lint fixes on spec test 2023-02-07 15:30:14 +13:00
Kim Shepherd
7934118823 [TLC-380] Template link fixes, spec test fixes
Correct use of routerLink and queryParams
Removed unused method from browse service, specs
New spec tests for MetadataRepresentationListElementComponent
2023-02-07 15:30:14 +13:00
Kim Shepherd
5aab1af5f7 [TLC-380] Lint fixes 2023-02-07 15:30:14 +13:00
Kim Shepherd
63af2e079c [TLC-380] Refactor metadata rep list comp after rebase 2023-02-07 15:30:14 +13:00
Kim Shepherd
d86e8ed0a8 [TLC-380] Template link, spec test, doc fixup as per review 2023-02-07 15:30:14 +13:00
Kim Shepherd
6883b8c782 [TLC-380] Lint fixes for mock browse def service 2023-02-07 15:30:14 +13:00
Kim Shepherd
72afd0cafd [TLC-380] Simplify / strip browse service from components 2023-02-07 15:30:14 +13:00
Kim Shepherd
bf9041f25f [TLC-380] Fix mock service to return proper payload 2023-02-07 15:30:14 +13:00
Kim Shepherd
6ead2f0a7d [TLC-249] Lint fixes 2023-02-07 15:30:14 +13:00
Kim Shepherd
58673ed9ab [TLC-249] Lint fixes 2023-02-07 15:30:14 +13:00
Kim Shepherd
bdda84f884 [TLC-249] Larger refactor to field, item components for browse links 2023-02-07 15:30:14 +13:00
Kim Shepherd
2b1b2ef4cb [TLC-249] Fix circular dependency in browse services 2023-02-07 15:30:14 +13:00
Kim Shepherd
5ad635fb5a [TLC-380] Refactor browse links to use new /browses endpoint 2023-02-07 15:30:14 +13:00
Kim Shepherd
b80545642f [TLC-380] further browse link unit test fixes (waitForAsync) 2023-02-07 15:30:14 +13:00
Kim Shepherd
bc73032e45 [TLC-380] lint fix 2023-02-07 15:30:14 +13:00
Kim Shepherd
e74b77840c [TLC-380] Unit test (provider injection) fixes
(resolved conflict jan 16)
2023-02-07 15:30:14 +13:00
Kim Shepherd
4b5b438968 [TLC-380] Lint fixes 2023-02-07 15:30:14 +13:00
Kim Shepherd
3c48df6fe5 [TLC-380] Lint fixes 2023-02-07 15:30:14 +13:00
Kim Shepherd
928157f994 [TLC-380] Support browse links and regex links in metadata display
(resolved conflicts jan 2023)
2023-02-07 15:30:14 +13:00
Alexandre Vryghem
4cc98ae7be 99053: Added missing documentation 2023-02-06 22:53:50 +01:00
Marie Verdonck
014169ea37 Merge branch 'main' into w2p-97298_issue-3281_self-register-issue-main 2023-02-06 22:33:23 +01:00
Alexandre Vryghem
1b4bdba52d 99053: Fixed AdvancedWorkflowActionRatingComponent's rating from validation 2023-02-06 21:57:25 +01:00
Alexandre Vryghem
615c74288e 99053: Added DeclinedTask search result banner 2023-02-06 19:08:13 +01:00
Alexandre Vryghem
34e970827e 99053: Invalidate cache by default when performing the WorkflowItemActionPageComponent action 2023-02-06 18:47:15 +01:00
Tim Donohue
430b43581a Merge pull request #2074 from 4Science/CST-7221-var
[CST-7221] Opaque search bar
2023-02-06 10:04:19 -06:00
Alexandre Vryghem
ae5625458c Merge remote-tracking branch 'atmire/w2p-97298_issue-3281_self-register-issue-7.2' into w2p-97298_issue-3281_self-register-issue-main
# Conflicts:
#	src/app/register-email-form/register-email-form.component.spec.ts
2023-02-06 16:58:30 +01:00
Alexandre Vryghem
6864ffb385 97298: Added form validator tests for restricted domains 2023-02-06 16:56:45 +01:00
corrado lombardi
67d401cc77 [CST-7755] updated PR to latest REST changes 2023-02-06 16:53:37 +01:00
Alexandre Vryghem
590297e307 Merge remote-tracking branch 'atmire/w2p-97298_issue-3281_self-register-issue-7.2' into w2p-97298_issue-3281_self-register-issue-main
# Conflicts:
#	src/app/register-email-form/register-email-form.component.spec.ts
#	src/app/register-email-form/register-email-form.component.ts
2023-02-06 16:27:10 +01:00
corrado lombardi
aaf8f25fe5 Merge branch 'main' into CST-7755
# Conflicts:
#	src/app/shared/shared.module.ts
2023-02-06 15:30:07 +01:00
Davide Negretti
7a46e6d93c [CST-7757] Labels renamed 2023-02-06 11:40:13 +01:00
Davide Negretti
eae7b0d768 [CST-7757] Minor fixes 2023-02-06 11:40:13 +01:00
Alexandre Vryghem
a4e70baf97 Merge remote-tracking branch 'upstream/main' into w2p-98855_themeable-file-download-link_contribute-main
# Conflicts:
#	src/app/shared/shared.module.ts
#	src/app/shared/theme-support/themed.component.ts
#	src/themes/custom/eager-theme.module.ts
2023-02-06 11:09:19 +01:00
Davide Negretti
cbfddc68e6 Merge branch 'main-gh4s' into CST-7757
# Conflicts:
#	src/app/core/data/feature-authorization/feature-id.ts
2023-02-06 11:02:50 +01:00
Yana De Pauw
d56497edfa Merge remote-tracking branch 'upstream/main' into w2p-94390_replace-dso-page-edit-buttons-with-a-menu 2023-02-06 11:00:55 +01:00
Davide Negretti
3bf5b9fd0b [CST-7221] Opaque search bar 2023-02-06 10:37:16 +01:00
Alexandre Vryghem
da1a20096b 98855: Remove temp themed ng-content container
This is problematic when ng-content is provided but it's not used
2023-02-06 10:27:04 +01:00
Davide Negretti
0dfb37d154 [CST-7757] Show object name 2023-02-06 10:24:08 +01:00
Davide Negretti
0f8d2d7b16 [CST-7757] D-W-M fixed 2023-02-06 10:23:44 +01:00
Davide Negretti
a4d94b0399 [CST-7757] Response parameters fixed; submit button disabled if frequency is missing 2023-02-06 10:23:32 +01:00
Davide Negretti
b1011edb3d [CST-7757] Remove subscription button from item pages 2023-02-06 10:23:24 +01:00
cris
03c2ecc24f Merge branch 'collection-in-workflow-tasks' of https://github.com/CrisGuzmanS/dspace-angular into collection-in-workflow-tasks 2023-02-04 21:29:45 +00:00
cris
ac7b5f841e collection is displayed below the submitter 2023-02-04 21:28:49 +00:00
cris
17841ed049 Merge branch 'main' of https://github.com/CrisGuzmanS/dspace-angular into collection-in-workflow-tasks 2023-02-04 19:03:22 +00:00
Cristian Emanuelle Guzmán Suárez
c9bf355237 Merge branch 'DSpace:main' into collection-in-workflow-tasks 2023-02-04 13:02:39 -06:00
Nathan Buckingham
6d99f51d78 Add test for xsrf and change to Post so xsrf is tested for validity 2023-02-03 15:45:44 -05:00
Tim Donohue
a150c64e2f Fix test configuration 2023-02-03 13:28:35 -06:00
Tim Donohue
bae63111e7 Refactor to two caches. One for bots and one for anonymous users 2023-02-03 12:59:13 -06:00
Alexandre Vryghem
22fbed760e 98863: Prevent retrieval of the domains on TYPE_REQUEST_FORGOT form & fixed error message when no emails are set 2023-02-03 18:21:06 +01:00
Agustina Martinez
e92c2209e9 Update recent-item-list.component.ts
Update PaginatedSearchOptions to only retrieve items
2023-02-02 23:39:50 +00:00
Nathan Buckingham
34c07fd904 w2p-99039 Add xsrf token to createShortLivedToken get request 2023-02-02 17:51:30 -05:00
Cristian Emanuelle Guzmán Suárez
b26d5fa13d adding role for ul and li
i have added roles for ul and li (tablist and tab)
2023-02-02 15:19:11 -06:00
Tim Donohue
36085e4854 Avoid caching a page twice in a row 2023-02-02 15:09:31 -06:00
Tim Donohue
048e5b012d Rename enableCache() to initCache() to make code easier to understand 2023-02-02 15:09:31 -06:00
Tim Donohue
f9810493c3 Remove unused import 2023-02-02 15:09:31 -06:00
Tim Donohue
2a7aa2b5c1 Updates to defaults of cache.control setting and enhanced comments 2023-02-02 15:09:31 -06:00
Tim Donohue
ee0ebebf14 Add missing test configs 2023-02-02 15:09:31 -06:00
Tim Donohue
0d4cf5e468 Update SSR caching to only work when unauthenticated. Enhance config comments 2023-02-02 15:09:31 -06:00
Tim Donohue
b0696a404d Add SSR caching via lru-cache. Update Cache-Control header to 1 week, but tell browsers not to cache index.html 2023-02-02 15:09:31 -06:00
Tim Donohue
485bb840ce Merge pull request #2028 from atmire/edit-metadata-redesign-PR
Edit metadata redesign
2023-02-02 15:06:58 -06:00
Yana De Pauw
bb7eef2631 Fix typo 2023-02-02 17:58:55 +01:00
Tim Donohue
e576551ff3 Merge pull request #2030 from atmire/w2p-97732_feature-context-help-service
Context help tooltips
2023-02-02 10:39:27 -06:00
Tim Donohue
0e6a6ce666 Merge pull request #1999 from atmire/w2p-97183_fix-user-authorization-issues-with-admin-sidebar
Fix user authorization issues with admin sidebar
2023-02-02 10:35:10 -06:00
Giuseppe Digilio
24fa3b1271 Merge branch 'CST-7217' of github.com:4Science/dspace-angular into CST-7217 2023-02-02 17:32:42 +01:00
Giuseppe Digilio
25dc0ab239 [CST-7217] Use short number pipe and fix badge alignment 2023-02-02 17:31:27 +01:00
Yana De Pauw
b4b927e2d8 Merge remote-tracking branch 'upstream/main' into w2p-97425_System-wide-alerts 2023-02-02 17:14:19 +01:00
Alexandre Vryghem
581afbbbb6 99053: Hide return to pool button for second step of SelectSingleReviewer 2023-02-02 17:13:56 +01:00
Alexandre Vryghem
bd152dc074 99053: Fixed previous page not always returning the correct value
- Fixed previousPage not correctly redirecting to urls with queryParams
- Fixed previousPage returning to wrong page because of ReviewersListComponent
2023-02-02 17:12:56 +01:00
Yana De Pauw
3763e43000 Remove flex-wrap 2023-02-02 17:09:07 +01:00
Yana De Pauw
36e10f87b3 97425: Fix minor issues 2023-02-02 16:22:59 +01:00
Giuseppe Digilio
29b9bb048d [CST-7217] Implement short number pipe 2023-02-02 15:54:04 +01:00
Yura Bondarenko
b3060707dd Make ThemedComponent reproject slots to wrapped component 2023-02-02 12:04:57 +01:00
Giuseppe Digilio
078ce10922 Merge branch 'main' into CST-7217 2023-02-02 11:53:32 +01:00
Kristof De Langhe
d5d9b40c32 Merge branch 'edit-metadata-redesign-7.4' into edit-metadata-redesign-PR 2023-02-02 11:45:07 +01:00
Kristof De Langhe
e880062cfd 97742: Add missing export 2023-02-02 11:44:55 +01:00
Kristof De Langhe
90a3e85fce Merge branch 'main' into edit-metadata-redesign-PR 2023-02-02 10:57:50 +01:00
Kristof De Langhe
aece5930cc Merge branch 'edit-metadata-redesign-7.4' into edit-metadata-redesign-PR 2023-02-02 10:57:20 +01:00
Kristof De Langhe
ff455b57ea Merge branch 'w2p-97075_Edit-metadata-redesign' into edit-metadata-redesign-7.4 2023-02-02 10:56:27 +01:00
Tim Donohue
34ee3cfdee Merge pull request #2062 from CrisGuzmanS/issue/1190
fixed ID 470077. Purpose of the link is not clear in context
2023-02-01 16:54:42 -06:00
Tim Donohue
99ba1d394d Merge pull request #2053 from toniprieto/trad-ca
Catalan translation
2023-02-01 16:14:32 -06:00
Tim Donohue
1c1804f6df Merge pull request #2052 from toniprieto/trad-es
Update spanish translation
2023-02-01 16:05:19 -06:00
Alexandre Vryghem
80670855ff 98855: Added themeable FileDownloadLinkComponent to custom theme 2023-02-01 16:44:43 +01:00
Alexandre Vryghem
4fb914b51c 98855: Themed FileDownloadLinkComponent 2023-02-01 16:44:43 +01:00
Tim Donohue
ce096496eb Merge pull request #2065 from atmire/single-page-of-bitstreams-for-citation-pdf-url-tag
Only check 1 page of bitstreams when generating the citation_pdf_url tag
2023-01-31 14:34:21 -06:00
Art Lowel
4eb00d67c5 only check the first page of bitstreams when generating the citation_pdf_url meta tag 2023-01-31 18:36:20 +01:00
Kristof De Langhe
47f05bf11d 97742: Feedback 2023-01-27 - Table roles and aria attributes + additional feedback changes 2023-01-31 13:33:29 +01:00
Yana De Pauw
38063d617e 97425: Implement feedback 2023-01-31 13:06:03 +01:00
Mykhaylo
b09de30272 [CST-7757] renamed param 2023-01-31 10:20:19 +01:00
cris
14dfd6d9b8 aria-selected added to item edit tab 2023-01-30 21:44:38 +00:00
Cristian Emanuelle Guzmán Suárez
fbc384deec Merge branch 'DSpace:main' into issue/1190 2023-01-30 15:03:24 -06:00
Tim Donohue
933a4aee26 Merge pull request #2049 from 4Science/CST-8165
CST-8165 show logo when browsing collections
2023-01-30 14:50:45 -06:00
cris
471744679a Merge branch 'main' of https://github.com/CrisGuzmanS/dspace-angular into issue/1190 2023-01-30 19:31:57 +00:00
cris
53dfca0056 fixed issue #1190 with id 470077 2023-01-30 19:31:54 +00:00
Tim Donohue
99885e5187 Merge pull request #2060 from CrisGuzmanS/space-in-spanish-version
adding space in es.json5 for pagination.showing.label
2023-01-30 09:02:39 -06:00
cris
7574f828ba adding space in es.json5 for pagination.showing.detail 2023-01-28 18:23:33 +00:00
cris
328b16c1e4 formatting issues fixed 2023-01-28 17:58:51 +00:00
cris
8eab0f743f The collection is displayed in the workflow task 2023-01-28 17:48:39 +00:00
Tim Donohue
480370b8ed Merge pull request #2054 from DSpace/dependabot/npm_and_yarn/ua-parser-js-0.7.33
Bump ua-parser-js from 0.7.32 to 0.7.33
2023-01-27 16:31:53 -06:00
Koen Pauwels
ac5a359b1d Merge branch 'feature-context-help-7.4' into w2p-97732_feature-context-help-service 2023-01-27 13:32:55 +01:00
Koen Pauwels
1e85e1d88b 97732 Fix header search icon hover color 2023-01-27 12:30:42 +01:00
Koen Pauwels
2fb3f6e62f Merge branch 'feature-context-help-7.2' into feature-context-help-7.4 2023-01-27 12:12:10 +01:00
Koen Pauwels
bceca43580 97732 Context help toggle button only appears when there is at least one element with a tooltip on the page 2023-01-27 11:59:24 +01:00
Koen Pauwels
e717e610f9 97732 Header buttons now behave consistently on hover 2023-01-27 11:03:18 +01:00
Marie Verdonck
81d21e25c2 98863: IT fix 2023-01-26 16:13:21 +01:00
Marie Verdonck
1ea1f7eaa0 Merge branch 'w2p-97298_issue-3281_self-register-issue-7.2' into w2p-97298_issue-3281_self-register-issue-main
# Conflicts:
#	src/app/register-email-form/register-email-form.component.ts
2023-01-26 15:42:04 +01:00
Yana De Pauw
b4273fa734 97425: Implement feedback 2023-01-26 15:41:45 +01:00
Marie Verdonck
31d86eeb8c 98863: Domain validator fix + error message 2023-01-26 15:18:50 +01:00
Alexandre Vryghem
d3832326a5 Merge remote-tracking branch 'atmire/w2p-97298_issue-3281_self-register-issue-7.2' into w2p-97298_issue-3281_self-register-issue-main
# Conflicts:
#	src/app/register-email-form/register-email-form.component.ts
#	src/assets/i18n/en.json5
2023-01-26 10:31:40 +01:00
Alexandre Vryghem
0d7a030960 98863: Fixed typo and added domain name validation on input field 2023-01-26 10:30:24 +01:00
Tim Donohue
b29dd6d24f Merge pull request #2037 from atmire/fully-qualified-sitemap-urls-7.5-next
Add support for fully qualified sitemap urls
2023-01-25 14:27:30 -06:00
Marie Verdonck
b0d5fc5c0c Merge branch 'w2p-97298_issue-3281_self-register-issue-7.2' into w2p-97298_issue-3281_self-register-issue-main
# Conflicts:
#	src/app/register-email-form/register-email-form.component.ts
2023-01-25 17:08:01 +01:00
Marie Verdonck
66c6872b00 97061: type request param name change to avoid confusion with rest object type & non valid email domain error code changed 2023-01-25 16:02:37 +01:00
dependabot[bot]
a8f5457a2f Bump ua-parser-js from 0.7.32 to 0.7.33
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.32 to 0.7.33.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.32...0.7.33)

---
updated-dependencies:
- dependency-name: ua-parser-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 15:40:12 +00:00
Kristof De Langhe
1f7d7618d5 Merge branch 'main' into edit-metadata-redesign-PR 2023-01-24 16:18:46 +01:00
Tim Donohue
d91b876bf6 Merge pull request #1995 from mspalti/item-back-button
Back to results button in item view
2023-01-24 09:14:00 -06:00
Kristof De Langhe
c2909de99e Merge branch 'main' into edit-metadata-redesign-PR 2023-01-24 15:59:19 +01:00
Kristof De Langhe
d6342ca393 Merge branch 'edit-metadata-redesign-7.4' into edit-metadata-redesign-PR 2023-01-24 15:29:57 +01:00
Kristof De Langhe
c8d03bc336 Merge branch 'w2p-97075_Edit-metadata-redesign' into edit-metadata-redesign-7.4 2023-01-24 15:29:33 +01:00
Kristof De Langhe
018c74def4 97742: Disable drag & bigger textarea on metadata edit 2023-01-24 15:28:57 +01:00
Yana De Pauw
715d3ae014 Fix issues with module changes 2023-01-24 11:24:13 +01:00
Yana De Pauw
45248b4ee8 Merge remote-tracking branch 'upstream/main' into w2p-97425_System-wide-alerts 2023-01-24 10:25:58 +01:00
Michael Spalti
db9a6e4a86 Minor comment update. 2023-01-23 11:04:19 -08:00
Michael Spalti
3ca8ce5098 Added regex property to item component 2023-01-23 10:59:27 -08:00
Yana De Pauw
54ef5b8c3b 97425: Fix issue when no previous alert is present 2023-01-23 17:25:49 +01:00
Yana De Pauw
3e8cb4f3d9 97425: Implement feedback 2023-01-23 16:48:47 +01:00
Michael W Spalti
1b33936ee5 Label as input parameter to button component 2023-01-21 16:37:57 -08:00
Michael W Spalti
924c67ea5f lint fix 2023-01-21 14:01:17 -08:00
Michael W Spalti
67531ea48c Updated test and custom theme module. 2023-01-21 13:51:13 -08:00
Michael W Spalti
52163b30b8 Added component to custom theme's lazy-theme.module 2023-01-21 13:23:17 -08:00
Michael W Spalti
c87964cc29 Changed module exports; fixes intermittent build failure. 2023-01-21 12:49:58 -08:00
Michael W Spalti
886b59b5e6 lint fix 2023-01-21 12:02:47 -08:00
Michael W Spalti
1efb0b908f Merge branch 'item-back-button' of https://github.com/mspalti/dspace-angular into item-back-button 2023-01-21 11:57:41 -08:00
Michael W Spalti
fbeba91d7f Defining back logic in parent 2023-01-21 11:54:40 -08:00
Michael Spalti
44d88aca9a Merge branch 'main' into item-back-button 2023-01-21 04:42:09 -08:00
Michael Spalti
4f476adbc1 Updated themed component. 2023-01-21 04:39:11 -08:00
Toni Prieto
6dc4f58dec Update es.json5 2023-01-21 12:59:17 +01:00
Toni Prieto
f6a95e692f Enable Catalan language 2023-01-21 12:52:49 +01:00
Toni Prieto
636b4f8a29 Catalan translation 2023-01-21 12:52:43 +01:00
Michael Spalti
ec73f1c1a6 Merge branch 'main' into item-back-button 2023-01-20 16:28:57 -08:00
Michael Spalti
6e052af1f0 moved view logic back to ItemComponent 2023-01-20 16:11:56 -08:00
Tim Donohue
d0aa6cedd7 Merge pull request #2032 from mspalti/fix-login-menu
Ignore IP authentication method in login component.
2023-01-20 16:13:03 -06:00
Tim Donohue
a8a35d1645 Merge pull request #2040 from atmire/Duplicate-GA-page-view-fix
Fix duplicate GA page_view events
2023-01-20 16:00:16 -06:00
Michael Spalti
00bf90d8ea lint fix 2023-01-20 11:52:17 -08:00
Michael Spalti
549735795b Merge branch 'main' into item-back-button 2023-01-20 11:35:40 -08:00
Michael Spalti
f8d0dab747 fixed issue with browse back button 2023-01-20 11:34:26 -08:00
Koen Pauwels
40de69dfec 97732 ContextHelpToggleComponent: added typedoc and removed unnecessary dependency 2023-01-20 14:33:00 +01:00
Kristof De Langhe
853d4e4d3c 97287: Test fix 2023-01-19 17:48:01 +01:00
Giuseppe Digilio
366907a9c4 Merge remote-tracking branch 'origin/main' into CST-7755
# Conflicts:
#	src/assets/i18n/en.json5
2023-01-19 13:03:48 +01:00
Andrea Barbasso
d852ca0816 CST-8165 show logo when browsing collections 2023-01-19 12:07:45 +01:00
Alexandre Vryghem
7ef40cceda Merge branch 'w2p-98211_advanced-workflow-actions-7.2' into w2p-98211_advanced-workflow-actions-main
# Conflicts:
#	src/app/workflowitems-edit-page/advanced-workflow-action/advanced-workflow-action-select-reviewer/reviewers-list/reviewers-list.component.spec.ts
#	src/app/workflowitems-edit-page/advanced-workflow-action/advanced-workflow-actions-loader/advanced-workflow-actions-loader.component.spec.ts
2023-01-18 21:00:14 +01:00
Tim Donohue
112e93e4bf Merge pull request #2013 from 4Science/CST-7694
Group description edit
2023-01-18 13:27:51 -06:00
Tim Donohue
c7aff004b6 Merge pull request #1988 from atmire/issue-815-controlled-vocabulary-hierarchical-facets-7.4
Issue 815 controlled vocabulary hierarchical facets 7.4
2023-01-18 11:48:44 -06:00
Alexandre Vryghem
940c6281a2 98535: Added missing tests to the new advanced workflow components 2023-01-18 17:27:19 +01:00
Alexandre Vryghem
8844b1b2c3 Merge remote-tracking branch 'upstream/main' into w2p-98211_advanced-workflow-actions-main
# Conflicts:
#	src/app/shared/shared.module.ts
2023-01-18 13:54:31 +01:00
Alexandre Vryghem
a36b57661f Merge branch 'w2p-98211_advanced-workflow-actions-7.2' into w2p-98211_advanced-workflow-actions-main
# Conflicts:
#	src/app/core/core.module.ts
#	src/app/workflowitems-edit-page/advanced-workflow-action/advanced-workflow-action-select-reviewer/reviewers-list/reviewers-list.component.spec.ts
2023-01-18 13:52:25 +01:00
Alexandre Vryghem
572f5ac4c5 98535: Added missing tests to the new advanced workflow components 2023-01-18 13:45:04 +01:00
Alexandre Vryghem
fe61bb7b6b 98535: Cleaned up code & added documentation 2023-01-18 12:27:06 +01:00
kshepherd
105e4b6c13 Merge pull request #2045 from atmire/clean-angular-cli-cache-7.4
Add a yarn clean script for the .angular/cache folder
2023-01-18 10:35:10 +13:00
Art Lowel
ace396a31f add yarn clean script for the .angular/cache folder 2023-01-17 17:23:29 +01:00
Koen Pauwels
f13b67e8ad 97732 Fix linter issues 2023-01-16 18:11:40 +01:00
Koen Pauwels
711e2e1e7c 97732 Fix linter issues 2023-01-16 18:07:39 +01:00
Koen Pauwels
2ff8664b0f 97732 Fix linter issues 2023-01-16 17:56:09 +01:00
Koen Pauwels
bbdb964923 Merge remote-tracking branch 'dspace/main' into w2p-97732_feature-context-help-service 2023-01-16 15:58:05 +01:00
Koen Pauwels
e5cc565327 97732 Fix flaky test for ContextHelpToggleComponent 2023-01-16 14:27:56 +01:00
Koen Pauwels
950952383c 97732 Fix flaky test for ContextHelpToggleComponent 2023-01-16 14:14:02 +01:00
Koen Pauwels
b38e1e0367 97732 Fix flaky test for ContextHelpToggleComponent 2023-01-16 14:13:01 +01:00
Koen Pauwels
98f8aaf30c Merge branch 'feature-context-help-7.4' into w2p-97732_feature-context-help-service 2023-01-16 12:24:29 +01:00
Koen Pauwels
fd080c2366 Merge branch 'feature-context-help-7.2' into feature-context-help-7.4 2023-01-16 12:24:05 +01:00
Koen Pauwels
bed14c6b06 97732 ContextHelpWrapper: changed tooltip link color 2023-01-16 12:23:12 +01:00
Koen Pauwels
12dd605706 Merge branch 'feature-context-help-7.2' into feature-context-help-7.4 2023-01-16 11:39:10 +01:00
Koen Pauwels
04f4d74ed0 Merge branch 'feature-context-help-7.4' into w2p-97732_feature-context-help-service 2023-01-16 11:38:05 +01:00
Koen Pauwels
0cdf4b9c3e Merge branch 'feature-context-help-7.2' into feature-context-help-7.4 2023-01-16 11:11:33 +01:00
Koen Pauwels
7812eecb53 97732 Fix linter issues 2023-01-16 11:07:47 +01:00
Koen Pauwels
f170d751c9 Merge branch 'feature-context-help-7.4' into w2p-97732_feature-context-help-service 2023-01-16 10:37:53 +01:00
Koen Pauwels
674fb24115 Merge branch 'feature-context-help-7.2' into feature-context-help-7.4 2023-01-16 10:26:00 +01:00
Giuseppe Digilio
5a71b0cfac Merge branch 'main' into CST-7755 2023-01-16 10:13:46 +01:00
Giuseppe Digilio
28351f2ac7 [CST-7757] Fix merge with main 2023-01-16 09:55:56 +01:00
Jens Vannerum
e40cd20287 97049: Disable the vocabulary by default 2023-01-16 09:55:52 +01:00
Koen Pauwels
bcbfafcb32 97732 Context help button now disabled when there are no tooltips available on the page 2023-01-16 09:36:57 +01:00
Giuseppe Digilio
1cc03f4b86 Merge branch 'main' into CST-7757
# Conflicts:
#	src/app/shared/shared.module.ts
2023-01-16 09:19:01 +01:00
Giuseppe
5aa9d3d29d Merge branch 'main' into CST-7217 2023-01-16 09:06:07 +01:00
Michael W Spalti
624e059a4c Merge branch 'main' into fix-login-menu 2023-01-13 12:12:55 -08:00
Michael W Spalti
055787ee55 Merge branch 'main' into item-back-button 2023-01-13 10:17:03 -08:00
Koen Pauwels
6bee69bc3f 97732 Completed ContextHelpWrapper tests 2023-01-13 15:45:54 +01:00
Yana De Pauw
e2087ad952 Fix merge issues 2023-01-13 14:35:40 +01:00
Yana De Pauw
419cb947d9 Merge remote-tracking branch 'upstream/main' into w2p-94390_replace-dso-page-edit-buttons-with-a-menu 2023-01-13 14:35:35 +01:00
Koen Pauwels
84c8b7690a 97732 ContextHelpToggleComponent tests 2023-01-13 14:05:33 +01:00
Koen Pauwels
f7787d74bc 97732 Tests for ContextHelpService 2023-01-13 12:28:41 +01:00
Jens Vannerum
e0cadec2c2 97049: Group keys together 2023-01-13 12:14:43 +01:00
jensvannerum
065d816b3d Merge branch 'main' into issue-815-controlled-vocabulary-hierarchical-facets-7.4 2023-01-13 11:33:04 +01:00
Michael Spalti
99ada45288 removed unused property 2023-01-12 18:46:57 -08:00
Michael Spalti
0fe9665026 removed code repetition 2023-01-12 18:42:59 -08:00
Tim Donohue
7a82b08ba7 Merge pull request #1949 from 4Science/CST-7392
Login menu refactoring
2023-01-12 14:51:40 -06:00
Tim Donohue
ee560d297a Merge pull request #2006 from mwoodiupui/2005
Catch and report errors from non-JSON responses to authentication requests.
2023-01-12 10:32:17 -06:00
Kristof De Langhe
9b9d9518c5 Merge branch 'main' into w2p-97287_Duplicate-GA-page-view-fix 2023-01-12 17:06:19 +01:00
Kristof De Langhe
1062dc4341 97287: Remove unused import 2023-01-12 17:06:15 +01:00
Kristof De Langhe
953213ac4f Merge branch 'main' into edit-metadata-redesign-PR 2023-01-12 17:02:09 +01:00
Davide Negretti
0dd6333e05 [CST-7392] [DSC-773] login menu refactoring 2023-01-12 15:52:22 +01:00
Sufiyan Shaikh
4d2522a69a [CST-7755] Build Failded Fixed 2023-01-12 19:00:44 +05:30
corrado lombardi
697407a71c Merge branch 'CST-7755' of github.com:4Science/dspace-angular into CST-7755 2023-01-12 12:35:56 +01:00
corrado lombardi
c9ad080c04 Merge branch 'main' into CST-7755
# Conflicts:
#	src/app/shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component.spec.ts
#	src/app/shared/shared.module.ts
2023-01-12 12:26:45 +01:00
Tim Donohue
793bed30bc Merge pull request #1973 from 4Science/CST-7604
Restored highlighting of title in search results
2023-01-11 16:36:46 -06:00
Michael Spalti
65af3973ba fixed lint error 2023-01-11 12:03:19 -08:00
Alexandre Vryghem
f1bc30c695 Merge branch 'w2p-98211_advanced-workflow-actions-7.2' into w2p-98211_advanced-workflow-actions-main 2023-01-11 20:53:50 +01:00
Michael Spalti
357525e68a Ignore IP authentication method in login component.
lint fix

using enum

Simplified assignment.
2023-01-11 11:53:39 -08:00
Marie Verdonck
bd2135bcd2 98376: scoreReview workflow - slight refactor REST changes 2023-01-11 20:52:52 +01:00
Alexandre Vryghem
6acbb7ec0e Merge branch 'w2p-98211_advanced-workflow-actions-7.2' into w2p-98211_advanced-workflow-actions-main
# Conflicts:
#	src/app/access-control/access-control.module.ts
#	src/app/access-control/group-registry/group-form/eperson-list/eperson-list.component.spec.ts
#	src/app/access-control/group-registry/group-form/eperson-list/eperson-list.component.ts
#	src/app/access-control/group-registry/group-form/members-list/members-list.component.ts
#	src/assets/i18n/en.json5
2023-01-11 20:40:40 +01:00
Alexandre Vryghem
11b6ec9a9e 98376: Replaced EPersonListComponent with MembersListComponent & display error for empty reviewers list 2023-01-11 20:28:54 +01:00
Tim Donohue
bbdef724e8 Merge pull request #2038 from tdonohue/datacite_i18n_key
Add DataCite to i18n list of sources
2023-01-11 13:13:30 -06:00
Tim Donohue
6396e6a585 Add DataCite to i18n list of sources 2023-01-11 12:33:26 -06:00
Alexandre Vryghem
cd0019eb8a Merge branch 'main-upstream' into w2p-98211_advanced-workflow-actions 2023-01-11 18:24:30 +01:00
Art Lowel
266931f55f Merge remote-tracking branch 'upstream/main' into fully-qualified-sitemap-urls-7.5-next 2023-01-11 17:51:58 +01:00
Art Lowel
5c77f500dc Merge tag 'dspace-7.4' into fully-qualified-sitemap-urls-7.4 2023-01-11 17:39:22 +01:00
Alexandre Vryghem
7cee2aac6f 98376: Added rating button to ratingreviewaction claimed task and created page 2023-01-11 12:40:54 +01:00
corrado lombardi
fec3f0909f Merge remote-tracking branch 'origin/CST-7604' into CST-7604 2023-01-11 08:51:45 +01:00
Tim Donohue
6e53117d4b Merge pull request #2020 from DSpace/dependabot/npm_and_yarn/json5-2.2.2
Bump json5 from 2.2.1 to 2.2.2
2023-01-10 16:58:35 -06:00
Tim Donohue
0d149a3ae4 Merge pull request #2029 from atmire/Fix-breadcrumb-css-issue
Fix breadcrumb css issue
2023-01-10 16:20:21 -06:00
Nikunj Sharma
5660e7dc70 [CST-7604] test cases update 2023-01-11 02:46:20 +05:30
Tim Donohue
6c63af33d8 Merge pull request #1967 from yingjin/DA-8586
Add captioning support for video/audio files
2023-01-10 13:17:13 -06:00
Tim Donohue
2fbfdd0483 Merge pull request #2031 from ybnd/fix-klaro-i18n
Fix Klaro i18n messages
2023-01-10 12:04:16 -06:00
Giuseppe Digilio
736c92cd8d Merge branch 'main' into CST-7755 2023-01-10 18:48:33 +01:00
Tim Donohue
1cb1e31a59 Merge pull request #2022 from atmire/w2p-96252_Reduce-main-bundle-size_Reorganize-shared-module-pt2
Reorganize shared module to reduce main bundle size - part 2
2023-01-10 11:45:48 -06:00
Alexandre Vryghem
ef9373baec 98376: Fixed collection-roles page for collections with single workflowGroup 2023-01-10 17:56:32 +01:00
Alexandre Vryghem
36891ef3bf 98204: Edit collection assign roles tab breaks when no workflow groups 2023-01-10 16:40:37 +01:00
corrado lombardi
99f8a314df Merge remote-tracking branch 'origin/CST-7604' into CST-7604 2023-01-10 15:28:50 +01:00
Nikunj Sharma
b7b2803f6e [CST-7604] added hithighlight for person and orgunit 2023-01-10 19:56:32 +05:30
Nikunj Sharma
f9f3ad32c7 [CST-7604] added hithighlight for person and orgunit 2023-01-10 19:37:06 +05:30
Alexandre Vryghem
b351053489 98344: Fixed workflow id passed to backend instead of claimed task id 2023-01-10 14:10:44 +01:00
Nikunj Sharma
fc2c7c5e69 Merge remote-tracking branch 'origin/main' into CST-7604 2023-01-10 16:24:04 +05:30
Alexandre Vryghem
f4a303f808 98344: Added decline task simple workflow step 2023-01-09 23:20:14 +01:00
Alexandre Vryghem
5a5884dd1a 98344: Implemented the Select reviewers advanced step 2023-01-09 22:01:33 +01:00
Alexandre Vryghem
a03a150015 98211: Added tests 2023-01-09 22:01:33 +01:00
Koen Pauwels
cad4f74173 Moved tests from ContextHelpDirective to ContextHelpWrapperComponent and added more tests 2023-01-09 17:15:07 +01:00
Yury Bondarenko
463bcb40e9 Remove stray console.log 2023-01-09 16:47:24 +01:00
Yury Bondarenko
a7a6d1b27a Fix Klaro i18n issue
Caused by a merge mistake in https://github.com/DSpace/dspace-angular/pull/1975
2023-01-09 16:47:05 +01:00
Kristof De Langhe
1c11b9813c 97287: Fix GA page-view requests 2023-01-09 15:59:48 +01:00
Koen Pauwels
365b0208d9 Tests for ContextHelpDirective 2023-01-09 11:37:29 +01:00
Alexandre Vryghem
1a8320c4f7 98211: Added ModifyItemOverviewComponent & confirm action button to AdvancedWorkflowActionSelectReviewerComponent 2023-01-06 16:50:52 +01:00
Alexandre Vryghem
947658dd08 98211: Created advanced workflow task pages 2023-01-06 16:50:52 +01:00
Koen Pauwels
72fb37f4c5 Merge remote-tracking branch 'dspace/main' into w2p-97732_feature-context-help-service 2023-01-06 11:38:40 +01:00
Koen Pauwels
0676b5aebb Merge tag 'dspace-7.4' into feature-context-help-7.4 2023-01-06 11:13:41 +01:00
Yana De Pauw
827ab4d49e Yarn lock change 2023-01-06 10:07:23 +01:00
Yana De Pauw
3daec441f2 Merge remote-tracking branch 'upstream/main' into w2p-97425_System-wide-alerts 2023-01-06 10:04:35 +01:00
yingjin
9627ebb13b Merge branch 'DSpace:main' into DA-8586 2023-01-05 16:41:47 -06:00
Ying Jin
68a3c8a4b2 change typo from minetype to mimetype 2023-01-05 16:31:42 -06:00
Tim Donohue
95b8dc3c11 Merge pull request #1923 from 4Science/CST-6171
Customizability of theme colours
2023-01-05 15:00:41 -06:00
Koen Pauwels
8850f005b4 97732 Fixed button hover color issue in header 2023-01-05 15:05:42 +01:00
Koen Pauwels
84c053575f 97732 Some example tooltips for the edit group page 2023-01-05 15:05:42 +01:00
Koen Pauwels
5a1e57408f 97732 Fixed some display issues 2023-01-05 15:05:42 +01:00
Koen Pauwels
920e36ecf2 97732 Fixed bug where ContextHelpWrapperComponent subscriptions would not properly be initialized if the application launches with help icons hidden by default 2023-01-05 15:05:42 +01:00
Koen Pauwels
e16a3edf78 97732 ContextHelpToggleComponent added 2023-01-05 15:05:42 +01:00
Koen Pauwels
5ba45cb0fa 97732 Context help service, changes to directive and component 2023-01-05 15:05:42 +01:00
Koen Pauwels
c156e1ca6f 97732 Context help model, actions and reducer 2023-01-05 15:05:42 +01:00
Koen Pauwels
10bf18fe29 97399 WIP: Tests for ContextHelpDirective 2023-01-05 15:05:32 +01:00
Kristof De Langhe
5da65b3c79 97742: Revert accidental dspace-angular version 2023-01-05 13:42:25 +01:00
Yana De Pauw
6fb4cce104 Merge remote-tracking branch 'upstream/main' into Fix-breadcrumb-css-issue 2023-01-05 13:37:43 +01:00
Yana De Pauw
e5082ffa1f Remove unneeded important 2023-01-05 13:30:28 +01:00
Yana De Pauw
594f8eaa77 Fix breadcrumb color css 2023-01-05 13:18:36 +01:00
Kristof De Langhe
8cbf3511bb 97742: Lint fixes 2023-01-05 13:13:40 +01:00
Kristof De Langhe
9af8b17f81 Merge branch 'edit-metadata-redesign-7.4' into edit-metadata-redesign-PR 2023-01-05 13:07:39 +01:00
Kristof De Langhe
9f61109e83 97742: Lint fix 2023-01-05 13:07:31 +01:00
Kristof De Langhe
57f10fa9eb v1.22.19 2023-01-05 11:47:53 +01:00
Kristof De Langhe
21eae60abb Merge branch 'main' into edit-metadata-redesign-PR 2023-01-05 11:40:10 +01:00
Kristof De Langhe
30eba0bdef 97742: Themed DsoEditMetadataComponent 2023-01-05 11:37:46 +01:00
Alexandre Vryghem
0fb9970734 98211: Added button to my workflow task page 2023-01-04 22:48:45 +01:00
Alexandre Vryghem
1cf0f97121 98211: Added advanced workflow models 2023-01-04 22:25:03 +01:00
Kristof De Langhe
124469209a 97742: Post merge test & build fixes 2023-01-04 17:51:34 +01:00
Kristof De Langhe
82e604650e Merge branch 'w2p-97075_Edit-metadata-redesign' into edit-metadata-redesign-7.4 2023-01-04 17:18:53 +01:00
Kristof De Langhe
ceb6ea3672 93747: Fixed and improved ArrayMoveChangeAnalyzer 2023-01-04 14:29:48 +01:00
Yury Bondarenko
76108e57b3 Merge remote-tracking branch 'origin/main' into w2p-96252_Reduce-main-bundle-size_Reorganize-shared-module-pt2 2023-01-04 12:26:08 +01:00
Kristof De Langhe
c4de31ec4d 97742: Removing old item-metadata component & adding support for itemtemplate dso-edit-metadata 2023-01-04 11:55:37 +01:00
Sufiyan Shaikh
81696dfd04 [CST-7755] Modified the changes related to the reload the object and authorization 2023-01-04 13:12:57 +05:30
Yury Bondarenko
f6db75f4f8 96252: Remove unneeded imports from SharedModule
These are no longer required in SharedModule, so we can remove them from main.js
2023-01-03 17:05:36 +01:00
Yury Bondarenko
67616a5d52 96252: Remove unused sidebar filter components 2023-01-03 17:03:46 +01:00
Yury Bondarenko
1c7108e928 96252: Move MyDSpace components out of SharedModule
Also move ds-metadata-field-wrapper to SharedModule so it can be reused in detail view without importing ItemSharedModule
2023-01-03 17:03:42 +01:00
Yury Bondarenko
935e9a4690 96252: Move Bitstream page components out of SharedModule 2023-01-03 17:03:32 +01:00
Yury Bondarenko
661ed72c11 96252: Move Item page components out of SharedModule 2023-01-03 17:03:19 +01:00
Nikunj Sharma
4645d4baa4 Merge remote-tracking branch 'origin/main' into CST-7604 2023-01-03 21:22:22 +05:30
Kristof De Langhe
533d833225 93747: Test cases 2023-01-03 16:16:11 +01:00
Kristof De Langhe
9d3769103d 93747: Test cases 2023-01-02 17:44:58 +01:00
Jens Vannerum
3e09653f0b 97049: Nest before each statements 2023-01-02 14:38:20 +01:00
dependabot[bot]
9b6ba906d6 Bump json5 from 2.2.1 to 2.2.2
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 12:50:21 +00:00
Jens Vannerum
6012c66d1c 97049: fix tests 2023-01-02 13:48:50 +01:00
Kristof De Langhe
6773ad967b 93747: Feedback 2022-12-21 - fixing move patch 2023-01-02 13:17:41 +01:00
Jens Vannerum
ec89addf17 97049: Missing provided service after merge 2023-01-02 12:14:33 +01:00
Kristof De Langhe
d4c30044f7 93747: DsoEditMetadataForm test cases 2023-01-02 11:29:44 +01:00
Jens Vannerum
befdc56fca Merge remote-tracking branch 'dspaceMain/main' into issue-815-controlled-vocabulary-hierarchical-facets-7.4 2023-01-02 10:15:18 +01:00
corrado lombardi
69390a7172 [CST-7755] Updated label and made other workspace items option available to controllers 2022-12-30 16:05:39 +01:00
Giuseppe Digilio
ed6d06c7ae [CST-7217] Apply fix also for selected facets 2022-12-30 10:30:28 +01:00
Giuseppe Digilio
928431284f [CST-7217] Improve fix 2022-12-30 10:12:15 +01:00
Giuseppe Digilio
17b8bee824 Merged main into CST-7217 2022-12-30 08:48:34 +00:00
Giuseppe Digilio
710b11655d [CST-7757] Rename type property to subscriptionType 2022-12-29 18:46:19 +01:00
Sufiyan Shaikh
2069bc20a2 [CST-7755] merge with latest main branch 2022-12-29 18:20:19 +05:30
Sufiyan Shaikh
09781c9057 [CST-7755] LYRASIS: Supervisor orders (Angular) 2022-12-29 18:16:54 +05:30
Marie Verdonck
b273b7a137 Merge branch 'w2p-97298_issue-3281_self-register-issue-7.2' into w2p-97298_issue-3281_self-register-issue-main
# Conflicts:
#	src/app/core/data/eperson-registration.service.spec.ts
#	src/app/core/data/eperson-registration.service.ts
#	src/app/register-email-form/register-email-form.component.spec.ts
#	src/app/register-email-form/register-email-form.component.ts
2022-12-29 13:16:30 +01:00
Giuseppe Digilio
90a9238895 [CST-7757] fix pagination 2022-12-28 16:23:08 +01:00
Giuseppe Digilio
27d5097f4b [CST-7757] Add subscribe button to all dso pages 2022-12-28 16:22:17 +01:00
Marie Verdonck
31b17731f2 97298: #3281 Self-register - test fixes 2022-12-28 16:13:27 +01:00
Giuseppe Digilio
88eefc6b79 [CST-7757] fix tests 2022-12-28 15:29:13 +01:00
Marie Verdonck
e4ce91fa73 97298: #3281 Self-register - type request query param 2022-12-28 11:57:48 +01:00
Giuseppe Digilio
88e191e961 [CST-7757] Fix lint errors 2022-12-28 11:28:18 +01:00
Giuseppe Digilio
72a42b0a6e [CST-7757] Refactoring code 2022-12-27 20:10:47 +01:00
Giuseppe Digilio
af0b7e72b4 Merge branch 'main' into CST-7757
# Conflicts:
#	src/app/shared/shared.module.ts
2022-12-27 09:42:28 +01:00
Davide Negretti
a6cd39c906 [CST-7757] Subscriptions porting (wip) 2022-12-23 18:25:04 +01:00
corrado lombardi
3ed4d50e18 Merge branch 'main' into CST-7694 2022-12-23 14:47:14 +01:00
Marie Verdonck
bf826fa105 Merge remote-tracking branch 'origin/main' into w2p-97298_issue-3281_self-register-issue-main 2022-12-23 14:27:50 +01:00
Davide Negretti
3ab552ed38 [CST-7757] Subscriptions porting (wip) 2022-12-23 14:06:28 +01:00
Davide Negretti
f15ca85afd [CST-7757] Subscriptions porting (wip) 2022-12-23 13:26:04 +01:00
Yana De Pauw
b6218494e5 97425: Fix countdown timer intial display and remove rounded banner corner 2022-12-23 12:15:35 +01:00
Yana De Pauw
37ec888b0a 97425: Create "System Wide Alerts" feature 2022-12-23 10:51:53 +01:00
Rezart Vata
b775cd5ab0 [CST-7757] Subscriptions porting (wip) 2022-12-22 17:11:18 +01:00
Michael Spalti
6a1f81280b Finished removing results button from shared.module 2022-12-21 12:54:31 -08:00
Michael Spalti
10841aac90 Merge branch 'main' into item-back-button 2022-12-21 12:34:39 -08:00
Michael Spalti
e963629d53 Renamed directory. 2022-12-21 12:29:09 -08:00
Michael Spalti
09e31e758d New modules for back button and browse-by 2022-12-21 12:02:56 -08:00
Tim Donohue
fd37c725e5 Merge pull request #2008 from tdonohue/enable_polish
Enable Polish language by default
2022-12-21 11:33:42 -06:00
Tim Donohue
43fc7986bf Enable Polish language by default 2022-12-21 10:11:31 -06:00
Tim Donohue
bee32d6634 Merge pull request #2001 from michdyk/DS1931---Polish-Translation
Ds1931   polish translation
2022-12-21 10:09:22 -06:00
Michał Dykas
3df9d24d88 Update pl.json5
Removing CRIS references
2022-12-21 11:44:23 +01:00
Michael Spalti
35bb0fb802 Removed back() function 2022-12-20 14:34:07 -08:00
Michael Spalti
73a9e0b0bb Apply shared button component to browse-by. 2022-12-20 13:46:59 -08:00
Tim Donohue
63a07c759f Merge pull request #2003 from mark-cooper/textarea-spellcheck
Enable / disable spellcheck for textarea inputs via config
2022-12-20 10:06:33 -06:00
Tim Donohue
61f2383c6e Merge pull request #1976 from 4Science/main_1950_DURACOM-101
Common Extendend Regex format for submission-forms
2022-12-20 09:40:00 -06:00
Joost
4f960231da lint fixes 2022-12-20 15:57:54 +01:00
Joost
cbf6f24d87 lint fixes 2022-12-20 15:50:31 +01:00
Joost
fd5da5e1a3 Merge branch 'w2p-97298_issue-3281_self-register-issue-7.2' into w2p-97298_issue-3281_self-register-issue-main 2022-12-20 15:47:49 +01:00
Joost
c4f9bc4b1a lint fixes 2022-12-20 15:45:51 +01:00
Joost
8b71ad6735 [task 97198] fix merge mistakes 2022-12-20 15:36:15 +01:00
Joost
05fa88fc32 Merge branch 'w2p-97298_issue-3281_self-register-issue-7.2' into w2p-97298_issue-3281_self-register-issue-main 2022-12-20 15:17:53 +01:00
Joost
3f7bdb284f [task 97298] displaying mail domains only on register 2022-12-20 15:01:53 +01:00
Joost
3690dceb75 [task 97298] sending the type for registration 2022-12-20 14:54:54 +01:00
Vincenzo Mecca
8f91e146de [1950][DURACOM-101] JSDoc and regex validation tests 2022-12-20 10:23:19 +01:00
Michael Spalti
c28f165923 Node 18 spec fix 2022-12-19 15:21:29 -08:00
Michael Spalti
d34cea1215 Fixed module. 2022-12-19 13:01:53 -08:00
Michael Spalti
7eb446a84f Merge branch 'main' into item-back-button 2022-12-19 12:54:59 -08:00
Tim Donohue
fa2dc72f33 Merge pull request #1987 from mspalti/relation-submisssion-thumb
Fix for related item thumbnail images.
2022-12-19 14:46:31 -06:00
Michael Spalti
d029e80495 Convert to themed, shared component 2022-12-19 12:32:53 -08:00
Tim Donohue
701290efe6 Merge pull request #1993 from atmire/w2p-97265_fix-statistics-menu-order-7.4
Fix statistics option position in header on different DSO pages
2022-12-19 11:54:24 -06:00
Koen Pauwels
c158fd18c9 97399 Documentation 2022-12-19 17:05:26 +01:00
Joost
8f6db1f6a0 lint fixes 2022-12-19 16:43:02 +01:00
Koen Pauwels
1ae18ec9f7 97399 Added support for links in tooltips 2022-12-19 14:55:55 +01:00
Yana De Pauw
f766c0020f Fix lint issue 2022-12-19 14:49:32 +01:00
Tim Donohue
f1dfd0ce8a Merge pull request #1992 from atmire/theme-name-as-data-attr-7.5-next
Make it easier to know which theme is being used for a component
2022-12-16 16:56:09 -06:00
Tim Donohue
34e60df6e0 Merge pull request #1981 from atmire/w2p-96121_server-side-language-headers
Server side language headers
2022-12-16 16:45:59 -06:00
Mark H. Wood
2afc835b7f Catch and report errors from non-JSON responses. 2022-12-16 17:17:55 -05:00
Tim Donohue
95f0976175 Merge pull request #1942 from atmire/w2p-96062_theme-external-source-entry-import-modal-component
make the ExternalSourceEntryImportModalComponent themeable by default
2022-12-16 11:29:57 -06:00
Tim Donohue
7b1a8f8cf7 Merge pull request #1939 from atmire/w2p-96062_theme-collection-dropdown-component
Make the CollectionDropdownComponent themeable
2022-12-16 10:57:19 -06:00
Koen Pauwels
28a127ca0e 97399 Improvements to ContextHelpDirective and ContextHelpWrapperComponent 2022-12-16 16:50:17 +01:00
Nikunj Sharma
247e61ce2b [CST-7604] fixed as per tom comment to highlight Journal, Project, OrgUnit or Person) or is a Community or Collection 2022-12-16 20:27:00 +05:30
Kristof De Langhe
bf9612e967 93747: Edit metadata redesign - drag to reorder pt2 2022-12-16 15:08:32 +01:00
Koen Pauwels
a40d93a941 97399 Implemented basic working tooltip on top level community list 2022-12-16 11:41:09 +01:00
jensvannerum
62378a5d95 Merge branch 'main' into issue-815-controlled-vocabulary-hierarchical-facets-7.4 2022-12-16 11:13:38 +01:00
Mark Cooper
9771d756b6 Enable / disable spellcheck for textarea inputs via config 2022-12-15 15:46:03 -08:00
Ying Jin
2fea10aced add/remove comments 2022-12-15 17:18:22 -06:00
yingjin
5c1101c13e Merge branch 'DSpace:main' into DA-8586 2022-12-15 17:17:07 -06:00
Tim Donohue
ffc5ecb100 Merge pull request #2002 from tdonohue/fix_docker_arm64_build
Fix Docker arm64 build
2022-12-15 16:37:08 -06:00
Julian Timal
ea275aff34 Use full community, collection and item names in breadcrumb navigation (#1957)
* Add ngTooTip and property botton in ToolTip

modify the breadcumbs html file to show the full name on mouseover

* fixed in test of breadcumbs

* Suggestion last breadcumb

* Fix alignment (as it was before)

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
2022-12-15 16:23:08 -06:00
Tim Donohue
e0679d4ba6 Ensure all necessary build tools exist in image 2022-12-15 16:03:10 -06:00
Tim Donohue
ed593d5786 Merge pull request #2000 from tdonohue/update_latest_angular13
Update to latest Angular 13 & Remove unused dependencies
2022-12-15 11:02:42 -06:00
Jens Vannerum
f2972d7d34 Merge remote-tracking branch 'dspace-main/main' into w2p-96062_theme-collection-dropdown-component
# Conflicts:
#	src/app/shared/shared.module.ts
2022-12-15 17:58:28 +01:00
Jens Vannerum
efd3600a47 Merge remote-tracking branch 'dspace-main/main' into w2p-96062_theme-external-source-entry-import-modal-component
# Conflicts:
#	src/app/shared/form/form.module.ts
2022-12-15 17:43:34 +01:00
Kristof De Langhe
64d96453c3 93747: Edit metadata redesign - drag to reorder pt1 2022-12-15 17:25:23 +01:00
Michał Dykas
4dcc082ec0 Update config.example.yml
Enabling Polish language
2022-12-14 16:00:22 +01:00
Kristof De Langhe
43d9e3f958 93746: Feedback 2022-12-14 - missing types & tooltip width 2022-12-14 16:00:10 +01:00
Michał Dykas
9f0f7c4f29 Update pl.json5
Full Polish translation
2022-12-14 15:57:30 +01:00
Jens Vannerum
07fe4f261f 97049: Attempt to fix aSync test 2022-12-14 11:52:00 +01:00
Jens Vannerum
b04c8025dc 97049: Attempt to fix aSync test 2022-12-14 11:35:19 +01:00
Jens Vannerum
c2ef6893d3 97049: fix lint issue after merge 2022-12-13 15:12:28 +01:00
Jens Vannerum
04e5510c6b 97049: fix wrong import after merge 2022-12-13 15:01:56 +01:00
Kristof De Langhe
50f7211947 93746: Edit metadata redesign - Virtual metadata 2022-12-13 14:38:53 +01:00
Jens Vannerum
83505cdce6 Merge remote-tracking branch 'dspaceMain/main' into issue-815-controlled-vocabulary-hierarchical-facets-7.4
# Conflicts:
#	src/app/shared/form/vocabulary-treeview/vocabulary-treeview.component.ts
2022-12-13 13:08:38 +01:00
Joost
7917f61210 typo fix 2022-12-13 11:12:16 +01:00
Joost
03fe9a3ab9 typo fix 2022-12-13 11:11:42 +01:00
Joost
fd0a8c64c0 Merge branch 'main' into w2p-97298_issue-3281_self-register-issue-main 2022-12-13 11:11:19 +01:00
Joost
e0deed785e [task 97298] error message for not correct domain in registration mail 2022-12-12 17:27:54 +01:00
Tim Donohue
85c8722f7d Fix accessibility issue with empty <th> by switching to a <td> 2022-12-12 10:19:42 -06:00
Kristof De Langhe
454bfd2f9f 97075: Feedback 2022-12-09 - debounce on language input 2022-12-12 16:32:13 +01:00
Kristof De Langhe
1ca217e748 97075: Feedback 2022-12-09 - splitting into multiple components 2022-12-12 16:28:01 +01:00
Kristof De Langhe
3c9623a2b0 97075: Feedback 2022-12-09 - improvements 2022-12-12 13:26:45 +01:00
Jens Vannerum
1af1d511d0 97049: Lint issue 2022-12-12 11:23:19 +01:00
Jens Vannerum
105308cdf8 97049: Fixing inconsistent tests 2022-12-12 11:18:31 +01:00
Koen Pauwels
e31781b5d0 97183 Fix linter issue, again 2022-12-12 10:07:00 +01:00
Koen Pauwels
69bd324da5 97183 Fix linter issue 2022-12-12 10:01:04 +01:00
Tim Donohue
3b6d37b006 Update to latest nodemon. Tested with yarn start:dev 2022-12-09 16:47:03 -06:00
Tim Donohue
24087290dd Update eslint-plugin-jsdoc for Node 18 compatibility 2022-12-09 16:07:18 -06:00
Tim Donohue
bec474b083 Remove unused dev dependencies. Update @nguniversal/builders to latest v13 2022-12-09 16:05:48 -06:00
Tim Donohue
1238caa906 Fixes for SASS 1.33. Update Bootstrap & FortAwesome to support 2022-12-09 16:05:48 -06:00
Tim Donohue
904171752f Cleanup of dependency versions 2022-12-09 16:05:48 -06:00
Tim Donohue
57f299df2b Remove unused dependencies 2022-12-09 16:05:48 -06:00
Tim Donohue
4d126bf558 yarn upgrade everything 2022-12-09 16:05:44 -06:00
Tim Donohue
3217402c09 Upgrade to latest Angular 13, Sass 1.33.0, etc. 2022-12-09 16:04:58 -06:00
Tim Donohue
4915f10b0e Merge pull request #1946 from mwoodiupui/1865
Support Node v18
2022-12-09 14:10:15 -06:00
Tim Donohue
70d2d20f06 Update Dockerfile to use Node 18 2022-12-09 12:14:57 -06:00
Tim Donohue
19a6ae840c Merge pull request #1975 from atmire/w2p-96252_Reduce-main-bundle-size_Reorganize-shared-module
Reorganize shared module to reduce main bundle size
2022-12-09 11:32:55 -06:00
Koen Pauwels
742b68b706 97183 Minor fixes (code review) 2022-12-09 14:52:41 +01:00
Tim Donohue
492344e6bd Spin up UI and REST on 127.0.0.1 2022-12-08 16:04:54 -06:00
Art Lowel
ee6ab3e3b2 Merge pull request #1984 from tdonohue/fix_1983
Fix email validation regex to use email validation regex from HTML5 specs
2022-12-08 19:29:59 +01:00
Jens Vannerum
9cde4c119e 97049: Fixing inconsistent tests 2022-12-08 17:52:49 +01:00
Jens Vannerum
a642a02663 Merge remote-tracking branch 'dspaceMain/main' into issue-815-controlled-vocabulary-hierarchical-facets-7.4
# Conflicts:
#	config/config.example.yml
#	src/assets/i18n/en.json5
2022-12-08 17:08:52 +01:00
Yury Bondarenko
2ffd732a40 Merge remote-tracking branch 'origin/main' into w2p-96252_Reduce-main-bundle-size_Reorganize-shared-module_REBASE-ON-7.4 2022-12-08 16:19:41 +01:00
Yury Bondarenko
95d5a2ff74 96252: Make Klaro lazy-loaded 2022-12-08 16:15:50 +01:00
Yury Bondarenko
d0c74ed49f 96252: Clean up SharedModule & CoreModule 2022-12-08 16:12:30 +01:00
Yury Bondarenko
9e731909ae 96252: Move menu support code to MenuModule 2022-12-08 16:12:27 +01:00
Yury Bondarenko
db3e8f9246 96252: Extract upload-specific code from SharedModule 2022-12-08 16:12:24 +01:00
Yury Bondarenko
3739fa4121 96252: Move dynamic forms out of AppModule 2022-12-08 16:12:20 +01:00
Yury Bondarenko
8341882b0f 96252: Extract form-specific code from SharedModule 2022-12-08 16:12:14 +01:00
Kristof De Langhe
c24e904c66 97075: Edit metadata - reset reinstatable on value delete 2022-12-08 11:08:15 +01:00
Kristof De Langhe
86164f743e 97075: Edit metadata - Reset reinstatable on change 2022-12-08 11:05:11 +01:00
Michael Spalti
9fefe064bf Added some space below the button. 2022-12-07 13:45:54 -08:00
Tim Donohue
23279017ca Merge pull request #1977 from 4Science/CST-7693
[CST-7693] Missing Translations added
2022-12-07 15:09:01 -06:00
Tim Donohue
cc80da9989 Merge pull request #1955 from arvoConsultores/DS-1774
The number of bitstreams on item pages are now configurable
2022-12-07 14:49:20 -06:00
Tim Donohue
599a5fdca0 Correct comment text 2022-12-07 14:46:28 -06:00
Michael Spalti
6684c2ea0c Merge branch 'main' into item-back-button 2022-12-07 12:25:28 -08:00
Michael Spalti
f378d53d4c Item back button and tests. 2022-12-07 12:22:23 -08:00
Tim Donohue
74b27e4166 Merge pull request #1994 from tdonohue/enable_ukrainian
Enable Ukrainian by default
2022-12-07 12:08:03 -06:00
Tim Donohue
f1d19fb53a Merge pull request #1986 from DSpace/dependabot/npm_and_yarn/decode-uri-component-0.2.2
Bump decode-uri-component from 0.2.0 to 0.2.2
2022-12-07 12:06:02 -06:00
Tim Donohue
6467c21a55 Enable Ukrainian by default 2022-12-07 11:33:14 -06:00
Tim Donohue
8fef157255 Merge pull request #1940 from AndrukhivAndriy/main
Add: Ukrainian translation
2022-12-07 11:32:17 -06:00
Tim Donohue
66820dd264 Merge pull request #1936 from atmire/w2p-95335_created-ListableNotificationObjectComponent_contribute-7.2
Created `ListableNotificationObject`
2022-12-07 10:44:34 -06:00
Joost
f81d416daf [task 97298][wip] showing domains for which registration can be done 2022-12-07 17:28:36 +01:00
Yana De Pauw
e99ec671d0 Merge branch 'dso-edit-menu-fixes' into w2p-94390_replace-dso-page-edit-buttons-with-a-menu 2022-12-07 09:48:58 +01:00
Yana De Pauw
475745b134 Remove old test fix 2022-12-07 09:48:21 +01:00
Tim Donohue
d26dd04066 Merge pull request #1962 from DSpace/dependabot/npm_and_yarn/socket.io-parser-3.3.3
Bump socket.io-parser from 3.3.2 to 3.3.3
2022-12-06 13:46:21 -06:00
dependabot[bot]
66ac508027 Bump socket.io-parser from 3.3.2 to 3.3.3
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/3.3.2...3.3.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 18:46:07 +00:00
Tim Donohue
b10c1c5421 Merge pull request #1989 from tdonohue/enable_github_codeql
Update to use GitHub CodeQL for code scanning (Angular UI)
2022-12-06 12:10:00 -06:00
Tim Donohue
3f9884eb24 Update to use GitHub CodeQL for code scanning 2022-12-06 11:28:08 -06:00
Tim Donohue
e127bde4cc Merge pull request #1991 from tdonohue/add_contributing_docs
Add CONTRIBUTING docs and resync with PR template
2022-12-06 11:09:35 -06:00
Jens Vannerum
26d4be6101 Merge branch 'w2p-97265_fix-statistics-menu-order' into w2p-97265_fix-statistics-menu-order-7.4 2022-12-06 18:04:16 +01:00
Art Lowel
7ede96b25c Merge branch 'main' into theme-name-as-data-attr-7.2 2022-12-06 17:58:46 +01:00
Art Lowel
31d660536f add data attribute to show which theme is being used for a component 2022-12-06 17:58:06 +01:00
Jens Vannerum
fcdc4b2b63 97265: Fix statistics header bug 2022-12-06 17:55:23 +01:00
Tim Donohue
23c4034cfb Add CONTRIBUTING docs and resync with PR template 2022-12-06 10:44:19 -06:00
Yana De Pauw
d3d0d19b81 Merge branch 'dso-edit-menu-fixes' into w2p-94390_replace-dso-page-edit-buttons-with-a-menu 2022-12-06 16:26:54 +01:00
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
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
Vincenzo Mecca
6e2279d155 [1950][DURACOM-101] Fixed linting 2022-11-28 11:25:50 +01:00
Vincenzo Mecca
0dd30fe98a Merge remote-tracking branch 'github/main' into main_1950_DURACOM-101 2022-11-28 11:03:09 +01:00
Nikunj Sharma
e7607da0a2 [CST-7694] fixed group edit issue for non permanent group 2022-11-24 14:17:50 +05:30
Sufiyan Shaikh
9a695fedc7 [CST-7693] Missing Translations added 2022-11-23 20:33:11 +05:30
Nikunj Sharma
1ee3114432 [CST-7604] fixed text highlight on search page 2022-11-18 18:09:26 +05:30
Nikunj Sharma
7d58a1eb0a [CST-7604] fixed text highlight on search page 2022-11-18 16:03:33 +05:30
Yury Bondarenko
f16e18fa63 Fix breaking import 2022-11-18 11:08:43 +01:00
Yury Bondarenko
7caacdb20a Merge remote-tracking branch 'origin/main' into w2p-94390_replace-dso-page-edit-buttons-with-a-menu 2022-11-18 10:05:15 +01:00
Yana De Pauw
4b0b6983a0 94391: Remove unused import 2022-11-17 16:50:30 +02:00
Yana De Pauw
4d297cfe9b 94391: Add aria labels and titles to the buttons 2022-11-17 16:33:19 +02:00
Mark H. Wood
7690d36e4b Update Node versions with which to test. 2022-11-17 09:06:34 -05:00
Mark H. Wood
fd43adea75 Check in updated yarn lockfile (newbie error). 2022-11-17 09:06:34 -05:00
Mark H. Wood
84cb8fe09d Make 'yarn install' succeed.
Make 'yarn install' succeed.
2022-11-17 09:06:33 -05:00
Ying Jin
e6065b7504 add captioning support for video/audio files 2022-11-16 10:34:00 -06:00
LisAtUP
68ecf48151 Update el.json5 2022-11-11 12:20:30 +02:00
Davide Negretti
c151cf340e Merge branch 'main' into CST-6171 2022-11-10 17:41:00 +01:00
Arvo Consultores y Tecnología. S.L
dff01bc3e7 Merge branch 'main' into DS-1774 2022-11-08 17:00:03 +01:00
Tim Donohue
89447a6c32 Merge pull request #1927 from tdonohue/no_unused_imports
Turn on no-unused-imports rule and remove all unused imports
2022-11-08 09:27:26 -06:00
Tim Donohue
cc86ba539f Turn on no-unused-imports rule and remove all unused imports 2022-11-08 08:55:37 -06:00
Tim Donohue
340cc0aa3f Merge pull request #1898 from tdonohue/upgrade_latest_cypress_9
E2E test stabilization, and upgrade to latest Cypress v9 and axe-core
2022-11-08 08:54:52 -06:00
Sergio Fernández Celorio
f7e78dccd1 Use the same property for both item pages 2022-11-07 19:27:54 +00:00
Pierre Lasou
6c226be7e8 Changes to fr.json5
New commit to include changes after review of commit 3bf13c0961
2022-11-07 13:31:45 -05:00
Sergio Fernández Celorio
1e523382d0 Fix lint error 2022-11-07 16:50:46 +01:00
Sergio Fernández Celorio
87a211ca66 Tests fixed 2022-11-07 12:20:00 +01:00
Sergio Fernández Celorio
2ed8f8bad8 Numbre of bitstreams in item page is now configurable 2022-11-04 10:40:29 +00:00
Vincenzo Mecca
9e843e36fa [1950] [DURACOM-101] Regex validator improved
feat:
  - New regexp to validate pattern used for regex validation;
2022-11-04 10:43:16 +01:00
Tim Donohue
f659e81aa9 Merge pull request #1948 from tdonohue/update_actions
Update to the latest version of all GitHub actions
2022-11-03 16:00:09 -05:00
Tim Donohue
6d1d446c0d Update to the latest version of all GitHub actions 2022-11-03 15:03:47 -05:00
Tim Donohue
749e1a7ad3 Merge pull request #1934 from TexasDigitalLibrary/DS-1905
DS-1905: fixes route function to match default value of websvc.opensearch.svccontext
2022-11-03 15:03:05 -05:00
Tim Donohue
b092d0b118 Merge pull request #1945 from 4Science/DSC-807-MAIN
Fix Health section labels
2022-11-03 14:20:54 -05:00
Tim Donohue
94d38efabc Merge pull request #1947 from 4Science/CST-7376
Test cases of date.util.spec.ts fixed
2022-11-03 14:19:01 -05:00
Tim Donohue
1e6a01397a Merge pull request #1930 from toniprieto/improve-cc-selector
Fix for Creative Commons jurisdiction chosen is ignored
2022-11-03 11:07:40 -05:00
Giuseppe Digilio
da6da6209b [CST-7376] fix lint error 2022-11-03 15:46:36 +01:00
Giuseppe Digilio
5c2c60db8b [CST-7376] fix issue with timezone within the test class 2022-11-03 15:08:16 +01:00
Sufiyan Shaikh
98ea3ebbff [DSC-807-MAIN] Aggiornare labels nella sezione Health della demo 2022-11-03 15:33:49 +05:30
Toni Prieto
9c05a116a8 Fix use case with cc.license.jurisdiction key commented out 2022-11-02 18:28:24 +01:00
nwoodward
63011bc41d removed sorting parameters from RSSComponent 2022-11-02 10:53:04 -05:00
nwoodward
2235072bea changed path in tests to match default value for websvc.opensearch.svccontext 2022-11-02 10:53:04 -05:00
nwoodward
434e0cb907 fix function to match default value of websvc.opensearch.svccontext 2022-11-02 10:53:04 -05:00
jensvannerum
7500ea898d Merge branch 'main' into w2p-96062_theme-collection-dropdown-component 2022-11-02 13:00:19 +01:00
Jens Vannerum
c6fd55baf4 96062: Alter test to match themed component 2022-11-02 12:55:21 +01:00
AndrukhivAndriy
46f1080720 Add: Ukrainian translation 2022-11-01 03:00:45 -07:00
Nikunj Sharma
43df05fe35 [CST-7217]applied css for facet break 2022-11-01 15:04:03 +05:30
Tim Donohue
dc4b4ffe4d Merge pull request #1933 from TexasDigitalLibrary/DSpace-8298
DS-8298: fixes issue where the lastHarvested and message fields were reversed
2022-10-31 14:14:22 -05:00
Jens Vannerum
02499f8019 96062: Theme the ExternalSourceEntryImportModalComponent 2022-10-31 19:42:07 +01:00
Tim Donohue
95a848aaf7 Merge pull request #1919 from atmire/w2p-95648_issue-1900_facet-prefix-values-not-escaped_latest
Search in sidebar/facet don't escape special characters
2022-10-31 12:38:10 -05:00
Tim Donohue
830503206a Merge pull request #1912 from atmire/Listable-object-decorator-refactor
Listable-object decorator refactor
2022-10-31 12:05:38 -05:00
Tim Donohue
e50c278497 Merge pull request #1938 from tdonohue/harden_github_workflows
GitHub Workflows security hardening (for dspace-angular)
2022-10-31 11:10:07 -05:00
Tim Donohue
8e87266900 Merge pull request #1916 from myrza1/patch-1
Kazakh Translations
2022-10-31 11:09:00 -05:00
Tim Donohue
d2d74a3759 Merge pull request #1878 from yingjin/DA-1767
Add IDs and pagination gear to Bitstream Formats
2022-10-31 10:53:50 -05:00
Jens Vannerum
70fe46aeed 96062: Theme the CollectionDropdownComponent 2022-10-31 16:34:25 +01:00
Tim Donohue
d0bcf5efcc Harden workflows by limiting default permissions 2022-10-31 10:33:38 -05:00
Tim Donohue
41e694507e Merge pull request #1902 from 4Science/CST-7119
Fix issues with user menu on different screen sizes
2022-10-31 10:25:34 -05:00
Ying Jin
2d72a22810 remove unused code 2022-10-30 23:30:51 -05:00
yingjin
56db9d8639 Merge branch 'DSpace:main' into DA-1767 2022-10-30 20:43:29 -05:00
myrza1
a545a1b5ed Update kk.json5
fixed by yarn json5 --validate
2022-10-30 00:50:00 +06:00
Tim Donohue
c876055855 Merge pull request #1925 from atmire/w2p-96078_Fix-span-linebreak-issue
Minor fixes related to line breaks & Markdown in metadata fields
2022-10-28 15:12:24 -05:00
Tim Donohue
2b666a12a4 Merge pull request #1910 from lucaszc/patch-4
Update pt-BR to replace ficheiro (pt-PT)
2022-10-28 14:56:34 -05:00
Tim Donohue
eec581e0b3 Merge pull request #1877 from yingjin/DA-1766
Add IDs to Metadata Schema page
2022-10-28 12:58:55 -05:00
Alexandre Vryghem
bd4f1f3c70 96433: Fixed issue where ExpandableNavbarSectionComponent was not loaded fast enough 2022-10-28 16:57:21 +02:00
Tim Donohue
fb05b7c701 Ensure label_merge_conflicts never runs on forks 2022-10-28 09:53:33 -05:00
Tim Donohue
e7e049c531 Bug fix to label_merge_conflicts GitHub action 2022-10-28 09:40:30 -05:00
Tim Donohue
f782ee921c Cherry-pick https://github.com/DSpace/DSpace/pull/8552 to dspace-angular 2022-10-28 09:30:11 -05:00
Pierre Lasou
3bf13c0961 Addition of missing parameters
Adding missing params and their french translations for : licence approval, SHERPA,  external sources and processes.
2022-10-28 09:54:40 -04:00
Tim Donohue
3334191755 Merge pull request #1908 from tdonohue/no_wildcard_imports
Shrink size of Klaro & ban wildcard imports.
2022-10-28 08:47:48 -05:00
Tim Donohue
6ceefb4977 Remove usages of url-parse per feedback 2022-10-27 16:19:51 -05:00
Tim Donohue
35171dbd48 Switch to Klaro without translation files. Update Klaro & add missing translation keys to i18n. 2022-10-27 16:02:28 -05:00
Tim Donohue
d66fdf42b1 Add lint rule banning wildcard imports. Fix existing ones where possible. 2022-10-27 16:02:24 -05:00
Tim Donohue
ea00bda9e3 Merge pull request #1903 from tdonohue/momentjs_to_date-fns
Replace Moment.js with date-fns
2022-10-27 15:57:33 -05:00
Tim Donohue
0d2be94cbd Minor refactor to use hasNoValue() 2022-10-27 15:12:53 -05:00
Tim Donohue
81814bf31c Merge branch 'main' into momentjs_to_date-fns 2022-10-27 15:08:27 -05:00
Tim Donohue
142dcf5624 Merge pull request #1929 from atmire/w2p-96252_Reduce-main-bundle-size-part1
Various tweaks to reduce main bundle size
2022-10-27 15:06:53 -05:00
Tim Donohue
11154d21be Upgrade to latest axe-core for accessibility checks in e2e tests 2022-10-27 14:16:48 -05:00
Tim Donohue
14bafd61fe Stabilize random authentication errors in e2e tests by using login form at all times. 2022-10-27 14:16:48 -05:00
Tim Donohue
2e486cf684 Update to latest Cypress v9 2022-10-27 14:16:48 -05:00
nwoodward
448f6a7eeb fixes issue where the lastHarvested and message fields were reversed 2022-10-27 13:28:58 -05:00
Alexandre Vryghem
bf35d71ce6 Merge remote-tracking branch 'upstream/main' into w2p-95335_created-ListableNotificationObjectComponent_contribute-7.2
# Conflicts:
#	src/app/shared/shared.module.ts
#	src/assets/i18n/en.json5
2022-10-27 18:56:32 +02:00
Yury Bondarenko
190c2e4673 Merge remote-tracking branch 'origin/main' into w2p-96252_Reduce-main-bundle-size-part1 2022-10-27 18:44:41 +02:00
Alexandre Vryghem
6f47e0a79c 95335: ListableNotificationObjectComponent not taking up all the space AFTER UPDATE 2022-10-27 18:36:01 +02:00
yingjin
3cb4d6a40b Merge branch 'DSpace:main' into DA-1766 2022-10-27 10:34:32 -05:00
yingjin
8948c73c52 Merge branch 'DSpace:main' into DA-1767 2022-10-27 10:34:17 -05:00
Ying Jin
ec99d2dca8 fix lint issue 2022-10-26 13:58:16 -05:00
Toni Prieto
97e5101390 Merge branch 'main' into improve-cc-selector 2022-10-26 12:18:49 +02:00
Toni Prieto
8a07bb64db Correct lint errors 2022-10-26 10:04:28 +02:00
Ying Jin
b92d423566 Merge branch 'DA-1766' of https://github.com/yingjin/dspace-angular into DA-1766 2022-10-25 21:37:15 -05:00
Ying Jin
296bf0e4d9 update test 2022-10-25 21:36:56 -05:00
Ying Jin
d117cdae07 change pagination to default and update test 2022-10-25 21:17:57 -05:00
kshepherd
0395480ab8 Merge pull request #1928 from hutattedonmyarm/type-bind-for-checkbox-groups
Fix missing type-bind relations for checkbox group
2022-10-26 11:38:30 +13:00
Toni Prieto
7e62e372a8 Fix for Creative Commons jurisdiction chosen is ignored 2022-10-25 22:19:12 +02:00
Yury Bondarenko
bde841918c 96252: Transform .json5 to .json in Webpack
This allows us to get rid of the json5 dependency in the main bundle and reduces the size of the i18n files we serve a bit
2022-10-25 21:01:21 +02:00
Yury Bondarenko
47ae04986d 96252: Make existing lodash imports tree-shakeable 2022-10-25 17:25:34 +02:00
Yury Bondarenko
be43fcb47f 96252: Enforce tree-shakeable lodash imports in ESLint 2022-10-25 17:25:29 +02:00
Yury Bondarenko
674a4829ce 96252: Even more lazy dsMarkdown 2022-10-25 17:25:25 +02:00
Yana De Pauw
5333db17f5 Merge remote-tracking branch 'upstream/main' into w2p-96121_server-side-language-headers 2022-10-25 14:30:06 +02:00
Max Nuding
727ed4a3d7 Fix missing type-bind relations for checkbox group
Checkbox groups were always displayed, because they did not include the type-bind relations. This commit adds the missing property
2022-10-25 12:21:33 +02:00
yingjin
4157f4e9e1 Merge branch 'DSpace:main' into DA-1766 2022-10-24 16:00:03 -05:00
yingjin
80bcf90df3 Merge branch 'DSpace:main' into DA-1767 2022-10-24 15:59:41 -05:00
Tim Donohue
1c8d538100 Merge pull request #1893 from the-library-code/1892_dynamic_contact_type_bind_fix
[#1892] Apply type-bind properly to concat fields that are not dynamic arrays
2022-10-24 12:16:20 -05:00
Yana De Pauw
e1753294d4 96121: Fix server side language headers 2022-10-24 17:48:31 +02:00
Tim Donohue
5b69bb1cc4 Update action to add issues to new triage board 2022-10-21 16:49:17 -05:00
Kristof De Langhe
1dc65472c9 Merge branch 'main' into w2p-89676_Listable-object-decorator-refactor-main 2022-10-21 15:54:20 +02:00
Kristof De Langhe
a06ff35f0a 89676: listable-object decorator match finding refactoring 2022-10-21 15:51:30 +02:00
Davide Negretti
f109e97a0c [CST-6171] Semantic color scheme 2022-10-21 12:50:59 +02:00
Davide Negretti
a69f61e4f3 [CST-6171] Item status type badge colors 2022-10-21 12:50:51 +02:00
Davide Negretti
b62a4f6c53 [CST-6171] Navbar border 2022-10-21 01:38:26 +02:00
Tim Donohue
5ac9d56185 Merge pull request #1922 from dsteelma-umd/1920_fix-data-service.decorator.spec.ts-intermittent-failures
Issue 1920 - "data-service.decorator.spec.ts" tests fails intermittently
2022-10-20 13:45:50 -05:00
David P. Steelman
edbf1f847b Issue 1920 - "data-service.decorator.spec.ts" tests fails intermittently
Replaced the timestamp (intended to produce unique "testType" instances)
with UUID, because intermittent failures are occurring when tests
are running quickly enough that the "new Data().getTime()" function
is returning the same timestamp for multiple tests.
2022-10-20 11:49:02 -04:00
Alexandre Vryghem
9923a71586 95335: Fixed ListableNotificationObjectComponent not taking up all the space 2022-10-20 14:24:18 +02:00
Yury Bondarenko
6918239395 Don't use .preserve-line-breaks for Markdown content
The Markdown parser generates HTML with headings, paragraphs, ... for each bit of text.
This results in extra vertical spacing if we use `white-space: pre-line`
2022-10-20 13:04:03 +02:00
Alexandre Vryghem
d832fa3fea Merge branch 'main-upstream' into w2p-95648_issue-1900_facet-prefix-values-not-escaped_7.0 2022-10-19 21:15:54 +02:00
Alexandre Vryghem
595c3175d3 95915: Added spec test 2022-10-19 21:07:15 +02:00
Yana De Pauw
8204481466 96078: Support enableMarkdown in generic item page field component 2022-10-19 10:41:57 +02:00
Tim Donohue
658eabf395 Merge pull request #1853 from atmire/w2p-94233_use-css-vars-in-CSSVariableService
Use CSS variables in TypeScript
2022-10-18 15:03:45 -05:00
Tim Donohue
82f1e1b704 Merge pull request #1909 from tony/patch-1
chore(README): fix typo
2022-10-18 09:02:33 -05:00
Lucas Zinato Carraro
39e7fb3588 Update pt-BR to replace ficheiro (pt-PT)
Ficheiro is used only in pt-PT in pt-BR is used arquivo
2022-10-18 08:39:51 -03:00
Yana De Pauw
c659e730bc 96078: Fix space in metadata value span and fix comma separator 2022-10-18 12:11:09 +02:00
Tony Narlock
d031942d1e chore(README): fix typo 2022-10-17 18:53:38 -05:00
Tim Donohue
674de4a68a Merge pull request #1895 from lucaszc/patch-2
Fix button translation ...
2022-10-17 15:32:30 -05:00
Tim Donohue
0d55169716 Merge pull request #1896 from lucaszc/patch-3
Add missing translations in version 7.4 pt-BR
2022-10-17 15:13:07 -05:00
Davide Negretti
dd4d709d9c [CST-7119] Fixes 2022-10-17 11:22:07 +02:00
Tim Donohue
3e77850949 Fixes to imports 2022-10-14 13:33:09 -05:00
Tim Donohue
f61d466810 Remove unused import 2022-10-14 13:15:54 -05:00
Tim Donohue
502d4bbdb1 Remove momentjs and ngx-moment in favor of date-fns. Minor refactor to support this swap 2022-10-14 12:49:05 -05:00
Sufiyan Shaikh
c75f5f7c81 [CST-7119] User menu fixes and improvements 2022-10-14 18:39:41 +02:00
Tim Donohue
3eca2b323e Bug fix to initial test 2022-10-14 11:18:11 -05:00
Tim Donohue
f5cbe54348 Add data.util.spec.ts which all pass when using moment.js 2022-10-14 11:09:54 -05:00
Marie Verdonck
ff1ea804c9 95648: Issue 1900 - URl encode/escape prefix value in facets endpoint 2022-10-13 14:02:40 +02:00
Lucas Zinato Carraro
519e031e6a Fix missing { 2022-10-12 12:06:03 -03:00
Lucas Zinato Carraro
603c60f368 Add missing translations in version 7.4 pt-BR
Add missing keywords, and correct translations in pt-BR
2022-10-12 11:38:18 -03:00
lucaszc
4bb11cbadf Fix button translation ... 2022-10-12 11:29:27 -03:00
Kristof De Langhe
3c9a5e8c55 Merge tag 'dspace-7.4' into w2p-94390_replace-dso-page-edit-buttons-with-a-menu 2022-10-11 15:11:16 +02:00
Kristof De Langhe
964371066a 95632: Refactor orcid/claim person buttons to dso-menu-resolver 2022-10-11 15:10:22 +02:00
Kim Shepherd
4021b847a6 [#1892] Apply type-bind to concat fields that are not dynamic arrays 2022-10-11 11:37:28 +13:00
Alexandre Vryghem
efdd6acfff 95335: Created ListableNotificationObjectComponent 2022-10-07 12:09:30 +02:00
Tim Donohue
273c754370 Update version tag for development of next release 2022-10-06 14:53:19 -05:00
Tim Donohue
ca864379c8 Update version tag 2022-10-06 14:11:47 -05:00
Tim Donohue
a2cb60adeb Merge pull request #1888 from tdonohue/fix_examples
Sync config.example.yml with default-app-config for 7.4
2022-10-06 13:48:50 -05:00
Tim Donohue
cebf2df4d2 Sync config.example.yml with default-app-config for 7.4 2022-10-06 12:20:37 -05:00
Tim Donohue
5728f35f46 Merge pull request #1885 from mspalti/entity-thumbnail
Removed thumbnails from relationship modal
2022-10-06 08:56:05 -05:00
Tim Donohue
1d4f2edfdb Merge pull request #1886 from atmire/fix-1882
Fix dual notification when deleting bitstreamformats
2022-10-06 08:49:08 -05:00
Michael W Spalti
e572e4f41e Updated comment. 2022-10-06 02:27:24 -07:00
Art Lowel
f5deb88c5f fix an issue where deleting bitstreamformats would show both an error and a success notification 2022-10-06 10:29:20 +02:00
Michael W Spalti
8d30788f05 Updated test. 2022-10-05 15:08:42 -07:00
Michael W Spalti
acc32bf77d Hiding thumbnail in modal. 2022-10-05 14:50:25 -07:00
Tim Donohue
8ffc32540a Merge pull request #1884 from lucaszc/patch-1
Misspellings corrections in pt-BR
2022-10-05 14:06:20 -05:00
Tim Donohue
4c20ab8de3 Merge pull request #1881 from atmire/fix-1879
Fix issue when deleting a member from a group
2022-10-05 14:01:32 -05:00
lucaszc
8cc144cb73 Misspellings corrections in pt-BR
Misspellings  corrections in portuguese brazil
2022-10-05 14:54:51 -03:00
Art Lowel
c55c15b6f6 fix issue where deleting a member from a group would cause an infinite re-request loop 2022-10-05 18:27:09 +02:00
Tim Donohue
417c4dee12 Merge pull request #1869 from lucaszc/patch-1
Some translations for pt-BR
2022-10-04 15:06:33 -05:00
Tim Donohue
ba75051117 Merge pull request #1845 from 4Science/CST-6876
Search/MyDSpace fixes
2022-10-04 14:41:30 -05:00
Giuseppe Digilio
c47405cfe1 [CST-6876] Fix issue for which submitter disappear when workflow state were changed 2022-10-04 20:35:14 +02:00
Tim Donohue
8e5ef54f97 Merge pull request #1818 from 4Science/CST-6782-refactor
New users might be registered in a massive way by a robot
2022-10-04 09:53:15 -05:00
Davide Negretti
3b7a830ffe [CST-6782] Hide cookie settings when verification is disabled 2022-10-04 15:37:04 +02:00
Giuseppe Digilio
d8c8a43da4 [CST-6876] Refactoring workflow actions components in order to pass item and workflowitem objects down from paren search element component to children 2022-10-04 14:47:07 +02:00
lucaszc
f72f6a3166 Update pt-BR.json5
Add missing translations ..
2022-10-04 06:51:52 -03:00
Ying Jin
a97f08cd72 merge 2022-10-03 20:49:24 -05:00
Ying Jin
3076f67b70 merge 2022-10-03 20:37:53 -05:00
Ying Jin
5132acc55e merge 2022-10-03 20:34:52 -05:00
lucaszc
a94877ad5a Correcting, missing comma in line 62
Correct missing comma in line 62
2022-10-03 19:45:27 -03:00
Tim Donohue
9305705ab6 Merge pull request #1828 from FelixNicol/Virtual-metadatas-visibility-workflow-not-updated
Fix for PR#1822 - Adjusted two equality checks for scope type which always return false.
2022-10-03 17:15:26 -05:00
lucaszc
7b8371dc87 Merge branch 'main' into patch-1 2022-10-03 16:26:09 -03:00
lucaszc
c2376b6fc7 Update pt-BR.json5
Merge changes from #1866 and add more translations to pt-BR
2022-10-03 14:58:42 -03:00
Tim Donohue
60c317c020 Merge pull request #1876 from atmire/fix-z-index-issue-in-item-list-selects
Fix z-index issue with thumbnails in item list checkboxes
2022-10-03 11:22:13 -05:00
Davide Negretti
2e4b96b2dd [CST-6782] Disable registration button if cookies haven't been accepted 2022-10-03 17:41:38 +02:00
Giuseppe Digilio
ec375fb910 [CST-6876] move delay in the search-facet-filter.component 2022-10-03 17:37:54 +02:00
Davide Negretti
8f66f1fe8f Merge branch 'main-gh4s' into CST-6782-refactor 2022-10-03 17:35:26 +02:00
Davide Negretti
89cdad42d2 [CST-6782] Hide missing cookie alert when verification is not enabled 2022-10-03 17:34:00 +02:00
Giuseppe Digilio
076fa3e1af Merge remote-tracking branch 'origin/main' into CST-6876
# Conflicts:
#	src/app/shared/search/search.component.ts
2022-10-03 17:29:39 +02:00
Tim Donohue
458df454eb Merge pull request #1812 from atmire/w2p-94301_Empty-required-name-input-not-displaying-error-message-after-saving
Fix error validation for required `name` fields in submission
2022-10-03 10:25:20 -05:00
Art Lowel
967f531eb5 fix issue where the padding of a thumbnail in list view would prevent the checkbox from being clickable 2022-10-03 17:08:58 +02:00
Tim Donohue
445255e92d Merge pull request #1858 from abhishekd2t/main
Hindi Translation
2022-10-03 10:06:10 -05:00
Tim Donohue
789a1471b0 Merge pull request #1825 from atmire/w2p-94060_Issue-1720_MyDSpace-support-entities
MyDSpace support for entity type specific list views
2022-10-03 09:58:35 -05:00
lotte
d064c26eec 94060: reverted e2e test changes 2022-10-03 14:45:24 +02:00
lotte
738aa9f098 Merge remote-tracking branch 'origin/main' into w2p-94060_Issue-1720_MyDSpace-support-entities 2022-10-03 14:43:24 +02:00
Giuseppe Digilio
f16dcc7942 [CST-6876] Refactoring in order to remove nested subscriptions 2022-10-03 14:07:59 +02:00
lotte
84bdfb8306 94060: Encoded embedded slash forward to prevent cypress glob issues 2022-10-03 11:26:02 +02:00
Giuseppe Digilio
ac36cc20dc [CST-6876] Refactoring in order to remove nested subscriptions 2022-10-03 10:58:51 +02:00
Giuseppe Digilio
bbdaa253aa [CST-6876] Fix missing page size 2022-10-03 10:48:28 +02:00
Abhishek Raval
3b0577be2f Merge branch 'main' into main 2022-10-01 14:53:54 +05:30
Abhishek Raval
b96502583a Update default-app-config.ts 2022-10-01 14:48:50 +05:30
Abhishek Raval
2bb4c71ddd Updated hi.json5 file
Removed all the next line in hindi translation for same key, I.E. 20, 21 lines.
2022-10-01 11:57:46 +05:30
Abhishek Raval
f3cf13a040 Update config.example.yml 2022-10-01 11:06:41 +05:30
Tim Donohue
b26da8991a Merge pull request #1864 from pilasou/main
Adding missing language parameters in french translations file (fr.json5)
2022-09-30 16:59:16 -05:00
Tim Donohue
0ef8dccac8 Merge pull request #1827 from 4Science/CST-6685
Create new batch export/import page to/from ZIP
2022-09-30 14:08:04 -05:00
Tim Donohue
e1b21e2dc6 Merge pull request #1866 from danilofjr/patch-1
pt-BR translation contribution
2022-09-30 11:52:15 -05:00
Tim Donohue
1779b1f9f3 Merge pull request #1872 from atmire/w2p-93963-Add_support_for_line_breaks_markdown_and_mathjax_in_metadata
repair tests bis
2022-09-30 11:51:35 -05:00
lotte
fb9ed87f95 Merge remote-tracking branch 'atmire/w2p-93963-Add_support_for_line_breaks_markdown_and_mathjax_in_metadata' into w2p-94060_Issue-1720_MyDSpace-support-entities 2022-09-30 17:29:24 +02:00
Tim Donohue
e24f0e3fa5 Merge pull request #1873 from atmire/Fix-EPerson-delete-infinite-loop
Fix infinite loop when deleting an EPerson
2022-09-30 10:25:26 -05:00
lotte
3b653880b9 Merge branch 'w2p-93963-Add_support_for_line_breaks_markdown_and_mathjax_in_metadata' of https://github.com/atmire/dspace-angular into w2p-93963-Add_support_for_line_breaks_markdown_and_mathjax_in_metadata 2022-09-30 17:11:28 +02:00
lotte
e2e122b4ee 93963: Fixed tests in main 2022-09-30 17:08:47 +02:00
Samuel Cambien
8a6ff75560 repair tests bis 2022-09-30 17:06:11 +02:00
Tim Donohue
bf08244e93 Merge pull request #1838 from atmire/w2p-94474_clarify-process-state
Clarify that submission page may be closed while REST processes uploads
2022-09-30 09:44:18 -05:00
Danilo Felicio Jr
c20853d2fe Update pt-BR.json5 2022-09-30 11:21:37 -03:00
Samuel Cambien
80500e716d repair tests bis 2022-09-30 16:10:15 +02:00
Danilo Felicio Jr
fad23560b0 Update pt-BR.json5 2022-09-30 11:07:05 -03:00
Art Lowel
50cb219045 fix issue where the group overview page would throw an error after deleting a group 2022-09-30 15:53:27 +02:00
Yury Bondarenko
379d78eaa2 Fix infinite loop when deleting an EPerson
The reset() call is no longer needed in this case, since invalidation on delete is handled within the data service
We still need this method to properly update the page after creating a new EPerson
2022-09-30 14:38:31 +02:00
Giuseppe Digilio
c352ac440c [CST-6876] Fix LGTM alert 2022-09-30 14:35:47 +02:00
lotte
7a52b69573 94060: hopefully fix cypress tests 2022-09-30 13:38:30 +02:00
Giuseppe Digilio
a384a462eb [CST-6876] Fix issue with filter values request for which pagination was sent twice 2022-09-30 12:57:55 +02:00
Yana De Pauw
be8a3d278c Merge remote-tracking branch 'upstream/main' into w2p-94390_replace-dso-page-edit-buttons-with-a-menu 2022-09-30 12:31:21 +02:00
Yana De Pauw
0be6809a3d Merge branch 'w2p-94390_replace-dso-page-edit-buttons-with-a-menu_7.2' into w2p-94390_replace-dso-page-edit-buttons-with-a-menu 2022-09-30 12:12:02 +02:00
Yana De Pauw
2f3d619c8c 94391: Add support for com/col browse pages 2022-09-30 12:06:21 +02:00
Ying Jin
310726a3c4 fix DSpace #1766 Display all the fields for a Metadata Schema in one page and include IDs 2022-09-29 21:01:51 -05:00
Ying Jin
802b0e7204 fix DSpace#1767 Display all bitstream formats on one page and include IDs 2022-09-29 20:21:21 -05:00
Davide Negretti
88d5f02df2 Merge branch 'main-gh4s' into CST-6782-refactor
# Conflicts:
#	src/app/shared/cookies/browser-klaro.service.spec.ts
#	src/app/shared/shared.module.ts
2022-09-29 22:15:28 +02:00
Davide Negretti
c69934aab6 [CST-6782] Fix 2022-09-29 22:07:15 +02:00
Tim Donohue
6f9d31034c Merge pull request #1851 from atmire/w2p-93963-Add_support_for_line_breaks_markdown_and_mathjax_in_metadata
Add support for line breaks markdown and mathjax in metadata
2022-09-29 14:28:20 -05:00
lucaszc
262fac3dd0 Some translations for pt-BR
Some translations for pt-BR language
2022-09-29 14:50:59 -03:00
Yury Bondarenko
a370f42996 94301: Rename hideRequiredHint to hideErrorMessages for clarity 2022-09-29 17:55:15 +02:00
Yury Bondarenko
d12aa01eec 94301: Limit error propagation to concat groups 2022-09-29 17:55:15 +02:00
Tim Donohue
1370363a54 Merge pull request #1826 from 4Science/CST-6753_GA4
Update Google Analytics to version 4
2022-09-29 09:47:52 -05:00
Tim Donohue
6fa9eb8d0a Merge pull request #1842 from the-library-code/PRs/AdditionalThemedComponents
additional themed components
2022-09-29 09:42:17 -05:00
Peter Wolfersberger
d73c163443 emptied non-empty browse-by-date-page.component.html in custom theme 2022-09-29 15:53:17 +02:00
Nikunj Sharma
0025567daf Merge remote-tracking branch 'origin/main' into CST-6685 2022-09-29 19:16:08 +05:30
Nikunj Sharma
fadcd2e0c6 [CST-6685] removed -a option 2022-09-29 19:13:39 +05:30
lotte
9f1749e1ee 94060: Fixed issue where thumbnails wouldn't be shown if linkType is linkType.None 2022-09-29 15:36:45 +02:00
Peter Wolfersberger
4371698a6e Created empty template files for browse-by-title-page.component and browse-by-date-page.component in custom theme 2022-09-29 15:24:26 +02:00
Tim Donohue
7b42446c11 Merge pull request #1861 from the-library-code/PRs/FixedHeader768px
Workaround missing navbar @768px for dspace and custom templates
2022-09-29 08:24:01 -05:00
Tim Donohue
6972a384a2 Merge pull request #1868 from tdonohue/fix_1867
Fixes Community "Assign Roles" page
2022-09-29 08:23:01 -05:00
lotte
7acc8c888e 94060: Added thumbnail embed for submission object search results and added offset to status badge for mydspace results 2022-09-29 15:16:28 +02:00
Giuseppe Digilio
a6d29f5a23 [CST-6876] Replace deprecated createComponent method and improve code 2022-09-29 15:06:30 +02:00
Giuseppe Digilio
7f30e92782 [CST-6876] Fix issue with invalid request done when the claimed/pool task changed its status due to a performed action 2022-09-29 15:05:18 +02:00
Samuel Cambien
e3351eb739 repair DefaultAppConfig 2022-09-29 12:58:20 +02:00
Samuel Cambien
2af9984ace repair tests 2022-09-29 12:58:07 +02:00
Peter Wolfersberger
81830bb797 Fixed comma in lazy-theme.module.ts 2022-09-29 11:48:59 +02:00
Peter Wolfersberger
5e54422daf fixed redundant / in pathname of themed component 2022-09-29 10:49:42 +02:00
Kim Shepherd
133f35cb42 [TLC-372] Wait for async before testing obj lists in some tests
Browse by, obj list and other related components were
themed in this PR and added to lazy theme module.
2022-09-29 10:49:42 +02:00
Peter Wolfersberger
8805ac33fc Fixed commented out references to html and scss component files 2022-09-29 10:49:42 +02:00
Peter Wolfersberger
7c194ff700 made search-navbar-component themeable 2022-09-29 10:49:42 +02:00
Peter Wolfersberger
3799ed28c1 Made browse-by-metadata-page.component, browse-by-title-page.component, browse-by-date-page.component themeable
and fixed a forgotten "implements OnDestroy" in browse-by-metadata-page.component.ts
2022-09-29 10:49:42 +02:00
Peter Wolfersberger
f5316b5805 Made community-list-element.component and collection-list-element.component themeable. 2022-09-29 10:49:42 +02:00
Peter Wolfersberger
48c3fd24ed Themed object-list.component. 2022-09-29 10:49:42 +02:00
Peter Wolfersberger
24943b9b09 Added already themed comcol-page-browse-by.component to custom theme. 2022-09-29 10:49:42 +02:00
Peter Wolfersberger
b0d1a74128 Made comcol-page-handle-component themeable 2022-09-29 10:49:02 +02:00
Tim Donohue
c7029ed8f6 Merge pull request #1847 from mspalti/iiif-multi-fix
Bug fix for multiple IIIF image property
2022-09-28 17:02:29 -05:00
Tim Donohue
fbe35e14dd Merge pull request #1863 from 4Science/CST-6932
Registration page password validation
2022-09-28 16:43:53 -05:00
Tim Donohue
0235cc2fe8 Update community-roles.component to align with collection-roles 2022-09-28 13:30:42 -05:00
Yury Bondarenko
de28af8b51 Remove unused imports 2022-09-28 20:25:47 +02:00
Danilo Felicio Jr
30f0622810 pt-BR translation contribution
Fully translated til line 538 and other small corrections
2022-09-28 14:41:38 -03:00
Yury Bondarenko
9dc7b3490f Merge branch 'w2p-94390_replace-dso-page-edit-buttons-with-a-menu_7.2' into w2p-94390_replace-dso-page-edit-buttons-with-a-menu 2022-09-28 19:05:48 +02:00
Yury Bondarenko
785e4085fc 94389: Fix icon alignment & dropdown styles 2022-09-28 18:38:11 +02:00
Yana De Pauw
4489b3417c 94391: intermittent commit 2022-09-28 18:29:26 +02:00
Michael W Spalti
42bb39d097 Missing semicolon. 2022-09-28 09:18:03 -07:00
Michael W Spalti
60bcfe8cf5 Correction in the image count method. 2022-09-28 09:11:03 -07:00
Jens Vannerum
8bcbf02ed1 94474: Strings after merge 2022-09-28 18:06:52 +02:00
Jens Vannerum
63cedc0386 Merge branch 'main' into w2p-94474_clarify-process-state
# Conflicts:
#	src/assets/i18n/pt-BR.json5
#	src/assets/i18n/sv.json5
2022-09-28 18:05:02 +02:00
Tim Donohue
695ce3ab9e Merge pull request #1850 from atmire/use-x-forwarded-for-redirect
Use values from x-forwarded headers in getOrigin server side
2022-09-28 10:31:16 -05:00
Tim Donohue
77c38ad573 Merge pull request #1846 from atmire/w2p-94273_Track-dependencies-in-order-to-invalidate-them-when-an-object-is-invalidated
Track dependencies in order to invalidate them when an object is invalidated
2022-09-28 10:05:37 -05:00
Tim Donohue
7064014623 Merge pull request #1832 from atmire/w2p-89685_themed-search-settings-component
make search-settings.component themed
2022-09-28 10:04:47 -05:00
Tim Donohue
389ae85c55 Merge pull request #1823 from nibou230/dd-submission-1765
After drag & drop: Redirect the user and remove the notification
2022-09-28 08:31:15 -05:00
Yury Bondarenko
d98a261985 Add typedocs & fix copy/paste errors 2022-09-28 14:38:16 +02:00
Giuseppe Digilio
171ac62beb [CST-6753] Maintain compatibility with version 3 2022-09-28 13:30:22 +02:00
Art Lowel
941e71a75b add useProxies config to support x-forwarded headers in express 2022-09-28 13:10:46 +02:00
Art Lowel
241816e836 use location.replace to ensure the browser can track the redirect in its history 2022-09-28 11:58:27 +02:00
Giuseppe Digilio
750c6032bd [CST-6876] fix error when submitter is empty 2022-09-28 11:49:21 +02:00
Giuseppe Digilio
aa53e2fff6 [CST-6685] fix label 2022-09-28 09:54:25 +02:00
Jens Vannerum
27af7fad94 Merge branch 'main' into w2p-89685_themed-search-settings-component
# Conflicts:
#	src/themes/custom/lazy-theme.module.ts
2022-09-28 08:21:12 +02:00
Tim Donohue
1d13fd3f35 Merge pull request #1857 from joao-uefrom/main
Updated the Brazilian Portuguese translation.
2022-09-27 17:31:33 -05:00
Tim Donohue
ad13a396e6 Merge pull request #1860 from atmire/Fix-recent-submissions-list-thumbnails
Fix recent submissions list thumbnails
2022-09-27 16:53:29 -05:00
myrza1
3abfbf3f11 Update kk.json5
Finish translates
2022-09-28 03:47:16 +06:00
Giuseppe Digilio
f3f89b3dc1 [CST-6753] track Google Analytics statistic only if user accepts cookie consents 2022-09-27 21:47:15 +02:00
Pierre Lasou
f1888f718c Changes to 2 french translations
2 changes that override those of a previous commit fa20e9e5c0
2022-09-27 14:35:09 -04:00
Tim Donohue
0e23e850b7 Merge pull request #1804 from 4Science/CST-6153
Ask current password to user when setting a new password
2022-09-27 13:08:43 -05:00
Nicolas Boulay
9140fb6106 Remove unused translations 2022-09-27 13:40:12 -04:00
Nicolas Boulay
6cd01ec471 Add missing documentation 2022-09-27 13:40:12 -04:00
Nicolas Boulay
e9a8526b1b Redirect the user and remove the notification 2022-09-27 13:40:12 -04:00
Yury Bondarenko
7771cff5c8 93963: Use sanitize-html instead of isomorphic-dompurifier 2022-09-27 17:41:09 +02:00
Samuel Cambien
42608c6b09 Revert "93963: Use sanitize-html instead of isomorphic-dompurifier"
This reverts commit a789cb0960e966d19d86dfc67f274c6b1751ec32.
2022-09-27 17:41:09 +02:00
Samuel Cambien
8800b1e0e8 move configs, add extra documentation 2022-09-27 17:40:58 +02:00
Nikunj Sharma
98ee0751ec [CST-6685] added new batch export functionality 2022-09-27 20:19:50 +05:30
Giuseppe Digilio
e9a87a607a Merge remote-tracking branch 'origin/main' into CST-6753_GA4 2022-09-27 16:33:56 +02:00
Giuseppe Digilio
73c81ea924 Merge remote-tracking branch 'origin/main' into CST-6876
# Conflicts:
#	src/app/shared/object-list/my-dspace-result-list-element/claimed-search-result/claimed-search-result-list-element.component.spec.ts
#	src/app/shared/object-list/my-dspace-result-list-element/claimed-search-result/claimed-search-result-list-element.component.ts
#	src/app/shared/object-list/my-dspace-result-list-element/pool-search-result/pool-search-result-list-element.component.spec.ts
#	src/app/shared/object-list/my-dspace-result-list-element/pool-search-result/pool-search-result-list-element.component.ts
2022-09-27 16:24:24 +02:00
Yana De Pauw
6a932ec6ac 94390: Remove unused import 2022-09-27 16:21:56 +02:00
Yana De Pauw
6671bb3eb0 Merge remote-tracking branch 'upstream/main' into w2p-94390_replace-dso-page-edit-buttons-with-a-menu 2022-09-27 15:57:18 +02:00
Peter Wolfersberger
fc624a406f Workaround missing navbar @768px for dspace and custom templates
The treatment of the breakpoints is inconsistent. md is defined as
768px<=md<992px.
The statement
@media screen and (max-width: map-get($grid-breakpoints, md)) {}
,which is in some instances used at the moment for referencing break intervals BELOW md includes the lower md border which should be excluded.
The sass mixin
@include media-breakpoint-down($name) {}
or function
breakpoint-max($name)
for some unknown reason don't work, so this is a workaround.
2022-09-27 15:19:00 +02:00
lotte
1355fb1d35 94060: fixed tests 2022-09-27 14:27:18 +02:00
lotte
d1ca092897 Merge remote-tracking branch 'origin/main' into w2p-94060_Issue-1720_MyDSpace-support-entities 2022-09-27 14:26:58 +02:00
Yury Bondarenko
396bbd4f31 Fix default image logic in ds-thumbnail 2022-09-27 13:00:44 +02:00
Yury Bondarenko
05d1554740 Ensure entity list objects are used on the home page 2022-09-27 13:00:44 +02:00
Yury Bondarenko
6b0513aba1 Fix thumbnail placeholder font scaling in ds-recent-item-list 2022-09-27 13:00:44 +02:00
Sufiyan Shaikh
a011c300aa [CST-6932] behavior on the registration page should be the same as the behavior on the change password page 2022-09-27 13:23:13 +05:30
Nikunj Sharma
b89640e4d2 [CST-6685] removed value param with --add 2022-09-26 23:58:03 +05:30
Nikunj Sharma
e9b83f3b0d Merge remote-tracking branch 'origin/main' into CST-6685 2022-09-26 22:01:55 +05:30
Samuel Cambien
0824fff6ef Merge branch 'main' into w2p-93963-Add_support_for_line_breaks_markdown_and_mathjax_in_metadata
# Conflicts:
#	src/app/shared/shared.module.ts
2022-09-26 17:10:02 +02:00
Davide Negretti
614ce4aa83 Merge branch 'main-ghds' into CST-6782-refactor
# Conflicts:
#	src/app/shared/shared.module.ts
2022-09-26 15:46:08 +02:00
Davide Negretti
2f13beac7c [CST-6782] JSdoc fixed 2022-09-26 15:44:38 +02:00
Davide Negretti
ab3b05b950 [CST-6782] JSdoc fixed; buildCaptchaUrl refactored; import cleanup 2022-09-26 15:43:47 +02:00
Davide Negretti
7ad68530ea [CST-6782] JSdoc fixed; buildCaptchaUrl refactored; import cleanup 2022-09-26 15:40:24 +02:00
Abhishek Raval
9f43c1d0b9 Update hi.json5 2022-09-26 17:33:17 +05:30
myrza1
9aca40cc33 Update kk.json5
submission.import-external.preview.title.Project төменнен жоғары тоқтадым
2022-09-26 02:23:48 +06:00
João Fernandes
5e5e04cb1b Updated the Brazilian Portuguese translation. 2022-09-25 11:57:53 -03:00
reetagithub
064dae2581 Swedish translation file modified (#1837)
* Update en.json5

Corrected typos ("changed discarded/outdated" -> "changes...")

* Update fi.json5

Reformatted three keys with term 'views', previously it was translated to 'lataus', now 'katselu' which is a more accurate word.

* Update fi.json5

A better translation to key mydspace.title

* Update sv.json5

Removed lines starting "// TODO" to make it easier to detect possible  additions of new keys

* Update sv.json5

Removed unnecessary "// TODO..." lines, small typo corrections and harmonizing used terms (e.g. 'browse', 'mydspace')
2022-09-23 15:36:53 -05:00
Tim Donohue
a6ee2b8aa3 Merge pull request #1839 from atmire/issue-1833_entity-title-refactor-main
Full item page of entities missing title/name
2022-09-23 15:09:03 -05:00
Tim Donohue
994c9b3985 Merge pull request #1694 from atmire/w2p-92282_Fix-missing-auth-tokens-when-retrieving-Bitstreams
Support restricted thumbnails
2022-09-23 14:03:07 -05:00
Alexandre Vryghem
dc54990977 Merge branch 'main-upstream' into issue-1833_entity-title-refactor-main 2022-09-23 20:49:06 +02:00
Samuel Cambien
d46ab3b932 Merge branch 'main' into w2p-93963-Add_support_for_line_breaks_markdown_and_mathjax_in_metadata 2022-09-23 18:33:13 +02:00
Yury Bondarenko
7a89f416f9 Merge remote-tracking branch 'origin/main' into w2p-92282_Fix-missing-auth-tokens-when-retrieving-Bitstreams 2022-09-23 17:57:39 +02:00
Tim Donohue
9c93a8ad86 Merge pull request #1844 from dsteelma-umd/1843_standard-bundles-config-fix
Issue 1843 - Fix default bundles example in config.example.yml
2022-09-23 10:31:57 -05:00
Tim Donohue
3834d170e9 Merge pull request #1780 from mspalti/collection-thumbnail-embed
Show thumbnails in result lists
2022-09-23 10:11:53 -05:00
Tim Donohue
37ac449cb3 Merge pull request #1848 from atmire/w2p-94485_Fix-regressions
Regression fixes
2022-09-23 09:39:09 -05:00
Samuel Cambien
f5ff72372c issue #1404, issue #1762, issue #1763 Add support for line breaks, markdown and mathjax in metadata - add sanitize-html types to devdependencies for documentation 2022-09-23 14:16:45 +02:00
Samuel Cambien
f57fb3923a issue #1404, issue #1762, issue #1763 Add support for line breaks, markdown and mathjax in metadata - fix lint issues 2022-09-23 13:53:53 +02:00
Samuel Cambien
b345b27c0f Merge branch 'main' into w2p-93963-Add_support_for_line_breaks_markdown_and_mathjax_in_metadata
# Conflicts:
#	package.json
#	src/app/shared/shared.module.ts
#	src/app/shared/truncatable/truncatable-part/truncatable-part.component.html
#	src/config/app-config.interface.ts
#	src/config/default-app-config.ts
#	src/environments/environment.test.ts
#	src/styles/_global-styles.scss
#	yarn.lock
2022-09-23 13:48:37 +02:00
Samuel Cambien
2f71dc358b issue #1404, issue #1762, issue #1763 Add support for line breaks, markdown and mathjax in metadata 2022-09-23 13:37:11 +02:00
Nikunj Sharma
5b1e0d3e0d CST-6685 updated changes 2022-09-23 16:16:22 +05:30
Davide Negretti
11eacc10f7 [CST-6782] Fix klaro configuration 2022-09-23 12:46:16 +02:00
Giuseppe Digilio
9de6f38ea6 [CST-6153] fix merge 2022-09-23 10:37:52 +02:00
Giuseppe Digilio
0222fb0061 Merge remote-tracking branch 'origin/main' into CST-6153
# Conflicts:
#	src/app/profile-page/profile-page-security-form/profile-page-security-form.component.ts
#	src/assets/i18n/en.json5
2022-09-23 10:35:28 +02:00
Davide Negretti
711982d423 [CST-6782] fixes after merge 2022-09-23 10:32:50 +02:00
Giuseppe Digilio
b022a93128 Merge remote-tracking branch 'origin/main' into CST-6685 2022-09-23 10:27:51 +02:00
Davide Negretti
5d37efdfc0 Merge branch 'main-ghds' into CST-6782-refactor
# Conflicts:
#	src/assets/i18n/en.json5
2022-09-23 10:22:00 +02:00
Michael Spalti
a269817fe3 Added platform detection for placeholder classes. 2022-09-22 16:57:28 -07:00
myrza1
738a85ffc9 Update kk.json5
Update part 1
2022-09-23 05:23:30 +06:00
Tim Donohue
001d6dc20a Merge pull request #1748 from mspalti/new-themes
New theme-able components
2022-09-22 12:02:10 -05:00
Art Lowel
af98247195 add check to ensure document.styleSheets is defined 2022-09-22 18:18:42 +02:00
lotte
f761924963 94233: removed empty file 2022-09-22 17:16:35 +02:00
lotte
97bceffb02 94233: Fixed lint issue 2022-09-22 17:14:55 +02:00
lotte
d68f38e848 94233: Fixed tests 2022-09-22 17:07:09 +02:00
lotte
08577f5f17 Merge branch 'main' into w2p-94233_use-css-vars-in-CSSVariableService 2022-09-22 16:50:52 +02:00
Yana De Pauw
b7c1e76b7f 94390: Remove fdescribe 2022-09-22 16:10:43 +02:00
Yana De Pauw
7f91f50e63 Merge remote-tracking branch 'upstream/main' into w2p-94390_replace-dso-page-edit-buttons-with-a-menu 2022-09-22 16:08:53 +02:00
Tim Donohue
edd193a51e Merge pull request #1813 from atmire/w2p-94207_Fix-resource-policy-cache-issues
Fix ResourcePolicy cache issues
2022-09-22 08:50:26 -05:00
Tim Donohue
f0fd196ba9 Merge pull request #1776 from 4Science/CST-6110
Make password minimum requirements stronger
2022-09-22 08:48:19 -05:00
Tim Donohue
e1b9368166 Merge pull request #1808 from atmire/PR-1548-fix-group-page-lists
Fix group page lists in PR #1548
2022-09-22 08:46:47 -05:00
Yury Bondarenko
3717c661ca Fix button layout in ds-resource-policies 2022-09-22 12:29:13 +02:00
Yana De Pauw
a92060c45a 94390: Add comment to array flattening 2022-09-22 12:15:34 +02:00
Tim Donohue
f01db3e984 Merge pull request #1821 from atmire/SearchEvents-bugfix
Search events bug-fix
2022-09-21 16:52:22 -05:00
Michael Spalti
cc3f570da7 Updated comments. 2022-09-21 12:16:22 -07:00
Michael Spalti
d4107e3f9a Initial update for multiple bundle check. 2022-09-21 12:13:10 -07:00
Yury Bondarenko
68def61f20 Test invalidation of dependent requests 2022-09-21 19:20:49 +02:00
Yury Bondarenko
551365a0a8 Merge remote-tracking branch 'atmire/w2p-94207_Fix-resource-policy-cache-issues' into w2p-94273_Track-dependencies-in-order-to-invalidate-them-when-an-object-is-invalidated 2022-09-21 19:18:22 +02:00
Michael Spalti
fbcaaf5a10 Merge branch 'main' into collection-thumbnail-embed 2022-09-21 10:11:55 -07:00
Tim Donohue
c76bae78d4 Merge pull request #1771 from mwoodiupui/browse-pagesize
Make the size of a browse result page configurable.
2022-09-21 11:22:46 -05:00
Yury Bondarenko
891c9165d7 Improve thumbnail loading animation
- Minimize content shift by leaving space around the animation (same as the placeholder)
- Replace animation with more compact spinner to prevent wrapping when the thumbnail is very narrow
2022-09-21 18:20:30 +02:00
Tim Donohue
8d6222807e Merge pull request #1841 from 4Science/DS-4415
Add label for the citation page curation task
2022-09-21 11:19:03 -05:00
Giuseppe Digilio
2642ed35b7 [CST-6153] Use new params name 2022-09-21 17:47:58 +02:00
Tim Donohue
f599e80190 Merge pull request #1835 from toniprieto/cc-section-not-loading
Creative Commons selector is not loading
2022-09-21 10:25:56 -05:00
Giuseppe Digilio
ab77e66be7 [CST-6494] Fix issue for which sometimes claimed and pool task weren't shown when a filter is applied 2022-09-21 17:16:10 +02:00
Yana De Pauw
96ba1c9319 94390: Implement feedback 2022-09-21 16:16:56 +02:00
Yana De Pauw
878db5be75 94390: Replace DSO page edit buttons with a menu 2022-09-21 16:16:44 +02:00
Mark H. Wood
7f696b24d6 Add to example configuration. 2022-09-21 08:21:54 -04:00
David P. Steelman
dda15e998a Issue 1843 - Fix default bundles example in config.example.yml
Provides the correct YAML configuration for configuring
the default bundles configuration.
2022-09-21 07:54:51 -04:00
Nikunj Sharma
53b5d27eea CST-6110 removed key i18 not used 2022-09-21 16:39:58 +05:30
Nikunj Sharma
a1bab693e5 Merge remote-tracking branch 'origin/main' into CST-6110 2022-09-21 16:13:53 +05:30
Giuseppe Digilio
9e779cf235 Merge branch 'main' into CST-6876 2022-09-21 12:40:25 +02:00
Kristof De Langhe
85194c1487 Merge branch 'main' into w2p-94310_SearchEvents-bugfix-main 2022-09-21 10:17:04 +02:00
Giuseppe Digilio
f2a6b8208f remove console.log 2022-09-21 09:54:49 +02:00
Giuseppe Digilio
e072cdf75b [CST-6494] Update filter values when a workflow action is dispatched 2022-09-21 09:54:10 +02:00
Giuseppe Digilio
6d3f3cad2f [CST-6876] Retrieve filter list in parent search.component 2022-09-21 09:41:30 +02:00
Michael Spalti
5a815da5f2 Updated comments. 2022-09-20 17:17:15 -07:00
Michael Spalti
4d43a34cb3 Revised pageSize input to override the value provided via configuration. 2022-09-20 17:08:57 -07:00
Michael Spalti
1ebaa65161 Fixed path for collection list. 2022-09-20 16:22:31 -07:00
Michael Spalti
e752ef74fb Merge branch 'main' into new-themes 2022-09-20 15:19:54 -07:00
Andrea Bollini
4be09885a2 Add label for the citation page curation task 2022-09-21 00:02:30 +02:00
Michael Spalti
76416fffa3 Merge branch 'main' into collection-thumbnail-embed 2022-09-20 11:25:00 -07:00
Tim Donohue
0f1b9bb817 Merge pull request #1803 from mark-cooper/browse-comm-lists-configurable
Make no. of communities per pagination / expansion configurable
2022-09-20 13:11:03 -05:00
Yury Bondarenko
b9ac08eba3 94485: Fix selectors for themed error pages 2022-09-20 16:25:08 +02:00
Yury Bondarenko
594b6d61c3 94485: Use relative path for theme CSS
This bug was originally fixed in #1642 but reintroduced in #1805
2022-09-20 16:25:08 +02:00
Yury Bondarenko
c844423fc3 94485: Fix initialization deadlock when backend is unavailable
When the REST server can't be found, `getEndpoint` errors out, no request gets sent, which causes `fetchRequest` to never emit.

Because of this the `checkTokenCookie$` effect would get deadlocked and initialization would never complete.
2022-09-20 16:15:13 +02:00
Jens Vannerum
bf5a8daa78 string changes after merge 2022-09-20 12:48:27 +02:00
Jens Vannerum
9371c0b3b7 Merge branch 'main' into w2p-94474_clarify-process-state
# Conflicts:
#	src/assets/i18n/de.json5
#	src/assets/i18n/es.json5
#	src/assets/i18n/lv.json5
#	src/assets/i18n/tr.json5
2022-09-20 12:42:54 +02:00
Jens Vannerum
81d3b1708f 94474: Clarify processing message 2022-09-20 12:40:42 +02:00
Giuseppe Digilio
5099d0b18a [CST-6153] Show i18n message instead of server error response 2022-09-20 11:41:09 +02:00
Giuseppe Digilio
f787491af4 [CST-6153] Fix issue with forgot password page 2022-09-20 11:33:37 +02:00
Alexandre Vryghem
87d9c28acc Merge branch 'main-upstream' into issue-1833_entity-title-refactor-main 2022-09-20 09:51:09 +02:00
Toni Prieto
86364ad375 Add test for SubmissionCcLicenseDataService 2022-09-20 09:28:16 +02:00
Mark Cooper
086bd4723b Resolve feedback
Inject environment rather than importing it
Redo the configuration for better consistency across pages
2022-09-19 15:14:07 -07:00
Mark Cooper
3e803e8411 Make no. of communities per pagination / expansion configurable
Adds new config settings for no. of communities to display on the
home page & community-list page.

Resolves #1749, resolves #1750
2022-09-19 14:29:50 -07:00
Mark H. Wood
043b92fbc7 Make sure pagination is initialized in derived classes. 2022-09-19 13:17:04 -04:00
Alexandre Vryghem
20ff386c6e 94481: Fixed tests 2022-09-19 19:07:13 +02:00
Toni Prieto
ed611c5716 Implement findAll function of SubmissionCcLicenseDataService 2022-09-19 18:49:30 +02:00
Mark H. Wood
5bdf911fc7 Specs must provide APP_CONFIG now. 2022-09-19 12:25:22 -04:00
Alexandre Vryghem
a4b9a6da1d 94481: Use DSONameService in all other remaining place where dc.title, person.familyName, person.givenName or organization.legalName is used 2022-09-19 18:24:34 +02:00
Alexandre Vryghem
80a1eed63c 94481: Replaced title on all single item pages 2022-09-19 18:24:34 +02:00
Giuseppe Digilio
4ca5571a2b [CST-6110] Remove check for password length 2022-09-19 18:09:05 +02:00
Mark H. Wood
bc1e49c783 Fix @Injectable/@Component conflict 2022-09-19 11:36:52 -04:00
Alexandre Vryghem
e4229e3993 94481: Use DSONameService to determine the title for the Item page 2022-09-19 17:14:57 +02:00
Tim Donohue
31167a3ce4 Merge pull request #1819 from kostisalex/feature/greek_support_in_frontend
Greek support for frontend
2022-09-19 10:05:40 -05:00
Giuseppe Digilio
ee46594b5b Merge remote-tracking branch 'origin/main' into CST-6110 2022-09-19 16:26:37 +02:00
Vincenzo Mecca
4484c3ebbc [CST-6782] Fixed failing tests 2022-09-19 16:26:31 +02:00
Giuseppe Digilio
ab745983aa Merge branch 'main' into CST-6153 2022-09-19 15:43:16 +02:00
Giuseppe Digilio
79f65f1d99 Merge branch 'main' into CST-6753_GA4 2022-09-19 15:39:59 +02:00
Giuseppe Digilio
34beb7d8da Merge branch 'main' into CST-6685 2022-09-19 15:33:02 +02:00
Kostis Alexandris
cd83ba4275 Merge pull request #1 from kstamatis/feature/greek_support_in_frontend
fix greek translations
2022-09-19 16:14:32 +03:00
Kostas Stamatis
4a30295df8 fix greek translations 2022-09-19 16:09:25 +03:00
Jens Vannerum
f84e4d6146 89685: Resolve wrong directory 2022-09-19 12:37:46 +02:00
Davide Negretti
36b8b8b61b Merge branch 'main-gh4s' into CST-6782-refactor
# Conflicts:
#	src/app/shared/cookies/browser-klaro.service.spec.ts
#	src/app/shared/cookies/browser-klaro.service.ts
2022-09-19 12:21:57 +02:00
Jens Vannerum
a17ee028df make search-settings.component themed 2022-09-19 11:56:04 +02:00
Jens Vannerum
898f23a997 Merge branch 'main' into w2p-89685_themed-search-settings-component
# Conflicts:
#	src/app/shared/search/search.module.ts
#	src/themes/custom/lazy-theme.module.ts
2022-09-19 11:20:51 +02:00
Jens Vannerum
dd2317699a make search-settings.component themed 2022-09-19 10:11:40 +02:00
Abhishek Raval
f87b83ad82 Add files via upload 2022-09-18 20:12:35 +05:30
Michael Spalti
d2d6554e26 Second-level browse thumbnails fixed. 2022-09-17 10:51:45 -07:00
Michael Spalti
eb48b1b204 Bug fix for browse. 2022-09-17 10:18:10 -07:00
Michael Spalti
41d1f5383f Added thumbnail property to browse entry model. 2022-09-16 17:33:20 -07:00
Tim Donohue
5e9bbbe06a Merge branch 'main' into feature/greek_support_in_frontend 2022-09-16 16:05:32 -05:00
Tim Donohue
927dfdad1c Merge pull request #1831 from tdonohue/enable_kazakh
Enable Kazakh translation by default
2022-09-16 16:04:01 -05:00
Kostis Alexandris
e1d3832d64 Remove double quotes 2022-09-16 23:38:17 +03:00
Tim Donohue
44c4f993f7 Enable Kazakh translation by default 2022-09-16 14:52:47 -05:00
Tim Donohue
f3d43b5745 Merge pull request #1297 from myrza1/patch-1
Kazakh Translation
2022-09-16 14:51:49 -05:00
Michael Spalti
cfff05b1da Minor style tweak 2022-09-16 12:43:05 -07:00
Tim Donohue
2a35329efa Merge pull request #1816 from 4Science/CST-6565
Cookie consent shows analytics usage also when GA is disabled
2022-09-16 14:33:20 -05:00
Michael Spalti
231b7e2c2e Added thumbnail followLinks for ds-edit-relationship-list 2022-09-16 12:27:16 -07:00
Yury Bondarenko
8d36de27d1 94207: Update DeleteDate to use buildFromRequestUUIDAndAwait 2022-09-16 20:56:42 +02:00
Yury Bondarenko
faaaad6bfb Merge remote-tracking branch 'atmire/PR-1548-fix-group-page-lists' into w2p-94207_Fix-resource-policy-cache-issues 2022-09-16 20:56:26 +02:00
Michael Spalti
4b62fb2db4 Added display:block for ds-listable-component-loader back into related-items scss; fixes veritcal spacing issue. 2022-09-16 10:26:15 -07:00
Michael Spalti
ccfa1410c2 Added embedThumbnail to FindListOptions. 2022-09-16 10:07:00 -07:00
lotte
ce67003f26 94233: fixed tests after CSSVariableService changes 2022-09-16 16:23:11 +02:00
Tim Donohue
06f3f8d31c Merge pull request #1814 from atmire/issue_1795_issue_1778_fix_config_issues
Repair config issues
2022-09-16 09:15:34 -05:00
lotte
89ba24fc1c 94233: applied feedback for css variables 2022-09-16 12:40:04 +02:00
Michael Spalti
7b47c22531 Minor css change 2022-09-16 02:18:47 -07:00
Yury Bondarenko
7de56a4f14 Fix unused import, remove resurrected data.service.ts 2022-09-16 10:44:43 +02:00
Yury Bondarenko
87a7baa2e8 Merge remote-tracking branch 'origin/main' into PR-1548-fix-group-page-lists 2022-09-16 10:33:58 +02:00
Vincenzo Mecca
16523c3c90 [#1816][CST-6565] Clearified expectation of test 2022-09-16 10:27:40 +02:00
Vincenzo Mecca
3cc4b96ff4 [#1816][CST-6565] Cleaned and Refactored specs 2022-09-16 10:08:13 +02:00
Tim Donohue
a2f8a5ccfa Merge pull request #1824 from atmire/w2p-94242_Add-optional-NavigationExtras-argument-to-PaginationService-methods
Add an optional `NavigationExtras` argument to `PaginationService.updateRoute`
2022-09-15 16:48:16 -05:00
myrza1
7c5887654a Іздеу нәтижелері қосылды 2022-09-16 03:08:45 +06:00
myrza1
85d44ad3d4 Update kk.json5
synced from last english
2022-09-16 02:58:25 +06:00
myrza1
4a573eb981 Delete kz.json5
deleted
2022-09-16 02:47:51 +06:00
Mark H. Wood
900dd31351 Get the environment by injection, as suggested. 2022-09-15 16:46:25 -04:00
myrza1
16b3cb8008 renamed to kk and added some translates 2022-09-16 02:21:01 +06:00
Michael Spalti
75da8ca10d Fixed tests after merge. 2022-09-15 13:20:33 -07:00
Michael Spalti
7047f9ccef Fixed merge issue. 2022-09-15 12:40:35 -07:00
Michael Spalti
c2da87e617 Merge branch 'main' into collection-thumbnail-embed 2022-09-15 12:31:46 -07:00
myrza1
3d5951eeb9 Merge branch 'DSpace:main' into patch-1 2022-09-16 00:56:53 +06:00
Michael Spalti
516300f3e5 Fixed a couple lint errors. 2022-09-15 11:52:13 -07:00
Félix Jolin-Nicol
fcae738db6 Fix for PR#1822 - Fix is in section-form-component.ts. Adjusted two equality checks for scope type which always returned false. 2022-09-15 14:48:57 -04:00
Tim Donohue
a13f4ee3b9 Merge pull request #1791 from atmire/w2p-93803_Refactor-DataServices-to-use-Composition
Refactor data services to use composition
2022-09-15 13:40:07 -05:00
Michael Spalti
46ecf287a4 Thumbnails fixed for relationships and added styling. 2022-09-15 11:40:00 -07:00
Tim Donohue
3665071dea Merge pull request #1820 from tdonohue/fix_test_to_read_all_data
Ensure `yarn test:rest` reads all JSON data, not just first chunk
2022-09-15 13:30:16 -05:00
Tim Donohue
bb31e1d25c Merge pull request #1801 from GauravD2t/main
Displaying Recent Submissions on the homepage
2022-09-15 13:27:12 -05:00
Davide Negretti
04c0690e8d Merge branch 'main-gh4s' into CST-6782-refactor 2022-09-15 15:41:30 +02:00
Yury Bondarenko
b2d34f0dad Merge remote-tracking branch 'atmire/PR-1548-fix-group-page-lists' into w2p-94207_Fix-resource-policy-cache-issues 2022-09-15 14:58:14 +02:00
Giuseppe Digilio
1df41deb8f [CST-6753] Remove unused occurrences of GoogleAnalytics 2022-09-15 14:36:09 +02:00
Giuseppe Digilio
70c6eac88d [CST-6753] Change google-analytics.service in order to use GoogleTagManager instead of GoogleAnalytics 2022-09-15 14:30:59 +02:00
Kostis Alexandris
1677349fbb More messages 2022-09-15 15:10:06 +03:00
Davide Negretti
70f2625d15 [UXP-10] e2e test fix 2022-09-15 13:57:06 +02:00
lotte
7cbac04072 Merge branch 'main' into w2p-94060_Issue-1720_MyDSpace-support-entities 2022-09-15 13:39:49 +02:00
Kostis Alexandris
aae3c217c5 More messages 2022-09-15 14:00:15 +03:00
Yury Bondarenko
6e5fe96696 94242: Add optional NavigationExtras to PaginationService.updateRoute 2022-09-15 11:50:50 +02:00
Kristof De Langhe
0f6fdceb45 Merge branch 'main' into w2p-93889_Invalidate-EPerson-when-their-group-change 2022-09-15 11:48:12 +02:00
Davide Negretti
183653112e [UXP-10] e2e test fixed 2022-09-15 10:40:59 +02:00
Michael Spalti
abe19b12bb Related entity thumbnails. 2022-09-14 16:33:25 -07:00
Kostis Alexandris
6360f89aac Refine messages 2022-09-15 00:08:43 +03:00
Michael Spalti
84ad250de6 New and updated tests.
Unused import.
2022-09-14 11:25:01 -07:00
Kostis Alexandris
c49d2f17a8 Refine messages 2022-09-14 21:20:22 +03:00
Kostis Alexandris
8953a3c50b Accepting @kstamatis comments 2022-09-14 20:41:34 +03:00
Vincenzo Mecca
59ce1a9950 [#1816][CST-6565] Refactored methods & Tests
Test:
    - New tests for the use case of filtering analytics configuration;
    - Enhanced initialization of service with new google analytics service mock.
2022-09-14 16:03:02 +02:00
Kostis Alexandris
a46098112e More changes 2022-09-14 15:17:49 +03:00
Kostis Alexandris
e7447071b1 More changes 2022-09-14 15:10:47 +03:00
Kostis Alexandris
cad4d1f101 More changes 2022-09-14 14:54:04 +03:00
Yury Bondarenko
c517ed0dfa 93803: Fix broken SearchDataImpl
I'd originally removed this `...linksToFollow` but it's actually required here because it's used when constructing the RemoteData

Added cypress/downloads to .gitignore because I'd accidentally committed a downloads.html file after running e2e tests locally
2022-09-14 10:48:15 +02:00
Art Lowel
7ca434b7bb change version to 7.4.0-next 2022-09-14 09:30:15 +02:00
Yury Bondarenko
919b406260 93803: Make ProcessDataService implement DeleteData 2022-09-14 09:00:08 +02:00
gaurav
ac2922e59d no recent submissions should be displayed if pageSize is 0 and changing the configuration structure 2022-09-14 11:35:29 +05:30
Michael Spalti
4fff311fe4 Ah those sneaky unused imports. 2022-09-13 14:59:55 -07:00
Michael Spalti
78358a4067 Multiple updates. 2022-09-13 14:26:37 -07:00
Tim Donohue
6d361beb88 Merge pull request #1815 from atmire/w2p-94322_fix-theme-matching-using-handles
94322: Fix theme matching using handles
2022-09-13 09:48:30 -05:00
Art Lowel
c94e5d0709 add startup message with version number 2022-09-13 16:39:58 +02:00
Samuel Cambien
59f9534418 issue #1778 repair yarn start:dev and yarn run serve 2022-09-13 16:39:31 +02:00
Samuel Cambien
44489fa4e0 repair #1795 Default settings in config/config.yml are ignored 2022-09-13 16:38:52 +02:00
Tim Donohue
916d7fc13d Merge pull request #1805 from atmire/w2p-92900_Admin_options_dont_appear_after_Shibboleth_authentication_PR
Admin options don't appear after Shibboleth authentication
2022-09-13 09:24:10 -05:00
Yury Bondarenko
cc697041eb Remove unused variable 2022-09-13 14:23:14 +02:00
Nikunj Sharma
c1498424f3 CST-6685 changes for import batch 2022-09-13 16:18:32 +05:30
lotte
ac094aa623 94233: added typedoc 2022-09-13 12:22:55 +02:00
Michael Spalti
db79d46a76 Unused import. 2022-09-12 13:13:56 -07:00
Tim Donohue
335d613df7 Ensure all data is read, not just first chunk 2022-09-12 12:53:03 -05:00
lotte
f70fc7b87a 94233: use actual CSS variables in theme 2022-09-12 17:42:37 +02:00
Yury Bondarenko
147c7180d0 93219: Add (more) reusable functions to test DataService composition
Data services that implement *Data interfaces should include the appropriate test functions in their specs.
These go over all methods in the interface & check that they're "wired up" correctly.

See e.g. the change in ExternalSourceDataService for an issue that is easy to miss but was highlighted by these new tests
2022-09-12 17:37:54 +02:00
Yury Bondarenko
8b4dbbad55 93219: Simplify DataService feature interfaces
Get rid of optional methods
- createPatchFromCache is useful -> make required
- leave getFindAllHref and getSearchByHref out & use implementation directly or refactor usages
2022-09-12 17:34:25 +02:00
Kostis Alexandris
6907e6a517 Changes in view and item buttons 2022-09-12 15:36:31 +03:00
Yury Bondarenko
c32e4ad7c7 93803: Add tests for create, search & put 2022-09-12 14:15:28 +02:00
Kostis Alexandris
a29a7f5883 Greek support for frontend 2022-09-12 15:02:03 +03:00
Yury Bondarenko
abc9bbeae3 Revert "93803: Update DataService constructor signatures"
This reverts commit a6fb4a6303.
2022-09-12 12:29:04 +02:00
Michael Spalti
7f9c34f08e A bit of padding for the placeholder. 2022-09-11 16:09:39 -07:00
Michael Spalti
989d243c8e Pooled task thumb and unused imports. 2022-09-11 14:49:02 -07:00
Michael Spalti
b692fa5924 Added thumbs to mydspace and enviroment component injection. 2022-09-11 13:27:20 -07:00
Michael Spalti
06a68ece9d Added anchors for entity-type thumbs. 2022-09-09 14:53:56 -07:00
Michael Spalti
8ff9f81247 Minor comment update to configs. 2022-09-09 14:28:52 -07:00
Michael Spalti
aad0085d61 Fixed wayward css class. 2022-09-09 14:20:50 -07:00
Michael Spalti
9218c0545f Added specs. 2022-09-09 13:44:25 -07:00
Michael Spalti
ccb4c0794c Updated configuration. 2022-09-09 10:34:17 -07:00
Michael Spalti
580986adae Updates to thumbnail and placeholder fonts 2022-09-09 10:14:43 -07:00
Davide Negretti
b02826d24d [UXP-10] Removed unused import 2022-09-09 18:51:58 +02:00
Davide Negretti
ac34a7893b Merge branch 'main-ghds' into CST-6782-refactor 2022-09-09 18:36:08 +02:00
Davide Negretti
e57970349d [UXP-10] Test fixed 2022-09-09 18:22:54 +02:00
Davide Negretti
89a7320823 [UXP-10] Refactoring - Disable button fix 2022-09-09 17:45:46 +02:00
Davide Negretti
6dfc5ef2f5 [UXP-10] Handle captcha expiration 2022-09-09 17:04:01 +02:00
Yury Bondarenko
13d33d802f Fix admin search grid element specs 2022-09-09 17:03:02 +02:00
Davide Negretti
8af725e76f [UXP-10] Refactoring WIP 2022-09-09 16:32:23 +02:00
Yana De Pauw
06e34355c3 Merge remote-tracking branch 'upstream/main' into w2p-94322_fix-theme-matching-using-handles 2022-09-09 14:44:48 +02:00
Davide Negretti
895e44a25f [UXP-10] Disable button - Error handling - Notifications 2022-09-09 13:19:07 +02:00
Davide Negretti
97a12cae47 [UXP-10] Notify unaccepted cookies - Fixes 2022-09-08 20:06:36 +02:00
Yury Bondarenko
293ba8408e 94273: Make isAuthorized depend on the target object
This ensures that a successful ItemDataService.setWithdrawn call invalidates all related authorizations
2022-09-08 19:54:00 +02:00
Yury Bondarenko
7c13db2f89 94273: Invalidate object on successful patch 2022-09-08 19:54:00 +02:00
Yury Bondarenko
d40f163c49 94273: Implement dependencies between requests
When an object is invalidated, its dependent requests are invalidated as well
2022-09-08 19:54:00 +02:00
Giuseppe Digilio
acfd01e774 Merge branch 'main' into CST-6153 2022-09-08 18:02:03 +02:00
Yury Bondarenko
2ac0bcdc98 Merge remote-tracking branch 'origin/main' into w2p-92900_Admin_options_dont_appear_after_Shibboleth_authentication_PR 2022-09-08 17:53:04 +02:00
Giuseppe Digilio
18dda8c44e Merge branch 'CST-6565' of bitbucket.org:4Science/dspace-angular into CST-6565
 Conflicts:
	src/app/shared/cookies/browser-klaro.service.ts
2022-09-08 17:24:45 +02:00
Giuseppe Digilio
606663dd76 [CST-6565] fix lint 2022-09-08 17:21:57 +02:00
Vincenzo Mecca
4f2f70f851 [CST-6565] Fixed linting 2022-09-08 17:20:45 +02:00
Davide Negretti
05784bfec6 [UXP-10] Fix remove Recaptcha from klaro config 2022-09-08 17:14:14 +02:00
Davide Negretti
0b7cf23e3f [UXP-10] Fix onInit script 2022-09-08 16:52:43 +02:00
Vincenzo Mecca
032a276494 [CST-6565] Fixed configuration loading
ref:
    - refactored property loading and mapping
    - refactored klaro initialisation
fix:
    - now initialisation waits for google-analytics api keys.
2022-09-08 16:42:10 +02:00
Kristof De Langhe
4ddc4b7541 Merge branch 'main' into w2p-94310_SearchEvents-bugfix-main 2022-09-08 15:41:54 +02:00
Tim Donohue
e7dc5f8d14 Merge pull request #1797 from tdonohue/fix_line_endings
Force all code to use LF line endings in .gitattibutes
2022-09-08 08:35:59 -05:00
Kristof De Langhe
24189c4ce0 94310: Track search with service method instead of tracking component 2022-09-08 14:53:22 +02:00
Yury Bondarenko
8622e4c059 Fix LGTM alerts 2022-09-08 13:07:36 +02:00
Giuseppe Digilio
877659a7c8 Merge branch 'main' into CST-6565
# Conflicts:
#	src/app/shared/cookies/browser-klaro.service.ts
2022-09-08 12:12:31 +02:00
Yury Bondarenko
f8404c540e 94207: Extract 'wait for invalidation' pattern into a new method 2022-09-08 12:10:44 +02:00
Michael Spalti
9e14985fc5 Work on columns 2022-09-07 10:47:37 -07:00
Michael Spalti
2c63245050 Unused import. 2022-09-07 10:47:37 -07:00
Michael Spalti
37e79ddc69 Updated example config. 2022-09-07 10:47:37 -07:00
Michael Spalti
d01bfe2cb1 Added global config for list thumbnails 2022-09-07 10:47:37 -07:00
Michael Spalti
56c8c8c370 Initial work on browse with thumbs. 2022-09-07 10:47:37 -07:00
Tim Donohue
aafe3543d8 Merge pull request #1759 from 4Science/CST-6035_external-provider-query-error
External provider query error
2022-09-07 12:13:56 -05:00
Davide Negretti
db6c8f00a8 [UXP-10] Fix headers 2022-09-07 19:01:54 +02:00
Tim Donohue
cd1d409577 Merge pull request #1792 from atmire/w2p-93914_delete-process
Add delete process functionality
2022-09-07 11:29:55 -05:00
Yura Bondarenko
744bcae3f2 94031: Hide error messages of concat field inputs
Hint/error is shown at the group level, shouldn't be repeated in the inner inputs
2022-09-07 18:20:13 +02:00
Yura Bondarenko
5a0ad41bfd 94301: Trickle down errors to concat field inputs
When a concat group is marked as invalid ~ server error, its fields should also be marked as invalid
2022-09-07 18:19:35 +02:00
Yura Bondarenko
d88352f513 94031: Fix findById for concat fields
As far as I can tell the suffix is never used with a numeric part, causing this branch to always miss concat group fields
2022-09-07 18:18:34 +02:00
Davide Negretti
05ec096ec9 Merge branch 'main-gh4s' into CST-6782-refactor
# Conflicts:
#	src/app/app.component.ts
2022-09-07 18:09:35 +02:00
Davide Negretti
b6d6091c87 [UXP-10] Code refactoring 2022-09-07 18:02:23 +02:00
Tim Donohue
e523583f1f Merge pull request #1779 from mwoodiupui/themeable-dialogs
Make create, edit community/collection/item dialogs theme-able.
2022-09-07 10:36:47 -05:00
Tim Donohue
e5165c151c Merge pull request #1741 from atmire/w2p-93219_Consolidate-all-initialization-in-a-single-Service_PR
Consolidate all initialization in a single Service
2022-09-07 09:25:51 -05:00
Yana De Pauw
28fff891d2 94322: Fix theme matching using handles 2022-09-07 15:34:16 +02:00
Yura Bondarenko
527fb134b9 Merge branch 'main' into w2p-92282_Fix-missing-auth-tokens-when-retrieving-Bitstreams 2022-09-07 09:48:19 +02:00
Mark H. Wood
ba2f173199 Address review: add missing templates, commented references to them, reference original templates by default. 2022-09-06 13:56:04 -04:00
lotte
8ca4da47da Merge branch 'w2p-94060_Issue-1720_MyDSpace-support-entities_7.2' into w2p-94060_Issue-1720_MyDSpace-support-entities 2022-09-06 15:34:54 +02:00
lotte
d89020a712 Merge branch 'w2p-94060_Issue-1720_MyDSpace-support-entities_7.0' into w2p-94060_Issue-1720_MyDSpace-support-entities_7.2 2022-09-06 15:34:14 +02:00
lotte
f15440ca5a 94060: Fixed test issues 2022-09-06 15:33:56 +02:00
lotte
d463ea5893 Merge branch 'w2p-94060_Issue-1720_MyDSpace-support-entities_7.2' into w2p-94060_Issue-1720_MyDSpace-support-entities 2022-09-06 14:17:33 +02:00
Nikunj Sharma
66380857c9 CST-6153 updated lint error 2022-09-06 17:02:25 +05:30
Nikunj Sharma
77d0600453 Merge remote-tracking branch 'origin/main' into CST-6153 2022-09-06 16:50:43 +05:30
lotte
66b5398d91 Merge branch 'w2p-94060_Issue-1720_MyDSpace-support-entities_7.0' into w2p-94060_Issue-1720_MyDSpace-support-entities_7.2 2022-09-06 10:11:49 +02:00
lotte
3c5fe8e098 94060: added fallback titles for person and orgunit list elements 2022-09-06 10:11:23 +02:00
Yura Bondarenko
a6fb4a6303 93803: Update DataService constructor signatures
Override linkPath/responseMsToLive/constructIdEndpoint
  - in class body for inheritable classes (for clarity: it's the first thing you'd read, variable name is right there)
  - in constructor for composable classes
    * wrapped services must be 'synchronized' with their wrapper
    * moved these overrides up in the argument list for emphasis (implementing a new composable feature? first thing is to use the same endpoint!)
2022-09-05 12:30:41 +02:00
Yura Bondarenko
38203490c7 93803: Add missing docstrings 2022-09-05 11:37:57 +02:00
Mark H. Wood
236216b556 Document that setting will be rounded to one of the settings options. 2022-09-02 16:20:51 -04:00
Mark H. Wood
e6f363a0f6 Merge remote-tracking branch 'upstream/main' into browse-pagesize 2022-09-02 15:23:50 -04:00
Mark H. Wood
1f1b04e88f Fix lint issues, incorrect selector copied from local code. 2022-09-02 12:04:01 -04:00
Mark H. Wood
9f609a2966 Add themed components to shared module and 'custom' theme. 2022-09-02 11:53:10 -04:00
Nikunj Sharma
458a721c08 CST-6110 updated password messages 2022-09-02 18:00:14 +05:30
Yura Bondarenko
030b1c33db 94207: Extract RP entries into a separate component 2022-09-02 13:49:32 +02:00
Yura Bondarenko
47b9b09139 94207: Fix ResourcePolicyService.updateTarget
Follow "await invalidation" pattern ~ DataService.deleteByHref
2022-09-02 13:49:32 +02:00
Yura Bondarenko
a8cf6df03f Merge branch 'w2p-93889_Invalidate-EPerson-when-their-group-change' into w2p-94207_Fix-resource-policy-cache-issues 2022-09-02 11:36:49 +02:00
Sufiyan Shaikh
b72b37a647 [UXP-10] remove configuration fixed 2022-09-02 14:43:59 +05:30
Sufiyan Shaikh
6d1d7c3611 [UXP-10] property check fixed 2022-09-02 14:43:43 +05:30
Sufiyan Shaikh
bcc747dc3e [UXP-10] klaro cookies permission and test cases 2022-09-02 14:42:28 +05:30
Sufiyan Shaikh
e295dccc8a [UXP-10] dynamic recaptcha versions and modes 2022-09-02 14:41:40 +05:30
Sufiyan Shaikh
fcad492a25 [UXP-10] token passing in header 2022-09-02 14:39:08 +05:30
Sufiyan Shaikh
2ef701a231 remove site key from environment 2022-09-02 14:38:27 +05:30
Sufiyan Shaikh
0953806865 script insert and test cases with dynamic site key 2022-09-02 14:38:08 +05:30
Sufiyan Shaikh
4906516359 [UXP-10] typdocs and tests 2022-09-02 14:34:28 +05:30
Sufiyan Shaikh
0783cd5cb6 [UXP-10] compacting code 2022-09-02 14:34:20 +05:30
Sufiyan Shaikh
a3eb544422 [UXP-10] Review fixes 2022-09-02 14:34:12 +05:30
Sufiyan Shaikh
2532e37010 [UXP-10] Test cases 2022-09-02 14:34:03 +05:30
Sufiyan Shaikh
50e849dd44 [UXP-10] reCAPTCHA angular component 2022-09-02 14:33:17 +05:30
Yura Bondarenko
77eb6c1807 Remove unused imports 2022-09-02 10:11:05 +02:00
Nikunj Sharma
38c1214117 Merge remote-tracking branch 'origin/main' into CST-6110 2022-09-02 13:17:59 +05:30
Tim Donohue
342a712513 Merge pull request #1790 from arvoConsultores/main
Spanish translation updated
2022-09-01 13:47:35 -05:00
lotte
1c3c275209 Merge branch 'w2p-94060_Issue-1720_MyDSpace-support-entities_7.2' into w2p-94060_Issue-1720_MyDSpace-support-entities 2022-09-01 19:19:10 +02:00
lotte
9ba2807b43 Merge branch 'w2p-94060_Issue-1720_MyDSpace-support-entities_7.0' into w2p-94060_Issue-1720_MyDSpace-support-entities_7.2 2022-09-01 19:06:42 +02:00
lotte
72e5909b71 94060: MyDSpace Workflow/Workspace item display as correct entity types 2022-09-01 19:02:19 +02:00
Art Lowel
95e8346228 Merge remote-tracking branch 'atmire-github/w2p-93219_Consolidate-all-initialization-in-a-single-Service_PR' into w2p-93889_Invalidate-EPerson-when-their-group-change 2022-09-01 15:03:21 +02:00
Kristof De Langhe
ac8688ea79 94072: test cases 2022-09-01 12:02:20 +02:00
Tim Donohue
eee0d72345 Merge pull request #1786 from hardyoyo/enable-responsive-font-sizes
Enable responsive font sizes
2022-08-31 16:34:54 -05:00
Kristof De Langhe
18c208f6a4 94072: Group page list issue fixes 2022-08-31 18:02:36 +02:00
gaurav
0840bfd8ce bug resolve 2022-08-31 17:20:17 +05:30
gaurav
bcc71ce2e1 Trailing spaces remove 2022-08-31 12:44:47 +05:30
gaurav
01daf93d01 Displaying Recent Submissions on the homepage 2022-08-31 11:14:43 +05:30
corrad82
310237d30f [CST-6035] updated test description and used example.com domain in test urls 2022-08-30 12:00:27 +02:00
corrad82
e9894c91aa Merge remote-tracking branch 'origin/main' into CST-6035_external-provider-query-error 2022-08-30 11:41:04 +02:00
Nikunj Sharma
c4a163e169 Merge remote-tracking branch 'origin/main' into CST-6153 2022-08-30 14:15:55 +05:30
Pierre Lasou
fa20e9e5c0 Adding missing language parameters 2022-08-26 13:34:27 -04:00
Tim Donohue
b891ae0237 End-of-line normalization for some files 2022-08-26 11:36:51 -05:00
Tim Donohue
795870d712 Update gitattributes to force LF line endings for code 2022-08-26 11:35:44 -05:00
Art Lowel
154d66f1e8 remove unused imports 2022-08-26 11:25:07 +02:00
Yura Bondarenko
ed9570e7cc Merge remote-tracking branch 'origin/main' into w2p-92900_Admin_options_dont_appear_after_Shibboleth_authentication_PR 2022-08-25 18:32:59 +02:00
Yura Bondarenko
f154318855 Merge remote-tracking branch 'atmire/w2p-93219_Consolidate-all-initialization-in-a-single-Service_PR' into w2p-92900_Admin_options_dont_appear_after_Shibboleth_authentication_PR 2022-08-25 18:32:47 +02:00
Tim Donohue
c1f6993144 Merge pull request #1777 from atmire/w2p-93665_fix-pagintion-in-metadata-browse-links
Fix pagination in metadata browse links
2022-08-25 11:22:04 -05:00
Yura Bondarenko
c5d3776df7 93492: Fix SSR dodging pinned admin sidebar
On the server, @slideSidebarPadding always resolved to 'expanded' because slideSidebarOver did not emit true
This resulted in the SSR HTML leaving space for the expanded sidebar.

Also got rid of the sliding animation as it would always play, even when replacing SSR HTML where the sidebar was already visible.
2022-08-25 18:05:13 +02:00
lotte
317c615b30 Fixed lgtm issue 2022-08-25 17:12:57 +02:00
Yana De Pauw
72852dd031 Fix test 2022-08-25 17:05:34 +02:00
Yura Bondarenko
ee26084d6a Fix unused imports 2022-08-25 15:53:13 +02:00
Yura Bondarenko
a77b1da804 92900: Patch start:dev CLI arguments through to ng serve 2022-08-25 15:44:27 +02:00
Yana De Pauw
d5605e43d4 Merge remote-tracking branch 'upstream/main' into w2p-93914_delete-process 2022-08-25 15:34:00 +02:00
Yana De Pauw
ca341e53b4 Close modal on process delete success 2022-08-25 15:33:23 +02:00
Yura Bondarenko
db169251df 92900: Update docs & specs for AuthRequestService 2022-08-25 14:03:59 +02:00
Yura Bondarenko
e464c0f8c7 92900: Move duplicate code to new InitService method 2022-08-25 14:03:58 +02:00
Sergio Fernández Celorio
528c4c31ea Spanish translation updated 2022-08-25 11:41:24 +00:00
Yura Bondarenko
fbaab69121 93803: Ensure data services are called *DataService 2022-08-25 10:28:45 +02:00
Yura Bondarenko
05b131edb9 93803: Rename findAllByHref to findListByHref
To avoid confusion with FindAllData:
- findAll is a "feature" to retrieve all resources from the endpoint itself ~ a plain GET
- findAllByHref is retrieves lists of resources in general
2022-08-25 10:28:45 +02:00
Yura Bondarenko
ad316f7316 93803: Resolve circular dependency
src/app/core/cache/builders/build-decorators.ts > src/app/core/data/base/hal-data-service.interface.ts > src/app/core/data/paginated-list.model.ts
2022-08-25 10:28:44 +02:00
Yura Bondarenko
a76555c518 93803: Stricter typing for dataService decorator & LinkService
The initial idea was to type dataService decorator strictly to BaseDataService.
However, HrefOnlyDataService should not expose methods other than findByHref & findAllByHref, but must still work with LinkService.

To address this we introduce HALDataService: an interface with the minimal requirements for a data service to work with HAL links
- dataService decorator can only decorate a class that implements HALDataService
- services retrieved from DATA_SERVICE_FACTORY should therefore work in LinkService
2022-08-24 19:03:19 +02:00
Yura Bondarenko
cd4ed018dd 93803: Remove legacy DataService class 2022-08-24 19:03:19 +02:00
Yura Bondarenko
42a2c3c7e2 93803: Refactor existing data services 2022-08-24 19:03:19 +02:00
Yura Bondarenko
8f4b3b58fb 93803: Make data services composable
Data services should extend BaseDataService (or IdentifiableDataService) for low-level functionality and optionally wrap "data service feature" classes for
- create
- findAll
- patch / update
- put
- delete
2022-08-24 19:03:18 +02:00
Tim Donohue
9a5a7c1306 Merge pull request #1788 from tdonohue/enable_swedish
Enable Swedish language
2022-08-24 11:37:48 -05:00
Tim Donohue
cb4620e536 Enable Swedish language 2022-08-24 10:42:37 -05:00
Urban Andersson
bd4190d4fc Swedish language file for DSpace 7 (#1673)
* Added Swedish language file

* Small fix

* Added translations

* Added translations

* More translations

* Translations

* Translations

* Translations

* Translations

* Translations

* Translations

* More Swedish translations

* Corrections to Swedish translations

* Corrections to Swedish translations

* Minor language fixes

* Minor changes to Swedish translation

* Restored tr.json5
2022-08-24 10:39:06 -05:00
Tim Donohue
282d0a770d Merge pull request #1768 from atmire/w2p-93882_Moved-3rd-party-css-imports-to-seperate-file
Moved 3rd party css imports to separate file
2022-08-24 10:21:03 -05:00
Hardy Pottinger
50828e9c06 Enable responsive font sizes
- adds enable-responsive-font-sizes toggle to the main bootstrap
  variables scss file
- [docs available](https://getbootstrap.com/docs/4.4/content/typography/#responsive-font-sizes)
2022-08-23 15:17:40 -05:00
Art Lowel
4b20b0cb81 force initservices to wait until authentication is no longer blocking 2022-08-23 17:50:46 +02:00
Sufiyan Shaikh
cacce82b0a [CST-6565] check fixed 2022-08-22 17:03:55 +05:30
Sufiyan Shaikh
53dcd48e98 [CST-6565] path and check fixes 2022-08-22 15:28:55 +05:30
Mark H. Wood
b2feadc290 Satisfy lint. 2022-08-19 16:47:10 -04:00
Mark H. Wood
5ed369d097 Make create, edit community/collection/item dialogs theme-able. 2022-08-19 16:23:20 -04:00
Tim Donohue
ca4f2cc5c0 Merge pull request #1756 from atmire/Admin-export-all-fields
Add admin option to export all fields in the metadata export
2022-08-19 13:10:48 -05:00
lotte
78598dc1b5 93665: Fixed lint issue 2022-08-19 11:15:37 +02:00
lotte
606995881f 93665: fixes for post 7.2 and updated back button for browse by pages 2022-08-19 11:05:08 +02:00
Yana De Pauw
f8e1db4987 93914: Add the ability to delete processes 2022-08-18 14:04:59 +02:00
corrado lombardi
8c40ed42da [CST-6110] fix lint error 2022-08-18 09:33:39 +02:00
Tim Donohue
d9facf5fb7 Merge pull request #1773 from tdonohue/fix_gendered_lang
Remove/replace gendered language in code comments
2022-08-17 14:55:18 -05:00
Tim Donohue
35614d1473 Replace gendered language with generic equivalent 2022-08-17 14:12:33 -05:00
Alexandre Vryghem
d7fc14aba3 93889: Fixed issue with DataService.deleteByHref where the success response would not be emitted if it were set to stale first 2022-08-17 16:09:14 +02:00
Alexandre Vryghem
762f8930b7 93889: Invalidate EPerson when their Groups change and groups when a subgroup is added 2022-08-17 16:04:51 +02:00
Nikunj Sharma
904c6168a8 CST-6110 changes for robust error message changed and clear message on paasword update 2022-08-17 13:39:09 +05:30
Mark H. Wood
7a3284f6bc Make the size of a browse result page configurable. 2022-08-16 16:32:38 -04:00
Nikunj Sharma
14dfba8118 Merge remote-tracking branch 'origin/main' into CST-6110 2022-08-16 17:53:08 +05:30
Alexandre Vryghem
c602a22f6c 93882: Move 3rd party css imports to separate file 2022-08-16 10:42:57 +02:00
lotte
27bb45b1bd Merge branch 'w2p-93665_fix-pagintion-in-metadata-browse-links-7.2' into w2p-93665_fix-pagintion-in-metadata-browse-links 2022-08-12 11:55:04 +02:00
lotte
092b3d862a 93665: fixed pagination in metadata browse links 2022-08-12 11:35:30 +02:00
Yana De Pauw
17ab269e25 Remove console log 2022-08-11 09:43:19 +02:00
corrado lombardi
a2e8b2a61c CST-6035 updated test 2022-08-10 18:49:01 +02:00
nikunj59
967f4a99b9 CST-6035 handled import query error 2022-08-10 17:18:08 +02:00
Tim Donohue
f6d2014bf4 Merge pull request #1751 from DSpace/dependabot/npm_and_yarn/moment-2.29.4
Bump moment from 2.29.2 to 2.29.4
2022-08-09 13:18:47 -05:00
Tim Donohue
5342d0921d Merge pull request #1715 from atmire/w2p-92701_issue-1506-gdpr-privacy-config
Option to disable gdpr / privacy statements
2022-08-09 09:40:59 -05:00
Yura Bondarenko
ba7ecf432b Add TypeDocs to ThemeService 2022-08-09 16:04:29 +02:00
Yura Bondarenko
4870d818f6 Fix license header 2022-08-09 15:47:19 +02:00
Sufiyan Shaikh
8dc356a658 Merge branch 'main' of bitbucket.org:4Science/dspace-angular into CST-6565 2022-08-09 15:20:00 +05:30
Sufiyan Shaikh
bf48971047 [CST-6565] LYRASIS7: Cookie consent shows analytics usage also when GA is disabled 2022-08-09 15:10:59 +05:30
Yana De Pauw
9e67b7f7a5 93657: Add admin option to export all fields in the metadata export 2022-08-09 11:25:32 +02:00
Nikunj Sharma
2d7b5768bf CST-6153 changes for challange sign update 2022-08-09 13:25:03 +05:30
Tim Donohue
2e59e1e775 Merge pull request #1742 from yingjin/DS-1730
fix missing space between author names MyDspace our submissions #1730
2022-08-08 16:05:59 -05:00
dependabot[bot]
ed0204ab9c Bump moment from 2.29.2 to 2.29.4
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 15:56:19 +00:00
Tim Donohue
0bc31fc48e Merge pull request #1734 from DSpace/dependabot/npm_and_yarn/terser-4.8.1
Bump terser from 4.8.0 to 4.8.1
2022-08-08 10:55:46 -05:00
Nikunj Sharma
f203f27e53 Merge remote-tracking branch 'origin/main' into CST-6153 2022-08-08 14:03:32 +05:30
Jens Vannerum
4dcf6a345a 92701: Fix privacy string for klaro and add documentation 2022-08-05 13:12:52 +02:00
Michael Spalti
f4c0f79288 Lint errors. 2022-08-04 12:10:45 -07:00
Michael Spalti
2ac8d4140f Html template updated. 2022-08-04 11:24:15 -07:00
Michael Spalti
7afa4dcd8d New themable components 2022-08-04 11:21:14 -07:00
Jens Vannerum
f2e977c402 92701: Redirect / dead link fixes 2022-08-03 15:15:45 +02:00
Ying Jin
3d5f7bb061 fix missing space between author names MyDspace our submissions #1730 2022-07-31 17:25:53 -05:00
Yura Bondarenko
250043fde8 Fix LGTM issues 2022-07-29 16:58:11 +02:00
Yura Bondarenko
4403555c29 Merge remote-tracking branch 'origin/main' into w2p-93219_Consolidate-all-initialization-in-a-single-Service 2022-07-29 16:42:21 +02:00
Yura Bondarenko
ca87f09625 Update specs 2022-07-29 15:51:23 +02:00
Tim Donohue
bfbe38974b Merge pull request #1724 from atmire/w2p-93011_Fix-researcher-profile-cache-issue
Fix researcher profile cache issue
2022-07-28 10:03:31 -05:00
Tim Donohue
f80e72df9a Merge pull request #1708 from toniprieto/translate-accept-license-step
Make label and error messages for license-step accept-checkbox translatable
2022-07-27 15:54:53 -05:00
Tim Donohue
6b36412f6c Merge pull request #1674 from atmire/w2p-91272_Add-themed-components-to-upstream-branch
Add more themed components
2022-07-27 13:53:29 -05:00
Yura Bondarenko
67b4cce25d 92319: Move Klaro & GA steps to BrowserInitService 2022-07-26 09:51:59 +02:00
Alexandre Vryghem
c7a88f99d6 Center expandable navbar section in header 2022-07-26 00:34:19 +02:00
Tim Donohue
4da017a0ee Merge pull request #1735 from saschaszott/german-translations
fixed minor typo in German translation
2022-07-22 09:45:42 -05:00
Yura Bondarenko
5ff80a8a02 93219: Fold DSpaceTransferState into InitService 2022-07-22 14:25:22 +02:00
Yura Bondarenko
bdc004f64d 93219: Move theme/route subscriptions from AppComponent to ThemeService 2022-07-22 14:25:22 +02:00
Yura Bondarenko
5cb737c7f2 93219: Move general initialization from AppComponent to InitService 2022-07-22 14:25:22 +02:00
Yura Bondarenko
372cddfd5e 93219: Support Router in InitService
For Router to work properly, APP_BASE_HREF must be resolved _before_ the APP_INITIALIZER factory is called (otherwise Angular will attempt to initialize APP_BASE_HREF too soon)
To fix this we add a pre-initialization hook to APP_CONFIG so BrowserInitService can resolve it before APP_INITIALIZER
2022-07-22 14:25:22 +02:00
Sascha Szott
7b48e7c91f fixed typo 2022-07-21 12:02:07 +02:00
dependabot[bot]
577a92bc6b Bump terser from 4.8.0 to 4.8.1
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 02:25:52 +00:00
Yura Bondarenko
39c2aa85ec 93219: Move APP_INITIALIZER logic into InitService 2022-07-18 15:58:07 +02:00
lotte
0ef2be6693 Merge branch 'make-collections-item-page-input_contribute-7.2' into w2p-91272_Add-themed-components-to-upstream-branch 2022-07-15 11:42:00 +02:00
lotte
e9372395f4 make collections on item page into an input 2022-07-15 11:41:38 +02:00
Tim Donohue
ea67a15784 Merge pull request #1709 from ybnd/Filter-webpack-warnings
Filter webpack warnings
2022-07-13 16:21:56 -05:00
Tim Donohue
13266ecf42 Merge pull request #1718 from Ianvdl/main
Rewrite English wording for the "Forgot password" page
2022-07-13 16:15:29 -05:00
Tim Donohue
0d582e5160 Merge pull request #1689 from pilasou/main
New french translations for some parameters.
2022-07-13 16:14:59 -05:00
Yura Bondarenko
517aee0e8c 93011: Make sure invalidateByHref doesn't track cache state 2022-07-11 18:41:53 +02:00
Yura Bondarenko
5013890b35 93011: Add test for invalidateByHref cache state tracking
This test is expected to fail and is be fixed in the next commit.

Currently, invalidateByHref calls keep tracking the cache and may cause objects to be invalidated a second time as soon as the cache is updated.

Practical example:
  1. DELETE request
      → object is invalidated
  2. POST request related to the same object
      → UUID of pending request is added to the object's cache entry
      → gets picked up by the previous invalidateByHref call
      → the request is set to stale even before it's completed
2022-07-11 18:40:41 +02:00
myrza1
2d9e5b43ac Update kz.json5
added title prefix
2022-07-11 15:07:43 +06:00
myrza1
612f8f25da Update kz.json5
changed paginations
2022-07-08 01:46:52 +06:00
Pierre Lasou
02f309756d Remove parameter from en.json5
Remove parameter "bitstream-request-a-copy.legal.warning" suggested in previous commit (72832e5e12) as development to include it on the request a copy page has not been made.
2022-07-04 13:33:24 -04:00
Pierre Lasou
e0e9450f93 Removing parameter in fr.json5
Remove parameter bitstream-request-a-copy.legal.warning suggested in previous commit (977dbb38ef) as development to include it on the request a copy page has not been made.
2022-07-04 13:30:55 -04:00
Pierre Lasou
4a4578474a Update of fr.json5 after review comments
Following conversation with @mhvezina (https://github.com/DSpace/dspace-angular/pull/1689#issuecomment-1167372663), I removed all initially suggested french translation of "MyDSpace".
2022-07-04 12:20:50 -04:00
Alexandre Vryghem
0c1015dd58 Merge branch 'main' into w2p-91272_Add-themed-components-to-upstream-branch 2022-07-04 14:25:57 +02:00
Tim Donohue
fae355a713 Merge pull request #1717 from tdonohue/fix_1714
Cleanup descriptions in comments of example config to clarify "ui" and "rest" sections
2022-07-01 16:07:15 -05:00
ivdl
7ab5354ab8 Rewrite English wording for the "Forgot password" page 2022-07-01 22:23:49 +02:00
Tim Donohue
df00137c55 Cleanup descriptions in comments of example config 2022-07-01 11:55:10 -05:00
Pierre Lasou
72832e5e12 New parameter for request a copy
Addition of a new language parameter to be used in the request a copy page to warm the user that he/she is about to ask for a restricted document and its use is for private use only.
2022-06-30 13:40:40 -04:00
Pierre Lasou
977dbb38ef Update fr.json5 2022-06-30 13:35:28 -04:00
Pierre Lasou
4290e54b02 Merge branch 'DSpace:main' into main 2022-06-30 13:24:17 -04:00
nikunj59
10bbb01a44 CST-6153 added error msg for required field of security form 2022-06-30 16:36:34 +05:30
nikunj59
993bb54cfd Merge remote-tracking branch 'origin/main' into CST-6153 2022-06-29 16:55:43 +05:30
Tim Donohue
fd356d4ca7 Copying updates from DSpace/DSpace#8382 2022-06-28 09:48:35 -05:00
Yura Bondarenko
222a12bbba Make RegisterEmailComponent themeable 2022-06-28 11:19:04 +02:00
Yura Bondarenko
7b4716c439 Filter Webpack warnings 2022-06-28 10:55:12 +02:00
nikunj59
36560e0e65 CST-6153 added test case 2022-06-27 20:24:46 +05:30
Jens Vannerum
1b5c801d06 92701: Disable user agreement feature 2022-06-27 16:24:16 +02:00
Jens Vannerum
900354112a Merge branch 'main' into w2p-92701_issue-1506-gdpr-privacy-config
# Conflicts:
#	src/app/info/info-routing.module.ts
#	src/config/app-config.interface.ts
#	src/config/default-app-config.ts
#	src/environments/environment.test.ts
2022-06-27 14:58:25 +02:00
Jens Vannerum
4de5ab0f56 92701: Disable user agreement feature 2022-06-27 13:47:19 +02:00
Toni Prieto
5ee4c6b61b Make label and error messages for license-step accept-checkbox translatable 2022-06-26 17:00:08 +02:00
nikunj59
bde52ba4b4 Merge remote-tracking branch 'origin/main' into CST-6153 2022-06-24 20:25:47 +05:30
Tim Donohue
b9d3855c74 Merge pull request #1703 from tdonohue/comcol_handle_display
Add spacing before handle on comcol pages
2022-06-24 09:51:21 -05:00
Tim Donohue
9bf0320b16 Merge pull request #1707 from atmire/fix-1705
Fix curation tasks started from the edit community or collection page
2022-06-24 09:48:38 -05:00
Art Lowel
b55e4327a8 fix issue where curation tasks wouldn't work for collections and communities because the handle was in the wrong format 2022-06-24 16:03:54 +02:00
nikunj59
9e2a682a51 CST-6153 changes for current password field introduce 2022-06-24 19:26:30 +05:30
Tim Donohue
377ac3ab84 Add spacing before handle on comcol pages 2022-06-23 14:54:12 -05:00
Tim Donohue
e0109b947c Merge pull request #1701 from saschaszott/german-translations
added missing German translations; fixed typos
2022-06-23 11:31:14 -05:00
Tim Donohue
f4c6284c23 Merge pull request #1698 from 4Science/CST-6174-access-conditions-fix
Submission item/bitstream access conditions fixes
2022-06-23 11:24:20 -05:00
Sascha Szott
79c97c94a2 fixed submission.workflow.generic.delete-help 2022-06-23 17:05:32 +02:00
Sascha Szott
cfca5c8ca1 fixed admin.registries.schema.fields.table.delete 2022-06-23 16:56:43 +02:00
Sascha Szott
5a7ba93e50 added browse.title.page 2022-06-23 14:46:40 +02:00
Sascha Szott
78f4096ab4 removed prefix "DSpace Angular ::" in various translation keys; use repository.title.* instead 2022-06-23 14:25:50 +02:00
Sascha Szott
f2b1d11fb2 added translation key communityList.breadcrumbs 2022-06-23 14:15:41 +02:00
Giuseppe Digilio
0aa14bcddd [CST-6174] Set maxStartDate/maxEndDate when building form models 2022-06-23 12:24:16 +02:00
Giuseppe Digilio
2a20b0c989 [CST-6174] Add test to check maxStartDate and maxEndDate 2022-06-23 12:04:33 +02:00
Sascha Szott
1168616f80 fixed typo in german translation 2022-06-23 11:43:57 +02:00
Sascha Szott
f9c6f5f5b6 added translation keys submission.general.info.* 2022-06-23 11:36:21 +02:00
Sascha Szott
146bbd8042 translation harmonization 2022-06-23 10:49:26 +02:00
Sascha Szott
395b2762b5 added submission.edit.breadcrumbs 2022-06-23 10:47:32 +02:00
Sascha Szott
5e15eb07f7 fixed typo in community.create.sub-head 2022-06-23 10:40:33 +02:00
Sascha Szott
9b93e9c2a4 Merge branch 'DSpace:main' into german-translations 2022-06-23 10:37:51 +02:00
Tim Donohue
f589b2f8de Merge pull request #1646 from tdonohue/update_node_in_ci
Update CI process to use Node 14 & 16
2022-06-22 15:45:42 -05:00
Tim Donohue
f37f32b4ab Drop Node 12 which is EOL. CI Build on 14 and 16 2022-06-22 15:13:35 -05:00
Tim Donohue
f649a82c3c Merge pull request #1691 from 4Science/CST-6056
fix for filter suggestion issue and bitstream description issue
2022-06-22 10:46:05 -05:00
Tim Donohue
815788bc4c Merge pull request #1699 from atmire/add-default-basehref-to-angular-json
Add the default baseHref value to angular.json
2022-06-22 10:29:13 -05:00
Art Lowel
f2f8f0929c Add the default baseHref value to angular.json 2022-06-22 16:05:03 +02:00
Giuseppe Digilio
8c14822eef [CST-6174] Fix issue with item access condition which doesn't consider the maxStartDate/maxEndDate 2022-06-22 15:46:30 +02:00
Giuseppe Digilio
5d130156e8 [CST-6174] Fix issue with bitstream access condition edit form when maxStartDate/maxEndDate are missing 2022-06-22 15:43:23 +02:00
Tim Donohue
12000d7b97 Merge pull request #1676 from tdonohue/fix_1675
Fixes Collection Mapper by ensuring UI sends a valid sort option
2022-06-22 08:37:53 -05:00
Tim Donohue
0475a9e22a Merge pull request #1626 from 4Science/CST-5339
Orcid queue
2022-06-22 08:34:45 -05:00
nikunj59
17a89387f2 CST-6110 changes for robust password error 2022-06-22 13:26:08 +05:30
nikunj59
20975a2274 Merge remote-tracking branch 'origin/main' into CST-6110 2022-06-22 12:17:46 +05:30
Tim Donohue
f3e4fb9901 Fix defaults in Pagination Service 2022-06-21 16:24:04 -05:00
Tim Donohue
f942eced3a Ensure a valid sort is specified 2022-06-21 14:45:56 -05:00
Tim Donohue
eb662fc156 Merge pull request #1630 from mspalti/mirador-search-passthrough
Fixes search passthrough to Mirador
2022-06-21 14:35:48 -05:00
nikunj59
0a73875d17 CST-6110 changes for robust password error 2022-06-21 21:42:33 +05:30
Giuseppe Digilio
20314d4620 [CST-6056] Fix issue with authority suggestion by adding the filter query in the input suggestion object 2022-06-21 13:37:42 +02:00
Luca Giamminonni
7724db530b [CST-5339] Added ORCID label 2022-06-21 11:32:09 +02:00
Luca Giamminonni
555d98f700 [CST-5339] Improved project synchronization 2022-06-20 19:05:57 +02:00
Giuseppe Digilio
ac41e7b3d6 [CST-6056] use onClick method on clickSuggestion for authority filter 2022-06-20 18:32:28 +02:00
Giuseppe Digilio
6abef91094 [CST-6056] use authority operator for authority facet 2022-06-20 18:21:55 +02:00
Luca Giamminonni
ac677d52d7 [CST-5339] Various improvements 2022-06-20 15:27:32 +02:00
Michael Spalti
c56cded549 Merge branch 'main' into mirador-search-passthrough 2022-06-17 15:04:02 -07:00
Yura Bondarenko
922e57c90f Merge remote-tracking branch 'origin/main' into w2p-92282_Fix-missing-auth-tokens-when-retrieving-Bitstreams 2022-06-17 15:47:23 +02:00
Yura Bondarenko
e15da9b76b 92282: Support restricted thumbnails 2022-06-17 15:45:02 +02:00
Luca Giamminonni
c62f72789d Merge remote-tracking branch '4Science-bitbucket/main' into CST-5339 2022-06-17 13:29:30 +02:00
benbosman
26ed23d1b6 Merge pull request #1624 from atmire/feature-relationship-versioning
Feature: Entity / relationship versioning
2022-06-17 11:48:09 +02:00
Bruno Roemers
84f362fe21 Merge branch 'main' into feature-relationship-versioning 2022-06-17 10:17:56 +02:00
Tim Donohue
f13401266e Merge pull request #1443 from atmire/w2p-85451_export-search-results-as-csv
Add a button to export search results as CSV
2022-06-16 13:33:30 -05:00
Giuseppe Digilio
fe85a596ff [CST-5339] include OrcidAuthService in core.module 2022-06-16 19:06:30 +02:00
Giuseppe Digilio
b1683e1424 [CST-5339] revert unintentional commit 2022-06-16 19:04:20 +02:00
Giuseppe Digilio
144451ea26 Merge branch 'CST-5339' of github.com:4Science/dspace-angular into CST-5339 2022-06-16 19:01:04 +02:00
Giuseppe Digilio
2bf5e70b87 Merge remote-tracking branch 'origin/main' into CST-5339 2022-06-16 19:00:38 +02:00
Tim Donohue
baa55b2595 Merge pull request #1618 from 4Science/CST-5668
Orcid settings page
2022-06-16 11:35:03 -05:00
Tim Donohue
0e9dff41ad Merge pull request #1688 from ybnd/Fix-show-more-collapse-icon-label-spacing
Truncatable toggle: spacing between icon & label as margin instead of whitespace
2022-06-16 10:06:15 -05:00
Luca Giamminonni
edcbdabd52 [CST-5339] Added invalid country label for orcid synchronization 2022-06-16 16:02:24 +02:00
Giuseppe Digilio
5eb6355858 [CST-5339] Make action color as primary 2022-06-16 15:44:18 +02:00
Giuseppe Digilio
63356aa127 [CST-5339] Refactoring orcid services by adding OrcidAuthService 2022-06-16 15:02:26 +02:00
Yana De Pauw
aa7da8608a Merge remote-tracking branch 'upstream/main' into w2p-85451_export-search-results-as-csv 2022-06-16 09:51:50 +02:00
Giuseppe Digilio
83ded46e83 Merge remote-tracking branch 'origin/main' into CST-6056 2022-06-16 09:14:51 +02:00
Giuseppe Digilio
4755b15db1 Merge remote-tracking branch 'origin/CST-5668' into CST-5339 2022-06-16 09:13:57 +02:00
Giuseppe Digilio
9a9010f146 Merge remote-tracking branch 'origin/main' into CST-5668 2022-06-16 09:13:01 +02:00
Giuseppe Digilio
793169dd31 [CST-5339] Fix queue refresh after preferences are changed 2022-06-15 18:54:30 +02:00
Giuseppe Digilio
d1c012407a Merge remote-tracking branch 'origin/CST-5668' into CST-5339
# Conflicts:
#	src/app/item-page/orcid-page/orcid-page.component.html
2022-06-15 18:25:32 +02:00
Tim Donohue
ab6e2b87f8 Merge pull request #1692 from tdonohue/fix_e2e_docker_backend
Fix continuous integration e2e backend failures
2022-06-15 11:01:18 -05:00
Tim Donohue
da45ff2d83 Ensure CI docker backend always runs DB migrations, even when out of order. 2022-06-15 10:26:13 -05:00
Giuseppe Digilio
9bcd92efae [CST-6056] optimize fix to issue with filter suggestion 2022-06-15 15:08:16 +02:00
Davide Negretti
d3ba1d2926 [CST-5339] Rename ORCID service; add findById and findAllByHref 2022-06-15 12:42:02 +02:00
Davide Negretti
2c82893e72 Merge branch 'CST-5668' into CST-5339
# Conflicts:
#	src/app/item-page/orcid-page/orcid-page.component.html
2022-06-15 11:18:46 +02:00
Giuseppe Digilio
82748c5ac9 [CST-5668] fix cache issue when settings are updated 2022-06-15 09:28:12 +02:00
Pierre Lasou
3979c51e61 New french translations for some parameters.
Proposition for new translations of the following terms: Workspace, Workflow, Workflow task and MyDSpace.
2022-06-14 17:43:56 -04:00
Davide Negretti
8eca0d93e4 [CST-5339] fdescribe removed 2022-06-14 23:14:10 +02:00
Davide Negretti
781fa08d1e Merge branch 'main-gh' into CST-5339 2022-06-14 19:00:52 +02:00
Davide Negretti
3adf846786 [CST-5339] Pass item as input - Tests 2022-06-14 19:00:02 +02:00
Giuseppe Digilio
94281fd60e [CST-5668] fix issue with cards margin with small window 2022-06-14 18:21:33 +02:00
Davide Negretti
adcef89c29 [CST-5339] Tests (WIP) 2022-06-14 18:21:06 +02:00
Giuseppe Digilio
09be33582b [CST-5668] Remove outer box 2022-06-14 18:01:22 +02:00
Giuseppe Digilio
eda4797034 [CST-5668] Implement orcid linking by redirect on front-end 2022-06-14 17:51:37 +02:00
Giuseppe Digilio
a0ea69aafa [CST-5668] use orcid icon as button 2022-06-14 17:48:53 +02:00
Davide Negretti
851855fc2a [CST-5339] Tests (WIP) 2022-06-14 17:44:57 +02:00
Davide Negretti
d779521dc9 [CST-5339] Lint errors 2022-06-14 12:31:20 +02:00
Davide Negretti
383703a4d6 [CST-5339] Lint errors 2022-06-14 12:29:38 +02:00
Davide Negretti
9850174fa2 [CST-5339] ORCID registry queue table reformatted 2022-06-14 12:15:15 +02:00
nikunj59
f39283cae5 CST-6051 changes description tool tip and truncate text 2022-06-14 14:56:41 +05:30
Bruno Roemers
d063c42f6d Merge branch 'feature-relationship-versioning-7.2' into feature-relationship-versioning 2022-06-14 11:14:35 +02:00
Bruno Roemers
2750931e92 92187: Fix linting errors 2022-06-14 10:22:29 +02:00
Giuseppe Digilio
3a4d7708a9 [CST-5668] Fix layout 2022-06-14 10:05:50 +02:00
Giuseppe Digilio
03af265ac4 [CST-5668] Fix issue with notification css that override min-width for all alert boxes 2022-06-14 10:05:29 +02:00
Giuseppe Digilio
d94e6ad8d7 [CST-5668] Add description messages 2022-06-14 09:47:02 +02:00
nikunj59
5aa569c5f2 Merge remote-tracking branch 'origin/main' into CST-6056 2022-06-14 11:49:44 +05:30
Tim Donohue
50f96884de Merge pull request #1685 from reetagithub/main
update fi.json
2022-06-13 16:58:41 -05:00
ybnd
0f94bbb874 Truncatable toggle icon-label spacing as margin instead of whitespace 2022-06-13 19:57:53 +02:00
Bruno Roemers
a43137e847 Merge branch 'main' into feature-relationship-versioning 2022-06-13 18:50:09 +02:00
Bruno Roemers
fd4d541de3 Merge branch 'feature-relationship-versioning-7.2' into feature-relationship-versioning 2022-06-13 18:46:42 +02:00
Bruno Roemers
35708ae3a8 92187: Keep version creation modal opened till POST request finishes 2022-06-13 18:45:32 +02:00
Tim Donohue
9db9441afc Merge pull request #1619 from 4Science/DSC-516-Style-New
TruncatableComponent usability improvement
2022-06-13 11:16:04 -05:00
Giuseppe Digilio
06d07dc1df [DSC-516] Fix issue with sidebar search list element 2022-06-13 17:41:51 +02:00
Giuseppe Digilio
e04404bdd6 [CST-5339] use ds-alert for info box 2022-06-13 17:05:41 +02:00
Tim Donohue
41bdd625dc Merge pull request #1664 from 4Science/CST-5677
[CST-5677] Improve item authorization page
2022-06-13 09:28:28 -05:00
Giuseppe Digilio
529384ab7f Merge branch 'CST-5668' into CST-5339
# Conflicts:
#	src/app/core/core.module.ts
#	src/app/item-page/item-page.module.ts
#	src/app/item-page/orcid-page/orcid-page.component.html
#	src/app/shared/shared.module.ts
#	src/styles/_global-styles.scss
2022-06-13 15:08:44 +02:00
nikunj59
02b124f7dd CST-6056 changes for filter result not working while lookup from text input 2022-06-13 18:28:56 +05:30
Giuseppe Digilio
9b6aa9f324 [CST-5668] Improve synchronization description 2022-06-13 14:55:17 +02:00
Giuseppe Digilio
a915659cc9 [CST-5668] Add test 2022-06-13 10:39:44 +02:00
Giuseppe Digilio
98f1baea2f [CST-5668] Rename component 2022-06-13 09:32:24 +02:00
Giuseppe Digilio
0b0fae45fa [CST-5668] Fix layout and add typedoc 2022-06-13 09:27:47 +02:00
reetagithub
fe4568a573 Merge branch 'DSpace:main' into main 2022-06-13 07:58:58 +03:00
Giuseppe Digilio
10f4f80f0d [CST-5668] Create and abstract component for authentication with external providers 2022-06-10 19:28:56 +02:00
Giuseppe Digilio
03369b8e10 [CST-5668] Address feedback and add test for orcid-auth.component 2022-06-10 19:03:31 +02:00
Sascha Szott
68d162432b added two missing keys 2022-06-10 14:22:52 +02:00
Sascha Szott
afe798942b harmonized german translations ("Ihre Veröffentlichungen") 2022-06-10 13:15:53 +02:00
Sascha Szott
5bf34b868c added missing keys workspace.search.results.head and workflow.search.results.head 2022-06-10 13:08:36 +02:00
Giuseppe Digilio
b372a27513 [CST-5668] Add test for orcid-page.component 2022-06-10 12:30:15 +02:00
Giuseppe Digilio
3cb5e0c226 [CST-5668] Fix button style and tooltip messages 2022-06-10 11:32:48 +02:00
Tim Donohue
859172717a Merge pull request #1684 from saschaszott/german-translations
added missing German translations
2022-06-09 16:10:35 -05:00
Sascha Szott
fa5dc5ccf0 added several missing dso-selector.set-scope.* keys 2022-06-09 19:35:46 +02:00
Sascha Szott
a4699d0faf added missing key search.form.scope.all 2022-06-09 19:32:39 +02:00
Sascha Szott
eca0526cce added missing sort order related translation keys 2022-06-09 19:27:26 +02:00
Giuseppe Digilio
17cc3078df [CST-5668] Fix after merge 2022-06-09 19:23:19 +02:00
Giuseppe Digilio
c3ececdde7 [CST-5668] Retrieve item from route data 2022-06-09 19:22:23 +02:00
Sascha Szott
0fbe9731cb added browse.back.all-results 2022-06-09 19:19:02 +02:00
Davide Negretti
4c19d3a027 [CST-5677] @types/node-sass removed 2022-06-09 18:50:59 +02:00
Davide Negretti
fca8c223e7 [CST-5677] Empty subscription fixed 2022-06-09 18:49:44 +02:00
Davide Negretti
3c3a679ef7 [CST-5677] Label fixed 2022-06-09 18:08:24 +02:00
Davide Negretti
df1324af90 [CST-5677] Spelling error fixed 2022-06-09 18:05:30 +02:00
Giuseppe Digilio
b03c73e0c5 Merge remote-tracking branch 'origin/main' into CST-5668
# Conflicts:
#	src/app/core/core.module.ts
#	src/app/core/profile/researcher-profile.service.ts
#	src/app/item-page/simple/item-page.component.ts
#	src/app/profile-page/profile-page.component.spec.ts
#	src/app/profile-page/profile-page.component.ts
#	src/app/shared/shared.module.ts
2022-06-09 17:39:43 +02:00
Tim Donohue
19bc9df5a1 Merge pull request #1617 from 4Science/CST-5307
Researcher profile
2022-06-09 10:08:10 -05:00
Sascha Szott
a1570128ea added thumbnail.* translation keys 2022-06-09 16:31:31 +02:00
Sascha Szott
4d73a3f2bf added search.filters.filter.author.label 2022-06-09 16:24:09 +02:00
Giuseppe Digilio
ce9e811526 [CST-5307] fix use of wrong param 2022-06-09 09:40:48 +02:00
Giuseppe Digilio
bd02278f80 Merge branch 'main' into CST-5307
# Conflicts:
#	src/assets/i18n/en.json5
2022-06-08 16:53:11 +02:00
Tim Donohue
cf6e58d194 Merge pull request #1669 from atmire/w2p-91770_Fix-route-matching-themes-on-first-load
Fix route-matching themes not resolving on first load/refresh
2022-06-08 09:25:46 -05:00
Tim Donohue
9db342606b Merge pull request #1633 from 4Science/CST-5270-sherpa-romeo-integration
Sherpa romeo integration (Angular)
2022-06-08 09:19:12 -05:00
Tim Donohue
a1598f9f8a Merge pull request #1637 from 4Science/CST-5535
Add admin panel for actuator information
2022-06-08 09:11:58 -05:00
Yura Bondarenko
485cc2bd31 Document AppComponent.updateTheme 2022-06-08 15:34:58 +02:00
Giuseppe Digilio
8bdb4b7be3 [CST-5307] disable cache when checking CanClaimItem authorization feature 2022-06-08 12:58:19 +02:00
Giuseppe Digilio
e2abea7373 [CST-5307] Add useCachedVersionIfAvailable and reRequestOnStale param to isAuthorized method 2022-06-08 12:56:57 +02:00
Giuseppe Digilio
e68bfd2eb6 [CST-5535] Add component typedoc and optimize code 2022-06-08 11:52:01 +02:00
Giuseppe Digilio
12f073bdbe [CST-5307] Fix issue with person-search-result-list-element.component that sometimes shown undefined name 2022-06-08 11:20:32 +02:00
Luca Giamminonni
7ea208e314 [CST-5668] Fixed lint warnings 2022-06-07 17:47:20 +02:00
Luca Giamminonni
b0625342b7 Merge remote-tracking branch '4Science-github/main' into CST-5668 2022-06-07 17:27:00 +02:00
nikunj59
1e9e4d5b12 CST-5309 added test cases 2022-06-07 17:26:35 +02:00
nikunj59
a9fcdce960 CST-5309 changes for error page component 2022-06-07 17:26:21 +02:00
Sufiyan Shaikh
b6f83461ab [DSC-516] show more button position at the bottom 2022-06-07 20:36:07 +05:30
Davide Negretti
9ff075b23e [CST-5535] TypeDoc added 2022-06-07 16:19:52 +02:00
Giuseppe
9d5aba7499 Update alert.component.ts
remove union type
2022-06-07 16:02:01 +02:00
Davide Negretti
83fce87792 [CST-5535] commented code removed 2022-06-07 15:17:29 +02:00
Luca Giamminonni
43f4ff7cde [CST-5668] Fixed DsoPageOrcidButtonComponent test 2022-06-07 15:15:51 +02:00
Luca Giamminonni
7320d1cc66 [CST-5668] Removed unused imports 2022-06-07 14:59:04 +02:00
Giuseppe Digilio
24b8c6b606 Merge branch 'main' into CST-5307 2022-06-07 13:17:08 +02:00
Giuseppe Digilio
73c60e3eef [CST-5307] disable cache when lookup for profile to claim 2022-06-07 13:05:52 +02:00
Sufiyan Shaikh
1d33d1537b [DSC-516] Card faded affect fix 2022-06-07 15:43:21 +05:30
Tim Donohue
245b86c68a Merge pull request #1677 from DSpace/dependabot/npm_and_yarn/ejs-3.1.8
Bump ejs from 3.1.6 to 3.1.8
2022-06-06 17:36:15 -05:00
Giuseppe Digilio
318d0ead61 [DSC-516] remove unused test provider 2022-06-06 18:27:06 +02:00
Davide Negretti
8ac9425db3 [CST-5677] restored empty panels; show message if panel is empty 2022-06-06 16:50:44 +02:00
Giuseppe Digilio
09b7d2e52f [CST-5270] fix test 2022-06-06 16:48:31 +02:00
Davide Negretti
39cba0414a Revert "[CST-5535] hide empty panels"
This reverts commit 692ab040dc.
2022-06-06 16:18:22 +02:00
Davide Negretti
eca9f79924 Revert "[CST-5677] code formatted"
This reverts commit 37492f2f82.
2022-06-06 16:18:09 +02:00
Giuseppe Digilio
dd049270a7 [CST-5270] add info alert for section info message 2022-06-06 15:58:06 +02:00
Davide Negretti
37492f2f82 [CST-5677] code formatted 2022-06-06 15:39:44 +02:00
Davide Negretti
692ab040dc [CST-5535] hide empty panels 2022-06-06 15:25:58 +02:00
Rezart Vata
377214c996 [CST-5270] Finished improvements 2022-06-06 13:20:16 +02:00
Tim Donohue
02e089a51b Merge pull request #1666 from atmire/w2p-91400_Fix-for-missing-comma-in-json-files
Fix for missing comma in json files
2022-06-03 16:53:38 -05:00
dependabot[bot]
68a36c4635 Bump ejs from 3.1.6 to 3.1.8
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.8.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.8)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-03 21:50:02 +00:00
Tim Donohue
c6e591402f Merge pull request #1604 from DSpace/dependabot/npm_and_yarn/node-forge-1.3.1
Bump node-forge from 1.2.1 to 1.3.1
2022-06-03 15:54:18 -05:00
Tim Donohue
e2488b9848 Merge pull request #1593 from DSpace/dependabot/npm_and_yarn/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6
2022-06-03 15:21:50 -05:00
Tim Donohue
f1191c5428 Merge pull request #1592 from DSpace/dependabot/npm_and_yarn/moment-2.29.2
Bump moment from 2.29.1 to 2.29.2
2022-06-03 11:01:11 -05:00
Rezart Vata
6db5cff426 [CST-5270] fix testing 2022-06-03 17:55:13 +02:00
Rezart Vata
3c6a41f82a [CST-5270] Improvement requested from pull-1633 2022-06-03 17:49:15 +02:00
Alexandre Vryghem
fc1e6b6b85 Removed comments for how to theme li[Component] 2022-06-03 11:50:07 +02:00
Tim Donohue
c4f2e8ce11 Merge pull request #1642 from harvard-lts/145-base-path-support
[Issue 145] Support base path
2022-06-02 13:01:51 -05:00
William Welling
cfb4a627be use router for static assets 2022-06-02 10:16:49 -05:00
Alexandre Vryghem
541968fdd9 Merge remote-tracking branch 'templates/w2p-89721_Add-themeable-components_contribute-7.2' into w2p-91272_Add-themed-components-to-upstream-branch 2022-06-02 17:14:44 +02:00
Alexandre Vryghem
dc5d46993e 89721: Themed AdminSidebarComponent 2022-06-02 16:40:47 +02:00
Alexandre Vryghem
bca332a23a 89721: Themed JournalComponent 2022-06-02 16:40:47 +02:00
Alexandre Vryghem
2264067240 89721: Themed JournalVolumeComponent 2022-06-02 16:40:47 +02:00
Alexandre Vryghem
2441db16e9 89721: Themed JournalIssueComponent 2022-06-02 16:40:47 +02:00
Rezart Vata
d75136408b [CST-5270] small fix for unit selection 2022-06-02 12:49:53 +02:00
Alexandre Vryghem
9e8071727d Merge branch 'main-upstream' into w2p-91272_Add-themed-components-to-upstream-branch 2022-06-02 12:09:51 +02:00
Alexandre Vryghem
533e4c982f 91272: Small fixes 2022-06-02 12:05:33 +02:00
Giuseppe Digilio
f40907ea9f Merge branch 'DSC-516-Style-New' of bitbucket.org:4Science/dspace-angular into DSC-516-Style-New 2022-05-30 17:25:59 +02:00
Yura Bondarenko
03e1e468bd 91770: Fix route-matching themes not resolving on first load/refresh 2022-05-30 11:28:57 +02:00
Alexandre Vryghem
3a483c393d 89721: Themed UntypedItemComponent 2022-05-30 10:12:40 +02:00
William Welling
5996efec1a Merge branch 'main' of github.com:harvard-lts/dspace-angular into 145-base-path-support 2022-05-29 15:01:46 -05:00
Tim Donohue
3a9783d031 Merge pull request #1667 from tdonohue/disable_multiarch_for_prs
Docker Fixes: Ensure multiple architecture build is disabled for PRs
2022-05-27 11:44:25 -05:00
Sufiyan Shaikh
ea7a40a75a [DSC-516] Removed faded effect 2022-05-27 20:57:38 +05:30
Tim Donohue
d719a02597 Only build PRs in AMD64, as a simple sanity check. 2022-05-27 09:08:52 -05:00
Alexandre Vryghem
d6e181d0b2 89721: Fixed lv.json5 syntax error 2022-05-27 15:35:54 +02:00
Alexandre Vryghem
358e7c6d54 Merge branch 'main-upstream' into w2p-91400_Fix-for-missing-comma-in-json-files 2022-05-27 09:48:05 +02:00
Giuseppe Digilio
091494750b Merge remote-tracking branch 'origin/main' into DSC-516-Style-New 2022-05-26 19:01:56 +02:00
Giuseppe Digilio
dfd759e2fb Merge remote-tracking branch 'origin/main' into CST-5270-sherpa-romeo-integration 2022-05-26 17:08:37 +02:00
Giuseppe Digilio
a830c99f90 [CST-5307] Remove setStaleByHrefSubstring 2022-05-26 16:58:08 +02:00
Giuseppe Digilio
2622f374b0 Merge remote-tracking branch 'origin/main' into CST-5307
# Conflicts:
#	src/app/core/data/data.service.ts
2022-05-26 16:37:24 +02:00
Giuseppe Digilio
2c5da265e1 [CST-5307] fix LGTM alerts 2022-05-26 16:36:21 +02:00
Giuseppe Digilio
87064761b5 [CST-5307] fix issue with unsubscribed subscription 2022-05-26 16:36:03 +02:00
Davide Negretti
99b12cdd0f [CST-5677] yarn.lock updated 2022-05-26 16:27:32 +02:00
Davide Negretti
2c53b4ae2e Merge branch 'main-gh' into CST-5677 2022-05-26 16:02:06 +02:00
Tim Donohue
c834f8a075 Merge pull request #1608 from atmire/w2p-90252_Cache-redesign-part-3_Simplify-the-invalidation-of-cached-objects
Cache redesign part 3: simplify the invalidation of cached objects
2022-05-26 08:52:49 -05:00
Giuseppe Digilio
bc37372f05 [CST-5307] add confirmation modal when deleting the profile 2022-05-26 15:47:57 +02:00
Giuseppe Digilio
e6f6bc96f3 [CST-5307] use followlink for retrieving profile item on create and find 2022-05-26 15:32:18 +02:00
Alisa Ismailati
0b7782d230 [CST-5677] Fixed failing test 2022-05-26 14:42:22 +02:00
Sufiyan Shaikh
21a6540a36 Merge branch 'main' of bitbucket.org:4Science/dspace-angular into DSC-516-Style-New 2022-05-26 17:27:25 +05:30
Sufiyan Shaikh
d2ee2cd29e [DSC-516] Performance improvement 2022-05-26 17:07:24 +05:30
Giuseppe Digilio
be3fceb185 [CST-5307] Address feedback 2022-05-26 12:48:27 +02:00
Sufiyan Shaikh
76046ded84 [DSC-516] Performance improvement 2022-05-26 14:52:35 +05:30
Sufiyan Shaikh
5810309ff8 [DSC-516] Performance improvement 2022-05-26 14:43:41 +05:30
Giuseppe Digilio
ebbae79854 Merge remote-tracking branch 'origin/main' into CST-5307
# Conflicts:
#	src/app/core/core.module.ts
#	src/app/profile-page/profile-page.component.spec.ts
#	src/app/profile-page/profile-page.component.ts
#	src/app/shared/shared.module.ts
2022-05-26 10:40:48 +02:00
Alexandre Vryghem
d44253ea86 91400: Fix for line indentation on empty lines 2022-05-26 09:58:36 +02:00
Tim Donohue
7a84ea483d Merge pull request #1641 from 4Science/CST-5674
[CST-5674] Edit resource policy
2022-05-25 14:33:36 -05:00
Tim Donohue
5153308c46 Merge pull request #1652 from 4Science/CST-5303-LiveImportProviders
[CST-5303] Live Import providers i18n keys
2022-05-25 13:43:12 -05:00
Rezart Vata
d297eb708d [CST-5270] fix issue when no info 2022-05-25 18:20:13 +02:00
Tim Donohue
cfeef5f2d9 Merge pull request #1663 from atmire/test-multiplatform-docker-build
Add support for linux/arm64 platform to docker build
2022-05-25 08:45:23 -05:00
Art Lowel
7f6c17df75 add support for multiple platforms to docker build 2022-05-25 15:02:38 +02:00
Sufiyan Shaikh
d54f959613 [DSC-516] Author show more button fixed 2022-05-25 17:02:11 +05:30
Sufiyan Shaikh
fc83facf1e Merge 2022-05-25 14:37:14 +05:30
Giuseppe Digilio
ab9df8ac98 Merge remote-tracking branch 'origin/main' into DSC-516-Style-New
# Conflicts:
#	src/app/admin/admin-search-page/admin-search-results/admin-search-result-grid-element/item-search-result/item-admin-search-result-grid-element.component.spec.ts
2022-05-25 09:30:14 +02:00
Giuseppe Digilio
98b1667ca7 [CST-5270] Fix LGTM alerts 2022-05-25 09:24:14 +02:00
Tim Donohue
a38172c035 Merge pull request #1640 from atmire/w2p-90948_More-informative-error-for-Workflow-group-delete
Show notifications when failing to create/delete role Groups
2022-05-24 16:46:30 -05:00
Giuseppe Digilio
d1f8bb6d7b [CST-5270] use data-test as css selector for unit test 2022-05-24 16:05:21 +02:00
Marie Verdonck
bb898022e3 91400: Fix for missing comma in json5 label files by sync script 2022-05-24 13:38:53 +02:00
Rezart Vata
5842d83e91 [CST-5270] add class needed for unit testing 2022-05-24 12:34:44 +02:00
Rezart Vata
ec6bc20010 Merge branch 'CST-5270-sherpa-romeo-integration' of https://bitbucket.org/4Science/dspace-angular into CST-5270-sherpa-romeo-integration 2022-05-24 12:28:43 +02:00
Rezart Vata
53851ba18e [CST-5270] Fix unit testing 2022-05-24 12:28:21 +02:00
Yana De Pauw
24e641e024 Merge remote-tracking branch 'upstream/main' into w2p-85451_export-search-results-as-csv 2022-05-24 10:37:33 +02:00
Giuseppe Digilio
87d015371c [CST-5270] use bootstrap classes 2022-05-24 09:19:02 +02:00
Rezart Vata
268ee04d1e [CST-5270] Fixes requested as improvements 2022-05-23 19:05:03 +02:00
Michael W Spalti
5ec460d236 Url parsing
Lint fix
2022-05-23 08:54:49 -07:00
Rezart Vata
166f4c3b25 [CST-5270] Finished functionalities 2022-05-23 17:39:36 +02:00
Mykhaylo
3e2cd387df added missing configs 2022-05-23 12:30:23 +02:00
Tim Donohue
436c6dd084 Merge pull request #1658 from atmire/fix-enitytype-redirect-encoding-issue
Fix entitytype redirect encoding issue
2022-05-20 10:55:50 -05:00
Davide Negretti
c206005d42 [CST-5674] code cleanup 2022-05-20 17:41:20 +02:00
Davide Negretti
9d577c5317 [CST-5674] fix test (lint) 2022-05-20 17:35:22 +02:00
Luca Giamminonni
857a3c56b7 [CST-5668] Fixed lint warnings 2022-05-20 17:31:54 +02:00
Davide Negretti
d2e881eba3 [CST-5674] fix test 2022-05-20 17:24:05 +02:00
Luca Giamminonni
bdc8c5d41e Merge branch 'main' into CST-5668 2022-05-20 17:18:44 +02:00
Luca Giamminonni
06091e39ca [CST-5668] Improved orcid page adding back button and fixing synchronization mode setting 2022-05-20 17:16:28 +02:00
Davide Negretti
51bbbb697e [CST-5674] add test case for updateTarget 2022-05-20 16:45:10 +02:00
Yura Bondarenko
383485b16d Modal outputs as EventEmitters instead of Subjects 2022-05-20 13:18:26 +02:00
Tim Donohue
9889a9d1a6 Merge pull request #1634 from 4Science/CST-5738
Add special groups list to the profile page
2022-05-19 15:24:49 -05:00
Giuseppe Digilio
305203dba7 [CST-5738] hide special group heading when are not present 2022-05-19 19:08:08 +02:00
Giuseppe Digilio
9124f06e4c Merge remote-tracking branch 'origin/main' into CST-5738 2022-05-19 18:47:47 +02:00
Giuseppe Digilio
7b6ccb780f [CST-5535] fix menu entry after merge 2022-05-19 18:41:54 +02:00
Giuseppe Digilio
d751de0aa6 Merge remote-tracking branch 'origin/main' into CST-5535
# Conflicts:
#	src/app/admin/admin-sidebar/admin-sidebar.component.ts
2022-05-19 16:59:45 +02:00
William Welling
2db80022b5 Merge branch 'main' of github.com:harvard-lts/dspace-angular into 145-base-path-support 2022-05-19 09:03:11 -05:00
Tim Donohue
bb5cdfc1a3 Merge pull request #1627 from atmire/w2p-90978_Improve-initial-page-load_PR
Improve initial page load
2022-05-19 08:55:28 -05:00
Rezart Vata
cba7a60476 [CST-5270] fixing module accordion 2022-05-19 15:55:05 +02:00
Luca Giamminonni
de2202799d [CST-5307] Search claimable profiles by email 2022-05-19 13:41:54 +02:00
Giuseppe Digilio
50184c8784 [CST-5738] fix LGTM alert 2022-05-18 19:27:23 +02:00
Rezart Vata
a03557fcad [CST-5270] fixed accordion issue and changed it to collapsable 2022-05-18 16:44:20 +02:00
Giuseppe Digilio
9aff792cac [CST-5535] Decrease status size 2022-05-18 14:54:59 +02:00
Giuseppe Digilio
bc63e14512 [CST-5535] Fix labels 2022-05-18 14:54:37 +02:00
Giuseppe Digilio
c43e25296d [CST-5535] Add title to the page and change health tab name 2022-05-18 14:45:21 +02:00
Yura Bondarenko
b05125dd16 Fix import menu to align with export menu code 2022-05-18 13:51:44 +02:00
Giuseppe Digilio
ef332af17e [CST-5535] Fix issue with error notice message on health page loading 2022-05-18 13:31:09 +02:00
Luca Giamminonni
733688bd7e Merge remote-tracking branch '4Science-bitbucket/main' into CST-5668 2022-05-18 13:25:36 +02:00
Luca Giamminonni
983db9c050 Merge branch 'CST-5668' into CST-5339 2022-05-18 13:16:15 +02:00
Giuseppe Digilio
d4dc176870 [CST-5535] Add Possibility to have translation also for properties 2022-05-18 13:04:04 +02:00
Luca Giamminonni
b6277f1e96 Merge remote-tracking branch '4Science-bitbucket/main' into CST-5339 2022-05-18 12:30:31 +02:00
Mykhaylo
a732f1534d [CST-5303] fix wrong format 2022-05-18 09:33:08 +02:00
Mykhaylo
618ff0ce19 [CST-5303] added missing labels 2022-05-17 17:45:27 +02:00
Davide Negretti
881af64495 [CST-5674] POST replaced with PUT 2022-05-17 16:36:40 +02:00
Art Lowel
1f9b8ba92a Fix issue where you'd get stuck in an infinite redirect loop when going to the page of an item with an entity type containing certain special characters 2022-05-17 16:07:42 +02:00
Sufiyan Shaikh
ba6011bd89 [DSC-516] main merge 2022-05-17 12:30:31 +05:30
Giuseppe Digilio
74b68a5e15 [CST-5535] Add fallback message on rest request error 2022-05-16 19:19:00 +02:00
Giuseppe Digilio
b906a65385 Merge remote-tracking branch 'origin/main' into CST-5535
# Conflicts:
#	package.json
2022-05-16 18:59:46 +02:00
Giuseppe Digilio
73573793a0 [CST-5535] Add i18n keys for section's headers 2022-05-16 18:50:07 +02:00
Giuseppe Digilio
c508e0035e [CST-5535] Add tooltip for status icons 2022-05-16 18:49:11 +02:00
Giuseppe Digilio
4f7e37d348 [CST-5535] Use accordion for health status components 2022-05-16 18:44:04 +02:00
Giuseppe Digilio
80ff8a517c [CST-5535] Rename health-data.service 2022-05-16 16:46:33 +02:00
Giuseppe Digilio
0de3c2ed48 [CST-5535] Replace icons 2022-05-16 16:45:45 +02:00
Giuseppe Digilio
4c5c99d05d [CST-5535] Add missing i18n label 2022-05-16 16:44:35 +02:00
Alexandre Vryghem
c9885c13ec Merge branch 'w2p-89676_feature-selective-export_contribute-7.2' into w2p-91272_Add-themed-components-to-upstream-branch 2022-05-15 19:14:27 +02:00
William Welling
771f92eaab Merge branch 'main' of github.com:harvard-lts/dspace-angular into 145-base-path-support 2022-05-14 14:07:53 -05:00
Tim Donohue
dd6ff7f48f Merge pull request #1653 from tdonohue/fix_rss_accessibility
Fix RSS accessibility issue: link has no discernible text
2022-05-13 17:34:18 -05:00
Tim Donohue
913d128e16 Fix accessibility issue: link has no discernible text 2022-05-13 16:57:28 -05:00
Tim Donohue
20850033df Merge pull request #1444 from atmire/shared-feature-rss-viewer
Add RSS buttons if the feature is enabled on the rest side
2022-05-13 14:25:29 -05:00
Alexandre Vryghem
743513cf84 89676: Added empty SearchResultsComponent files 2022-05-13 20:35:08 +02:00
Nathan Buckingham
3a6112532e for rss sort id should be date.accessioned so defaulted to that when its the case 2022-05-13 13:38:02 -04:00
Alexandre Vryghem
460efa42c7 91272: Fix merge request 2022-05-13 19:33:40 +02:00
Alexandre Vryghem
e741573348 Merge branch 'w2p-89984_feature-rtl-theme_contribute-7.2' into w2p-91272_Add-themed-components-to-upstream-branch 2022-05-13 18:46:03 +02:00
Alexandre Vryghem
e197e496b5 91272: Fixed accessibility violation 2022-05-13 17:19:42 +02:00
Alexandre Vryghem
8980ae4a50 Merge branch 'w2p-89720_Add-themable-components_contribute-7.2' into w2p-91272_Add-themed-components-to-upstream-branch 2022-05-13 14:41:34 +02:00
Alexandre Vryghem
5682c81217 91272: Fixed import statements and position of expandable navbar button 2022-05-13 14:18:01 +02:00
Alexandre Vryghem
7904cead76 Merge branch 'w2p-89741_Add-themeable-components_conntribute-7.2' into w2p-91272_Add-themed-components-to-upstream-branch 2022-05-13 13:43:09 +02:00
Yura Bondarenko
21579d1525 Merge remote-tracking branch 'origin/main' into w2p-90978_Improve-initial-page-load_PR 2022-05-13 09:32:34 +02:00
Tim Donohue
5c8ef44070 Merge pull request #1636 from 4Science/feature/CST-5329
Add validate only check in the Import Metadata page
2022-05-12 13:20:22 -05:00
Giuseppe Digilio
c1f64ff1ef [CST-5329] Add help text to validate only checkbox 2022-05-12 18:50:25 +02:00
Giuseppe Digilio
b788579457 Merge remote-tracking branch 'origin/main' into feature/CST-5329 2022-05-12 18:35:18 +02:00
Alexandre Vryghem
8288559c63 Merge remote-tracking branch 'templates/w2p-86526_Add-themeable-components_contribute-7.2' into w2p-91272_Add-themed-components-to-upstream-branch 2022-05-12 17:56:23 +02:00
Tim Donohue
095ddd2ebd Merge pull request #1639 from atmire/issue-1635_search-bar-with-input-scope
Fix search bar with input scope
2022-05-12 10:10:56 -05:00
Mykhaylo
42c459a51d [CST-5303] added labels into i18n 2022-05-12 16:13:43 +02:00
Nathan Buckingham
0791287cf9 lint fixes 2022-05-12 10:02:15 -04:00
Nathan Buckingham
79bf27c659 Revert to getFirstCompletedRemoteData but check if payload has completed 2022-05-12 09:56:26 -04:00
Nathan Buckingham
cb1b7ceb0a remove rss feed from search 2022-05-12 09:56:26 -04:00
Nathan Buckingham
eacbcfd15d Change to withNotEmptyPayload to pass through if its empty 2022-05-12 09:56:26 -04:00
Nathan Buckingham
6cd22fa004 w2p-86403 prevent from displaying on pages where rss feed doesn't make sense 2022-05-12 09:56:26 -04:00
Nathan Buckingham
8785270363 w2p-86403 Changed to subscribe and unsubscribe on destory 2022-05-12 09:56:26 -04:00
Nathan Buckingham
90f1fc186c Link fixes 2022-05-12 09:56:26 -04:00
Nathan Buckingham
be8a8f5f6b Add typedocs and websvc.opensearch.svccontext 2022-05-12 09:56:26 -04:00
Nathan Buckingham
0bf0e1f274 add providers to browseby 2022-05-12 09:56:26 -04:00
Nathan Buckingham
2b9383d2d5 remove unused import from rebase 2022-05-12 09:56:26 -04:00
Nathan Buckingham
ffb34da3e7 Create link head spec file 2022-05-12 09:56:26 -04:00
Nathan Buckingham
efb76ea883 Fix tests now that router is apart of the rss component 2022-05-12 09:56:26 -04:00
Nathan Buckingham
b5943b48b4 w2p-86403 fix opensearch is disabled, router issues and links 2022-05-12 09:56:26 -04:00
Nathan Buckingham
b8a96e48a7 Fix test files to pass down necessary providers 2022-05-12 09:56:26 -04:00
Nathan Buckingham
99e5b9c898 w2p-85140 ds-rss component now adds a button to all search pages and community and collection, link-head service adds the rss to the head element 2022-05-12 09:56:22 -04:00
Yura Bondarenko
f0d98c9b6f Implement feedback 2022-05-12 15:34:31 +02:00
Alexandre Vryghem
db375b8f47 91131: Added parent constructor to ThemedLoadingComponent 2022-05-12 12:05:17 +02:00
Ben Bosman
924f53204f Merge remote-tracking branch 'atmire-hub/feature-relationship-versioning__discovery' into feature-relationship-versioning 2022-05-12 11:46:34 +02:00
Tim Donohue
c705fc42d6 Merge pull request #1631 from 4Science/CST-5253-change-approach-workflow-approval
Add view item button for mydspace objects
2022-05-11 17:14:56 -05:00
Bruno Roemers
3abf83a5e9 90945: Add missing translations for new discovery configs 2022-05-11 17:54:41 +02:00
Tim Donohue
659a9a69ca Merge pull request #1615 from atmire/w2p-90918_Upgrade-ng-dynamic-forms-and-rxjs
Upgrade ng-dynamic-forms to v15 and RxJs to v7
2022-05-11 10:05:38 -05:00
Alexandre Vryghem
c79e83fdd3 Merge branch 'w2p-84367_Various-small-changes' into w2p-89720_Add-themable-components_contribute-7.2 2022-05-11 14:47:02 +02:00
Alexandre Vryghem
f8ad0306b0 Merge branch 'w2p-84367_Various-small-changes' into w2p-86526_Add-themeable-components_contribute-7.2 2022-05-11 14:36:42 +02:00
Alexandre Vryghem
a89375f67b 89720: Themed EditItemTemplatePageComponent 2022-05-11 14:28:16 +02:00
Alexandre Vryghem
5b4ecb9fc2 89720: Themed ItemMetadataComponent 2022-05-11 14:17:50 +02:00
Yana De Pauw
67ffa89c47 Remove console.log 2022-05-11 13:30:11 +02:00
Yana De Pauw
166a163c24 Fix custom loading components template url 2022-05-11 12:34:44 +02:00
Giuseppe Digilio
98d75798a4 [CST-5307] Import ui-switch css classes properly 2022-05-11 12:28:57 +02:00
Giuseppe Digilio
aec7d9f25b Merge remote-tracking branch 'origin/main' into CST-5307
# Conflicts:
#	src/app/core/core.module.ts
#	src/app/shared/shared.module.ts
2022-05-11 12:09:00 +02:00
Giuseppe Digilio
36208d1303 [CST-5307] Fix visibility toggle and address review feedback 2022-05-11 12:01:35 +02:00
Bruno Roemers
0ce709ee68 90945: Use *-relationships discovery configs on single-item pages 2022-05-11 12:00:49 +02:00
Giuseppe Digilio
1e9d393edf [CST-5307] Move profile-claim-item-modal.component to profile page module and add unit tests 2022-05-11 11:59:38 +02:00
Yana De Pauw
cbf0db5342 Add themed loading component in custom theme and fix issues 2022-05-11 11:30:25 +02:00
Alexandre Vryghem
c1ef672943 Merge branch 'dspace_7.2' into w2p-86526_Add-themeable-components_contribute-7.2 2022-05-11 09:51:02 +02:00
Alexandre Vryghem
55005d3fa4 86526: Themed AuthNavMenuComponent 2022-05-11 09:48:58 +02:00
Alexandre Vryghem
5c9510993c 91202: Themed ExpandableNavbarSectionComponent 2022-05-10 20:59:04 +02:00
William Welling
b8109edd62 Merge branch 'main' of github.com:harvard-lts/dspace-angular into 145-base-path-support 2022-05-10 11:50:58 -05:00
Giuseppe Digilio
853dcecfb8 [CST-5307] Refactoring and adding missing unit tests 2022-05-10 18:14:00 +02:00
Giuseppe Digilio
0b664431af [CST-5307] Create a standalone component for person claim button 2022-05-10 18:12:44 +02:00
Kristof De Langhe
f2e4a005a2 89676: themed custom search-results 2022-05-10 17:31:43 +02:00
Tim Donohue
5282377350 Merge pull request #1529 from the-library-code/TLC-254_type-bind-dspace-angular
Type-bind for submission input (port from DSpace-CRIS 7 angular)
2022-05-10 10:07:08 -05:00
Tim Donohue
42ef35b2bc Merge pull request #1601 from nibou230/access-status
Display the access status badges
2022-05-10 10:02:08 -05:00
Yana De Pauw
aac41a76cf Potential test fix 2022-05-10 16:45:43 +02:00
Yana De Pauw
d8b6e65f6f Fix tests 2022-05-10 16:45:38 +02:00
Yana De Pauw
c63a25b18e 89984: Fix getComponentForMenu themed method 2022-05-10 16:45:33 +02:00
Yana De Pauw
d6be2e8651 89984: Add themable menu section 2022-05-10 16:45:20 +02:00
Yana De Pauw
870a36180c 89984: Add ThemedLoadingComponent 2022-05-10 16:44:50 +02:00
Kim Shepherd
51058daf27 [TLC-254] tidy imports in type bind service 2022-05-10 09:25:59 +12:00
Alisa Ismailati
32d7fca27a [CST-5677] Changed bunblesPageSize value 2022-05-09 12:02:50 +02:00
Alisa Ismailati
6cd41be3b8 [CST-5677] Changed bunblesPerPage value 2022-05-09 12:01:46 +02:00
Alisa Ismailati
e79c045ac0 [CST-5677] Added translation 2022-05-09 11:55:58 +02:00
Giuseppe Digilio
7fcbeb20e8 Merge remote-tracking branch 'origin/main' into CST-5307 2022-05-09 09:31:45 +02:00
Michael Spalti
724fc3c6f0 [CST-5738] Revert unintentional change on config.yml 2022-05-09 09:24:17 +02:00
Kim Shepherd
b6cdc90d57 [TLC-254] If configService present, set typeField in constructor 2022-05-08 12:17:38 +12:00
Alisa Ismailati
d15277849b [CST-5677] Item authorization page 2022-05-07 16:21:08 +02:00
William Welling
9a433b50ff support base path 2022-05-06 14:32:44 -05:00
Luca Giamminonni
da1fb5506b [CST-5668] Fixed orcid page 2022-05-06 16:50:22 +02:00
Luca Giamminonni
bdad05b36f Merge branch 'CST-5307' into CST-5668 2022-05-06 16:23:05 +02:00
Luca Giamminonni
d51dcca87c [CST-5307] Added missing javadocs, removed showClaimItem feature 2022-05-05 17:46:30 +02:00
nibou230
7f1d1ed7de Fixes for lint and tests 2022-05-05 11:46:00 -04:00
Davide Negretti
eb2d9b2fde [CST-5674] Lint fixes 2022-05-05 17:00:49 +02:00
nibou230
e77821eef0 Use the item's HALLink to get the access status 2022-05-05 10:21:55 -04:00
Davide Negretti
8c937a55c0 [CST-5674] Error handling; fixes 2022-05-05 15:33:53 +02:00
Yura Bondarenko
c0f8dd078b 90978: Explain dsBrowserPipe more thoroughly 2022-05-05 11:33:51 +02:00
Alexandre Vryghem
2ff79d93b9 89741: Added Tests for the scope @Input() in SearchFormComponent 2022-05-04 18:16:11 +02:00
nibou230
8e03b28151 Use component vars in AccessStatusBadgeComponent 2022-05-04 11:49:33 -04:00
nibou230
6c8d12394c Moved showAccessStatus to be self-contained 2022-05-04 11:45:36 -04:00
nibou230
2b77e4a90d Moved showAccessStatus from UI to item config
Renamed item-page to item to make it generic
2022-05-04 11:17:25 -04:00
Yura Bondarenko
d69a02e6cc 90978: Fix e2e tests failing due to interactions before page fully loaded
Now that we use initialNavigation: 'enabledBlocking', pages can appear to be loaded before some functionality is fully active.
In some cases this trips up Cypress, and it tries to interact with the app too soon.

We address this by introducing a new dsBrowserOnly pipe in order to defer the data-test attributes Cypress relies on to CSR.
2022-05-04 15:25:46 +02:00
Alexandre Vryghem
b9f239e3a9 Merge branch 'main-upstream' into issue-1635_search-bar-with-input-scope 2022-05-04 14:50:34 +02:00
Yana De Pauw
a24587d101 Merge remote-tracking branch 'upstream/main' into w2p-85451_export-search-results-as-csv 2022-05-04 14:01:57 +02:00
Davide Negretti
39c11c6986 Merge branch 'main-bb' into CST-5674 2022-05-04 11:42:56 +02:00
Davide Negretti
9173b9db60 [CST-5674] Fix; enable policy and action type editing; test 2022-05-04 11:35:54 +02:00
Kim Shepherd
ba3069215a [TLC-254] Lint fixes 2022-05-04 15:09:59 +12:00
Kim Shepherd
bf9208169e [TLC-254] Lint fixes 2022-05-04 15:04:49 +12:00
Kim Shepherd
2fbf33b641 [TLC-254] Take config data service out of constructor, make optional 2022-05-04 14:53:47 +12:00
Kim Shepherd
5363ae1ac1 [TLC-254] mock config data service, get type in form builder service+test 2022-05-04 13:52:06 +12:00
Luca Giamminonni
49e2a5b1a8 Merge branch 'CST-5307' into CST-5339 2022-05-03 16:39:34 +02:00
Luca Giamminonni
3b550b591b Merge branch 'CST-5307' into CST-5668 2022-05-03 16:38:56 +02:00
Luca Giamminonni
804930fbe2 [CST-5307] Improved researcher profile component 2022-05-03 15:35:51 +02:00
Giuseppe Digilio
675f3910cc [CST-5535] Refactoring health check server side request 2022-05-03 15:32:02 +02:00
Giuseppe Digilio
3c2f26f6c1 [CST-5535] Add environment configuration for Actuators 2022-05-03 15:30:20 +02:00
Giuseppe Digilio
32a91f64d9 [CST-5535] Refactoring health page 2022-05-03 12:06:48 +02:00
Yura Bondarenko
22d5643d8b 90978: Set klaro cookie before each test 2022-05-03 09:32:31 +02:00
Alexandre Vryghem
b9b5b50999 89741: Added ThemedExpandableNavbarSectionComponent 2022-05-03 09:04:58 +02:00
Kim Shepherd
fd0c8f409e [TLC-254] Tests for isObjectEmpty() 2022-05-03 14:11:02 +12:00
Kim Shepherd
833637c215 [TLC-254] Get Type Bind config from backend 2022-05-03 14:10:33 +12:00
Davide Negretti
bb3cc1c619 [CST-5674] Edit policy target; modal content; test 2022-05-02 17:02:04 +02:00
Giuseppe Digilio
26d496d55c Merge remote-tracking branch 'origin/main' into CST-5535
# Conflicts:
#	package.json
#	yarn.lock
2022-05-02 16:13:52 +02:00
Giuseppe Digilio
f3a40a5ef9 [CST-5239] Fix button visualization 2022-05-02 16:08:58 +02:00
Giuseppe Digilio
c8c8d1e1ff Merge remote-tracking branch 'origin/main' into feature/CST-5329 2022-05-02 15:01:59 +02:00
Marie Verdonck
917e5fe5bc Issue 1635: Fix for @input not working on search bar ds-search-form 2022-05-02 14:55:23 +02:00
myrza1
5fd692ce1b Update kz.json5
translated all
2022-05-01 02:07:01 +06:00
Tim Donohue
37ebe259f3 Merge pull request #1628 from 4Science/CST-5676
Bitstream edit page fixes
2022-04-29 16:54:00 -05:00
Tim Donohue
1e341aa789 Merge pull request #1629 from mspalti/mirador-fix
Mirador webpack build fix.
2022-04-29 14:46:16 -05:00
Tim Donohue
c0ed90368c Merge pull request #1625 from atmire/radio-buttons-in-submission
Radio buttons in submission
2022-04-29 14:24:57 -05:00
Giuseppe Digilio
aa7ceec15a [CST-5738] Fix retrieving of embed from auth status model 2022-04-29 19:15:40 +02:00
Tim Donohue
662f119434 Merge pull request #1623 from atmire/Issue#1381-DSO-sub-route-titles-fix
Issue #1381 - DSO sub route titles fix
2022-04-29 11:16:56 -05:00
Giuseppe Digilio
8498504b93 [CST-5270] Add target blank for links 2022-04-29 16:14:47 +02:00
Luca Giamminonni
788a326592 [CST-5307] Fixed test 2022-04-29 15:51:35 +02:00
Giuseppe Digilio
23e8e03185 Merge branch 'CST-5270-sherpa-romeo-integration' of bitbucket.org:4Science/dspace-angular into CST-5270-sherpa-romeo-integration 2022-04-29 15:37:20 +02:00
Luca Giamminonni
6b3c6c2dda [CST-5307] Fixed lint 2022-04-29 15:34:57 +02:00
Davide Negretti
d5e5a4a550 [CST-5674] Informative modal (WIP) 2022-04-29 13:02:22 +02:00
Giuseppe Digilio
0f80b6533b [CST-5738] Add method to retrieve embedded special groups 2022-04-29 12:49:07 +02:00
Davide Negretti
342a62081c [CST-5674] Enable ePerson/Group editing; prevent switching between ePerson and Group 2022-04-29 12:17:48 +02:00
Davide Negretti
e94454be97 [CST-5674] Update selected ePerson/Group 2022-04-29 12:11:06 +02:00
Yura Bondarenko
2e979afd22 90948: Show notifications when failing to create/delete role Groups 2022-04-29 10:46:28 +02:00
Alexandre Vryghem
2f84d0294b 89720: Added ThemedEditItemTemplatePageComponent 2022-04-29 10:27:26 +02:00
Giuseppe Digilio
1e651c2d47 Merge remote-tracking branch 'origin/main' into CST-5738 2022-04-29 09:56:23 +02:00
Giuseppe Digilio
34ca590fa5 [CST-5253] Fix view item button for pool tasks in the mydspace results list 2022-04-29 09:20:27 +02:00
Giuseppe Digilio
bfb84c86df [CST-5253] Fix view item button for claim task in the mydspace results list 2022-04-29 09:19:56 +02:00
Giuseppe Digilio
55e77d1edb [CST-5253] Fix view item button for workspace items in the mydspace results list 2022-04-29 09:19:14 +02:00
Giuseppe Digilio
d3ef3d3079 [CST-5253] Change full-item-page.component in order to display also workspace items 2022-04-29 09:17:17 +02:00
Giuseppe Digilio
9e2928f653 [CST-5253] Fix detail visualization for archived item in the mydspace result list 2022-04-29 09:16:03 +02:00
Giuseppe Digilio
2b7ed5c258 [CST-5253] Add view item button for workflow items 2022-04-29 09:15:20 +02:00
Michael Spalti
58b8ba3aa7 Lint errors. 2022-04-28 17:01:59 -07:00
Tim Donohue
618a7f4dcd Merge pull request #1620 from 4Science/CST-5662-search-scope-selector
Enabled search scope selector
2022-04-28 17:06:59 -05:00
Tim Donohue
de1cd8619f Merge pull request #1561 from atmire/w2p-88300_issue-1379
Browse clarify filter functionality
2022-04-28 16:49:17 -05:00
Michael Spalti
7bbce89b40 Fixes search passthrough to Mirador and adds tests. 2022-04-28 14:26:35 -07:00
Michael Spalti
d32566beda Mirador webpack build fix. 2022-04-28 12:38:35 -07:00
Rezart Vata
d435d8eeb1 [CST-5270] Fixed graphical changes requested 2022-04-28 19:07:38 +02:00
Giuseppe Digilio
b023a5a03c [CST-5270] Fix submission-objects.effects sherpa romeo customization 2022-04-28 18:58:35 +02:00
Rezart Vata
64f3af7a1b [CST-5253] Added unit testing 2022-04-28 18:35:04 +02:00
Rezart Vata
a754a20ec6 [CST-5270] Fixing ISSN removal and unit testing 2022-04-28 18:12:15 +02:00
Giuseppe Digilio
3d206165b2 [CST-5676] Fix bitstream's follow links 2022-04-28 15:53:48 +02:00
Giuseppe Digilio
edb77b4a09 Merge remote-tracking branch 'origin/main' into CST-5676 2022-04-28 15:41:44 +02:00
Giuseppe Digilio
393a4a3d40 [CST-5676] Implemented bitstream-breadcrumbs.service 2022-04-28 15:41:25 +02:00
Bruno Roemers
a75387602b Merge branch 'main' into feature-relationship-versioning 2022-04-28 15:05:19 +02:00
Yura Bondarenko
34be1179ab Fix unused import 2022-04-28 14:49:34 +02:00
Yura Bondarenko
63de6139a3 90978: Upgrade compression-webpack-plugin 2022-04-28 14:06:38 +02:00
Alexandre Vryghem
7480a19a65 89720: Added ThemedItemMetadataComponent 2022-04-28 14:02:15 +02:00
Yura Bondarenko
1522c36ed0 Merge remote-tracking branch 'origin/main' into w2p-90978_Improve-initial-page-load_PR 2022-04-28 13:49:39 +02:00
Luca Giamminonni
95b704f889 Merge commit 'a9162eb9205c920f1d64857851117514a8c2beca' into CST-5339 2022-04-28 13:20:37 +02:00
Sufiyan Shaikh
b8904f5fe1 [CST-5676] Resolver Changes Item Undefined 2022-04-28 16:35:42 +05:30
Bruno Roemers
bcbd8dbd93 91070: Fix tests (add missing dependencies to testbed) 2022-04-28 12:28:44 +02:00
Yura Bondarenko
572a10db6b 90978: Responsive banner background image 2022-04-28 12:16:46 +02:00
Yura Bondarenko
7e391f0411 90978: Serve pre-compressed static files 2022-04-28 12:16:46 +02:00
Yura Bondarenko
e65b5e2f1c 90978: Update theme modules 2022-04-28 12:16:46 +02:00
Yura Bondarenko
8a4f811575 90978: Move admin menu to MenuResolver, clean up & add tests 2022-04-28 12:01:02 +02:00
Yura Bondarenko
cc745b4225 90978: Minor fixes 2022-04-28 12:01:02 +02:00
Davide Negretti
44f393d65a [CST-5674] Fixed link in TODO 2022-04-28 11:44:53 +02:00
Sufiyan Shaikh
b83e87dd4e [CST-5676] Bitstream Breadcrumb Resolver 2022-04-28 10:38:45 +05:30
Tim Donohue
7278b1515c Merge pull request #1622 from tdonohue/enable_tr_lang
Enable Turkish lang pack in dropdown list
2022-04-27 16:01:39 -05:00
Tim Donohue
5448f2c2af Enable tr lang pack in dropdown list 2022-04-27 14:51:40 -05:00
Tim Donohue
400ef9a433 Merge pull request #1519 from ITUBIDB/turkish-translation
Turkish Translation
2022-04-27 14:49:27 -05:00
Tim Donohue
83471ecd50 Merge pull request #1605 from atmire/w2p-90873_issue-1380_Standard-bundles-in-upload-bitstream
Add standard bundles in upload bitstream
2022-04-27 14:21:13 -05:00
Rezart Vata
aa78a2991c CST-5253] Finished functionalities 2022-04-27 20:18:33 +02:00
Giuseppe Digilio
aaa166593e [DSC-516] Fix accessibility issues 2022-04-27 18:59:29 +02:00
Giuseppe Digilio
9bb8fc1d1c [CST-5662] Enabled search scope selector 2022-04-27 18:22:32 +02:00
Giuseppe Digilio
e307c5de9f [CST-5270] add string type to attribute declaration 2022-04-27 17:20:26 +02:00
Giuseppe Digilio
f9d55dc3e8 [CST-5270] Refactoring implementation and remove mock response 2022-04-27 17:19:38 +02:00
Yana De Pauw
1f4248ccd5 Merge remote-tracking branch 'upstream/main' into w2p-88300_issue-1379 2022-04-27 16:45:56 +02:00
Giuseppe Digilio
63366e6ca2 Merge remote-tracking branch 'origin/main' into CST-5270-sherpa-romeo-integration
# Conflicts:
#	src/app/submission/objects/submission-objects.effects.ts
2022-04-27 15:56:36 +02:00
Pratik Rajkotiya
a34e7428c3 [CST-5738] remove unused variable. 2022-04-27 19:11:49 +05:30
Pratik Rajkotiya
da5d540668 [CST-5738] add special group with mock & test cases. 2022-04-27 19:10:44 +05:30
Alexandre Vryghem
2ad87c50d1 90873: issue 1380 - Added tests 2022-04-27 13:52:58 +02:00
Luca Giamminonni
ad39ad323e Merge remote-tracking branch '4Science-bitbucket/CST-5338' into CST-5307 2022-04-27 13:52:42 +02:00
Rezart Vata
107199eb8e [CST-5270] Finished unit testing 2022-04-27 13:40:33 +02:00
Luca Giamminonni
fd00b55465 Merge branch 'CST-5309' into CST-5307 2022-04-27 13:35:05 +02:00
Luca Giamminonni
0d09dbd498 Merge remote-tracking branch '4Science-bitbucket/CST-5668' into CST-5307 2022-04-27 13:33:27 +02:00
Art Lowel
3bc5ee0253 pages loading twice poc
Cherry-picked from original branch started from Angular 13 PR
2022-04-27 11:58:43 +02:00
Luca Giamminonni
7a193cc9a2 [CST-5307] Fixed compilation 2022-04-27 11:14:47 +02:00
Luca Giamminonni
5c0222747e Merge remote-tracking branch '4Science-bitbucket/main' into CST-5307 2022-04-27 10:11:45 +02:00
Luca Giamminonni
21241571f7 Merge remote-tracking branch '4Science-bitbucket/CST-5307' into CST-5307 2022-04-27 10:04:36 +02:00
Sufiyan Shaikh
0812377b58 [DSC-516] Test cases changes 2022-04-27 11:50:53 +05:30
Kim Shepherd
8cd07de4fc [TLC-254] Remove chaff from test 2022-04-27 14:58:52 +12:00
Kim Shepherd
c2f57b448d [TLC-254] Ensure matchers injected in testbed providers 2022-04-27 14:28:35 +12:00
kshepherd
13dac1af0e Merge pull request #1613 from tdonohue/fix_docker_build
Fix Dockerfile for Angular 13 updates
2022-04-27 13:29:36 +12:00
Tim Donohue
533b1f5e40 Merge pull request #1606 from 4Science/CST-5733-router-loading
Fix router-outlet destroy issue
2022-04-26 15:11:03 -05:00
Tim Donohue
afbd31a138 Merge pull request #1607 from 4Science/CST-5418-improve-cannot-deposit-notification
[CST-5418] Improve notification when cannot deposit
2022-04-26 14:28:08 -05:00
Tim Donohue
9cc20c7417 Fix Dockerfile to specify listening on 0.0.0.0 2022-04-26 12:17:49 -05:00
Rezart Vata
e7e67c779e [CST-5270] Fixed conflict and merged with main branch 2022-04-26 18:13:38 +02:00
Rezart Vata
cb84bc758e [CST-5270] Implemented new refresh button & code refactoring 2022-04-26 17:52:28 +02:00
Pratik Rajkotiya
1507bbf733 [CST-5307] claim item added. 2022-04-26 21:07:12 +05:30
lotte
21c26897bc Merge branch 'radio-buttons-in-submission-7.2' 2022-04-26 17:09:43 +02:00
lotte
4c68280108 radio buttons in submission fixed 2022-04-26 17:09:07 +02:00
Giuseppe Digilio
56d0522f89 Merge remote-tracking branch 'origin/main' into CST-5733-router-loading
# Conflicts:
#	src/app/admin/admin-sidebar/admin-sidebar.component.ts
2022-04-26 17:04:09 +02:00
Sufiyan Shaikh
abe1d5c6c7 [DSC-516] Change truncable components in order to show more/less button 2022-04-26 17:28:54 +05:30
Sufiyan Shaikh
78a3a93f24 [CST-5676] Resolve 2022-04-26 17:11:50 +05:30
Kristof De Langhe
307d3f2e53 Merge remote-tracking branch 'dspace/main' into w2p-90951_Fix-Issue#1381-DSO-sub-route-titles 2022-04-26 13:11:07 +02:00
Kristof De Langhe
ccac67d238 Merge branch 'w2p-90951_Fix-Issue#1381-DSO-sub-route-titles-contribute-7.0' into w2p-90951_Fix-Issue#1381-DSO-sub-route-titles-contribute-7.2 2022-04-26 13:10:01 +02:00
Kristof De Langhe
291f2997ed 90951: Fix issue #1381 - route titles priority over DSO titles 2022-04-26 13:06:29 +02:00
Giuseppe Digilio
91dc50a0a3 [CST-5733] Create admin sidebar menu entries on authentication 2022-04-26 11:04:48 +02:00
Yura Bondarenko
809072e86a 90918: Fix RxJs issues 2022-04-26 10:50:10 +02:00
Giuseppe Digilio
eb57b28b52 [CST-5418] Fix warning message 2022-04-26 10:43:53 +02:00
SDGBot
15e4200f7e ITU BIDB türkçe dil desteği güncellemesi
Ek düzeltmeler.
2022-04-26 10:18:56 +03:00
SDGBot
6f9e5b8c50 ITU BIDB türkçe dil desteği güncellemesi
Ek düzeltmeler.
2022-04-26 10:14:33 +03:00
SDGBot
c0907c1987 ITU BIDB türkçe dil desteği güncellemesi
Hatalı dosyanın değiştirilmesi!
2022-04-26 10:08:54 +03:00
Kim Shepherd
f9e402b69f [TLC-254] Tidy up some unhelpful comments in typeBind service 2022-04-26 10:25:53 +12:00
Kim Shepherd
2ca7b72ac2 [TLC-254] Tidy up some unhelpful comments in typeBind service 2022-04-26 10:22:06 +12:00
Yura Bondarenko
8d6f156db1 90918: Upgrade ng-dynamic-forms and RxJs
Copied over isNumeric from RxJs 6.x as it was removed from 7.x
Build & tests are broken, fixed in subsequent commit
2022-04-25 15:32:34 +02:00
Kim Shepherd
2c0afaabec [TLC-254] lint and test fixes 2022-04-24 16:29:15 +12:00
Kim Shepherd
5b607ccb86 [TLC-254] lint and test fixes 2022-04-24 16:14:40 +12:00
myrza1
0146a11953 Update kz.json5
update ed commas
2022-04-23 19:33:25 +06:00
myrza1
3757a414bc Update kz.json5 2022-04-23 19:14:59 +06:00
myrza1
6a91a9c3e1 Update kz.json5
transalte without admin section. Is it needs?
2022-04-23 17:59:49 +06:00
Kim Shepherd
be6ea812bb [TLC-254] tidy up imports, regexes, mock data 2022-04-23 16:54:52 +12:00
Kim Shepherd
e182378572 [TLC-254] Remove inappropriate tests from form builder, component 2022-04-23 16:05:46 +12:00
Kim Shepherd
d3a78b8ad5 [TLC-254] Add getTypeBindRelations helper method to bind service 2022-04-23 16:05:20 +12:00
Kim Shepherd
7fd7eb31cb [TLC-254] Remove some unwanted (ported) methods from form builder 2022-04-23 16:04:48 +12:00
Tim Donohue
c538bbbe46 Merge pull request #1469 from ybnd/pr_external-links-in-menus
Support external links in menus
2022-04-22 17:02:33 -05:00
Rezart Vata
d390920cca [CST-5270] Code refactoring, made changes from the rest contract and implemented i18n 2022-04-22 19:09:40 +02:00
Pratik Rajkotiya
fbcb6f7d78 [CST-5307] method releted to orcid is removed. 2022-04-22 18:10:26 +05:30
SDGBot
bc9f02f49e ITU BIDB türkçe dil desteği güncellemesi
Metaveri -> Metadata düzeltmesi
2022-04-22 14:10:40 +03:00
SDGBot
aefc4e1310 ITU BIDB türkçe dil desteği güncellemesi
İstek üzerine gerekli güncellemeler gerçekleştirilmiştir.
2022-04-22 13:39:21 +03:00
Luca Giamminonni
9509d6d901 Merge remote-tracking branch '4Science-bitbucket/main' into CST-5307 2022-04-22 11:25:12 +02:00
Yura Bondarenko
f3e2a7a6f1 Fix missing imports (conflict resolution error) 2022-04-22 09:54:12 +02:00
Yura Bondarenko
192b9aa29f Support external links in menus 2022-04-22 09:36:29 +02:00
Yura Bondarenko
e7c56dbb12 Remove unused imports 2022-04-22 09:08:15 +02:00
Yura Bondarenko
a041368019 90252: Fix invalidateByHref not emitting 2022-04-22 09:07:10 +02:00
Yura Bondarenko
be488c04bb 90252: Fix flaky tests 2022-04-22 09:07:10 +02:00
Yura Bondarenko
c628d4320b 90252: Ensure calls come through if no subscribers 2022-04-22 09:07:08 +02:00
Yura Bondarenko
4e38d2b145 90252: Ensure modals are dismissed between tests 2022-04-22 09:05:00 +02:00
Yura Bondarenko
9699491269 90252: Remove old cleanup code
& add tests to confirm that DataService.delete is called
2022-04-22 09:04:58 +02:00
Yura Bondarenko
c19d12c5c0 90252: Invalidate requests containing DSO on DataService.delete
Keep track of a list of request UUIDs in the object cache (most recent in front)
When deleting a DSO, mark all of these as stale
2022-04-22 09:04:15 +02:00
Kim Shepherd
02ee1eca87 [TLC-254] Quotes fixed for Lint, import cleanup 2022-04-22 16:14:02 +12:00
Kim Shepherd
bc62764345 [TLC-254] Service tests - small fixes 2022-04-22 16:05:47 +12:00
Kim Shepherd
d7afaf9cb8 [TLC-254] Service tests 2022-04-22 16:05:47 +12:00
Kim Shepherd
fc037d79ca [TLC-254] WIP tests 2022-04-22 16:05:47 +12:00
Kim Shepherd
c414b8cebc [TLC-254] Replace some undef/null tests with hasValue, hasNoValue 2022-04-22 16:05:47 +12:00
Kim Shepherd
617717069b [TLC-254] Remove unnecessary (and never destroyed) subscriber
Date picker was hiding parent though subscription but this
can be handled async with a simple setTimeout instead
2022-04-22 16:05:47 +12:00
Kim Shepherd
9ceb358080 [TLC-254] Fix Lint errors , unused imports 2022-04-22 16:05:47 +12:00
Kim Shepherd
ce0194108f [TLC-254] ITs, mocking type bind relation service 2022-04-22 16:05:47 +12:00
Kim Shepherd
96774971de [TLC-254] ITs, mocking type bind relation service 2022-04-22 16:05:47 +12:00
Kim Shepherd
93d2f5d8ac [TLC-254] Strip out irrelevant metadata security lvl (as per review) 2022-04-22 16:05:47 +12:00
Kim Shepherd
f97a87702c [TLC-254] Hidden fields can collapse in row, revert drag-handle problem
apply d-none class to form-control container when model is hidden
css rule for ds-form-control-container.d-none forces collapse
drag-handle fix from 9019b809 was recent and is applied manually here too
2022-04-22 16:05:42 +12:00
Kim Shepherd
61d64d5e5e [TLC-254] Updating references in tests to reflect row array model changes 2022-04-22 16:02:53 +12:00
Kim Shepherd
be7f21eb32 [TLC-254] Make the item type field configurable (default dc.type) 2022-04-22 16:02:53 +12:00
Kim Shepherd
361bb7f7dc [TLC-254] Port submission field type binding from DSpace-CRIS 7 2022-04-22 16:02:53 +12:00
Tim Donohue
19fa36f243 Merge pull request #1598 from atmire/w2p-90768_Fix-search-field-on-SearchHierarchyFilterComponent
Fix search field on search hierarchy filter component
2022-04-21 16:48:01 -05:00
nibou230
9f50b4997c Changed the import for CacheableObject 2022-04-21 14:30:23 -04:00
nibou230
a2a241b906 Added the badge to some components for coherence 2022-04-21 14:08:35 -04:00
nibou230
550eb6c7ab Adapt the service to a LinkedRepository result 2022-04-21 14:08:01 -04:00
nibou230
459da211be Display the access status badges 2022-04-21 13:59:29 -04:00
Rezart Vata
da2cba5827 [CST-5270] Added some information from mock json to the layout 2022-04-21 18:48:19 +02:00
Tim Donohue
9b56911c43 Merge pull request #1587 from atmire/Removing-unnecessary-circular-dependencies
Removing unnecessary circular dependencies
2022-04-21 08:39:49 -05:00
Yana De Pauw
f228a93889 Merge remote-tracking branch 'upstream/main' into w2p-88300_issue-1379 2022-04-21 15:29:25 +02:00
Rezart Vata
5add939a1d [CST-5270] Insertion of submission section with mock & section layout 2022-04-21 12:33:38 +02:00
Giuseppe Digilio
fa1b7d11ad [CST-5418] Check success notification is not present on depositing when there are errors 2022-04-21 11:31:07 +02:00
Giuseppe Digilio
0506c5596a [CST-5418] Use different param for notifications and errors in the parseSaveResponse method 2022-04-21 11:30:15 +02:00
lotte
d806f4da95 Merge branch 'main' into Removing-unnecessary-circular-dependencies 2022-04-21 10:36:45 +02:00
Sufiyan Shaikh
ffe5922990 [CST-5676] resolver overwrite 2022-04-21 12:50:18 +05:30
Tim Donohue
e314a70957 Merge pull request #1600 from atmire/w2p-90155_fix-menu-issues
Fix for menu issues
2022-04-20 12:20:16 -05:00
Jens Vannerum
f49793ec04 90155: Unnused import and comments 2022-04-20 17:35:51 +02:00
Giuseppe Digilio
c250408382 [CST-5418] Improve notification when cannot deposit 2022-04-20 16:10:18 +02:00
Tim Donohue
2671a4cb83 Merge pull request #1599 from atmire/w2p-90797_issue-1430_redux-devtools-disable-support-in-prod-mode
Disable redux devtools support in prod mode
2022-04-20 09:06:15 -05:00
lotte
d364804c42 Removed circ dependency after merge with main 2022-04-20 15:34:32 +02:00
Marie Verdonck
d51af2739e 90873: issue 1380 - Fix to make default bundle config work without yml changes 2022-04-20 15:10:26 +02:00
lotte
014fe1b733 fixes after merge with master 2022-04-20 14:48:18 +02:00
lotte
6784ac39f6 Merge branch 'main' into Removing-unnecessary-circular-dependencies 2022-04-20 14:47:55 +02:00
Sufiyan Shaikh
01f3cbcaea [CST-5676] Breadcrumbs changes 2022-04-20 15:44:01 +05:30
Giuseppe Digilio
7a14488a42 Merge remote-tracking branch 'origin/main' into CST-5733-router-loading 2022-04-20 09:53:50 +02:00
Giuseppe Digilio
0fa44f4b74 [CST-5733] Apply changes in order to not destroy router-outlet on loading 2022-04-20 09:53:44 +02:00
Alexandre Vryghem
beae47ef19 90873: Add default bundle suggestions on upload bundle 2022-04-20 09:10:45 +02:00
Tim Donohue
3a9d4fad95 Merge pull request #1597 from atmire/w2p-90263_issue-8205_no-embargoed-files-on-google-scholar-meta-tag
Fix for embargoed file links on Google Scholar Meta Tag "citation_pdf_url"
2022-04-19 17:12:40 -05:00
Alexandre Vryghem
743bbb6afe Merge branch 'main-atmire-github' into w2p-90797_issue-1430_redux-devtools-disable-support-in-prod-mode 2022-04-19 21:49:55 +02:00
Alexandre Vryghem
ffa61438f9 90797: Disable redux devtools in production mode 2022-04-19 21:35:16 +02:00
Giuseppe Digilio
404886e247 [CST-5733] Fix issue with group search within the resource policy page 2022-04-19 18:35:23 +02:00
Alexandre Vryghem
99aee55efa 90873: Add environment.standardBundles.bundle 2022-04-19 18:31:23 +02:00
dependabot[bot]
728bce56a4 Bump node-forge from 1.2.1 to 1.3.1
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.1)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 14:18:00 +00:00
dependabot[bot]
5dd7efcbab Bump moment from 2.29.1 to 2.29.2
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 14:17:06 +00:00
dependabot[bot]
004f95b6dc Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 14:16:56 +00:00
Tim Donohue
88ffc37894 Merge pull request #1567 from atmire/w2p-87968_Upgrade-to-Angular-13
Upgrade to Angular 13
2022-04-19 09:15:45 -05:00
Yana De Pauw
f828215f48 88300: Implement feedback 2022-04-19 14:57:42 +02:00
Sufiyan Shaikh
6480b75aed [CST-5676] Bitstream edit page is broken if no policies are set 2022-04-18 16:27:36 +05:30
Sufiyan Shaikh
4fe82112d6 [CST-5676] Bitstream edit page is broken if no policies are set 2022-04-18 13:39:36 +05:30
Sufiyan Shaikh
71ffeac80e [CST-5676] Bitstream edit page is broken if no policies are set 2022-04-18 13:18:40 +05:30
lotte
7830d1c632 replaced package.json script shorthand to build.yml 2022-04-14 16:14:09 +02:00
lotte
ef7f6d1306 Added package.json short cut to check circular dependencies 2022-04-14 16:00:24 +02:00
Alexandre Vryghem
8e5bfc023e 90768: Already selected filters were still displayed in the clickable suggestions 2022-04-14 10:28:18 +02:00
Marie Verdonck
b80334f3f1 Merge branch 'w2p-90263_issue-8205_no-embargoed-files-on-google-scholar-meta-tag-7.0' into w2p-90263_issue-8205_no-embargoed-files-on-google-scholar-meta-tag 2022-04-13 15:50:57 +02:00
Marie Verdonck
32676fc500 90263: issue 8205 - check if downloadable before citation_pdf_url to source 2022-04-13 15:50:08 +02:00
Pratik Rajkotiya
a9162eb920 [CST-5339] ORCID queue added. 2022-04-13 18:20:16 +05:30
Pratik Rajkotiya
dd4ff5e40c [CST-5338] ORCID Settings added. 2022-04-13 17:54:29 +05:30
Pratik Rajkotiya
cc08a2829e [CST-5668] ORCID Authorizations added. 2022-04-13 17:48:26 +05:30
Alexandre Vryghem
e3172fd6e8 90768: Updated tests for search.util and created test for SearchHierarchyFilterComponent 2022-04-13 10:01:50 +02:00
Alexandre Vryghem
8924b2c92c 90768: Prevent empty filters from being added 2022-04-13 09:46:14 +02:00
Alexandre Vryghem
b3f010974d 90768: Removing and adding filter could break filter 2022-04-12 21:54:22 +02:00
myrza1
5379b14c2c Update kz.json5 2022-04-12 19:44:00 +06:00
Pratik Rajkotiya
88c324cb5a [CST-5307] Migrate Researcher Profile (Angular). 2022-04-12 17:04:32 +05:30
Alexandre Vryghem
155db64c63 86526: Added themable AuthNavMenuComponent 2022-04-12 09:36:18 +02:00
Alexandre Vryghem
2ef9c1db18 90768: Appended query operator to the filter 2022-04-11 09:48:07 +02:00
Alexandre Vryghem
61650df492 90768: Fixed dropdown position bug 2022-04-11 09:41:55 +02:00
myrza1
1e47da0a51 Update kz.json5 2022-04-10 02:35:15 +06:00
myrza1
ef7bd1df57 Update kz.json5
Екінші аударым
2022-04-10 02:24:28 +06:00
Yura Bondarenko
f8297218ad 87968: Fix unstyled link issue 2022-04-08 17:58:25 +02:00
Yura Bondarenko
3f340c18f2 87968: Fix spacing issues via custom CSS 2022-04-08 17:58:23 +02:00
Yura Bondarenko
042a0dd389 87968: Revert previous spacing fixes 2022-04-08 17:57:16 +02:00
Yura Bondarenko
c736ebaebf Revert "87968: Increase Node --max_old_space_size"
This reverts commit 62e7615f1fa9b680120e7ab7dbef173a5e4679dc.
2022-04-08 17:57:16 +02:00
Art Lowel
708375593d add margin to compensate for the switch to preserveWhiteSpaces = false 2022-04-08 17:57:16 +02:00
Yura Bondarenko
0115c5217b 87968: Turn off preserveWhitespaces by default
And set to true explicitly for MyDSpace action components to preserve look
(see https://github.com/DSpace/dspace-angular/issues/903#issuecomment-713013310)
2022-04-08 17:57:16 +02:00
Yura Bondarenko
a14cc6fde2 87968: Run CI ESLint in --quiet mode 2022-04-08 17:57:16 +02:00
Yura Bondarenko
22ac66787a 87968: Kill app if still up after e2e tests 2022-04-08 17:57:16 +02:00
Yura Bondarenko
99c41b9e80 87968: Minor code changes to pass lint 2022-04-08 17:57:16 +02:00
Yura Bondarenko
bb51609af9 87968: Update ESLint disable/enable comments
eslint-disable max-classes-per-file only works at the top of the file now
2022-04-08 17:57:16 +02:00
Yura Bondarenko
b5911b8536 87968: Manual ESLint configuration
Extend recommended ESLint rulesets, disable rules that are too noisy or would require major code changes to resolve errors
Restore TSLint configuration as closely as possible
2022-04-08 17:57:16 +02:00
Yura Bondarenko
245977a432 87968: Automatic migration from TSLint to ESLint
Via `ng g @angular-eslint/schematics:convert-tslint-to-eslint`
2022-04-08 17:57:16 +02:00
Yura Bondarenko
ec6327edc2 87968: Automatic ESLint install
Via CLI suggestion when running `ng lint` w/o ESLint on Angular 13
2022-04-08 17:57:16 +02:00
Yura Bondarenko
cad76ff378 87968: Increase Node --max_old_space_size 2022-04-08 17:57:16 +02:00
Yura Bondarenko
59d46ffbdf 87968: Upgrade ng-bootstrap to v11
Some tests involving NgbModal now fail if setup with mock Injector without `get` method
2022-04-08 17:57:16 +02:00
Yura Bondarenko
5488d0f83a 87968: Remove unused import 2022-04-08 17:57:16 +02:00
Yura Bondarenko
48efccb53b 87968: Upgrade ngx-gallery 2022-04-08 17:57:16 +02:00
Yura Bondarenko
bfdda43a48 87968: Update devServer configuration 2022-04-08 17:57:16 +02:00
Yura Bondarenko
d78019cd39 87968: Fix unit tests 2022-04-08 17:57:15 +02:00
Yura Bondarenko
563956c5df 87968: Manual fixes after NgRx migration
Selector typing

Restored pre-13 behaviour where mock stores were reset after every test.
The upgrade caused multiple tests to start failing; we could solve this
by adjusting all of these one by one but that would take some time.
(see https://ngrx.io/guide/migration/v13#testing-reset-mock-store)
2022-04-08 17:57:15 +02:00
Yura Bondarenko
8e4f1993bf 87968: Automatic upgrade to NgRx 13 2022-04-08 17:57:15 +02:00
Yura Bondarenko
8f7389c83a 87968: Fix JSON5 parsing in Universal loader
Failed ~
  Error: export 'parse' (imported as 'JSON5') was not found in 'json5' (possible exports: default)

Only affected SSR: once CSR kicked in translations were loaded properly
2022-04-08 17:57:15 +02:00
Yura Bondarenko
49f470c07b 87968: Various dependency changes
Upgraded:
  zone.js
  ng-mocks
  @angular/cdk
  @ngtools/webpack
  @angular-builders/custom-webpack
  @nguniversal

Added:
 postcss-preset-env: fix spurious CSS warnings
 sass-loader: fix "can't resolve 'sass-loader'" & "the loader didn't return a string" errors
2022-04-08 17:57:15 +02:00
Yura Bondarenko
c1d870c32d 87968: Clean up after automatic upgrade
- Get rid of missed empty routerLinks
- Fix abstract property initializers
- Specify coverage reporter
2022-04-08 17:57:15 +02:00
Yura Bondarenko
1b460fe1d3 87968: Automatic upgrade to Angular 13 2022-04-08 17:57:15 +02:00
Yura Bondarenko
47c8ca7342 87968: Lift readyState complete check from Universal 12 2022-04-08 17:57:15 +02:00
Yura Bondarenko
ae89571519 87968: Fix unit tests 2022-04-08 17:57:15 +02:00
Yura Bondarenko
26d45fd5e7 87968: Remove angular2-text-mask dependency 2022-04-08 17:57:15 +02:00
Yura Bondarenko
3eb3afcc96 87968: Fix rxjs/internal imports 2022-04-08 17:57:15 +02:00
Yura Bondarenko
5476062648 87968: Add unmet peer dependencies 2022-04-08 17:57:15 +02:00
Yura Bondarenko
0e178ce1bc 87968: Fix missing theme assets
Adapt to changes in https://github.com/webpack-contrib/copy-webpack-plugin
2022-04-08 17:57:15 +02:00
Art Lowel
808d4e925a Enable source maps in dev mode 2022-04-08 17:57:15 +02:00
Art Lowel
a47d7dd846 Upgrade ng-dynamic forms 2022-04-08 17:57:15 +02:00
Yura Bondarenko
621a874b29 87968: Include theme modules in tsconfig.spec.ts
Without this, Webpack errors out when building tests due to theme components missing from the TS compilation
2022-04-08 17:57:15 +02:00
Yura Bondarenko
9093ef4ae9 87968: Karma needs ts-node 10.2.1
Otherwise tests error out with
  Uncaught ReferenceError: sourceMapSupport is not defined

Check just-jeb/angular-builders issue 1046 for more info
2022-04-08 17:57:15 +02:00
Yura Bondarenko
29d8dd68f4 87968: Remove html-webpack-plugin
After updating to Angular 12, it causes ng serve to fail with
  Conflict: Multiple assets emit different content to the same filename index.html

Confirmed that the application still builds and runs properly without it.

This plugin isn't used by @angular-builders/custom-webpack since Angular 8 (see https://www.justjeb.com/post/customizing-angular-cli-build#viewer-51npg), this is just the first time it's actually causing problems for us.

Removed script-ext-html-webpack-plugin as well since that's an extension to html-webpack-plugin & can't run without it.
2022-04-08 17:57:15 +02:00
Yura Bondarenko
22c5976095 87968: Upgrade to Angular 12 2022-04-08 17:57:15 +02:00
Luca Giamminonni
e68e605211 [CST-5309] Added LoginOrcid component 2022-04-08 17:37:21 +02:00
Kristof De Langhe
0ed7f2e0aa 89676: Test fixes 2022-04-08 11:12:26 +02:00
Yana De Pauw
712aac911c Remove faulty config.json file 2022-04-08 11:06:31 +03:00
Yana De Pauw
bf6c4f401e Fix LGTM issues 2022-04-07 15:18:56 +03:00
Yana De Pauw
6740e379f1 Merge branch 'w2p-88300_issue-1379-7.0' into w2p-88300_issue-1379 2022-04-07 15:03:27 +03:00
Yana De Pauw
ddca6701ac Update messages for different browse options 2022-04-07 15:02:41 +03:00
Yana De Pauw
06f1cc2d82 88300: Fix wrong message key 2022-04-07 13:59:40 +03:00
Kristof De Langhe
2b17bb8f1e 89676: Themeable browse-by-page decorator & search-results component 2022-04-07 11:43:39 +02:00
Tim Donohue
45887154b6 Merge pull request #1582 from louiserumpf/translation-de
Updated German translation
2022-04-06 12:08:28 -05:00
Tim Donohue
8a6fd925b4 Merge pull request #1580 from BibNumUMontreal/main
French translation reviewed and updated
2022-04-05 13:51:18 -05:00
lotte
6d3ef58ecc Removed unused imports 2022-04-05 17:27:45 +02:00
lotte
bcf2560ee7 Merge branch 'main' into Removing-unnecessary-circular-dependencies 2022-04-05 16:40:02 +02:00
lotte
53c67ac878 fixed after merge 2022-04-05 16:35:24 +02:00
lotte
30b7e8eb39 Merge branch 'main' into w2p-87382_circular-dependency-fixes 2022-04-05 16:35:00 +02:00
Jens Vannerum
8fad82c549 90155: Added queryParams to link menu options
- Made it possible to add queryParams to a link in the menu
2022-04-05 16:00:10 +02:00
Jens Vannerum
27986f8c24 Merge branch 'main' into w2p-90155_fix-menu-issues
# Conflicts:
#	src/app/admin/admin-sidebar/admin-sidebar.component.ts
#	src/app/shared/menu/menu-item/link-menu-item.component.html
#	src/app/shared/menu/menu-item/link-menu-item.component.spec.ts
2022-04-05 15:43:52 +02:00
Jens Vannerum
c8235ddb6b 90155: Added queryParams to link menu options
- Made it possible to add queryParams to a link in the menu
2022-04-05 15:24:32 +02:00
Pratik Rajkotiya
d7c3a20f2a [CST-5535] remove fdescibe. 2022-04-05 18:52:40 +05:30
Pratik Rajkotiya
392d0e366d [CST-5535] test cases added. 2022-04-05 18:46:58 +05:30
Yana De Pauw
249fa8e7f4 Merge remote-tracking branch 'upstream/main' into w2p-88300_issue-1379 2022-04-05 15:02:08 +03:00
Jens Vannerum
28622a82dd 90155: Hide imports and exports menus for regular users
- In the admin sidebar Import and Export menus are no longer visible for users who should not see them
2022-04-05 12:47:31 +02:00
Marie-Hélène Vézina
41eebbe661 quick changes to fr.json5
changes according to review : https://github.com/DSpace/dspace-angular/pull/1580#pullrequestreview-930932091
2022-04-04 17:38:20 -04:00
Tim Donohue
9c0fce3a7a Merge pull request #1552 from 4Science/CST-5449
[CST-5449] "Browse by" pages are missing "Now showing" contextual information
2022-04-04 10:07:35 -05:00
Tim Donohue
c1e6976502 Merge pull request #1574 from ybnd/Fix-search-filter-date-range-slider-collapse-animation
Pad date range sliders to fix search facet animation issues
2022-04-01 16:47:28 -05:00
Yura Bondarenko
dac852481e Pad date range sliders
So handles don't jut out when set to the min/max
2022-03-31 21:39:56 +02:00
Giuseppe Digilio
2ce744280b [CST-5449] Fix issue with double result list in the browse page 2022-03-31 19:00:44 +02:00
Giuseppe Digilio
2830f208ce Merge remote-tracking branch 'origin/main' into CST-5449 2022-03-31 16:46:06 +02:00
Tim Donohue
eb7713a702 Merge pull request #1577 from atmire/w2p-88820_Private-Public-Terminology
Changed the public/private terminology
2022-03-30 12:27:23 -05:00
louiserumpf
72885d896f Updated German translation
also corrected comment search.search-form.placeholder --> home.search-form.placeholder
2022-03-27 17:38:47 +02:00
Tim Donohue
e75cb5f64a Merge pull request #1581 from tdonohue/enable_bengali
Enable Bengali by default
2022-03-25 16:33:42 -05:00
Tim Donohue
c4a0bbdf1f Enable Bengali by default 2022-03-25 15:04:57 -05:00
Tim Donohue
bb57992d63 Merge pull request #1573 from raihantopu/main
Adding bn.json5 for 'Bengali Language Transalation'
2022-03-25 15:04:01 -05:00
Tim Donohue
50accfffb0 Merge pull request #1564 from atmire/w2p-88507_Fix-Download-Link-Edit-Bitstream-Page
Fix embargoed files download link not working on edit item page
2022-03-25 14:15:02 -05:00
Marie-Hélène Vézina
75bdf3de79 French translation reviewed and updated
French translation reviewed and updated

These are the main changes:

I have :

- added missing translations (more than ~300 variables)
- corrected the content of a few variables (partial translation and/or wrong translation or translation that deviated from the original); fixed a few typos (e.g. connexion instead of connection for "login")
- standardized the use of « some text » instead of "some text"
- standardized the spacing (among others : one blank before "?", ":", "!" (better yet would be to use a non-breaking space)
- removed the erroneous use of capital letters (e.g. "La Collections et la Communauté" => "La collection et la communauté")
- standardized the verb tenses for some variables (infinitive instead of imperative)
- added articles where they were missing (e.g. "Supprimer groupe" => "Supprimer le groupe")
- removed/corrected tupples : item.page.edit and sorting.lastModified.ASC

For information : I have kept the terms "Item", "Bundle", "Bitstream", "Eperson", "Workflow" (but I made sure that those words were capitalized to show they represent specific concepts) [In our local instance however, we localised the first three ones to, respectively, "document", "groupement", "fichier" in this order]

Still to do:

- gender-inclusive writing (e.g. : "utilisateur.trice", "auteur.e" or more generic forms)
2022-03-25 14:30:58 -04:00
Tim Donohue
adbad6907d Merge pull request #1556 from atmire/w2p-88248_Withdrawn-item-tombstone
Withdrawn item tombstone
2022-03-25 10:03:53 -05:00
Pratik Rajkotiya
108f6e60f9 [CST-5535] WIP 2022-03-25 18:37:25 +05:30
Pratik Rajkotiya
46a0ea10f4 [CST-5535] WIP 2022-03-25 18:28:26 +05:30
Tim Donohue
25133935ef Merge pull request #1572 from louiserumpf/main
updated German translation
2022-03-24 16:58:42 -05:00
Jens Vannerum
ceec5661fe 88820: Changed the public/private terminology
- Changed the terminology to use discoverable / non-discoverable as this is more clear and is suitable in every context
2022-03-24 15:43:04 +01:00
Marie Verdonck
c1f109b5ce Merge branch 'w2p-88248_Withdrawn-item-tombstone-7.0' into w2p-88248_Withdrawn-item-tombstone 2022-03-24 11:42:56 +01:00
Marie Verdonck
521e4ddb8d 88248: Theming alert 2022-03-24 11:42:04 +01:00
reetagithub
c5110f89bc Update fi.json5
Modified some keys to harmonize the translations of term 'administrative'. Also, translated "Administer Workflow" to a verb instead of a noun.
2022-03-24 11:18:18 +02:00
Tim Donohue
59104c4fbe Merge pull request #1513 from tdonohue/more_e2e_tests
Enhance e2e test infrastructure. Add initial tests for authenticated actions like submission, mydspace, etc.
2022-03-23 09:36:21 -05:00
Art Lowel
41ad172796 add github actions check for circular dependencies 2022-03-22 14:00:55 +01:00
Art Lowel
716cea376d fix circular dependency issues relating to request models 2022-03-22 13:29:23 +01:00
raihantopu
9600bacf46 adding bn.json5 for 'Bengali Language Transalation' and language code, label, active (all commented) to environment.test.ts file 2022-03-22 16:29:42 +06:00
louiserumpf
304b6226ab typo 2022-03-22 11:23:39 +01:00
louiserumpf
26f821e865 updated German translation 2022-03-22 11:18:44 +01:00
Bruno Roemers
1697d1396e 88599: Support versioning of entities 2022-03-21 10:23:44 +01:00
Yana De Pauw
55431f1e06 85451: Fix config example issue and author filters 2022-03-18 12:04:48 +01:00
Jens Vannerum
075cd578a7 Merge branch 'w2p-88507_Fix-Download-Link-Edit-Bitstream-Page' into w2p-88507_Fix-Download-Link-Edit-Bitstream-Page_GitHub 2022-03-18 09:06:29 +01:00
Jens Vannerum
8d7d65958d 88507 Added a second test
- This test checks that the downloadUrl prop is not set to `bitstream._links.content.href` (the bug that's fixed)
- And checks that it's set to the correct download route of the bitstream
2022-03-18 09:01:52 +01:00
Tim Donohue
15acb47afa Rename data-e2e to data-test 2022-03-17 11:51:18 -05:00
Jens Vannerum
e84589a5bc Merge remote-tracking branch 'upstream/main' into w2p-88507_Fix-Download-Link-Edit-Bitstream-Page 2022-03-17 17:10:12 +01:00
Marie Verdonck
e19d0a0334 88300: LGTM remove unused import 2022-03-17 15:25:28 +01:00
Jens Vannerum
f00664b281 88507 Improved test
- Refactored the test for the download button
- This way we're checking the actual href on the button, not the component's property
2022-03-17 14:54:21 +01:00
Jens Vannerum
4a8f6c357f 88507 Fixed bitstreams not downloadable on edit item page
- Created a new property bitstreamDownloadUrl where the url is saved in
- Added a test for this
- Alter the component to href to this link and not show the button when the property would be null
2022-03-17 14:54:13 +01:00
Marie Verdonck
a79b4d1bdb Merge branch 'w2p-88300_issue-1379-7.0' into w2p-88300_issue-1379 2022-03-17 14:35:40 +01:00
Marie Verdonck
c50e6c224d 88300: Fix next button tooltip 2022-03-17 14:35:28 +01:00
Yana De Pauw
f4364c2d04 Merge remote-tracking branch 'upstream/main' into w2p-88300_issue-1379 2022-03-17 13:31:08 +01:00
Yana De Pauw
97dc241c52 88300: Issue 1379 - Angular: Browse-by Subject does not allow to proceed to next pages once filtered 2022-03-17 13:00:00 +01:00
Yana De Pauw
90e469ee16 Fix LGTM issue 2022-03-14 17:21:34 +01:00
Yana De Pauw
0016348c47 Merge remote-tracking branch 'upstream/main' into w2p-88248_Withdrawn-item-tombstone 2022-03-14 16:37:13 +01:00
Yana De Pauw
b21f76456d 88248: #346: Withdrawn item tombstone page 2022-03-14 16:33:10 +01:00
Tim Donohue
3ecb3c2209 Merge pull request #1553 from reetagithub/main
Update fi.json5
2022-03-14 09:23:12 -05:00
Tim Donohue
577a83d2c4 Merge pull request #1555 from harvard-lts/1527-dev-env
[Issue 1527] Set default env preboot to false
2022-03-14 08:59:40 -05:00
William Welling
3a4a10e453 set default env preboot to false
leaving production env to true
2022-03-14 08:26:22 -05:00
reetagithub
d4ed4ca883 Corrected a typo 2022-03-14 09:05:48 +02:00
Giuseppe Digilio
4affbd8d57 [CST-5449] Fix failed test 2022-03-11 12:18:14 +01:00
Davide Negretti
29a870b13f Merge branch 'main-gh' into DSC-389 2022-03-11 10:53:35 +01:00
Tim Donohue
d8b498bd02 Merge pull request #1521 from 4Science/fix-notifications-issue
Fixed notifications duplicate issue
2022-03-10 14:52:57 -06:00
Tim Donohue
b439c3bfcc Merge pull request #1546 from atmire/Issue-1136-Password-Registration-link-fixes
Redirect to 404 page for forgot password or registration link with used tokens
2022-03-10 11:02:55 -06:00
Tim Donohue
0768bfbac1 Merge pull request #1527 from wwelling/1522-preboot-config
[Issue 1522] Afford disable preboot for production
2022-03-10 10:08:27 -06:00
Giuseppe Digilio
9335c4ebea Merge remote-tracking branch 'origin/main' into fix-notifications-issue
# Conflicts:
#	src/app/root/root.component.html
2022-03-10 17:01:56 +01:00
Sufiyan Shaikh
8cc7cd1e99 Merge branch 'main' of bitbucket.org:4Science/dspace-angular into feature/CST-5329 2022-03-10 14:48:44 +05:30
Sufiyan Shaikh
027b281d7a [CST-5329] Add validate only check in the Import > Metadata page 2022-03-10 14:45:53 +05:30
Sufiyan Shaikh
2ffb723202 [CST-5329] Add validate only check in the Import > Metadata page 2022-03-10 13:04:22 +05:30
Tim Donohue
1f26ca9566 Merge pull request #1534 from mspalti/shib-authorization-fix
Invalidate the authorization cache before retrieving token for auth cookie.
2022-03-09 11:26:28 -06:00
Tim Donohue
7046e0ec48 Merge pull request #1549 from the-library-code/german-translation-2
German translation
2022-03-09 10:53:21 -06:00
Pascal-Nicolas Becker
0700029718 Working on inclusivness of the German translation 2022-03-09 16:28:38 +01:00
YPaulsen-TLC
3bbd2d9d64 message key translations
Final German message keys translations for DSpace 7,
2022-03-09 16:10:22 +01:00
YPaulsen-TLC
8b0c0348b2 New message key translations
German translations of DSpace 7 message keys.
2022-03-09 16:09:26 +01:00
YPaulsen-TLC
59f03817b3 DSpace translation
German translations of DSpace 7 message keys.
2022-03-09 16:08:48 +01:00
Yana De Pauw
503cfd92f6 Merge branch 'main' into w2p-85451_export-search-results-as-csv 2022-03-07 15:06:29 +01:00
Tim Donohue
bc705df144 Check two locations for config.json, as it's in a different location in CI 2022-03-04 17:10:02 -06:00
Tim Donohue
a0e2ac3d12 Update README with clearer instructions on running 'ng e2e' 2022-03-04 15:53:14 -06:00
Tim Donohue
852da27c2c Update Cypress to read REST API URL dynamically from config.json 2022-03-04 15:53:14 -06:00
Tim Donohue
ccf6c8f36e Update submission tests to use Demo Submitter. Switch Docker scripts to use updated dspace7-entities-data.sql which now includes demo in-progress submissions 2022-03-04 14:42:47 -06:00
Tim Donohue
8c865b758e Fix bugs / stability issues with search e2e tests 2022-03-04 14:42:47 -06:00
Tim Donohue
53042179f0 Add Submission e2e tests, enhance MyDSpace tests. Minor cleanup to support tests 2022-03-04 14:42:47 -06:00
Tim Donohue
fe0e414343 Upgrade Cypress 2022-03-04 14:42:47 -06:00
Tim Donohue
22d2c9ed66 Merge pull request #1524 from atmire/w2p-87242_Fix-form-reset-on-deposit-with-out-of-scope-fields
Fix forced re-init due to out-of-scope fields
2022-03-04 08:18:02 -06:00
Yura Bondarenko
1f808f0096 87242: Fix workspace/workflow confusion in spec names 2022-03-04 10:19:09 +01:00
Tim Donohue
fb2d22d7a2 Merge pull request #1535 from 4Science/CST-5316-browse-by-issue-date
[CST-5316] "Browsing by issue date" is stuck on loading
2022-03-03 15:28:31 -06:00
Tim Donohue
3cbebdb785 Merge pull request #1536 from pilasou/main
Adding missing parameters to fr.json5
2022-03-03 15:03:57 -06:00
Kristof De Langhe
b1bd5c7c85 Merge branch 'main' into w2p-88082_password-registration-link-fixes-main 2022-03-03 12:36:30 +01:00
Kristof De Langhe
fffc81389b Merge branch 'w2p-88082_password-registration-link-fixes' into w2p-88082_password-registration-link-fixes-main 2022-03-03 11:10:58 +01:00
Kristof De Langhe
9906d5fec0 88082: Revert navigateAction on redirectOn4xx 2022-03-03 11:10:35 +01:00
Tim Donohue
8663ded836 Merge pull request #1533 from atmire/w2p-87624_Issue-1532_Issue-resource-policy-edit-patches
Fix so newly added value on resource policy result in ADD patch, not REPLACE
2022-03-02 17:08:34 -06:00
Tim Donohue
106a73f0d3 Improve stability/consistency of e2e tests by visiting blank page between each test 2022-03-02 14:42:33 -06:00
Tim Donohue
ba40cfe75a Enhance Search results tests (stabilize). Add more MyDSpace tests, including starting a submission 2022-03-02 14:42:33 -06:00
Tim Donohue
ad32dbb864 Fix minor accessibility issue in Search results grid view. No accessible test found for link. Moved text to i18n as well. 2022-03-02 14:42:33 -06:00
Tim Donohue
d1399f106e Basic MyDSpace tests. Fix basic accessibility issues found 2022-03-02 14:42:33 -06:00
Tim Donohue
6b8eaa4b75 Refactor to ensure cy.login() custom command logs in programmatically (which is faster). Move UI login tests to login-modal.spec.ts 2022-03-02 14:42:33 -06:00
Tim Donohue
794aa33c8f Refactor to use "data-e2e" attributes in code to make selecting fields/buttons easier in e2e tests 2022-03-02 14:42:33 -06:00
Tim Donohue
cb91ccbc33 Refactor to use custom commands for login/logout & make admin user configurable 2022-03-02 14:42:33 -06:00
Tim Donohue
1f1c55d9dc Add login e2e tests. Tweak cypress retries so they don't apply to running e2e locally via GUI 2022-03-02 14:42:33 -06:00
Tim Donohue
34c33d7cf9 Make it easier to override default test UUIDS in cypress.json 2022-03-02 14:42:33 -06:00
Tim Donohue
0b543ac4de After adding .gitattributes, normalize end-of-lines 2022-03-02 14:42:04 -06:00
Tim Donohue
aeba6cb222 Add .gitattributes
Added to avoid unnecessary line ending changes
2022-03-02 14:31:09 -06:00
Kristof De Langhe
e583ce2a91 Merge branch 'main' into w2p-88082_password-registration-link-fixes-main 2022-03-01 15:18:18 +01:00
Kristof De Langhe
7924db512b 88082: Issue #1136 - Forgot/Register links loading fix 2022-03-01 15:11:25 +01:00
William Welling
b149cf2d77 afford production disable preboot 2022-02-25 09:51:04 -06:00
Tim Donohue
8d953f8488 Merge pull request #1538 from DSpace/dependabot/npm_and_yarn/nanoid-3.3.1
Bump nanoid from 3.1.30 to 3.3.1
2022-02-24 14:56:04 -06:00
Tim Donohue
40881cf550 Merge pull request #1531 from DSpace/dependabot/npm_and_yarn/url-parse-1.5.6
Bump url-parse from 1.5.3 to 1.5.6
2022-02-24 14:34:08 -06:00
Tim Donohue
bcbd64ad77 Merge pull request #1539 from DSpace/dependabot/npm_and_yarn/follow-redirects-1.14.9
Bump follow-redirects from 1.14.5 to 1.14.9
2022-02-24 14:22:02 -06:00
Tim Donohue
395c4aa69d Merge pull request #1540 from DSpace/dependabot/npm_and_yarn/node-fetch-2.6.7
Bump node-fetch from 2.6.6 to 2.6.7
2022-02-24 14:03:53 -06:00
dependabot[bot]
3cfde7bf66 Bump url-parse from 1.5.3 to 1.5.6
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.6.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.6)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 18:42:16 +00:00
dependabot[bot]
00d77175c8 Bump node-fetch from 2.6.6 to 2.6.7
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 18:42:11 +00:00
dependabot[bot]
951e1d98ae Bump follow-redirects from 1.14.5 to 1.14.9
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.5 to 1.14.9.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.9)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 18:42:10 +00:00
dependabot[bot]
2a74326f80 Bump nanoid from 3.1.30 to 3.3.1
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.3.1.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.3.1)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-24 18:42:06 +00:00
Tim Donohue
0aa83f7644 Merge pull request #1517 from DSpace/dependabot/npm_and_yarn/karma-6.3.14
Bump karma from 5.2.3 to 6.3.14
2022-02-24 12:41:26 -06:00
Davide Negretti
52ab145f46 Merge remote-tracking branch 'bb/main' into DSC-389 2022-02-24 16:46:00 +01:00
Davide Negretti
23573fb2e8 Merge remote-tracking branch 'bb/main' into DSC-389 2022-02-24 16:26:07 +01:00
Davide Negretti
3a3ebd4c4c [DSC-389] Fixed default value of showPaginator 2022-02-24 16:25:47 +01:00
Tim Donohue
cba0ad6403 Merge pull request #1530 from 4Science/CST-5341-back-button
[CST-5341] Link back to the item page in the now downloading page
2022-02-23 17:06:42 -06:00
Tim Donohue
27c247d46c Merge pull request #1512 from atmire/w2p-84367_Various-small-changes
Various small changes to improve customizability
2022-02-23 16:32:53 -06:00
Pierre Lasou
d7c155508f Adding dso-selector.* parameters translation
Adding missing parameter and their French translation.
2022-02-22 16:05:18 -05:00
Pierre Lasou
3f4d67e932 Adding sorting paramaters
Adding all missing sorting parameters and their translation in french.
2022-02-22 12:19:32 -05:00
Davide Negretti
0b13ea1a72 [CST-5316] Wrong 'dc.date.issue' format causes loader to be shown indefinitely in "Browsing by issue date" page 2022-02-22 13:07:44 +01:00
Davide Negretti
0bbd505083 [CST-5316] Wrong 'dc.date.issue' format causes loader to be shown indefinitely in "Browsing by issue date" page 2022-02-22 13:07:44 +01:00
Davide Negretti
e22d06376f [CST-5316] Wrong 'dc.date.issue' format causes loader to be shown indefinitely in "Browsing by issue date" page 2022-02-22 12:57:21 +01:00
Art Lowel
b308ee1b56 Merge branch 'add-themed-community-list-component' into w2p-84367_Various-small-changes 2022-02-22 12:29:51 +01:00
Art Lowel
b66c5030f4 remove test contents 2022-02-22 12:29:40 +01:00
Art Lowel
79a69e6b31 Merge branch 'add-themed-community-list-component' into w2p-84367_Various-small-changes 2022-02-22 12:26:11 +01:00
Art Lowel
dc00fd4c75 add themed community list component 2022-02-22 12:20:19 +01:00
Michael Spalti
7fa87c3418 Invalid the authorization cache before retrieving token for auth cookie. 2022-02-19 14:25:32 -08:00
Davide Negretti
4a6c896eea [CST-5341] Back button moved below the page title 2022-02-18 16:56:06 +01:00
Marie Verdonck
63d98e5f9f 87624: Issue #1532 - Remove null fields from serialised objects so null=>value fields become ADD patches 2022-02-18 11:52:29 +01:00
Yura Bondarenko
2830da9557 Fix undefined injector issue 2022-02-18 08:23:41 +01:00
Yura Bondarenko
fba1dfb689 Add missing provider to custom ds-search-page 2022-02-17 23:28:46 +01:00
Tim Donohue
736802cdbd Merge pull request #1526 from wwelling/patch-1
[Issue 1525] Unwrap environment during conversion to YAML
2022-02-17 15:16:29 -06:00
Davide Negretti
b2586d31ec [CST-5341] Link back to the item page in the now downloading page 2022-02-17 13:39:29 +01:00
William Welling
2e7fb7dda6 unwrap environment during conversion to yaml 2022-02-16 12:10:59 -06:00
lotte
143b7c3e0d 87382: fixing circular dependencies 2022-02-16 13:52:32 +01:00
Yura Bondarenko
a698610043 87242: Refactor workspaceItem to submissionObject 2022-02-15 13:21:27 +01:00
Yura Bondarenko
f4b8d4fe41 87242: Fix forced re-init due to out-of-scope fields 2022-02-15 11:53:21 +01:00
Tim Donohue
78c8c38ad4 Merge pull request #1461 from WolfgangT71/main
Update de.json5
2022-02-14 16:54:22 -06:00
Tim Donohue
5bf1d870c2 Copy/move translated text to appropriate sections 2022-02-14 14:58:01 -06:00
Rezart Vata
797e1882b8 [DSC-466] Fixed notification reload issue 2022-02-14 11:52:49 +01:00
SDGBot
90fb99be9a Turkish Translation
Hi everyone. As İstanbul Technical University IT Office, we have translated ui to Turkish.
2022-02-14 13:30:49 +03:00
dependabot[bot]
0abb53928d Bump karma from 5.2.3 to 6.3.14
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.3 to 6.3.14.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.2.3...v6.3.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 05:50:23 +00:00
Pratik Rajkotiya
079b2a772a [DSC-389] comment and import fixed. 2022-02-10 18:46:38 +05:30
Yura Bondarenko
1919f251a1 87370: Update SearchFormComponent specs 2022-02-09 18:56:48 +01:00
Yura Bondarenko
28cc54e3f8 Merge remote-tracking branch 'upstream/main' into w2p-84367_Various-small-changes 2022-02-09 16:43:14 +01:00
Pratik Rajkotiya
15ab8216ec [DSC-389] test cases added for pagination component. 2022-02-08 11:47:02 +05:30
Pratik Rajkotiya
8c23c47645 [DSC-389] pagination data shown 2022-02-04 17:37:34 +05:30
Tim Donohue
e4f483c308 Minor updates to README for 7.2 2022-02-03 14:04:49 -06:00
Pratik Rajkotiya
57ff37ec7f [DSC-389] merged with main branch 2022-02-02 19:11:06 +05:30
Pratik Rajkotiya
e4d099df43 [DSC-389] pagination added. 2022-02-02 14:05:10 +05:30
Tim Donohue
d7f64d6139 Merge pull request #1438 from mspalti/iiif-bitstream-edit
Edit IIIF bitstream metadata
2022-02-01 11:21:04 -06:00
Tim Donohue
7777fa6229 Merge pull request #1509 from tdonohue/enable_scottish
Enable Scottish Gaelic
2022-02-01 10:48:09 -06:00
Tim Donohue
5290ca8756 Enable Scottish Gaelic 2022-02-01 10:00:03 -06:00
Tim Donohue
e6299030f0 Merge pull request #1508 from donaldi/main
Full Scottish Gaelic translation.
2022-02-01 09:41:50 -06:00
Donald I Macdonald
ffec5b7f74 Full Scottish Gaelic translation.
Translated and proofed by Stòrlann Nàiseanta na Gàidhlig.
2022-02-01 11:05:39 +00:00
Michael Spalti
ac716c4b99 Single form initialization. 2022-01-31 10:38:59 -08:00
Tim Donohue
0fbd48ede9 Merge pull request #1475 from 4Science/CST-4506_item_embargo
Add submission section for item embargo
2022-01-31 11:13:43 -06:00
Michael Spalti
94b2f53220 Removed unnecessary logging. 2022-01-31 07:40:52 -08:00
Tim Donohue
3d7fcef079 Merge pull request #1470 from hardyoyo/port-oidc-auth-plugin-from-dspace-cris
Port OIDC (OpenID Connect) auth plugin from DSpace-CRIS
2022-01-31 08:50:20 -06:00
Tim Donohue
ccdba9b307 Merge pull request #1507 from 4Science/fix_submission_upload
Fix submission upload
2022-01-28 10:06:24 -06:00
Tim Donohue
c98ffd21ea Merge pull request #1503 from atmire/fix-delete-item-with-empty-entity-type
Fix deleting an item with an empty or invalid entity type
2022-01-28 09:47:05 -06:00
Giuseppe Digilio
67d6c6fcbb [CST-4506] use default cursor when drag and drop is disabled 2022-01-28 14:13:21 +01:00
Giuseppe Digilio
4e5bf6e73d [CST-4506] Clean date fields when switching through access conditions 2022-01-28 11:11:34 +01:00
Giuseppe Digilio
f991b4edb2 [CST-4506] Fix item access condition form layout 2022-01-28 11:10:49 +01:00
Giuseppe Digilio
6c720b8031 [CST-4506] Fix item access condition remove operation 2022-01-28 11:09:48 +01:00
Giuseppe Digilio
232baf5973 [CST-4506] Fix bitstream access condition form layout 2022-01-28 11:08:32 +01:00
Giuseppe Digilio
4ca2e9a4b1 [CST-4506] Add i18n labels for item access conditions form 2022-01-28 11:07:29 +01:00
Giuseppe Digilio
9019b80993 [CST-4506] Disable drag and drop for access conditions form group 2022-01-28 09:02:04 +01:00
Michael Spalti
8bfd6ca031 Form re-initialization limited to iiif enabled item. 2022-01-27 18:56:34 -08:00
Michael Spalti
7c5d31fbbd Removed the unused imports. 2022-01-27 15:21:48 -08:00
Michael Spalti
47581db60a Updated test. 2022-01-27 15:08:20 -08:00
Michael Spalti
d91d12ed0d Updated dynamic form. 2022-01-27 14:46:00 -08:00
Tim Donohue
5f90b29d96 Merge pull request #1472 from 4Science/CST-4875-Feedback-form
Feedback form
2022-01-27 15:12:50 -06:00
Giuseppe Digilio
8a668a5073 [CST-4506] fix issue with delete button alignment 2022-01-27 18:58:28 +01:00
Art Lowel
16884682d8 track subscriptions and remove nested subscribe 2022-01-27 18:16:43 +01:00
Giuseppe Digilio
eca9088337 [CST-5198] fix issue with uploaded file that disappear on deposit 2022-01-27 17:59:31 +01:00
Giuseppe Digilio
2f4a667119 [CST-5197] fix issue with uploading file during workflow 2022-01-27 17:55:56 +01:00
Art Lowel
74a6e3ce6a Fix issue where an item with an empty or invalid entity type couldn't be deleted 2022-01-27 17:31:28 +01:00
Giuseppe Digilio
6bbc7f96c2 [CST-4875] remove unused imports 2022-01-27 16:35:32 +01:00
Giuseppe Digilio
42cc68f8b7 [CST-4506] remove unused mock event properties 2022-01-27 15:47:25 +01:00
Rezart Vata
3fa72ebcaa [CST-4875] Fix url redirect 2022-01-27 13:43:41 +01:00
Hardy Pottinger
56e7d4b8c6 Removed unneeded export in shared.module.ts 2022-01-26 14:45:50 -06:00
Hardy Pottinger
d98d3fe0de Removing un-used imports from DSpace-CRIS, and un-implemented ORCID auth 2022-01-26 09:47:26 -06:00
Luca Giamminonni
8c14193f32 [DSC-196] Added components to log in with OIDC 2022-01-26 09:45:01 -06:00
Giuseppe Digilio
d156e01517 [CST-4875] Fix related page using the complete url 2022-01-26 16:41:24 +01:00
Rezart Vata
ed6cb04de4 [CST-4875] Fix unit testing 2022-01-26 15:32:02 +01:00
Rezart Vata
2ac493cb19 [CST-4875] Fixes requested by Tim Gitlab 2022-01-26 14:31:16 +01:00
Corrado Lombardi
1de409d6a4 Merge branch 'main' into DSC-389 2022-01-26 12:27:50 +01:00
Tim Donohue
acb842edf0 Merge pull request #1500 from 4Science/search-grid-bug
Fix issue with grid view mode
2022-01-25 16:18:50 -06:00
Giuseppe Digilio
2ceaba742f [CST-5182 Fix issue with grid view mode 2022-01-25 19:28:03 +01:00
Tim Donohue
239888dc9e Merge pull request #1498 from 4Science/CST-4880_Show-an-error-page-if-the-REST-API-is-not-available
[CST-4880] Add ServerCheckGuard in order to show internal server error page when rest server is not available
2022-01-25 11:52:37 -06:00
Giuseppe Digilio
d9df7336df [CST-4880] Fix invalidateRootCache method 2022-01-25 10:57:08 +01:00
Giuseppe Digilio
db3d760f2b [CST-4506] Fix LGTM issues 2022-01-25 10:40:53 +01:00
Giuseppe Digilio
04c8cb7590 [CST-4506] Fix issue with submission bitstream edit 2022-01-25 10:40:11 +01:00
Michael Spalti
8a30748b41 Fixed spacing issue. 2022-01-24 15:28:05 -08:00
Michael Spalti
1ec61e4aec Merge branch 'main' into iiif-bitstream-edit 2022-01-24 14:10:12 -08:00
Giuseppe Digilio
944f605671 [CST-4875] Fix imports path 2022-01-24 22:42:27 +01:00
Giuseppe Digilio
4cfff33301 [CST-4880] Add ServerCheckGuard in order to show internal server error page when rest server is not available 2022-01-24 22:04:02 +01:00
Corrado Lombardi
6a78c1bcf8 [CST-4875] removed comment and redundant import 2022-01-24 21:48:00 +01:00
Corrado Lombardi
36e5a75325 [CST-4875] added spacing and updated validation messages 2022-01-24 21:47:17 +01:00
Corrado Lombardi
78ce20ab8f [CST-4875] feedback created using DataService 2022-01-24 21:46:32 +01:00
Giuseppe Digilio
89c9e9aba3 Merge remote-tracking branch 'origin/main' into CST-4506_item_embargo
# Conflicts:
#	src/app/core/core.module.ts
#	src/app/submission/objects/submission-objects.effects.ts
#	src/app/submission/submission.module.ts
2022-01-24 19:58:50 +01:00
Giuseppe Digilio
973ceb3b4b [CST-4506] Address feedback 2022-01-24 19:54:21 +01:00
Corrado Lombardi
fedb2fce12 Merge branch 'main' into CST-4875-Feedback-form
# Conflicts:
#	src/app/app.module.ts
#	src/app/core/core.module.ts
#	src/app/core/data/feature-authorization/feature-id.ts
#	src/app/footer/footer.component.html
#	src/themes/custom/theme.module.ts
2022-01-24 19:21:52 +01:00
Tim Donohue
4fdd3b84cb Merge pull request #1497 from atmire/replace-href-hash-with-void
Replace href="#" with href="javascript:void(0);" everywhere
2022-01-24 09:50:41 -06:00
Tim Donohue
f94820d70e Merge pull request #1496 from atmire/fix-profile-group-link-bug
Fix user profile page
2022-01-24 09:02:56 -06:00
Art Lowel
132e68a9f4 Provide the GroupDataservice in its module to ensure its @dataservice annotation gets registered in time 2022-01-24 09:54:28 +01:00
Art Lowel
c34f75b443 replace href="#" with href="javascript:void(0);" everywhere 2022-01-24 09:27:19 +01:00
Michael W Spalti
9649b5fb68 More layout changes. 2022-01-22 15:44:50 -08:00
Michael W Spalti
32b2e181bd Removed unused import. 2022-01-21 16:42:49 -08:00
Michael W Spalti
0e6dae2b61 Added semis. 2022-01-21 15:05:52 -08:00
Michael W Spalti
8d3b265038 Using DsDynamicInputModel* and updating scss for ds-dynamic-form-control-container. 2022-01-21 14:43:39 -08:00
Tim Donohue
70b456dbfc Merge pull request #1493 from DSpace/revert-1407-DSC-287-Show-an-error-page-if-the-REST-API-is-not-available
Revert "Show an error page if the rest api is not available"
2022-01-21 13:11:58 -06:00
Tim Donohue
e61de0682f Revert "Show an error page if the rest api is not available" 2022-01-21 11:50:08 -06:00
Yana De Pauw
0903ca5286 Merge remote-tracking branch 'upstream/main' into w2p-85451_export-search-results-as-csv 2022-01-21 16:51:49 +01:00
Tim Donohue
001ba43404 Merge pull request #1490 from tdonohue/fix_docker_compose
Docker-Compose Environment variables must be strings or numbers, not booleans
2022-01-20 15:55:21 -06:00
Tim Donohue
bcb96c522c Environment variables must be strings or numbers, not booleans 2022-01-20 14:08:22 -06:00
Tim Donohue
d75ab378ac Merge pull request #1407 from 4Science/DSC-287-Show-an-error-page-if-the-REST-API-is-not-available
Show an error page if the rest api is not available
2022-01-20 11:41:34 -06:00
Tim Donohue
9310d6e649 Merge pull request #1478 from 4Science/CST-4633-search-refactoring
MyDSpace Search component refactoring
2022-01-20 11:41:06 -06:00
Giuseppe Digilio
532d8fb9a3 [CST-4506] fix SubmissionSectionFormComponent name 2022-01-20 18:30:29 +01:00
Giuseppe Digilio
b81cc103ff [CST-4506] Optimize submission sections components declarations in the submission.module 2022-01-20 18:29:31 +01:00
Giuseppe Digilio
a95bf63ad0 [CST-4633] Fix issue with already selected relationship in the dynamic-lookup-relation-search-tab.component 2022-01-20 18:15:30 +01:00
Giuseppe Digilio
016bf4b368 [CST-4633] Add flag to hide view mode switcher 2022-01-20 18:08:57 +01:00
Tim Donohue
f65930276e Merge pull request #1479 from 4Science/CST-4981-statistics-are-always-accessible-even-if-are-restricted-to-administrator
Fix statistics page in order to show them only when user has authorizations
2022-01-20 10:20:21 -06:00
Giuseppe Digilio
98bdc59c28 [CST-4880] use getPageInternalServerErrorRoute function to determinate 500 page route 2022-01-20 14:26:04 +01:00
Giuseppe Digilio
fd610dbf4d [CST-4880] Set 500 response status to internal server error page 2022-01-20 14:24:54 +01:00
Tim Donohue
710d893187 Merge pull request #1465 from atmire/move-correlation-id-to-store
Move correlation ID to store
2022-01-14 10:14:46 -06:00
Giuseppe Digilio
1abcc027a5 Merge branch 'CST-4875-Feedback-form' of github.com:4Science/dspace-angular into CST-4875-Feedback-form 2022-01-14 16:40:47 +01:00
Giuseppe Digilio
746d0201e8 Merge remote-tracking branch 'origin/main' into CST-4633-search-refactoring 2022-01-14 15:21:19 +01:00
Giuseppe Digilio
b7c46ffe29 [CST-4633] Fix e2e test 2022-01-14 12:37:29 +01:00
Giuseppe Digilio
d7388bcfd8 [CST-4633] Change dynamic-lookup-relation-search-tab.component in order to use search-component 2022-01-14 12:24:44 +01:00
Giuseppe Digilio
1f01cbaa93 [CST-4633] Improve search.component in order to use selectable functionality 2022-01-14 12:21:36 +01:00
Giuseppe Digilio
0d73b6d164 [CST-4633] Fix issue with detail view mode 2022-01-14 12:18:42 +01:00
Tim Donohue
6a7691000b Merge pull request #1489 from atmire/Process-empty-parameters-fix
Scripts & Processes without parameters fix
2022-01-13 16:15:49 -06:00
Rezart Vata
aab544e723 [CST-4875] Fixed commenting, service test & compoent from issue 1472 2022-01-13 17:14:56 +01:00
Tim Donohue
9196610170 Merge pull request #1427 from atmire/Always-enable-deposit-button
Always enable deposit button
2022-01-13 09:45:24 -06:00
Tim Donohue
e321bbf9ab Merge pull request #1434 from atmire/shared-feature-authority-control
Allow facets to be authority controlled
2022-01-13 08:24:56 -06:00
Giuseppe Digilio
6b2efd2b16 [CST-4633] Change view mode labels 2022-01-13 15:17:06 +01:00
Giuseppe Digilio
539ae50214 [CST-4633] Change label translations 2022-01-13 15:16:40 +01:00
Rezart Vata
768c7f8b28 [CST-4505] Fixed canChangeDiscoverable managment and unit testing 2022-01-13 13:45:25 +01:00
Kristof De Langhe
8666ae74f6 86367: Process empty parameters fix 2022-01-13 10:48:46 +01:00
Giuseppe Digilio
6eca73bdec Merge remote-tracking branch 'origin/main' into CST-4633-search-refactoring 2022-01-13 09:42:44 +01:00
Giuseppe Digilio
0c9dc4286c [CST-4981] Fix error with yarn clean command 2022-01-12 20:09:48 +01:00
Giuseppe Digilio
6d1674cc8a [CST-4981] Fix issue with missing statistics menu 2022-01-12 20:09:21 +01:00
Giuseppe Digilio
7e7ad9a4f3 [CST-4880] Add fallback strategy for hanging server check cached requests 2022-01-12 18:32:33 +01:00
Michael Spalti
4f6b579204 Remove metatada field when no data is provided in form.
Updated comments.
2022-01-10 11:22:53 -08:00
Tim Donohue
2835597073 Merge pull request #1476 from 4Science/CST-5064
Show submitter in version history table
2022-01-10 10:03:25 -06:00
Davide Negretti
216eb40ab5 [CST-5064] console.log removed 2022-01-10 10:30:11 +01:00
Tim Donohue
3b618ff66f Merge pull request #1467 from 4Science/CST-5065
Admin is unable to reset other users' password
2022-01-05 14:10:11 -06:00
Tim Donohue
c7663dc311 Merge pull request #1454 from atmire/w2p-85979_canChangePassword-ui-change
Disallow Shibboleth users to change password
2022-01-04 10:09:04 -06:00
Tim Donohue
e7f6321f01 Merge pull request #1474 from tdonohue/docker_runtime_config
Update docker-compose scripts to use environment variables (to align with runtime configs)
2022-01-04 09:34:55 -06:00
Giuseppe Digilio
3b00d01466 [CST-4633] fix issue with view mode when not in params 2022-01-04 12:59:52 +01:00
Pratik Rajkotiya
565c4106f9 [DSC-389] add pagination. 2021-12-31 10:26:28 +05:30
Rezart Vata
99aef98443 [CST-4981] structure improvement,removed unecessary informations 2021-12-24 19:34:10 +01:00
Rezart Vata
f154fb60e0 [CST-4981] Fixed unit testing 2021-12-24 17:49:55 +01:00
Giuseppe Digilio
504604cfc7 Merge remote-tracking branch 'origin/main' into CST-4981-statistics-are-always-accessible-even-if-are-restricted-to-administrator
# Conflicts:
#	src/app/community-page/edit-community-page/community-authorizations/community-authorizations.component.ts
#	src/app/navbar/navbar.component.spec.ts
#	src/app/navbar/navbar.component.ts
#	src/app/shared/resource-policies/form/resource-policy-form.component.spec.ts
2021-12-24 12:25:03 +01:00
Giuseppe Digilio
522816c29c Merge remote-tracking branch 'origin/main' into CST-4633-search-refactoring
# Conflicts:
#	src/app/shared/comcol/comcol-page-browse-by/comcol-page-browse-by.component.ts
2021-12-24 11:54:10 +01:00
Giuseppe Digilio
e76514ca39 [CST-4633] fix issue with view mode 2021-12-24 11:51:06 +01:00
Giuseppe Digilio
cff29539fb [CST-4633] fix issue with view mode list 2021-12-24 11:41:23 +01:00
Giuseppe Digilio
6f86824f23 [CST-4633] restored ds-my-dspace-new-submission from mydspace page 2021-12-24 11:16:16 +01:00
Davide Negretti
9fd34034b9 [CST-5064] Tests 2021-12-24 10:13:50 +01:00
Davide Negretti
ffaebabd3b [CST-5064] Tests WIP 2021-12-24 00:47:31 +01:00
Giuseppe Digilio
d2a4a55507 [CST-4633] fix issue with filter scope and configuration 2021-12-23 23:41:56 +01:00
Rezart Vata
12ab877ae4 [CST-4981] fixed and finished unit testing 2021-12-23 21:59:24 +01:00
Davide Negretti
0550cd55d1 [CST-5064] Show submitter in version history table 2021-12-23 20:12:25 +01:00
Giuseppe Digilio
bb64058f63 [CST-4506] fix test 2021-12-23 19:07:07 +01:00
Tim Donohue
13db7c8c19 Update docker-compose for runtime configs. Remove all config files & replace with env variables 2021-12-23 10:27:49 -06:00
Yura Bondarenko
fc059520a0 Fix LGTM issues 2021-12-23 17:09:44 +01:00
Yura Bondarenko
c1e8bbbeae 86016: Add typedocs 2021-12-23 16:55:48 +01:00
Yura Bondarenko
a2515c11e1 86016: Update log.interceptor.spec.ts 2021-12-23 16:55:48 +01:00
Yura Bondarenko
50d8719c41 Remove stray fdescribe 2021-12-23 16:55:48 +01:00
Yura Bondarenko
3c8c425843 86016: Add unit tests for correlationId reducer & service 2021-12-23 16:55:47 +01:00
Art Lowel
2fe5587e02 move the correlation id to the ngrx store 2021-12-23 16:55:46 +01:00
Giuseppe Digilio
db25e27bff [CST-4506] fix absolute paths 2021-12-23 16:31:59 +01:00
Corrado Lombardi
3452680b47 [CST-4875] removed comments, unused imports and variables 2021-12-23 09:11:00 +01:00
Tim Donohue
ba268d4f28 Merge pull request #1471 from wwelling/readme-corrections
Minor readme configuration corrections
2021-12-22 14:31:56 -06:00
William Welling
9646088931 minor readme configuration corrections 2021-12-22 14:29:37 -06:00
Tim Donohue
72aeeff5ca Merge pull request #1437 from wwelling/1422-deploy-time-config
Runtime configuration via YAML (Ensure UI config changes don't require a rebuild)
2021-12-22 14:18:10 -06:00
Rezart Vata
e594cabe4a [CST4981] finished task, working on unit testing 2021-12-22 18:01:37 +01:00
William Welling
f055d1676e add NODE_ENV development for yarn start:dev 2021-12-22 10:51:26 -06:00
William Welling
c43fdb9754 add missing break in switch 2021-12-22 10:50:06 -06:00
William Welling
3476fe3f0f remove browse by types from config example 2021-12-22 09:20:15 -06:00
William Welling
15fb55ccb5 Merge branch 'main' of github.com:DSpace/dspace-angular; branch '1422-deploy-time-config' of github.com:wwelling/dspace-angular into 1422-deploy-time-config 2021-12-22 09:18:14 -06:00
Tim Donohue
a34eb4682b Merge pull request #1468 from atmire/w2p-85993_browseby-from-rest
Use browse configuration from REST
2021-12-22 08:37:01 -06:00
Giuseppe Digilio
ebbae16fb3 Merge remote-tracking branch 'origin/main' into CST-4506_item_embargo 2021-12-22 15:28:58 +01:00
lotte
39e0f1a65b Added test and fixed lgtm errors 2021-12-22 07:58:13 +01:00
William Welling
f52dd92fbc Update config.server.ts 2021-12-21 23:57:38 -06:00
William Welling
e2c1319011 Update Configuration.md 2021-12-21 23:53:01 -06:00
Tim Donohue
1c63fb2b49 Merge pull request #1417 from 4Science/CST-4878
Upload files - Edit bitstream (improvements and bug fixes)
2021-12-21 14:33:22 -06:00
lotte
0e6c3a3a9d 85993: small changes and lint fixes 2021-12-21 16:48:31 +01:00
lotte
15dfa3cd82 85993: comcol/switcher/guard browse by changes + test updates 2021-12-21 15:38:50 +01:00
Davide Negretti
8f2ef71e3c [CST-5065] Fix 2021-12-21 13:53:17 +01:00
Rezart Vata
f04f4b4f34 [CST-4878] Finished working on embargo add part of form and unit testing 2021-12-21 13:35:29 +01:00
Davide Negretti
f46767be89 [CST-5065] Tests fixed 2021-12-21 13:06:16 +01:00
Davide Negretti
6a1bbc8afc [CST-5065] Admin is unable to reset other user password (function implementation) 2021-12-21 12:43:13 +01:00
Luca Giamminonni
21e78e33e5 [CST-5065] Admin is unable to reset other user password (cherry pick from DSC-215) 2021-12-21 11:50:55 +01:00
Davide Negretti
d246965cfb [CST-4879] TypeError fixed 2021-12-21 11:17:12 +01:00
William Welling
66555c9fc1 move NODE_ENV production to start:prod 2021-12-20 15:36:36 -06:00
William Welling
f9328da826 add theme head tags to example 2021-12-20 15:29:21 -06:00
William Welling
f75854b77b default to production 2021-12-20 15:29:04 -06:00
William Welling
d59e8becc3 specify NODE_ENV for production scripts 2021-12-20 15:28:19 -06:00
William Welling
f652490c1c Merge branch 'main' of github.com:DSpace/dspace-angular into 1422-deploy-time-config 2021-12-20 12:30:53 -06:00
William Welling
0fe6d4536c update readme 2021-12-20 12:22:52 -06:00
Tim Donohue
e86afacff1 Add e2e test notes 2021-12-20 12:17:50 -06:00
Tim Donohue
c43970ffd4 Merge pull request #1428 from atmire/w2p-85123_add-support-for-themeable-favicons
Add support for themeable favicons
2021-12-20 11:53:07 -06:00
Tim Donohue
1c2dcab82d Merge pull request #1459 from CICBA/fix-collection-load
Fix to collection selection window not loading successfully.
2021-12-20 11:15:13 -06:00
Giuseppe Digilio
c9b48ccb65 [CST-4633] fix tests 2021-12-19 17:36:03 +01:00
Tim Donohue
099582ee96 Merge pull request #1462 from tdonohue/e2e-retries
Tell Cypress to retry twice if an e2e test failure occurs
2021-12-17 13:30:01 -06:00
Giuseppe Digilio
f43317c2ee [CST-4633] fix build 2021-12-17 19:51:50 +01:00
Giuseppe Digilio
9722164705 [CST-4633] use search.component.ts for the mydspace page 2021-12-17 19:51:37 +01:00
Michael Spalti
b3808ba6a1 Minor update to setIIIFStatus method. 2021-12-17 10:38:35 -08:00
Tim Donohue
a818727ed7 Tell Cypress to retry twice if an e2e test failure occurs 2021-12-17 12:36:22 -06:00
Giuseppe Digilio
ef18308893 [CST-4633] Refactoring of search.component in order to have all functionality used during the different search components 2021-12-17 19:35:28 +01:00
Michael Spalti
4fbf99a451 Added change detection to assure the form updates. 2021-12-17 10:14:39 -08:00
WolfgangT71
7a5381aa0f Update de.json5 2021-12-17 17:53:47 +01:00
Tim Donohue
7d88897afb Merge pull request #1458 from atmire/w2p-85862-handling-very-long-strings
Handling very long strings for metadata and file names
2021-12-17 10:05:45 -06:00
William Welling
4c46d9db2b refactor environment.prod.ts to environment.production.ts 2021-12-17 08:18:56 -06:00
Michael Spalti
e02bb75075 Unused import. 2021-12-16 16:14:02 -08:00
Michael Spalti
c1a0b21e2a Added additional conditions to check before adding iiif form elements. 2021-12-16 15:57:38 -08:00
Tim Donohue
982f7bcd17 Merge pull request #1457 from atmire/fix-legacy-links
Update legacy relative links to angular 11 format
2021-12-16 16:47:22 -06:00
Bruno Roemers
9f44cecdad 85123: Document head tags in environment.common.ts 2021-12-16 17:29:08 +01:00
lotte
0592e9a32d 85862: fixed test 2021-12-16 17:28:34 +01:00
Santiago Tettamanti
ff6cde76df Fix to collection selection window not loading successfully.
In collection dropdown component, moved the return statement that returned the collection list outside the condition that checks if it's the final page
2021-12-16 10:32:04 -03:00
lotte
c2b5ce191a 85862: Added .dont-break-out to truncatable part, item list titles and fixed breadcrumb overflow 2021-12-16 14:11:34 +01:00
lotte
e7f0921e6e 85862: Handling very long strings for metadata/files on item page, edit metadata/bitstreams page 2021-12-16 14:11:32 +01:00
Art Lowel
9801ae3414 update legacy relative links to angular 11 format 2021-12-16 10:56:29 +01:00
Giuseppe Digilio
b6ae15fbd2 [CST-4633] move search.component to search module and create search models folder 2021-12-16 10:00:08 +01:00
William Welling
21fcc9dde8 prefix dspace environment variables 2021-12-16 00:25:59 -06:00
Michael Spalti
c112a036df Clean up test. 2021-12-15 18:30:13 -08:00
Michael Spalti
b4b17136a6 Updated regex and condition for iiif.enabled metadata check. 2021-12-15 18:30:13 -08:00
Michael Spalti
fe5b7663e9 All edit component tests are running and passing 2021-12-15 18:30:12 -08:00
Michael Spalti
e521f2d579 Added tests for iiif form field content at startup 2021-12-15 18:30:12 -08:00
Michael Spalti
9ae38f4a6c Completed edit page and tests. 2021-12-15 18:30:12 -08:00
Michael Spalti
5865b83697 Added iiif form fields to the bitstream edit component. 2021-12-15 18:30:12 -08:00
Giuseppe Digilio
a4d91c37a7 [CST-4633] Create search.module and resolve dependencies issues 2021-12-15 22:38:08 +01:00
Tim Donohue
b8016d7fae Merge pull request #1448 from mspalti/update-mirador-deps
Updated Mirador dependencies.
2021-12-15 15:37:51 -06:00
Tim Donohue
7abdceb095 Merge pull request #1455 from tdonohue/fix_de_lang
German language syntax fix, add trailing quote
2021-12-15 15:04:27 -06:00
Tim Donohue
32ae686e36 Syntax fix, add trailing quote 2021-12-15 14:24:23 -06:00
Art Lowel
7529fcde35 remove fdescribe 2021-12-15 16:46:40 +01:00
lotte
b7d01127a5 Removed unnecessary import 2021-12-15 16:21:55 +01:00
lotte
dd69bc65ab Fixes to tests 2021-12-15 16:21:09 +01:00
lotte
a1578303fa 85993: Browse by from rest for menu and comcol page browse by 2021-12-15 16:15:06 +01:00
lotte
6594a3877f fixed lint/lgtm issues 2021-12-15 15:13:27 +01:00
Giuseppe Digilio
b4693b9bc4 Merge remote-tracking branch 'origin/main' into CST-4633-search-refactoring 2021-12-15 15:09:06 +01:00
Giuseppe Digilio
8f4379f3b4 Merge remote-tracking branch 'origin/main' into DSC-287-Show-an-error-page-if-the-REST-API-is-not-available
# Conflicts:
#	src/app/app-routing.module.ts
2021-12-15 15:00:47 +01:00
lotte
2f022f505d 85979: tests for canChangePassword UI changes 2021-12-15 14:41:10 +01:00
lotte
71e40fdb6e 85979: only show security tab on profile page when canChangePassword FeatureID is true 2021-12-15 14:04:38 +01:00
William Welling
b820794790 comment env-to-yaml script 2021-12-14 18:11:37 -06:00
William Welling
c7321f9a22 update script comment 2021-12-14 18:02:27 -06:00
William Welling
0afa7c5bab update readme examples to yaml 2021-12-14 18:01:34 -06:00
Tim Donohue
4ace07156f Merge pull request #1452 from tdonohue/minor_cleanup
Remove second unnecessary "relativeLinkResolution: 'legacy'" setting after Angular 11 upgrade
2021-12-14 10:52:02 -06:00
Tim Donohue
d407397775 Merge pull request #1419 from 4Science/CST-4882
[CST-4882] The search loads indefinitely if the written query is invalid
2021-12-14 10:39:01 -06:00
Tim Donohue
df46bcd16f Merge pull request #1449 from tdonohue/update_docker_deps
Update Docker to use latest Solr 8
2021-12-14 09:47:22 -06:00
William Welling
bbb8d708b9 Merge branch 'main' of github.com:wwelling/dspace-angular into 1422-deploy-time-config 2021-12-14 09:45:27 -06:00
Tim Donohue
f672e12433 Remove unnecessary relativeLinkResolution: 'legacy' 2021-12-14 09:40:00 -06:00
Tim Donohue
3e11162d0e Merge pull request #1451 from 4Science/CST-5033-submission-ssr-issue
Fix SSR issue with submission after migrate to angular 11
2021-12-14 09:29:17 -06:00
Giuseppe Digilio
d426f5f179 [DSC-287] fix test 2021-12-14 15:47:30 +01:00
Giuseppe Digilio
a952438247 [CST-5033] fix comments 2021-12-14 15:44:43 +01:00
Giuseppe Digilio
662f846caa [CST-5033] fix issue with cherry-pick 2021-12-14 15:37:44 +01:00
Giuseppe Digilio
7d0b9ec8a2 Merge remote-tracking branch 'origin/main' into CST-4633-search-refactoring 2021-12-14 15:32:05 +01:00
Giuseppe Digilio
34b73cc4f7 [DSC-370] Fix SSR issue with submission after migrate to angular 11 2021-12-14 15:26:23 +01:00
Giuseppe Digilio
44fc86c9fe [DSC-287] use CanActivateChild in order to check every time the rest server availability 2021-12-14 15:22:55 +01:00
Giuseppe Digilio
ddcb1ecdf2 [DSC-287] invalidate root endpoint cache when redirected to 500 page in order to check every time the rest server availability 2021-12-14 12:42:24 +01:00
Giuseppe Digilio
b6904a4df9 [DSC-287] add link button to home page 2021-12-14 12:40:51 +01:00
Tim Donohue
13cfd71686 Update Docker to use latest Solr 8 2021-12-13 16:41:34 -06:00
Michael Spalti
b1c3967a5b Added lockfile. 2021-12-13 11:32:37 -08:00
Michael Spalti
5acc29e498 Updated Mirador dependencies. 2021-12-13 11:08:10 -08:00
Nathan Buckingham
e2614b9dad w2p-85847 Add Authority to browse indexes 2021-12-13 13:48:09 -05:00
Davide Negretti
4c27a11747 [CST-4882] Tests improved 2021-12-11 01:59:38 +01:00
Davide Negretti
64231683b3 [CST-4882] Error 422 is now handled in home page too 2021-12-10 18:28:30 +01:00
Kristof De Langhe
549529c889 85262: Get submission object instead of sending empty patch + revert empty patch code 2021-12-10 14:18:51 +01:00
Rezart Vata
31fd89a9fc [CST-4878] Created component 2021-12-09 18:22:35 +01:00
Giuseppe Digilio
d3b5e09e2a [DSC-287] remove unused imports 2021-12-09 17:48:59 +01:00
Giuseppe Digilio
9be1733bc8 Merge remote-tracking branch 'origin/main' into DSC-287-Show-an-error-page-if-the-REST-API-is-not-available
# Conflicts:
#	src/app/app-routing.module.ts
2021-12-09 15:23:16 +01:00
Rezart Vata
a3892dc7e7 [CST-4875] Fixed response handling 2021-12-09 15:19:20 +01:00
Yana De Pauw
d8ec0fe9f7 85451: Fixed filter syntax 2021-12-09 15:09:46 +01:00
Rezart Vata
01b200279b [CST-4875] improvements 2021-12-09 12:46:50 +01:00
Rezart Vata
f74716a459 [CST-4875] Created feedback route, created feedback form, created service & guard, utilzed when user is logged in, unit testing and lint check 2021-12-09 12:33:53 +01:00
Davide Negretti
b64b7c2607 [CST-4882] Error fixed - Tests improved 2021-12-09 12:17:20 +01:00
William Welling
2bf880b216 correct typo in comment 2021-12-08 19:31:05 -06:00
Tim Donohue
efe51aa340 Merge pull request #1442 from tdonohue/cleanup_license
Cleanup our LICENSE file so GitHub can detect our BSD license
2021-12-08 16:58:24 -06:00
Tim Donohue
ed806dc3bf Minor license formatting cleanup to allow GitHub to recognize our BSD 3-Clause License. Copy over NOTICE file from DSpace/DSpace 2021-12-08 16:55:38 -06:00
Tim Donohue
5b1c9286ed Merge pull request #1441 from tdonohue/disable_docker_action_on_forks
Disable Docker image build action on forked repos & on non-maintenance branches
2021-12-08 15:54:46 -06:00
Tim Donohue
a6eeceeb67 Ensure Docker GitHub action only runs for maintenance branches, official tags. Never run for forked repos 2021-12-08 15:08:44 -06:00
William Welling
10622008c4 refactor config filename and convert to yaml 2021-12-08 14:56:52 -06:00
Tim Donohue
d955fe7ca3 Merge pull request #1440 from tdonohue/docker_github_action
Add GitHub action to build Docker images and push to DockerHub
2021-12-08 10:22:04 -06:00
Tim Donohue
35584d44aa Minor cleanup. Disable 'latest' tag in Docker. 2021-12-08 09:42:48 -06:00
Tim Donohue
86c2f389d5 Create a Docker GitHub action to autobuild on each commit. Update Dockerfile and docker-compose.yml to support. 2021-12-08 09:10:43 -06:00
William Welling
bc999d0b5f minor refactoring and more config util assertions 2021-12-07 21:33:43 -06:00
Tim Donohue
0dba48be13 Update to latest version of all GitHub actions 2021-12-07 16:50:43 -06:00
William Welling
18dd2ad884 add simple config util test 2021-12-07 14:45:46 -06:00
William Welling
46bb3e109c cleanup and readme updates 2021-12-07 12:15:58 -06:00
William Welling
33488ccf40 extend environment and use injected app config 2021-12-07 10:12:27 -06:00
Yana De Pauw
fffc43f443 85451: Add a button to export search results as CSV 2021-12-07 10:14:22 +01:00
Tim Donohue
eb9d72ad72 Merge pull request #1425 from atmire/w2p-85192_pr-bugfix-specify-view-mode-in-ds-browse-by
BUGFIX: Load themed browse entry components
2021-12-06 14:14:10 -06:00
William Welling
71f5b46639 use standard environments 2021-12-06 12:25:37 -06:00
William Welling
c1555326fa build app config 2021-12-03 21:17:36 -06:00
Tim Donohue
46d340a5ce Merge pull request #1424 from ybnd/Fix-modal-open-issues
Fix minor modal UX issues
2021-12-03 14:20:04 -06:00
Nathan Buckingham
768de1a1e7 w2p-85346 Allow facets to be authority controlled and add test to verify 2021-12-03 11:49:39 -05:00
Tim Donohue
77f9b27fcf Merge pull request #1403 from tdonohue/angular_11
Upgrade to Angular 11
2021-12-03 09:34:47 -06:00
Giuseppe Digilio
11ecfd370c Merge remote-tracking branch 'origin/main' into DSC-287-Show-an-error-page-if-the-REST-API-is-not-available 2021-12-03 14:35:11 +01:00
Tim Donohue
ad5a76aedc Remove "relativeLinkResoluton: legacy" and use default instead 2021-12-02 10:36:06 -06:00
Bruno Roemers
03fd57e426 85194: Fix favicon switching in production mode 2021-12-02 14:25:16 +01:00
Bruno Roemers
47ed6bedb4 85123: BUGFIX: Use this.document instead of document
Typo caused ReferenceError in SSR
2021-12-02 12:47:38 +01:00
Kristof De Langhe
ed2c774d86 85262: Allow empty patch requests 2021-12-02 12:39:07 +01:00
Rezart Vata
b7b949b415 Merge branch 'DSC-287-Show-an-error-page-if-the-REST-API-is-not-available' of https://bitbucket.org/4Science/dspace-angular into DSC-287-Show-an-error-page-if-the-REST-API-is-not-available 2021-12-01 18:51:01 +01:00
Rezart Vata
c8de6ccb4c [DSC-287] Fixed for yarn start error 500 loading 2021-12-01 18:50:42 +01:00
Bruno Roemers
e99086c228 Fix bad merge 2021-12-01 17:16:21 +01:00
bruno-atmire
ddccae60b5 Merge branch 'main' into w2p-85192_pr-bugfix-specify-view-mode-in-ds-browse-by 2021-12-01 16:19:21 +01:00
Bruno Roemers
dcb80b7c9c 85192: Write test for themed browse entries 2021-12-01 15:56:49 +01:00
Bruno Roemers
ab3d53c19f 85192: BUGFIX: Ensure themed browse entries are picked up 2021-11-30 20:10:28 +01:00
Yura Bondarenko
8d8b24f00a Fix scrolling background when auto-focusing in modal 2021-11-30 15:51:52 +01:00
Yura
dbbb19e37f Fix modal backdrop animation 2021-11-30 15:51:41 +01:00
Kristof De Langhe
99af22b621 85262: Re-disable deposit button during save/deposit 2021-11-30 13:44:08 +01:00
Kristof De Langhe
5e17a4e958 85262: Always enable deposit button 2021-11-30 13:27:16 +01:00
Yura Bondarenko
714624147c 85042: Make ds-item-list-preview themeable 2021-11-29 12:17:38 +01:00
Davide Negretti
7a567a47b9 [CST-4882] Show error message if the search query fails - Handle error 422 (invalid query) separately 2021-11-26 11:20:35 +01:00
Giuseppe Digilio
6df1ee64f2 [DSC-184] Fix issue with mydpsace page that hangs forever on error response 2021-11-25 11:22:15 +01:00
Davide Negretti
7218c450e6 [CST-4884] Code cleanup and test improvement 2021-11-24 23:39:59 +01:00
Davide Negretti
27bce0e5bb [CST-4879] After changing options in access-conditions.xml, "grant access" fields are displayed incorrectly 2021-11-24 20:17:16 +01:00
Davide Negretti
6752acbf12 [CST-4884] Test 2021-11-24 20:00:21 +01:00
Yura Bondarenko
e6040303df 85036: Propagate ngOnChanges calls down to wrapped component 2021-11-24 16:55:13 +01:00
Bruno Roemers
787358d1b0 85123: Fix tests - 3 2021-11-24 16:09:01 +01:00
Bruno Roemers
b6dc7af13e 85123: Fix tests #2 2021-11-24 15:13:50 +01:00
Bruno Roemers
7c23e2ef82 85123: Fix tests 2021-11-24 14:44:38 +01:00
Davide Negretti
5e8813f5b6 [CST-4884] Bitstream edit form moved inside modal (test WIP) 2021-11-24 13:12:01 +01:00
Bruno Roemers
893a306da0 85123: Fallback to favicon of default theme and src/assets/images/favicon.ico 2021-11-24 12:23:19 +01:00
Yura Bondarenko
7990510099 83394: Make grid view thumbnail CSS more specific 2021-11-24 11:33:06 +01:00
Bruno Roemers
99a2cf926a 85123: WIP: Support for theme-specific head tags 2021-11-24 10:54:59 +01:00
Yura Bondarenko
ef720170cd 85042: Make SearchComponent themeable 2021-11-24 09:30:43 +01:00
Tim Donohue
75c0bf7b61 Merge pull request #1413 from 4Science/CST-4918
[CST-4918] Process status remains Running in detail page
2021-11-23 14:32:42 -06:00
Tim Donohue
55216ad5ed Merge pull request #1408 from 4Science/CST-4903
[CST-4903] The start time and end time of the export process are different
2021-11-23 14:15:49 -06:00
Bruno Roemers
a5a91d5139 85123: Add new favicon files 2021-11-23 19:27:33 +01:00
Yura Bondarenko
d982fe59b4 85042: Make AdminSidebarComponent themeable 2021-11-23 17:29:27 +01:00
Bruno Roemers
ffff337aba 85123: Remove favicon 2021-11-23 16:43:53 +01:00
Davide Negretti
31442f36a3 [CST-4884] Bitstream edit form moved inside modal (test WIP) 2021-11-22 19:11:58 +01:00
Tim Donohue
597e5396f9 Update ngx-sortablejs to latest version 2021-11-22 11:30:25 -06:00
Tim Donohue
d2cc184763 Fix broken tests by fixing imports and providers 2021-11-22 11:27:10 -06:00
Tim Donohue
466aaaa0d5 Tell Visual Studio Code to use version of Typescript in project 2021-11-22 11:26:58 -06:00
Tim Donohue
d926a24088 Autoupdate to @ng-dynamic-forms/core@13 and @ng-dynamic-forms/ui-ng-bootstrap@13 2021-11-22 11:26:27 -06:00
Tim Donohue
10c342483a Required migration from old ngbTabSet to new ngbNav after ng-bootstrap update 2021-11-22 11:23:40 -06:00
Tim Donohue
ab3fa88913 Automated upgrade to @ng-bootstrap/ng-bootstrap@9 2021-11-22 11:22:13 -06:00
Davide Negretti
624f39df1e [CST-4884] Bitstream edit form moved inside modal (test TBD) 2021-11-22 18:20:41 +01:00
Tim Donohue
be289617e1 Automated upgrade to ng-mocks@11 2021-11-22 11:15:41 -06:00
Tim Donohue
2d633d79dc Automated upgrade to @nguniversal/express-engine@11 2021-11-22 11:13:04 -06:00
Tim Donohue
8fedb2c177 Automated upgrade to @ngrx/store@11 2021-11-22 11:10:35 -06:00
Tim Donohue
0d031d0b25 Automated upgrade to @angular/cdk@11 2021-11-22 11:07:53 -06:00
Tim Donohue
9f1a017b56 Automated upgrade to Angular 11.0 2021-11-22 11:01:54 -06:00
Tim Donohue
890731e3e2 Merge pull request #1412 from wwelling/1410-prod-build
[Issue 1410] Production build
2021-11-22 09:57:26 -06:00
Davide Negretti
5df2f6f8d5 [CST-4947] File description on bitstream can now be deleted 2021-11-22 11:16:17 +01:00
Davide Negretti
cefb73c11e Merge remote-tracking branch 'gh/CST-4878' into CST-4878 2021-11-22 10:56:44 +01:00
Davide Negretti
2579577225 [CST-4947] Test WIP 2021-11-22 10:56:27 +01:00
Tim Donohue
23586810b3 Merge pull request #1406 from 4Science/CSTPER-869_group_creation_validation
group creation validator
2021-11-19 14:51:57 -06:00
Davide Negretti
9363b0fb35 [CST-4947] File description on bitstream can now be deleted (test TBD) 2021-11-19 19:58:07 +01:00
Davide Negretti
df957fc31b [CST-4878] Remove start and end date when embargo policy is changed to 'open access' 2021-11-19 16:22:52 +01:00
William Welling
49a3a9a0f2 remove docker changes 2021-11-19 09:00:38 -06:00
Tim Donohue
8ce6a043bb Merge pull request #1411 from tdonohue/fix_1409
Add a config:dev:check:rest option for checking dev environment settings
2021-11-18 10:51:26 -06:00
Tim Donohue
3befdb9f48 Merge pull request #1400 from tdonohue/disable_cli_analytics
Disable CLI analytics by default
2021-11-18 10:29:10 -06:00
William Welling
f7bea3eaa9 update rxjs imports 2021-11-18 09:09:00 -06:00
William Welling
d049caa8c0 remove webpack node externals 2021-11-18 05:03:02 -06:00
William Welling
0b99ce3211 update uuid import in specs 2021-11-17 22:29:14 -06:00
William Welling
b0ee227918 update dockerfile 2021-11-17 22:26:21 -06:00
William Welling
8d66f68dfa remove bundle workaround, update dependencies and build 2021-11-17 22:11:06 -06:00
William Welling
600fbc6df7 update json5 import 2021-11-17 21:59:34 -06:00
William Welling
ebf900686b update uuid imports 2021-11-17 21:58:47 -06:00
William Welling
dc9e93a907 upgrade rxjs imports 2021-11-17 21:57:54 -06:00
Tim Donohue
4ed748381a Add a config:dev:check:rest option for checking dev environment settings 2021-11-17 11:36:38 -06:00
Davide Negretti
08b1025eb3 [CST-4903] Fix 2021-11-17 10:46:36 +01:00
Giuseppe Digilio
92e9f79f09 [DSC-287] optimize code and add typedoc 2021-11-17 09:37:49 +01:00
Corrado Lombardi
f9c8ac6568 [CSTPER-869] removed unused elements 2021-11-16 22:28:43 +01:00
Giuseppe Digilio
a323aefc22 [DSC-287] change app-routing.module.ts inn order to have ServerCheckGuard configured once 2021-11-16 19:13:57 +01:00
Rezart Vata
ce7a5b1499 [CSTPER-869] Fix on edit remove validator, unit testing , lint fixes & report 2021-11-16 18:14:53 +01:00
Rezart Vata
9aea3e0bbf [CSTPER-869] validator to check if a group already exists 2021-11-16 18:08:06 +01:00
Giuseppe Digilio
76ddce7239 [DSC-287] fix test 2021-11-16 17:38:20 +01:00
Davide Negretti
8e0fd14b4e [CST-4918] process-page.resolver.ts - don't use cached version 2021-11-16 17:33:11 +01:00
Davide Negretti
d3c3624816 [CST-4903] Test fixed 2021-11-16 12:53:51 +01:00
Davide Negretti
7d5493fcf4 [CST-4903] Button style fixed 2021-11-16 11:58:10 +01:00
Davide Negretti
cb88885870 [CST-4903] Timezone fixed in process detail page 2021-11-15 19:29:39 +01:00
Giuseppe Digilio
81c4403ee6 [DSC-287] reformat app-routing.module code 2021-11-15 19:02:10 +01:00
Giuseppe Digilio
25a51c9764 [DSC-287] Add test to guard 2021-11-15 18:52:33 +01:00
Giuseppe Digilio
2151d1af58 [DSC-287] Fix error message 2021-11-15 18:49:13 +01:00
Giuseppe Digilio
826875e207 Merge remote-tracking branch 'origin/main' into DSC-287-Show-an-error-page-if-the-REST-API-is-not-available 2021-11-15 17:02:50 +01:00
Tim Donohue
29f342380d Merge pull request #1401 from tdonohue/fixup_docker
Sync with DSpace/DSpace docker-compose setup
2021-11-12 08:20:37 -06:00
myrza1
df87c892f0 Update kz.json5
1755 m
2021-11-12 16:57:37 +06:00
myrza1
c332db4a32 Update kz.json5
1000 el
2021-11-12 16:51:35 +06:00
myrza1
5dfa82322e Update kz.json5
Collection, cookies, beatstream, 404, browse - transated
2021-11-12 16:16:33 +06:00
Tim Donohue
2503b39897 Sync with DSpace/DSpace docker-compose setup 2021-11-11 16:25:19 -06:00
Tim Donohue
d5c841253c Merge pull request #1397 from 4Science/CST-4873-request-copy-bug
Fix issue with request a copy functionality route
2021-11-11 16:11:17 -06:00
Tim Donohue
1e2f51ef3e Disable CLI analytics by default 2021-11-11 15:46:39 -06:00
Tim Donohue
9b2e533038 Merge pull request #1398 from atmire/fix-menu-icon-i18n-messages
Fix menu icon i18n messages
2021-11-11 15:42:02 -06:00
Art Lowel
dd6ec04801 Fix menu icon i18n messages 2021-11-10 11:47:39 +01:00
Giuseppe Digilio
9ea67b1b36 [CST-4873] Fix issue with request a copy functionality route 2021-11-10 09:37:11 +01:00
Rezart Vata
04548237fd [DSC-287] Fixes UI and changed the texts in i18n 2021-11-04 14:50:26 +01:00
Rezart Vata
fc6678515a [DSC-287] Created new page error 500, added guard to check for initial api request, redirect to page 500 2021-11-04 14:21:12 +01:00
Tim Donohue
2fe9fbd584 Merge pull request #1376 from atmire/remove-authorization-mocks
remove authorization mocks left over from PR #1105
2021-10-26 11:34:29 -05:00
Art Lowel
26a3ea4178 remove authorization mocks left over from PR #1105 2021-10-26 17:27:39 +02:00
Tim Donohue
30b9eae872 Merge pull request #1375 from 4Science/CST-4767
[CST-4767] Password are not properly url encoded at login
2021-10-26 08:41:20 -05:00
Davide Negretti
035a7826ba [CST-4767] encode-decode.util.ts removed 2021-10-26 11:11:21 +02:00
Tim Donohue
e8bebea543 Merge pull request #1368 from tdonohue/initial_rest_test_script
Add script to test connection to REST API (yarn config:check:rest)
2021-10-25 12:13:15 -05:00
Tim Donohue
f926b53848 Merge pull request #1374 from the-library-code/german-message-keys
Contribution to the German translation of DSpace 7
2021-10-25 11:44:34 -05:00
Davide Negretti
6ff065cd27 [CST-4767] Password are not properly url encoded at login 2021-10-25 18:34:28 +02:00
Tim Donohue
d0e4055bf0 Address feedback 2021-10-25 11:27:33 -05:00
Pascal-Nicolas Becker
b12bc4adc6 Small additional changes to the German message catalog 2021-10-25 18:13:38 +02:00
Tim Donohue
45933ba3d0 Add initial yarn test:rest-api script 2021-10-25 10:38:08 -05:00
Tim Donohue
3065720817 Merge pull request #1329 from 4Science/CST-4504-Adding-new-relationships-in-edit-item-is-difficult-for-entities-with-many-relationships
Fix issue with new relationships for entities with many relationships
2021-10-25 10:09:16 -05:00
YPaulsen-TLC
f58e0cd0c4 Contribution to the German translation of DSpace 7 2021-10-25 16:59:42 +02:00
myrza1
72a5e4b0c7 Update kz.json5 2021-10-25 03:45:39 +06:00
Tim Donohue
043decf7e4 Merge pull request #1079 from mspalti/iiif-mirador
Angular support for IIIF and Mirador
2021-10-22 12:17:42 -05:00
Giuseppe Digilio
9382b16171 Merge remote-tracking branch 'origin/main' into CST-4504-Adding-new-relationships-in-edit-item-is-difficult-for-entities-with-many-relationships
# Conflicts:
#	src/app/shared/form/builder/ds-dynamic-form-ui/relation-lookup-modal/dynamic-lookup-relation-modal.component.ts
2021-10-21 17:20:04 +02:00
Rezart Vata
fe1c3417c7 [CST-4504] Bug fixing 2021-10-21 17:09:11 +02:00
Tim Donohue
936c5cabd3 Merge pull request #1332 from 4Science/CST-4510-entity-selection-porting
Assign an entity type to a collection and map external providers
2021-10-21 10:05:52 -05:00
Giuseppe Digilio
d1f16cdee3 Merge remote-tracking branch 'origin/main' into CST-4510-entity-selection-porting
# Conflicts:
#	src/app/my-dspace-page/my-dspace-new-submission/my-dspace-new-submission.component.ts
2021-10-21 15:23:02 +02:00
Yura
816af086a4 84367: Fix ds-truncatable-part Safari gradient issue 2021-10-21 10:50:42 +02:00
Yura
0ac2fc2168 84367: Support light background in ds-truncatable-part 2021-10-21 10:50:42 +02:00
Yura
119af38d6a 84367: Ignore HTML whitespace in ds-thumbnail 2021-10-21 10:50:42 +02:00
Yura
859ff4a2f5 84367: Use DSONameService for ds-dso-selector names 2021-10-21 10:50:42 +02:00
Yura
931560ee26 84367: Make ComcolPageBrowseByComponent themeable 2021-10-21 10:22:29 +02:00
Michael W Spalti
2c60cc4ca2 Updated versioned-item to provide route service in super constructor call. 2021-10-20 15:09:32 -07:00
Tim Donohue
07f20b1ad7 Merge pull request #1366 from atmire/w2p-84385_tabbed-view-breaks-on-tab-change
84385: Tabbed search view breaks if switch away/back between tabs
2021-10-20 17:09:31 -05:00
Tim Donohue
551404c08f Merge pull request #1363 from atmire/Search-results-LinkType-fix
linkType search-results bug fix
2021-10-20 16:31:34 -05:00
Michael W Spalti
2b19b1659c Merge branch 'main' into iiif-mirador 2021-10-20 14:24:59 -07:00
Tim Donohue
2568daedb4 Merge pull request #1318 from 4Science/CST-4499
Create new Item Version (basic Items only)
2021-10-20 11:17:57 -05:00
Marie Verdonck
cf0a526187 84385: Tabbed search view breaks if switch away/back between tabs 2021-10-20 16:50:02 +02:00
Yura
14b1fd463d 84367: SearchForm/SearchComponent: add option to hide scope selection dropdown 2021-10-20 11:27:55 +02:00
Davide Negretti
fd61ac0c41 [CST-4499] Version history - Test item-versions.component 2021-10-20 02:29:00 +02:00
Davide Negretti
3b0e1dbcc4 [CST-4499] Version history - Test item-versions.component 2021-10-20 02:28:02 +02:00
Tim Donohue
2650e1eb36 Merge pull request #1362 from atmire/issue-1294-fix-required-dropdown-initial-click-not-working
#1294 [Submission] - Fix for required dropdown initial select click not working
2021-10-19 16:37:33 -05:00
Davide Negretti
52baa819cf [CST-4499] Version history - Test versioned-item.component 2021-10-19 21:12:34 +02:00
Tim Donohue
238b47b2f9 Merge pull request #1364 from atmire/search-scope-small-fixes
Fixes to scope select in search
2021-10-19 14:12:12 -05:00
Davide Negretti
d12f932351 [CST-4499] Version history - Test version-history-data.service 2021-10-19 19:16:39 +02:00
Davide Negretti
75fffe2f15 [CST-4499] Version history - Test version-history-data.service 2021-10-19 17:54:11 +02:00
Davide Negretti
82f6a78511 Merge branch 'main' into CST-4499
# Conflicts:
#	src/app/item-page/item-page-routing.module.ts
2021-10-19 16:58:39 +02:00
Davide Negretti
3cc302bc42 [CST-4499] Version history - Test version-history-data.service 2021-10-19 16:49:13 +02:00
lotte
a4c957b8ef changed scope with to css variable and removed the search label alignment 2021-10-19 16:19:07 +02:00
Davide Negretti
6dac82989b Merge branch 'main' of github.com:4science/dspace-angular into CST-4499 2021-10-19 16:18:12 +02:00
Tim Donohue
a8900f7278 Merge pull request #1327 from atmire/w2p-83635_Request-a-copy
Request a copy
2021-10-19 09:09:45 -05:00
Kristof De Langhe
d7a5502d30 linkType search results bugfix 2021-10-19 16:03:38 +02:00
Giuseppe Digilio
9a30b8a9ae [CST-4504] fix issue with name variants 2021-10-19 15:16:10 +02:00
Marie Verdonck
0557750987 #1294 [Submission] - Fix for required dropdowns initial select click not working 2021-10-19 15:13:51 +02:00
Rezart Vata
5f05c1d7c0 [CST-4504] lint fixes 2021-10-19 14:12:59 +02:00
Rezart Vata
78403d9696 [CST-4504] Fixed discard issue and submit issue 2021-10-19 14:04:39 +02:00
Davide Negretti
376d803b96 [CST-4499] Version history - Test item-data.service and item-versions-shared.service 2021-10-19 13:34:58 +02:00
Kristof De Langhe
898548d399 Merge branch 'main' into w2p-83635_Request-a-copy 2021-10-19 10:04:24 +02:00
Giuseppe Digilio
e142a49479 [CST-4499] Add tests to version-data.service 2021-10-18 20:15:20 +02:00
Michael W Spalti
b0fcdf628f Updated test. 2021-10-18 11:15:06 -07:00
Michael W Spalti
8ac122b151 Updated viewport size check.
Updated test.

Mobile test added.

Fixed lint error.
2021-10-18 11:15:01 -07:00
Giuseppe Digilio
8f541c37a7 [CST-4499] Add tests to workspaceitem-data.service and workflowitem-data.service 2021-10-18 19:04:16 +02:00
Tim Donohue
03d9996dcc Merge pull request #1346 from 4Science/CST-4659
[Deque Re-Analysis] Submission "critical" accessibility issues
2021-10-18 11:01:21 -05:00
Michael W Spalti
a3511ab234 Merge branch 'iiif-mirador' of https://github.com/mspalti/dspace-angular into iiif-mirador 2021-10-18 08:54:07 -07:00
Davide Negretti
bee628921a [CST-4499] Version history - Test 2021-10-18 17:37:02 +02:00
Tim Donohue
7cc5bd0280 Merge pull request #1360 from tdonohue/enable_spanish
Add 'es' to languages. Order alphabetically by label
2021-10-18 09:54:28 -05:00
Kristof De Langhe
492a31dd10 83635: Remove f from fdescribe 2021-10-18 16:43:13 +02:00
Kristof De Langhe
0f7fc4907a Merge branch 'main' into w2p-83635_Request-a-copy 2021-10-18 16:01:19 +02:00
Davide Negretti
7c40c3ba68 [CST-4499] Version history - Pagination fixed 2021-10-18 13:20:03 +02:00
Davide Negretti
d264576a07 [CST-4659] Deque accessibility issues - fix 470001 2021-10-18 10:40:02 +02:00
Michael Spalti
6a2d856ecf Removed unused import. 2021-10-16 16:28:56 -07:00
Michael Spalti
073296eb07 Mirador component update and spec. 2021-10-16 14:28:34 -07:00
Tim Donohue
f4cdd6a9ab Merge pull request #1314 from tdonohue/add_a11y_tests
Add automated Accessibility testing for all public pages
2021-10-15 16:36:45 -05:00
Tim Donohue
8a1ff1ef70 Update to latest Cypress 2021-10-15 16:03:43 -05:00
Tim Donohue
305571bc25 Add accessibility tests for search/browse 2021-10-15 15:43:01 -05:00
Tim Donohue
4faa850fba Add logging for violations & testA11y() in utils.ts. Use that method everywhere else 2021-10-15 15:41:33 -05:00
Tim Donohue
fad74a4ca2 Upgrade Cypress 2021-10-15 15:41:33 -05:00
Tim Donohue
3c35c6c8ae Add basic accessibility scan for most public pages. Disable any a11y tests with known issues 2021-10-15 15:41:32 -05:00
Davide Negretti
dfeee7894a Merge branch 'main' into CST-4499
# Conflicts:
#	src/app/item-page/item-page.module.ts
#	src/app/shared/shared.module.ts
2021-10-15 22:35:27 +02:00
Tim Donohue
c3dbe00f0b Add 'es' to languages. Order alphabetically by label 2021-10-15 15:34:47 -05:00
Tim Donohue
ee70baafd9 Merge pull request #1351 from gsferreyro/spanish-translation
Complete Spanish translation
2021-10-15 15:24:10 -05:00
Tim Donohue
66b55bf910 Merge pull request #1336 from 4Science/CST-4634-Many-notifications-when-trying-to-create-an-eperson-with-already-existing-email
Added custom validator and mail check during eperson registration
2021-10-15 12:22:14 -05:00
Davide Negretti
e4d468b17c [CST-4499] Version history - Changes to version history table 2021-10-15 19:13:15 +02:00
Giuseppe Digilio
7b24e3bc8e [CST-4510] Fix issue with multiple selection in the collection-dropdown.component 2021-10-15 19:04:14 +02:00
Giuseppe Digilio
096a1d8427 [CST-4510] Close collection modal once entity is imported 2021-10-15 17:34:04 +02:00
Giuseppe Digilio
ded8a415cf Merge remote-tracking branch 'origin/main' into CST-4510-entity-selection-porting
# Conflicts:
#	src/assets/i18n/en.json5
2021-10-15 17:04:34 +02:00
Tim Donohue
d778f98b0d Merge pull request #1348 from atmire/search-scope-lookup
Replace search scope dropdown by modal
2021-10-15 09:52:37 -05:00
Giuseppe Digilio
05b288c8d0 [CST-4504] Fix LGTM issues 2021-10-15 14:58:34 +02:00
Davide Negretti
850970e204 [CST-4499] Version history - Code refactoring (WIP) and "Edit workspace item" button 2021-10-15 13:05:24 +02:00
Giuseppe Digilio
4d277991ef [CST-4510] Address feedback 2021-10-15 10:25:30 +02:00
Michael Spalti
80a9770936 More neutral primary color in mirador viewer configuration. 2021-10-14 16:13:36 -07:00
Michael Spalti
24a6a4c25a Checking for dev mode to prevent viewer embed. 2021-10-14 15:57:46 -07:00
Michael Spalti
3a1abe82a1 Removed unused import. 2021-10-14 09:29:02 -07:00
Michael Spalti
8c05c6d4df Merge branch 'main' into iiif-mirador 2021-10-14 08:38:13 -07:00
Tim Donohue
802a212b9b Merge pull request #1355 from the-library-code/PRs/dspace-angular/1354
Make 'FileSectionComponent' themeable
2021-10-14 10:17:17 -05:00
Giuseppe Digilio
bd02bcd0de [CST-4634] Remove impersonate button from eperson creation form 2021-10-14 16:02:20 +02:00
Rezart Vata
4c72fa7da1 [CST-4504] Fixes regarding code improvement & save spinner only 2021-10-14 15:55:20 +02:00
Kristof De Langhe
13dd4dfc05 83635: Remove fdescribe and unused imports 2021-10-14 15:48:50 +02:00
Kristof De Langhe
478c95f6d4 83635: Item request - processed message 2021-10-14 15:45:05 +02:00
Giuseppe Digilio
d08807544f [CST-4510] Fix LGTM issue 2021-10-14 15:44:59 +02:00
Giuseppe Digilio
f20776fb8f [CST-4510] Remove unused label 2021-10-14 15:44:42 +02:00
Rezart Vata
05261a91ea [CST-4504] Fixed multiple delete & multiple add in modal and changed unit testing 2021-10-14 13:06:55 +02:00
Kristof De Langhe
a745468b0c 83635: Keep bitstream param on link 2021-10-14 11:25:03 +02:00
Michael Spalti
b738065d88 Updated service mock for tests. 2021-10-13 17:58:34 -07:00
Giuseppe Digilio
9c47583a0a [CST-4634] Change email validator in order to show error also on focus 2021-10-13 23:13:39 +02:00
Tim Donohue
6356979994 Merge pull request #1323 from 4Science/DSC-227-myDspaceReloadIssue
Reload of My Dspace results is broken
2021-10-13 14:31:45 -05:00
Giuseppe Digilio
0fccf4c16a Merge remote-tracking branch 'origin/main' into CST-4510-entity-selection-porting
# Conflicts:
#	src/app/core/data/collection-data.service.ts
2021-10-13 19:24:25 +02:00
Vasilii Fedorov
7505a5a208 Make 'FileSectionComponent' themeable 2021-10-13 15:41:32 +02:00
Giuseppe Digilio
36be741eb3 [CST-4510] Remove check for entity type param in the import from external source page 2021-10-13 09:25:23 +02:00
Giuseppe Digilio
363e9b2dcb [CST-4510] Fix i18n labels 2021-10-13 09:25:09 +02:00
Giuseppe Digilio
b4a249245a [CST-4510] make entity type not mandatory in the collection form 2021-10-13 09:24:57 +02:00
Tim Donohue
ab9aed0143 Merge pull request #1328 from atmire/w2p-83707_Control-collection-harvest-from-the-UI
Control collection harvest from the UI
2021-10-12 16:18:34 -05:00
Michael W Spalti
a875f681a7 Merge branch 'iiif-mirador' of https://github.com/mspalti/dspace-angular into iiif-mirador 2021-10-12 14:00:27 -07:00
Michael Spalti
538e3cbd0f Mirador component update. 2021-10-12 07:56:23 -07:00
Giuseppe Digilio
93e0828135 [CST-4591] Hide none item type entry from available entities in the collection form 2021-10-12 16:23:47 +02:00
Yana De Pauw
72d1235b2c 83707: Add spinners to in progress buttons 2021-10-12 09:50:56 +02:00
Michael Spalti
2d1113626a Viewer updates. 2021-10-11 17:50:15 -07:00
Gustavo S. Ferreyro
82b88c85c2 Full Spanish translation
Full Spanish translation based on the English en.json5 file at 09 Oct, 2021.
2021-10-09 13:40:53 -03:00
Michael Spalti
681b10e070 Removed unused import. 2021-10-08 15:53:02 -07:00
Michael Spalti
baa94ca1cb Fixed proble with mirador iframe url for a single image. 2021-10-08 15:29:51 -07:00
Tim Donohue
bc89692acb Merge pull request #1344 from ybnd/Pause-notification-countdown-on-hover
Pause notification countdown on hover
2021-10-08 14:33:45 -05:00
lotte
b651f4e18f lgtm fixes 2021-10-08 14:37:57 +02:00
lotte
13bce1df60 Added missing typedoc 2021-10-08 14:08:04 +02:00
lotte
c28221623c Added search scope lookup to replace dropdown 2021-10-08 10:22:43 +02:00
Tim Donohue
a48074e5f1 Merge pull request #1341 from atmire/w2p-83783_show-all-collections-on-item-page-rebased
Show owning and mapped collections on item page
2021-10-07 11:38:33 -05:00
Tim Donohue
46c3ea2a7c Merge pull request #1326 from atmire/dynamic-theme-fixes
Dynamic theme improvements
2021-10-07 11:38:04 -05:00
Yura
1cc1674254 Add unit tests for notification countdown 2021-10-07 15:23:54 +02:00
Yura
26cfe7d9ea Remove old commented out code 2021-10-07 13:53:06 +02:00
Kristof De Langhe
881eb92fa1 83635: Feedback and test cases 2021-10-07 13:53:02 +02:00
Rezart Vata
ce2790a89b [CST-4504] Adding and removing in modal checkboxes, working on deleting paginated relationships 2021-10-06 18:35:52 +02:00
Corrado Lombardi
91218bb534 removed unnecessary new lines and commented out code 2021-10-06 18:00:19 +02:00
Davide Negretti
eaa3d96bc7 [CST-4659] Deque accessibility issues - 470010 and tests 2021-10-06 15:26:55 +02:00
Kristof De Langhe
03ddde9a97 83635: Button layout changes + LGTM fixes 2021-10-05 18:17:40 +02:00
Kristof De Langhe
120b9f5ce9 83635: Grant/Deny item requests 2021-10-05 18:17:40 +02:00
Kristof De Langhe
11bf10cbde 83635: Intermediate commit 2021-10-05 18:17:40 +02:00
Yana De Pauw
4feccb9989 intermittent commit 2021-10-05 18:17:40 +02:00
Yana De Pauw
90b706239e Fix page reload when requesting a copy 2021-10-05 18:17:40 +02:00
Yana De Pauw
416aa7adaf 83635: Update request a copy page and tests 2021-10-05 18:17:40 +02:00
Yana De Pauw
506883c960 83635: Request a copy - Request page 2021-10-05 18:17:40 +02:00
Davide Negretti
8173d7d805 [CST-4659] Deque accessibility issues - 470010 2021-10-05 17:51:31 +02:00
Davide Negretti
5c8448c36e [CST-4659] Deque accessibility issues - 469993 2021-10-05 16:22:46 +02:00
Davide Negretti
ad15c07a18 [CST-4659] Deque accessibility issues - 469984 2021-10-05 12:54:09 +02:00
Yura
08b79f0595 Fix undefined isPaused$ test failure (afterAll) 2021-10-05 10:51:37 +02:00
Yura
f4c50bc7a2 Pause all notifications when hovering over board 2021-10-05 10:06:30 +02:00
Yura
25ea75cf54 Pause notification countdown on hover 2021-10-05 09:52:31 +02:00
Giuseppe Digilio
e9bca1b51d [CST-4510] use alert component for info message 2021-10-05 09:19:10 +02:00
Tim Donohue
b29b87d0f6 Merge pull request #1315 from tdonohue/header_keyboard_fix
Header Accessibility Fix: Allow enter key or spacebar to expand or contract menu based on current active status
2021-10-04 10:59:34 -05:00
Tim Donohue
b4732f3c31 Move actions to keyup while having preventDefault on keydown 2021-10-04 10:18:01 -05:00
Davide Negretti
b7d6c8e557 [CST-4499] Version history - SSR bug fixed 2021-10-04 13:29:55 +02:00
Tim Donohue
1d0a5c0e87 Switch from keyup to keydown to fix spacebar scrolling issue. 2021-10-01 16:45:59 -05:00
Rezart Vata
74eac1f72c [CST-4504] code improvement and report fixes 2021-10-01 18:57:24 +02:00
Rezart Vata
78c88f212f [CST-4504] Merged conflicts 2021-10-01 18:16:46 +02:00
Rezart Vata
af09479203 [CST-4504] Added discard,reinstate & submit buttons , unit testing & lint fixes 2021-10-01 18:13:18 +02:00
Davide Negretti
69bd118001 [CST-4659] Deque accessibility issues - 469700 2021-10-01 17:22:03 +02:00
Davide Negretti
d59e6c630d [CST-4659] Deque accessibility issues - 470062 2021-10-01 17:10:54 +02:00
Yura
ed3bcaa574 83631: Reword & explain theme extension tests 2021-10-01 13:32:56 +02:00
Tim Donohue
7747a8c4e2 Attempt to stop scroll to bottom of page when clicking spacebar 2021-09-30 17:11:34 -05:00
Davide Negretti
a80d9694d8 [CST-4659] Deque accessibility issues - 470001 2021-09-30 18:11:24 +02:00
Davide Negretti
a2eb16d328 [CST-4659] Deque accessibility issues - 470065 2021-09-30 15:31:52 +02:00
Davide Negretti
ee9d54245c [CST-4659] Deque accessibility issues - 469979 2021-09-30 13:19:52 +02:00
Yana De Pauw
e434bb8952 83707: Implement feedback 2021-09-30 10:22:48 +02:00
Michael Spalti
d4a6ed6d08 Mirador component multi-view based on count of image files in the default bundle. 2021-09-29 22:03:23 -07:00
Michael Spalti
670a0b8a26 Completed work on angular tests. 2021-09-29 14:12:48 -07:00
Davide Negretti
e111f7c70b [CST-4499] Version history - Minor fixes 2021-09-29 20:21:42 +02:00
Bruno Roemers
578b5afa06 83783: Show owning and mapped collections on item page 2021-09-29 18:52:07 +02:00
Davide Negretti
8a38d06318 [CST-4499] Version history - Fixes and tests 2021-09-29 18:28:26 +02:00
Davide Negretti
ca9ca0105e [CST-4499] Version history - Redirect to Edit Item 2021-09-29 16:33:23 +02:00
Michael Spalti
ec0e8c7804 Completed the initial embed of mirador viewer. 2021-09-28 16:47:58 -07:00
Michael Spalti
abb733b9df Merge branch 'main' into iiif-mirador 2021-09-28 13:24:31 -07:00
Michael Spalti
3bf9c5f21c Starting update for iiif using non-entity metadata. 2021-09-28 13:22:09 -07:00
Tim Donohue
53cd1cfcb2 Merge pull request #1319 from 4Science/DSC-192
edit item metadata fix
2021-09-28 13:41:40 -05:00
Tim Donohue
e5e6e9c07a Also support using spacebar to open/close menu 2021-09-28 12:20:53 -05:00
Rezart Vata
7543af2a38 [CST-4634] Worked on unit testing formgroup input validation and custom validations 2021-09-27 16:06:29 +02:00
Davide Negretti
4f2697bf52 [CST-4499] Version history - New version refactored (with tests) 2021-09-27 12:26:20 +02:00
Yana De Pauw
4e9bd86012 83707: Implement tests 2021-09-27 11:11:54 +02:00
Davide Negretti
f60755b2b0 [CST-4499] Version history - New version refactored - Test TBD 2021-09-25 00:59:19 +02:00
Corrado Lombardi
eb14b6c5ad [DSC-192] lint fixes 2021-09-24 18:49:13 +02:00
Giuseppe Digilio
df8ff19550 Merge remote-tracking branch 'origin/main' into CST-4510-entity-selection-porting 2021-09-24 18:15:13 +02:00
Rezart Vata
d9237acb70 [CST-4634] Added custom validator and messages and show error message for not valid email, lint fixes & unit testing 2021-09-24 17:16:53 +02:00
Alba Aliu
010dee7a16 Merge branch 'DSC-192' of https://bitbucket.org/4Science/dspace-angular into DSC-192 2021-09-24 17:08:55 +02:00
Alba Aliu
b22d8358fb [DSC-112] unit testing 2021-09-24 17:07:38 +02:00
Giuseppe Digilio
93f2274c5d [CST-4591] add missing label 2021-09-24 14:33:30 +02:00
Giuseppe Digilio
d29c27b400 [CST-4591] Use search collection dropdown when importing from external source with lookup modal 2021-09-24 13:20:36 +02:00
Giuseppe Digilio
c6a73f2dcb [CST-4591] Fix issue with showing empty collection results 2021-09-24 13:18:50 +02:00
Giuseppe Digilio
a170f1f8a9 [CST-4591] Fix issue with navigate when entity type is empty 2021-09-24 13:17:35 +02:00
Tim Donohue
2b1e3c6b02 Merge pull request #1324 from atmire/upload-bitstream-bugfix
Fixed edit item bitstreams
2021-09-23 16:10:25 -05:00
lotte
50c2d918b0 fixed lgtm issue 2021-09-23 15:48:58 +02:00
Yana De Pauw
100166023a 83707: Control collection harvest from the UI 2021-09-23 15:47:43 +02:00
Giuseppe Digilio
2894045134 [CST-4504] fix lint error 2021-09-23 15:30:23 +02:00
Art Lowel
ac13b8b282 Merge branch 'w2p-83631_Add-the-ability-to-extend-a-theme' into w2p-83628_Dynamic-theme-fixes 2021-09-23 13:42:16 +02:00
Art Lowel
573a133815 fix ciruclar dependency 2021-09-23 13:30:40 +02:00
lotte
e41c66cdda 83681: fixed bundles issue on update bitstreams edit item page 2021-09-23 12:50:58 +02:00
Kristof De Langhe
e2c2423e53 83628: Dynamic theme fixes - test cases and JSDocs 2021-09-23 11:27:38 +02:00
Tim Donohue
4dd3b57539 Merge pull request #1298 from 4Science/CST-4058
Cannot easily tell similar named EPeople or Groups apart (usability issue)
2021-09-22 17:18:44 -05:00
Giuseppe Digilio
d10d0b039f [CST-4504] fix duplicated code 2021-09-22 18:16:32 +02:00
Giuseppe Digilio
6bf3b8e7cd [CST-4591] Change import from external source page in order to work with entity type 2021-09-22 18:02:52 +02:00
Kristof De Langhe
d9db65685b 83628: Dynamic theme fixes 2021-09-22 17:46:55 +02:00
Giuseppe Digilio
afdbf3541b [CST-4591] Add dropdown for selecting entity type when creating a new submission or importing from external source 2021-09-22 17:43:47 +02:00
Giuseppe Digilio
2e0095a587 [CST-4591] Create entity scrollable dropdown 2021-09-22 17:36:18 +02:00
Giuseppe Digilio
51ada1c933 [CST-4591] Change collection dropdown in order to accept entity type as input 2021-09-22 17:34:54 +02:00
Giuseppe Digilio
1f941acda4 [CST-4591] Add entity selection field to collection create/edit form 2021-09-22 17:32:41 +02:00
Giuseppe Digilio
b20b6d003f [CST-4591] Add methods to retrieve entity type related to collections 2021-09-22 17:29:47 +02:00
Davide Negretti
eaca1ac228 [CST-4058] Improvements applied in all places 2021-09-22 17:24:28 +02:00
Giuseppe Digilio
225a5640e5 [CST-4591] Add methods to retrieve collections by entity type 2021-09-22 17:20:04 +02:00
Rezart Vata
681ab1ff88 [CST-4504] Fixed issue for submission, removed tab when editing relationships, removed unused code & improved checking for remote data completed 2021-09-22 17:01:24 +02:00
Rezart Vata
f1135d8a96 [CST-4504] Finished Unit testing, ts lint, report changes and some fixes 2021-09-22 13:44:12 +02:00
Kristof De Langhe
2d638a738e 83628: Dynamic theme fixes 2021-09-22 11:51:05 +02:00
Alessandro Martelli
5a136f8865 [DSC-227] Reload of My Dspace results is broken 2021-09-22 11:35:59 +02:00
Davide Negretti
c816b97525 [CST-4499] Version history - Old tests fixed 2021-09-21 19:42:43 +02:00
Davide Negretti
468ad70751 [CST-4499] Version history - Old tests fixed 2021-09-21 18:21:38 +02:00
Davide Negretti
aee612e06d [CST-4499] Version history - Old tests fixed 2021-09-21 16:47:42 +02:00
Corrado Lombardi
8633b5207d Merge remote-tracking branch 'bb-cris/DSC-192' into DSC-192 2021-09-21 14:50:38 +02:00
Alba Aliu
7214f3fe6d [DSC-192] fix 2021-09-21 14:50:08 +02:00
Alba Aliu
a97f55c32d [DSC-192] disable edit metadata field name in edit mode 2021-09-21 14:50:08 +02:00
Davide Negretti
62fea1fa78 [CST-4499] Version history - Tests WIP 2021-09-21 12:11:23 +02:00
Davide Negretti
3255a29b30 [CST-4499] Version history - Tests WIP 2021-09-20 20:34:34 +02:00
Rezart Vata
3c26ecdcdf [CST-5404] Code refactoring, fixing issues , lint fixes and started unit testing 2021-09-20 19:43:11 +02:00
Davide Negretti
fbc69832d8 [CST-4499] Version history - Tests WIP 2021-09-20 17:38:32 +02:00
Yura
0b62144d97 83631: Add the ability to extend a theme 2021-09-20 17:03:34 +02:00
Alba Aliu
af12fc1a51 [DSC-192] fix 2021-09-20 11:12:45 +02:00
Alba Aliu
cbab3484e7 [DSC-94] reload tabs box after claim made 2021-09-17 23:07:48 +02:00
Michael Spalti
ded5e29f10 Merge branch 'main' into iiif-mirador 2021-09-17 10:38:57 -07:00
Davide Negretti
a547030ce0 [CST-4499] Version history - LGTM fixes - Test TBD 2021-09-17 18:22:48 +02:00
Tim Donohue
523fca2177 Minor updates to README to provide more helpful info on unit tests 2021-09-17 11:19:14 -05:00
Tim Donohue
8e2ab83d92 Fix existing tests. Add new specs for enter key presses 2021-09-17 11:19:14 -05:00
Davide Negretti
97ed08e5c8 [CST-4499] Version history - Test TBD 2021-09-17 18:04:33 +02:00
Davide Negretti
55a1a1c0eb [CST-4499] Version history (WIP) - Refactoring 2021-09-17 13:37:57 +02:00
Davide Negretti
025e7f5c38 [CST-4499] Version history (WIP) - Cache issue fixed 2021-09-17 12:19:18 +02:00
Davide Negretti
b1b2bd4562 [CST-4499] Version history (WIP) - Authorization features - Cache issue fixed 2021-09-16 18:53:45 +02:00
Davide Negretti
cf1c73bd32 [CST-4499] Version history (WIP) - Authorization features - Deleting 2021-09-16 15:49:11 +02:00
Davide Negretti
f858eeef46 [CST-4499] Version history (WIP) - Authorization features - Deleting not working 2021-09-16 00:28:45 +02:00
Tim Donohue
b86ae8dd14 Allow enter key to expand or contract menu based on current active status 2021-09-14 14:16:04 -05:00
Rezart Vata
a2605cdddd [CST-4504] Changed init api, disabled selected tab only for relationship edit page, fixed the related items checked, fixed the issue regarding the updated item control 2021-09-14 19:24:22 +02:00
Davide Negretti
77ff774c97 [CST-4499] Version history (WIP) - Minor fixes and code cleanup 2021-09-14 18:48:13 +02:00
Davide Negretti
60bbb9ace4 [CST-4499] Version history (WIP) - Redirect after deleting a version 2021-09-14 18:20:58 +02:00
Davide Negretti
5d8f625d01 [CST-4499] Version history (WIP) - Refactoring 2021-09-14 01:39:00 +02:00
Davide Negretti
f10f25d129 Merge remote-tracking branch 'bb/CST-4499' into CST-4499 2021-09-13 18:04:22 +02:00
Davide Negretti
b4111fe4b1 [CST-4499] Version history (WIP) - Version page added (redirecting to item's page) 2021-09-13 17:56:55 +02:00
Rezart Vata
ffee36607d [CST-5404] Started working on new feature,added services and started working on selection 2021-09-10 18:49:23 +02:00
Alessandro Martelli
ce399cb764 [CST-4499] Version history (WIP) - Missing tests and auth features 2021-09-10 18:22:55 +02:00
Davide Negretti
44d3558e87 [CST-4499] Version history (WIP) - 'Create version' button in item page and other fixes 2021-09-10 18:16:35 +02:00
Davide Negretti
5526cde869 [CST-4058] LGTM issues solved 2021-09-10 11:06:25 +02:00
Davide Negretti
8df8b1c574 [CST-4058] LGTM issues solved 2021-09-10 10:50:35 +02:00
Davide Negretti
ad5ace79fb Changes by alex 2021-09-10 10:36:37 +02:00
Davide Negretti
dd2df9106c [CST-4499] Version history (WIP) - Fixes to API calls 2021-09-10 10:36:33 +02:00
Davide Negretti
05385f3568 [CST-4499] Version history (WIP) - Fixes to API calls 2021-09-10 10:19:33 +02:00
Tim Donohue
706cc47197 Merge pull request #1300 from bbranan/issue-1299
Adds support for capturing i18n translation updates within a theme
2021-09-09 16:26:33 -05:00
Davide Negretti
d402ab7dcf [CST-4499] Version history (WIP) - New version modal and other changes 2021-09-09 00:57:44 +02:00
Tim Donohue
2f251a3a61 Merge pull request #1310 from DSpace/dependabot/npm_and_yarn/url-parse-1.5.3
Bump url-parse from 1.4.7 to 1.5.3
2021-09-08 16:39:39 -05:00
Tim Donohue
49773140c6 Merge pull request #1293 from DSpace/dependabot/npm_and_yarn/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7
2021-09-08 16:23:48 -05:00
Tim Donohue
1c3dcefcec Merge pull request #1165 from DSpace/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.20 to 4.17.21
2021-09-08 15:49:13 -05:00
Bill Branan
3be2e6f08b Merge branch 'main' into issue-1299 2021-09-08 15:28:02 -04:00
Tim Donohue
879c23e002 Merge pull request #1166 from DSpace/dependabot/npm_and_yarn/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.8 to 2.8.9
2021-09-08 13:33:04 -05:00
dependabot[bot]
c40958f450 Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 17:37:21 +00:00
dependabot[bot]
285551674d Bump url-parse from 1.4.7 to 1.5.3
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 17:11:31 +00:00
dependabot[bot]
c9ac591dc3 Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 17:11:13 +00:00
dependabot[bot]
17ed492a5f Bump lodash from 4.17.20 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 17:11:04 +00:00
Tim Donohue
5a82e1b60c Merge pull request #1307 from DSpace/dependabot/npm_and_yarn/tar-4.4.19
Bump tar from 4.4.13 to 4.4.19
2021-09-08 12:09:44 -05:00
Tim Donohue
fab1e3dbb0 Merge pull request #1311 from tdonohue/disable_a11y_checks
Temporarily disable a11y check until random failure for color contrast can be fixed
2021-09-08 12:09:30 -05:00
Tim Donohue
432fb4e3cc Temporarily disable a11y check until random failure for color contrast can be fixed 2021-09-08 11:14:24 -05:00
dependabot[bot]
173bf5460c Bump tar from 4.4.13 to 4.4.19
Bumps [tar](https://github.com/npm/node-tar) from 4.4.13 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.13...v4.4.19)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-08 14:51:55 +00:00
Tim Donohue
15e7f75e39 Merge pull request #1301 from tdonohue/switch_to_cypress
Switch to Cypress.io for all e2e tests
2021-09-08 09:50:46 -05:00
Davide Negretti
72bfab16df [CST-4499] Version history (WIP) - Changes to in-row editing, code cleanup, added modal for new versions 2021-09-08 12:08:54 +02:00
Davide Negretti
95ffc7a016 [CST-4499] Version history (WIP) - Added in-row editing in version history (call to REST service TBD) and other fixes 2021-09-07 20:33:47 +02:00
Tim Donohue
4d4aadd83f Merge pull request #1309 from atmire/fix-themed-profile-page-component
fix the profile page component in the custom theme
2021-09-07 11:40:25 -05:00
Davide Negretti
6f24b31b39 [CST-4499] Version history (WIP) - Removed summary page (with routing) and modal 2021-09-07 14:47:36 +02:00
Davide Negretti
a1e312440f [CST-4499] Version history (WIP) - Buttons added to history, form replaced with modal, minor fixes 2021-09-06 20:51:34 +02:00
Art Lowel
f35f671dc3 fix the profile page component in the custom theme 2021-09-06 11:23:46 +02:00
Alessandro Martelli
5b036e84e1 [CST-4499] Version history module (WIP) 2021-09-02 16:20:43 +02:00
Davide Negretti
d66cf881fb [CST-4058] 'colspan' removed from table header; code cleanup 2021-09-02 16:05:22 +02:00
Bill Branan
edb814c49a Updates formatting to follow code style rules 2021-08-31 15:59:09 -04:00
Bill Branan
81988179e9 Adds setting to maintain the use of double quotes 2021-08-31 15:47:46 -04:00
Tim Donohue
098779a82d Fix to Cypress tsconfig.json, don't override sourceMap settings 2021-08-27 13:09:33 -05:00
Tim Donohue
13d8d75cfa Upgrade to latest Cypress 2021-08-27 12:24:35 -05:00
Tim Donohue
fec71ebf99 Add link to Cypress docs on creating first test in our README 2021-08-27 12:02:23 -05:00
Tim Donohue
03a11aeda1 Minor cleanup to GitHub CI. No longer need chromedriver. Use latest version of Chrome. 2021-08-27 11:33:06 -05:00
Tim Donohue
9d118dc2fd Add docs on writing e2e tests. Minor cleanup to README elsewhere 2021-08-27 11:08:30 -05:00
Tim Donohue
3c3f2251bb Minor test cleanup. Ensure artifacts are available based on e2e search results 2021-08-27 10:07:07 -05:00
Tim Donohue
fbfd4a2769 Fixes to e2e CI process 2021-08-27 09:11:23 -05:00
Tim Donohue
c86b68a6e0 Replace Protrator e2e tests with Cypress. Move all existing tests to Cypress & add basic Deque Axe integration. 2021-08-26 17:14:08 -05:00
Bill Branan
95a2da6410 Adds script to merge in i18n translation files from themes
See: https://github.com/DSpace/dspace-angular/issues/1299
2021-08-26 09:37:53 -04:00
Michael Spalti
668a08be45 Updated the iiif endpoint that is passed to the viewer. 2021-08-25 11:09:47 -07:00
Davide Negretti
4b3e0e8d09 [CST-4058] lint errors fixed 2021-08-24 17:53:43 +02:00
Davide Negretti
cbbac01313 [CST-4058] bug fixed 2021-08-24 17:06:00 +02:00
Davide Negretti
dfae46d92e [DSC-198] commented lines removed 2021-08-24 15:16:02 +02:00
Davide Negretti
befc0d4c9e [CST-4058] lint errors fixed 2021-08-24 13:41:04 +02:00
Tim Donohue
adb40d8712 Merge pull request #1295 from atmire/w2p-81901_Fix-sidebar-a11y-issues
Fix sidebar a11y issues
2021-08-23 16:01:33 -05:00
Davide Negretti
2cb9345ed5 [CST-4058] tests 2021-08-23 18:09:03 +02:00
Yura Bondarenko
714ea5d8f9 81901: Add in forgotten translate pipe 2021-08-23 15:45:22 +02:00
Yura Bondarenko
9cb8a77bf8 81901: Fix OnClickMenuItemComponent unit test 2021-08-20 18:24:38 +02:00
Davide Negretti
8134e6bc17 [CST-4058] tests (WIP) 2021-08-20 15:13:10 +02:00
Yura Bondarenko
3c4f3e9104 81901: Fix navigation/onclick function ~ enter key 2021-08-20 10:53:01 +02:00
Yura Bondarenko
9d66bc5167 81901: Use sidebar section text for tooltip 2021-08-20 09:43:36 +02:00
Michael Spalti
fb0d51c574 Improved performance of mirador component by avoiding IIIF bundle bitstream lookup. 2021-08-19 13:00:58 -07:00
myrza1
2bc1217dff Create Kazakh Translation
Create Kazakh Translation
2021-08-19 13:16:54 +06:00
Davide Negretti
9e710f7093 [CST-4058] tests (WIP) 2021-08-18 18:58:16 +02:00
Davide Negretti
3d894d02d3 [CST-4058] Show EPerson's email address and netid; tests fixed 2021-08-17 18:38:35 +02:00
Davide Negretti
5c070428d3 [CST-4058] Show the name of the community/collection in "Edit group" page 2021-08-17 17:10:32 +02:00
Davide Negretti
1bb98119f5 [CST-4058] Show the name of the community/collection next to the name of the group 2021-08-17 09:33:54 +02:00
Yura Bondarenko
ab6e8be6b1 Remove unused import 2021-08-16 17:53:17 +02:00
Yura Bondarenko
2a10f6bf9e 81901: AdminSidebarSectionComponent navigate on spacebar 2021-08-16 17:36:04 +02:00
Yura Bondarenko
7ae26d3ebb 81901: Fix expandable section submenu spacing
* Selection outlines were cut off by the icon (which needs to be full height for the animation-
2021-08-16 17:36:04 +02:00
Yura Bondarenko
2fa06d28e3 81901: Make expandable section not a link 2021-08-16 17:36:04 +02:00
Davide Negretti
ed12770494 [CST-4058] Show EPerson's email address - Show netid as fallback value 2021-08-16 17:23:45 +02:00
Davide Negretti
8274594848 [CST-4058] Show EPerson's email address 2021-08-16 17:03:07 +02:00
Yura Bondarenko
214833af68 81901: Add aria-expanded attribute to expandable items 2021-08-16 16:50:36 +02:00
Yura Bondarenko
c63d049d55 81901: Make expanded submenu items slide in from under collapsed sidebar 2021-08-16 16:39:56 +02:00
Yura Bondarenko
303e69a6b9 81901: Make admin sidebar header not a link 2021-08-16 09:50:04 +02:00
Yura Bondarenko
129ea726e8 81901: Enable spacebar toggling for admin sidebar items 2021-08-16 09:50:04 +02:00
Yura Bondarenko
b32226c5ed 81901: Fix keyboard/hover expand/collapse interactions 2021-08-13 17:14:54 +02:00
Yura Bondarenko
b84e003f27 81901: Update unit tests 2021-08-06 19:03:31 +02:00
Yura Bondarenko
4ae526d6b2 81901: Expand/collapse admin sidebar preview on focusin/focusout 2021-08-06 18:32:14 +02:00
Yura Bondarenko
1bad7fae3f 81901: Set aria-disabled for menu links and sidebar sections 2021-08-06 18:14:44 +02:00
Yura Bondarenko
2265de8d44 81901: Single link in sidebar menu entries
+ improved focus ring styling
2021-08-06 18:14:44 +02:00
Yura Bondarenko
d095c98b13 81901: Menu item components as ul > li 2021-08-06 18:14:43 +02:00
Tim Donohue
5a12f34593 Merge pull request #1287 from atmire/language-attribute-html-tag
Language attribute on HTML tag
2021-08-05 16:53:33 -05:00
Tim Donohue
a45780566f Merge pull request #1283 from josekarvalho/patch-2
Update en.json5
2021-08-05 15:55:12 -05:00
lotte
43c03de0ad Language attribute on HTML tag 2021-08-04 17:38:27 +02:00
Michael Spalti
6019a21ebd Removed unused import. 2021-07-31 09:02:10 -07:00
Michael Spalti
9cc3351fcf Fixed item page component paths. 2021-07-30 16:52:33 -07:00
Michael Spalti
20477f0aaa Merge branch 'main' into iiif-mirador 2021-07-30 16:27:18 -07:00
Tim Donohue
9fc7b57157 Correct year in LICENSE 2021-07-29 12:55:59 -05:00
Tim Donohue
f0474ce2f2 Merge branch 'main' of github.com:DSpace/dspace-angular 2021-07-29 12:50:42 -05:00
Tim Donohue
3664a06d8b Update README for 7.0. Sync some sections with DSpace/DSpace 2021-07-29 12:50:15 -05:00
José Carvalho
85ae3da0c0 Update en.json5
removed strings not used
2021-07-29 18:46:28 +01:00
Tim Donohue
232b457eff Merge pull request #1264 from josekarvalho/patch-1
Update pt-PT.json5
2021-07-29 12:37:04 -05:00
José Carvalho
14f026f8c4 Update en.json5
Updated with missing strings (found by revising the portuguese translation), and added new strings to support relations between entities and the import of external funding from the OpenAIRE API. Removed one duplicate string.
2021-07-29 15:47:31 +01:00
José Carvalho
681fa3cbe9 Update pt-PT.json5
Update additional strings
2021-07-29 15:16:11 +01:00
Tim Donohue
47302acf66 Merge pull request #1282 from tdonohue/test_ssr_working
SEO + SSR fixes: Fix <meta> tag syntax and add a basic test that SSR is working
2021-07-26 15:49:47 -05:00
Tim Donohue
91bb5e2fd4 Add a basic SSR test to GitHub CI 2021-07-26 15:15:03 -05:00
Tim Donohue
7fcd055458 Meta tags should use "name" not "property" attribute, as "name" is HTML5 2021-07-26 15:14:36 -05:00
Tim Donohue
4292af4294 Merge pull request #1280 from atmire/fix-first-request-issue
Fix issue where the app wouldn't load for the first request in prod mode
2021-07-26 10:03:08 -05:00
Art Lowel
8ee12868aa deal with errors that aren't error responses 2021-07-26 13:38:40 +02:00
Art Lowel
8f43fbd399 check if correlationid exists before adding it as a header 2021-07-26 11:54:25 +02:00
Tim Donohue
e9a03994e2 Merge pull request #1278 from atmire/remove-plus-from-folders
Update folder structure based on style guide
2021-07-23 11:28:38 -05:00
Art Lowel
acf2b0ee57 switch scss imports back to relative paths 2021-07-23 17:59:57 +02:00
Art Lowel
1c5bfbac24 remove a missed plus sign 2021-07-23 17:41:42 +02:00
Tim Donohue
9483e3ff2c Merge pull request #1277 from atmire/test-date-timezone-issue
Fix timezone issue with test dates
2021-07-23 10:19:46 -05:00
Art Lowel
124845bee1 update folder structure based on style guide 2021-07-23 17:18:51 +02:00
Art Lowel
3c1263ada6 fix timezone issue with test dates 2021-07-23 16:30:25 +02:00
Tim Donohue
fa02d1efe6 Merge pull request #1276 from atmire/remove-unused-config-params
Remove unused config params
2021-07-22 14:57:01 -05:00
Art Lowel
d0771715b6 add prototcol to origin in ServerHardRedirectService 2021-07-22 18:48:06 +02:00
Art Lowel
03f6f75e49 remove unused config params and related methods 2021-07-22 17:59:10 +02:00
Art Lowel
146ec49a32 Merge pull request #1275 from 4Science/#1273_no_js_issue
#1273 no js issue
2021-07-22 10:14:46 +02:00
Tim Donohue
2f6501f1af Merge pull request #1242 from atmire/w2p-80141_Support-for-legacy-bitstream-download-urls
Add support for legacy bitstream download URLs
2021-07-21 09:10:15 -05:00
Giuseppe Digilio
85fa1c5a9c move effect for cleaning cache to auth.effects 2021-07-21 09:46:15 +02:00
Tim Donohue
b33c859d67 Merge pull request #1254 from 4Science/#1206
Improve error handling during submission
2021-07-20 13:39:17 -05:00
Tim Donohue
83d61a5929 Merge pull request #1255 from 4Science/#1248
Improve logging Angular implementation
2021-07-20 11:03:30 -05:00
Giuseppe Digilio
d3fe33a837 Address feedback 2021-07-20 11:54:25 +02:00
José Carvalho
580a67a18d Update pt-PT.json5
Update some strings and add new ones to support OpenAIRE 4.0 guidelines compatibility (by naming relationships)
2021-07-20 10:33:03 +01:00
Giuseppe Digilio
f7ebffec45 Merge remote-tracking branch 'origin/main' into #1206
# Conflicts:
#	src/app/submission/form/submission-upload-files/submission-upload-files.component.spec.ts
#	src/app/submission/form/submission-upload-files/submission-upload-files.component.ts
2021-07-20 11:26:06 +02:00
Giuseppe Digilio
b04c33a5fb Invalidate authorization requests cache on REHYDRATE 2021-07-20 11:02:02 +02:00
Tim Donohue
8b88e7f4cd Merge pull request #1252 from 4Science/#1171
Fix accessibility issues #1172 #1167  #1171
2021-07-19 14:13:35 -05:00
Giuseppe Digilio
6cadae4e7f Fix missing button title 2021-07-19 19:19:50 +02:00
Giuseppe Digilio
aaae62de5f remove unnecessary aria-label 2021-07-19 19:19:25 +02:00
Giuseppe Digilio
fbde0cbad9 Revert "[CSTPER-144] Fixed issue with authorization request encountered while logging-in with external idp"
This reverts commit 73a9fe16
2021-07-19 17:54:02 +02:00
Tim Donohue
88c591054f Merge pull request #1250 from 4Science/CST-4319
Cannot map new items with Collection Admin
2021-07-15 15:14:18 -05:00
Giuseppe Digilio
d6990b3cd1 Add keyup event for selecting a new language from lang dropdown 2021-07-15 11:02:33 +02:00
Tim Donohue
73e70e6546 Merge pull request #1269 from 4Science/submission-footer-improvement
improve positioning of buttons in the submission form
2021-07-13 11:18:06 -05:00
Tim Donohue
6fc8ef6b50 Merge pull request #1262 from tdonohue/date_fixes
Ensure we are always using UTC dates in the UI, as the backend expects/uses UTC-based dates
2021-07-13 09:06:08 -05:00
Michael Spalti
de352a839e Retrieve thumbnail from remote data object. 2021-07-12 09:53:17 -07:00
Tim Donohue
008e0cb66c Another small fix from @atarix83 2021-07-12 11:47:53 -05:00
Tim Donohue
9ee733ea80 Stop using localized Dates. Ensure we always use UTC dates, as the backend expects/uses UTC. 2021-07-12 10:11:55 -05:00
Tim Donohue
6d13ba42c6 Fix saving of dates to UTC 2021-07-12 10:11:54 -05:00
Giuseppe Digilio
9ef4a11771 fix test 2021-07-12 16:19:03 +02:00
Giuseppe Digilio
aac9f02447 fix test 2021-07-12 15:04:06 +02:00
Giuseppe Digilio
5185c90ad6 improve positioning of buttons in the submission form 2021-07-12 14:31:24 +02:00
Giuseppe Digilio
ff6f6fea33 fix issue with Hierarchical vocabulary onebox toggle 2021-07-12 11:54:36 +02:00
José Carvalho
ae1d462bec Update pt-PT.json5
Added additional corrections. The strings until line 44 where not in the file to be translated.  After checking our DSpace 7 instance they where missing so we added. It's fine by now to be included in DSpace 7.0.
2021-07-12 09:56:14 +01:00
Michael Spalti
9c41cd7f8f Merge branch 'main' into iiif-mirador 2021-07-11 07:37:03 -07:00
Art Lowel
98cecd3e84 Merge pull request #1249 from 4Science/CST-4320
No way to view an Item when in simple "Approve/Reject" workflow stage
2021-07-09 09:34:41 +02:00
Giuseppe Digilio
28707f9a4c fix issue with misaligned loading icon on tag field 2021-07-08 20:33:43 +02:00
Giuseppe Digilio
9875b61082 fix issue with wrong fontawesome icon that show odd char on firefox 2021-07-08 20:22:51 +02:00
Giuseppe Digilio
d30fdb1db7 fix issue with aria-expanded attribute that is invalid on input 2021-07-08 20:19:07 +02:00
Giuseppe Digilio
eae89e1be0 fix issue with missing aria label 2021-07-08 19:37:39 +02:00
Giuseppe Digilio
ab73bf87b0 fix issue with dropdowns key accessibility 2021-07-08 18:10:43 +02:00
Giuseppe Digilio
186e420db5 fix issue with not unique ids 2021-07-08 17:46:04 +02:00
Alessandro Martelli
de2ba413a1 [CSTPER-4320] fixed back button for accessibility 2021-07-08 17:16:13 +02:00
Giuseppe Digilio
3b264015cb Merge remote-tracking branch 'origin/main' into #1171
# Conflicts:
#	src/app/submission/sections/upload/file/section-upload-file.component.html
2021-07-08 17:09:01 +02:00
Giuseppe Digilio
2bd68b0585 fix issue with ssr 2021-07-08 17:06:02 +02:00
Alessandro Martelli
cf7d1ed108 Merge branch 'main' into CST-4320
# Conflicts:
#	src/assets/i18n/en.json5
2021-07-08 16:02:52 +02:00
Giuseppe Digilio
9607a5248b Merge remote-tracking branch 'origin/main' into #1248 2021-07-08 15:30:34 +02:00
Art Lowel
d55ae48e4a Merge pull request #1239 from atmire/Fix-hardcoded-submission-section-IDs
Fix hardcoded submission section IDs
2021-07-08 15:14:47 +02:00
Art Lowel
2c8d72b971 Merge pull request #1240 from atmire/w2p-79700_Improve-session-timeout-UX
Improve session timeout UX
2021-07-08 13:27:41 +02:00
Yura Bondarenko
bfcff12499 Fix hardcoded reference to 'upload' section 2021-07-07 18:05:26 +02:00
Alessandro Martelli
dbb4d08ca0 [CST-4320] back button standardized style 2021-07-07 16:28:27 +02:00
Alessandro Martelli
3d6cacadff [CST-4320] fixed item version component initialization 2021-07-07 16:09:19 +02:00
Alessandro Martelli
f5cd878096 [CST-4320] resolved merge conflicts 2021-07-05 16:01:32 +02:00
Alessandro Martelli
0212df5bd1 Merge branch 'main' into CST-4320
# Conflicts:
#	src/app/+item-page/full/full-item-page.component.ts
2021-07-05 15:56:40 +02:00
Alessandro Martelli
111170e7d4 [CST-4320] workflow item view resolved as full item page 2021-07-05 15:47:58 +02:00
Tim Donohue
873feb9cfe Merge pull request #1266 from 4Science/submission-bitstream-download
fix bitstream download during submission
2021-07-02 14:19:36 -05:00
Yura Bondarenko
8736c0b572 Add unit tests for SectionsService#isSectionType 2021-07-02 18:12:18 +02:00
Tim Donohue
1dba4c55f5 Merge pull request #1228 from atmire/w2p-79768_fix-issues-with-meta-tags
Fix issues with meta tags
2021-07-02 10:00:50 -05:00
Yura Bondarenko
7670ba8a43 Fix duplicate notifications 2021-07-02 14:26:58 +02:00
Yura Bondarenko
a3ba4e59b3 Fix lint issues 2021-07-02 14:26:58 +02:00
Yura Bondarenko
72e97ca6b4 Update unit tests 2021-07-02 14:26:58 +02:00
Yura Bondarenko
32003a72fd Fix hardcoded submission section IDs 2021-07-02 14:26:57 +02:00
Yana De Pauw
5b869cce46 80141: Add support for legacy bitstream download URLs 2021-07-02 14:12:07 +02:00
Giuseppe Digilio
c190cdc9bd fix comment 2021-07-02 13:53:11 +02:00
Giuseppe Digilio
badf901361 Use ds-file-download-link component to allow bitstream download during submission 2021-07-02 13:46:17 +02:00
José Carvalho
97144f74da Update pt-PT.json5
Big update of the translation to Portuguese
2021-07-02 12:14:17 +01:00
Giuseppe Digilio
193de508cd Merge remote-tracking branch 'origin/main' into #1206
# Conflicts:
#	src/app/submission/edit/submission-edit.component.ts
2021-07-02 13:12:04 +02:00
Giuseppe Digilio
5fd30e1be9 Merge remote-tracking branch 'origin/main' into #1171 2021-07-02 13:10:50 +02:00
Yura Bondarenko
a91f16ed62 79768: Fix followLink syntax 2021-07-01 23:11:57 +02:00
Yura Bondarenko
711abfca35 Merge branch 'main' into w2p-79768_fix-issues-with-meta-tags 2021-07-01 22:55:29 +02:00
Yura Bondarenko
5ed41b3f9b 79768: Fix unused imports & lint issue 2021-07-01 22:47:26 +02:00
Yura Bondarenko
8caa916316 79768: Fix typo 2021-07-01 22:37:55 +02:00
Yura Bondarenko
fb8f28f17d 79768: Update & add MetadataService unit tests 2021-07-01 22:37:07 +02:00
Yura Bondarenko
50400895de 79768: Add unit tests for metaTagReducer 2021-07-01 22:36:08 +02:00
Tim Donohue
0ee451f3d3 Merge pull request #1247 from atmire/w2p-80195_Fix-move-item-page
Fix move item page
2021-07-01 10:13:00 -05:00
Tim Donohue
8ad8824e3a Merge pull request #1233 from 4Science/#1129
Add possibility to edit embargo on bitstream of archived Item
2021-07-01 10:11:44 -05:00
Marie Verdonck
1721ba5ddf Icon changes & fix after rebase 2021-07-01 16:19:31 +02:00
Marie Verdonck
6c219e72d5 79700: Doc fixes, Spec tests authService & ariaLabelledBy for idle-modal 2021-07-01 15:52:12 +02:00
Marie Verdonck
829ce12710 lgtm alerts 2021-07-01 15:52:12 +02:00
Marie Verdonck
ddcb27da3f 79700: logout via store, automatic redirect 2021-07-01 15:52:12 +02:00
Marie Verdonck
c696b78393 79700: idle time and grace period testing times removed 2021-07-01 15:52:12 +02:00
Marie Verdonck
4b1f086469 79700: Feedback 2021-06-15 applied 2021-07-01 15:52:12 +02:00
Art Lowel
91b4c81986 run idle timer outside of angular zone 2021-07-01 15:52:12 +02:00
Marie Verdonck
e88baa1995 79700: specs for modal, auth check for idleness tracking & stop blocking at token success 2021-07-01 15:52:12 +02:00
Marie Verdonck
38387d1a0f 79700: Tracking idleness & idle modal 2021-07-01 15:52:12 +02:00
Marie Verdonck
b23522d39f 79700: Auto-refreshing the token & Needed config 2021-07-01 15:51:23 +02:00
Art Lowel
c86f163cb7 move tagstore to ngrx 2021-07-01 11:36:12 +02:00
Tim Donohue
de8e306d9f Merge pull request #1244 from 4Science/#1179
[CSTPER-144] Fixed issue with authorization request encountered while logging-in with shibboleth
2021-06-30 16:05:19 -05:00
Tim Donohue
c46abae264 Merge pull request #1261 from atmire/w2p-80369_Use-thumbnail-links-for-Items-and-Bitstreams
Use thumbnail links for items and bitstreams
2021-06-30 14:30:32 -05:00
Tim Donohue
a14230afcc Merge pull request #1251 from 4Science/1217
Delete pending json patch operations
2021-06-30 09:02:31 -05:00
Art Lowel
03e2e30510 fix issue where meta tags wouldn't be updated properly based on the route 2021-06-30 14:21:43 +02:00
Yura Bondarenko
fedf6aa847 80369: Fix unused imports 2021-06-29 21:18:06 +02:00
Yura Bondarenko
7bb32f31de Merge remote-tracking branch 'upstream/main' into w2p-80369_Use-thumbnail-links-for-Items-and-Bitstreams 2021-06-29 18:03:57 +02:00
Yura Bondarenko
abf6d26641 80369: Remove unneeded bundles followLink 2021-06-29 17:34:00 +02:00
Yura Bondarenko
b0599fa27c 80195: Fix ItemMoveComponent unit tests 2021-06-29 09:56:29 +02:00
Yura Bondarenko
72a6754245 80195: Fix breadcrumbs not updating 2021-06-29 09:14:17 +02:00
Tim Donohue
e6c2680d2f Merge pull request #1253 from 4Science/#1234
Fix issue when switching submission's collection between those with different submission definition
2021-06-28 16:28:23 -05:00
Tim Donohue
87e458bc0f Merge pull request #1246 from atmire/w2p-80233_add-pagination-to-edit-relationships-tab
Add pagination to edit relationships tab
2021-06-28 13:46:28 -05:00
Yura Bondarenko
eb0b3ae5f4 80369: Add optional thumbnail followLink in SearchComponent 2021-06-28 12:51:57 +02:00
Yura Bondarenko
c1b1cb2a27 80369: Remove deprecated front-end thumbnail methods 2021-06-28 12:42:53 +02:00
Yura Bondarenko
d21d0eae55 80369: Add followLinks for thumbnail 2021-06-28 12:42:51 +02:00
Yura Bondarenko
acff2186b4 80369: Add thumbnail link to Item & Bitstream models 2021-06-28 12:40:39 +02:00
Art Lowel
0d5fc8a1c0 refactor followlinks to use a single object for all params and add an isOptional param. Also add support for embedding links to search service 2021-06-28 12:28:59 +02:00
Tim Donohue
7714ef47c8 Merge pull request #1245 from 4Science/#1122
Disable community/collection delete button while the delete operation is being processed
2021-06-25 17:14:09 -05:00
Tim Donohue
ff0291d346 Merge pull request #1222 from atmire/w2p-79730_Fix-search-sidebar-a11y-issues
Fix search sidebar a11y issues
2021-06-25 16:56:09 -05:00
Tim Donohue
c33e3909b9 Merge pull request #1201 from 4Science/#1110
Fixes for submission forms bugs
2021-06-25 14:44:13 -05:00
Giuseppe Digilio
75d641dc82 Create a new log interceptor with the scope to attach new X-CORRELATION-ID and X-REFERRER headers 2021-06-25 16:06:07 +02:00
Giuseppe Digilio
ac7c038703 Fix tests 2021-06-25 15:31:23 +02:00
Giuseppe Digilio
4d12236930 Fix visualization of error in date field 2021-06-25 15:24:31 +02:00
Giuseppe Digilio
44d2310cdb Changes in order to keep server side validation errors into the submission form state 2021-06-25 15:23:56 +02:00
Giuseppe Digilio
0724692d40 Merge remote-tracking branch 'origin/main' into #1206 2021-06-25 14:18:26 +02:00
Giuseppe Digilio
a089e662fb fix issue with date picker that didn't save the date entered manually 2021-06-25 14:08:21 +02:00
Yura Bondarenko
98b2c75a3c 79730: Add unit tests for sequence service & ds-search-filter IDs 2021-06-25 10:00:21 +02:00
Yura Bondarenko
24ffa6c63a 79730: Replace component ID with unique number 2021-06-25 09:32:45 +02:00
Tim Donohue
980d6a6154 Merge pull request #1237 from atmire/w2p-bugfix-issue-1124-access-control-section-visible-to-non-admin-users
Access Control - Groups only editable by Com/Col admin if group related to com/col & Only site admin access to access control epeople
2021-06-24 13:47:20 -05:00
Bruno Roemers
511a2e18ab 80113: Display loading indicator after using pagination nav 2021-06-24 19:50:39 +02:00
Bruno Roemers
fc398c15f4 80113: Rename searching$ into loading$ 2021-06-24 19:44:06 +02:00
Giuseppe Digilio
434ef5628f [DSC-130] Fix issue when switching submission's collection between those with different submission definition 2021-06-24 18:52:00 +02:00
Giuseppe Digilio
714b713134 fix failed tests 2021-06-24 18:47:27 +02:00
Giuseppe Digilio
f8e4b770e8 fix a11y issue with drag and drop 2021-06-24 18:35:30 +02:00
Tim Donohue
1187edb486 Merge pull request #1219 from atmire/w2p-79597_Fix-thumbnail-a11y-issues
Fix thumbnail a11y issues
2021-06-24 10:24:44 -05:00
Giuseppe Digilio
b03c7fbe4d fix a11y issue with delete community/collection logo 2021-06-24 17:20:35 +02:00
Giuseppe Digilio
3bc5737f6d fix a11y issue with item edit metadata 2021-06-24 17:20:12 +02:00
Alessandro Martelli
da4be7b57f [DSC-76] Delete pending json patch operations 2021-06-24 17:13:58 +02:00
Tim Donohue
0dee03e0bc Merge pull request #1243 from DSpace/missing-i18n-key
Add missing i18n key for Sherpa Journals by ISSN
2021-06-24 09:58:53 -05:00
Alessandro Martelli
8be77017e9 [CST-4319] Corrected test assertion 2021-06-24 16:57:41 +02:00
Alessandro Martelli
4b11a2f1c1 [CST-4320] Added missing translations 2021-06-24 16:38:59 +02:00
Alessandro Martelli
3795ab0495 [CST-4319] Cannot map new items with Collection Admin 2021-06-24 16:24:18 +02:00
Giuseppe Digilio
71c36f59af fix issue with navbar issues 2021-06-24 15:38:27 +02:00
Alessandro Martelli
67ce3e6741 [CST-4320] No way to view an Item when in simple "Approve/Reject" workflow stage 2021-06-24 15:34:11 +02:00
Alessandro Martelli
a572b0acea [CST-4320] No way to view an Item when in simple "Approve/Reject" workflow stage 2021-06-24 15:28:26 +02:00
Giuseppe Digilio
dccf04d4c0 fix issue with wrong aria-labels 2021-06-24 14:53:06 +02:00
Giuseppe Digilio
b4cd7bdf26 fix issue with submission section missing elements 2021-06-24 14:47:35 +02:00
Giuseppe Digilio
2681a31e87 fix issue with comboboxes 2021-06-24 14:30:46 +02:00
Giuseppe Digilio
601bd5e922 fix issue with elements with missing/wrong role 2021-06-24 14:23:06 +02:00
Giuseppe Digilio
606915f39a fix issue with elements with missing name/label 2021-06-24 13:04:41 +02:00
Giuseppe Digilio
56487a44f3 fix issue with elements not accessible with Keyboard navigation 2021-06-24 12:49:41 +02:00
Giuseppe Digilio
4b6a0d8aa2 fix issue with missing labels in the mydspace page 2021-06-24 12:05:00 +02:00
Yura Bondarenko
a48e77810d 80195: Fix unused import 2021-06-24 12:01:05 +02:00
Giuseppe Digilio
3ca1e61a8c fix issue with missing labels in the submission form 2021-06-24 11:58:41 +02:00
Art Lowel
7dc4609a83 add getFirstCompletedRemoteData, remove force redownload of owningcollection 2021-06-24 11:16:38 +02:00
Giuseppe Digilio
396393e9b7 fix issue with multiple elements in the submission form that use the same ID 2021-06-24 11:09:25 +02:00
Giuseppe Digilio
217f7b5b21 fix issue with the aria-multiline attribute that is invalid on combobox role 2021-06-24 10:56:13 +02:00
Giuseppe Digilio
ea2030666c fix issue with aria-expanded attribute that is invalid on input 2021-06-24 10:55:46 +02:00
Tim Donohue
f6c48494b9 Merge pull request #1241 from atmire/w2p-80154_Fix-contrast-issues-with-grays
Fix contrast issues with grays
2021-06-23 14:05:31 -05:00
Yura Bondarenko
290abf7c43 80195: Fix unit tests 2021-06-23 18:39:15 +02:00
Yura Bondarenko
84274c3911 80195: Fix ItemMoveComponent#moveToCollection 2021-06-23 18:08:52 +02:00
Tim Donohue
c1ddf7f667 Add production warning 2021-06-23 10:55:22 -05:00
Art Lowel
04f4a25870 fix an issue where the results of a dso-selector wouldn't update until you clicked anywhere on the page 2021-06-23 17:28:36 +02:00
Art Lowel
2599068ccd add a focus style for truncatable parts 2021-06-23 17:27:23 +02:00
Art Lowel
b586a264ca ensure dynamic components are updated when their inputs change 2021-06-23 17:27:01 +02:00
Bruno Roemers
4c1a72fdb2 80233: Apply Art's feedback 2021-06-23 15:39:53 +02:00
Yura Bondarenko
c825f911f5 80195: Mimic back/save/discard buttons of other edit pages 2021-06-23 15:31:13 +02:00
Yura Bondarenko
86cd7ba03f 80195: Select original owningCollection on load 2021-06-23 15:29:24 +02:00
Art Lowel
f683d1219e make truncatable css global to ensure it adapts to the theme 2021-06-23 13:43:10 +02:00
Giuseppe Digilio
10aa2e14f1 Merge remote-tracking branch 'origin/#1110' into #1129 2021-06-23 12:54:44 +02:00
Giuseppe Digilio
fba5504dd9 fix issue while editing bitstream with an existing access condition 2021-06-23 12:42:32 +02:00
Yura Bondarenko
2c19d80a16 80195: Refresh moved Item's owningCollection before redirecting 2021-06-23 12:06:11 +02:00
Giuseppe Digilio
421c37f010 Disable community/collection delete button while the delete operation is being processed 2021-06-23 11:46:32 +02:00
Yura Bondarenko
0ac9d58194 80195: Update ItemMoveComponent unit tests 2021-06-23 11:35:37 +02:00
Yura Bondarenko
1407ea85d7 80195: Fix move request handling 2021-06-23 11:29:11 +02:00
Yura Bondarenko
b2c002057e 80195: Replace input suggestions with collection selector 2021-06-23 11:07:51 +02:00
Giuseppe Digilio
73a9fe16c5 [CSTPER-144] Fixed issue with authorization request encountered while logging-in with external idp 2021-06-23 10:41:54 +02:00
Tim Donohue
ddb7d5181f Merge pull request #1210 from DSpace/dependabot/npm_and_yarn/dns-packet-1.3.4
Bump dns-packet from 1.3.1 to 1.3.4
2021-06-22 14:46:29 -05:00
Tim Donohue
720126647c Add missing i18n key 2021-06-22 14:42:57 -05:00
Bruno Roemers
627b271d3b 80233: Write tests for pagination 2021-06-22 18:53:28 +02:00
Tim Donohue
3d4f493f9f Merge pull request #1221 from atmire/move-header-changes-to-dspace-theme
Move header changes to dspace theme
2021-06-22 09:15:22 -05:00
Bruno Roemers
c5689df73d 80233: Add required providers to test 2021-06-22 16:08:02 +02:00
Bruno Roemers
45ad6b6f0b 80233: Use correct relationship direction 2021-06-22 16:06:49 +02:00
Yura Bondarenko
a617e04290 80154: Change badge-light to badge-info 2021-06-22 09:09:39 +02:00
Art Lowel
d9a8b8f3fd add pagination to edit relationships tab 2021-06-21 16:18:12 +02:00
Yura Bondarenko
7c609820b1 80154: Fix semicolon placement 2021-06-18 15:42:07 +02:00
Yura Bondarenko
3a8e658d54 80154: Keep using Bootstrap variables 2021-06-18 15:24:16 +02:00
Tim Donohue
e546a4f0b5 Merge pull request #1225 from atmire/issue-1224-workflow-rejection-reason-not-properly-encoded
Workflow rejection reasons are not properly encoded
2021-06-17 15:58:04 -05:00
Tim Donohue
cfd6512856 Merge pull request #1230 from atmire/w2p-80103_Fix-admin-sidebar-link-a11y-issues
Fix admin sidebar link a11y issues
2021-06-17 15:48:54 -05:00
Tim Donohue
4b541a166f Merge pull request #1204 from DSpace/dependabot/npm_and_yarn/browserslist-4.16.6
Bump browserslist from 4.16.0 to 4.16.6
2021-06-17 15:02:38 -05:00
Yura Bondarenko
f3faa0df2c 80154: Revert to default Bootstrap grays 2021-06-17 16:58:00 +02:00
Yura Bondarenko
8085885da4 79730: Move aria-label from span to button 2021-06-17 14:05:57 +02:00
dependabot[bot]
aa5a395d91 Bump browserslist from 4.16.0 to 4.16.6
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.0 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.0...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-16 20:57:10 +00:00
dependabot[bot]
f20b139841 Bump dns-packet from 1.3.1 to 1.3.4
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-16 20:56:35 +00:00
Tim Donohue
700afc2709 Create a SECURITY.md to document security policies 2021-06-16 12:03:30 -05:00
Marie Verdonck
cf515fe6f0 80113: Prevent anyone but site admin from accessing /access-control/epeople 2021-06-16 16:49:57 +02:00
Tim Donohue
166784b7f2 Merge pull request #1235 from tdonohue/fix_1231
Fix incorrect i18n tags in Collection Delete page
2021-06-16 09:15:40 -05:00
Art Lowel
b556234207 add aria and alt attributes to base header as well 2021-06-16 13:05:03 +02:00
Tim Donohue
98598a53d9 Fix incorrect i18n tags 2021-06-15 14:30:18 -05:00
Tim Donohue
f0ae00e7df Merge pull request #1211 from 4Science/CST-4223
Creating a new submission should redirect to workspaceitem edit page
2021-06-15 14:28:38 -05:00
Bruno Roemers
3fc44f6fc1 80113: Write tests for GroupsRegistryComponent 2021-06-15 19:38:33 +02:00
Bruno Roemers
3b07738d4d 80113: Write tests for GroupPageGuard 2021-06-15 18:43:50 +02:00
Bruno Roemers
3bc031ff00 80113: Create Group Page guard 2021-06-15 17:17:44 +02:00
Bruno Roemers
a69a4e9696 80113: Set ableToEdit on GroupDTOModel 2021-06-15 15:40:35 +02:00
Giuseppe Digilio
b85ebb2791 Merge remote-tracking branch 'origin/main' into #1129 2021-06-15 11:32:21 +02:00
Giuseppe Digilio
28c0c38d0d Merge remote-tracking branch 'origin/main' into #1110 2021-06-14 17:27:07 +02:00
Yana De Pauw
15e45c3dec 80103: Fix admin sidebar link a11y issues 2021-06-14 16:14:39 +02:00
Yura Bondarenko
34b117efe3 80084: Fix unit test & LGTM issues 2021-06-14 10:53:53 +02:00
Art Lowel
04b4f1cf58 Fix comment punctuation 2021-06-14 10:30:17 +02:00
Yura Bondarenko
64049fdcf7 79768: Make relative URLs absolute 2021-06-14 10:08:15 +02:00
Yura Bondarenko
2ed16aa66e 79768: Update typedocs 2021-06-14 10:08:15 +02:00
Yura Bondarenko
6a4e56322f 79768: Rename method 2021-06-14 10:08:15 +02:00
Yura Bondarenko
81b76dd327 79768: Fix tag: citation_publisher / citation_*_institution 2021-06-14 10:08:15 +02:00
Yura Bondarenko
304d8f7386 79768: Fix tag: citation_abstract_html_url 2021-06-14 10:08:15 +02:00
Yura Bondarenko
67f8ce7849 79768: Rename citation_date to citation_publication_date 2021-06-14 10:08:15 +02:00
Yura Bondarenko
6f7b76ec39 79768: Remove og:title & og:description 2021-06-14 10:08:15 +02:00
Yura Bondarenko
cb4446b79d 79768: Update & add unit tests 2021-06-14 10:08:15 +02:00
Yura Bondarenko
1caba78b4d 79768: Check against list of allowed mimetypes 2021-06-14 10:08:15 +02:00
Yura Bondarenko
9fe5a91bc2 79768: Extract download route method for Bundles with multiple Bitstreams 2021-06-14 10:08:15 +02:00
Art Lowel
dde57b9387 update citation_pdf_url logic 2021-06-14 10:06:18 +02:00
Yura Bondarenko
737728f603 79730: Remove label margins 2021-06-14 08:06:15 +02:00
Yura Bondarenko
d37d043531 79730: Show input labels when available 2021-06-14 08:06:15 +02:00
Yura Bondarenko
08878941ab 79730: Fix tslint issues 2021-06-14 08:06:15 +02:00
Yura Bondarenko
c60fa2c441 79730: Don't submit date slider changes until keyup 2021-06-14 08:06:15 +02:00
Yura Bondarenko
6e95990431 79730: Improve slider handles keyboard control 2021-06-14 08:06:15 +02:00
Yura Bondarenko
cb3f5ad259 79730: Add null href to more/collapse toggle links 2021-06-14 08:06:15 +02:00
Yura Bondarenko
abe26ce9f8 79730: Keyboard navigation for expandable filter facets 2021-06-14 08:06:15 +02:00
Yura Bondarenko
3e86efc66a 79730: Add labels around date range inputs 2021-06-14 08:06:15 +02:00
Yura Bondarenko
5b490203b2 79730: Add labels around FilterInputSuggestionsComponent inputs 2021-06-14 08:06:15 +02:00
Yura Bondarenko
ffb320373d 79730: Add labels around facet checkbox inputs 2021-06-14 08:06:15 +02:00
Yura Bondarenko
4683df431c 79730: Exclude search facet link from tablist 2021-06-14 08:06:15 +02:00
David Cavrenne [Atmire]
d253790c7d Updated version of the FR wordings (#1223)
Completed French message catalog.
2021-06-12 08:35:31 +02:00
Tim Donohue
22548c1e9d Merge pull request #1215 from atmire/remove-duplicate-author-field
Remove duplicate author field
2021-06-11 15:45:54 -05:00
Tim Donohue
79d5645f81 Merge pull request #1227 from tdonohue/demo_homepage
Remove references to Testathon & Beta 5 from Demo / Default theme
2021-06-11 14:59:15 -05:00
Tim Donohue
4c6d355376 Merge pull request #1212 from atmire/separate-startup-css
Fix theme switching issues
2021-06-11 14:57:55 -05:00
Tim Donohue
5edef6f942 Merge pull request #1209 from 4Science/issue-1208
Fix the rel name for the submissioncclicenseUrls-search link
2021-06-11 12:22:35 -05:00
Tim Donohue
9b80173b87 Merge pull request #1216 from atmire/w2p-79698_fix-browse-by-author-name-special-chars
Escape browse by author data requests
2021-06-11 11:21:46 -05:00
Tim Donohue
015f3b9607 Remove references to Testathon & Beta 5 2021-06-11 11:01:31 -05:00
Bruno Roemers
586de36835 Merge branch 'main' into issue-1224-workflow-rejection-reason-not-properly-encoded 2021-06-11 17:09:23 +02:00
Art Lowel
eead947352 put more useful example sass variable overrides in custom theme 2021-06-11 17:08:29 +02:00
Art Lowel
f2a29a6425 improve structure double footer 2021-06-11 17:08:29 +02:00
Art Lowel
2ddda1c766 enable e2e stacktrace 2021-06-11 17:08:29 +02:00
Art Lowel
74a17da5b8 fix issue where home page background image would wrap around on certain screen widths 2021-06-11 17:08:29 +02:00
Art Lowel
c756c68f28 move header changes to dspace theme 2021-06-11 17:08:29 +02:00
Bruno Roemers
412822db7c Merge branch 'main' into w2p-79698_fix-browse-by-author-name-special-chars 2021-06-11 17:06:24 +02:00
Tim Donohue
2cd78470ce Merge pull request #1226 from tdonohue/fix_ci_issues
Add option to pin to a specific version of Chrome/ChromeDriver in our CI process
2021-06-11 09:46:30 -05:00
Tim Donohue
e7282bdbd7 Minor cleanup, print chromedriver version after installation 2021-06-11 08:46:17 -05:00
Art Lowel
326bffae7f switch chromedriver to npm 2021-06-11 08:42:43 -05:00
Tim Donohue
b104958473 Add option to pin to a specific version of Chrome/ChromeDriver. Pin to v90 until v91 bugs are fixed 2021-06-10 12:56:40 -05:00
Bruno Roemers
a27a7a4083 Test requestService.uriEncodeBody 2021-06-10 15:00:03 +02:00
Bruno Roemers
bb2892edd8 BUGFIX: Encode special characters when sending workflow action 2021-06-10 14:45:30 +02:00
Giuseppe Digilio
4862a399c9 Merge remote-tracking branch 'origin/main' into #1110 2021-06-01 14:14:47 +02:00
Giuseppe Digilio
eaaad88443 [CST-4248] Remove embargo form field and add link to bitstream authorization page 2021-06-01 14:13:19 +02:00
Giuseppe Digilio
c150fb881e [CST-4248] bitstream authorizations page 2021-06-01 14:12:12 +02:00
Giuseppe Digilio
3e53b7c7b1 [CST-4248] Add possibility to add additional content to form.component 2021-06-01 14:09:17 +02:00
Giuseppe Digilio
2dfed863ed [DSC-75] Fix issue while deleting multiple qualdrop value 2021-05-31 12:20:42 +02:00
Yura Bondarenko
95b98d3f79 79597: Remove unused imports 2021-05-31 10:20:28 +02:00
Bruno Roemers
4ad089ef54 79698: Escape browse by author data requests 2021-05-28 15:40:20 +02:00
Samuel
bcfecc53a1 add support for multiple metadata fields to the MetadataRepresentationListComponent - fix bug when unauthorized for related item 2021-05-28 11:53:59 +02:00
Yura Bondarenko
4b238e1842 79597: Update ds-metadata-field-wrapper unit tests 2021-05-27 18:03:53 +02:00
Yura Bondarenko
120ecc6988 79597: Fix ds-metadata-field-wrapper for thumbnails 2021-05-27 17:10:42 +02:00
Yura Bondarenko
bcfb890e1a 79597: Update unit tests 2021-05-27 16:34:52 +02:00
Yura Bondarenko
c717fc5ec8 79597: Fix thumbnails ~ item page direct request 2021-05-27 16:00:06 +02:00
Art Lowel
899b30213e show full screen loader when switching themes 2021-05-27 15:06:26 +02:00
Art Lowel
772ac12329 create separate startup css to load before the theme is chosen 2021-05-27 11:51:59 +02:00
Yura Bondarenko
9b95fc5de9 79597: Add space between rows in FullFileSectionComponent 2021-05-27 11:18:40 +02:00
Yura Bondarenko
6cbd9dc920 79597: Remove GridThumbnailComponent 2021-05-27 11:06:08 +02:00
Yura Bondarenko
4f38821bb3 79597: Replace ds-grid-thumbnail with ds-thumbnail 2021-05-27 11:06:08 +02:00
Yura Bondarenko
41c07e74ca 79597: Add input to toggle thumbnail max-width 2021-05-27 11:05:48 +02:00
Alessandro Martelli
060d0dd556 [CST-4223] Creating a new submission should redirect to workspaceitem edit page 2021-05-27 09:43:29 +02:00
Andrea Bollini
fce77104d4 Fix the rel name for the submissioncclicenseUrls-search link 2021-05-26 22:39:06 +02:00
Samuel
21686c86df add support for multiple metadata fields to the MetadataRepresentationListComponent 2021-05-25 11:51:19 +02:00
Yura Bondarenko
ca7d45ff0c 79597: Fix tslint issue 2021-05-25 11:18:16 +02:00
Yura Bondarenko
363d1d74df 79597: Update unit tests 2021-05-25 11:03:51 +02:00
Yura Bondarenko
4567f8cc2c 79597: Limit thumbnail width & set to portrait 2021-05-25 10:20:46 +02:00
Yura Bondarenko
c9ff89a143 79597: Thumbnail placeholder style ~ CSS variables 2021-05-25 10:08:33 +02:00
Yura Bondarenko
4b6e02f773 79597: Specify i18n text for person, project & orgunit 2021-05-25 09:55:19 +02:00
Yura Bondarenko
7a69a23f0c 79597: Improve placeholder contrast 2021-05-25 09:46:54 +02:00
Yura Bondarenko
d80da3bbfe 79597: Add HTML placeholder for missing thumbnails 2021-05-25 09:44:39 +02:00
Yura Bondarenko
55affdebce 79597: Add alt text to ds-thumbnail 2021-05-25 09:28:02 +02:00
Tim Donohue
f85a5e65ad Merge pull request #1182 from atmire/w2p-79327_Fix-item-level-statistics
Fix item-level statistics pages
2021-05-24 11:47:22 -05:00
Tim Donohue
8daf52e8c2 Merge pull request #1200 from atmire/w2p-79219_update-metadata-import-export-script-params
Update metadata import export script params
2021-05-24 11:22:40 -05:00
Tim Donohue
fab567400d Merge pull request #1180 from atmire/w2p-79325_Fix-pagination-in-lookup
Fix pagination in author lookup window
2021-05-24 10:20:42 -05:00
Yana De Pauw
579f98d027 79327: Follow up fixes to test 2021-05-20 10:45:14 +02:00
Yana De Pauw
926dd46627 79327: Fix LGTM issues and add e2e tests 2021-05-20 09:45:48 +02:00
Giuseppe Digilio
3c0cb33bc7 fix failed build 2021-05-19 18:16:31 +02:00
Giuseppe Digilio
98dde58f9d [D4CRIS-1080] Fix issue where a replace patch operation was dispatched instead of an add one when field's previous value is empty 2021-05-19 16:28:49 +02:00
Giuseppe Digilio
d6dbbd1f1f Add tests for handleArrayGroupPatch method 2021-05-19 15:36:46 +02:00
Giuseppe Digilio
e18c66d688 Fix issue with patch operations related to repeatable fields 2021-05-19 15:36:43 +02:00
Giuseppe Digilio
e0edcd64d2 Fix wrong visualization of bitstream access condition form within submission form 2021-05-19 15:35:37 +02:00
Giuseppe Digilio
91137a216f Merge remote-tracking branch 'origin/main' into #1110 2021-05-19 15:08:02 +02:00
Giuseppe Digilio
d06b76af3f Fix issue with patching value with a date 2021-05-19 15:04:12 +02:00
Art Lowel
7e129f282f remove extra author field from item pages 2021-05-19 13:05:15 +02:00
Michael Spalti
da2bbcee09 Merge branch 'main' into iiif-mirador 2021-05-18 15:45:23 -07:00
Michael Spalti
3bd8e355f6 Added description field to iiif item view. 2021-05-18 15:42:46 -07:00
Tim Donohue
68bd8d40e8 Merge pull request #1181 from atmire/Fix-dso-selector-issues
Fix dso-selector issues
2021-05-17 12:33:36 -05:00
Michael Spalti
3dacbe51a1 Merge branch 'main' into iiif-mirador 2021-05-16 16:30:34 -07:00
Tim Donohue
5f87d69e9b Merge pull request #1145 from atmire/w2p-79218_remove-menu-options-for-disabled-features
Remove menu options for disabled features
2021-05-12 14:43:16 -05:00
Giuseppe Digilio
d3466c3e82 Fix issue where uploaded files disappear 2021-05-12 17:59:11 +02:00
Kristof De Langhe
43b8f45eee 79252: Remove unused import 2021-05-12 16:50:18 +02:00
Yana De Pauw
6631980ee6 79327: Fix item-level statistics pages 2021-05-12 16:31:48 +02:00
Yana De Pauw
4a8becf662 Fix ORCID tab loading 2021-05-12 14:47:16 +02:00
Yana De Pauw
a77ca2f126 79325: Fix pagination in the external metadata lookup 2021-05-11 11:39:46 +02:00
Tim Donohue
a87bf009ef Merge pull request #1146 from atmire/w2p-79220_fix-edit-group-navigation-bug
Fix edit group navigation bug
2021-05-07 09:42:35 -05:00
Kristof De Langhe
86bf7ff4f2 79252: Fix dso-selector issues 2021-05-06 18:03:46 +02:00
Tim Donohue
a69033917d Merge pull request #1086 from 4Science/CST-4009
[CST-4009] Discovery result sort options not reflecting what is configured
2021-05-05 10:52:07 -05:00
Tim Donohue
9dc9b5accf Merge pull request #1138 from atmire/w2p-78991_Issue-1112_Fix-date-filter-bugs
Fix date filter bugs
2021-05-04 14:19:04 -05:00
Tim Donohue
7dd2683fc3 Merge pull request #1139 from atmire/w2p-78994_Issue-1103_Fix-relationship-modal-on-item-page
Fix relationship modal on item page
2021-05-04 12:41:19 -05:00
Tim Donohue
abca095b9e Merge pull request #1105 from atmire/Edit-item-page-permission-checks
Edit item page permission checks
2021-05-04 09:24:16 -05:00
Bruno Roemers
f0fb8c1005 79219: Improve tests and wording 2021-05-04 13:43:51 +02:00
Bruno Roemers
042afd9bb8 79220: Fix edit group navigation bug 2021-05-04 11:46:04 +02:00
Yura Bondarenko
15ad31bd84 78991: Clean up SearchOptions.toRestUrl
* Extract "selective encoding" ops into separate methods
* Add comments to clarify regex
* Use hasValue() instead of just checking on 'match'
* Leave only the last comma of filter values unencoded
2021-05-04 11:26:19 +02:00
Bruno Roemers
f49a7746fb 79219: Remove -f from ExportMetadataSelectorComponent and pass uuid to -i 2021-05-04 11:19:01 +02:00
Bruno Roemers
93450e1dcf 79219: Remove -e option from MetadataImportPageComponent 2021-05-04 11:08:55 +02:00
Yura Bondarenko
b9a8bfb2bd 78991: Also test SearchOptions.fixedFilter 2021-05-04 10:44:06 +02:00
Yura Bondarenko
e682997195 78991: URI-encode SearchOptions query values 2021-05-04 10:34:37 +02:00
Yura Bondarenko
340f9518cd 78991: Fix SearchOptions typing 2021-05-04 10:34:37 +02:00
Bruno Roemers
fe4fe9e8d3 79218: Comment out all disabled menu options 2021-05-03 19:07:02 +02:00
Bruno Roemers
b5342e0fab 79218: Remove duplicate menu item 2021-05-03 18:41:56 +02:00
Tim Donohue
eb3cd85680 Merge pull request #1137 from atmire/w2p-78849_Issue-1113_Fix-forgot-password-page
Fix forgot password page
2021-04-30 16:57:49 -05:00
Tim Donohue
09a7685a3f Merge pull request #1109 from DSpace/dependabot/npm_and_yarn/ssri-6.0.2
Bump ssri from 6.0.1 to 6.0.2
2021-04-30 12:13:04 -05:00
Tim Donohue
6d00cad749 Merge pull request #1045 from DSpace/dependabot/npm_and_yarn/elliptic-6.5.4
Bump elliptic from 6.5.3 to 6.5.4
2021-04-29 17:19:46 -05:00
Yura Bondarenko
60009144a1 78994: Remove unused import 2021-04-29 14:28:37 +02:00
Yura Bondarenko
b2b077868e 78994: Disable no-shadowed-variable 2021-04-29 14:26:33 +02:00
Kristof De Langhe
a24cfe4cc7 78243: Feedback 2021-04-29 2021-04-29 14:15:03 +02:00
Yura Bondarenko
032231f10e 78849: Fix lint issues 2021-04-29 13:57:31 +02:00
Yura Bondarenko
781a88bc4c 78849: Fix double notification on submit 2021-04-29 13:42:57 +02:00
dependabot[bot]
d2b44318fa Bump elliptic from 6.5.3 to 6.5.4
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-28 21:57:44 +00:00
Alessandro Martelli
ad7824460b [CST-4009] update en.json5 2021-04-28 15:28:02 +02:00
Tim Donohue
8cade4fbf5 Merge pull request #1104 from atmire/Angular-10-upgrade-test-fixes
Angular 10 upgrade test fixes
2021-04-27 14:23:52 -05:00
Tim Donohue
fecf59e433 Merge pull request #1118 from 4Science/#1111
Fix visibility issue with collapsed navbar menu
2021-04-27 13:27:31 -05:00
Alessandro Martelli
bdc2dd5f9c [CST-4009] fixed search configuration stream 2021-04-27 09:53:38 +02:00
Yura Bondarenko
0fe199a97c 78849: Fix unit test 2021-04-26 16:49:42 +02:00
Yura Bondarenko
aca1c86455 78994: Provide Item's owning collection to relation modal 2021-04-26 15:13:41 +02:00
Yura Bondarenko
d62d9b0f48 78994: Update unit tests 2021-04-26 15:13:41 +02:00
Yura Bondarenko
5f45e93d12 78994: Remove setItem method 2021-04-26 13:24:26 +02:00
Yura Bondarenko
4634d2a4a8 78991: Don't initialize SearchFilterComponent with closed=true 2021-04-26 11:48:15 +02:00
Yura Bondarenko
6c2a3431c1 78991: Fix range handle lines
& remove duplicate CSS variable
2021-04-26 11:48:15 +02:00
Yura Bondarenko
4fa6a3e976 78991: Set fallback max date to the current year 2021-04-26 10:53:37 +02:00
Yura Bondarenko
eb9a7a15d6 78991: Specify filter operator for (date) ranges 2021-04-26 10:18:40 +02:00
Yura Bondarenko
8433f49ed9 78991: Initialize slider handle width 2021-04-26 09:09:51 +02:00
Alessandro Martelli
7c0d9acbf1 [CST-4009] default sort option configured with default sort order 2021-04-23 16:46:44 +02:00
Yura Bondarenko
7d0ea04b3e 78849: Add unit tests for EPerson registration caching 2021-04-23 15:45:46 +02:00
Yura Bondarenko
1aa659e6b7 78849: Fix cache/re-request issue & other improvements 2021-04-23 13:28:41 +02:00
Giuseppe Digilio
b6ab3d2067 [CST-4087] fix issue with mydspace result default order 2021-04-23 12:51:27 +02:00
Giuseppe Digilio
a205aa02b3 [CST-4009] Retrieve configuration by search config service 2021-04-23 12:47:53 +02:00
Alessandro Martelli
cba089081b Merge branch 'main' into CST-4009 2021-04-23 12:47:30 +02:00
Michael W Spalti
98571a496c Merge remote-tracking branch 'origin/iiif-mirador' into iiif-mirador 2021-04-20 14:46:44 -07:00
Giuseppe Digilio
ed7454ffc9 Fix visibility issue with collapsed navbar menu 2021-04-20 09:37:28 +02:00
dependabot[bot]
add2aac934 Bump ssri from 6.0.1 to 6.0.2
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 15:41:33 +00:00
Michael Spalti
4791cce928 Merge branch 'main' into iiif-mirador 2021-04-16 08:47:01 -07:00
Michael Spalti
2561d54b2d Added comments 2021-04-16 08:46:20 -07:00
reetagithub
a86f9444ce update fi.json5 (#1088)
* Update fi.json5

Part of the keys translated to Finnish

* Update fi.json5

The rest of the Finnish translations.

* Update fi.json5

Parent organization unit -> Ylemmän tason organisaatioyksikkö (was 'Ylätason')

* Update fi.json5
2021-04-16 17:28:21 +02:00
Kristof De Langhe
37be3530e6 Merge branch 'main' into w2p-78243_edit-item-page-permission-checks
Conflicts:
	src/app/core/data/feature-authorization/feature-id.ts
2021-04-16 12:35:30 +02:00
Kristof De Langhe
25f02b99d3 78243: message change 2021-04-16 12:31:22 +02:00
Kristof De Langhe
fd437eb7ee 78243: edit-item-page mocks, item-status operation refactoring 2021-04-16 11:36:33 +02:00
Tim Donohue
686a402d40 Merge pull request #1090 from tdonohue/update_docker
Update Docker Compose scripts to resync with DSpace/DSpace
2021-04-15 14:17:20 -05:00
Tim Donohue
8dd8b06409 Ensure Entities submission config is setup & ensure Solr image starts after main one 2021-04-15 12:37:09 -05:00
Kristof De Langhe
5fca681222 78001: RelationshipEffects test fixes 2021-04-15 13:19:27 +02:00
Tim Donohue
b998f82b8d Bug fix: 'dspacesolr' container must have a copy of the Solr configs from 'dspace' container as they aren't in the dspace-angular codebase 2021-04-14 17:03:38 -05:00
Tim Donohue
1741678807 Update Docker Compose scripts to resync with DSpace/DSpace 2021-04-14 15:43:16 -05:00
Tim Donohue
f81acb575d Merge pull request #1099 from atmire/w2p-78407_allow-html-in-license-section
Quick win: Allow html in license section of submission form
2021-04-14 12:48:42 -05:00
Bruno Roemers
c074d6827f Merge remote-tracking branch 'upstream/main' into w2p-78407_allow-html-in-license-section 2021-04-14 19:06:44 +02:00
Tim Donohue
485a35eb1a Merge pull request #1098 from tdonohue/minor_theme_updates
Minor updates to base and dspace theme for Testathon.
2021-04-14 11:46:18 -05:00
Tim Donohue
9920aaba97 Merge pull request #1096 from atmire/fix-1094
Fix support for adding and removing relationships in relationship-only fields in the submission
2021-04-14 11:45:50 -05:00
Art Lowel
6d612c39c0 hide hint for relationship fields that aren't repeatable but do have a value 2021-04-14 17:51:25 +02:00
Kristof De Langhe
43e9b145b9 78406: Test fixes 2021-04-14 17:51:25 +02:00
Art Lowel
56a54ae1c9 don't hide the lookup button for virtual relationship fields 2021-04-14 17:51:25 +02:00
Art Lowel
a4a747e922 fix issue where the submission form wouldn't update after a relationship was added 2021-04-14 17:51:25 +02:00
Tim Donohue
ef8e66546b Minor updates to default and dspace theme for Testathon. Also updating DuraSpace to LYRASIS in several places. 2021-04-14 10:50:21 -05:00
Tim Donohue
9c0c1b408c Merge pull request #1100 from atmire/link-webdriver-version-to-chrome-version
Sync webdriver and chrome versions
2021-04-14 10:40:50 -05:00
Art Lowel
6e7fe85b47 use the chromedriver npm package to download the webdriver version compatible with the installed chrome version 2021-04-14 17:13:26 +02:00
Bruno Roemers
59560b993c 78407: Allow html in submission license section 2021-04-14 10:45:43 +02:00
Tim Donohue
edc4753efc Merge pull request #1092 from 4Science/CST-3782-final-adjustments
Repeatable fields with look up still broken in some cases
2021-04-13 11:42:49 -05:00
Alessandro Martelli
31e4aa788e [CST-3782] lookup click doesn't clear the plain value 2021-04-13 13:37:04 +02:00
Alessandro Martelli
b537f70d7b [CST-3782] possibility to remove the only relationship 2021-04-12 10:04:49 +02:00
Tim Donohue
3bd5f3fa09 Merge pull request #1063 from atmire/simple-dspace-theme
Minimal 'dspace' theme
2021-04-09 09:16:58 -05:00
Kristof De Langhe
3504feedf3 78243: edit item page fine-grained permission checks - mocks + tests 2021-04-09 13:34:04 +02:00
Alessandro Martelli
4e21bdaf1f [CST-3782] repeatable with lookup fixes 2021-04-09 10:16:56 +02:00
Tim Donohue
e74c8f4daf Merge pull request #1004 from atmire/w2p-76150_Add-a-bitstream-download-page
Bitstream download page
2021-04-08 12:23:43 -05:00
Kristof De Langhe
a2e00bbd9f 78243: edit item page fine-grained permission checks 2021-04-08 17:54:27 +02:00
Alessandro Martelli
23fe338c5d [CST-4009] fix sort options on pagination change 2021-04-08 16:18:31 +02:00
Alessandro Martelli
1cbd41ef38 Merge branch 'main' into CST-4009
# Conflicts:
#	src/app/core/shared/search/search-configuration.service.ts
#	src/app/core/shared/search/search.service.ts
#	src/app/shared/search/search-settings/search-settings.component.ts
2021-04-08 15:51:05 +02:00
Alessandro Martelli
d54b7d9f7c [CST-4009] fix sort options on pagination change 2021-04-08 15:43:07 +02:00
Art Lowel
9bf2465ee8 change the font and overlay color on the home-page background image to improve readability 2021-04-08 14:18:13 +02:00
Kristof De Langhe
9c85328b17 77998: xdescribe fixes 2021-04-07 15:45:22 +02:00
Tim Donohue
3d51110217 Merge pull request #1048 from atmire/w2p-76654_PaginationService
PaginationService
2021-04-06 12:12:51 -05:00
Tim Donohue
88f5a3d256 Merge pull request #1087 from atmire/w2p-77631_dropzone-issues
Submission dropzone issues [Fixed]
2021-04-06 11:22:03 -05:00
Giuseppe Digilio
b4686deb63 [CST-4009] Retrieve sort options also for search page 2021-04-06 17:49:06 +02:00
Art Lowel
7cbce550e2 remove commented out line 2021-04-06 17:28:19 +02:00
Art Lowel
6b7da66c81 update link href 2021-04-06 17:26:17 +02:00
Art Lowel
b8cb8f90b0 increase contrast to improve accessibility 2021-04-06 17:26:00 +02:00
Art Lowel
425f530f08 fix LGTM warnings 2021-04-06 16:58:37 +02:00
Art Lowel
3c93777e84 don't use CSR fallback when the headers are changed after the response is sent 2021-04-06 16:46:21 +02:00
Art Lowel
ff4bd59de0 use GET for shortlivedtoken requests on the server, POST on the client 2021-04-06 16:46:21 +02:00
Yana De Pauw
72ca74bdf3 Fix checkstyle issue 2021-04-06 16:46:21 +02:00
Yana De Pauw
99a96451b1 Update metadataservice citation tag to refer to new download page 2021-04-06 16:46:21 +02:00
Yana De Pauw
69c29407a2 Remove comment 2021-04-06 16:46:21 +02:00
Yana De Pauw
a1abface13 Fix lint issues 2021-04-06 16:46:21 +02:00
Yana De Pauw
3137f3e6c1 76150: Implement feedback 2021-04-06 16:46:21 +02:00
Yana De Pauw
868b7ad37b 76150: Add a bitstream download page 2021-04-06 16:46:21 +02:00
Yana De Pauw
73319533d1 Implement feedback 2021-04-06 16:36:01 +02:00
lotte
3482db0686 Unreverted changes from #1053 2021-04-06 13:27:33 +02:00
lotte
b16a565f7c fixed dropzone layover issue 2021-04-06 13:20:21 +02:00
Yana De Pauw
acafae77bd Merge remote-tracking branch 'upstream/main' into w2p-76654_PaginationService 2021-04-06 10:43:20 +02:00
Alessandro Martelli
4d85c0270f [CST-4009] sorting options translations 2021-04-06 10:30:26 +02:00
Alessandro Martelli
9b8ada0326 [CST-4009] Discovery result sort options not reflecting what is configured 2021-04-06 10:06:15 +02:00
Michael Spalti
c37b31599c Merge remote-tracking branch 'upstream/main' into iiif-mirador 2021-04-02 16:35:54 -07:00
Michael Spalti
6f55225aee Removed unused variable. 2021-04-02 15:59:36 -07:00
Tim Donohue
9586428b12 Merge pull request #1083 from DSpace/revert-1053-w2p-77631_dropzone-issues
Revert "Submission dropzone issues"
2021-04-02 16:53:20 -05:00
Michael Spalti
247ae73c64 Merge branch 'main' into iiif-mirador 2021-04-02 14:41:50 -07:00
Tim Donohue
d7bd3f6f54 Revert "Submission dropzone issues" 2021-04-02 16:28:40 -05:00
Tim Donohue
335d6fb339 Merge pull request #1053 from atmire/w2p-77631_dropzone-issues
Submission dropzone issues
2021-04-02 10:19:16 -05:00
Art Lowel
cbee776fa4 fix issues with path separators in windows 2021-04-02 16:58:37 +02:00
Art Lowel
60d917bb8a style home-page-news 2021-04-02 16:58:29 +02:00
Art Lowel
619f4d74c2 make dspace the default theme 2021-04-02 16:29:38 +02:00
Art Lowel
fb90bf64d9 create simple dspace theme based on mantis 2021-04-02 16:29:38 +02:00
Tim Donohue
0f7a32d0df Merge pull request #1055 from tdonohue/entity_type_storage
(Angular UI) Rename / move 'relationship.type' metadata field to 'dspace.entity.type'
2021-04-02 09:22:53 -05:00
Art Lowel
77a85793b6 delete mantis theme 2021-04-02 16:21:36 +02:00
Giuseppe
7402286954 #728 accessibility theming (#1057)
* [CST-3763] Change base theme colors

* [CST-3763] added new custom variables

* [CST-3763] applied changes to the header in order to have two different navbar

* [CST-3763] applied changes to breadcrumbs navbar

* [CST-3763] fix sidebar colors

* [CST-3763] applied changes footer in order to have two different sections

* [CST-3763] change home news jumbotron background color

* [CST-3763] fix issue with search-navbar.component z-index

* [CST-3763] fix issue with search-form.component that didn't use the brand colo parameter

* [CST-3763] fix issue with menu navbar on small window view

* [CST-3763] changed position for browse all button in the access control pages

* [CST-3763] Change form.component in order to have possibilities to display better additional form buttons

* [CST-3763] Change confirmation-modal.component in order to allow different colors and icons for confirm button

* [CST-3763] added confirmation icon

* [CST-3763] fixed accessibility for admin access control components

* [CST-3763] Added placeholder for search boxes

* [CST-3763] Added repository logo alt label

* [CST-3763] Adjust notification icons

* [CST-3763] Fix issue with hideReturnButton param in edit-comcol-page.component that was not initialized on page refresh

* Accessibility fix

* [CST-3763] Adjust usability for community/collection edit

* [CST-3763] fix error while running test

* [CST-3763] Added dynamically a title prefix to all dspace page

* [CST-3763] add breadcrumbs to the page where are missing

* [CST-3763] fixed failed tests

* [CST-3763] fixed failed e2e test

* [CST-3763] fixed failed e2e test

* Buttons fixes for accessibility

* [CST-3973] fixed issue with redirect after changing language

* Buttons and sections fixes for accessibility

* Buttons and sections fixes for accessibility

* [CST-3763] fixed colors for chips component

* [CST-3977] fixed issue with selecting a tag submission field

* [CST-3763] add breadcrumbs to the page where are missing

* [CST-3763] fixed edit workflowitem buttons color

* [CST-3977] removed unintentional committed log

* [CST-3763] Fix issue with tab selection in item edit page

* [CST-3763] Fix position of back button in the item edit page

* [CST-3763] icon and colors for search and browse all buttons

* [CST-3763] added atkinson font

* [CST-3763] remove dspace logo from home news

* [CST-3763] fix buttons colors for administrative search

* [CST-3763] Change background color for user menu

* [CST-3763] remove gradient from home page news component

* [CST-3763] fix issue with edit dso button

* [CST-3763] revert color schema

* [CST-3763] remove Atkinson-Hyperlegible font

* [CST-3763] fix use of header-logo-height variable

* [CST-3763] fix homepage link color

* [CST-3763] fix contrast color issue for navbar menu entries

* [CST-3763] add variable to show/hide top footer container

* [CST-3763] change dso edit button style

* [CST-3763] ensure to use "back" and "save" labels

* [CST-3763] Remove border from header

* [CST-3763] Change header in order to have only navigation bar in a single row

* Update src/app/root/root.component.html

Co-authored-by: Art Lowel <art.lowel@gmail.com>

* [CST-3763] Fix issue with wrong grid-breakpoints that cause issue on navbar collapsing

* [CST-3763] Fix issue with language dropdown when navbar is collapsed

* [CST-3763] Fix issue after merging

Co-authored-by: Matteo Perelli <matteo.perelli@4science.it>
Co-authored-by: Art Lowel <art.lowel@gmail.com>
2021-04-02 09:14:56 -05:00
Giuseppe Digilio
13c239cbc3 Add isSectionTypeAvailable method and use it to check if upload section is available 2021-04-02 15:58:02 +02:00
Michael Spalti
3bc7739098 Minor fix in module. 2021-04-01 16:02:28 -07:00
Michael Spalti
ce11ae2480 Merge branch 'main' into iiif-mirador 2021-04-01 16:01:08 -07:00
Michael Spalti
3744abb26f Allow canvas side panel on all views. 2021-04-01 15:04:40 -07:00
Tim Donohue
63edb7b7d0 Merge pull request #1066 from 4Science/CSTPER-321-deleteitem
Error deleting an item when its entity type has no relations
2021-04-01 14:07:35 -05:00
Tim Donohue
1dd1c98846 Merge pull request #1025 from 4Science/CST-3782-fix-repeatable-fields
Cst 3782 fix repeatable fields
2021-04-01 13:53:36 -05:00
Tim Donohue
3815bdbd8c Merge pull request #1041 from atmire/w2p-77205_issue-927-Non-site-admin-edit-authorization-group
Getting 401 when Community or Collection Administrator tries to edit Collection Authorization Group
2021-04-01 13:47:08 -05:00
Giuseppe Digilio
44b37f673a Merge remote-tracking branch 'origin/main' into CST-3782-fix-repeatable-fields
# Conflicts:
#	src/styles/_global-styles.scss
2021-04-01 20:07:06 +02:00
Giuseppe Digilio
94c0af5d86 [CST-3620] Remove drag and drop placeholder 2021-04-01 20:03:54 +02:00
Yana De Pauw
824ee029b3 Change p. to page and reverse id and pagination info 2021-04-01 16:28:20 +02:00
lotte
d3763ea642 cleaned up debugging remnants 2021-04-01 14:23:02 +02:00
lotte
7c5dbae549 removed unnecessary import 2021-04-01 12:38:43 +02:00
lotte
41e1d06594 applied feedback for submission upload section 2021-04-01 12:23:26 +02:00
Tim Donohue
ae240ff36b After rebase, replace new references to relationship.type with dspace.entity.type 2021-03-31 15:33:01 -05:00
Tim Donohue
c308e5fd4d Other minor corrections of "relationship type" to "entity type" 2021-03-31 15:23:51 -05:00
Tim Donohue
d36ac7e6fa Rename / move 'relationship.type' metadata field to 'dspace.entity.type' 2021-03-31 15:23:51 -05:00
Tim Donohue
cfbf587184 Merge pull request #1076 from atmire/1067-blank-qualifier
UI sends wrong request when creating new metadata field without qualifier
2021-03-31 12:42:29 -05:00
Tim Donohue
1b1421bc79 Merge pull request #1060 from atmire/w2p-77215_lgtm-issues-and-sanitization
Fix or address string escaping / replacement issues reported by LGTM
2021-03-31 12:17:30 -05:00
Tim Donohue
4475d59bbf Merge pull request #888 from qultoltd/#885-media-viewer
#885 media viewer
2021-03-31 12:17:15 -05:00
Alessandro Martelli
08afa4723b [CST-3782] patch add entire array on item remove 2021-03-31 15:21:32 +02:00
Raf Ponsaerts
947d792f27 Fixed * replace all 2021-03-31 14:49:32 +02:00
lotte
7afcebfd11 changed replace to global replace 2021-03-31 13:51:40 +02:00
Dániel Péter Sipos
ff8ff7f496 #885 fix media image viewer 2021-03-31 13:21:33 +02:00
Alessandro Martelli
f9e80ea288 [CST-3782] restored correct drag styles after merge 2021-03-31 12:28:14 +02:00
Alessandro Martelli
052dbdaf1e [CST-3782] patch add full array in case of DynamicRowArrayModel 2021-03-31 12:26:45 +02:00
Alessandro Martelli
8c60bd4280 [CST-3782] restored submission save after openLookup 2021-03-31 12:26:41 +02:00
Alessandro Martelli
d47660b5c2 [CST-3782] possibility to configure the isDraggable feature to DynamicRowArrayModel 2021-03-31 12:25:47 +02:00
Alessandro Martelli
d224333a1c [CST-3782] added hint to the last entity value 2021-03-31 12:25:42 +02:00
Alessandro Martelli
88556c40f6 Merge remote-tracking branch 'origin/main' into CST-3782-fix-repeatable-fields 2021-03-31 12:23:16 +02:00
Michael Spalti
97e8c9b955 Added title to the mirador iframe. 2021-03-30 16:03:02 -07:00
Michael Spalti
0250b182b6 Changed property name 2021-03-30 15:42:51 -07:00
Michael Spalti
e4a51af46e Merge branch 'iiif-mirador' of https://github.com/mspalti/dspace-angular into iiif-mirador 2021-03-30 14:02:11 -07:00
Michael Spalti
c0aac8a5e9 Added mobile breakpoint for mirador viewer configuration. 2021-03-30 13:46:28 -07:00
Michael Spalti
f52ed2a218 Updated iiif component tests. 2021-03-30 13:41:11 -07:00
Michael Spalti
0330b3ea4c yarn.lock 2021-03-30 10:54:03 -07:00
Michael Spalti
5a8f38abdc Updates to iiif list elements. 2021-03-30 10:54:03 -07:00
Michael Spalti
45c6f4eb84 Added iiif labels to en.json5 2021-03-30 10:54:03 -07:00
Michael Spalti
187ae50d29 Added iiif entity module to parent item module. 2021-03-30 10:54:03 -07:00
Michael Spalti
2d694a864e Added mirador files for webpack build 2021-03-30 10:54:03 -07:00
Michael Spalti
71851fe141 Added FileSectionComponent to shared module. 2021-03-30 10:54:03 -07:00
Michael Spalti
23e7675171 Added iiif entity group. 2021-03-30 10:54:03 -07:00
Michael Spalti
42802bd543 Added mirador route to express server. 2021-03-30 10:54:03 -07:00
Michael Spalti
c02983c889 Added webpack configuration for mirador. 2021-03-30 10:54:03 -07:00
Michael Spalti
3b5df5d432 Added mirador deps and scripts to package.json 2021-03-30 10:54:03 -07:00
Tim Donohue
ea3886bbfa Merge pull request #1065 from atmire/w2p-77583_Issue-3113_Fix-item-handle-redirect
Handle redirect for items not working fix
2021-03-30 09:50:05 -05:00
Dániel Péter Sipos
3577335399 #885 revert and fix width 2021-03-30 13:48:03 +02:00
Dániel Péter Sipos
861192ea25 Merge remote-tracking branch 'upstream/main' into #885-media-viewer 2021-03-30 10:29:20 +02:00
Yura Bondarenko
e5d52ce96a Merge remote-tracking branch 'upstream/main' into w2p-77205_issue-927-Non-site-admin-edit-authorization-group 2021-03-30 09:25:11 +02:00
Tim Donohue
e4400acfd7 Merge pull request #1075 from atmire/Edit-item-page-permissions-fixes
Edit item page permissions fixes
2021-03-29 12:01:18 -05:00
Tim Donohue
3e0daefc9b Merge pull request #1064 from atmire/w2p-77742_Collection-item-template-bugfixes
Bugs on Collection Item Template fix
2021-03-29 11:27:58 -05:00
Tim Donohue
436b95222b Merge pull request #1077 from atmire/fix-themed-submission
Fix issue where the themed submission page would crash
2021-03-29 11:05:13 -05:00
Art Lowel
05545f703b fix issue where the themed submission page would crash because the component couldn't be found 2021-03-29 17:09:26 +02:00
Yana De Pauw
a4076ed1fd Fix lgtm issue 2021-03-29 16:13:20 +02:00
Yana De Pauw
afe345ebac 76654: Implement feedback 2021-03-29 15:31:27 +02:00
Yura Bondarenko
61767c196c 77205: Additional authorization checks for sidebar menu items 2021-03-29 14:01:36 +02:00
Michael Spalti
aa27ddad02 yarn.lock 2021-03-27 13:44:01 -07:00
Michael Spalti
f377347dcc Updates to iiif list elements. 2021-03-27 13:37:07 -07:00
Michael Spalti
2ec1096e21 Added iiif labels to en.json5 2021-03-27 13:35:11 -07:00
Michael Spalti
30ff10ea90 Added iiif entity module to parent item module. 2021-03-27 13:34:26 -07:00
Michael Spalti
6081dabe48 Added mirador files for webpack build 2021-03-27 10:18:15 -07:00
Michael Spalti
27afd4192f Added FileSectionComponent to shared module. 2021-03-27 10:12:18 -07:00
Michael Spalti
c6bc21f9db Added iiif entity group. 2021-03-27 10:09:22 -07:00
Michael Spalti
7e1c441ee8 Added mirador route to express server. 2021-03-27 10:03:20 -07:00
Michael Spalti
a56ebad133 Added webpack configuration for mirador. 2021-03-27 10:01:50 -07:00
Michael Spalti
156e9a08b0 Added mirador deps and scripts to package.json 2021-03-27 09:57:45 -07:00
Dániel Péter Sipos
064c43a763 #885 fix merge conflict 2021-03-26 18:01:12 +01:00
Dániel Péter Sipos
97e1b1dee1 Merge branch 'main' into #885-media-viewer
# Conflicts:
#	src/app/+item-page/item-page.module.ts
#	src/app/+item-page/simple/item-types/shared/item.component.ts
#	src/app/app.component.scss
#	src/environments/mock-environment.ts
2021-03-26 16:57:07 +01:00
Tim Donohue
d7daaf4188 Merge pull request #1042 from atmire/add-themeable-components
Make all non-admin page-level components themeable
2021-03-25 15:20:18 -05:00
Tim Donohue
a2450b678e Merge pull request #1056 from atmire/stale-issue
Fix issue where stale RemoteData is emitted first
2021-03-25 14:44:24 -05:00
lotte
6cc56176b2 fixed path for custom theme item-page 2021-03-25 17:27:34 +01:00
Art Lowel
d7a0f27f08 remove workaround 2021-03-25 17:23:27 +01:00
Art Lowel
4a15720b4b rewrite all comcoldataservice tests in hopes of catching the one that sometimes fails at random 2021-03-25 17:22:02 +01:00
Art Lowel
9964f07ff6 rewrite community scope test that sometimes failed at random 2021-03-25 17:22:02 +01:00
Art Lowel
2f7060a752 fix issue where stale remotedata objects could be returned first from findBy methods on dataservices 2021-03-25 17:22:02 +01:00
Samuel
0c99557010 fix #1067 UI sends wrong request when creating new metadata field without qualifier 2021-03-24 17:39:03 +01:00
lotte
623688304d removed unused import 2021-03-24 15:30:54 +01:00
lotte
029308b52f Added missing typedoc 2021-03-24 15:06:27 +01:00
lotte
650f7106c2 removed unused imports 2021-03-24 14:36:23 +01:00
lotte
11f3962326 added tests 2021-03-24 14:33:32 +01:00
lotte
8d6156df37 77818: edit page permission fixes 2021-03-23 16:30:38 +01:00
Tim Donohue
a5bc6c1bf7 Merge pull request #1062 from atmire/w2p-77643_fix-trail-not-showing-on-item-pages
Fix trail not showing on item pages
2021-03-22 14:44:36 -05:00
Tim Donohue
a9f553a8bb Merge pull request #1061 from atmire/w2p-77472_unclickable-title-in-search-list
Unclickable title in search list fix
2021-03-22 12:36:58 -05:00
Yura Bondarenko
5018d36377 Fix lint error 2021-03-19 14:22:59 +01:00
lotte
ff1014779e fix lgtm issue 2021-03-18 18:02:37 +01:00
lotte
df5666e52f sticky progress bar for uploads in submission 2021-03-18 18:02:37 +01:00
lotte
7d774d43e8 fixed dropzone issues 2021-03-18 18:02:37 +01:00
Raf Ponsaerts
3a0dc277e4 fix lgtm issues 2021-03-18 18:02:07 +01:00
Raf Ponsaerts
01def4e8e4 Fixed other item types title 2021-03-18 18:02:07 +01:00
lotte
b833407dd1 77472: Fix unclickable titles in search lists 2021-03-18 18:02:07 +01:00
lotte
0488cd6b45 Solved lgtm and regex sanitization issues 2021-03-18 18:01:42 +01:00
Raf Ponsaerts
06cac3203c fixed compiling issue 2021-03-18 16:08:43 +01:00
Raf Ponsaerts
1a9a6cf03c Merge remote-tracking branch 'dspace/main' into w2p-77205_issue-927-Non-site-admin-edit-authorization-group 2021-03-18 15:55:02 +01:00
lotte
c19ee0d49e Updated TypeDoc for themed components 2021-03-18 15:46:53 +01:00
lotte
b12e616ff6 Added themable breadcrumbs 2021-03-18 15:46:53 +01:00
lotte
d50bef9c8a Fixed LGTM import issues 2021-03-18 15:46:53 +01:00
lotte
1d4c77e485 Added themable header, footer and navbar 2021-03-18 15:46:53 +01:00
lotte
f5a34bb14e fixed lgtm issues 2021-03-18 15:46:53 +01:00
Art Lowel
05aaa5400d fix lint issues 2021-03-18 15:46:53 +01:00
lotte
d3dd8fb565 Finished themeable components 2021-03-18 15:46:53 +01:00
lotte
cddbdbfed7 77350: wip 2021-03-18 15:46:53 +01:00
Yana De Pauw
1c4763b409 77349: Add additional properties and update comment 2021-03-18 15:46:53 +01:00
Art Lowel
2a354c87e1 fix issue with themed ConfigurationSearchPageComponent 2021-03-18 15:46:53 +01:00
Yana De Pauw
8b7a33bff2 77349: Add themeable components - pt. 1 2021-03-18 15:46:53 +01:00
Art Lowel
66463cfc04 Merge pull request #1068 from tdonohue/github_actions_fixes
Ensure REST API is up/available for e2e tests
2021-03-18 15:41:25 +01:00
Tim Donohue
e43955903f Merge pull request #1040 from atmire/wZp-77237-overwriteMerge-config
Environment files merging with overwriteMerge
2021-03-18 09:32:35 -05:00
Tim Donohue
43d2351ada Wait on /api/core/sites to also ensure database is up 2021-03-18 09:01:44 -05:00
Yana De Pauw
659117dfbd Fix import itssue 2021-03-18 14:55:39 +01:00
Yana De Pauw
c584415e8a Merge remote-tracking branch 'upstream/main' into w2p-76654_PaginationService 2021-03-18 14:55:23 +01:00
Raf Ponsaerts
b228ae5bb6 Merge remote-tracking branch 'dspace/main' into w2p-77205_issue-927-Non-site-admin-edit-authorization-group
Conflicts:
	src/app/+collection-page/collection-page.component.html
	src/app/+collection-page/collection-page.component.ts
	src/app/+community-page/community-page.component.html
	src/app/+community-page/community-page.component.ts
	src/app/access-control/group-registry/group-form/members-list/members-list.component.ts
2021-03-18 10:37:06 +01:00
Tim Donohue
ba4c7a8e88 Add a step to wait until REST API is ready (returns 200) 2021-03-17 15:52:32 -05:00
Tim Donohue
12f8e82aa2 Add step to verify REST API is up/available for e2e tests 2021-03-17 15:02:59 -05:00
Alessandro Martelli
34990c6f13 [CSTPER-321] Delete an item is not working 2021-03-17 17:11:04 +01:00
Tim Donohue
1115c58537 Merge pull request #1049 from atmire/w2p-77178_Support-embed-sizes-and-use-in-ComCol-tree
Use of embed sizes in the ComCol tree
2021-03-16 09:47:24 -05:00
Yura Bondarenko
6fabf436e3 77583: Specify id type ~ /api/pid/find?id=hdl:... 2021-03-16 15:01:35 +01:00
Kristof De Langhe
fd6605cc27 77742: Collection template-item loading indicator and error alert 2021-03-16 13:18:11 +01:00
Kristof De Langhe
0465ce0bc8 77742: Collection item-template bugfixes 2021-03-16 13:03:34 +01:00
Marie Verdonck
e033cdf0f4 PR #1049: Reduced number of communities/collections in comcol tree retrieved per page to 20 2021-03-15 20:57:51 +01:00
Bruno Roemers
2e7e041f3a 77643: Update tests 2021-03-15 16:37:45 +01:00
Bruno Roemers
37d46f7b18 77643: BUGFIX: Remove unnecassary dependencies 2021-03-15 15:07:55 +01:00
Bruno Roemers
51e1ac09e7 77643: BUGFIX: Init BreadcrumbsService before routing 2021-03-15 11:40:24 +01:00
Tim Donohue
d1ab193f5d Merge pull request #1001 from atmire/Item-page-redirects
DS-4283: (Google Scholar) Provide Entity Type Label/Name as part of URL path
2021-03-12 13:13:46 -06:00
Art Lowel
4280475364 Merge branch 'main' into Item-page-redirects 2021-03-12 18:19:11 +01:00
Bruno Roemers
c2ca35c522 77643: WIP: Refactor BreadcrumbsComponent into service 2021-03-12 15:36:00 +01:00
Bruno Roemers
7b455c47c8 77643: Rename BreadcrumbsService to BreadcrumbsProviderService 2021-03-12 11:06:42 +01:00
Bram Luyten
b5c1b8cb14 Merge pull request #1052 from bram-atmire/PR1052-i18n-catalogs-update
Sync up translations with latest changes to en.json5
2021-03-11 19:00:38 +01:00
Bram Luyten
b7dbfb9745 Sync up translations with latest changes to en.json5 2021-03-11 18:51:32 +01:00
Bram Luyten
c5d7826a72 Merge pull request #1051 from bram-atmire/PR1050-PT
Addressing Issue 570 - Split of Portuguese translation catalogs
2021-03-11 17:59:34 +01:00
Bram Luyten
2d95d58c3c Addressing Issue 570 - Split of Portuguese translation catalogs 2021-03-11 17:56:50 +01:00
Bram Luyten
28c38972b0 Merge pull request #828 from marciofoz/marciofoz-patch-1
Update pt.json5
2021-03-11 17:36:34 +01:00
marciofoz
42519fc7a0 Update pt.json5 2021-03-11 17:29:19 +01:00
Bram Luyten
bff92f1bc9 Merge pull request #1012 from akoscomp/main
Translate new lines to Hungarian
2021-03-11 17:19:09 +01:00
Bram Luyten
6bbb2aab6f Merge pull request #1018 from reetagithub/main
Update fi.json5
2021-03-11 16:57:57 +01:00
Marie Verdonck
5ecab7de12 77178: Tests for getEmbedSizeParams selector 2021-03-11 16:41:22 +01:00
Yana De Pauw
1172869549 Fix LGTM issues 2021-03-11 15:45:04 +01:00
Yana De Pauw
b4e40c820f Fix issue with clear pagination test 2021-03-11 12:47:44 +01:00
Yana De Pauw
e73f4ca57a 76654: Remove console.logs, fix some issues 2021-03-11 12:09:55 +01:00
Art Lowel
da43a56a0b fix error when state is undefined 2021-03-11 12:09:55 +01:00
Yana De Pauw
b18f9c7c9f Add tests and fix tests 2021-03-11 12:09:54 +01:00
Yana De Pauw
d07f44ac41 76654: Feedback to pagination 2021-03-11 12:08:04 +01:00
Yana De Pauw
fab226912f 76654: PaginationService 2021-03-11 12:08:04 +01:00
Giuseppe Digilio
b3afaa55c7 Merge remote-tracking branch 'origin/main' into CST-3782-fix-repeatable-fields
# Conflicts:
#	src/app/shared/form/builder/ds-dynamic-form-ui/models/array-group/dynamic-form-array.component.scss
2021-03-11 09:29:40 +01:00
Tim Donohue
11b6b3c929 Merge pull request #1035 from atmire/dynamic-theme-support
Add support for dynamic themes
2021-03-10 15:11:14 -06:00
Art Lowel
c004365cee fix tests after merge 2021-03-10 17:33:20 +01:00
Alessandro Martelli
996d54f37e [CST-3782] item deletion on lookup disabled 2021-03-10 17:11:53 +01:00
Art Lowel
95c43c1b00 Merge branch 'main' into dynamic-theme-support 2021-03-10 16:59:03 +01:00
Tim Donohue
31c557062f Merge pull request #978 from 4Science/CST-3620
Update /claimedtasks and /pooltasks to support reloading of workflow actions on individual WorkflowItems
2021-03-10 09:11:11 -06:00
Alessandro Martelli
28894f6764 [CST-3782] lookup search icon 2021-03-10 11:24:42 +01:00
Art Lowel
f1fa69bb3b use embed size in alternative link 2021-03-09 14:33:05 +01:00
Art Lowel
0ae4016f91 fix find-replace mistake 2021-03-08 18:20:41 +01:00
Art Lowel
75c9be026e remove css variables in media queries 2021-03-08 17:51:03 +01:00
Art Lowel
afa7b67532 roll back test changes 2021-03-08 12:10:56 +01:00
Marie Verdonck
fead3bc3fe 77178: Support embed sizes and use them in the ComCol tree 2021-03-05 13:27:42 +01:00
Alessandro Martelli
5201b4a31d [CST-3782] qualdrop move restored 2021-03-04 18:26:03 +01:00
Raf Ponsaerts
83819c5b18 fixed lint issues 2021-03-04 14:32:14 +01:00
Raf Ponsaerts
7a1b98ce83 remove unused import 2021-03-04 13:30:07 +01:00
Alessandro Martelli
5eb0a8744f [CSTPER-3782] custom move events handled correctly 2021-03-04 12:36:57 +01:00
Raf Ponsaerts
4f08ad453f removed whitelines 2021-03-04 09:48:27 +01:00
Tim Donohue
e4454de78c Merge pull request #1024 from tdonohue/add_csrf_support_to_uploader
Add CSRF support to uploader Component
2021-03-03 11:26:05 -06:00
Art Lowel
1bb2d5da29 add support for static assets in theme folders 2021-03-03 17:43:37 +01:00
Art Lowel
7a42a18bfb re-comment css style override example that got accidentally uncommented 2021-03-02 10:03:58 +01:00
Tim Donohue
82035516a7 Bug fix. Ensure onCompleteItem and onErrorItem both reset the CSRF Header (for next item in queue), as onBeforeUploadItem does not seem to be called for every item in the queue. 2021-03-01 16:51:56 -06:00
Art Lowel
2b03d22498 update mock data 2021-03-01 14:31:26 +01:00
Kristof De Langhe
91ca5af1d4 additional theme support tests 2021-03-01 10:38:12 +01:00
Art Lowel
5a6e4b1278 Add support for dynamic themes 2021-03-01 10:38:05 +01:00
Tim Donohue
4a72cb033b Bug fix. Ensure we check for changed token in empty responses. Also ensure we send token before each upload (as it might change between uploads) 2021-02-26 12:39:33 -06:00
Tim Donohue
59676b7c52 Fix broken tests via a new HttpXsrfTokenExtractorMock class. 2021-02-26 12:39:33 -06:00
Tim Donohue
5589016a4e Add XSRF support to uploader component 2021-02-26 12:39:33 -06:00
Tim Donohue
eb7d110683 Export all XSRF constants so they can be used elsewhere 2021-02-26 12:39:33 -06:00
Tim Donohue
70dac6bc8f Merge pull request #1038 from atmire/remove-ng-high-memory
Remove ng-high-memory & remove Node v10 support
2021-02-26 12:32:41 -06:00
lotte
913ead6019 77237: overwriteMerge environment files merge 2021-02-26 17:27:02 +01:00
Art Lowel
f54e582297 bump supported node versions to 12 and 14 2021-02-26 16:24:31 +01:00
Yura Bondarenko
8b2db86268 77205: Workaround: add access_control parent section after child sections 2021-02-26 16:13:20 +01:00
Yura Bondarenko
e23e46b212 Revert "TESTING: sectionID argument to debug getComponentForMenu"
This reverts commit bfbe598bdd.
2021-02-26 16:13:20 +01:00
Yura Bondarenko
bfbe598bdd TESTING: sectionID argument to debug getComponentForMenu 2021-02-26 15:25:00 +01:00
Yura Bondarenko
7e0866afe7 77205: Fix leftover links to /admin/access-control/ 2021-02-26 11:15:17 +01:00
Yura Bondarenko
47adba98b5 77205: Extend FeatureAuthorizationGuard for isCommunityAdmin/isCollectionAdmin 2021-02-26 10:21:51 +01:00
Art Lowel
7e6755bd0a remove ng-high-memory 2021-02-26 10:17:16 +01:00
Yura Bondarenko
1c030e6bad 77205: Add unit tests for authorization-dependent admin menu content 2021-02-26 10:00:42 +01:00
Art Lowel
7a5fecb7a2 Merge pull request #1033 from tdonohue/i18n_cleanup
Cleanup duplicative or incorrect Angular UI i18n keys
2021-02-26 09:39:44 +01:00
Yura Bondarenko
3d4f8c5222 77205: Wrap all section-specific methods in createMenu 2021-02-26 08:33:28 +01:00
Tim Donohue
1537b4e444 Cleanup duplicative or incorrect i18n keys 2021-02-25 16:33:34 -06:00
Alessandro Martelli
a66ec43ccc [CST-3782] Disabled drag when only one value is present 2021-02-25 19:07:51 +01:00
Tim Donohue
4eb16c131c Merge pull request #1031 from tdonohue/fix_1005
Comment out Edit Item tabs which are not yet implemented.
2021-02-25 11:12:53 -06:00
Giuseppe Digilio
a6effcad34 [CST-3620] Changes to show lookup button next to the field 2021-02-25 17:09:33 +01:00
Yura Bondarenko
70e9bb1180 77205: Use existing admin authorization guards for comm/coll 2021-02-25 16:48:33 +01:00
Yura Bondarenko
3f4e032bb5 77205: Add Comm/Coll admin guards & authorization checks 2021-02-25 15:12:31 +01:00
Yura Bondarenko
d401a92a17 77205: Add CanManageGroupGuard & configure routing 2021-02-25 15:12:31 +01:00
Yura Bondarenko
801cea4062 77205: Separate access control section in admin sidebar 2021-02-25 15:12:31 +01:00
Yura Bondarenko
a8544a7f32 77205: Remove access-control from admin routes 2021-02-25 15:12:31 +01:00
Yura Bondarenko
d9eb05d40e 77205: Refactor admin-access-control to access-control 2021-02-25 15:12:31 +01:00
Yura Bondarenko
5eec2efa9c 77205: Move admin-access-control out of +admin 2021-02-25 15:12:31 +01:00
Giuseppe Digilio
ee07d42c9c [CST-3620] fix typo 2021-02-25 13:17:47 +01:00
Tim Donohue
518bbb2cc4 Merge pull request #1015 from atmire/869-submission-embargo-bug
fix #869 Submission embargo bug
2021-02-24 16:29:43 -06:00
Alessandro Martelli
975ef7ebd2 [CST-3782] Style refinements and qualdrop moves fixed 2021-02-24 15:34:21 +01:00
Tim Donohue
be96c6bee6 Comment out tabs which are not yet implemented. 2021-02-23 11:44:22 -06:00
Alessandro Martelli
523b7a497c [CSTPER-3620] Fixed workspace followlink and search filters update 2021-02-22 16:56:29 +01:00
Tim Donohue
2ff232f437 Merge pull request #1022 from atmire/w2p-76922_Search-filter-from-entity-page-carries-over-to-discovery
Fix: Search filter from entity page carries over to discovery
2021-02-19 16:33:40 -06:00
Giuseppe Digilio
c78cd9ad71 [CST-3620] Remove console logs 2021-02-19 13:09:38 +01:00
Giuseppe Digilio
27905b2038 [CST-3620] Fix issue with TasksService findByItem method that returns stale response when second request is made 2021-02-19 13:08:38 +01:00
Giuseppe Digilio
8b57610be4 [CST-3620] Add component destroy on reload of loaded object within the listable-object-component-loader.component.ts 2021-02-19 12:09:12 +01:00
Giuseppe Digilio
8e7fad43b8 [CST-3782] Fix issue with remove button when repeatable group has only one field 2021-02-19 10:49:58 +01:00
Giuseppe Digilio
797596dc45 [CST-3782] Fix issue with merge 2021-02-19 10:46:39 +01:00
Giuseppe Digilio
39b0088c99 Merge remote-tracking branch 'origin/main' into CST-3782-fix-repeatable-fields
# Conflicts:
#	src/app/shared/form/builder/ds-dynamic-form-ui/relation-lookup-modal/dynamic-lookup-relation-modal.component.spec.ts
#	src/app/shared/form/builder/ds-dynamic-form-ui/relation-lookup-modal/dynamic-lookup-relation-modal.component.ts
2021-02-19 10:27:26 +01:00
Tim Donohue
554dcde8bc Merge pull request #1017 from atmire/w2p-75832_Issue-962_fix-unnecessary-calls-creating-deleting-groups
Fix unnecessary calls when creating/deleting groups
2021-02-18 14:44:47 -06:00
Tim Donohue
777abff666 Merge pull request #984 from atmire/Submission-external-sources-limited-on-metadata-field
Submission external sources limited on metadata field
2021-02-18 14:03:00 -06:00
Giuseppe Digilio
42636c6f95 [CST-3782] Fix issue with dispatchOperationsFromRemoveEvent method 2021-02-18 09:58:06 +01:00
Tim Donohue
f3246fb948 Merge pull request #1014 from atmire/w2p-76634_google-analytics-tracking-id-from-backend
W2p 76634 google analytics tracking id from backend
2021-02-17 17:07:05 -06:00
Giuseppe Digilio
1901ace5a6 [CST-3782] Changes in order to display add more and lookup button at the end of the repeatable fields array 2021-02-17 20:25:46 +01:00
Alessandro Martelli
d208cf16fa [CST-3782] Drag drop restored 2021-02-17 17:57:29 +01:00
Giuseppe Digilio
151b02aeec [CST-3782] Make changes in order to remove template row in form's repeatable fields 2021-02-17 16:10:22 +01:00
Dániel Péter Sipos
ce7e76b609 #885 fix 2021-02-16 16:14:10 +01:00
Dániel Péter Sipos
3b2037a70f #885 ad doctype 2021-02-16 16:01:02 +01:00
Dániel Péter Sipos
4621c0be73 #885 add comment 2021-02-16 15:47:08 +01:00
Dániel Péter Sipos
d6ccf72119 #885 move size to css 2021-02-16 15:41:39 +01:00
Dániel Péter Sipos
80e5199e37 #885 add size to config 2021-02-16 15:07:06 +01:00
Dániel Péter Sipos
488075b9c2 Merge remote-tracking branch 'upstream/main' into #885-media-viewer 2021-02-16 14:03:14 +01:00
Yura Bondarenko
fd11ab3751 76922: Add unit tests for ConfigurationSearchPageComponent 2021-02-15 12:39:49 +01:00
Yura Bondarenko
4f0a630e87 76922: Reset router parameters on destroy ConfigurationSearchPageComponent 2021-02-15 11:47:34 +01:00
reetagithub
be09ea939c Update fi.json5
Due to different grammar in Finnish, removed comma from the key "uploader.or"
2021-02-15 10:29:51 +02:00
reetagithub
6b69f82d6d Update fi.json5
Changed the Finnish translations of two 'has files' translation keys, namely search.filters.filter.has_content_in_original_bundle.head and search.filters.applied.f.has_content_in_original_bundle
2021-02-15 09:56:39 +02:00
Kristof De Langhe
91b647e6e5 75940: Unused import fix 2021-02-11 17:42:53 +01:00
Kristof De Langhe
3f6e605cd7 Merge branch 'main' into w2p-75939_Item-links-by-entity
Conflicts:
	src/app/+item-page/edit-item-page/abstract-item-update/abstract-item-update.component.ts
2021-02-11 17:33:39 +01:00
Kristof De Langhe
216e09f889 75316: Feedback 2021-02-11 - import fixes 2021-02-11 17:04:38 +01:00
Marie Verdonck
dd241c86b2 75832: [Issue 962]: Fix no change in search result if no results & fix 404 messages at delete in registry 2021-02-11 12:47:29 +01:00
Andrew Wood
f0a710a9fc fix #869 Submission embargo bug 2021-02-11 10:46:45 +01:00
Alessandro Martelli
d015b6caef [CSTPER-3620] Workflow Actions refresh entire MyDSpace page instead of just WorkflowItem
Test fixes
2021-02-09 16:19:07 +01:00
Bruno Roemers
6424654e6e Fix LGTM Alert for PR #1014 2021-02-09 14:49:26 +01:00
Alessandro Martelli
5f6ad03f6f [CSTPER-3620] Workflow Actions refresh entire MyDSpace page instead of just WorkflowItem
Merge cache part 2
2021-02-09 14:42:38 +01:00
Alessandro Martelli
807d4f5fc7 Merge branch 'main' into CST-3620 2021-02-09 11:23:24 +01:00
Tim Donohue
942dd2e72e Merge pull request #977 from tdonohue/reenable_csrf_protection
Enable Customized CSRF Protection in Angular UI
2021-02-08 11:45:12 -06:00
Tim Donohue
e41a6c1292 Merge pull request #983 from atmire/collection-mapper
Collection mapper
2021-02-08 11:36:31 -06:00
Dániel Péter Sipos
1f566f7993 #885 fix merge error 2021-02-08 16:22:23 +01:00
Marie Verdonck
569f354370 75832: [Issue 962]: Members total in Group registry fixed with GroupDTO 2021-02-08 15:05:27 +01:00
Dániel Péter Sipos
398e9fccc5 Merge remote-tracking branch 'upstream/main' into #885-media-viewer 2021-02-08 10:57:40 +01:00
Tim Donohue
31b346d932 Bug fix: Ensure we also look for a change in XSRF token during error responses. 2021-02-05 15:53:27 -06:00
Tim Donohue
43c37c2b75 Update Logout to use POST instead of GET 2021-02-05 15:53:27 -06:00
Tim Donohue
5b23ffa2dc Add custom XSRF interceptor which works with cross domain requests, using new DSPACE-XSRF-TOKEN header 2021-02-05 15:53:26 -06:00
Tim Donohue
3f95b5009f Merge pull request #975 from atmire/cache-redesign-part-2
Cache redesign part 2
2021-02-05 15:35:36 -06:00
Art Lowel
8c0459241f apply cache changes to root dataservice 2021-02-05 17:56:59 +01:00
Art Lowel
1e94e7a5a9 Merge branch 'main' into cache-redesign-part-2 2021-02-05 17:40:32 +01:00
Art Lowel
2afc6a07f0 fix cache issues with edit metadata and resource policy pages 2021-02-05 17:37:59 +01:00
Tim Donohue
8e458554d8 Merge pull request #999 from 4Science/#997
Fix issue with import from external source page
2021-02-05 09:31:52 -06:00
Dániel Péter Sipos
7d02e763f4 Merge remote-tracking branch 'upstream/main' into #885-media-viewer 2021-02-05 13:54:15 +01:00
Nagy Akos
3044a91cae Match all lines with English version 2021-02-04 22:53:05 +02:00
Nagy Akos
6105e038b1 Translate new lines to Hungarian 2021-02-04 21:26:18 +02:00
Giuseppe Digilio
ce8e1efa48 Fix issue with comcol-data.service.spec.ts 2021-02-04 18:12:20 +01:00
Tim Donohue
22f5e0a78b Merge pull request #968 from atmire/w2p-74647_Add-meta-generator-page-header
Meta "generator" tag in page header
2021-02-04 10:25:10 -06:00
Bram Luyten
328eb8ac4c Merge pull request #834 from MixonZ/latvian-translation
latvian translation update
2021-02-04 17:17:37 +01:00
Dániel Péter Sipos
22afa57a26 #885 fix media 2021-02-04 17:12:41 +01:00
Mikus
8f54600a6e latvian translation updated 2021-02-04 16:54:24 +01:00
Sascha Szott
3143154d2b German translation fixes (#906)
Contributions to the german message keys by saschaszott
2021-02-04 16:45:50 +01:00
Bram Luyten
64f0a0afbf Merge pull request #705 from akoscomp/master
Add Hungarian translation
2021-02-04 16:24:29 +01:00
Bram Luyten
a6e91ea294 Corrected illegal characters/escaping in hungarian labels 2021-02-04 16:19:09 +01:00
Dániel Péter Sipos
9e0ef1d9dd Merge remote-tracking branch 'upstream/main' into #885-media-viewer
# Conflicts:
#	package.json
#	src/app/+item-page/item-page.module.ts
#	src/app/+item-page/simple/item-types/shared/item.component.ts
#	yarn.lock
2021-02-04 15:28:23 +01:00
Bram Luyten
21cd1a7220 Switching REST to api7.dspace.org and activating Hungarian translation 2021-02-04 14:50:32 +01:00
Nagy Akos
ac75b095c1 translate hu.json5 by Transylvanian Museum Society 2021-02-04 14:50:31 +01:00
Nagy Akos
ba690eeeb9 add Hungarian translation 2021-02-04 14:50:31 +01:00
Bram Luyten
4a5da6d913 Merge pull request #1008 from reetagithub/main
Add the Finnish translation keys of Dspace 7.0
2021-02-04 14:16:50 +01:00
Marie Verdonck
dde149acea 75832: [Issue 962]: Fix unnecessary calls creating/deleting groups - feedback 2021-02-04 12:11:18 +01:00
reetagithub
eb42b5f760 Update fi.json5
The rest of the Finnish translation keys from the third set from the beginning of year 2021.
2021-02-04 09:41:20 +02:00
Kristof De Langhe
9a0e2bf996 74647: Fixed tslint issues 2021-02-03 17:11:11 +01:00
Kristof De Langhe
ccf4afe2e1 Merge branch 'main' into w2p-74647_Add-meta-generator-page-header 2021-02-03 16:58:59 +01:00
Bruno Roemers
ed98e7e39d 76634: Bugfixes 2021-02-02 14:41:36 +01:00
Bruno Roemers
3a486eb81f 76634: Add documentation 2021-02-02 14:40:56 +01:00
Bruno Roemers
3f6cf777b6 76634: Update tests for AppComponent 2021-02-02 12:28:26 +01:00
Bruno Roemers
ce5da5723b 76634: Write tests for GoogleAnalyticsService 2021-02-02 11:54:52 +01:00
Bruno Roemers
20f896e939 76634: Inject document into GoogleAnalyticsService 2021-02-02 11:54:38 +01:00
Bruno Roemers
d574ffafa4 76634: Implement GoogleAnalyticsService 2021-02-01 19:10:15 +01:00
Alessandro Martelli
54c405994c [CSTPER-3620] Workflow Actions refresh entire MyDSpace page instead of just WorkflowItem
Lint
2021-01-29 19:31:54 +01:00
Alessandro Martelli
c65dfc7303 [CSTPER-3620] Workflow Actions refresh entire MyDSpace page instead of just WorkflowItem
Fixed test after angular 10 migration
2021-01-29 18:45:41 +01:00
Tim Donohue
d21cca2875 Merge pull request #1003 from atmire/fix-direct-csr
Fix prod mode with preboot disabled
2021-01-29 10:16:29 -06:00
Alessandro Martelli
5ef5a27e2b Merge branch 'main' into CST-3620
# Conflicts:
#	src/app/+my-dspace-page/my-dspace-page.module.ts
#	src/app/core/tasks/tasks.service.ts
#	src/app/shared/mydspace-actions/claimed-task/abstract/claimed-task-actions-abstract.component.ts
#	src/app/shared/mydspace-actions/claimed-task/approve/claimed-task-actions-approve.component.spec.ts
#	src/app/shared/mydspace-actions/claimed-task/edit-metadata/claimed-task-actions-edit-metadata.component.spec.ts
#	src/app/shared/mydspace-actions/claimed-task/reject/claimed-task-actions-reject.component.spec.ts
#	src/app/shared/mydspace-actions/claimed-task/return-to-pool/claimed-task-actions-return-to-pool.component.spec.ts
#	src/app/shared/mydspace-actions/claimed-task/switcher/claimed-task-actions-loader.component.spec.ts
#	src/app/shared/mydspace-actions/claimed-task/switcher/claimed-task-actions-loader.component.ts
#	src/app/shared/mydspace-actions/mydspace-actions.ts
#	src/app/shared/mydspace-actions/pool-task/pool-task-actions.component.spec.ts
#	src/app/shared/object-collection/shared/listable-object/listable-object-component-loader.component.spec.ts
#	src/app/shared/object-collection/shared/listable-object/listable-object-component-loader.component.ts
#	src/app/shared/object-detail/my-dspace-result-detail-element/claimed-task-search-result/claimed-task-search-result-detail-element.component.spec.ts
#	src/app/shared/object-detail/my-dspace-result-detail-element/pool-search-result/pool-search-result-detail-element.component.spec.ts
#	src/app/shared/object-list/my-dspace-result-list-element/claimed-search-result/claimed-search-result-list-element.component.spec.ts
#	src/app/shared/object-list/my-dspace-result-list-element/item-search-result/item-search-result-list-element-submission.component.spec.ts
#	src/app/shared/object-list/my-dspace-result-list-element/pool-search-result/pool-search-result-list-element.component.spec.ts
#	src/app/shared/object-list/my-dspace-result-list-element/workflow-item-search-result/workflow-item-search-result-list-element.component.spec.ts
#	src/app/shared/object-list/my-dspace-result-list-element/workspace-item-search-result/workspace-item-search-result-list-element.component.spec.ts
2021-01-29 16:02:07 +01:00
Art Lowel
4b69b48007 fix issue where the app wouldn't start in prod mode if preboot was disabled 2021-01-29 11:26:26 +01:00
Kristof De Langhe
fda24a3838 Merge branch 'main' into w2p-75939_Item-links-by-entity
Conflicts:
	src/app/+collection-page/collection-page.component.ts
2021-01-28 12:56:05 +01:00
Art Lowel
43eb15349b fix LGTM warnings 2021-01-27 18:25:03 +01:00
Art Lowel
15495902ab redirect back to the list after an eperson add, edit or delete 2021-01-27 18:09:36 +01:00
Marie Verdonck
f1407b7f5b 75832: Groups registry refactor 2021-01-27 17:59:26 +01:00
Art Lowel
892512192b fix issue where private files could no longer be downloaded 2021-01-27 17:32:15 +01:00
Art Lowel
0f5c3fdc92 fix issue where a bunch of unnecessary requests where made when creating or removing a metadata field 2021-01-27 17:20:38 +01:00
Tim Donohue
a64cb63d99 Merge pull request #979 from atmire/680-recent-submision-pagination-reload
680 Fix change event reference for recent submission
2021-01-27 10:18:55 -06:00
Kristof De Langhe
7ce8b3d460 75940: missing semicolons 2021-01-27 12:58:38 +01:00
Kristof De Langhe
694d45fd2c 75939: Encode and lowercase entity type url 2021-01-27 11:50:47 +01:00
Kristof De Langhe
1d9d174f87 75940: Item page redirects 2021-01-27 11:50:47 +01:00
Kristof De Langhe
8e75132086 75939: (edit) item links refactored to contain entity types 2021-01-27 11:50:47 +01:00
Yana De Pauw
1942e0e2ba 75895: Angular - Handle redirects 2021-01-27 11:44:12 +01:00
Yana De Pauw
f2da1fa59e 75894: Angular - Routing 2021-01-27 11:44:11 +01:00
Kristof De Langhe
d69bde1327 75316: TSlint error fix 2021-01-27 11:24:40 +01:00
Kristof De Langhe
28ffe18b07 75316: Build error fix 2021-01-27 11:20:07 +01:00
Kristof De Langhe
3c296620c6 v1.22.10 2021-01-27 10:43:14 +01:00
Kristof De Langhe
3ffef2bffa 75316: TSLint fix 2021-01-27 10:31:37 +01:00
Art Lowel
e4d518fca7 fix issue where a relationshiptype wouldn't be found if the subscriber unsubscribed before all types were checked 2021-01-27 10:31:36 +01:00
Kristof De Langhe
d13eabe386 75316: Test fixes 2021-01-27 10:29:55 +01:00
Kristof De Langhe
a08b515335 75316: Only show external sources when configured 2021-01-27 10:27:40 +01:00
Kristof De Langhe
64f726bf30 75316: Deselect relationship on failure + show only enabled externalSources 2021-01-27 10:27:40 +01:00
Andrew Wood
b143ea7e61 680 add typedocs to new interface 2021-01-26 11:41:28 -05:00
Andrew Wood
771183097c 680 Untype incorrectly typed params 2021-01-26 11:39:55 -05:00
Andrew Wood
ee2e3be057 680 Add paginationChangeEvent interface and move to PaginationComponent impl for event handling 2021-01-26 11:39:55 -05:00
Andrew Wood
a51055cc14 680 Fix change event reference for recent submission 2021-01-26 11:39:55 -05:00
Marie Verdonck
62bd8fd278 75413: test fixes 2021-01-26 14:56:07 +01:00
Art Lowel
8efbaebc9c fix issues regarding item and collection mappings 2021-01-26 14:06:19 +01:00
Marie Verdonck
dbfab94a47 75413: collection/item mapper pages as tab in edit pages 2021-01-26 14:04:15 +01:00
Art Lowel
17e8881380 fix LGTM warnings 2021-01-26 11:58:53 +01:00
Art Lowel
57547fda15 add additional tests for shouldDispatchRequest 2021-01-26 11:46:02 +01:00
Art Lowel
298250f654 fix issue where interceptors were executed multiple times for each request 2021-01-26 10:40:59 +01:00
Giuseppe Digilio
743bd0bba2 Fix issue with comcol-data.service.spec.ts 2021-01-26 10:29:23 +01:00
Giuseppe Digilio
653776f119 Fix issue with import from external source page 2021-01-26 09:06:44 +01:00
Art Lowel
d8e6ccf76a fix issue where facets would be empty if you went straight to a search url in prod mode 2021-01-25 18:54:29 +01:00
Tim Donohue
ac9b97d388 Merge pull request #996 from atmire/update-rest-hostname
Update the rest hostname to api7.dspace.org
2021-01-25 09:08:19 -06:00
Art Lowel
3b67efe09d fix group tests and fix issues with the process detail page 2021-01-25 15:39:56 +01:00
Art Lowel
a54275ae21 update the rest hostname to api7.dspace.org 2021-01-22 16:35:42 +01:00
reetagithub
b85c6a0aa1 Update fi.json5
New Finnish translations
2021-01-22 12:05:29 +02:00
Art Lowel
634836158b fix issues with the group edit page 2021-01-21 14:30:59 +01:00
Art Lowel
c66de4fe91 Cache redesign part 2 2021-01-20 17:43:40 +01:00
Tim Donohue
64ba6293c9 Merge pull request #970 from 4Science/upgrade_angular10
Upgrade angular10
2021-01-19 10:00:59 -06:00
Alessandro Martelli
2becaca1b0 [CSTPER-3620] Workflow Actions refresh entire MyDSpace page instead of just WorkflowItem
Fixes and debug log
2021-01-19 09:10:24 +01:00
Giuseppe Digilio
c2ba368b40 Fix metadata schema form layout 2021-01-18 19:35:50 +01:00
Giuseppe Digilio
1b1c7f7d2a Fix metadata field form layout 2021-01-18 19:35:35 +01:00
Art Lowel
3c26c61cde import dynamic components in admin search module 2021-01-18 16:57:30 +01:00
Art Lowel
4e826f7ee8 fix SSR injection context issue with Angulartics 2021-01-18 16:57:25 +01:00
Art Lowel
9db9539725 add dynamic item page components to ENTRY_COMPONENTS 2021-01-18 16:57:22 +01:00
Art Lowel
8df117f8ef add dynamic menu components to ENTRY_COMPONENTS 2021-01-18 16:57:19 +01:00
Art Lowel
0308c8bc8e Revert "replace menu decorators with switches to solve an issue where decorators were not loaded in time"
This reverts commit ece84332a0.
2021-01-18 16:57:15 +01:00
reetagithub
0d421a141f Merge pull request #4 from DSpace/main
New Finnish keys January 2021
2021-01-18 11:07:40 +02:00
Giuseppe Digilio
a27c10e980 Fix comment for submission autosave configuration 2021-01-15 18:22:01 +01:00
Giuseppe Digilio
debf70b0e5 Revert "Fix issue with submission save when auto save is enabled"
This reverts commit 2b2b6df9
2021-01-15 18:17:31 +01:00
Giuseppe Digilio
2b2b6df919 Fix issue with submission save when auto save is enabled 2021-01-15 18:09:45 +01:00
Giuseppe Digilio
31045ff156 Removed nested subscribe 2021-01-15 15:20:47 +01:00
Giuseppe Digilio
00153fa92f Removed providedIn attribute for services that don't need 2021-01-15 14:34:28 +01:00
Giuseppe Digilio
9aea3f20ea Fix issue with components that using a custom decorator are not loaded during CSR 2021-01-15 14:18:18 +01:00
Giuseppe Digilio
d8df9c46a5 Fix issue with workspaceitem and workflowitem detail search components 2021-01-15 14:05:40 +01:00
Giuseppe Digilio
44454ec378 import modules optimization 2021-01-14 19:44:46 +01:00
Giuseppe Digilio
3192d190bb change comments for @angular/localize import 2021-01-12 11:16:25 +01:00
Giuseppe Digilio
2b8f436634 changes to address feedback 2021-01-12 10:42:46 +01:00
Giuseppe Digilio
480653cf8f fix deprecated warning 2021-01-12 10:12:32 +01:00
Alessandro Martelli
258e48e9a2 [CSTPER-3620] Workflow Actions refresh entire MyDSpace page instead of just WorkflowItem
Text fix
2021-01-11 17:39:35 +01:00
Alessandro Martelli
2bd8084046 [CSTPER-3620] Workflow Actions refresh entire MyDSpace page instead of just WorkflowItem
Provided mock and stub instead of empty objects
2021-01-11 16:49:18 +01:00
Giuseppe Digilio
665e07ae1f Changes based on feedback 2021-01-08 14:56:28 +01:00
Giuseppe Digilio
aad23c8001 Remove circular dependencies 2021-01-08 11:12:45 +01:00
Giuseppe Digilio
21d275fc8d Removed unused imports 2021-01-08 09:58:17 +01:00
Giuseppe Digilio
ae18027669 Fix lint error 2021-01-08 09:17:16 +01:00
Giuseppe Digilio
e5af894077 Removed deprecated helper function async 2021-01-07 20:12:15 +01:00
Giuseppe Digilio
4d4e920f0d Merge remote-tracking branch 'origin/main' into upgrade_angular10
# Conflicts:
#	src/app/+admin/admin-access-control/epeople-registry/epeople-registry.component.spec.ts
#	src/app/+admin/admin-access-control/epeople-registry/epeople-registry.component.ts
#	src/app/+admin/admin-access-control/epeople-registry/eperson-form/eperson-form.component.spec.ts
#	src/app/+admin/admin-access-control/group-registry/group-form/group-form.component.spec.ts
#	src/app/+admin/admin-access-control/group-registry/group-form/members-list/members-list.component.spec.ts
#	src/app/+admin/admin-access-control/group-registry/group-form/subgroup-list/subgroups-list.component.spec.ts
#	src/app/+admin/admin-access-control/group-registry/groups-registry.component.ts
#	src/app/+admin/admin-import-metadata-page/metadata-import-page.component.ts
#	src/app/+admin/admin-registries/metadata-registry/metadata-registry.component.ts
#	src/app/+admin/admin-registries/metadata-schema/metadata-schema.component.ts
#	src/app/+admin/admin-search-page/admin-search-results/admin-search-result-grid-element/item-search-result/item-admin-search-result-grid-element.component.spec.ts
#	src/app/+admin/admin-search-page/admin-search-results/admin-search-result-list-element/item-search-result/item-admin-search-result-list-element.component.spec.ts
#	src/app/+bitstream-page/bitstream-page.resolver.ts
#	src/app/+bitstream-page/edit-bitstream-page/edit-bitstream-page.component.spec.ts
#	src/app/+bitstream-page/edit-bitstream-page/edit-bitstream-page.component.ts
#	src/app/+collection-page/collection-item-mapper/collection-item-mapper.component.ts
#	src/app/+collection-page/collection-page.component.ts
#	src/app/+collection-page/edit-collection-page/collection-roles/collection-roles.component.ts
#	src/app/+collection-page/edit-item-template-page/item-template-page.resolver.spec.ts
#	src/app/+collection-page/edit-item-template-page/item-template-page.resolver.ts
#	src/app/+item-page/edit-item-page/item-authorizations/item-authorizations.component.ts
#	src/app/+item-page/edit-item-page/item-bitstreams/item-bitstreams.component.spec.ts
#	src/app/+item-page/edit-item-page/item-bitstreams/item-bitstreams.component.ts
#	src/app/+item-page/edit-item-page/item-collection-mapper/item-collection-mapper.component.ts
#	src/app/+item-page/edit-item-page/item-private/item-private.component.ts
#	src/app/+item-page/edit-item-page/item-public/item-public.component.ts
#	src/app/+item-page/edit-item-page/item-reinstate/item-reinstate.component.ts
#	src/app/+item-page/edit-item-page/item-relationships/edit-relationship-list/edit-relationship-list.component.ts
#	src/app/+item-page/edit-item-page/item-relationships/item-relationships.component.ts
#	src/app/+item-page/edit-item-page/item-withdraw/item-withdraw.component.ts
#	src/app/+item-page/simple/item-types/shared/item-relationships-utils.ts
#	src/app/+my-dspace-page/collection-selector/collection-selector.component.spec.ts
#	src/app/+search-page/search-tracker.component.ts
#	src/app/app-routing.module.ts
#	src/app/community-list-page/community-list-service.ts
#	src/app/community-list-page/community-list.reducer.spec.ts
#	src/app/core/auth/auth-response-parsing.service.spec.ts
#	src/app/core/auth/auth.interceptor.spec.ts
#	src/app/core/browse/browse.service.spec.ts
#	src/app/core/browse/browse.service.ts
#	src/app/core/cache/builders/link.service.spec.ts
#	src/app/core/cache/builders/remote-data-build.service.ts
#	src/app/core/cache/object-cache.service.spec.ts
#	src/app/core/cache/response.models.ts
#	src/app/core/data/base-response-parsing.service.ts
#	src/app/core/data/bitstream-data.service.ts
#	src/app/core/data/bitstream-format-data.service.ts
#	src/app/core/data/bundle-data.service.spec.ts
#	src/app/core/data/bundle-data.service.ts
#	src/app/core/data/change-analyzer.ts
#	src/app/core/data/collection-data.service.spec.ts
#	src/app/core/data/collection-data.service.ts
#	src/app/core/data/comcol-data.service.spec.ts
#	src/app/core/data/comcol-data.service.ts
#	src/app/core/data/data.service.ts
#	src/app/core/data/entity-type-data.service.ts
#	src/app/core/data/entity-type.service.ts
#	src/app/core/data/feature-authorization/authorization-data.service.ts
#	src/app/core/data/feature-authorization/feature-data.service.ts
#	src/app/core/data/item-template-data.service.ts
#	src/app/core/data/license-data.service.ts
#	src/app/core/data/metadata-field-data.service.ts
#	src/app/core/data/processes/process-data.service.ts
#	src/app/core/data/processes/script-data.service.ts
#	src/app/core/data/relationship.service.spec.ts
#	src/app/core/data/relationship.service.ts
#	src/app/core/data/remote-data.ts
#	src/app/core/data/request.actions.ts
#	src/app/core/data/request.effects.ts
#	src/app/core/data/request.reducer.spec.ts
#	src/app/core/data/request.reducer.ts
#	src/app/core/data/request.service.spec.ts
#	src/app/core/data/request.service.ts
#	src/app/core/dspace-rest/dspace-rest.service.spec.ts
#	src/app/core/eperson/eperson-data.service.spec.ts
#	src/app/core/eperson/eperson-data.service.ts
#	src/app/core/eperson/group-data.service.spec.ts
#	src/app/core/eperson/group-data.service.ts
#	src/app/core/forward-client-ip/forward-client-ip.interceptor.spec.ts
#	src/app/core/index/index.reducer.ts
#	src/app/core/json-patch/json-patch-operations.service.spec.ts
#	src/app/core/json-patch/json-patch-operations.service.ts
#	src/app/core/locale/locale.interceptor.spec.ts
#	src/app/core/registry/registry.service.ts
#	src/app/core/resource-policy/resource-policy.service.ts
#	src/app/core/shared/operators.ts
#	src/app/core/shared/search/search.service.ts
#	src/app/core/submission/submission-object-data.service.ts
#	src/app/core/submission/submission-rest.service.ts
#	src/app/core/submission/vocabularies/vocabulary-entries-response-parsing.service.spec.ts
#	src/app/core/submission/vocabularies/vocabulary.service.spec.ts
#	src/app/core/submission/vocabularies/vocabulary.service.ts
#	src/app/core/submission/workflowitem-data.service.ts
#	src/app/core/tasks/tasks.service.ts
#	src/app/curation-form/curation-form.component.ts
#	src/app/process-page/process-page.resolver.ts
#	src/app/shared/collection-dropdown/collection-dropdown.component.spec.ts
#	src/app/shared/collection-dropdown/collection-dropdown.component.ts
#	src/app/shared/comcol-forms/create-comcol-page/create-comcol-page.component.spec.ts
#	src/app/shared/comcol-forms/create-comcol-page/create-comcol-page.component.ts
#	src/app/shared/comcol-forms/edit-comcol-page/comcol-metadata/comcol-metadata.component.spec.ts
#	src/app/shared/comcol-forms/edit-comcol-page/comcol-role/comcol-role.component.spec.ts
#	src/app/shared/comcol-forms/edit-comcol-page/comcol-role/comcol-role.component.ts
#	src/app/shared/dso-selector/dso-selector/dso-selector.component.ts
#	src/app/shared/dso-selector/modal-wrappers/export-metadata-selector/export-metadata-selector.component.ts
#	src/app/shared/form/builder/ds-dynamic-form-ui/relation-lookup-modal/relationship.effects.ts
#	src/app/shared/form/builder/form-builder.service.ts
#	src/app/shared/item/item-versions/item-versions.component.ts
#	src/app/shared/mocks/remote-data-build.service.mock.ts
#	src/app/shared/mydspace-actions/workspaceitem/workspaceitem-actions.component.ts
#	src/app/shared/object-detail/my-dspace-result-detail-element/item-detail-preview/item-detail-preview.component.spec.ts
#	src/app/shared/object-select/collection-select/collection-select.component.spec.ts
#	src/app/shared/object-select/item-select/item-select.component.spec.ts
#	src/app/shared/pagination-drag-and-drop/abstract-paginated-drag-and-drop-list.component.spec.ts
#	src/app/shared/pagination-drag-and-drop/abstract-paginated-drag-and-drop-list.component.ts
#	src/app/shared/resource-policies/form/eperson-group-list/eperson-group-list.component.ts
#	src/app/shared/search/search-query-response.model.ts
#	src/app/statistics/statistics.module.ts
#	src/app/submission/import-external/import-external-searchbar/submission-import-external-searchbar.component.spec.ts
#	src/app/submission/sections/form/section-form.component.ts
#	src/app/submission/sections/upload/section-upload.component.spec.ts
#	src/app/submission/sections/upload/section-upload.component.ts
#	src/app/submission/submission.service.spec.ts
#	src/app/submission/submission.service.ts
2021-01-07 19:17:19 +01:00
Alessandro Martelli
d542072a37 [CSTPER-3620] Workflow Actions refresh entire MyDSpace page instead of just WorkflowItem
Fixed test.
Removed unused imports.
2021-01-07 15:29:06 +01:00
Alessandro Martelli
4e5e08671e Merge branch 'main' into CST-3620
# Conflicts:
#	src/app/shared/object-collection/shared/listable-object/listable-object-component-loader.component.spec.ts
#	src/app/shared/object-collection/shared/listable-object/listable-object-component-loader.component.ts
2021-01-07 15:04:29 +01:00
Tim Donohue
8530357676 Merge pull request #972 from atmire/Private-withdrawn-badges-for-items-everywhere
Private/Withdrawn badges for items everywhere
2021-01-04 11:03:14 -06:00
Tim Donohue
fd7aeacab3 Merge pull request #960 from 4Science/CSTPER-260
Auto-save in new Item Submission form breaks the form
2021-01-04 10:25:41 -06:00
Dániel Péter Sipos
9d61a24f03 #885 fix merge 2021-01-04 10:53:37 +01:00
Dániel Péter Sipos
742a895f13 Merge branch 'main' into #885-media-viewer 2021-01-04 10:30:09 +01:00
Dániel Péter Sipos
09dc9491a3 Merge branch 'main' into #885-media-viewer
# Conflicts:
#	src/app/+item-page/item-page.module.ts
2021-01-04 10:18:05 +01:00
Kristof De Langhe
a06599ef3f 74647: Test case fix 2020-12-24 14:06:20 +01:00
Kristof De Langhe
aed0750d47 Merge branch 'main' into w2p-74647_Add-meta-generator-page-header
Conflicts:
	src/app/core/core.module.ts
	src/app/core/data/root.model.ts
	src/app/core/shared/hal-endpoint.service.ts
2020-12-24 13:44:48 +01:00
Kristof De Langhe
d70685a5f2 74647: findByHref and findAllByHref for RootDataService 2020-12-24 13:39:37 +01:00
Alessandro Martelli
5700450eec [CSTPER-3620] Workflow Actions refresh entire MyDSpace page instead of just WorkflowItem
Failing tests in CI environment refactored
2020-12-22 18:20:22 +01:00
Alessandro Martelli
b80282c243 [CSTPER-3620] Workflow Actions refresh entire MyDSpace page instead of just WorkflowItem
Test fix and environment settings restored
2020-12-22 17:32:56 +01:00
Alessandro Martelli
e41e7dfa07 [CSTPER-3620] Workflow Actions refresh entire MyDSpace page instead of just WorkflowItem
Cleanup
2020-12-22 16:25:26 +01:00
Alessandro Martelli
704d67da79 [CSTPER-3620] Workflow Actions refresh entire MyDSpace page instead of just WorkflowItem
Removed abstraction on claimed-search-result-list-element components
2020-12-22 15:53:43 +01:00
Alessandro Martelli
8013260f78 [CSTPER-3620] Workflow Actions refresh entire MyDSpace page instead of just WorkflowItem
Task Service implementation.
ReloadableAction abstraction.
2020-12-22 13:48:12 +01:00
Alessandro Martelli
e32c86f127 [CSTPER-3620] Workflow Actions refresh entire MyDSpace page instead of just WorkflowItem
Task Service implementation.
ReloadableAction abstraction.
2020-12-22 12:58:19 +01:00
Alessandro Martelli
6cf6dee5e6 [835] Auto-save in new Item Submission form breaks the form
Fixed unused imports.
2020-12-22 08:33:23 +01:00
Alessandro Martelli
8e77fac638 [835] Auto-save in new Item Submission form breaks the form
Minor fixes and method computeSectionConfiguredMetadata tested
2020-12-21 19:21:49 +01:00
Alessandro Martelli
042d2e71f0 [835] Auto-save in new Item Submission form breaks the form
Improved form touched state in ngrx store.
2020-12-21 17:27:59 +01:00
Alessandro Martelli
e8255927c5 [835] Auto-save in new Item Submission form breaks the form
Autosave timer switched to milliseconds.
2020-12-21 17:27:59 +01:00
Alessandro Martelli
451881ef08 [835] Auto-save in new Item Submission form breaks the form
Methods renaming
2020-12-21 17:27:59 +01:00
Alessandro Martelli
0794c50d19 [835] Auto-save in new Item Submission form breaks the form
Fixed unused imports.
2020-12-21 17:27:59 +01:00
Alessandro Martelli
de372896e7 [835] Auto-save in new Item Submission form breaks the form
Submission form Save button disabled when no pending operations are present
2020-12-21 17:24:42 +01:00
Alessandro Martelli
d47f686b95 [835] Auto-save in new Item Submission form breaks the form
Section Metadata field tested.
Form Touched filter tested.
2020-12-21 17:23:03 +01:00
Alessandro Martelli
eb144b1551 [835] Auto-save in new Item Submission form breaks the form
Test FormSetAdditionalAction.
2020-12-21 17:23:03 +01:00
Alessandro Martelli
0acaa3e57f [835] Auto-save in new Item Submission form breaks the form
Section metadata dispatched to the store and retrieved in subscription.
Added test case for hasMetadataEnrichment.
2020-12-21 17:23:03 +01:00
Alessandro Martelli
9b752b443e [835] Auto-save in new Item Submission form breaks the form
Lint corrections.
2020-12-21 17:23:03 +01:00
Alessandro Martelli
55bcdf0a25 [835] Auto-save in new Item Submission form breaks the form
Minor changes and cleanup.
2020-12-21 17:23:03 +01:00
Alessandro Martelli
999993734f [835] Auto-save in new Item Submission form breaks the form
Tests fixed.
2020-12-21 17:23:03 +01:00
Alessandro Martelli
875a43a14e [835] Auto-save in new Item Submission form breaks the form
Section formId added to the section state.
Error filtering during the parsing of the submission response.
2020-12-21 17:23:03 +01:00
Alessandro Martelli
9f33855a0f [835] Auto-save in new Item Submission form breaks the form
Autosave deactivated
2020-12-21 17:22:33 +01:00
Alessandro Martelli
8111bdd3ce [835] Auto-save in new Item Submission form breaks the form
Store additions:
1. Form AdditionalData: contains the list of the touched metadata
2. Submission metadata: contains the list of the metadata ids assignable for each section

We keep also track whether a section ha focused fields or not.
2020-12-21 17:22:33 +01:00
Alessandro Martelli
82b7b8aa6f [835] Auto-save in new Item Submission form breaks the form
Notifications are enable only for manual submission savings.
2020-12-21 17:14:36 +01:00
Alessandro Martelli
6136162a21 [835] Auto-save in new Item Submission form breaks the form
Notifications are disabled for submission section savings.
2020-12-21 17:14:36 +01:00
Alessandro Martelli
5ae649f7a5 [835] Auto-save in new Item Submission form breaks the form
Label Add on Form Array inputs.
2020-12-21 17:14:36 +01:00
Alessandro Martelli
c9f4568b69 [835] Auto-save in new Item Submission form breaks the form
Disable autosave when timer is equal to 0
2020-12-21 17:14:36 +01:00
Tim Donohue
e867badcb5 Merge pull request #961 from atmire/cache-redesign-part-1
Cache redesign part 1
2020-12-17 10:07:51 -06:00
Art Lowel
ece84332a0 replace menu decorators with switches to solve an issue where decorators were not loaded in time 2020-12-16 17:04:57 +01:00
Giuseppe Digilio
9f22324da0 Update allowed CommonJs dependencies 2020-12-16 17:04:28 +01:00
Art Lowel
54d0569bab adapt klaro code to be compatible with v0.7 2020-12-15 15:18:41 +01:00
Art Lowel
4e18fa35ca Cache redesign part 1, and add support for alternative links 2020-12-14 16:09:33 +01:00
Kristof De Langhe
c3bc730e57 Merge branch 'main' into w2p-75058_Private-Withdrawn-badges-for-items-everywhere
Conflicts:
	src/app/shared/object-collection/shared/listable-object/listable-object-component-loader.component.spec.ts
	src/app/shared/shared.module.ts
2020-12-14 11:44:57 +01:00
Tim Donohue
17ca2c4a21 Merge pull request #965 from atmire/Issue-964-getEntityTypeByLabel-impl
issue 964 properly impl getEntityTypeByLabel
2020-12-11 13:56:34 -06:00
Giuseppe Digilio
574caeb528 fix lint error 2020-12-11 18:55:06 +01:00
Giuseppe Digilio
caa4700d06 Fixed merge with main 2020-12-11 18:37:24 +01:00
Giuseppe Digilio
dfa91e04fd Merge remote-tracking branch 'remotes/origin/main' into upgrade_angular10
# Conflicts:
#	src/app/+item-page/item-page.module.ts
#	src/app/core/shared/item.model.ts
#	src/app/shared/object-grid/item-grid-element/item-types/item/item-grid-element.component.spec.ts
#	src/app/shared/search/search-filters/search-filter/search-authority-filter/search-authority-filter.component.ts
#	src/app/shared/search/search-filters/search-filter/search-facet-filter-options/search-facet-option/search-facet-option.component.ts
#	src/app/shared/search/search-filters/search-filter/search-facet-filter-options/search-facet-selected-option/search-facet-selected-option.component.ts
#	src/app/shared/search/search-filters/search-filter/search-facet-filter/search-facet-filter.component.ts
#	src/app/shared/shared.module.ts
2020-12-11 18:13:47 +01:00
Giuseppe Digilio
fcec66ebb7 Update dependencies 2020-12-11 18:08:43 +01:00
Tim Donohue
f4853972cc Merge pull request #937 from 4Science/comcol-resource-policies
Comcol resource policies
2020-12-11 10:02:46 -06:00
Giuseppe Digilio
752e415dce Fixed issue with components extends a component without a super call in the constructor 2020-12-11 16:38:47 +01:00
Giuseppe Digilio
c2e0ba9d98 fixed issue with failed request of resource policy edit 2020-12-11 09:53:37 +01:00
Giuseppe Digilio
f86f95e0f9 Merge remote-tracking branch 'remotes/origin/main' into comcol-resource-policies
# Conflicts:
#	src/app/shared/shared.module.ts
2020-12-11 09:30:38 +01:00
Tim Donohue
63e0c2f29a Merge pull request #967 from atmire/item-view-relationship-query-fix
Item view relationship query fix
2020-12-10 16:44:32 -06:00
Tim Donohue
ab9d5b409d Merge pull request #952 from atmire/Filter-queries-correct-operators
Filter queries using correct operators
2020-12-10 16:39:02 -06:00
Tim Donohue
f587170a11 Merge pull request #951 from atmire/w2p-74199_Admin-search-dialogs
Separate components for untyped items
2020-12-10 16:13:22 -06:00
Andrew Wood
06bb213078 Issue 964 make solution synchronous 2020-12-10 12:49:05 -05:00
Andrew Wood
10e09b69be issue 964 properly impl getEntityTypeByLabel 2020-12-10 11:08:22 -05:00
Yana De Pauw
5323477c49 Merge remote-tracking branch 'upstream/main' into w2p-74199_Admin-search-dialogs 2020-12-10 13:57:18 +01:00
Kevin Van de Velde
c0143c0ece Merge remote-tracking branch 'dspace/main' into item-view-relationship-query-fix 2020-12-10 11:04:30 +01:00
Raf Ponsaerts
7610f9cf50 Merge remote-tracking branch 'dspace/main' into w2p-74647_Add-meta-generator-page-header 2020-12-10 11:03:35 +01:00
Tim Donohue
39582c9243 Merge pull request #969 from tdonohue/sync_docker_with_backend
Sync Docker compose scripts with backend (DSpace/DSpace)
2020-12-09 17:19:13 -06:00
Tim Donohue
804905d62e Sync Docker compose scripts with backend (DSpace/DSpace) 2020-12-09 13:38:17 -06:00
Giuseppe Digilio
b1d851a3a8 Fix issue with _font_awesome_imports helper that can't import scss files properly 2020-12-09 14:13:30 +01:00
Kristof De Langhe
f7f784157d 74647: Add Generator meta tag on all pages 2020-12-08 14:51:40 +01:00
Kevin Van de Velde
01d81783fc Fixing an issue where the relationship query did a fuzzy query with UUID's (Test fix) 2020-12-08 14:40:48 +01:00
Kevin Van de Velde
9e9c07b9d7 Fixing an issue where the relationship query did a fuzzy query with UUID's 2020-12-08 14:21:35 +01:00
Kristof De Langhe
2087a20151 75058: message fix, badge placement for entity types grid, alerts on full item pages 2020-12-08 14:07:20 +01:00
Yana De Pauw
52d11932cb Fix issues with type badges in tests 2020-12-08 13:30:31 +01:00
Kristof De Langhe
fa36b3518d 75058: multiple badges fix, item alerts, tests 2020-12-08 13:07:18 +01:00
Yana De Pauw
1cc9349608 Merge remote-tracking branch 'upstream/main' into w2p-74199_Admin-search-dialogs 2020-12-08 10:59:09 +01:00
Kristof De Langhe
d50dd12d3d 75058: Added Withdrawn and Private badges for item list/grid components everywhere 2020-12-07 17:54:30 +01:00
Kristof De Langhe
be05647e5d 74647: Generator meta 2020-12-07 16:42:33 +01:00
Giuseppe Digilio
6da28c1e29 Temporary disable import for themed scss variables 2020-12-07 14:32:44 +01:00
Giuseppe Digilio
eed458569f Fix issue with sass-loader options 2020-12-07 14:28:57 +01:00
Giuseppe Digilio
5db5e0978a update sass-resources-loader 2020-12-07 11:27:59 +01:00
Giuseppe Digilio
84840678d2 Several fixes after merge with main 2020-12-04 14:16:40 +01:00
Giuseppe Digilio
948e002225 Merge remote-tracking branch 'remotes/origin/main' into upgrade_angular10
# Conflicts:
#	package.json
#	server.ts
#	src/app/+admin/admin-access-control/epeople-registry/epeople-registry.component.ts
#	src/app/+admin/admin-access-control/group-registry/group-form/group-form.component.ts
#	src/app/+admin/admin-access-control/group-registry/groups-registry.component.spec.ts
#	src/app/+admin/admin-access-control/group-registry/groups-registry.component.ts
#	src/app/+collection-page/collection-page.component.ts
#	src/app/+item-page/edit-item-page/item-page-reinstate.guard.ts
#	src/app/+item-page/edit-item-page/item-page-withdraw.guard.ts
#	src/app/+item-page/edit-item-page/item-relationships/edit-relationship-list/edit-relationship-list.component.ts
#	src/app/+item-page/edit-item-page/item-relationships/item-relationships.component.ts
#	src/app/+item-page/item-page-administrator.guard.ts
#	src/app/app-routing.module.ts
#	src/app/community-list-page/community-list-service.ts
#	src/app/core/data/entity-type.service.ts
#	src/app/core/data/feature-authorization/feature-authorization-guard/dso-page-feature.guard.spec.ts
#	src/app/core/data/feature-authorization/feature-authorization-guard/feature-authorization.guard.spec.ts
#	src/app/core/data/feature-authorization/feature-authorization-guard/feature-authorization.guard.ts
#	src/app/core/data/feature-authorization/feature-authorization-guard/site-administrator.guard.ts
#	src/app/core/data/feature-authorization/feature-authorization-guard/site-register.guard.ts
#	src/app/core/data/object-updates/object-updates.reducer.ts
#	src/app/core/shared/operators.ts
#	src/app/process-page/detail/process-detail.component.ts
#	src/app/shared/comcol-forms/delete-comcol-page/delete-comcol-page.component.ts
#	src/app/shared/dso-selector/dso-selector/dso-selector.component.ts
#	src/app/shared/input-suggestions/filter-suggestions/filter-input-suggestions.component.ts
#	src/app/shared/object-grid/grid-thumbnail/grid-thumbnail.component.ts
#	src/app/shared/shared.module.ts
#	yarn.lock
2020-12-04 11:36:48 +01:00
Giuseppe Digilio
79fa93bea9 Set providedIn root for services using inject tokens 2020-12-04 11:18:59 +01:00
Giuseppe Digilio
0f77e5cd92 Merge remote-tracking branch 'remotes/origin/main' into comcol-resource-policies 2020-12-04 10:52:30 +01:00
Giuseppe Digilio
18a07b571b Fix build error 2020-12-04 10:46:54 +01:00
Giuseppe Digilio
20b5721e3c Fixed lint errors and add lint fix script 2020-12-04 10:32:46 +01:00
Giuseppe Digilio
587affd064 added missing decorator for classes that use Angular features 2020-12-04 10:30:45 +01:00
Giuseppe Digilio
30d4c6ab5a fixed tests 2020-12-04 09:22:31 +01:00
Tim Donohue
32a29c4a17 Merge pull request #925 from atmire/w2p-74179_Deleting-groups
Fix delete and edit for Groups
2020-12-03 15:59:04 -06:00
Tim Donohue
6e9c129b6e Merge pull request #955 from atmire/401-login-page-and-403-page
401 login page and 403 page
2020-12-03 15:44:30 -06:00
Giuseppe Digilio
09101e83f3 temporary disabled problematic tests 2020-12-03 19:59:00 +01:00
Giuseppe Digilio
6123962e47 further changes for angular 10 2020-12-03 19:55:19 +01:00
Giuseppe Digilio
10d0c2e518 fixed tests after angular 10 upgrade 2020-12-03 19:45:05 +01:00
Giuseppe Digilio
9ed1c74f29 optimized module imports 2020-12-03 19:36:19 +01:00
Giuseppe Digilio
c841a135c9 Merge remote-tracking branch 'remotes/origin/main' into comcol-resource-policies
# Conflicts:
#	src/app/shared/shared.module.ts
2020-12-03 17:21:52 +01:00
Kristof De Langhe
411e2bd746 74612: Remove 401 pages and add login redirect to feature-authorization guards 2020-12-03 14:38:27 +01:00
Dániel Péter Sipos
152923aba7 #885 remove elements form test 2020-12-03 11:19:51 +01:00
Dániel Péter Sipos
84bb449c8e Merge branch 'main' into #885-media-viewer 2020-12-03 11:17:08 +01:00
Giuseppe Digilio
308aa34d8a fixed form builder service after angular 10 upgrade 2020-12-03 10:37:24 +01:00
Giuseppe Digilio
265b74f3d6 fixed SubmissionImportExternalPreviewComponent after angular 10 upgrade 2020-12-03 10:08:59 +01:00
Giuseppe Digilio
ad9b676bec fixed menu effects after angular 10 upgrade 2020-12-03 09:31:00 +01:00
Giuseppe Digilio
58f1cbe5e5 fixed collection selector component after angular 10 upgrade 2020-12-02 16:19:26 +01:00
Giuseppe Digilio
b49d46176b fixed dynamic disabled component after angular 10 upgrade 2020-12-02 12:38:26 +01:00
Giuseppe Digilio
9336693cc7 Removed entry components from module definitions 2020-12-01 20:38:03 +01:00
Giuseppe Digilio
18160b16db fixed absolute import paths 2020-12-01 20:33:17 +01:00
Giuseppe Digilio
ef0c574473 fixed collection dropdown component after angular 10 upgrade 2020-12-01 15:23:41 +01:00
Kristof De Langhe
4145f829a7 Merge branch 'main' into w2p-74612_Ask-unauthenticated-users-to-log-in 2020-12-01 14:52:26 +01:00
Kristof De Langhe
67de6538e5 74606: LGTM issue fixes 2020-12-01 14:47:03 +01:00
Kristof De Langhe
e15b66aa1b Merge branch 'main' into w2p-74606_Ensure-the-correct-operators-are-used-for-filter-queries 2020-12-01 14:38:19 +01:00
Marie Verdonck
2243e8a76c 74848: Check so warn message not shown on new group form 2020-12-01 14:28:47 +01:00
Marie Verdonck
dee3043c9f 74179/PR#925: Test fixes 2020-12-01 13:43:15 +01:00
Marie Verdonck
dfd7468b88 74179/PR#925: Groups with linked dso (workflow groups) => No edit/delete possible + alert on edit page with link to edit roles on comcol page 2020-12-01 13:43:15 +01:00
Marie Verdonck
1fcd4d6c3e 74179: NameAlreadyInUse check removed since not correctly shown if there are similarly named groups (group name search not exact) 2020-12-01 13:43:15 +01:00
Art Lowel
3c20cb7ee1 fix positioning of group delete button and clearing of the cache on delete 2020-12-01 13:43:15 +01:00
Marie Verdonck
46defed6f2 74179: Test fix 2020-12-01 13:43:15 +01:00
Marie Verdonck
f8a8af32da 74179: Delete group cache cleared, redirect & delete button moved on group edit page 2020-12-01 13:43:15 +01:00
Marie Verdonck
e3578a6b0f 74179: Edit group functionality added + test (fixes) 2020-12-01 13:43:15 +01:00
Marie Verdonck
ab88dc3c77 74179: Test fixes after changes for empty results in eperson/group registries 2020-12-01 13:43:15 +01:00
Marie Verdonck
bdd1a675f1 74179: Fix for no result message not shown if no search results epeople/group registry 2020-12-01 13:43:15 +01:00
Marie Verdonck
1903530f77 74179: Deleting groups notifications, authorisation check, button on edit group page 2020-12-01 13:43:14 +01:00
Giuseppe Digilio
5b5d2031d5 fixed date picker form component after angular 10 upgrade 2020-12-01 11:50:27 +01:00
Tim Donohue
aa8feb01b3 Merge pull request #954 from 4Science/orcid_labels
replaced orcidV2 label keys with orcid
2020-11-30 11:10:17 -06:00
Tim Donohue
4a6939f621 Merge pull request #959 from DSpace/tdonohue-correct_build
Update build.yml to not limit by branch
2020-11-30 10:39:44 -06:00
Tim Donohue
96d7f9c2d7 Update build.yml to not limit by branch 2020-11-30 10:12:02 -06:00
Tim Donohue
0bfa425e57 Update build status badge to point to GitHub 2020-11-25 17:08:20 -06:00
Tim Donohue
5e23a84ea3 Merge pull request #956 from tdonohue/github_ci
Add CI to Github via Actions (based on Travis CI config)
2020-11-25 10:20:04 -06:00
Tim Donohue
3f1266e485 Enable only for main branch pushes or PRs 2020-11-25 09:26:43 -06:00
Tim Donohue
49effd14df Rename job to "tests". Space out steps to make it easier to read. 2020-11-25 08:58:38 -06:00
Tim Donohue
d241d4ea6a Revert to checkout@v1 per https://community.codecov.io/t/codecov-status-stuck-at-waiting-for-status-to-be-reported-on-github/341/40 2020-11-25 08:27:25 -06:00
Tim Donohue
e32b435edd Remove .travis.yml Minor comment cleanup to build.yml 2020-11-24 17:07:49 -06:00
Tim Donohue
b036c084b7 Try codecov bash uploader to see if it works 2020-11-24 16:38:07 -06:00
Tim Donohue
8d526f0e80 Move codecov reports to last step 2020-11-24 16:03:22 -06:00
Tim Donohue
bc0b0a26c9 Initial GitHub Actions CI settings. Rename docker-compose-travis to docker-compose-ci 2020-11-24 15:15:58 -06:00
Kristof De Langhe
8486fecc17 74612: Post-merge test fixes 2020-11-24 12:03:34 +01:00
Yana De Pauw
6b69f66a8d 74572: Update type badge to not rely on constructor name 2020-11-24 11:58:16 +01:00
Kristof De Langhe
c28af7d7c8 Merge branch 'main' into w2p-74612_Ask-unauthenticated-users-to-log-in
Conflicts:
	src/app/+item-page/simple/item-page.component.ts
	src/app/process-page/detail/process-detail.component.spec.ts
	src/app/process-page/detail/process-detail.component.ts
2020-11-24 11:34:17 +01:00
Kristof De Langhe
b2369b237e 74612: Redirect bugfix 2020-11-24 10:36:50 +01:00
Giuseppe Digilio
4473395cb9 Fixed "CommonJS or AMD dependencies can cause optimization bailouts." warnings
https://stackoverflow.com/questions/62592903/upgrading-to-angular-10-fix-commonjs-or-amd-dependencies-can-cause-optimizatio/62604034#62604034
2020-11-23 16:52:55 +01:00
Tim Donohue
d78549c2ff Merge pull request #938 from 4Science/CSTPER-222
Metadata identifier for Communities and Collections
2020-11-23 09:21:37 -06:00
Giuseppe Digilio
9f5204992d Replaced deprecated rxjs flatMap operator 2020-11-23 15:38:02 +01:00
Dániel Péter Sipos
b14ae840b0 #885 fix build 2020-11-23 09:47:56 +01:00
Dániel Péter Sipos
b5ffe718d2 Merge remote-tracking branch 'upstream/main' into #885-media-viewer 2020-11-23 09:40:09 +01:00
Corrado Lombardi
f8076051b4 replaced orcidV2 label keys with orcid 2020-11-23 09:14:16 +01:00
Tim Donohue
f1b1f8199b Merge pull request #827 from atmire/Support-for-process-output
Support for process output on detail page
2020-11-20 15:10:37 -06:00
Tim Donohue
c5898b4182 Merge pull request #929 from atmire/w2p-74275_Issue-2988_Reset-pw-eperson-created-in-admin-ui
Issue 2988: Password (re)set for eperson with add PatchOperation
2020-11-20 14:31:55 -06:00
Giuseppe Digilio
44a65c7a23 upgrade to angular 10 intermediate commit 2020-11-20 21:10:36 +01:00
Giuseppe Digilio
9abc827fc1 fix for dynamic form after upgrade 2020-11-20 21:10:09 +01:00
Tim Donohue
6e0e5a8fee Merge pull request #941 from atmire/74609-Fix-type-error-on-search-pages
Fix TypeError on search pages
2020-11-20 11:51:16 -06:00
Giuseppe Digilio
59a0263817 upgrade to angular 10 intermediate commit 2020-11-20 17:06:42 +01:00
Giuseppe Digilio
79285b203b Changed to use TestBed.inject method instead of deprecated TestBed.get 2020-11-20 15:21:34 +01:00
Dániel Péter Sipos
dc85bd9bff #885 disable media viewer 2020-11-20 15:12:26 +01:00
Dániel Péter Sipos
2ed7d153fa #885 remove redundant config 2020-11-20 15:11:12 +01:00
Dániel Péter Sipos
81f0663914 Merge branch 'main' into #885-media-viewer
# Conflicts:
#	src/config/global-config.interface.ts
2020-11-20 15:08:53 +01:00
Giuseppe Digilio
32dc9a80a6 Replaced ngx-bootstrap TooltipModule in favour of @ng-bootstrap ngbTooltip 2020-11-20 12:41:13 +01:00
Yana De Pauw
9c2ca90c32 Remove unused import 2020-11-20 11:11:58 +01:00
Yana De Pauw
6c80f0797b Merge remote-tracking branch 'upstream/main' into w2p-74199_Admin-search-dialogs 2020-11-20 10:44:24 +01:00
Tim Donohue
c05f4fc912 Merge pull request #942 from atmire/74615-Remove-baseUrl-api-workaround
Remove workaround for baseUrl ending in /api
2020-11-19 17:04:05 -06:00
Tim Donohue
2fa24b5d5c Merge pull request #953 from DSpace/codecov_patch_info_mode
Switch codecov 'patch' checks to informational only
2020-11-19 16:25:04 -06:00
Tim Donohue
130e2e500b Merge pull request #944 from atmire/w2p-74345_Fix-comcol-tree-issues
Fix com/col tree issues (#899 & #908)
2020-11-19 16:23:39 -06:00
Tim Donohue
c9f4baa4d4 Merge pull request #916 from 4Science/CSTPER-66
Communities and collections not shown right after creation
2020-11-19 14:52:46 -06:00
Tim Donohue
de28b02cf6 Switch patch checks to informational only 2020-11-19 14:41:41 -06:00
Tim Donohue
8bc85d5ed1 Merge pull request #933 from atmire/w2p-74348_Fix-security-issues-LGTM
Fix security issues reported by LGTM
2020-11-19 14:20:53 -06:00
Giuseppe Digilio
764ad4a0c0 fix update of @ng-dynamic-forms libs 2020-11-19 18:29:40 +01:00
Art Lowel
921fbe5269 Merge pull request #926 from qultoltd/#674-fix-thumbnail
#674 fix thumbnail
2020-11-19 16:53:15 +01:00
Yana De Pauw
bc8c0aaeac Merge remote-tracking branch 'upstream/main' into 74609-Fix-type-error-on-search-pages 2020-11-19 14:03:16 +01:00
Yana De Pauw
c1fba059ca 74572: Fix typo 2020-11-19 13:12:53 +01:00
Yana De Pauw
c38cee7561 74572: Separate components for untyped items 2020-11-19 13:12:53 +01:00
Yana De Pauw
963d72ddcd 74348: Increase ratelimiter to 500 2020-11-19 12:11:40 +01:00
Giuseppe Digilio
92a4b9fa78 updated @ng-bootstrap and @ng-dynamic-forms 2020-11-19 11:25:23 +01:00
Tim Donohue
8d44b5d2f0 Merge pull request #934 from atmire/w2p-74354_Handle-redicts-fix
Fix for handle redirects
2020-11-18 16:22:04 -06:00
Tim Donohue
1ed39d8040 Merge pull request #545 from atmire/w2p-67685_Add-relationships-in-edit-item
Create relationships as an admin in edit item
2020-11-18 14:48:13 -06:00
Tim Donohue
cdf26f12d4 Merge pull request #946 from atmire/GH-945_rimraf-clean
#945 Clean node at end to avoid rimraf error
2020-11-18 14:43:12 -06:00
Tim Donohue
b70daafda2 Merge pull request #930 from atmire/Admin-search-dialogs
Admin search dialogs
2020-11-18 14:27:41 -06:00
Giuseppe Digilio
1e918d6df8 updated Angular Universal 2020-11-18 19:06:25 +01:00
Giuseppe Digilio
1b21af3191 updated to the latest 9.x version 2020-11-18 19:02:55 +01:00
Giuseppe Digilio
17d7e10ac3 updated to the latest 8.x version 2020-11-18 18:48:54 +01:00
Giuseppe Digilio
46c748efba set target to es2015 2020-11-18 18:46:46 +01:00
Giuseppe Digilio
1507ec0ffa using dynamic imports for lazy loaded modules via the router 2020-11-18 18:05:40 +01:00
Kristof De Langhe
cb6381f7ee 74606: Move stripping of suggestions to SearchFacetFilter 2020-11-18 17:59:22 +01:00
Kristof De Langhe
ab755d3fd9 74612: 403 page + redirect to login on unauthorized 2020-11-18 14:05:36 +01:00
Alessandro Martelli
2369892c3f [CSTPER-222] handle metadata reading for communities and collections
Removed handle field and the setter from community and collection models.
2020-11-18 12:08:57 +01:00
Corrado Lombardi
dfc26efd12 renamed private function 2020-11-18 10:51:55 +01:00
Chris Wilper
9056514144 #945 Clean node at end to avoid rimraf error 2020-11-17 17:27:30 -05:00
Corrado Lombardi
c2e65e2811 removed unused import 2020-11-17 19:12:34 +01:00
Corrado Lombardi
8da8273d82 removed unused imports 2020-11-17 18:51:49 +01:00
Tim Donohue
12da991630 Merge pull request #932 from atmire/w2p-74356_Issue-867_Missing-labels-externalsources
Submission relationship lookup externalsources: Missing i18n labels & other issues
2020-11-17 11:01:29 -06:00
Kristof De Langhe
05406e6919 74606: Search Utils test cases + test fixes 2020-11-17 15:43:05 +01:00
Yana De Pauw
77ca0f049a 74615: Remove workaround for baseUrl ending in /api 2020-11-17 15:38:30 +01:00
Dániel Péter Sipos
3303094efe #674 imort fix 2020-11-17 14:34:42 +01:00
Dániel Péter Sipos
aca0641232 #674 fix 2020-11-17 14:32:10 +01:00
Kristof De Langhe
6f9e8bd3bf 74606: Ensure the correct operators are used for filter queries 2020-11-17 14:31:07 +01:00
Yana De Pauw
9e4e5e4bdf Fix ping 2020-11-17 14:28:40 +01:00
Yana De Pauw
0a0decfc33 74609: Fix TypeError on search pages 2020-11-17 14:21:14 +01:00
Dániel Péter Sipos
55b6486cda #674 fix 2020-11-17 14:09:03 +01:00
Dániel Péter Sipos
ffd0605511 Merge branch 'main' into #674-fix-thumbnail 2020-11-17 13:36:21 +01:00
Corrado Lombardi
c40f31279f [CSTPER-66] moved refreshCache function to common ComColDataService, tests have been moved accordingly.
Used HalEndpointService to discover communities search top endpoint
2020-11-17 09:29:01 +01:00
Marie Verdonck
140f660cf4 74345: Fix com/col tree issues (#899 & #908):
https://github.com/DSpace/dspace-angular/issues/899
https://github.com/DSpace/dspace-angular/issues/908
2020-11-16 17:57:59 +01:00
Yana De Pauw
82811ebafd 74348: Add comments and update rate limit config 2020-11-16 09:34:34 +01:00
Dániel Péter Sipos
c377a3e45a #674 fix 2020-11-13 17:31:05 +01:00
Dániel Péter Sipos
5923a97336 #674 remove un used imports 2020-11-13 16:51:23 +01:00
Dániel Péter Sipos
bb1d863470 #674 fix tests 2020-11-13 16:08:52 +01:00
Dániel Péter Sipos
cb3131e31b #674 remove un used imports 2020-11-13 14:29:03 +01:00
Dániel Péter Sipos
7b160cdbd3 #674 revert eror throw and ad set/get for grid communities and collections 2020-11-13 14:12:27 +01:00
Marie Verdonck
df5570c7b0 Refactored to use process log bitstream 2020-11-12 17:35:39 +01:00
Art Lowel
0e05184d20 remove unused import 2020-11-12 09:39:16 +01:00
Tim Donohue
2ee815908f Merge pull request #939 from tdonohue/use_codecov_bash_script
Use codecov bash script instead of codecov node module
2020-11-10 14:20:05 -06:00
Tim Donohue
086449d82c Remove 'codecov' node module 2020-11-10 13:28:21 -06:00
Tim Donohue
ff173f1f0f Switch to using Codecov bash script instead of node module to upload reports 2020-11-10 13:28:21 -06:00
Alessandro Martelli
fa8ecd16a7 [CSTPER-222] handle metadata reading for communities and collections
Fixed unused imports.
2020-11-10 14:50:46 +01:00
Alessandro Martelli
4a2fe76ef0 [CSTPER-222] handle metadata reading for communities and collections
Fixed tests
2020-11-10 14:30:52 +01:00
Alessandro Martelli
fa113babc7 [CSTPER-222] handle metadata reading for communities and collections
Community and Collection handle tests
2020-11-10 14:03:40 +01:00
Alessandro Martelli
5c7a111a61 [CSTPER-222] handle metadata reading for communities and collections 2020-11-10 14:00:30 +01:00
Alessandro Martelli
65516b3880 [CSTPER-222] handle metadata reading for communities and collections 2020-11-10 14:00:30 +01:00
Giuseppe Digilio
0072486f96 Fix issue where the edit of resource policies failed even if successfully 2020-11-10 09:53:44 +01:00
Giuseppe Digilio
db7514fd25 Fix issue where the creation of resource policies failed even if successfully 2020-11-10 09:53:30 +01:00
Giuseppe Digilio
926cce8286 Add route to create/edit a collection policies 2020-11-09 19:24:43 +01:00
Giuseppe Digilio
e0c4b836d9 Add route to create/edit a community policies 2020-11-09 19:24:32 +01:00
Giuseppe Digilio
317b61b3a4 moved ResourcePolicyEditComponent and ResourcePolicyCreateComponent to shared.module.ts 2020-11-09 19:13:50 +01:00
Giuseppe Digilio
8b6f99e2be Added i18n labels for communities/collections authorizations edit page 2020-11-09 18:22:42 +01:00
Giuseppe Digilio
29df9c609e Added authorizations edit page for collections 2020-11-09 18:21:37 +01:00
Giuseppe Digilio
042e9a06e8 Added authorizations edit page for community 2020-11-09 18:21:13 +01:00
Dániel Péter Sipos
ccb20ea2d7 Merge remote-tracking branch 'upstream/main' into #885-media-viewer 2020-11-09 13:27:08 +01:00
Dániel Péter Sipos
17d629779e #885 remove unused imports 2020-11-09 13:15:55 +01:00
Dániel Péter Sipos
337ecca4a3 #885 fix tests 2020-11-09 12:41:03 +01:00
Marie Verdonck
61f2a3c0f8 Missing key for button title added 2020-11-09 10:06:26 +01:00
Tim Donohue
9fc732085e Merge pull request #935 from tdonohue/fix_codecov
Update Travis to only send coverage reports to codecov *once*
2020-11-06 15:01:49 -06:00
Tim Donohue
9b7eac625c Update Travis to only send coverage reports to codecov *once* 2020-11-06 12:20:25 -06:00
Tim Donohue
b10b972da3 Merge pull request #880 from mwoodiupui/879
[#879] Clarify the use of the production build script, and when configuration is processed
2020-11-06 09:34:49 -06:00
Yana De Pauw
653ceca512 74354: Handle redirects don't work 2020-11-06 15:46:52 +01:00
Yana De Pauw
3a486f5117 Update comment to be more clear 2020-11-06 14:47:14 +01:00
Yana De Pauw
5ef7ae1b86 74348: Fix security issues reported by LGTM 2020-11-06 14:30:39 +01:00
Dániel Péter Sipos
1913094bdf #885 check bitsteam fail 2020-11-06 13:54:11 +01:00
Dániel Péter Sipos
d17b874156 #885 remove auto play and filter unsupported media types 2020-11-06 13:40:28 +01:00
Dániel Péter Sipos
3802436531 Merge remote-tracking branch 'upstream/main' into #885-media-viewer 2020-11-06 13:14:15 +01:00
Dániel Péter Sipos
115a59148f #885 change preview if user is authernticated 2020-11-06 13:13:45 +01:00
Samuel
1ac1a4263a PR 545 Create relationships as an admin in edit item - fix lgtm issues 2020-11-06 11:44:41 +01:00
Samuel
06163ce777 PR 545 Create relationships as an admin in edit item - feedback 2020-11-06 11:33:09 +01:00
Samuel
cba71fc53f PR 545 Create relationships as an admin in edit item 2020-11-06 11:31:15 +01:00
Dániel Péter Sipos
af79945fd8 #885 add enviroment variable for media viewer 2020-11-06 11:05:20 +01:00
Marie Verdonck
e4a1d717a2 Merge branch 'upstream-master' into Support-for-process-output
# Conflicts:
#	src/app/process-page/detail/process-detail.component.ts
2020-11-05 13:01:14 +01:00
Marie Verdonck
5c62fb6d14 unused import removed and observableCombineLatest aligned with convention 2020-11-05 12:05:51 +01:00
Marie Verdonck
4487e2b8ea Fix count results in external source relationship lookup tab label 2020-11-05 11:44:43 +01:00
Marie Verdonck
ecb56413e2 Issue 867 - Missing labels added 2020-11-05 11:13:41 +01:00
Marie Verdonck
d73298daaa fix issue where externalsource search results couldn't be rendered on fields without name 2020-11-05 11:12:56 +01:00
Art Lowel
a937579b8a Merge pull request #905 from saschaszott/issue-904
bugfix of issue #904
2020-11-05 10:22:05 +01:00
Kristof De Langhe
5835c661ac 74199: Lint and LGTM fixes + HoverClassDirective JSDocs and tests 2020-11-04 14:59:10 +01:00
Kristof De Langhe
7bd7f38259 74199: AuthorizedCollectionSelectorComponent current dso query fix 2020-11-04 14:11:46 +01:00
Dániel Péter Sipos
ae079f06ed #885 quick fix 2020-11-03 16:09:34 +01:00
Dániel Péter Sipos
263c12e8f2 #885 fix other thumbnail 2020-11-03 13:27:17 +01:00
Dániel Péter Sipos
66f0b5f77d #885 fix thumbnail size 2020-11-03 11:15:16 +01:00
Dániel Péter Sipos
4312776b2d #885 fix loading bitstream format 2020-11-03 10:59:31 +01:00
Kristof De Langhe
b7aff5894a Merge branch 'main' into w2p-74199_Admin-search-dialogs
Conflicts:
	src/app/+item-page/simple/item-page.component.ts
2020-11-02 12:48:02 +01:00
Kristof De Langhe
52ab6f8a4e 74199: HoverClassDirective and Home parent 2020-11-02 11:49:02 +01:00
Art Lowel
f06c4a20b0 make breadcrumb home text i18nable 2020-10-30 17:40:12 +01:00
Art Lowel
96c31d84d6 support truncation on different backgrounds 2020-10-30 17:16:49 +01:00
Tim Donohue
1e87f2b742 Merge pull request #894 from 4Science/CSTPER-138
miscellaneous fixes for import from external source page
2020-10-30 09:51:32 -05:00
Art Lowel
48c7fff930 add loading indicator to infinite scroll, few style tweaks 2020-10-30 13:36:39 +01:00
Dániel Péter Sipos
9339cfaafd #674 remove un used import 2020-10-29 16:14:35 +01:00
Dániel Péter Sipos
17455a7860 #674 add dock type 2020-10-29 15:19:04 +01:00
Dániel Péter Sipos
22fe184142 #674 ad doctype 2020-10-29 14:57:09 +01:00
Dániel Péter Sipos
9a1b21aeef #675 remove unused imports 2020-10-29 14:43:17 +01:00
Dániel Péter Sipos
71ca57a5ce #674 update other grid elements 2020-10-29 14:35:44 +01:00
Dániel Péter Sipos
6f7a226b81 #674 refactore thumbnail 2020-10-29 14:28:49 +01:00
Dániel Péter Sipos
431d884e8a Merge remote-tracking branch 'upstream/main' into #674-fix-thumbnail 2020-10-29 11:23:16 +01:00
Dániel Péter Sipos
77e7d0effd #674 remove consle logs 2020-10-29 11:23:02 +01:00
Marie Verdonck
9ae7e8174e 74275: [Issue 2988]: Password (re)set for eperson with add PatchOperation 2020-10-29 10:08:19 +01:00
Tim Donohue
09bdc7a0e3 Merge pull request #891 from atmire/DSO-404-fix
Fix DSO 404 pages
2020-10-28 13:04:57 -05:00
Dániel Péter Sipos
7925e9134a Revert "#674 remove async"
This reverts commit 371b8e72f7.
2020-10-28 16:29:02 +01:00
Dániel Péter Sipos
371b8e72f7 #674 remove async 2020-10-28 16:13:41 +01:00
Dániel Péter Sipos
0ea105c73e #674 fix community and collection thumblogo 2020-10-28 16:01:26 +01:00
Dániel Péter Sipos
0d8049494f Merge branch 'main' into #0-fix-thumbnail 2020-10-28 10:44:59 +01:00
Dániel Péter Sipos
23c01b4683 #0-remove 2020-10-28 10:44:51 +01:00
Kristof De Langhe
d52da292a6 74053: Fix double slash in route 2020-10-27 13:14:01 +01:00
Kristof De Langhe
2d67b0b13e 74053: remove fdescribe + use consts for routing paths 2020-10-27 12:29:39 +01:00
Kristof De Langhe
736704aae8 74053: redirectOn404Or401 2020-10-27 11:25:12 +01:00
Kristof De Langhe
18577f016c 74200: DsoPageEditButtonComponent test cases 2020-10-27 10:46:33 +01:00
Dániel Péter Sipos
d7d527b735 #0 fix thumbnail 2020-10-27 10:00:21 +01:00
Kristof De Langhe
06769493e1 74199: Edit current DSO button 2020-10-26 17:49:56 +01:00
Kristof De Langhe
892e7bdaa1 74199: Tests 2020-10-26 15:43:15 +01:00
Tim Donohue
e3c4884bf9 Merge pull request #913 from atmire/fix-item-grid-shadows
Fix grid search result shadows
2020-10-23 16:42:57 -05:00
Tim Donohue
418fe5c5ce Merge pull request #881 from jonas-atmire/w2p-72326-Back-link-on-bitstream-edit-page
Back link on bitstream edit page
2020-10-23 16:18:36 -05:00
Kristof De Langhe
40891a3c35 74199: Admin search dialogs - Current DSO + context for new item/collection 2020-10-23 17:29:10 +02:00
Corrado Lombardi
9658da4fc0 [CSTPER-66] removed detectChanges in single tests, removed TranslateService stub provision, added _links section in community objects 2020-10-23 16:40:49 +02:00
Corrado Lombardi
4bed16af32 [CSTPER-66] onConfirm tests executed within a scheduler and provided _links section on tested data 2020-10-23 11:54:07 +02:00
Corrado Lombardi
564e4e0b02 [CSTPER-66] onSubmit test executed within a scheduler and provided _links section on tested data 2020-10-23 11:53:35 +02:00
Corrado Lombardi
d50d1506ef [CSTPER-66] provided RequestService 2020-10-22 23:41:18 +02:00
Corrado Lombardi
8424ab89d7 [CSTPER-66] provided RequestService in constructor and parent community empty link 2020-10-22 20:15:08 +02:00
Kristof De Langhe
ade5eb53cc 74199: Infinite scroll size changes 2020-10-22 18:03:32 +02:00
Giuseppe Digilio
c374627c27 [CSTPER-138] Fixed failed test 2020-10-22 17:24:18 +02:00
Corrado Lombardi
5ef329f7a6 [CSTPER-66] removed consecutive blank lines 2020-10-22 16:44:49 +02:00
Corrado Lombardi
be6a6a2f62 [CSTPER-66] when a community or a collection is created or deleted, angular cache is refreshed so that in case of new community or collection it appears immediately in pages where communities and collections lists are displayed, in case of community or collection deletion deleted community or collection does not appear anymore in pages where communities and collections lists are displayed. 2020-10-22 15:50:44 +02:00
Corrado Lombardi
20c7afce06 [CSTPER-66] utility functions to create remote data object without content 2020-10-22 15:46:29 +02:00
Corrado Lombardi
e1cce311e8 [CSTPER-66] utility method to check if remote data has no content 2020-10-22 15:46:05 +02:00
Corrado Lombardi
1127b363e9 [CSTPER-66] function to get succeeded or no content response 2020-10-22 15:45:39 +02:00
Giuseppe Digilio
826957a66d [CSTPER-138] Fixed issue where results are the same when pagination changed while retrieving external source providers 2020-10-22 09:18:03 +02:00
Kristof De Langhe
8b2b28df25 74199: Infinite scrollable dso-selector + collection/community implementation + authorized-collection-selector 2020-10-21 18:04:03 +02:00
Tim Donohue
d103092a81 Merge pull request #901 from qultoltd/#895-search-grid-layout
#895 fix grid layout
2020-10-21 08:50:44 -05:00
Kristof De Langhe
f79ea2b844 74199: Admin search dialogs - sidebar search list element implementations - intermediate commit 2020-10-21 13:24:21 +02:00
Art Lowel
c4687116e5 add isCollapsed to mock TruncatableService 2020-10-21 11:35:05 +02:00
Art Lowel
1dcfb729a8 fix issue where item search results would always have a shadow, instead of only when they're focused 2020-10-21 10:23:56 +02:00
Kristof De Langhe
ac44bb9cb9 74199: Admin search dialogs - intermediate commit 2020-10-20 17:54:12 +02:00
Kristof De Langhe
6a016cd17f 74199: ItemResolver item to dso refactor 2020-10-20 16:40:01 +02:00
Corrado Lombardi
a2c5ddbfce Merge branch 'main' into CSTPER-66 2020-10-19 08:59:18 +02:00
Sascha Szott
4e4ef36c34 bugfix of issue #904 2020-10-17 21:42:47 +02:00
Dániel Péter Sipos
9a324ba456 #895 revert changes fix layout 2020-10-16 17:12:25 +02:00
Dániel Péter Sipos
3d1ffa6738 #895 fix colums sorting 2020-10-16 17:05:46 +02:00
Dániel Péter Sipos
622871fcde #895 fix grid layout 2020-10-16 14:53:58 +02:00
Tim Donohue
f7883492c6 Correct syntax for referencing related issues/PRs 2020-10-15 15:41:08 -05:00
Giuseppe Digilio
988747e392 [CSTPER-138] Fixed issue with request pagination while retrieving external source providers 2020-10-15 12:50:02 +02:00
Giuseppe Digilio
7599938516 [CSTPER-138] Added label for arXiv external providers 2020-10-15 12:47:12 +02:00
Giuseppe Digilio
ed1e93f73d [CSTPER-138] Fixed issue with infinite scroll within the dropdown of the external source providers 2020-10-15 12:09:05 +02:00
Giuseppe Digilio
f1256b3795 [CSTPER-138] Fixed issue with request pagination while retrieving external source providers 2020-10-15 12:07:47 +02:00
Giuseppe Digilio
f8afc6355b [CSTPER-138] Fixed issue that blocked route change within the import-external page 2020-10-15 12:06:32 +02:00
Kristof De Langhe
d4bd128b67 74053: Remove unused imports 2020-10-13 14:19:56 +02:00
Dániel Péter Sipos
401bbf3a8e #885 fix default tumbnail 2020-10-13 13:38:30 +02:00
Dániel Péter Sipos
22de03e7aa Merge remote-tracking branch 'upstream/main' into #885-media-viewer 2020-10-13 13:33:37 +02:00
Kristof De Langhe
5e21bfa5ca 74053: fix issue #865 2020-10-13 13:28:47 +02:00
Dániel Péter Sipos
9b63767d63 #885 add default thumbnail 2020-10-13 13:20:46 +02:00
Dániel Péter Sipos
6642cbb088 #885 add more unit test 2020-10-13 10:32:56 +02:00
Corrado Lombardi
6892efc6a3 Merge branch 'main' into fix_com_col_refresh 2020-10-12 16:36:23 +02:00
Dániel Péter Sipos
681904639b QREPO-110 quick test fix 2020-10-12 14:53:35 +02:00
Dániel Péter Sipos
0294c6c234 QREPO-110 add more tests 2020-10-12 14:52:50 +02:00
Dániel Péter Sipos
f46c8ef7b3 QREPO-110 add commnets 2020-10-12 11:02:21 +02:00
Dániel Péter Sipos
c044f458e1 #885 fix lint 2020-10-09 14:28:24 +02:00
Dániel Péter Sipos
88a64b1bd7 #855 fix tests and add angular 8 compatible gallery 2020-10-09 14:25:44 +02:00
Tim Donohue
d9634a84ae Merge pull request #874 from atmire/w2p-72956_delete-eperson
Delete eperson
2020-10-08 12:08:29 -05:00
Dániel Péter Sipos
cfe6eb6e61 #885 fix enviroment 2020-10-08 15:46:59 +02:00
Dániel Péter Sipos
55cca0538a #885 fix for linter 2020-10-08 15:43:31 +02:00
Dániel Péter Sipos
a740453e88 #885 fix gallery 2020-10-08 14:45:37 +02:00
Dániel Péter Sipos
a157552a13 #885 add media viewer 2020-10-08 14:15:16 +02:00
Tim Donohue
5bf6d0f287 Merge pull request #851 from atmire/usage-reports
Add statistics pages
2020-10-07 12:34:04 -05:00
Samuel
d843230158 Add statistics pages - fix link caching issue 2020-10-07 13:53:20 +02:00
Tim Donohue
bb935be0b6 Merge pull request #866 from atmire/Metadata-edit-patch-error-fix
Metadata edit patch error fix
2020-10-06 09:54:55 -05:00
Raf Ponsaerts
fbe6ec61de [Task 72956] applied feedback to the delete eperson error message 2020-10-02 16:38:19 +02:00
jonas-atmire
be2bfbe066 Fixing LGTM - Unused imports 2020-10-01 09:33:38 +02:00
jonas-atmire
a45bc349cc Small doc update 2020-10-01 09:11:25 +02:00
jonas-atmire
ce553e3272 Fixing lint error(s) 2020-10-01 09:09:05 +02:00
Mark H. Wood
17caa779c1 [#879] Clarify the use of the production build script, and when configuration is processed. 2020-09-30 17:04:45 -04:00
Tim Donohue
03bba0f578 Merge pull request #877 from atmire/remove-api-from-rest-config
remove remaining uses of /api in the rest namespace
2020-09-30 11:33:16 -05:00
Tim Donohue
098eb291b6 Merge pull request #878 from atmire/reomve-circular-dependencies-part-2
Remove circular dependencies part 2
2020-09-30 11:02:57 -05:00
Art Lowel
4f16f21a7d remove remaining uses of /api in the rest namespace 2020-09-30 17:14:31 +02:00
Tim Donohue
6511920d0c Merge pull request #868 from atmire/google-scholar-fixes
Google scholar fixes
2020-09-30 09:48:17 -05:00
Tim Donohue
b4120f2053 Update Codecov settings
This makes patch checks slightly more lenient, as they are not required.
2020-09-30 09:14:23 -05:00
Raf Ponsaerts
2621454cdb [Task 72956] fixed LGTM issue 2020-09-30 15:26:46 +02:00
Raf Ponsaerts
5615390ce5 [Task 72956] fixed EPerson deletion issues with page not refreshing 2020-09-30 14:46:03 +02:00
Art Lowel
3e191bb56e move info module paths to separate file 2020-09-30 13:53:04 +02:00
Raf Ponsaerts
e12559544b Merge remote-tracking branch 'dspace/main' into w2p-72956_delete-eperson
Conflicts:
	src/app/core/data/feature-authorization/feature-id.ts
2020-09-30 13:06:18 +02:00
jonas-atmire
aa757cfe23 Redirecting to item edit page on the bitstream tab, instead of the item viewing page 2020-09-30 13:04:34 +02:00
Raf Ponsaerts
24c07536b0 [Task 72956] fixing tests 2020-09-30 13:01:12 +02:00
jonas-atmire
5de774842d Merge remote-tracking branch 'community/main' into w2p-72326-Back-link-on-bitstream-edit-page 2020-09-30 12:34:11 +02:00
jonas-atmire
988079caed Merge conflict fixes 2020-09-30 12:34:03 +02:00
Art Lowel
24706f0cc4 remove remaining uses of /api in the rest namespace 2020-09-30 11:15:50 +02:00
Art Lowel
764cfc5d95 add comment to explain rewriteDownloadUrls 2020-09-30 10:44:37 +02:00
Tim Donohue
c67d2e6718 Merge pull request #873 from atmire/w2p-fix-bitstreams-pagination-on-item-page
Fix bug concerning bistream pagination on the item page
2020-09-29 11:51:02 -05:00
Raf Ponsaerts
8a07b3bb2b [Task 72956] fix LGTM issue 2020-09-29 14:20:20 +02:00
Raf Ponsaerts
f6fea087c3 [Task 72956] further development on delete eperson 2020-09-29 14:18:15 +02:00
Samuel
b6ff9369e4 Add statistics pages - move data service and add ds-loading 2020-09-29 14:14:28 +02:00
jonas-atmire
dddf8df2b2 Merge conflict fixes 2020-09-25 11:38:11 +02:00
jonas-atmire
27f8c7da2e Merge remote-tracking branch 'community/main' into w2p-72326-Back-link-on-bitstream-edit-page 2020-09-24 15:30:23 +02:00
Corrado Lombardi
367470a912 cache cleared with parent community reference once a collection or a community is created or deleted 2020-09-24 13:03:29 +02:00
Corrado Lombardi
d9c177b100 added RequestService 2020-09-24 13:02:38 +02:00
Kristof De Langhe
15de3a2eeb Merge branch 'main' into w2p-73014_Metadata-edit-patch-error-fix
Conflicts:
	src/app/+item-page/edit-item-page/item-metadata/item-metadata.component.ts
2020-09-24 10:16:01 +02:00
Tim Donohue
6e6253c2d8 Merge pull request #860 from atmire/w2p-71894_metadatafields-byFieldName-search-endpoint
Item edit page metadatafields suggestion & validation
2020-09-23 16:31:38 -05:00
Samuel
6ff9429bc0 Add statistics pages - add support for parameters in menu sections and add id params 2020-09-23 23:28:06 +02:00
Tim Donohue
aa84a56c2b Merge pull request #861 from atmire/Cookie-preferences
Cookie consent preferences
2020-09-23 15:14:24 -05:00
Samuel
e7e408dacb Add statistics pages - feedback 2020-09-23 21:57:53 +02:00
Samuel
b7382de29a Add statistics pages 2020-09-23 21:57:52 +02:00
Tim Donohue
1ef3d40904 Merge pull request #822 from atmire/Features-support-part-2
Features support part 2
2020-09-23 14:37:30 -05:00
Tim Donohue
1fba45a08b Customize Codecov settings 2020-09-23 13:31:53 -05:00
lotte
456551fd94 fixed tests 2020-09-23 16:57:08 +02:00
Tim Donohue
a0414e11bc Merge pull request #872 from tdonohue/replace_coveralls_with_codecov
Switch from Coveralls.io to Codecov.io
2020-09-23 08:36:54 -05:00
Raf Ponsaerts
3de2b50d10 [Task 72956] applied feedback to the deletion of epersons 2020-09-23 15:07:38 +02:00
Yana De Pauw
ddc1cbbd73 73249: Fix message and filter issue 2020-09-23 11:36:10 +02:00
Yana De Pauw
cfadb4314e Remove console.log 2020-09-23 10:57:41 +02:00
Yana De Pauw
dfbbd98862 73249: Fix issues with bitstream pagination on item pages. 2020-09-23 10:57:41 +02:00
Tim Donohue
047fbfee1f Switch from Coveralls.io to Codecov.io 2020-09-22 16:19:07 -05:00
Tim Donohue
6960597381 Merge pull request #871 from atmire/fix-express-error-handler
Ensure CSR fallback only happens on actual errors
2020-09-22 12:43:12 -05:00
Kristof De Langhe
124ed4aff2 71764: LGTM Issue fix 2020-09-22 09:14:07 +02:00
Kristof De Langhe
dd7f34e541 Merge branch 'main' into w2p-71764_Features-support-part-2
Conflicts:
	src/app/+collection-page/collection-page-routing.module.ts
	src/app/+community-page/community-page-routing.module.ts
	src/app/+item-page/edit-item-page/edit-item-page.routing.module.ts
	src/app/+item-page/edit-item-page/item-status/item-status.component.ts
	src/app/+item-page/item-page-routing.module.ts
	src/app/app-routing.module.ts
	src/app/core/core.module.ts
	src/app/shared/log-in/log-in.component.html
	src/app/shared/log-in/log-in.component.spec.ts
	src/app/shared/log-in/log-in.component.ts
2020-09-22 08:36:16 +02:00
Art Lowel
5afd4a6930 ensure CSR fallback only happens on actual errors 2020-09-21 18:41:10 +02:00
Raf Ponsaerts
f8dab74b64 [Task 72956] improvement to the spyOn in EPersonFormComponent test 2020-09-21 14:56:29 +02:00
Raf Ponsaerts
2d2fb0210c [Task 72956] removed console logs 2020-09-21 14:29:04 +02:00
Raf Ponsaerts
05f3b7e7c6 [Task 72956] implemented the deletion of EPerson in the EPerson Form and Registry 2020-09-21 14:24:55 +02:00
lotte
9886ba8dc9 fixed linting errors 2020-09-21 09:12:22 +02:00
lotte
8e04dff09d fixed lgtm issues 2020-09-21 09:05:29 +02:00
Art Lowel
9757e6651e fix test 2020-09-18 18:05:37 +02:00
Art Lowel
47edd9b6d8 add docs on configuring rewriteDownloadUrls 2020-09-18 17:46:49 +02:00
lotte
f96549d5c7 added urlcombiner 2020-09-18 17:46:45 +02:00
lotte
9c01c1b3f3 fixed test issues 2020-09-18 17:46:36 +02:00
lotte
1b10ec63d6 fixed google scholar links, todo: fix tests 2020-09-18 17:46:29 +02:00
Tim Donohue
9f396f7120 Merge pull request #862 from atmire/User-agreement
User agreement
2020-09-17 11:17:43 -05:00
Tim Donohue
54e61e00ce Merge pull request #856 from atmire/Hard-redirect-after-log-in
Hard redirect after log in
2020-09-17 08:25:18 -05:00
Kristof De Langhe
11b62daa44 73014: metadata edit - notification on patch error 2020-09-17 14:24:44 +02:00
Kristof De Langhe
4e10db8a53 72541: user-agreement update to patch 2020-09-17 13:13:32 +02:00
Kristof De Langhe
b68fe23310 72699: Additional test fix 2020-09-17 11:40:30 +02:00
Kristof De Langhe
d5927a76fc 72699: Test fix 2020-09-17 10:49:24 +02:00
Kristof De Langhe
b77dce25ce 72699: Shibboleth login redirect fix 2020-09-17 10:44:10 +02:00
Marie Verdonck
ade3bffcb7 71894: prod build permission issue fix 2020-09-17 10:30:23 +02:00
Tim Donohue
4214ddec8c Merge pull request #863 from atmire/SSR-preboot-and-error-handling
Fixes for preboot and SSR error handling
2020-09-16 16:06:58 -05:00
Marie Verdonck
5db42a6da8 71894: also disable save button if invalid input field 2020-09-16 16:33:38 +02:00
Marie Verdonck
75058a735a 71894: confirm edit metadata button disabled if invalid &
removed unneeded service
2020-09-16 14:50:29 +02:00
Kristof De Langhe
8c4f5002f5 73014: Remove sending patch to cache + small refactoring changes 2020-09-16 12:01:43 +02:00
Kristof De Langhe
2e8a78151e 73014: MetadataPatchOperation refactoring + add operation fix 2020-09-15 17:49:30 +02:00
lotte
5e21c5fd26 Merge branch 'Hard-redirect-after-log-in' into w2p-72635_cookie-preferences 2020-09-15 09:42:09 +02:00
lotte
fc35c9fd67 Merge branch 'Hard-redirect-after-log-in' into w2p-72635_cookie-preferences 2020-09-15 09:39:23 +02:00
Kristof De Langhe
e53548a95a 73014: Item metadata patch tests 2020-09-14 16:53:36 +02:00
Kristof De Langhe
eee57f5b41 73014: MetadataPatchOperationService create patch in two steps to fix remove operation issue 2020-09-14 13:34:30 +02:00
Kristof De Langhe
1647c95600 73014: Create patch from object-updates and send immediate patch for item-metadata-edit 2020-09-11 17:34:37 +02:00
Art Lowel
abab73b909 Merge branch 'Hard-redirect-after-log-in' into User-agreement 2020-09-11 16:54:17 +02:00
Art Lowel
7eb88f9fda Merge branch 'main' into Hard-redirect-after-log-in 2020-09-11 16:52:01 +02:00
Tim Donohue
0be3c61eeb Merge pull request #751 from 4Science/authorities_and_controlled_vocabularies
Refactoring authority framework, value pairs and controlled vocabulary [Angular]
2020-09-11 09:42:37 -05:00
Giuseppe Digilio
e7ef068352 Merge remote-tracking branch 'remotes/origin/main' into authorities_and_controlled_vocabularies 2020-09-11 15:52:58 +02:00
Giuseppe Digilio
c5cb1a2837 [CSTPER-75] Fixed confidence status for linked metadata with authority 2020-09-11 15:38:41 +02:00
Giuseppe Digilio
a178e215f0 Fixed issue with preparing patch operation's value when value has an authority id but is not an instance of VocabularyEntry or FormFieldMetadataValueObject 2020-09-11 15:35:50 +02:00
Giuseppe Digilio
fab0a09727 Fixed issue with adding lookup repeatable fields 2020-09-11 15:33:05 +02:00
Giuseppe Digilio
1e8669a738 Fixed issue with change not detected 2020-09-11 15:30:38 +02:00
Marie Verdonck
1885933f89 Merge remote-tracking branch 'upstream/main' into Support-for-process-output 2020-09-10 17:32:55 +02:00
lotte
a6dd87f78c updated server.ts to latest fixes 2020-09-09 16:08:01 +02:00
lotte
cced7a2914 fixed preboot issues and error handling 2020-09-09 16:07:19 +02:00
lotte
3f4a0d1fd9 removing proboot option from config 2020-09-09 16:07:19 +02:00
Tim Donohue
4b11e1d9cd Merge pull request #857 from 4Science/issue#819
Issue#819
2020-09-08 09:40:09 -05:00
Kristof De Langhe
b82e840935 72541: Removed unused import 2020-09-08 11:16:12 +02:00
Kristof De Langhe
c5e975601a Merge branch 'w2p-72699_Hard-redirect-after-log-in' into w2p-72541_User-agreement-and-Privacy-statement
Conflicts:
	src/app/app-routing.module.ts
2020-09-08 10:17:44 +02:00
lotte
99b84223e2 fixed lgtm error 2020-09-08 09:26:38 +02:00
lotte
d4027cc1d1 debounce for update requests 2020-09-08 09:13:17 +02:00
lotte
90f0597baa bugfix for users without metadata value for cookie 2020-09-08 09:13:17 +02:00
lotte
48ffb2105f added missing typedoc 2020-09-08 09:13:17 +02:00
lotte
d7f6885232 updated consent configuration 2020-09-08 09:13:17 +02:00
lotte
8d29090f24 small fixes 2020-09-08 09:13:17 +02:00
lotte
c19f49fb96 added tests 2020-09-08 09:13:17 +02:00
lotte
19ca179e7a commit before rebase 2020-09-08 09:13:17 +02:00
lotte
f6e8448164 fixed SSR issue, added code for storing the users cookie consents and restoring them 2020-09-08 09:13:17 +02:00
lotte
b3b934033c added klaro exclusion to webpack/tsconfig 2020-09-08 09:13:17 +02:00
lotte
3e1fb243a1 solving SSR issue 2020-09-08 09:13:17 +02:00
lotte
33aeccdd43 72635: Fixed initialize code and started on storageName 2020-09-08 09:13:17 +02:00
lotte
0b3b82b485 finished basic Klaro setup 2020-09-08 09:13:17 +02:00
lotte
472154c0df 72635: Cookie preferences first committ 2020-09-08 09:13:17 +02:00
Kristof De Langhe
de9f642bf9 72541: Fix tests, remove redundant injection and added JSDocs 2020-09-07 12:01:23 +02:00
Kristof De Langhe
f0940aad57 Merge branch 'w2p-72699_Hard-redirect-after-log-in' into Hard-redirect-after-log-in 2020-09-07 10:30:09 +02:00
Kristof De Langhe
4141ae7ad7 72699: JSDocs 2020-09-07 10:27:39 +02:00
Kristof De Langhe
b89c21ec3b Merge branch 'main' into w2p-72699_Hard-redirect-after-log-in
Conflicts:
	src/app/app-routing.module.ts
2020-09-07 10:22:37 +02:00
Giuseppe Digilio
ac86976115 Disabled EPerson language when sending Accept-Language header 2020-09-07 09:27:38 +02:00
Giuseppe Digilio
6feb344aa0 Revert "Fixed issue with LocaleInterceptor that blocked new request"
This reverts commit a76e0796
2020-09-07 09:26:23 +02:00
Giuseppe Digilio
b58defc0f3 Revert "Fixed issue that emits successful remote data twice with undefined payload in the first one"
This reverts commit 99c0f6ce
2020-09-07 09:26:02 +02:00
Kristof De Langhe
18fdf7585e Merge branch 'w2p-72541_User-agreement-and-Privacy-statement' of https://git.atmire.com/contributions/dspace-angular into w2p-72541_User-agreement-and-Privacy-statement 2020-09-04 17:46:11 +02:00
Kristof De Langhe
aa1b568bf4 72541: Redirect through query param at EndUserAgreement 2020-09-04 17:46:05 +02:00
Tim Donohue
dd037459cf Merge pull request #715 from 4Science/DS-4515_submit-external-source
DS-4515: Start new submission via Search or ID Lookup (i.e. submit external source)
2020-09-04 09:49:55 -05:00
Art Lowel
7997100a7e Merge branch 'w2p-72699_Hard-redirect-after-log-in' into w2p-72541_User-agreement-and-Privacy-statement 2020-09-04 14:35:24 +02:00
Art Lowel
5965f4e929 remove circular dependency 2020-09-04 14:32:13 +02:00
Marie Verdonck
1e82943f4a Remove unused imports 2020-09-04 13:04:57 +02:00
Marie Verdonck
dcbb002630 71894: small fix after rebase 2020-09-04 12:52:15 +02:00
Marie Verdonck
810f009582 71894: position dropdown right underneath input 2020-09-04 12:23:31 +02:00
Marie Verdonck
b602a736de 71894: Refactored exact FieldName search for validator after change endpoint 2020-09-04 12:23:31 +02:00
Art Lowel
10b314cf20 fix tests 2020-09-04 12:23:30 +02:00
Marie Verdonck
1f4ae7a035 71894: refactor with new operator metadataFieldsToString instead of schemaResolved 2020-09-04 12:23:30 +02:00
Marie Verdonck
2ebb1640b4 71894: WIP: fix EditInPlace tests 2020-09-04 12:22:24 +02:00
Marie Verdonck
4a0444d669 71894: mdField validation; TODO: fix EditInPlace tests 2020-09-04 12:22:24 +02:00
Marie Verdonck
a6c0a60bd7 71894: Start of mdField validator; todo: show error & some backend changes 2020-09-04 12:22:24 +02:00
Marie Verdonck
77b2506112 71894: MD field suggestions on edit item page 2020-09-04 12:22:24 +02:00
Kristof De Langhe
bd522038a1 72541: Additional tests and fixes 2020-09-03 17:52:52 +02:00
Kristof De Langhe
eda1a34da5 72541: EndUserAgreementCurrentUserGuard and EndUserAgreementCookieGuard 2020-09-03 17:22:38 +02:00
Kristof De Langhe
a0759098ea Merge branch 'w2p-72699_Hard-redirect-after-log-in' into w2p-72541_User-agreement-and-Privacy-statement
Conflicts:
	src/app/+collection-page/collection-page-routing.module.ts
	src/app/+community-page/community-page-routing.module.ts
	src/app/+item-page/item-page-routing.module.ts
	src/app/+workflowitems-edit-page/workflowitems-edit-page-routing.module.ts
	src/app/app-routing.module.ts
	src/app/core/shared/operators.ts
2020-09-03 16:06:59 +02:00
Giuseppe Digilio
a76e0796c6 Fixed issue with LocaleInterceptor that blocked new request 2020-09-03 14:46:52 +02:00
Giuseppe Digilio
99c0f6ceaa Fixed issue that emits successful remote data twice with undefined payload in the first one 2020-09-03 14:45:10 +02:00
Kristof De Langhe
59def51ebe 72699: LGTM alert fixes 2020-09-03 13:36:16 +02:00
Kristof De Langhe
5e970bcff2 72699: isAuthBlocking$ rename to isNotAuthBlocking$ 2020-09-03 13:32:13 +02:00
Kristof De Langhe
3d08eb0ae1 Merge branch 'main' into w2p-72699_Hard-redirect-after-log-in
Conflicts:
	src/app/app-routing.module.ts
	src/app/shared/log-in/log-in.component.ts
2020-09-03 13:19:36 +02:00
Art Lowel
e9a2b4b368 made the redirect after logging out blocking as well 2020-09-03 12:58:40 +02:00
Giuseppe Digilio
b8138ee3b9 Fixed lint error 2020-09-03 12:27:55 +02:00
Giuseppe Digilio
b15113ad96 Fixed failed test 2020-09-03 11:36:28 +02:00
Giuseppe Digilio
a504b7cbd3 Fixed issue with form field losing confidence value 2020-09-03 11:18:32 +02:00
Kristof De Langhe
306d6d15c5 Merge branch 'w2p-72699_Hard-redirect-after-log-in' into w2p-72541_User-agreement-and-Privacy-statement
Conflicts:
	src/app/app-routing.module.ts
2020-09-03 10:49:06 +02:00
Giuseppe Digilio
7d22bcc59c Merge remote-tracking branch 'remotes/atmire/fix-entities-issue-pr-751' into authorities_and_controlled_vocabularies 2020-09-03 10:07:34 +02:00
Giuseppe Digilio
94119668dd Fixed merge 2020-09-03 09:57:24 +02:00
Giuseppe Digilio
5ebd4fcbc8 Merge remote-tracking branch 'remotes/origin/main' into authorities_and_controlled_vocabularies
# Conflicts:
#	src/app/core/integration/models/authority.value.ts
#	src/app/shared/chips/models/chips-item.model.ts
#	src/app/shared/chips/models/chips.model.ts
#	src/app/shared/form/builder/ds-dynamic-form-ui/ds-dynamic-form-control-container.component.ts
#	src/app/shared/form/builder/ds-dynamic-form-ui/models/relation-group/dynamic-relation-group.components.ts
#	src/app/shared/form/builder/models/form-field-metadata-value.model.ts
2020-09-03 09:36:39 +02:00
Tim Donohue
cd6c5b70c8 Merge pull request #853 from atmire/w2p-72741_upload-section-id
844: Fix file upload to use section ID instead of 'upload'
2020-09-02 15:00:36 -05:00
Marie Verdonck
f82e6fa48b 72403: Process output logs only retrieved at button press + tests 2020-09-02 19:35:35 +02:00
Tim Donohue
16a68dae42 Merge pull request #855 from atmire/Curation-task-email-parameter-removal
Removal of email option for the curation script
2020-09-02 11:14:34 -05:00
jonas-atmire
be79663df9 Removal of email option for the curation script -> See https://github.com/DSpace/DSpace/pull/2926#pullrequestreview-477868288 for full explanation 2020-09-02 14:59:44 +02:00
Kristof De Langhe
17249e9541 72699: Additional fixes for maintaining and clearing the redirect url on login components 2020-09-01 16:22:16 +02:00
Tim Donohue
f4946003e2 Add action to auto-label PRs with merge conflicts 2020-09-01 09:08:25 -05:00
Art Lowel
f167d5a629 fix issue where combining entities and authority control in the same field wouldn't work 2020-09-01 14:25:50 +02:00
Art Lowel
724e5d1f12 add blocking state to make dealing with log in errors more user friendly 2020-09-01 10:10:39 +02:00
Tim Donohue
bc0be9e235 Merge pull request #850 from atmire/remove-cirular-dependencies
Remove circular dependencies
2020-08-31 15:14:06 -05:00
Yana De Pauw
f222cd8b33 72741: Fix file upload to use section ID instead of 'upload' 2020-08-28 17:24:52 +02:00
Tim Donohue
a63bfdf2fd Merge pull request #845 from atmire/w2p-72444_Support-multiple-dsoType-values-in-discovery
Support multiple dso type values in discovery
2020-08-28 09:05:20 -05:00
Tim Donohue
43ae3fc952 Merge pull request #841 from 4Science/ISSUE_840
Hide EPerson search section in the edit mode
2020-08-28 08:48:05 -05:00
Kristof De Langhe
cb3ef1dde4 72541: End-User-Agreement redirect via store 2020-08-28 13:05:02 +02:00
Art Lowel
bbc7844b5d fix lgtm issues 2020-08-28 11:58:43 +02:00
Kristof De Langhe
76b9fd4702 Merge branch 'w2p-72699_Hard-redirect-after-log-in' into w2p-72541_User-agreement-and-Privacy-statement 2020-08-28 11:46:38 +02:00
Kristof De Langhe
61e0b9efb0 72699: Remove redundant subscribe + fix tests 2020-08-28 11:40:22 +02:00
Art Lowel
21e8879f77 remove circular dependencies 2020-08-28 11:34:17 +02:00
Kristof De Langhe
beca98b441 Merge branch 'w2p-72699_Hard-redirect-after-log-in' into w2p-72541_User-agreement-and-Privacy-statement
Conflicts:
	src/app/app-routing.module.ts
	src/app/core/core.module.ts
2020-08-28 10:40:01 +02:00
Kristof De Langhe
32cf92eba9 72541: Spacing between checkbox and buttons 2020-08-28 10:37:55 +02:00
Marie Verdonck
81fc26b844 72444: Statistics search event dsoType single string & small fix 2020-08-27 15:17:02 +02:00
Kristof De Langhe
a3df6ce474 72699: Remove unnecessary method 2020-08-27 14:56:20 +02:00
Kristof De Langhe
55c45f5f6c 72699: Hard redirect after log in - loading fixes 2020-08-27 14:50:13 +02:00
Marie Verdonck
e9d77c4d2c 72444: statistics searchevent.dsoTypes changed until backend changes
& error on export modal dso selector for item removed, only returns comcols, not items now
& test fixes
2020-08-27 14:37:31 +02:00
Marie Verdonck
e89d064934 multiple dsoType allowed in search & in selector modals 2020-08-27 14:37:31 +02:00
Giuseppe Digilio
92207cf66d Added missing TypeDocs 2020-08-27 09:30:38 +02:00
Kristof De Langhe
7fbae8997d 72699: JSDocs and Test cases 2020-08-26 16:32:03 +02:00
Giuseppe Digilio
4080cce8fd Fixed check for Hierarchical Vocabulary 2020-08-26 15:57:34 +02:00
Giuseppe Digilio
ee2f11f602 Fixed template 2020-08-26 15:33:52 +02:00
Giuseppe Digilio
87bed6d288 Fixed check for vocabulary options on DsDynamicListComponent 2020-08-26 15:24:01 +02:00
Giuseppe Digilio
3178e5578c Fixed issue after merge 2020-08-26 14:45:53 +02:00
Giuseppe Digilio
67bd19a340 Fixed template 2020-08-26 14:42:47 +02:00
Giuseppe Digilio
ab190e381d Fixed test 2020-08-26 14:35:23 +02:00
Kristof De Langhe
7367f91176 72699: Hard redirect after log in 2020-08-26 14:20:47 +02:00
Giuseppe Digilio
4b35828bbe Merge remote-tracking branch 'remotes/origin/main' into authorities_and_controlled_vocabularies
# Conflicts:
#	src/app/shared/shared.module.ts
2020-08-26 13:58:49 +02:00
Giuseppe Digilio
94b4115ecd Removed unintentional fdescribe 2020-08-26 12:53:50 +02:00
Tim Donohue
cc618ebadd Merge pull request #838 from atmire/file-pagination-simple-and-full-item-pages
File pagination simple and full item pages
2020-08-21 16:30:25 -05:00
Luca Giamminonni
547ade276c Hide EPerson search section in the edit mode 2020-08-21 19:01:08 +02:00
Kristof De Langhe
de1e1a70d1 72541: End User Agreement test cases 2020-08-21 16:05:19 +02:00
jonas-atmire
95de75dbf9 Failing test fixing + additional tests for the call that handles the actual navigation routing 2020-08-21 11:28:16 +02:00
Kristof De Langhe
ecf75efe99 72541: Renamed end-user-agreement-guard and -service; Add metadata on registry; privacy statement component 2020-08-21 11:22:02 +02:00
jonas-atmire
11d81d8afc Initial tests added (Still failing) 2020-08-21 09:30:06 +02:00
Kristof De Langhe
d46355e274 72541: Accepting the End User Agreement + UserAgreementService 2020-08-20 17:28:25 +02:00
Tim Donohue
708b5495c7 Merge pull request #825 from atmire/Add-robots-txt
Add robots.txt
2020-08-20 10:18:08 -05:00
Tim Donohue
0fc757ba4d Add link to Code Testing Guide in PR template 2020-08-20 10:09:05 -05:00
Kristof De Langhe
8768645e4a 72541: InfoModule, EndUserAgreementComponent, UserAgreementGuard 2020-08-19 17:47:33 +02:00
Tim Donohue
6b90ac073c Merge pull request #798 from atmire/Export-Import_metadata_CSV
Export/Import metadata CSV
2020-08-19 10:10:03 -05:00
Raf Ponsaerts
1247088df9 Fixed tslint issues 2020-08-17 16:29:57 +02:00
Raf Ponsaerts
a38d365bab Updated message for the collapse bitstreams for the bitstream pagination on simple item pages 2020-08-17 15:18:25 +02:00
Raf Ponsaerts
18fb47c9b6 [Task 72397] applied feedback on the file section and full file section components 2020-08-17 10:14:05 +02:00
Danilo Di Nuzzo
cfd819cd62 Merge branch 'authorities_and_controlled_vocabularies' of https://github.com/4Science/dspace-angular into authorities_and_controlled_vocabularies 2020-08-14 12:56:57 +02:00
ddinuzzo
3f8a670dcf Merge branch 'main' into authorities_and_controlled_vocabularies 2020-08-14 12:53:38 +02:00
Marie Verdonck
02c693363b Unneeded ts-ignore removed 2020-08-13 12:31:42 +02:00
Art Lowel
0a06368340 add a proxy for the sitemaps 2020-08-12 17:31:33 +02:00
Art Lowel
a2fa51cef5 deprecate the use of /api in the rest nameSpace 2020-08-12 14:38:06 +02:00
Danilo Di Nuzzo
66cabcb342 refactory for metadata and collection params 2020-08-12 14:01:29 +02:00
Art Lowel
8f822ba4f7 add robots.txt 2020-08-12 13:20:11 +02:00
Art Lowel
05a92f8e5b refactor webpack config 2020-08-12 13:19:23 +02:00
lotte
82d780b6c2 Fixed PageInfo SSR issue 2020-08-12 11:56:49 +02:00
Raf Ponsaerts
cb7335208f [Task 72397] undo test consoles and fix pagination issue 2020-08-11 13:13:02 +02:00
Raf Ponsaerts
0553f68607 [Task 72397] adding debug consoles and pageSize 2020-08-11 11:58:42 +02:00
Matteo Perelli
25d912b006 Merge with main 2020-08-11 10:01:16 +02:00
Raf Ponsaerts
f6f87a5738 [Task 72397] implemented the bitstream pagination on simple and full item pages 2020-08-07 16:07:33 +02:00
jonas-atmire
e78a1ee63e Routing back to the item page from bitstream edit 2020-08-07 09:51:33 +02:00
Tim Donohue
f1db0c044b Merge pull request #829 from atmire/Put-dynamic-workflowgroup-links-on-Collections-in-an-array
Put dynamic workflowgroup links on Collections in an array
2020-08-06 15:52:23 -05:00
Tim Donohue
9c83cd9b53 Merge pull request #830 from atmire/submission-repeatable-issue
Fix issue with repeatable scrollable dropdowns in the submission
2020-08-06 15:14:45 -05:00
Tim Donohue
4f608eb3cf Merge pull request #724 from 4Science/CST-3091
DS-4514 start a new submission via file
2020-08-06 08:45:50 -05:00
Kristof De Langhe
42978931de Merge branch 'main' into w2p-71764_Features-support-part-2
Conflicts:
	src/app/core/core.module.ts
2020-08-06 13:50:48 +02:00
Samuel
261f79daab Put dynamic workflowgroup links on Collections in an array - fix lgtm warnings 2020-08-05 16:17:27 +02:00
Art Lowel
d560e08b20 only clone for add events 2020-08-05 16:03:51 +02:00
Art Lowel
8bfccaa624 fix issue where adding multiple fields at the same time to an empty dropdown would only add the last field 2020-08-05 15:37:10 +02:00
Art Lowel
c2fd019ebd fix exception when adding a field for a repeatable dropdown 2020-08-05 13:55:26 +02:00
Samuel
a29de15f71 Put dynamic workflowgroup links on Collections in an array 2020-08-05 12:41:11 +02:00
jonas-atmire
82587b5ff8 Move followLink for format to bitstream-page.resolver 2020-08-05 11:14:21 +02:00
jonas-atmire
97ce951bd8 FollowLink addition to bitstream/bundle models 2020-08-05 11:01:56 +02:00
Marie Verdonck
f2a3816430 72403: tab removed process output, message change & redundant switchmap removed 2020-08-04 15:00:08 +02:00
Marie Verdonck
8325a34910 72403: Support for process output on detail page 2020-08-04 14:15:25 +02:00
Danilo Di Nuzzo
6422288207 added TypeDocs on collection selectior component 2020-08-04 11:55:24 +02:00
ddinuzzo
73b5a376b3 Merge branch 'main' into CST-3091 2020-08-04 11:53:35 +02:00
Danilo Di Nuzzo
4a30e5d7d5 fix response for test submission/vocabularies 2020-08-04 09:43:36 +02:00
Danilo Di Nuzzo
9b69aaaa07 added missing unsubscription in onebox component 2020-08-03 16:52:28 +02:00
Marie Verdonck
e06ff5057a lint 2020-08-03 16:26:10 +02:00
Marie Verdonck
4338250d8d abort travis after script fail, to be able to find cause of failure 2020-08-03 16:26:10 +02:00
Marie Verdonck
26905860ba 71712: Test fixes: eventemitter to subject in confirmation modal 2020-08-03 16:26:10 +02:00
Marie Verdonck
3e0f4a54e6 71712: confirmation modal for export + tests &
- request causing error because of issue #756, commented out for now &
- drop event prevention in a HostListener like dragover event
2020-08-03 16:26:10 +02:00
Marie Verdonck
66cdf9dd18 fdescribe removed 2020-08-03 16:25:38 +02:00
Marie Verdonck
e160d46b81 71713: Dropzone without uploader to own component 2020-08-03 16:25:38 +02:00
Marie Verdonck
9e095d09b6 lint fixes 2020-08-03 16:25:38 +02:00
Marie Verdonck
930512efaa 71713: dropzone padding 2020-08-03 16:25:38 +02:00
Marie Verdonck
393bdf0786 71713: restyle dropzone & rewrite antipattern nested subscribes 2020-08-03 16:25:38 +02:00
Marie Verdonck
9ae68fee32 71713: Tests Import metadata CSV page added 2020-08-03 16:25:38 +02:00
Marie Verdonck
2898cbac6d 71713: Import metadata CSV 2020-08-03 16:25:38 +02:00
Marie Verdonck
d295fa422f 71712: Item export no longer redirects & test async fixes 2020-08-03 16:25:09 +02:00
Marie Verdonck
8f28e989a1 71712: Test fixes 2020-08-03 16:25:09 +02:00
Marie Verdonck
311d93efad 71712: Left out the filter for authorized & metadata-export script exists to show export metadata option for now, until #635 is fixed
See https://github.com/DSpace/dspace-angular/issues/635
If uncommented now: in prod mode: button only available after refresh after login; in dev mode: button not available in any way because authorisation request header is not added to script request
2020-08-03 16:25:09 +02:00
Art Lowel
2f946ba2a3 fix issue where the menu wouldn't update if an option was added after the initial render 2020-08-03 16:25:09 +02:00
Marie Verdonck
d2523ade9b 71712: Check script exists with findBy Id & new tests & test fixes 2020-08-03 16:25:09 +02:00
Marie Verdonck
902d4c2330 71712: Export metadata CSV; WIP 2020-08-03 16:25:09 +02:00
ddinuzzo
793698a6d8 Merge branch 'main' into authorities_and_controlled_vocabularies 2020-08-03 11:00:38 +02:00
Tim Donohue
eb9809801f Merge pull request #799 from atmire/w2p-71806_Curation-tasks-UI
Curation Task Admin UI
2020-07-31 14:14:25 -05:00
Giuseppe Digilio
34da1dc055 Removed angular material dependency 2020-07-31 15:18:41 +02:00
Giuseppe Digilio
0582bc5622 Fixed issue when adding repeatable onebox field with vocabulary 2020-07-31 15:17:51 +02:00
Giuseppe Digilio
79db49043f Make metadata and scope properties as optional in the VocabularyOptions 2020-07-31 14:16:20 +02:00
Giuseppe Digilio
2ed144bd1c Fixed wrong links in mock object 2020-07-31 13:37:26 +02:00
Giuseppe Digilio
c9519f44fb Retrieve entries url from vocabulary's link 2020-07-31 13:30:23 +02:00
Giuseppe Digilio
9ced3530ab Added inline comments 2020-07-30 19:13:59 +02:00
Giuseppe Digilio
090fb94c4d Normalized submission section data when retrieving them from item object 2020-07-30 18:50:47 +02:00
Giuseppe Digilio
85506238b3 Fixed issue with form dropdown field which didn't close menu after entry selection 2020-07-30 18:46:17 +02:00
Giuseppe Digilio
1a9d20161c Fixed issue while preparing json patch value in case of array in the JsonPatchOperationsBuilder 2020-07-30 18:43:19 +02:00
Giuseppe Digilio
7dae82cbbd added virtualValue property to FormFieldMetadataValueObject 2020-07-30 18:41:04 +02:00
Giuseppe Digilio
7e7ce7b06e Added check for VocabularyEntry when initializing a controlled vocabulary component's init model 2020-07-30 18:37:45 +02:00
Yana De Pauw
ce5247253c Remove unused imports 2020-07-30 16:01:59 +02:00
Yana De Pauw
90f68eed7e Add check for config properties provided by server 2020-07-30 15:11:42 +02:00
Yana De Pauw
76ad72f536 71806: Use server config for curation tasks 2020-07-30 14:31:59 +02:00
Kristof De Langhe
23354b45c1 71764: Test changes 2020-07-30 11:24:58 +02:00
Kristof De Langhe
adb51bc06c 71764: authorization-data-service remove eperson param unless provided 2020-07-30 11:09:16 +02:00
Tim Donohue
8b639bc7ba Add keyword fixes & reminder to link to REST PR 2020-07-27 10:46:28 -05:00
Giuseppe Digilio
4779dd209e [CST-3092] fix context 2020-07-27 11:15:15 +02:00
Giuseppe Digilio
3f77ffa1e6 [CST-3092] remove margin bottom 2020-07-27 11:14:56 +02:00
Giuseppe Digilio
2529c91868 Merge remote-tracking branch 'remotes/DSpacegithub/main' into DS-4515_submit-external-source 2020-07-27 09:49:33 +02:00
Tim Donohue
1a46031e4d Add comments about syncing with local.cfg
This seems to be a common question of users. Clarifying via comments.
2020-07-24 11:36:52 -05:00
Giuseppe Digilio
a25ab5620f Merge remote-tracking branch 'remotes/origin/main' into authorities_and_controlled_vocabularies 2020-07-23 11:41:03 +02:00
Giuseppe Digilio
fb1b6c7a7a Changed findEntryDetailByValue method name to a properly findEntryDetailById 2020-07-22 17:49:36 +02:00
Giuseppe Digilio
d88a863a0d fixed issue that didn't allow to select tree node after a search 2020-07-22 17:40:03 +02:00
Giuseppe Digilio
47ab023e7a fixed VocabularyTreeviewComponent selector 2020-07-22 17:03:52 +02:00
Tim Donohue
095d5f3299 Merge pull request #541 from atmire/metadata-and-relationships-combined-in-submission
Combining relationships and metadata during submission
2020-07-22 09:26:55 -05:00
lotte
725481687d added test 2020-07-22 11:34:45 +02:00
Yana De Pauw
3e8ff05d2d 71806: Update messages 2020-07-22 10:49:59 +02:00
Yana De Pauw
2162153ae9 71806: Curation tasks UI 2020-07-22 10:49:59 +02:00
lotte
091ec6c917 added missing typedoc + removed console.logs 2020-07-22 10:27:57 +02:00
Giuseppe Digilio
c8c7e92717 Merge remote-tracking branch 'remotes/origin/main' into authorities_and_controlled_vocabularies
# Conflicts:
#	src/app/core/core.module.ts
2020-07-21 18:57:47 +02:00
Giuseppe Digilio
cb11e3c702 Merge remote-tracking branch 'remotes/origin/main' into authorities_and_controlled_vocabularies 2020-07-21 18:55:48 +02:00
Giuseppe Digilio
6fecdfadb2 Fixed issue that redirect always to home page after checking authentication on CSR 2020-07-21 18:53:09 +02:00
Tim Donohue
9d3f58770a Merge pull request #717 from atmire/Features-support
Features support
2020-07-21 11:41:49 -05:00
lotte
ee8ad1293f removed remaining unnecessary imports for lgtm 2020-07-17 10:41:52 +02:00
lotte
a68428cc12 Merge branch 'main' into metadata-and-relationships-combined-in-submission 2020-07-17 10:03:39 +02:00
lotte
d467af4a35 lgtm feedback fixes 2020-07-17 10:01:56 +02:00
Tim Donohue
b3e90cbce9 Merge pull request #792 from atmire/X-Forwarded-For-Interceptor
IP Authentication: X-Forwarded-For Interceptor
2020-07-16 17:18:25 -05:00
Tim Donohue
84451b1f6f Merge pull request #758 from atmire/DS-630-Item_delete_broken
DS 630 - item delete broken
2020-07-16 15:17:32 -05:00
Tim Donohue
cf2759f6ca Update and rename .github/workflows/pull_request_opened.yml to .github/disabled-workflows/pull_request_opened.yml 2020-07-16 14:20:15 -05:00
Giuseppe Digilio
607318f6c5 Fix CommunityDataService's topLinkPath 2020-07-16 19:51:32 +02:00
Giuseppe Digilio
5950fb2e32 Merge remote-tracking branch 'remotes/github4science/master' into DS-4515_submit-external-source 2020-07-16 17:25:21 +02:00
Giuseppe Digilio
efb2922bb3 Merge remote-tracking branch 'remotes/origin/master' into authorities_and_controlled_vocabularies
# Conflicts:
#	src/app/process-page/form/process-form.component.spec.ts
2020-07-16 17:18:20 +02:00
Giuseppe Digilio
c48b817c2d [CST-3092] Changed start message from external source page 2020-07-16 17:02:12 +02:00
Giuseppe Digilio
1c31deb3df [CST-3092] fixed style issue with external source search bar 2020-07-16 17:01:06 +02:00
Giuseppe Digilio
9225819046 [CST-3092] Removed label from New submission and Import buttons 2020-07-16 17:00:14 +02:00
Giuseppe Digilio
57f436e4ff Merge branch 'DS-4515_submit-external-source' of github.com:4Science/dspace-angular into DS-4515_submit-external-source
 Conflicts:
	src/app/submission/import-external/import-external-preview/submission-import-external-preview.component.spec.ts
2020-07-16 14:51:57 +02:00
Giuseppe Digilio
b8abedb5d6 Fixed test 2020-07-16 14:49:03 +02:00
Giuseppe Digilio
dda2668109 Merge remote-tracking branch 'remotes/origin/master' into authorities_and_controlled_vocabularies 2020-07-16 14:36:37 +02:00
Giuseppe Digilio
c7ef818454 [CST-3088] fix ProcessFormComponent test 2020-07-16 14:35:57 +02:00
Giuseppe Digilio
c33a63aa90 [CST-3088] Removed metadata and collection params when making vocabulary requests 2020-07-16 13:13:24 +02:00
Giuseppe Digilio
a283476403 [CST-3088] Fixed travis failure 2020-07-16 13:08:17 +02:00
Samuel
130a58870e Merge branch 'main' into DS-630-Item_delete_broken 2020-07-16 12:27:28 +02:00
Tim Donohue
a38df3811b Update issue templates 2020-07-15 15:10:53 -05:00
Tim Donohue
7ff250fb0b Merge pull request #795 from DSpace/tdonohue-pr-action
Auto Assign new Pull Requests to "main" branch to the PR creator
2020-07-15 15:05:35 -05:00
Tim Donohue
31e97eec9c Merge pull request #796 from DSpace/tdonohue-issue-action
Automatically add new Issues to "DSpace Backlog" project board
2020-07-15 15:05:13 -05:00
Tim Donohue
2959b73632 Create issue_opened.yml 2020-07-15 14:56:00 -05:00
Tim Donohue
5088da484e Create pull_request_opened.yml 2020-07-15 14:53:44 -05:00
Art Lowel
eeec39bf3f remove debug log 2020-07-15 18:16:45 +02:00
Tim Donohue
8d399fdde8 Initial issue templates
Starting with just a bug report & feature request.
2020-07-14 16:48:15 -05:00
Tim Donohue
23001b6d26 Merge pull request #794 from tdonohue/rename_master_to_main
Replace all references to `master` with `main`
2020-07-14 12:02:52 -05:00
Tim Donohue
47e735270b Rename master to main 2020-07-14 10:44:38 -05:00
Kristof De Langhe
b8a5edd2f3 Merge branch 'main' into w2p-71809_Add-server-side-X-Forwarded-For-interceptor 2020-07-14 17:37:30 +02:00
Kristof De Langhe
522ad4b3dc Merge branch 'main' into w2p-71429_Features-support-part-1
Conflicts:
	src/app/process-page/form/process-form.component.spec.ts
2020-07-14 17:36:20 +02:00
Tim Donohue
0da19b7c75 Merge pull request #793 from atmire/project-rename
Renamed project back to dspace-angular
2020-07-14 10:32:32 -05:00
lotte
1d7a9cd78b removed unused ci script from package.json 2020-07-14 16:39:04 +02:00
lotte
d558a056aa updates to travis scripts to prevent timeout 2020-07-14 16:37:26 +02:00
lotte
1bfc12fe9b added travis_wait to yarn ci command 2020-07-14 16:21:41 +02:00
lotte
08484d31ca renamed project to dspace-angular and fixed broken tests 2020-07-14 15:54:41 +02:00
Kristof De Langhe
3afe8c0b1d 71764: ItemStatusComponent BehaviorSubject for updating operations 2020-07-14 15:13:21 +02:00
Kristof De Langhe
35ca785695 Merge branch 'master' into w2p-71809_Add-server-side-X-Forwarded-For-interceptor
Conflicts:
	src/modules/app/server-app.module.ts
2020-07-14 13:35:11 +02:00
Tim Donohue
e5742c49d9 Merge pull request #760 from tdonohue/update_coveralls
Move coveralls step to "after_success" in Travis CI
2020-07-13 15:39:22 -05:00
Tim Donohue
4648348bd1 Remove deprecated "sudo" key. Add new recommended "os" key 2020-07-13 14:08:47 -05:00
Tim Donohue
e94fbfdcd0 Allow for any version of coveralls compatible with 3.0.0 2020-07-13 12:22:31 -05:00
Tim Donohue
6cd6c096e3 Move coveralls to after_success 2020-07-13 12:22:11 -05:00
Tim Donohue
e053607a17 Merge pull request #714 from 4Science/language-header
Language header
2020-07-13 11:40:09 -05:00
Tim Donohue
b05420ea88 Merge pull request #755 from atmire/reset-scroll-position-on-route-change
Reset scroll position on route change
2020-07-13 11:08:28 -05:00
Kristof De Langhe
0fa1e17078 71809: ForwardClientIpInterceptor 2020-07-13 15:47:59 +02:00
Kristof De Langhe
7f6bd680b2 71764: Test fixes 2020-07-10 14:18:01 +02:00
Kristof De Langhe
7787a2d0e9 71764: SiteRegisterGuard + hide register link when unauthorized 2020-07-10 13:14:55 +02:00
Kristof De Langhe
02fb4a4e4e 71764: Refactor DsoPageAdministratorGuard to more abstract DsoPageFeatureGuard and add implementations for WithdrawItem / ReinstateItem guards 2020-07-10 13:14:55 +02:00
Kristof De Langhe
9a666731e6 71764: Hide withdraw and reinstate button depending on authorization 2020-07-10 13:14:55 +02:00
Kristof De Langhe
73370fa00d 71764: DsoPageAdministratorGuard 2020-07-10 13:14:55 +02:00
Kristof De Langhe
5784493279 71429: Move curation task menu section to admin list 2020-07-10 13:14:43 +02:00
Art Lowel
95163aa226 fix issue due to method signature change after merge 2020-07-09 17:24:00 +02:00
Kristof De Langhe
3560bc60aa 71429: isAuthorized check on feature ID + hide impersonate button when unauthorized 2020-07-09 15:46:14 +02:00
Art Lowel
56d8a99c51 Merge pull request #757 from DSpace/dependabot/npm_and_yarn/npm-registry-fetch-4.0.5
Bump npm-registry-fetch from 4.0.3 to 4.0.5
2020-07-09 15:06:51 +02:00
Samuel
5a1b82d93c fix #630 Item delete broken - repair tests 2020-07-08 13:45:53 +02:00
Samuel
52289d8d23 fix #630 Item delete broken - handle items without entity type 2020-07-08 12:27:51 +02:00
dependabot[bot]
797a640814 Bump npm-registry-fetch from 4.0.3 to 4.0.5
Bumps [npm-registry-fetch](https://github.com/npm/registry-fetch) from 4.0.3 to 4.0.5.
- [Release notes](https://github.com/npm/registry-fetch/releases)
- [Changelog](https://github.com/npm/npm-registry-fetch/blob/latest/CHANGELOG.md)
- [Commits](https://github.com/npm/registry-fetch/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-08 09:00:35 +00:00
Samuel
deabffd429 fix #630 Item delete broken 2020-07-07 14:31:14 +02:00
Art Lowel
a74dafb959 reset scroll position on route change 2020-07-07 09:51:54 +02:00
Danilo Di Nuzzo
d85b0cb1b1 2020-07-06 18:34:03 +02:00
Kristof De Langhe
bfeeb7c13e Merge branch 'master' into w2p-71429_Features-support-part-1
Conflicts:
	src/app/+admin/admin-sidebar/admin-sidebar.component.ts
	src/app/app-routing.module.ts
	src/app/core/core.module.ts
2020-07-06 16:16:17 +02:00
ddinuzzo
5650a4a235 Merge branch 'master' into language-header 2020-07-06 14:46:14 +02:00
Giuseppe Digilio
a38e5cf632 fixed travis failure 2020-07-06 12:30:53 +02:00
Giuseppe Digilio
7c36051fcc fixed travis failure 2020-07-06 11:24:21 +02:00
Giuseppe Digilio
aa265c02a5 [CST-3088] Fixed travis failure 2020-07-06 10:28:23 +02:00
Matteo Perelli
9ec5709410 CI test fix using TestScheduler 2020-07-06 10:28:17 +02:00
Matteo
633dfaaa6d Merge branch 'master' into DS-4515_submit-external-source 2020-07-06 09:16:07 +02:00
Matteo Perelli
d6a5d9d1dd CI test fix, buttons and searchbar style fix and service methods removed 2020-07-06 09:12:18 +02:00
Giuseppe Digilio
58f18737f7 [CST-3088] tried to resolve travis fail 2020-07-03 15:53:29 +02:00
Giuseppe Digilio
2da96aac25 initialized submission object's sections properly on submission submit 2020-07-03 15:43:08 +02:00
Giuseppe Digilio
9015d50f59 Merge remote-tracking branch 'remotes/origin/master' into authorities_and_controlled_vocabularies
# Conflicts:
#	src/app/core/core.module.ts
#	src/app/shared/shared.module.ts
2020-07-03 09:29:59 +02:00
Art Lowel
bd9a6c487f Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-07-03 09:26:57 +02:00
Tim Donohue
b731301b39 Merge pull request #749 from atmire/Edit-collection-item-template
Edit collection item template
2020-07-02 12:17:05 -05:00
Art Lowel
d6ab8eff45 Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-07-02 18:29:10 +02:00
Art Lowel
fe785f6d2f fix issue where create com/col guards would redirect to 404 for the wrong reason 2020-07-02 18:28:30 +02:00
Tim Donohue
0eb7eb6962 Merge pull request #703 from atmire/CC-License-Submission-Step
Cc license submission step
2020-07-02 11:22:33 -05:00
Tim Donohue
3fb4be27df Merge pull request #700 from atmire/Fix-context-sensitive-menus
Fix context sensitive menus
2020-07-02 11:14:43 -05:00
Giuseppe Digilio
2238599a7d [CST-3088] remove duplicated test 2020-07-02 17:57:31 +02:00
Art Lowel
4fa8d02fb2 remove unused imports 2020-07-02 17:32:34 +02:00
Art Lowel
a68dfc1c01 Merge branch 'master' into Fix-context-sensitive-menus 2020-07-02 17:18:20 +02:00
Tim Donohue
a414f04e96 Merge pull request #752 from paulo-graca/patch-3
DSPACE_HOST example fix
2020-07-02 09:53:41 -05:00
Tim Donohue
c2298f6fee Merge pull request #636 from atmire/scripts-processes
Scripts & processes admin UI
2020-07-02 09:46:50 -05:00
Giuseppe Digilio
e46ee579a3 reverted i18n files to master version 2020-07-02 16:33:16 +02:00
Paulo Graça
cece770e8f DSPACE_HOST example fix 2020-07-02 14:54:25 +01:00
ddinuzzo
8c5347ab0f Merge branch 'master' into language-header 2020-07-02 14:51:17 +02:00
Kristof De Langhe
d562b19d57 71429: LGTM fixes 2020-07-02 14:28:35 +02:00
Giuseppe Digilio
599ddf4653 [CST-3088] Renamed browseEntries variable to entries 2020-07-02 14:28:12 +02:00
Kristof De Langhe
ba3c8d2b9e Merge branch 'master' into w2p-71429_Features-support-part-1
Conflicts:
	src/app/core/core.module.ts
	src/app/core/eperson/eperson-data.service.ts
2020-07-02 14:26:19 +02:00
Giuseppe Digilio
3f0ab2cf13 [CST-3088] Fixed lint errors 2020-07-02 14:15:16 +02:00
Giuseppe Digilio
2ad62dd3e9 Merge remote-tracking branch 'remotes/origin/master' into authorities_and_controlled_vocabularies
# Conflicts:
#	src/app/core/cache/response.models.ts
#	src/app/core/core.module.ts
#	src/app/core/data/request.models.ts
#	src/app/shared/shared.module.ts
2020-07-02 14:07:18 +02:00
Art Lowel
5e191ff4d1 Merge pull request #722 from DSpace/dependabot/npm_and_yarn/websocket-extensions-0.1.4
Bump websocket-extensions from 0.1.3 to 0.1.4
2020-07-02 13:51:20 +02:00
Samuel
531ef1fb1b Merge branch 'master' into CC-License-Submission-Step 2020-07-02 13:48:38 +02:00
Samuel
f655f5d149 CC License Submission Step - fix error when saving submission 2020-07-02 12:54:27 +02:00
Kristof De Langhe
92e47dee07 65272: AoT Build fix + LGTM fixes 2020-07-02 12:32:21 +02:00
Giuseppe Digilio
30d53c5954 [CST-3088] Renamed DsDynamicTypeaheadComponent to DsDynamicOneboxComponent 2020-07-02 12:14:19 +02:00
Matteo Perelli
e36cb83622 Additional fix for CI tests 2020-07-02 11:50:39 +02:00
Giuseppe Digilio
e8237f196f [CST-3088] added test for hierarchical vocabulary 2020-07-02 11:42:30 +02:00
Kristof De Langhe
b77fd69ac7 Merge branch 'master' into w2p-65272_Edit-collection-item-template
Conflicts:
	src/app/core/auth/auth-request.service.ts
	src/app/core/core.module.ts
2020-07-02 11:39:30 +02:00
Kristof De Langhe
e234c3a44d 65272: Fixed lint error 2020-07-02 11:12:16 +02:00
Kristof De Langhe
6d802f5078 65272: Edit item template - breadcrumb + title 2020-07-02 11:07:41 +02:00
Kristof De Langhe
e9993c8e16 65272: Fixed readonly error + test cases 2020-07-02 10:21:02 +02:00
Matteo
4370f197ec Merge branch 'master' into DS-4515_submit-external-source 2020-07-02 09:47:58 +02:00
Giuseppe Digilio
44381d7653 [CST-3088] fixed code 2020-07-01 22:57:26 +02:00
Tim Donohue
2fe9965411 Merge pull request #716 from atmire/Authorization-for-downloads-of-restricted-bitstreams
Authorization for downloads of restricted bitstreams
2020-07-01 15:43:20 -05:00
Art Lowel
7cfa0f17a5 add support for authorized downloads 2020-07-01 19:00:21 +02:00
Art Lowel
df5d55c246 Merge branch 'Authorization-for-downloads-of-restricted-bitstreams' into scripts-processes 2020-07-01 18:51:23 +02:00
Art Lowel
68ecc7ac31 rename token param to authentication-token 2020-07-01 18:42:24 +02:00
Samuel
9bbdf95bee CC License Submission Step - fix error when changing accepted license 2020-07-01 18:28:48 +02:00
Art Lowel
c36877ae3a remove debug log 2020-07-01 18:19:52 +02:00
Art Lowel
2cffdc8a86 Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-07-01 16:59:22 +02:00
Tim Donohue
0e1874d269 Merge pull request #707 from atmire/Forgot-Password
Forgot password
2020-07-01 09:49:14 -05:00
Tim Donohue
71ff276079 Merge pull request #687 from atmire/w2p-70504_New-user-registration
New User Registration
2020-07-01 09:48:23 -05:00
Art Lowel
bcd93de708 Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-07-01 16:44:38 +02:00
Art Lowel
09f1b7e01f disable fetching and querying all fields 2020-07-01 16:40:16 +02:00
Art Lowel
1d0f0b8304 move schema on metadatafields to an observable remotedata 2020-07-01 16:12:15 +02:00
Giuseppe Digilio
7e80bcf9e9 Merge remote-tracking branch 'remotes/origin/master' into authorities_and_controlled_vocabularies
# Conflicts:
#	src/app/core/cache/response.models.ts
#	src/app/core/core.module.ts
#	src/app/shared/shared.module.ts
2020-07-01 16:04:11 +02:00
Giuseppe Digilio
ca42e2280c [CST-3088] added management of hierarchical vocabulary on typeahead component 2020-07-01 16:00:09 +02:00
Giuseppe Digilio
81f0391400 [CST-3088] Fix lint errors 2020-07-01 15:35:29 +02:00
Giuseppe Digilio
e0604026c5 [CST-3088] Added component to show hierarchical vocabulary as a tree 2020-07-01 15:16:14 +02:00
Giuseppe Digilio
ce61addc9b [CST-3088] Added method to retrieve parent and children for a vocabulary entry 2020-07-01 15:13:52 +02:00
Kristof De Langhe
e0990aeb4b 65272: Test fixes 2020-07-01 14:07:15 +02:00
Kristof De Langhe
71da279d2f 70597: Build fix 2020-07-01 13:09:55 +02:00
Kristof De Langhe
5884308037 Merge branch 'master' into w2p-65272_Edit-collection-item-template
Conflicts:
	src/app/+collection-page/edit-collection-page/collection-metadata/collection-metadata.component.spec.ts
	src/app/+item-page/edit-item-page/abstract-item-update/abstract-item-update.component.ts
	src/app/+item-page/edit-item-page/edit-item-page.module.ts
	src/app/+item-page/edit-item-page/item-metadata/item-metadata.component.ts
	src/app/core/core.module.ts
	src/app/core/data/data.service.ts
2020-07-01 11:47:19 +02:00
Kristof De Langhe
9a4f962a21 71504: Remove unused imports 2020-07-01 11:08:22 +02:00
Kristof De Langhe
9f91fd2ad7 Merge branch 'master' into w2p-71504_Authorization-for-downloads-of-restricted-bitstreams
Conflicts:
	src/app/shared/shared.module.ts
2020-07-01 11:05:05 +02:00
Philip Vissenaekens
150d2cbb71 Merge remote-tracking branch 'origin/w2p-70504_New-user-registration' into Forgot-Password 2020-07-01 10:25:03 +02:00
Philip Vissenaekens
d35f2a419e 70504: removed unused import and variables 2020-07-01 10:15:49 +02:00
lotte
5b46ec1570 fixed test issue 2020-06-30 19:06:46 +02:00
Tim Donohue
199d4bf38f Merge pull request #710 from atmire/w2p-70599_Comcol-tree
Community and Collection Tree fixes
2020-06-30 11:09:18 -05:00
Samuel
ea28998bc1 CC License Submission Step - fix tests bis 2020-06-30 17:31:32 +02:00
Danilo Di Nuzzo
722fdc0124 [CST-2877] rm browser lang for SSR reqs 2020-06-30 16:42:58 +02:00
lotte
a8b7035aff fixed issue with validation 2020-06-30 16:02:32 +02:00
lotte
0348d23aac fixed remove parameter bug 2020-06-30 14:28:58 +02:00
lotte
09665dfbe2 solved lint issues, added typedoc, fixed lgtm warnings 2020-06-30 13:44:38 +02:00
lotte
c7994f9d90 Merge branch 'master' into scripts-processes 2020-06-30 13:25:59 +02:00
Giuseppe Digilio
6ef3f685ca Fixed issue with search requests that weren't fetched again after entry cache was expired 2020-06-30 12:42:48 +02:00
Art Lowel
f4387ac212 Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-06-30 12:06:56 +02:00
Art Lowel
3e6195a124 Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-06-30 11:49:08 +02:00
Marie Verdonck
f992fe1afd Feedback: - set initial loading moved outside of of NgZone 2020-06-30 10:55:54 +02:00
Marie Verdonck
6433e211a8 Feedback processed: - change so state change behaviourSubjects back in NgZone.run 2020-06-30 10:55:54 +02:00
Marie Verdonck
94e3f2d5e0 Feedback processed: - pagesize comcol changed to 50 &
- loadCommunities inside ngZone.runOutsideAngular
- Chevron size small unexpanded and large expanded when logged in fixed
2020-06-30 10:55:54 +02:00
Ben Bosman
53779cf69e remove console logs 2020-06-30 10:55:54 +02:00
Marie Verdonck
1dfe7ec170 70599: Test fixes comcol tree after changes 2020-06-30 10:55:54 +02:00
Samuel
3f39752550 CC License Submission Step - fix tests 2020-06-30 10:53:56 +02:00
Marie Verdonck
b1e44a7fa5 70599: Improvements comcol tree 2020-06-30 10:49:30 +02:00
Samuel
6ef60351a5 Merge branch 'master' into CC-License-Submission-Step 2020-06-30 10:29:43 +02:00
Danilo Di Nuzzo
99a6bf52ff Merge branch 'master' into CST-3091 2020-06-30 10:25:01 +02:00
dependabot[bot]
31eadf9c94 Bump websocket-extensions from 0.1.3 to 0.1.4
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-30 08:20:00 +00:00
Danilo Di Nuzzo
d611761548 Merge branch 'master' into language-header 2020-06-30 10:17:03 +02:00
Yana De Pauw
fc1ffd0e18 Merge remote-tracking branch 'upstream/master' into w2p-70504_New-user-registration 2020-06-30 10:10:29 +02:00
Yana De Pauw
ea16289013 Merge remote-tracking branch 'upstream/master' into Forgot-Password 2020-06-30 09:49:51 +02:00
Giuseppe Digilio
3225966600 [CST-3088] Created abstract form component to handle vocabularies 2020-06-29 22:20:52 +02:00
Giuseppe Digilio
4cc1a3eecd [CST-3088] Refactored VocabularyService to use VocabularyOptions and added more methods 2020-06-29 22:18:10 +02:00
lotte
1cb0bb72e4 added create-from functionality 2020-06-29 22:17:41 +02:00
Giuseppe Digilio
df26b85c50 [CST-3088] Create abstract response parsing for entries 2020-06-29 22:15:02 +02:00
Tim Donohue
bb4aedc472 Merge pull request #723 from atmire/async-code-in-beforeeach
Wait for async code in beforeEach
2020-06-29 11:33:52 -05:00
Art Lowel
066e6cd142 fixed a number of instances in community-list-service.spec.ts where async code was presumed synchronous 2020-06-29 17:42:16 +02:00
Art Lowel
e119967325 fix issue where beforeEach wouldn't wait for dropBitstream to end 2020-06-29 17:24:00 +02:00
Art Lowel
775becd656 fix issue where hints wouldn't show for non-repeatable fields, and remove commented out bits of code 2020-06-29 15:34:18 +02:00
Yana De Pauw
1a0e5f4098 Merge remote-tracking branch 'upstream/master' into Forgot-Password 2020-06-29 11:45:33 +02:00
Yana De Pauw
2863837bf8 Merge remote-tracking branch 'upstream/master' into w2p-70504_New-user-registration 2020-06-29 10:42:16 +02:00
ddinuzzo
746a72392f Merge branch 'master' into language-header 2020-06-29 09:36:54 +02:00
Matteo
bcb1682e1d Merge branch 'master' into DS-4515_submit-external-source 2020-06-29 09:15:53 +02:00
Tim Donohue
5b82a8a07b Merge pull request #709 from atmire/Simplify-bitstream-drag-and-drop
Simplify bitstream drag and drop
2020-06-26 17:13:04 -05:00
Tim Donohue
ca564b2ad1 Merge pull request #708 from 4Science/CST-3090-collection-dropdown
Collection dropdown on MyDSpace & support enable/disable in Submission UI
2020-06-26 10:58:48 -05:00
Samuel
0888d81310 CC License Submission Step - fix lint issues 2020-06-26 17:30:06 +02:00
Samuel
fd59e02786 Merge branch 'master' into CC-License-Submission-Step 2020-06-26 16:59:48 +02:00
Samuel
02ddf7c8c5 CC License Submission Step - implement contract change 2020-06-26 16:58:45 +02:00
Danilo Di Nuzzo
806843640f [CST-3091] fix close dialog and test 2020-06-26 16:15:16 +02:00
Danilo Di Nuzzo
8df505b4a0 Merge branch 'master' into CST-3091 2020-06-26 15:31:39 +02:00
lotte
32c8d9de03 scripts & processes improvements 2020-06-26 15:27:48 +02:00
Danilo Di Nuzzo
0ca1798537 [CST-3091] fix tests and add new labels 2020-06-26 15:25:58 +02:00
lotte
9677e053f5 solved merge issues 2020-06-26 14:27:28 +02:00
Kristof De Langhe
0c56e0182a Merge branch 'master' into w2p-71380_Simplify-bitstream-drag-and-drop 2020-06-26 14:24:22 +02:00
lotte
6ad7cee7d1 Merge branch 'master' into scripts-processes 2020-06-26 14:14:21 +02:00
Matteo Perelli
e094663a77 Additional fix for CI tests 2020-06-26 11:19:44 +02:00
Kristof De Langhe
9c27be085e Merge branch 'master' into w2p-71504_Authorization-for-downloads-of-restricted-bitstreams
Conflicts:
	src/app/core/core.module.ts
2020-06-26 10:03:07 +02:00
Danilo Di Nuzzo
573968adc0 Merge branch 'CST-3090-collection-dropdown' into CST-3091 2020-06-26 09:56:01 +02:00
Danilo Di Nuzzo
5642a2798a [CST-3090] fix unused import alerts 2020-06-26 09:55:01 +02:00
Danilo Di Nuzzo
e6b0c20377 Merge branch 'CST-3090-collection-dropdown' into CST-3091 2020-06-26 09:44:09 +02:00
Danilo Di Nuzzo
f37de548c0 [CST-3090] fix position of word 'here' 2020-06-26 09:37:43 +02:00
Matteo Perelli
97b4b90585 Additional fix for CI tests 2020-06-26 09:29:11 +02:00
Danilo Di Nuzzo
59564eb44d [CST-3091] add comp collection-selector, fix issue 2020-06-26 09:25:22 +02:00
Kristof De Langhe
f24bd9fe36 71380: Reset page size 2020-06-25 17:52:02 +02:00
Kristof De Langhe
bfdd943d45 71380: Remove redundant code and add subscribable removeByHrefSubstring 2020-06-25 17:51:11 +02:00
Tim Donohue
bb705919f3 Merge pull request #697 from atmire/Refactor-registry-service-and-associated-models
Refactor registry service and associated models
2020-06-25 10:37:16 -05:00
Matteo Perelli
9ada61db28 Multiple call to external source service fix 2020-06-25 16:58:43 +02:00
Giuseppe Digilio
f71fd5737a [CST-3088] Removed authority and integration services 2020-06-25 15:22:20 +02:00
Giuseppe Digilio
63cca76b49 [CST-3088] Replace use of AuthorityService with new VocabularyService 2020-06-25 15:21:44 +02:00
Kristof De Langhe
73c25998e3 71380: Fix loading/cache issue with dropping objects on page 2020-06-25 11:09:37 +02:00
Giuseppe Digilio
3117916d5b [CST-3088] Added vocabularyEntryDetails's methods to VocabularyService 2020-06-24 19:00:13 +02:00
Kristof De Langhe
fcdd1a8ef2 71429: Test fix 2020-06-24 16:40:50 +02:00
Kristof De Langhe
882ff3ea18 71429: Test fixes 2020-06-24 16:08:10 +02:00
Matteo Perelli
ba46f243c8 Test fix for CI 2020-06-24 15:38:45 +02:00
Kristof De Langhe
080ddf8a1f 71429: Unauthorized page fixes 2020-06-24 15:05:24 +02:00
Kristof De Langhe
78a5bd5fce 71429: Unauthorized component 2020-06-24 14:22:28 +02:00
Kristof De Langhe
0cef62ff48 71429: Feedback 2020-06-23 2020-06-24 13:05:58 +02:00
Giuseppe Digilio
c7cf11f421 [CST-3088] Improved VocabularyFindOptions 2020-06-24 12:52:16 +02:00
Danilo Di Nuzzo
c3192047e1 [CST-2877] fix tests 2020-06-24 12:32:33 +02:00
Matteo Perelli
c25085b299 Lint errors fixed 2020-06-24 11:52:34 +02:00
Danilo Di Nuzzo
ea5f727449 [CST-2877] fix method for lang list & add reload after change lang 2020-06-24 10:55:13 +02:00
Giuseppe Digilio
74d1e0bccb Fixed issue with spyOn 2020-06-24 10:48:29 +02:00
Giuseppe Digilio
0f4e881717 Merge branch 'DS-4515_submit-external-source' of github.com:4Science/dspace-angular into DS-4515_submit-external-source 2020-06-24 10:32:06 +02:00
Giuseppe Digilio
1f54094d5a Fixed components import 2020-06-24 10:31:54 +02:00
Matteo Perelli
0b858805f2 Merge branch 'master' into DS-4515_submit-external-source 2020-06-24 10:29:28 +02:00
Matteo Perelli
43f5e08530 External source import completed with tests 2020-06-24 10:16:30 +02:00
Giuseppe Digilio
1156bd3934 [CST-3088] Added vocabulary service and models 2020-06-23 18:17:47 +02:00
Giuseppe Digilio
e1b80bcbaf [CST-3088] changed buildHrefFromFindOptions in the way to use search params while building url 2020-06-23 18:12:02 +02:00
Matteo Perelli
c2c650fa1a External import button added 2020-06-22 20:26:04 +02:00
Matteo Perelli
0e29fbc2ba Fixed conflicts after merge 2020-06-22 20:25:22 +02:00
Matteo Perelli
b4ec056d03 Removing file for conflicts 2020-06-22 20:23:54 +02:00
Matteo Perelli
2f04b6ae83 External source items import new files 2020-06-22 19:59:29 +02:00
Matteo Perelli
e7ef9dab20 External source items import code completed 2020-06-22 19:59:10 +02:00
Danilo Di Nuzzo
d66d5b6a46 [CST-2877] done (angular) 2020-06-22 17:54:37 +02:00
Art Lowel
a49607ed61 restore property that was accidentally removed during merge 2020-06-22 16:46:11 +02:00
Kristof De Langhe
24858fceab 71504: Shortlived tokens + file-download-link test cases 2020-06-22 13:44:16 +02:00
Art Lowel
a281583f6e fix test and lint issues after merge 2020-06-22 12:26:30 +02:00
Art Lowel
05b2489da5 Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-06-22 11:50:44 +02:00
Kristof De Langhe
b578aa408b 71504: FileDownloadLinkComponent 2020-06-22 11:40:39 +02:00
Kristof De Langhe
bbaaaed4b5 71504: short-lived token for downloading files through FileService 2020-06-19 17:26:11 +02:00
Kristof De Langhe
72381f4083 71429: Feature and Authorization tests 2020-06-19 15:55:25 +02:00
Giuseppe Digilio
2653980beb Merge remote-tracking branch 'remotes/origin/master' into language-header 2020-06-19 11:19:31 +02:00
Kristof De Langhe
4c1b589158 70834: Use data-service's responseMsToLive for searchBy 2020-06-19 11:09:02 +02:00
Tim Donohue
5cef15eb20 Merge pull request #701 from atmire/Misc-edit-community-and-collection-bugs
Misc edit community and collection fixes
2020-06-18 15:13:40 -05:00
Giuseppe Digilio
63cff331d2 Fixed scrollable dropdown 2020-06-18 19:01:34 +02:00
Kristof De Langhe
89afaaa4a5 71429: Abstract FeatureAuthorizationGuard + small fix 2020-06-18 17:39:11 +02:00
Kristof De Langhe
bbbeddc875 71429: SiteAdministratorGuard on admin routes + authorization check on visibility of admin sidebar sections 2020-06-18 17:13:37 +02:00
Matteo Perelli
fb40b8f031 Submission from an external source initial commit 2020-06-18 16:16:31 +02:00
Danilo Di Nuzzo
f841e45019 [CST-3090] fix tests 2020-06-18 15:38:03 +02:00
Samuel
e963aa9af0 CC License Submission Step - feedback 2020-06-18 15:20:55 +02:00
Kristof De Langhe
8350833b61 71429: FeatureType enum and searchBy override 2020-06-18 14:47:59 +02:00
Samuel
0721b844f5 Misc edit community and collection bugs - repair create top level community 2020-06-18 12:25:50 +02:00
Kristof De Langhe
28891211e4 71380: Reset page size 2020-06-18 12:13:32 +02:00
Kristof De Langhe
82a3014af4 71380: drag-and-drop-list customOrder to avoid elements hopping back after drop + freeze fix 2020-06-18 12:11:20 +02:00
Danilo Di Nuzzo
709726e041 [CST-3105] tests 2020-06-18 12:00:30 +02:00
Danilo Di Nuzzo
136e36afab [CST-3105] done 2020-06-18 11:30:45 +02:00
Samuel
baec130cf3 Merge branch 'master' into Misc-edit-community-and-collection-bugs 2020-06-18 11:15:59 +02:00
Danilo Di Nuzzo
f33f391eb3 [CTS-3090] - fix pagination 2020-06-18 10:23:56 +02:00
Kristof De Langhe
ec998fce30 71429: isAuthenticated and canImpersonate$ 2020-06-18 10:04:18 +02:00
Danilo Di Nuzzo
be2d496335 [CTS-3090] update imports 2020-06-17 17:02:27 +02:00
Danilo Di Nuzzo
3b581b93c5 [CST-3090] fix 2020-06-17 16:31:11 +02:00
Kristof De Langhe
39e0c03593 71429: Feature and Authentication Models and Services 2020-06-17 16:27:25 +02:00
Kristof De Langhe
94cd5b5767 Merge branch 'master' into w2p-68067_Fix-context-sensitive-menus 2020-06-17 13:32:49 +02:00
Kristof De Langhe
752cf97787 71380: Fix tests 2020-06-17 13:12:49 +02:00
Danilo Di Nuzzo
294f5e5f31 [CST-3090] fix services name and dropdown 2020-06-17 10:47:46 +02:00
Giuseppe Digilio
efc476ab31 remove unused disabled$ variable 2020-06-16 17:46:24 +02:00
Yana De Pauw
f5959e9857 Merge remote-tracking branch 'upstream/master' into Forgot-Password 2020-06-16 15:58:59 +02:00
Yana De Pauw
e277a72ebf 71304: Fix spec descriptions 2020-06-16 15:58:19 +02:00
Danilo Di Nuzzo
5f0f665501 [CTS-3090] - fix 2020-06-16 15:51:56 +02:00
Danilo Di Nuzzo
be16134329 Merge branch 'master' into CST-3090-collection-dropdown 2020-06-16 15:18:50 +02:00
Danilo Di Nuzzo
9e05072290 [CST-3090] done 2020-06-16 14:26:59 +02:00
Kristof De Langhe
c6ee46fdea 71380: Reset page size back to normal 2020-06-15 17:57:25 +02:00
Kristof De Langhe
16d3d0e063 71380: Remove object updates for drag-and-drop and send out immediate patch requests for bitstream drag-and-drop 2020-06-15 17:48:03 +02:00
Yana De Pauw
6f9f4ec968 71304: Implement Forgot password components 2020-06-15 11:59:25 +02:00
Samuel
b8ab83ce99 Misc edit community and collection bugs - repair test 2020-06-12 13:58:22 +02:00
Samuel
7421eef223 Misc edit community and collection bugs 2020-06-12 09:54:13 +02:00
Samuel
470c21d8d8 Merge branch 'master' into CC-License-Submission-Step 2020-06-12 09:04:29 +02:00
Samuel
3db47f5791 CC License Submission Step 2 - Storing the results - add SubmissionCcLicenceUrl model 2020-06-12 09:04:00 +02:00
Tim Donohue
8b8d7ba91a Merge pull request #702 from 4Science/CSR-auth-guard-issue
Fixed authentication issue with protected page on CSR
2020-06-11 11:12:37 -05:00
Kristof De Langhe
ee9f5ec7f1 70834: MetadataField search responseMsToLive fix 2020-06-11 15:48:26 +02:00
Giuseppe Digilio
c835d9b9c7 fixed test description 2020-06-11 14:44:42 +02:00
Giuseppe Digilio
6bd04c94ec store token on AUTHENTICATED_SUCCESS action 2020-06-11 14:15:19 +02:00
Samuel
6c1e636f5c fix tests 2020-06-11 13:49:48 +02:00
Art Lowel
405815ac5a fix test 2020-06-11 13:49:48 +02:00
Art Lowel
d27034d634 fix issue where the current collection or community would no longer be selected in the new and edit menus 2020-06-11 13:49:48 +02:00
Kristof De Langhe
9a4fc65331 68067: Fix instance field declaration 2020-06-11 10:50:39 +02:00
Tim Donohue
ea26597b6a Merge pull request #689 from atmire/polyfill-error-fix
fix issue with polyfill order in safari and firefox
2020-06-10 14:20:57 -05:00
Tim Donohue
31b6bfc332 Merge pull request #698 from atmire/FileSizePipe-refactor
FileSizePipe refactor
2020-06-10 13:20:06 -05:00
Yana De Pauw
035a4b6e16 Merge remote-tracking branch 'upstream/master' into Forgot-Password 2020-06-10 17:05:37 +02:00
Kristof De Langhe
9f64fedc7b Merge branch 'master' into w2p-68067_Fix-context-sensitive-menus 2020-06-10 13:10:21 +02:00
Kristof De Langhe
ce04825c4a 71174: FileSizePipe 'jedec' standard 2020-06-10 10:32:58 +02:00
Yana De Pauw
ca7a76b80f Implement community feedback
Remove other registration references
Enabled enter submit in registration form
Fixed create-profile password validation to be on debounce
Fixed register page title
2020-06-10 10:15:06 +02:00
Kristof De Langhe
a51a683215 71174: Breadcrumb test fix 2020-06-04 16:30:16 +02:00
Kristof De Langhe
44386823a3 Merge branch 'master' into w2p-70834_Refactor-registry-service-and-associated-models
Conflicts:
	src/app/core/data/data.service.ts
2020-06-04 16:28:56 +02:00
Kristof De Langhe
b79a3d37f3 Merge remote-tracking branch 'dspace/master' into w2p-71174_FileSizePipe-refactor 2020-06-03 10:56:09 +02:00
Kristof De Langhe
f8f0e5f149 71174: FileSizePipe using filesize.js 2020-06-03 10:54:29 +02:00
Art Lowel
bcb77c8dcc remove comment about zone polyfill 2020-06-02 09:21:49 +02:00
Art Lowel
697be3c610 fix issue with polyfill order in safari and firefox 2020-06-02 09:21:49 +02:00
Tim Donohue
9b7a33cc69 Merge pull request #692 from atmire/fix-minimist-vulnerability
Fix minimist vulnerability
2020-06-01 15:25:17 -05:00
Tim Donohue
3ece498b81 Merge pull request #693 from tdonohue/fix_references_to_environment_js
Fix all outdated references to environment.*.js.
2020-06-01 12:59:48 -05:00
Tim Donohue
b1d39feeda Fix compilation bug in environment.dev.ts used by Docker. Add comments 2020-06-01 11:38:29 -05:00
Bram Luyten
ba9996a3b0 Merge pull request #683 from reetagithub/finnish-msg-keys
Add Finnish translations (first set after master rebase)
2020-05-31 14:48:21 +02:00
Bram Luyten
fcb610412d Activating Finnish in environment.common.ts 2020-05-30 18:15:00 +02:00
Tim Donohue
23e8c8b449 Fix all outdated references to environment.*.js. Fix bug in Docker compose too 2020-05-29 16:52:54 -05:00
Tim Donohue
c423b474ab Merge pull request #691 from atmire/w2p-71201_Angular-UI-does-not-properly-logout-when-clicking-logout
Angular UI does not properly log out when clicking logout
2020-05-29 14:42:18 -05:00
Art Lowel
7b4a481f43 update mkdirp and add resolution for minimist 2020-05-29 17:59:13 +02:00
Art Lowel
ce6b259a3a update karma 2020-05-29 17:35:06 +02:00
Art Lowel
db5ade547d update protractor 2020-05-29 17:28:50 +02:00
Art Lowel
2fbf3afd4a replace deprecated postcss-smart-import with postcss-import 2020-05-29 17:22:34 +02:00
Tim Donohue
45247ff07c Merge pull request #645 from 4Science/#601-resource-policies
#601 resource policies
2020-05-29 10:03:10 -05:00
Art Lowel
d869c6282a Merge pull request #660 from DSpace/dependabot/npm_and_yarn/acorn-6.4.1
Bump acorn from 6.4.0 to 6.4.1
2020-05-29 16:56:12 +02:00
dependabot[bot]
d9749c80c4 Bump acorn from 6.4.0 to 6.4.1
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-05-29 13:46:12 +00:00
Tim Donohue
acd6e6079e Merge pull request #677 from atmire/w2p-70901_ui-environment-vars
Fixed issue with environment UI variables being ignored
2020-05-28 10:57:40 -05:00
Tim Donohue
4ae2977ef2 Merge pull request #682 from 4Science/authentication_issue_CSR
Authentication issue csr
2020-05-28 10:54:22 -05:00
Tim Donohue
56ee4bbaa0 Merge pull request #675 from atmire/w2p-70905_Breadcrumb-update-issue
Fix delay in breadcrumb rendering
2020-05-28 10:49:05 -05:00
Yana De Pauw
1295e127fd 71201: Add test 2020-05-28 15:25:48 +02:00
Yana De Pauw
d24c51e1cd 71201: #678 Angular UI does not properly logout when clicking logout 2020-05-28 14:30:56 +02:00
Giuseppe Digilio
7227d5eefd Remove cached search request after result was retrieved 2020-05-28 11:47:26 +02:00
Giuseppe Digilio
f0bf87b7f9 Show edit group button only when resource policy has permissions on group 2020-05-28 11:39:42 +02:00
Yana De Pauw
36acb7578f Fix to breadcrumb related injector issues on edit pages 2020-05-28 10:50:49 +02:00
Yana De Pauw
d483d46370 70905: Breadcrumb update issue 2020-05-28 10:50:49 +02:00
Yana De Pauw
8fc2309d48 Fix rebase issues 2020-05-28 10:34:03 +02:00
Yana De Pauw
bca1e8bdd4 70504: Implement feedback 2020-05-28 09:43:47 +02:00
Yana De Pauw
96d76073ef 70504: fix compile issue 2020-05-28 09:41:16 +02:00
Yana De Pauw
f136ea7d4f 70504: New user registration 2020-05-28 09:41:16 +02:00
Giuseppe Digilio
5421d97bc5 Merge remote-tracking branch 'remotes/origin/master' into authentication_issue_CSR 2020-05-28 09:23:22 +02:00
Giuseppe Digilio
a57d5d7c4f Merge remote-tracking branch 'remotes/origin/master' into #601-resource-policies 2020-05-28 09:22:11 +02:00
lotte
a9cb6aeaa6 added doc to scripts 2020-05-28 09:15:02 +02:00
lotte
f881c2f428 fixed SSR issues 2020-05-28 09:15:01 +02:00
lotte
e7043f8734 changes to server.ts 2020-05-28 09:15:01 +02:00
lotte
e4a83f0704 fixed ui environment vars issue 2020-05-28 09:15:01 +02:00
Tim Donohue
780b8b7db9 Merge pull request #690 from tdonohue/fix_travis_e2e
Quick fix to Travis e2e testing issues (running against a Docker backend)
2020-05-27 17:00:16 -05:00
Tim Donohue
92b1a4477d Fix Docker local.cfg by correcting UI port to 4000 2020-05-27 15:54:33 -05:00
Kristof De Langhe
7b64d6bc31 68067: JSDocs + menu-effects tests 2020-05-26 14:08:54 +02:00
Kristof De Langhe
0b67bd54fb 68067: Refactoring menu-component resolving route menu data to menu effects 2020-05-26 11:54:33 +02:00
Reeta Kuuskoski
5f6fdf00ec Add Finnish translations (first set after master rebase) 2020-05-25 12:56:34 +03:00
Giuseppe Digilio
460e20284e fixed test 2020-05-22 16:50:48 +02:00
Giuseppe Digilio
b61490341e Added missing class in the authentication form to apply style properly 2020-05-22 16:50:06 +02:00
Giuseppe Digilio
4a65051641 Fixed issue with authentication when SSR is disabled 2020-05-22 16:48:51 +02:00
Giuseppe Digilio
1dde3087ff Fixed failed test 2020-05-22 11:36:02 +02:00
Giuseppe Digilio
c5bf8f6267 Merge remote-tracking branch 'remotes/origin/master' into #601-resource-policies
# Conflicts:
#	src/app/shared/shared.module.ts
2020-05-21 19:35:35 +02:00
Tim Donohue
5c7cd4a27d Merge pull request #653 from atmire/Login-as-EPerson
Login as EPerson
2020-05-21 10:10:04 -05:00
Giuseppe Digilio
b41acfdb33 Moved resource policy's group edit link 2020-05-21 12:21:08 +02:00
Giuseppe Digilio
8ef77df651 Fixed issue with resource policies list that was not updated after a delete 2020-05-21 12:19:24 +02:00
Giuseppe Digilio
51620df76c Fixed issue with item edit page 2020-05-21 12:18:17 +02:00
Giuseppe Digilio
09ee329f17 Fixed failed test 2020-05-21 12:17:37 +02:00
Giuseppe Digilio
e1716751d4 Fixed build error 2020-05-20 18:10:17 +02:00
Giuseppe Digilio
b70f8e12f6 Fixed merge with master 2020-05-20 17:05:54 +02:00
Giuseppe Digilio
b5d92590ee Merge remote-tracking branch 'remotes/origin/master' into #601-resource-policies
# Conflicts:
#	src/app/core/eperson/eperson-data.service.spec.ts
#	src/app/core/eperson/group-data.service.spec.ts
#	src/app/shared/shared.module.ts
#	src/app/submission/sections/upload/section-upload.component.spec.ts
2020-05-20 15:37:33 +02:00
Kristof De Langhe
49bb61b2ae 70834: Registry breadcrumbs 2020-05-20 13:59:00 +02:00
Samuel
18007048a3 CC License Submission Step 2 - Storing the results - feedback 2020-05-20 13:55:42 +02:00
Kristof De Langhe
59205b174f 70834: refactor createOrUpdate methods to use existing data-service methods 2020-05-20 12:30:17 +02:00
Kristof De Langhe
79eecc7c76 68067: Route menu data - menu ID 2020-05-19 17:34:56 +02:00
Kristof De Langhe
8761d0ac27 68067: Add unsubscribes on open subscriptions in menu component 2020-05-19 16:46:58 +02:00
Kristof De Langhe
6d88381ead 68067: Route data menu sections - tests 2020-05-19 16:35:36 +02:00
Samuel
1071506133 CC License Submission Step 2 - Storing the results 2020-05-19 16:02:05 +02:00
Samuel
e802185657 CC License Submission Step - fix tests 2020-05-19 16:02:05 +02:00
Samuel
245cb45503 CC License Submission Step 2020-05-19 16:02:05 +02:00
Kristof De Langhe
ff0750d053 68067: Add menu sections through route data 2020-05-19 14:37:17 +02:00
Kristof De Langhe
172d0d986b 68067: JSON.stringify to compare menu section changes 2020-05-19 12:08:59 +02:00
Kristof De Langhe
8b78ed3a97 68067: Fix adding/removing menu sections 2020-05-19 11:11:07 +02:00
Kristof De Langhe
ad26ececbf Merge branch 'master' into Login-as-EPerson
Conflicts:
	src/app/shared/shared.module.ts
2020-05-19 10:01:10 +02:00
Tim Donohue
b28f59f087 Merge pull request #676 from bram-atmire/sync-i18n-fix
Ensuring environment.ts is present before sync-i18n-files invocation
2020-05-18 10:21:51 -05:00
Bram Luyten
03f910b45d Ensuring environment.ts is present before sync-i18n-files invocation 2020-05-18 15:52:16 +02:00
Tim Donohue
64478870c0 Merge pull request #650 from atmire/w2p-70136_workflow-search-ui
Administer Workflow
2020-05-14 10:22:59 -05:00
Kristof De Langhe
ad8f31d44a 70834: Test fixes + data service tests 2020-05-14 11:29:35 +02:00
Kristof De Langhe
e42785a7a4 70834: MetadataSchemaComponent test fix 2020-05-13 17:42:38 +02:00
Kristof De Langhe
0e9d624519 70834: RegistryService test fixes 2020-05-13 17:32:12 +02:00
Kristof De Langhe
c97e3e0515 70834: Metadata schema component refactoring and caching issue fix #2 2020-05-13 16:49:39 +02:00
Kristof De Langhe
cd46f33909 70834: Metadata schema component refactoring and caching issue fix 2020-05-13 13:56:42 +02:00
lotte
1afa906b21 fixed issue with test import 2020-05-12 18:37:28 +02:00
Kristof De Langhe
3894b3615d 70373: Test import fix 2020-05-12 17:20:02 +02:00
lotte
aa9570c776 Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-05-12 17:19:08 +02:00
lotte
03668e347e added missing typedoc 2020-05-12 17:03:48 +02:00
Kristof De Langhe
f548d5bf20 Merge branch 'master' into Login-as-EPerson
Conflicts:
	src/app/+admin/admin-access-control/epeople-registry/eperson-form/eperson-form.component.spec.ts
	src/app/core/auth/auth.service.spec.ts
	src/app/profile-page/profile-page.component.spec.ts
2020-05-12 16:54:40 +02:00
Kristof De Langhe
7677a673aa 70834: Intermediate commit 2020-05-12 16:36:03 +02:00
lotte
7ced70b7d3 fixed issues with tests 2020-05-12 16:33:42 +02:00
Kristof De Langhe
101f1a76dd 70834: Refactoring registry-service pt1 - removing response-parsing services and using data-services 2020-05-12 14:54:10 +02:00
Giuseppe Digilio
889a91ba52 Fixed merge 2020-05-11 20:28:31 +02:00
Giuseppe Digilio
bdc0304d5a Merge remote-tracking branch 'remotes/origin/master' into language-header
# Conflicts:
#	src/app/app.component.spec.ts
#	src/app/app.component.ts
#	src/app/shared/lang-switch/lang-switch.component.spec.ts
#	src/app/shared/lang-switch/lang-switch.component.ts
2020-05-11 20:09:39 +02:00
Tim Donohue
33be8a4a91 Merge pull request #663 from atmire/resolve-tsconfig-errors-in-spec-files
[Quickfix] Fix IDE issues with spec files
2020-05-11 09:23:07 -05:00
lotte
a58d6da8e0 added jasmine to root tsconfig.json 2020-05-11 15:05:02 +02:00
lotte
6220c51aa6 fixed tests 2020-05-11 13:28:02 +02:00
Kristof De Langhe
67b73ff921 70597: Test fixes 2020-05-11 13:21:01 +02:00
lotte
e8f418b077 Merge branch 'master' into w2p-70136_workflow-search-ui 2020-05-11 11:58:31 +02:00
lotte
a561f37b00 fixed missing comma 2020-05-11 11:29:29 +02:00
lotte
4f7afc578f Merge branch 'master' into scripts-processes 2020-05-11 11:28:52 +02:00
Art Lowel
bb0f28c9c4 Merge pull request #661 from atmire/fix-prod-server-port
Hotfix: use the server port from the environment file
2020-05-08 13:15:19 +02:00
Art Lowel
4580f1b18a use the server port from the environment file 2020-05-08 12:40:31 +02:00
Art Lowel
4fe2c75810 Merge pull request #625 from atmire/angular-cli
Switch to Angular CLI
2020-05-08 09:16:38 +02:00
lotte
b249a91aaa Merge branch 'master' into angular-cli 2020-05-07 16:11:38 +02:00
Kristof De Langhe
f5f4570116 65272: Allow relationship fields to be edited 2020-05-04 17:57:08 +02:00
Kristof De Langhe
b5e1394fce 65272: Post-merge fixes 2020-05-04 17:38:31 +02:00
Kristof De Langhe
07c8c593ec Merge branch 'master' into w2p-65272_Edit-collection-item-template
Conflicts:
	src/app/+collection-page/collection-page-routing.module.ts
	src/app/+item-page/edit-item-page/abstract-item-update/abstract-item-update.component.ts
	src/app/+item-page/edit-item-page/edit-item-page.module.ts
	src/app/+item-page/edit-item-page/item-metadata/item-metadata.component.ts
	src/app/core/cache/server-sync-buffer.effects.ts
	src/app/core/core.module.ts
	src/app/core/data/data.service.ts
	src/app/core/data/dso-change-analyzer.service.ts
	src/app/core/data/object-updates/object-updates.service.ts
2020-05-04 16:36:46 +02:00
Bram Luyten
519046e769 i18n correction English catalog 2020-05-04 15:09:46 +02:00
Bram Luyten
3b30af3e4d i18n correcting two errors in English main catalog 2020-05-04 13:33:55 +02:00
Giuseppe Digilio
bacb778fa7 Fixed resource policy page buttons 2020-04-30 17:25:00 +02:00
Giuseppe Digilio
b338332d13 Added possibility to search for eperson or group while adding a new resource policy 2020-04-30 15:43:52 +02:00
lotte
84d9e4b063 removed debugger; line 2020-04-30 12:35:25 +02:00
lotte
4c48088920 fixed test issues and watch mode for unit tests 2020-04-30 12:13:41 +02:00
Art Lowel
f3ecd3837e fix issue where mydspace would throw an error while loading 2020-04-29 18:07:52 +02:00
lotte
ef91468310 fixed set-env.ts, reverted unnecessary e2e changes, updated travis.yml 2020-04-29 16:28:26 +02:00
Art Lowel
db169826d5 fix issue where the entered value couldn't be used as a query in the entity lookup for oneboxes 2020-04-29 15:18:56 +02:00
Art Lowel
766015d64c use unique list ids for each submission 2020-04-29 15:00:57 +02:00
Art Lowel
2a6e0c796a fix tests 2020-04-29 14:12:45 +02:00
Art Lowel
c87d0895b0 filter out move operations where source and target are the same 2020-04-28 17:52:01 +02:00
Art Lowel
afe394e2a4 Merge branch 'master' into w2p-70237_entities-orgunit-submission-fix 2020-04-28 17:45:29 +02:00
Art Lowel
673926c36b fix tests and lint issues 2020-04-28 16:35:51 +02:00
Art Lowel
df2cc22172 remove clearStateMetaReducer 2020-04-24 14:06:37 +02:00
Art Lowel
c2789dfbf7 fix issue where a hard refresh wouldn't work to clear the state due to the browser caching the html 2020-04-24 13:16:52 +02:00
Giuseppe Digilio
8635209959 Merge remote-tracking branch 'remotes/origin/master' into #601-resource-policies 2020-04-23 17:05:38 +02:00
lotte
7ec7d3a455 reinstated other tests 2020-04-23 14:30:46 +02:00
lotte
0f43ff4fea switched back to port 4000 2020-04-23 14:17:05 +02:00
lotte
f1d1761fd7 sync i18n script 2020-04-23 14:14:29 +02:00
Art Lowel
e4c4a1ecd4 remove debug log 2020-04-23 13:17:13 +02:00
Art Lowel
facd2284d2 fix issue where related entites would be rendered as metadata for one box fields 2020-04-23 13:16:43 +02:00
Art Lowel
adc7649820 fix an issue where a relationship in the submission would keep loading until you click the page 2020-04-22 18:17:08 +02:00
Art Lowel
056bac885d don't show the plus button for repeatable relationship only fields 2020-04-22 18:10:29 +02:00
Art Lowel
3aefa690b9 fix issue where the disabled field would be rendered for each selected relationship 2020-04-22 18:07:20 +02:00
lotte
ce9fed7507 fixing e2e:ci 2020-04-22 16:28:17 +02:00
lotte
51dd1b1b2b changing timeout 2020-04-22 16:07:22 +02:00
Art Lowel
ecf4b165b1 Merge branch 'metadata-and-relationships-combined-in-submission' into w2p-70237_entities-orgunit-submission-fix 2020-04-22 15:51:42 +02:00
lotte
2caf88bebe reset env variables 2020-04-22 15:30:45 +02:00
lotte
2e367cb87c testing e2e on travis 2020-04-22 15:29:52 +02:00
Art Lowel
dd7fc2aa6f fix issue where editing template rows caused invald patch requests 2020-04-22 15:13:12 +02:00
lotte
1465cfca37 Merge branch 'metadata-and-relationships-combined-in-submission' into w2p-70237_entities-orgunit-submission-fix 2020-04-22 11:45:00 +02:00
Art Lowel
53fd559a7c fix issues with deleting of reorderable array items 2020-04-22 09:49:32 +02:00
lotte
2a353efa5f updated environment file 2020-04-22 07:44:29 +02:00
lotte
6196a99a98 fixed tests 2020-04-21 18:41:38 +02:00
lotte
ad4b7fa254 test travis with external rest 2020-04-21 16:39:51 +02:00
lotte
42740809c0 changed tasks into wfi's 2020-04-21 16:27:26 +02:00
lotte
172d3891f0 switched port to test with Travis 2020-04-21 15:16:42 +02:00
lotte
cad9dcaf98 Merge branch 'master' into angular-cli 2020-04-21 13:45:55 +02:00
lotte
267db6ddce updated dockers files 2020-04-21 13:41:30 +02:00
Giuseppe Digilio
616a5fe0bd Added LocaleInterceptor to set Accept-Language header 2020-04-20 20:07:24 +02:00
Giuseppe Digilio
145b26d262 Added LocaleService as localization handler 2020-04-20 20:06:50 +02:00
lotte
c4d02ff67d fixed import 2020-04-17 16:43:01 +02:00
lotte
37e4e63f81 fixed compilation issue with abstract component 2020-04-17 16:26:26 +02:00
lotte
bbac79bdfc fixes after merge 2020-04-17 16:09:26 +02:00
lotte
92dca8d4e8 Merge branch 'master' into angular-cli 2020-04-17 16:09:12 +02:00
lotte
5aa09eb363 fixed compilation issues 2020-04-17 13:13:04 +02:00
Art Lowel
19bd36a80f switch to patch for reorderin 2020-04-17 11:24:10 +02:00
lotte
450bfe6b3f Merge branch 'metadata-and-relationships-combined-in-submission' into w2p-70237_entities-orgunit-submission-fix 2020-04-17 11:09:03 +02:00
lotte
b29161988d fixed broken tests 2020-04-17 11:06:02 +02:00
Giuseppe Digilio
c03146e415 Fixed resource policy's group edit link 2020-04-16 17:12:20 +02:00
Kristof De Langhe
a6d7b6444c 70373: Remove unnecessary route navigate 2020-04-16 15:12:41 +02:00
lotte
cb61b0adda fixed issue in effects and removed unnecessary console logs 2020-04-16 14:23:23 +02:00
Art Lowel
9a68969eec ensure PUTs are always executed after the PATCH for a move operation 2020-04-15 17:13:43 +02:00
Kristof De Langhe
5e94cf379c 70373: AuthService impersonate tests 2020-04-15 16:47:18 +02:00
Giuseppe Digilio
98ade2eb63 Fixed issue with merge 2020-04-15 16:35:29 +02:00
Kristof De Langhe
7df5025aa5 70373: EPerson impersonate tests 2020-04-15 16:23:41 +02:00
Giuseppe Digilio
4deaf145b6 Merge remote-tracking branch 'remotes/origin/master' into #601-resource-policies
# Conflicts:
#	src/app/core/eperson/eperson-data.service.spec.ts
#	src/app/core/eperson/group-data.service.ts
#	src/app/shared/testing/group-mock.ts
2020-04-15 16:18:27 +02:00
Giuseppe Digilio
b81d8ed900 Added test for ResourcePolicyEditComponent 2020-04-15 16:13:38 +02:00
Giuseppe Digilio
4ac3eb5f9b Added test for ResourcePolicyCreateComponent 2020-04-15 16:13:22 +02:00
Giuseppe Digilio
83a1f9d31d Added test for EpersonGroupListComponent 2020-04-15 16:13:06 +02:00
Giuseppe Digilio
ceaa14e9b2 Added test for ResourcePolicyFormComponent 2020-04-15 16:12:35 +02:00
Giuseppe Digilio
ee38de488c Added test for ResourcePoliciesComponent 2020-04-15 16:12:05 +02:00
Giuseppe Digilio
e7d0c96a26 Added test for ItemAuthorizationsComponent 2020-04-15 16:11:24 +02:00
Kristof De Langhe
4cd11bcbca 70373: Fix existing texts 2020-04-15 15:35:41 +02:00
Art Lowel
2c3d8fd031 remove console log 2020-04-15 15:31:06 +02:00
Art Lowel
d02c41c089 ensure cache times are used for all types of requests 2020-04-15 15:04:31 +02:00
Kristof De Langhe
c48bb2cbb0 70373: Stop impersonating button in navbar + clear cookie on logout 2020-04-15 13:08:04 +02:00
Art Lowel
d6087e3620 remove logs, fix lint issues 2020-04-15 11:24:24 +02:00
Kristof De Langhe
e43aa15a70 70373: Store authenticated EPerson ID in store instead of object 2020-04-15 11:14:41 +02:00
Art Lowel
66a996bb0f add i18n label 2020-04-15 10:55:36 +02:00
Art Lowel
634f4e718e don't pass a query value to the modal if it's readonly 2020-04-15 10:50:10 +02:00
Art Lowel
06cc028c80 use namevariants based on config 2020-04-15 10:34:35 +02:00
Giuseppe Digilio
00f2aa5e1c Renamed ResourcePolicyFormComponent's file 2020-04-14 21:13:43 +02:00
Giuseppe Digilio
46498992a7 Renamed ResourcePolicyFormComponent's file 2020-04-14 20:58:58 +02:00
Kristof De Langhe
638793ca5e 70373: Login as EPerson intermediate commit 2020-04-10 17:41:39 +02:00
Art Lowel
44801701c9 populate submission sections with metadata from single effect 2020-04-10 10:12:21 +02:00
lotte
3d482aed26 removed unnecessary import 2020-04-09 16:17:27 +02:00
lotte
76790be925 Merge branch 'master' into w2p-70136_workflow-search-ui 2020-04-09 11:42:09 +02:00
lotte
3ac575c360 fixed messages for Admin Workflow 2020-04-09 11:29:39 +02:00
Art Lowel
6b0f76c012 fix nullpointer 2020-04-09 10:30:20 +02:00
lotte
9cfed06784 fixed caching issue 2020-04-09 10:20:42 +02:00
Art Lowel
e0d4eb7c9c ensure submissionsection state also contains all metadata after a save 2020-04-08 18:14:29 +02:00
lotte
e43f04e564 finished tests 2020-04-08 15:41:55 +02:00
Art Lowel
85bc11176e Merge branch 'request-by-uuid-issue' into metadata-and-relationships-combined-in-submission 2020-04-07 18:33:11 +02:00
lotte
74db9030b0 working on fixes for OrgUnit field in submission 2020-04-07 18:17:37 +02:00
Art Lowel
558b0b688c Merge branch 'request-by-uuid-issue' into metadata-and-relationships-combined-in-submission 2020-04-07 14:06:26 +02:00
Art Lowel
1fd7989a41 fix test and lint 2020-04-07 11:08:20 +02:00
Art Lowel
e5053c85b0 fix lint issues 2020-04-07 09:30:08 +02:00
Giuseppe Digilio
37fe6d2193 Fixed failed test 2020-04-07 09:29:21 +02:00
Giuseppe Digilio
99c1234a7d Disable policyType and action fields in resource policy edit form 2020-04-07 09:26:24 +02:00
Giuseppe Digilio
0b65bdac46 fixed lint error 2020-04-06 20:47:52 +02:00
Giuseppe Digilio
e078071dfb Intermediate commit 2020-04-06 20:36:56 +02:00
Giuseppe Digilio
b210a36e53 Added new date utils 2020-04-06 20:11:37 +02:00
Giuseppe Digilio
4c391bbae4 Fixed issue with delete operation 2020-04-06 20:11:20 +02:00
Art Lowel
493cbc65fe fix issue where reordering wouldn't work for relationships to cached items 2020-04-06 18:35:10 +02:00
Art Lowel
61624bf606 remove PATCH workaround and fix issue where name variants wouldn't be stored in the Item 2020-04-06 18:20:45 +02:00
Art Lowel
807500db41 fix issue where results wouldn't update after a name variant change 2020-04-06 18:11:27 +02:00
lotte
d003400c16 started fixing tests 2020-04-06 17:45:27 +02:00
Art Lowel
2a58f2480a fix issue where requestservice.getByUUID wouldn't work for requests that were never sent because there was already a copy in the cache 2020-04-06 16:40:45 +02:00
Giuseppe Digilio
5cb0570bc0 Added new date utils 2020-04-06 16:27:58 +02:00
Giuseppe Digilio
9339ae2d7c Merge remote-tracking branch 'remotes/origin/master' into #601-resource-policies
# Conflicts:
#	resources/i18n/en.json5
#	src/app/+item-page/edit-item-page/edit-item-page.module.ts
#	src/app/shared/shared.module.ts
2020-04-04 15:59:44 +02:00
Giuseppe Digilio
6314e17f27 Intermediate commit 2020-04-03 20:25:58 +02:00
lotte
de1b57d8d9 workflow delete/sendback 2020-04-03 18:13:22 +02:00
Art Lowel
f64eff42f4 fix a number of issues with name variants 2020-04-03 17:28:13 +02:00
lotte
2eb3d11cd2 debugging issue commit 2020-04-03 16:00:52 +02:00
Art Lowel
62002f94ef only use name variant after modal closes 2020-04-03 10:23:55 +02:00
Giuseppe Digilio
1ac52edbf7 Added create and delete method to resource policy service 2020-04-02 20:50:02 +02:00
Giuseppe Digilio
b9de6a7a7d Changed DataService's create method in the way to accept array of request params 2020-04-02 19:54:30 +02:00
Giuseppe Digilio
41d6255998 Renamed SearchParam class with a generic name RequestParam 2020-04-02 19:19:38 +02:00
Giuseppe Digilio
5a37891184 Merge remote-tracking branch 'remotes/origin/master' into #601-resource-policies
# Conflicts:
#	src/app/shared/shared.module.ts
2020-04-02 19:12:19 +02:00
Giuseppe Digilio
4f14e546a5 Added fallback strategy for DSONameService to get name for dspace object without a dc.tile metadata 2020-04-02 19:10:22 +02:00
Giuseppe Digilio
fab11e9055 Added component to edit and create a resource policy 2020-04-02 18:58:51 +02:00
Giuseppe Digilio
7f6c88164b Added create and edit resource policy link 2020-04-02 18:57:48 +02:00
Giuseppe Digilio
8913a45a6b Added a form field for selected resource policy target eperson/group 2020-04-02 18:54:34 +02:00
Giuseppe Digilio
b603c7fc05 Added a component that show a paginated list of eperson or group 2020-04-02 18:52:53 +02:00
lotte
258b1228f3 replaced wfi components by task components that render wfi's 2020-04-02 17:05:46 +02:00
lotte
f664cf4c90 made timeout longer for e2e 2020-04-02 17:02:14 +02:00
Art Lowel
924e623b6a fix issue where namvariants wouldn't work 2020-04-02 14:14:36 +02:00
lotte
97953912c5 added waiting until loading is done to e2e tests 2020-04-02 11:22:48 +02:00
lotte
b3ba67e31d Merge branch 'master' into angular-cli 2020-04-02 10:36:37 +02:00
lotte
5bb4065580 print html in e2e to debug 2020-04-02 10:27:08 +02:00
Art Lowel
f93df688e4 remove debug logs 2020-04-02 10:23:11 +02:00
Art Lowel
29e6f6f72f fix issue where the first relationship of a type wouldn't be added 2020-04-02 10:22:08 +02:00
lotte
45beb3f93f Added more thens to e2e tests 2020-04-02 09:44:05 +02:00
lotte
6e49ef6859 start of admin workflow ui 2020-04-01 17:04:54 +02:00
Art Lowel
6dbc2ef880 fix lint issue 2020-04-01 15:55:53 +02:00
Art Lowel
285fe2299a fix test after merge 2020-04-01 15:35:33 +02:00
Art Lowel
a2df95a679 fix lint issues 2020-04-01 14:20:00 +02:00
Art Lowel
987e2d98fd Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-04-01 14:06:06 +02:00
Art Lowel
2989ca4d96 fix issues with repeatable fields 2020-04-01 11:06:31 +02:00
lotte
5bcc700cc9 fixed e2e issue 2020-04-01 10:43:07 +02:00
lotte
4a52513a38 fixed test 2020-03-31 16:11:13 +02:00
lotte
27fcdab8ad fixed non-existing color in setenv script 2020-03-31 15:04:38 +02:00
lotte
894bee2583 added rimraf to dev deps 2020-03-31 13:52:39 +02:00
lotte
69ba0865a8 fixed test files + added clean for environment.ts + fixed set-env script bug 2020-03-31 13:50:12 +02:00
lotte
6b6068ffb8 Merge branch 'master' into angular-cli 2020-03-31 13:49:40 +02:00
lotte
3a73de90ba fixed alignment issue on new process page 2020-03-31 10:00:02 +02:00
lotte
c225c9015e Added messages and menu links + tests 2020-03-30 15:19:22 +02:00
lotte
b666e3f208 70090: Added trail for processes pages 2020-03-30 15:19:22 +02:00
Kristof De Langhe
d4609b87ea 69940: Fix tests 2020-03-30 15:19:22 +02:00
Kristof De Langhe
6b53c448c8 69940: Processes - date format, back button and hiding empty fields 2020-03-30 15:19:22 +02:00
Kristof De Langhe
5e890aca2c 69940: Process detail - Output Files 2020-03-30 15:19:22 +02:00
Kristof De Langhe
3bac6cc1b3 69940: Process files request 2020-03-30 15:19:22 +02:00
Kristof De Langhe
cf492a92c8 69940: Process detail and overview test cases 2020-03-30 15:19:22 +02:00
Kristof De Langhe
b4bb3acb63 69940: Process details intermediate commit #2 2020-03-30 15:19:22 +02:00
Kristof De Langhe
07a5dceed1 69940: Process detail page intermediate commit 2020-03-30 15:19:22 +02:00
Kristof De Langhe
eacc13a95c 69940: Process overview page 2020-03-30 15:19:22 +02:00
Art Lowel
428abc8282 fix file padding and help text color 2020-03-30 15:19:22 +02:00
lotte
e7a5daad18 fixed tests and feedback 2020-03-30 15:19:22 +02:00
lotte
ef3a235178 added tests and typedoc 2020-03-30 15:19:22 +02:00
lotte
e38aec831f fixed file upload, styling, boolean/date/output inputs 2020-03-30 15:19:22 +02:00
lotte
3e4704af0d working on upload functionality 2020-03-30 15:18:07 +02:00
lotte
ee649debfb moved process data services 2020-03-30 15:18:07 +02:00
lotte
68e2a08af2 added switch for parameter types 2020-03-30 15:17:01 +02:00
lotte
7c9c45b7cb added script parameters & route updates 2020-03-30 15:17:01 +02:00
lotte
1cb39cef41 created new process page 2020-03-30 15:17:01 +02:00
Giuseppe Digilio
1f26a7b634 Show the policies for each bundle and bitstream within the item 2020-03-30 12:57:33 +02:00
Giuseppe Digilio
18d38ca737 Implemented resource policies component 2020-03-30 12:36:36 +02:00
Giuseppe Digilio
be8923d572 Added primaryBitstream and bitstreams properties to Bundle model 2020-03-30 11:43:38 +02:00
Giuseppe Digilio
2e94b349f9 Added eperson and group property to ResourcePolicy model 2020-03-30 11:43:02 +02:00
Giuseppe Digilio
1af5958fa9 Added ngFor track by DSO's id directive 2020-03-30 11:40:58 +02:00
Art Lowel
f61f92e1ad add template file, update readme, remove logs 2020-03-27 15:51:54 +01:00
Giuseppe Digilio
e48b8ad147 Fixed issue with accessCondition in SubmissionSectionUploadAccessConditionsComponent 2020-03-27 12:21:53 +01:00
Giuseppe Digilio
e87c173e96 Fixed issue with getSearchEndpoint which make wrong request to endpointMap 2020-03-27 12:19:20 +01:00
Giuseppe Digilio
ac323f48cc Added item authorizations component 2020-03-27 12:17:59 +01:00
lotte
1caec64115 added npm-run-all 2020-03-27 11:02:07 +01:00
lotte
a3b97f7bd9 fixed notification type 2020-03-27 10:10:44 +01:00
lotte
0850c264b6 added nodemon to watch dev environment changes 2020-03-27 10:06:17 +01:00
lotte
1b7fdfc59c removed custom environment files and fixed config build 2020-03-27 09:10:32 +01:00
lotte
e53727248d environment.ts script 2020-03-26 15:30:41 +01:00
Giuseppe Digilio
e396fe054e Refactored Resource Policy service 2020-03-26 14:40:06 +01:00
lotte
1a318b6f7a Fixed path to coverage report 2020-03-19 12:36:36 +01:00
lotte
9043e1375c fixed e2e script that uses docker 2020-03-19 11:46:18 +01:00
lotte
02c67f4ec0 changed travis/docker setup 2020-03-19 10:48:53 +01:00
lotte
c870b3d02c Merge branch 'master' into angular-cli 2020-03-19 10:27:13 +01:00
Art Lowel
56318ad86b fix followLink tests 2020-03-18 18:32:12 +01:00
lotte
dd0396465e fixed tests except for iterator issue in data services 2020-03-18 17:03:19 +01:00
lotte
8bf241c182 angular cli 2020-03-18 16:03:40 +01:00
Art Lowel
a8d5ad9c37 fix adding of metadata only fields, and styling 2020-02-25 17:01:44 +01:00
Art Lowel
644dcf8ce6 Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-02-24 16:43:18 +01:00
Art Lowel
212d626e36 Merge branch 'followlink-refactor' into metadata-and-relationships-combined-in-submission 2020-02-24 15:17:13 +01:00
Art Lowel
bc8bacab54 Merge branch 'followlink-refactor' into metadata-and-relationships-combined-in-submission 2020-02-24 14:59:28 +01:00
Art Lowel
9d059e190e Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-02-24 11:42:55 +01:00
lotte
c98a4a1c3f fixes for replacing/moving 2020-02-19 17:04:37 +01:00
lotte
1a6f67d12e reorderable update fix 2020-02-17 13:23:49 +01:00
lotte
1b8cb5b10c workspace item update after move 2020-02-14 16:50:28 +01:00
lotte
6053d0691f bug fix 2020-02-13 08:49:24 +01:00
Kristof De Langhe
46ab613481 65272: Filter autocomplete metadata fields + fix test 2020-02-11 15:48:56 +01:00
Kristof De Langhe
e3facbd8c8 65272: filter relationship metadata when displaying on item-metadata, keep them stored in the object-updates store 2020-02-11 14:55:08 +01:00
Kristof De Langhe
1885845fef 65272: Clear template-item cache on removal 2020-02-07 17:18:51 +01:00
lotte
0f539ea7d7 trying to fix query in submission entities 2020-02-06 16:28:39 +01:00
lotte
2fc1e6e827 disabled thumbnails in entities results 2020-02-06 14:26:15 +01:00
lotte
32f8842af8 Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-02-06 08:55:04 +01:00
lotte
6cfcff5503 fixed tests in relaitonship service 2020-02-05 16:53:39 +01:00
lotte
405143388c Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-02-05 10:54:49 +01:00
lotte
fa0a0dd78c fixed relationship effects tests 2020-02-05 10:38:58 +01:00
lotte
34c5d93a98 fixed more tests 2020-02-04 12:36:17 +01:00
lotte
d1b7f07c68 final bug fixing 2020-02-03 14:49:06 +01:00
lotte
360abb78de intermediate commit 2020-02-03 12:58:24 +01:00
lotte
28747314e6 fixed bug with double selection 2020-01-28 11:29:25 +01:00
lotte
6792f75c38 bug fixing 2020-01-24 17:15:14 +01:00
Kristof De Langhe
53355d1fc4 65272: Test fixes 2020-01-23 17:49:41 +01:00
Kristof De Langhe
d98ce7c97e 65272: Logo spacing layout fix 2020-01-23 17:33:25 +01:00
Kristof De Langhe
98937bd240 65272: Missing JSDocs + id and uuid serializing fix for NormalizedTemplateItem 2020-01-23 17:24:46 +01:00
Kristof De Langhe
a714958c04 65272: Object update PUT to PATCH requests + option to add ignored metadata fields to update 2020-01-23 16:49:31 +01:00
Kristof De Langhe
4ae5ee21b1 65272: Edit template item - Empty metadata alert + alignment fixes 2020-01-23 15:59:47 +01:00
Kristof De Langhe
24fc3e6c76 65272: TemplateItem object and normalized version 2020-01-23 15:14:25 +01:00
Kristof De Langhe
4f048f59f7 Merge branch 'master' into w2p-65272_Edit-collection-item-template
Conflicts:
	resources/i18n/en.json5
	src/app/+collection-page/collection-page.module.ts
	src/app/+collection-page/edit-collection-page/collection-metadata/collection-metadata.component.html
	src/app/+collection-page/edit-collection-page/collection-metadata/collection-metadata.component.spec.ts
	src/app/+collection-page/edit-collection-page/collection-metadata/collection-metadata.component.ts
	src/app/core/core.module.ts
	src/app/core/data/data.service.ts
	src/app/shared/shared.module.ts
2020-01-23 14:30:44 +01:00
lotte
8a6fe08c22 drag drop styling 2020-01-22 14:58:37 +01:00
lotte
002813e25e Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-01-22 09:37:37 +01:00
lotte
ee3de31d69 fixed remaining test issue 2020-01-20 15:15:01 +01:00
lotte
0854701550 fixed tests 2020-01-20 12:44:29 +01:00
lotte
a4d5e0d20e bug fixing 2020-01-17 16:51:05 +01:00
lotte
db96da55d8 Merge branch 'master' into metadata-and-relationships-combined-in-submission 2020-01-17 13:06:16 +01:00
lotte
a449b79746 Merge branch 'reorder-name-variants' into metadata-and-relationships-combined-in-submission 2020-01-16 13:24:19 +01:00
lotte
c92fb9262c fixes for multiple fields 2020-01-16 12:59:19 +01:00
lotte
ab966c08ac Merge branch 'reorder-name-variants' into metadata-and-relationships-combined-in-submission 2020-01-14 16:16:17 +01:00
lotte
e768169add UX improvements 2020-01-14 15:29:21 +01:00
lotte
23d4b16243 made sure added relationships are shown again, resolved issues with duplicate entries + other bug fixes 2020-01-09 16:23:32 +01:00
lotte
3e9eb9eedc fixed relationship specific labels in modal and cleaned up existing code 2020-01-02 13:48:24 +01:00
lotte
3dfba2ad12 fixed strange test issue 2020-01-02 13:22:10 +01:00
lotte
11d3f33276 added input value as query in modal 2019-12-23 15:36:39 +01:00
lotte
2a686a2fc4 fixed spec error 2019-12-23 13:13:57 +01:00
lotte
5778b3ec6d Merge branch 'reorder-name-variants' into metadata-and-relationships-combined-in-submission 2019-12-23 11:49:42 +01:00
lotte
747606b40f fixed linting errors 2019-12-23 09:27:57 +01:00
lotte
c002d8c640 fixed existing tests 2019-12-23 08:47:46 +01:00
lotte
5ef538a9e8 Merge branch 'reorder-name-variants' into metadata-and-relationships-combined-in-submission 2019-12-23 08:31:22 +01:00
lotte
692a4a4a3d cleanup 2019-12-20 15:08:26 +01:00
lotte
aa7b3b7bb4 fixed remove buttons for both relatinoships and metadata 2019-12-16 15:31:14 +01:00
lotte
e3355455af fixed patch move 2019-12-13 16:58:59 +01:00
lotte
b7f18a1275 fixed issues with concat fields and adding repeatable metadata values in submission 2019-12-11 15:28:24 +01:00
Art Lowel
4cdb1370e2 metadata updates are now sent to the server, but the format is still wrong 2019-12-10 18:30:19 +01:00
lotte
b705e4a0f6 updates styling 2019-12-10 16:52:00 +01:00
lotte
55f14b2885 Merge branch 'metadata-and-relationships-combined-in-submission' of https://git.atmire.com/contributions/dspace-angular into metadata-and-relationships-combined-in-submission 2019-12-10 16:16:52 +01:00
lotte
cce9832037 fixed to row fields 2019-12-10 16:16:07 +01:00
Art Lowel
453a2919d1 store reordered relationships to the server 2019-12-10 15:40:56 +01:00
Art Lowel
b728463e56 make reorderables work for empty values 2019-12-10 10:58:47 +01:00
lotte
84bb44ae62 show metadata values in input fields 2019-12-10 10:22:27 +01:00
Art Lowel
9804161ff1 intermediate commit 2019-12-09 18:32:58 +01:00
Art Lowel
a5047f2f76 hide hints for repeated models of the same field, fix typo 2019-12-09 17:10:49 +01:00
lotte
fa40cac7e7 draggable form groups 2019-12-09 16:33:52 +01:00
lotte
e9f002785a draggable form array controls 2019-12-09 13:51:14 +01:00
lotte
6bba88019e changed rendering of values 2019-12-06 17:02:57 +01:00
lotte
28a0654d20 commit with extra wrapper component 2019-12-06 09:17:08 +01:00
Kristof De Langhe
b3371c5c14 Merge branch 'master' into w2p-65272_Edit-collection-item-template
Conflicts:
	resources/i18n/en.json5
	src/app/+collection-page/collection-page-routing.module.ts
	src/app/+collection-page/collection-page.module.ts
	src/app/core/core.module.ts
	src/app/core/data/data.service.ts
	src/app/shared/shared.module.ts
2019-11-29 11:04:06 +01:00
Kristof De Langhe
b3b8ea1dee 65272: item template REST contract endpoint changes 2019-10-14 16:47:35 +02:00
Kristof De Langhe
7fd4b41460 65272: Added test cases 2019-10-04 17:50:53 +02:00
Kristof De Langhe
088304fce7 Merge branch 'w2p-63669_Edit-Col/Com-Tabs' into w2p-65272_Edit-collection-item-template 2019-10-04 15:48:18 +02:00
Kristof De Langhe
cfdc227563 65272: CollectionMetadataComponent test import fixes 2019-10-04 14:46:59 +02:00
Kristof De Langhe
2eae641703 Merge branch 'master' into w2p-65272_Edit-collection-item-template 2019-10-04 13:35:19 +02:00
Kristof De Langhe
90beee9a85 65272: Existing test fixes 2019-10-04 13:34:56 +02:00
Kristof De Langhe
644ab2cfab 65272: JSDocs 2019-10-04 13:05:15 +02:00
Kristof De Langhe
cf8bba7112 65272: Revert testing changes 2019-10-04 12:38:47 +02:00
Kristof De Langhe
ba436a6467 65272: Functional EditItemTemplatePageComponent 2019-10-04 11:46:14 +02:00
Kristof De Langhe
4cc1f55272 65272: EditItemTemplatePageComponent 2019-10-03 17:50:48 +02:00
Kristof De Langhe
cddaf539aa 65272: add, delete and edit button for collection item template 2019-10-03 16:36:07 +02:00
Kristof De Langhe
143604fa4d 65272: Intermediate commit 2019-10-03 15:07:05 +02:00
Kristof De Langhe
ef9976cf09 Merge branch 'w2p-63669_Edit-Col/Com-Tabs' into w2p-65272_Edit-collection-item-template 2019-10-03 14:41:15 +02:00
Kristof De Langhe
12be9101e5 65272: ItemTemplateDataService 2019-10-03 13:16:46 +02:00
3899 changed files with 315727 additions and 131768 deletions

17
.browserslistrc Normal file
View File

@@ -0,0 +1,17 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.

28
.codecov.yml Normal file
View File

@@ -0,0 +1,28 @@
# DSpace configuration for Codecov.io coverage reports
# These override the default YAML settings at
# https://docs.codecov.io/docs/codecov-yaml#section-default-yaml
# Can be validated via instructions at:
# https://docs.codecov.io/docs/codecov-yaml#validate-your-repository-yaml
# Settings related to code coverage analysis
coverage:
status:
# Configuration for project-level checks. This checks how the PR changes overall coverage.
project:
default:
# For each PR, auto compare coverage to previous commit.
# Require that overall (project) coverage does NOT drop more than 0.5%
target: auto
threshold: 0.5%
# Configuration for patch-level checks. This checks the relative coverage of the new PR code ONLY.
patch:
default:
# Enable informational mode, which just provides info to reviewers & always passes
# https://docs.codecov.io/docs/commit-status#section-informational
informational: true
# Turn PR comments "off". This feature adds the code coverage summary as a
# comment on each PR. See https://docs.codecov.io/docs/pull-request-comments
# However, this same info is available from the Codecov checks in the PR's
# "Checks" tab in GitHub. So, the comment is unnecessary.
comment: false

View File

@@ -1,5 +1,4 @@
# http://editorconfig.org # Editor configuration, see https://editorconfig.org
root = true root = true
[*] [*]
@@ -13,3 +12,6 @@ trim_trailing_whitespace = true
[*.md] [*.md]
insert_final_newline = false insert_final_newline = false
trim_trailing_whitespace = false trim_trailing_whitespace = false
[*.ts]
quote_type = single

229
.eslintrc.json Normal file
View File

@@ -0,0 +1,229 @@
{
"root": true,
"plugins": [
"@typescript-eslint",
"@angular-eslint/eslint-plugin",
"eslint-plugin-import",
"eslint-plugin-jsdoc",
"eslint-plugin-deprecation",
"unused-imports",
"eslint-plugin-lodash"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"./tsconfig.json",
"./cypress/tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"max-classes-per-file": [
"error",
1
],
"comma-dangle": [
"off",
"always-multiline"
],
"eol-last": [
"error",
"always"
],
"no-console": [
"error",
{
"allow": [
"log",
"warn",
"dir",
"timeLog",
"assert",
"clear",
"count",
"countReset",
"group",
"groupEnd",
"table",
"debug",
"info",
"dirxml",
"error",
"groupCollapsed",
"Console",
"profile",
"profileEnd",
"timeStamp",
"context"
]
}
],
"curly": "error",
"brace-style": [
"error",
"1tbs",
{
"allowSingleLine": true
}
],
"eqeqeq": [
"error",
"always",
{
"null": "ignore"
}
],
"radix": "error",
"guard-for-in": "error",
"no-bitwise": "error",
"no-restricted-imports": "error",
"no-caller": "error",
"no-debugger": "error",
"no-redeclare": "error",
"no-eval": "error",
"no-fallthrough": "error",
"no-trailing-spaces": "error",
"space-infix-ops": "error",
"keyword-spacing": "error",
"no-var": "error",
"no-unused-expressions": [
"error",
{
"allowTernary": true
}
],
"prefer-const": "off", // todo: re-enable & fix errors (more strict than it used to be in TSLint)
"prefer-spread": "off",
"no-underscore-dangle": "off",
// todo: disabled rules from eslint:recommended, consider re-enabling & fixing
"no-prototype-builtins": "off",
"no-useless-escape": "off",
"no-case-declarations": "off",
"no-extra-boolean-cast": "off",
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "ds",
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "ds",
"style": "kebab-case"
}
],
"@angular-eslint/pipe-prefix": [
"error",
{
"prefixes": [
"ds"
]
}
],
"@angular-eslint/no-attribute-decorator": "error",
"@angular-eslint/no-forward-ref": "error",
"@angular-eslint/no-output-native": "warn",
"@angular-eslint/no-output-on-prefix": "warn",
"@angular-eslint/no-conflicting-lifecycle": "warn",
"@typescript-eslint/no-inferrable-types":[
"error",
{
"ignoreParameters": true
}
],
"@typescript-eslint/quotes": [
"error",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"@typescript-eslint/semi": "error",
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/dot-notation": "error",
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/prefer-function-type": "error",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "property",
"format": null
}
],
"@typescript-eslint/member-ordering": [
"error",
{
"default": [
"static-field",
"instance-field",
"static-method",
"instance-method"
]
}
],
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unified-signatures": "error",
"@typescript-eslint/ban-types": "warn", // todo: deal with {} type issues & re-enable
"@typescript-eslint/no-floating-promises": "warn",
"@typescript-eslint/no-misused-promises": "warn",
"@typescript-eslint/restrict-plus-operands": "warn",
"@typescript-eslint/unbound-method": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/require-await": "off",
"deprecation/deprecation": "warn",
"import/order": "off",
"import/no-deprecated": "warn",
"import/no-namespace": "error",
"unused-imports/no-unused-imports": "error",
"lodash/import-scope": [
"error",
"method"
]
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {
// todo: re-enable & fix errors
"@angular-eslint/template/no-negated-async": "off",
"@angular-eslint/template/eqeqeq": "off"
}
}
]
}

16
.gitattributes vendored Normal file
View File

@@ -0,0 +1,16 @@
# By default, auto detect text files and perform LF normalization
# This ensures code is always checked in with LF line endings
* text=auto
# JS and TS files must always use LF for Angular tools to work
# Some Angular tools expect LF line endings, even on Windows.
# This ensures Windows always checks out these files with LF line endings
# We've copied many of these rules from https://github.com/angular/angular-cli/
*.js eol=lf
*.ts eol=lf
*.json eol=lf
*.json5 eol=lf
*.css eol=lf
*.scss eol=lf
*.html eol=lf
*.svg eol=lf

22
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,22 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug, needs triage
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is. Include the version(s) of DSpace where you've seen this problem & what *web browser* you were using. Link to examples if they are public.
**To Reproduce**
Steps to reproduce the behavior:
1. Do this
2. Then this...
**Expected behavior**
A clear and concise description of what you expected to happen.
**Related work**
Link to any related tickets or PRs here.

View File

@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest a new feature for this project
title: ''
labels: new feature, needs triage
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives or workarounds you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@@ -0,0 +1,26 @@
# This workflow runs whenever a new pull request is created
# TEMPORARILY DISABLED. Unfortunately this doesn't work for PRs created from forked repositories (which is how we tend to create PRs).
# There is no known workaround yet. See https://github.community/t/how-to-use-github-token-for-prs-from-forks/16818
name: Pull Request opened
# Only run for newly opened PRs against the "main" branch
on:
pull_request:
types: [opened]
branches:
- main
jobs:
automation:
runs-on: ubuntu-latest
steps:
# Assign the PR to whomever created it. This is useful for visualizing assignments on project boards
# See https://github.com/marketplace/actions/pull-request-assigner
- name: Assign PR to creator
uses: thomaseizinger/assign-pr-creator-action@v1.0.0
# Note, this authentication token is created automatically
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Ignore errors. It is possible the PR was created by someone who cannot be assigned
continue-on-error: true

View File

@@ -1,7 +1,7 @@
## References ## References
_Add references/links to any related tickets or PRs. These may include:_ _Add references/links to any related issues or PRs. These may include:_
* Link to [Angular issue or PR](https://github.com/DSpace/dspace-angular/issues) related to this PR, if any * Fixes #`issue-number` (if this fixes an issue ticket)
* Link to [JIRA](https://jira.lyrasis.org/projects/DS/summary) ticket(s), if any * Requires DSpace/DSpace#`pr-number` (if a REST API PR is required to test this)
## Description ## Description
Short summary of changes (1-2 sentences). Short summary of changes (1-2 sentences).
@@ -19,10 +19,10 @@ List of changes in this PR:
_This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!_ _This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!_
- [ ] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible. - [ ] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
- [ ] My PR passes [TSLint](https://palantir.github.io/tslint/) validation using `yarn run lint` - [ ] My PR passes [ESLint](https://eslint.org/) validation using `yarn lint`
- [ ] My PR doesn't introduce circular dependencies (verified via `yarn check-circ-deps`)
- [ ] My PR includes [TypeDoc](https://typedoc.org/) comments for _all new (or modified) public methods and classes_. It also includes TypeDoc for large or complex private methods. - [ ] My PR includes [TypeDoc](https://typedoc.org/) comments for _all new (or modified) public methods and classes_. It also includes TypeDoc for large or complex private methods.
- [ ] My PR passes all specs/tests and includes new/updated specs for any bug fixes, improvements or new features. A few reminders about what constitutes good tests: - [ ] My PR passes all specs/tests and includes new/updated specs or tests based on the [Code Testing Guide](https://wiki.lyrasis.org/display/DSPACE/Code+Testing+Guide).
* Include tests for different user types (if behavior differs), including: (1) Anonymous user, (2) Logged in user (non-admin), and (3) Administrator. - [ ] If my PR includes new libraries/dependencies (in `package.json`), I've made sure their licenses align with the [DSpace BSD License](https://github.com/DSpace/DSpace/blob/main/LICENSE) based on the [Licensing of Contributions](https://wiki.lyrasis.org/display/DSPACE/Code+Contribution+Guidelines#CodeContributionGuidelines-LicensingofContributions) documentation.
* Include tests for error scenarios, e.g. when errors/warnings should appear (or buttons should be disabled). - [ ] If my PR includes new features or configurations, I've provided basic technical documentation in the PR itself.
* For bug fixes, include a test that reproduces the bug and proves it is fixed. For clarity, it may be useful to provide the test in a separate commit from the bug fix. - [ ] If my PR fixes an issue ticket, I've [linked them together](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue).
- [ ] If my PR includes new, third-party dependencies (in `package.json`), I've made sure their licenses align with the [DSpace BSD License](https://github.com/DSpace/DSpace/blob/master/LICENSE) based on the [Licensing of Contributions](https://wiki.lyrasis.org/display/DSPACE/Code+Contribution+Guidelines#CodeContributionGuidelines-LicensingofContributions) documentation.

171
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,171 @@
# DSpace Continuous Integration/Build via GitHub Actions
# Concepts borrowed from
# https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-nodejs
name: Build
# Run this Build for all pushes / PRs to current branch
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
tests:
runs-on: ubuntu-latest
env:
# The ci step will test the dspace-angular code against DSpace REST.
# Direct that step to utilize a DSpace REST service that has been started in docker.
DSPACE_REST_HOST: 127.0.0.1
DSPACE_REST_PORT: 8080
DSPACE_REST_NAMESPACE: '/server'
DSPACE_REST_SSL: false
# Spin up UI on 127.0.0.1 to avoid host resolution issues in e2e tests with Node 18+
DSPACE_UI_HOST: 127.0.0.1
# When Chrome version is specified, we pin to a specific version of Chrome
# Comment this out to use the latest release
#CHROME_VERSION: "90.0.4430.212-1"
strategy:
# Create a matrix of Node versions to test against (in parallel)
matrix:
node-version: [16.x, 18.x]
# Do NOT exit immediately if one matrix job fails
fail-fast: false
# These are the actual CI steps to perform per job
steps:
# https://github.com/actions/checkout
- name: Checkout codebase
uses: actions/checkout@v3
# https://github.com/actions/setup-node
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# If CHROME_VERSION env variable specified above, then pin to that version.
# Otherwise, just install latest version of Chrome.
- name: Install Chrome (for e2e tests)
run: |
if [[ -z "${CHROME_VERSION}" ]]
then
echo "Installing latest stable version"
sudo apt-get update
sudo apt-get --only-upgrade install google-chrome-stable -y
else
echo "Installing version ${CHROME_VERSION}"
wget -q "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb"
sudo dpkg -i "google-chrome-stable_${CHROME_VERSION}_amd64.deb"
fi
google-chrome --version
# https://github.com/actions/cache/blob/main/examples.md#node---yarn
- name: Get Yarn cache directory
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache Yarn dependencies
uses: actions/cache@v3
with:
# Cache entire Yarn cache directory (see previous step)
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
# Cache key is hash of yarn.lock. Therefore changes to yarn.lock will invalidate cache
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- name: Install Yarn dependencies
run: yarn install --frozen-lockfile
- name: Run lint
run: yarn run lint --quiet
- name: Check for circular dependencies
run: yarn run check-circ-deps
- name: Run build
run: yarn run build:prod
- name: Run specs (unit tests)
run: yarn run test:headless
# NOTE: Angular CLI only supports code coverage for specs. See https://github.com/angular/angular-cli/issues/6286
# Upload coverage reports to Codecov (for one version of Node only)
# https://github.com/codecov/codecov-action
- name: Upload coverage to Codecov.io
uses: codecov/codecov-action@v3
if: matrix.node-version == '16.x'
# Using docker-compose start backend using CI configuration
# and load assetstore from a cached copy
- name: Start DSpace REST Backend via Docker (for e2e tests)
run: |
docker-compose -f ./docker/docker-compose-ci.yml up -d
docker-compose -f ./docker/cli.yml -f ./docker/cli.assetstore.yml run --rm dspace-cli
docker container ls
# Run integration tests via Cypress.io
# https://github.com/cypress-io/github-action
# (NOTE: to run these e2e tests locally, just use 'ng e2e')
- name: Run e2e tests (integration tests)
uses: cypress-io/github-action@v4
with:
# Run tests in Chrome, headless mode
browser: chrome
headless: true
# Start app before running tests (will be stopped automatically after tests finish)
start: yarn run serve:ssr
# Wait for backend & frontend to be available
# NOTE: We use the 'sites' REST endpoint to also ensure the database is ready
wait-on: http://127.0.0.1:8080/server/api/core/sites, http://127.0.0.1:4000
# Wait for 2 mins max for everything to respond
wait-on-timeout: 120
# Cypress always creates a video of all e2e tests (whether they succeeded or failed)
# Save those in an Artifact
- name: Upload e2e test videos to Artifacts
uses: actions/upload-artifact@v3
if: always()
with:
name: e2e-test-videos
path: cypress/videos
# If e2e tests fail, Cypress creates a screenshot of what happened
# Save those in an Artifact
- name: Upload e2e test failure screenshots to Artifacts
uses: actions/upload-artifact@v3
if: failure()
with:
name: e2e-test-screenshots
path: cypress/screenshots
- name: Stop app (in case it stays up after e2e tests)
run: |
app_pid=$(lsof -t -i:4000)
if [[ ! -z $app_pid ]]; then
echo "App was still up! (PID: $app_pid)"
kill -9 $app_pid
fi
# Start up the app with SSR enabled (run in background)
- name: Start app in SSR (server-side rendering) mode
run: |
nohup yarn run serve:ssr &
printf 'Waiting for app to start'
until curl --output /dev/null --silent --head --fail http://127.0.0.1:4000/home; do
printf '.'
sleep 2
done
echo "App started successfully."
# Get homepage and verify that the <meta name="title"> tag includes "DSpace".
# If it does, then SSR is working, as this tag is created by our MetadataService.
# This step also prints entire HTML of homepage for easier debugging if grep fails.
- name: Verify SSR (server-side rendering)
run: |
result=$(wget -O- -q http://127.0.0.1:4000/home)
echo "$result"
echo "$result" | grep -oE "<meta name=\"title\" [^>]*>" | grep DSpace
- name: Stop running app
run: kill -9 $(lsof -t -i:4000)
- name: Shutdown Docker containers
run: docker-compose -f ./docker/docker-compose-ci.yml down

49
.github/workflows/codescan.yml vendored Normal file
View File

@@ -0,0 +1,49 @@
# DSpace CodeQL code scanning configuration for GitHub
# https://docs.github.com/en/code-security/code-scanning
#
# NOTE: Code scanning must be run separate from our default build.yml
# because CodeQL requires a fresh build with all tests *disabled*.
name: "Code Scanning"
# Run this code scan for all pushes / PRs to main branch. Also run once a week.
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Don't run if PR is only updating static documentation
paths-ignore:
- '**/*.md'
- '**/*.txt'
schedule:
- cron: "37 0 * * 1"
jobs:
analyze:
name: Analyze Code
runs-on: ubuntu-latest
# Limit permissions of this GitHub action. Can only write to security-events
permissions:
actions: read
contents: read
security-events: write
steps:
# https://github.com/actions/checkout
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
# https://github.com/github/codeql-action
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: javascript
# Autobuild attempts to build any compiled languages
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Perform GitHub Code Scanning.
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

90
.github/workflows/docker.yml vendored Normal file
View File

@@ -0,0 +1,90 @@
# DSpace Docker image build for hub.docker.com
name: Docker images
# Run this Build for all pushes to 'main' or maintenance branches, or tagged releases.
# Also run for PRs to ensure PR doesn't break Docker build process
on:
push:
branches:
- main
- 'dspace-**'
tags:
- 'dspace-**'
pull_request:
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
docker:
# Ensure this job never runs on forked repos. It's only executed for 'dspace/dspace-angular'
if: github.repository == 'dspace/dspace-angular'
runs-on: ubuntu-latest
env:
# Define tags to use for Docker images based on Git tags/branches (for docker/metadata-action)
# For a new commit on default branch (main), use the literal tag 'dspace-7_x' on Docker image.
# For a new commit on other branches, use the branch name as the tag for Docker image.
# For a new tag, copy that tag name as the tag for Docker image.
IMAGE_TAGS: |
type=raw,value=dspace-7_x,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
type=ref,event=branch,enable=${{ !endsWith(github.ref, github.event.repository.default_branch) }}
type=ref,event=tag
# Define default tag "flavor" for docker/metadata-action per
# https://github.com/docker/metadata-action#flavor-input
# We turn off 'latest' tag by default.
TAGS_FLAVOR: |
latest=false
# Architectures / Platforms for which we will build Docker images
# If this is a PR, we ONLY build for AMD64. For PRs we only do a sanity check test to ensure Docker builds work.
# If this is NOT a PR (e.g. a tag or merge commit), also build for ARM64.
PLATFORMS: linux/amd64${{ github.event_name != 'pull_request' && ', linux/arm64' || '' }}
steps:
# https://github.com/actions/checkout
- name: Checkout codebase
uses: actions/checkout@v3
# https://github.com/docker/setup-buildx-action
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU emulation to build for multiple architectures
uses: docker/setup-qemu-action@v2
# https://github.com/docker/login-action
- name: Login to DockerHub
# Only login if not a PR, as PRs only trigger a Docker build and not a push
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
###############################################
# Build/Push the 'dspace/dspace-angular' image
###############################################
# https://github.com/docker/metadata-action
# Get Metadata for docker_build step below
- name: Sync metadata (tags, labels) from GitHub to Docker for 'dspace-angular' image
id: meta_build
uses: docker/metadata-action@v4
with:
images: dspace/dspace-angular
tags: ${{ env.IMAGE_TAGS }}
flavor: ${{ env.TAGS_FLAVOR }}
# https://github.com/docker/build-push-action
- name: Build and push 'dspace-angular' image
id: docker_build
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
platforms: ${{ env.PLATFORMS }}
# For pull requests, we run the Docker build (to ensure no PR changes break the build),
# but we ONLY do an image push to DockerHub if it's NOT a PR
push: ${{ github.event_name != 'pull_request' }}
# Use tags / labels provided by 'docker/metadata-action' above
tags: ${{ steps.meta_build.outputs.tags }}
labels: ${{ steps.meta_build.outputs.labels }}

26
.github/workflows/issue_opened.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
# This workflow runs whenever a new issue is created
name: Issue opened
on:
issues:
types: [opened]
permissions: {}
jobs:
automation:
runs-on: ubuntu-latest
steps:
# Add the new issue to a project board, if it needs triage
# See https://github.com/actions/add-to-project
- name: Add issue to triage board
# Only add to project board if issue is flagged as "needs triage" or has no labels
# NOTE: By default we flag new issues as "needs triage" in our issue template
if: (contains(github.event.issue.labels.*.name, 'needs triage') || join(github.event.issue.labels.*.name) == '')
uses: actions/add-to-project@v0.3.0
# Note, the authentication token below is an ORG level Secret.
# It must be created/recreated manually via a personal access token with admin:org, project, public_repo permissions
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#permissions-for-the-github_token
# This is necessary because the "DSpace Backlog" project is an org level project (i.e. not repo specific)
with:
github-token: ${{ secrets.TRIAGE_PROJECT_TOKEN }}
project-url: https://github.com/orgs/DSpace/projects/24

View File

@@ -0,0 +1,36 @@
# This workflow checks open PRs for merge conflicts and labels them when conflicts are found
name: Check for merge conflicts
# Run whenever the "main" branch is updated
# NOTE: This means merge conflicts are only checked for when a PR is merged to main.
on:
push:
branches: [ main ]
# So that the `conflict_label_name` is removed if conflicts are resolved,
# we allow this to run for `pull_request_target` so that github secrets are available.
pull_request_target:
types: [ synchronize ]
permissions: {}
jobs:
triage:
# Ensure this job never runs on forked repos. It's only executed for 'dspace/dspace-angular'
if: github.repository == 'dspace/dspace-angular'
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
# See: https://github.com/prince-chrismc/label-merge-conflicts-action
- name: Auto-label PRs with merge conflicts
uses: prince-chrismc/label-merge-conflicts-action@v2
# Add "merge conflict" label if a merge conflict is detected. Remove it when resolved.
# Note, the authentication token is created automatically
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token
with:
conflict_label_name: 'merge conflict'
github_token: ${{ secrets.GITHUB_TOKEN }}
conflict_comment: |
Hi @${author},
Conflicts have been detected against the base branch.
Please [resolve these conflicts](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/about-merge-conflicts) as soon as you can. Thanks!

9
.gitignore vendored
View File

@@ -1,3 +1,4 @@
/.angular/cache
/__build__ /__build__
/__server_build__ /__server_build__
/node_modules /node_modules
@@ -7,9 +8,6 @@ npm-debug.log
/build/ /build/
/config/environment.dev.js
/config/environment.prod.js
/coverage /coverage
/dist/ /dist/
@@ -36,3 +34,8 @@ yarn-error.log
package-lock.json package-lock.json
.java-version .java-version
.env
/nbproject/
junit.xml

View File

@@ -1,58 +0,0 @@
sudo: required
dist: bionic
env:
# Install the latest docker-compose version for ci testing.
# The default installation in travis is not compatible with the latest docker-compose file version.
COMPOSE_VERSION: 1.24.1
# The ci step will test the dspace-angular code against DSpace REST.
# Direct that step to utilize a DSpace REST service that has been started in docker.
DSPACE_REST_HOST: localhost
DSPACE_REST_PORT: 8080
DSPACE_REST_NAMESPACE: '/server/api'
DSPACE_REST_SSL: false
services:
- xvfb
before_install:
# Docker Compose Install
- curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
install:
# update chrome
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
- sudo apt-get update
- sudo apt-get install google-chrome-stable
# Start up DSpace 7 using the entities database dump
- docker-compose -f ./docker/docker-compose-travis.yml up -d
# Use the dspace-cli image to populate the assetstore. Trigger a discovery and oai update
- docker-compose -f ./docker/cli.yml -f ./docker/cli.assetstore.yml run --rm dspace-cli
- travis_retry yarn install
before_script:
# The following line could be enabled to verify that the rest server is responding.
# Currently, "yarn run build" takes enough time to run to allow the service to be available
#- curl http://localhost:8080/
after_script:
- docker-compose -f ./docker/docker-compose-travis.yml down
language: node_js
node_js:
- "10"
- "12"
cache:
yarn: true
bundler_args: --retry 5
script:
- yarn run build
- yarn run ci
- cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

View File

@@ -1,3 +1,8 @@
{ {
"typescript.check.workspaceVersion": false "typescript.check.workspaceVersion": false,
"i18n-ally.localesPaths": [
"src/assets/i18n",
"src/app/core/locale"
],
"typescript.tsdk": "node_modules\\typescript\\lib"
} }

46
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,46 @@
# How to Contribute
DSpace is a community built and supported project. We do not have a centralized development or support team, but have a dedicated group of volunteers who help us improve the software, documentation, resources, etc.
* [Contribute new code via a Pull Request](#contribute-new-code-via-a-pull-request)
* [Contribute documentation](#contribute-documentation)
* [Help others on mailing lists or Slack](#help-others-on-mailing-lists-or-slack)
* [Join a working or interest group](#join-a-working-or-interest-group)
## Contribute new code via a Pull Request
We accept [GitHub Pull Requests (PRs)](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) at any time from anyone.
Contributors to each release are recognized in our [Release Notes](https://wiki.lyrasis.org/display/DSDOC7x/Release+Notes).
Code Contribution Checklist
- [ ] PRs _should_ be smaller in size (ideally less than 1,000 lines of code, not including comments & tests)
- [ ] PRs **must** pass [ESLint](https://eslint.org/) validation using `yarn lint`
- [ ] PRs **must** not introduce circular dependencies (verified via `yarn check-circ-deps`)
- [ ] PRs **must** include [TypeDoc](https://typedoc.org/) comments for _all new (or modified) public methods and classes_. Large or complex private methods should also have TypeDoc.
- [ ] PRs **must** pass all automated pecs/tests and includes new/updated specs or tests based on the [Code Testing Guide](https://wiki.lyrasis.org/display/DSPACE/Code+Testing+Guide).
- [ ] If a PR includes new libraries/dependencies (in `package.json`), then their software licenses **must** align with the [DSpace BSD License](https://github.com/DSpace/dspace-angular/blob/main/LICENSE) based on the [Licensing of Contributions](https://wiki.lyrasis.org/display/DSPACE/Code+Contribution+Guidelines#CodeContributionGuidelines-LicensingofContributions) documentation.
- [ ] Basic technical documentation _should_ be provided for any new features or configuration, either in the PR itself or in the DSpace Wiki documentation.
- [ ] If a PR fixes an issue ticket, please [link them together](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue).
Additional details on the code contribution process can be found in our [Code Contribution Guidelines](https://wiki.lyrasis.org/display/DSPACE/Code+Contribution+Guidelines)
## Contribute documentation
DSpace Documentation is a collaborative effort in a shared Wiki. The latest documentation is at https://wiki.lyrasis.org/display/DSDOC7x
If you find areas of the DSpace Documentation which you wish to improve, please request a Wiki account by emailing wikihelp@lyrasis.org.
Once you have an account setup, contact @tdonohue (via [Slack](https://wiki.lyrasis.org/display/DSPACE/Slack) or email) for access to edit our Documentation.
## Help others on mailing lists or Slack
DSpace has our own [Slack](https://wiki.lyrasis.org/display/DSPACE/Slack) community and [Mailing Lists](https://wiki.lyrasis.org/display/DSPACE/Mailing+Lists) where discussions take place and questions are answered.
Anyone is welcome to join and help others. We just ask you to follow our [Code of Conduct](https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx) (adopted via LYRASIS).
## Join a working or interest group
Most of the work in building/improving DSpace comes via [Working Groups](https://wiki.lyrasis.org/display/DSPACE/DSpace+Working+Groups) or [Interest Groups](https://wiki.lyrasis.org/display/DSPACE/DSpace+Interest+Groups).
All working/interest groups are open to anyone to join and participate. A few key groups to be aware of include:
* [DSpace 7 Working Group](https://wiki.lyrasis.org/display/DSPACE/DSpace+7+Working+Group) - This is the main (mostly volunteer) development team. We meet weekly to review our current development [project board](https://github.com/orgs/DSpace/projects), assigning tickets and/or PRs.
* [DSpace Community Advisory Team (DCAT)](https://wiki.lyrasis.org/display/cmtygp/DSpace+Community+Advisory+Team) - This is an interest group for repository managers/administrators. We meet monthly to discuss DSpace, share tips & provide feedback back to developers.

View File

@@ -1,12 +1,21 @@
# This image will be published as dspace/dspace-angular # This image will be published as dspace/dspace-angular
# See https://dspace-labs.github.io/DSpace-Docker-Images/ for usage details # See https://github.com/DSpace/dspace-angular/tree/main/docker for usage details
FROM node:12-alpine FROM node:18-alpine
WORKDIR /app WORKDIR /app
ADD . /app/ ADD . /app/
EXPOSE 3000 EXPOSE 4000
# Ensure Python and other build tools are available
# These are needed to install some node modules, especially on linux/arm64
RUN apk add --update python3 make g++ && rm -rf /var/cache/apk/*
# We run yarn install with an increased network timeout (5min) to avoid "ESOCKETTIMEDOUT" errors from hub.docker.com # We run yarn install with an increased network timeout (5min) to avoid "ESOCKETTIMEDOUT" errors from hub.docker.com
# See, for example https://github.com/yarnpkg/yarn/issues/5540 # See, for example https://github.com/yarnpkg/yarn/issues/5540
RUN yarn install --network-timeout 300000 RUN yarn install --network-timeout 300000
CMD yarn run watch
# On startup, run in DEVELOPMENT mode (this defaults to live reloading enabled, etc).
# Listen / accept connections from all IP addresses.
# NOTE: At this time it is only possible to run Docker container in Production mode
# if you have a public IP. See https://github.com/DSpace/dspace-angular/issues/1485
CMD yarn serve --host 0.0.0.0

22
LICENSE
View File

@@ -1,6 +1,6 @@
DSpace source code BSD License: BSD 3-Clause License
Copyright (c) 2002-2020, LYRASIS. All rights reserved. Copyright (c) 2002-2021, LYRASIS. All rights reserved.
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are modification, are permitted provided that the following conditions are
@@ -13,13 +13,12 @@ notice, this list of conditions and the following disclaimer.
notice, this list of conditions and the following disclaimer in the notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution. documentation and/or other materials provided with the distribution.
- Neither the name DuraSpace nor the name of the DSpace Foundation - Neither the name of the copyright holder nor the names of its
nor the names of its contributors may be used to endorse or promote contributors may be used to endorse or promote products derived from
products derived from this software without specific prior written this software without specific prior written permission.
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
@@ -29,11 +28,4 @@ OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE. DAMAGE.
DSpace uses third-party libraries which may be distributed under
different licenses to the above. Information about these licenses
is detailed in the LICENSES_THIRD_PARTY file at the root of the source
tree. You must agree to the terms of these licenses, in addition to
the above DSpace source code license, in order to use this software.

28
NOTICE Normal file
View File

@@ -0,0 +1,28 @@
Licenses of Third-Party Libraries
=================================
DSpace uses third-party libraries which may be distributed under
different licenses than specified in our LICENSE file. Information
about these licenses is detailed in the LICENSES_THIRD_PARTY file at
the root of the source tree. You must agree to the terms of these
licenses, in addition to the DSpace source code license, in order to
use this software.
Licensing Notices
=================
[July 2019] DuraSpace joined with LYRASIS (another 501(c)3 organization) in July 2019.
LYRASIS holds the copyrights of DuraSpace.
[July 2009] Fedora Commons joined with the DSpace Foundation and began operating under
the new name DuraSpace in July 2009. DuraSpace holds the copyrights of
the DSpace Foundation, Inc.
[July 2007] The DSpace Foundation, Inc. is a 501(c)3 corporation established in July 2007
with a mission to promote and advance the dspace platform enabling management,
access and preservation of digital works. The Foundation was able to transfer
the legal copyright from Hewlett-Packard Company (HP) and Massachusetts
Institute of Technology (MIT) to the DSpace Foundation in October 2007. Many
of the files in the source code may contain a copyright statement stating HP
and MIT possess the copyright, in these instances please note that the copy
right has transferred to the DSpace foundation, and subsequently to DuraSpace.

456
README.md
View File

@@ -1,19 +1,41 @@
[![Build Status](https://travis-ci.org/DSpace/dspace-angular.svg?branch=master)](https://travis-ci.org/DSpace/dspace-angular) [![Coverage Status](https://coveralls.io/repos/github/DSpace/dspace-angular/badge.svg?branch=master)](https://coveralls.io/github/DSpace/dspace-angular?branch=master) [![Universal Angular](https://img.shields.io/badge/universal-angular2-brightgreen.svg?style=flat)](https://github.com/angular/universal) [![Build Status](https://github.com/DSpace/dspace-angular/workflows/Build/badge.svg?branch=main)](https://github.com/DSpace/dspace-angular/actions?query=workflow%3ABuild) [![Coverage Status](https://codecov.io/gh/DSpace/dspace-angular/branch/main/graph/badge.svg)](https://codecov.io/gh/DSpace/dspace-angular) [![Universal Angular](https://img.shields.io/badge/universal-angular2-brightgreen.svg?style=flat)](https://github.com/angular/universal)
dspace-angular dspace-angular
============== ==============
> The next UI for DSpace 7, based on Angular Universal. > The DSpace User Interface built on [Angular](https://angular.io/), written in [TypeScript](https://www.typescriptlang.org/) and using [Angular Universal](https://angular.io/guide/universal).
This project is currently under active development. For more information on the DSpace 7 release see the [DSpace 7.0 Release Status wiki page](https://wiki.lyrasis.org/display/DSPACE/DSpace+Release+7.0+Status) Overview
--------
You can find additional information on the DSpace 7 Angular UI on the [wiki](https://wiki.lyrasis.org/display/DSPACE/DSpace+7+-+Angular+UI+Development). DSpace open source software is a turnkey repository application used by more than
2,000 organizations and institutions worldwide to provide durable access to digital resources.
For more information, visit http://www.dspace.org/
DSpace consists of both a Java-based backend and an Angular-based frontend.
* Backend (https://github.com/DSpace/DSpace/) provides a REST API, along with other machine-based interfaces (e.g. OAI-PMH, SWORD, etc)
* The REST Contract is at https://github.com/DSpace/RestContract
* Frontend (this codebase) is the User Interface built on the REST API
Downloads
---------
* Backend (REST API): https://github.com/DSpace/DSpace/releases
* Frontend (User Interface): https://github.com/DSpace/dspace-angular/releases
## Documentation / Installation
Documentation for each release may be viewed online or downloaded via our [Documentation Wiki](https://wiki.lyrasis.org/display/DSDOC/).
The latest DSpace Installation instructions are available at:
https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace
Quick start Quick start
----------- -----------
**Ensure you're running [Node](https://nodejs.org) `v10.x` or `v12.x`, [npm](https://www.npmjs.com/) >= `v5.x` and [yarn](https://yarnpkg.com) >= `v1.x`** **Ensure you're running [Node](https://nodejs.org) `v16.x` or `v18.x`, [npm](https://www.npmjs.com/) >= `v5.x` and [yarn](https://yarnpkg.com) == `v1.x`**
```bash ```bash
# clone the repo # clone the repo
@@ -29,7 +51,7 @@ yarn install
yarn start yarn start
``` ```
Then go to [http://localhost:3000](http://localhost:3000) in your browser Then go to [http://localhost:4000](http://localhost:4000) in your browser
Not sure where to start? watch the training videos linked in the [Introduction to the technology](#introduction-to-the-technology) section below. Not sure where to start? watch the training videos linked in the [Introduction to the technology](#introduction-to-the-technology) section below.
@@ -39,14 +61,17 @@ Table of Contents
- [Introduction to the technology](#introduction-to-the-technology) - [Introduction to the technology](#introduction-to-the-technology)
- [Requirements](#requirements) - [Requirements](#requirements)
- [Installing](#installing) - [Installing](#installing)
- [Configuring](#configuring) - [Configuring](#configuring)
- [Running the app](#running-the-app) - [Running the app](#running-the-app)
- [Running in production mode](#running-in-production-mode) - [Running in production mode](#running-in-production-mode)
- [Deploy](#deploy) - [Deploy](#deploy)
- [Running the application with Docker](#running-the-application-with-docker) - [Running the application with Docker](#running-the-application-with-docker)
- [Cleaning](#cleaning) - [Cleaning](#cleaning)
- [Testing](#testing) - [Testing](#testing)
- [Test a Pull Request](#test-a-pull-request) - [Test a Pull Request](#test-a-pull-request)
- [Unit Tests](#unit-tests)
- [E2E Tests](#e2e-tests)
- [Writing E2E Tests](#writing-e2e-tests)
- [Documentation](#documentation) - [Documentation](#documentation)
- [Other commands](#other-commands) - [Other commands](#other-commands)
- [Recommended Editors/IDEs](#recommended-editorsides) - [Recommended Editors/IDEs](#recommended-editorsides)
@@ -59,72 +84,153 @@ Table of Contents
Introduction to the technology Introduction to the technology
------------------------------ ------------------------------
You can find more information on the technologies used in this project (Angular.io, Typescript, Angular Universal, RxJS, etc) on the [LYRASIS wiki](https://wiki.lyrasis.org/display/DSPACE/DSpace+7+UI+Technology+Stack) You can find more information on the technologies used in this project (Angular.io, Angular CLI, Typescript, Angular Universal, RxJS, etc) on the [LYRASIS wiki](https://wiki.lyrasis.org/display/DSPACE/DSpace+7+UI+Technology+Stack)
Requirements Requirements
------------ ------------
- [Node.js](https://nodejs.org), [npm](https://www.npmjs.com/), and [yarn](https://yarnpkg.com) - [Node.js](https://nodejs.org) and [yarn](https://yarnpkg.com)
- Ensure you're running node `v10.x` or `v12.x`, npm >= `v5.x` and yarn >= `v1.x` - Ensure you're running node `v16.x` or `v18.x` and yarn == `v1.x`
If you have [`nvm`](https://github.com/creationix/nvm#install-script) or [`nvm-windows`](https://github.com/coreybutler/nvm-windows) installed, which is highly recommended, you can run `nvm install --lts && nvm use` to install and start using the latest Node LTS. If you have [`nvm`](https://github.com/creationix/nvm#install-script) or [`nvm-windows`](https://github.com/coreybutler/nvm-windows) installed, which is highly recommended, you can run `nvm install --lts && nvm use` to install and start using the latest Node LTS.
Installing Installing
---------- ----------
- `yarn run global` to install the required global dependencies
- `yarn install` to install the local dependencies - `yarn install` to install the local dependencies
### Configuring ### Configuring
Default configuration file is located in `config/` folder. Default runtime configuration file is located in `config/` folder. These configurations can be changed without rebuilding the distribution.
To change the default configuration values, create local files that override the parameters you need to change: To override the default configuration values, create local files that override the parameters you need to change. You can use `config.example.yml` as a starting point.
- Create a new `environment.dev.js` file in `config/` for `devel` environment; - Create a new `config.(dev or development).yml` file in `config/` for a `development` environment;
- Create a new `environment.prod.js` file in `config/` for `production` environment; - Create a new `config.(prod or production).yml` file in `config/` for a `production` environment;
To use the configuration parameters in your component: The settings can also be overwritten using an environment file or environment variables.
This file should be called `.env` and be placed in the project root.
The following non-convention settings:
```bash ```bash
import { GLOBAL_CONFIG, GlobalConfig } from '../config'; DSPACE_HOST # The host name of the angular application
DSPACE_PORT # The port number of the angular application
DSPACE_NAMESPACE # The namespace of the angular application
DSPACE_SSL # Whether the angular application uses SSL [true/false]
```
constructor(@Inject(GLOBAL_CONFIG) public config: GlobalConfig) {} All other settings can be set using the following convention for naming the environment variables:
1. replace all `.` with `_`
2. convert all characters to upper case
3. prefix with `DSPACE_`
e.g.
```bash
# The host name of the REST application
rest.host => DSPACE_REST_HOST
# The port number of the REST application
rest.port => DSPACE_REST_PORT
# The namespace of the REST application
rest.nameSpace => DSPACE_REST_NAMESPACE
# Whether the angular REST uses SSL [true/false]
rest.ssl => DSPACE_REST_SSL
cache.msToLive.default => DSPACE_CACHE_MSTOLIVE_DEFAULT
auth.ui.timeUntilIdle => DSPACE_AUTH_UI_TIMEUNTILIDLE
```
The equavelant to the non-conventional legacy settings:
```bash
DSPACE_UI_HOST => DSPACE_HOST
DSPACE_UI_PORT => DSPACE_PORT
DSPACE_UI_NAMESPACE => DSPACE_NAMESPACE
DSPACE_UI_SSL => DSPACE_SSL
```
The same settings can also be overwritten by setting system environment variables instead, E.g.:
```bash
export DSPACE_HOST=api7.dspace.org
export DSPACE_UI_PORT=4200
```
The priority works as follows: **environment variable** overrides **variable in `.env` file** overrides external config set by `DSPACE_APP_CONFIG_PATH` overrides **`config.(prod or dev).yml`**
These configuration sources are collected **at run time**, and written to `dist/browser/assets/config.json` for production and `src/app/assets/config.json` for development.
The configuration file can be externalized by using environment variable `DSPACE_APP_CONFIG_PATH`.
#### Buildtime Configuring
Buildtime configuration must defined before build in order to include in transpiled JavaScript. This is primarily for the server. These settings can be found under `src/environment/` folder.
To override the default configuration values for development, create local file that override the build time parameters you need to change.
- Create a new `environment.(dev or development).ts` file in `src/environment/` for a `development` environment;
If needing to update default configurations values for production, update local file that override the build time parameters you need to change.
- Update `environment.production.ts` file in `src/environment/` for a `production` environment;
The environment object is provided for use as import in code and is extended with the runtime configuration on bootstrap of the application.
> Take caution moving runtime configs into the buildtime configuration. They will be overwritten by what is defined in the runtime config on bootstrap.
#### Using environment variables in code
To use environment variables in a UI component, use:
```typescript
import { AppConfig, APP_CONFIG } from 'src/config/app-config.interface';
...
constructor(@Inject(APP_CONFIG) private appConfig: AppConfig) {}
...
```
or
```typescript
import { environment } from '../environment.ts';
``` ```
Running the app Running the app
--------------- ---------------
After you have installed all dependencies you can now run the app. Run `yarn run watch` to start a local server which will watch for changes, rebuild the code, and reload the server for you. You can visit it at `http://localhost:3000`. After you have installed all dependencies you can now run the app. Run `yarn run start:dev` to start a local server which will watch for changes, rebuild the code, and reload the server for you. You can visit it at `http://localhost:4000`.
### Running in production mode ### Running in production mode
When building for production we're using Ahead of Time (AoT) compilation. With AoT, the browser downloads a pre-compiled version of the application, so it can render the application immediately, without waiting to compile the app first. The compiler is roughly half the size of Angular itself, so omitting it dramatically reduces the application payload. When building for production we're using Ahead of Time (AoT) compilation. With AoT, the browser downloads a pre-compiled version of the application, so it can render the application immediately, without waiting to compile the app first. The compiler is roughly half the size of Angular itself, so omitting it dramatically reduces the application payload.
To build the app for production and start the server run: To build the app for production and start the server (in one command) run:
```bash ```bash
yarn start yarn start
``` ```
This will run the application in an instance of the Express server, which is included.
If you only want to build for production, without starting, run: If you only want to build for production, without starting, run:
```bash ```bash
yarn run build:prod yarn run build:prod
``` ```
This will build the application and put the result in the `dist` folder. You can copy this folder to wherever you need it for your application server. If you will be using the built-in Express server, you'll also need a copy of the `node_modules` folder tucked inside your copy of `dist`.
This will build the application and put the result in the `dist` folder After building the app for production, it can be started by running:
### Deploy
```bash ```bash
# deploy production in standalone pm2 container yarn run serve:ssr
yarn run deploy
# remove production from standalone pm2 container
yarn run undeploy
``` ```
### Running the application with Docker ### Running the application with Docker
NOTE: At this time, we do not have production-ready Docker images for DSpace.
That said, we do have quick-start Docker Compose scripts for development or testing purposes.
See [Docker Runtime Options](docker/README.md) See [Docker Runtime Options](docker/README.md)
@@ -155,52 +261,101 @@ If you would like to contribute by testing a Pull Request (PR), here's how to do
* Click it, and follow "Step 1" of those instructions to checkout the pull down the PR branch. * Click it, and follow "Step 1" of those instructions to checkout the pull down the PR branch.
2. `yarn run clean` (This resets your local dependencies to ensure you are up-to-date with this PR) 2. `yarn run clean` (This resets your local dependencies to ensure you are up-to-date with this PR)
3. `yarn install` (Updates your local dependencies to those in the PR) 3. `yarn install` (Updates your local dependencies to those in the PR)
4. `yarn start` (Rebuilds the project, and deploys to localhost:3000, by default) 4. `yarn start` (Rebuilds the project, and deploys to localhost:4000, by default)
5. At this point, the code from the PR will be deployed to http://localhost:3000. Test it out, and ensure that it does what is described in the PR (or fixes the bug described in the ticket linked to the PR). 5. At this point, the code from the PR will be deployed to http://localhost:4000. Test it out, and ensure that it does what is described in the PR (or fixes the bug described in the ticket linked to the PR).
Once you have tested the Pull Request, please add a comment and/or approval to the PR to let us know whether you found it to be successful (or not). Thanks! Once you have tested the Pull Request, please add a comment and/or approval to the PR to let us know whether you found it to be successful (or not). Thanks!
### Unit Tests ### Unit Tests
Unit tests use Karma. You can find the configuration file at the same level of this README file:`./karma.conf.js` If you are going to use a remote test enviroment you need to edit the `./karma.conf.js`. Follow the instructions you will find inside it. To executing tests whenever any file changes you can modify the 'autoWatch' option to 'true' and 'singleRun' option to 'false'. A coverage report is also available at: http://localhost:9876/ after you run: `yarn run coverage`. Unit tests use the [Jasmine test framework](https://jasmine.github.io/), and are run via [Karma](https://karma-runner.github.io/).
To correctly run the tests you need to run the build once with: `yarn run build`. You can find the Karma configuration file at the same level of this README file:`./karma.conf.js` If you are going to use a remote test environment you need to edit the `./karma.conf.js`. Follow the instructions you will find inside it. To executing tests whenever any file changes you can modify the 'autoWatch' option to 'true' and 'singleRun' option to 'false'. A coverage report is also available at: http://localhost:9876/ after you run: `yarn run coverage`.
The default browser is Google Chrome. The default browser is Google Chrome.
Place your tests in the same location of the application source code files that they test. Place your tests in the same location of the application source code files that they test, e.g. ending with `*.component.spec.ts`
and run: `yarn run test` and run: `yarn test`
### E2E test If you run into odd test errors, see the Angular guide to debugging tests: https://angular.io/guide/test-debugging
E2E tests use Protractor + Selenium server + browsers. You can find the configuration file at the same level of this README file:`./protractor.conf.js` Protractor is installed as 'local' as a dev dependency. ### E2E Tests
If you are going to use a remote test enviroment you need to edit the './protractor.conf.js'. Follow the instructions you will find inside it. E2E tests (aka integration tests) use [Cypress.io](https://www.cypress.io/). Configuration for cypress can be found in the `cypress.json` file in the root directory.
The default browser is Google Chrome. The test files can be found in the `./cypress/integration/` folder.
Protractor needs a functional instance of the DSpace interface to run the E2E tests, so you need to run:`yarn run watch` Before you can run e2e tests, two things are REQUIRED:
1. You MUST be running the DSpace backend (i.e. REST API) locally. The e2e tests will *NOT* succeed if run against our demo REST API (https://api7.dspace.org/server/), as that server is uncontrolled and may have content added/removed at any time.
* After starting up your backend on localhost, make sure either your `config.prod.yml` or `config.dev.yml` has its `rest` settings defined to use that localhost backend.
* If you'd prefer, you may instead use environment variables as described at [Configuring](#configuring). For example:
```
DSPACE_REST_SSL = false
DSPACE_REST_HOST = localhost
DSPACE_REST_PORT = 8080
```
2. Your backend MUST include our [Entities Test Data set](https://github.com/DSpace-Labs/AIP-Files/releases/tag/demo-entities-data). Some tests run against a specific Community/Collection/Item UUID. These UUIDs are all valid for our Entities Test Data set.
* (Recommended) The Entities Test Data set may be installed easily via Docker, see https://github.com/DSpace/DSpace/tree/main/dspace/src/main/docker-compose#ingest-option-2-ingest-entities-test-data
* Alternatively, the Entities Test Data set may be installed via a simple SQL import (e. g. `psql -U dspace < dspace7-entities-data.sql`). See instructions in link above.
or any command that bring up the DSpace interface. After performing the above setup, you can run the e2e tests using
```
ng e2e
````
NOTE: By default these tests will run against the REST API backend configured via environment variables or in `config.prod.yml`. If you'd rather it use `config.dev.yml`, just set the NODE_ENV environment variable like this:
```
NODE_ENV=development ng e2e
```
Place your tests at the following path: `./e2e` The `ng e2e` command will start Cypress and allow you to select the browser you wish to use, as well as whether you wish to run all tests or an individual test file. Once you click run on test(s), this opens the [Cypress Test Runner](https://docs.cypress.io/guides/core-concepts/test-runner) to run your test(s) and show you the results.
and run: `yarn run e2e` #### Writing E2E Tests
### Continuous Integration (CI) Test All E2E tests must be created under the `./cypress/integration/` folder, and must end in `.spec.ts`. Subfolders are allowed.
To run all the tests (e.g.: to run tests with Continuous Integration software) you can execute:`yarn run ci` Keep in mind that this command prerequisites are the sum of unit test and E2E tests. * The easiest way to start creating new tests is by running `ng e2e`. This builds the app and brings up Cypress.
* From here, if you are editing an existing test file, you can either open it in your IDE or run it first to see what it already does.
* To create a new test file, click `+ New Spec File`. Choose a meaningful name ending in `spec.ts` (Please make sure it ends in `.ts` so that it's a Typescript file, and not plain Javascript)
* Start small. Add a basic `describe` and `it` which just [cy.visit](https://docs.cypress.io/api/commands/visit) the page you want to test. For example:
```
describe('Community/Collection Browse Page', () => {
it('should exist as a page', () => {
cy.visit('/community-list');
});
});
```
* Run your test file from the Cypress window. This starts the [Cypress Test Runner](https://docs.cypress.io/guides/core-concepts/test-runner) in a new browser window.
* In the [Cypress Test Runner](https://docs.cypress.io/guides/core-concepts/test-runner), you'll Cypress automatically visit the page. This first test will succeed, as all you are doing is making sure the _page exists_.
* From here, you can use the [Selector Playground](https://docs.cypress.io/guides/core-concepts/test-runner#Selector-Playground) in the Cypress Test Runner window to determine how to tell Cypress to interact with a specific HTML element on that page.
* Most commands start by telling Cypress to [get()](https://docs.cypress.io/api/commands/get) a specific element, using a CSS or jQuery style selector
* It's generally best not to rely on attributes like `class` and `id` in tests, as those are likely to change later on. Instead, you can add a `data-test` attribute to makes it clear that it's required for a test.
* Cypress can then do actions like [click()](https://docs.cypress.io/api/commands/click) an element, or [type()](https://docs.cypress.io/api/commands/type) text in an input field, etc.
* When running with server-side rendering enabled, the client first receives HTML without the JS; only once the page is rendered client-side do some elements (e.g. a button that toggles a Bootstrap dropdown) become fully interactive. This can trip up Cypress in some cases as it may try to `click` or `type` in an element that's not fully loaded yet, causing tests to fail.
* To work around this issue, define the attributes you use for Cypress selectors as `[attr.data-test]="'button' | ngBrowserOnly"`. This will only show the attribute in CSR HTML, forcing Cypress to wait until CSR is complete before interacting with the element.
* Cypress can also validate that something occurs, using [should()](https://docs.cypress.io/api/commands/should) assertions.
* Any time you save your test file, the Cypress Test Runner will reload & rerun it. This allows you can see your results quickly as you write the tests & correct any broken tests rapidly.
* Cypress also has a great guide on [writing your first test](https://on.cypress.io/writing-first-test) with much more info. Keep in mind, while the examples in the Cypress docs often involve Javascript files (.js), the same examples will work in our Typescript (.ts) e2e tests.
_Hint: Creating e2e tests is easiest in an IDE (like Visual Studio), as it can help prompt/autocomplete your Cypress commands._
More Information: [docs.cypress.io](https://docs.cypress.io/) has great guides & documentation helping you learn more about writing/debugging e2e tests in Cypress.
### Learning how to build tests
See our [DSpace Code Testing Guide](https://wiki.lyrasis.org/display/DSPACE/Code+Testing+Guide) for more hints/tips.
Documentation Documentation
-------------- --------------
See [`./docs`](docs) for further documentation. Official DSpace documentation is available in the DSpace wiki at https://wiki.lyrasis.org/display/DSDOC7x/
Some UI specific configuration documentation is also found in the [`./docs`](docs) folder of this codebase.
### Building code documentation ### Building code documentation
To build the code documentation we use [TYPEDOC](http://typedoc.org). TYPEDOC is a documentation generator for TypeScript projects. It extracts informations from properly formatted comments that can be written within the code files. Follow the instructions [here](http://typedoc.org/guides/doccomments/) to know how to make those comments. To build the code documentation we use [TYPEDOC](http://typedoc.org). TYPEDOC is a documentation generator for TypeScript projects. It extracts information from properly formatted comments that can be written within the code files. Follow the instructions [here](http://typedoc.org/guides/doccomments/) to know how to make those comments.
Run:`yarn run docs` to produce the documentation that will be available in the 'doc' folder. Run:`yarn run docs` to produce the documentation that will be available in the 'doc' folder.
@@ -219,119 +374,100 @@ To get the most out of TypeScript, you'll need a TypeScript-aware editor. We've
- Free - Free
- [Visual Studio Code](https://code.visualstudio.com/) - [Visual Studio Code](https://code.visualstudio.com/)
- [Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome) - [Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome)
- [Atom](https://atom.io/)
- [TypeScript plugin](https://atom.io/packages/atom-typescript)
- Paid - Paid
- [Webstorm](https://www.jetbrains.com/webstorm/download/) or [IntelliJ IDEA Ultimate](https://www.jetbrains.com/idea/) - [Webstorm](https://www.jetbrains.com/webstorm/download/) or [IntelliJ IDEA Ultimate](https://www.jetbrains.com/idea/)
- [Sublime Text](http://www.sublimetext.com/3) - [Sublime Text](http://www.sublimetext.com/3)
- [Typescript-Sublime-Plugin](https://github.com/Microsoft/Typescript-Sublime-plugin#installation) - [Typescript-Sublime-Plugin](https://github.com/Microsoft/Typescript-Sublime-plugin#installation)
Collaborating Contributing
------------- -------------
See [the guide on the wiki](https://wiki.lyrasis.org/display/DSPACE/DSpace+7+-+Angular+UI+Development#DSpace7-AngularUIDevelopment-Howtocontribute) See [Contributing documentation](CONTRIBUTING.md)
File Structure File Structure
-------------- --------------
``` ```
dspace-angular dspace-angular
├── README.md * This document ├── config *
├── app.yaml * Application manifest file │ └── config.yml * Default app config
├── config * Folder for configuration files ├── cypress * Folder for Cypress (https://cypress.io/) / e2e tests
│   ├── environment.default.js * Default configuration files │ ├── downloads *
│   └── environment.test.js * Test configuration files │ ├── fixtures * Folder for e2e/integration test files
│ ├── integration * Folder for any fixtures needed by e2e tests
│ ├── plugins * Folder for Cypress plugins (if any)
│ ├── support * Folder for global e2e test actions/commands (run for all tests)
│ └── tsconfig.json * TypeScript configuration file for e2e tests
├── docker * See docker/README.md for details
│ ├── cli.assetstore.yml *
│ ├── cli.ingest.yml *
│ ├── cli.yml *
│ ├── db.entities.yml *
│ ├── docker-compose-ci.yml *
│ ├── docker-compose-rest.yml *
│ ├── docker-compose.yml *
│ └── README.md *
├── docs * Folder for documentation ├── docs * Folder for documentation
├── e2e * Folder for e2e test files │ └── Configuration.md * Configuration documentation
│   ├── app.e2e-spec.ts * ├── scripts *
│   ├── app.po.ts * │ ├── merge-i18n-files.ts *
│   ├── pagenotfound * │ ├── serve.ts *
│   │   ├── pagenotfound.e2e-spec.ts * │ ├── sync-i18n-files.ts *
│   │   └── pagenotfound.po.ts * │ ├── test-rest.ts *
│   └── tsconfig.json * TypeScript configuration file for e2e tests │ └── webpack.js *
├── src * The source of the application
│ ├── app * The source code of the application, subdivided by module/page.
│ ├── assets * Folder for static resources
│ │ ├── fonts * Folder for fonts
│ │ ├── i18n * Folder for i18n translations
│ │ └── images * Folder for images
│ ├── backend * Folder containing a mock of the REST API, hosted by the express server
│ ├── config *
│ ├── environments *
│ │ ├── environment.production.ts * Production configuration files
│ │ ├── environment.test.ts * Test configuration files
│ │ └── environment.ts * Default (development) configuration files
│ ├── mirador-viewer *
│ ├── modules *
│ ├── ngx-translate-loaders *
│ ├── styles * Folder containing global styles
│ ├── themes * Folder containing available themes
│ │ ├── custom * Template folder for creating a custom theme
│ │ └── dspace * Default 'dspace' theme
│ ├── index.csr.html * The index file for client side rendering fallback
│ ├── index.html * The index file
│ ├── main.browser.ts * The bootstrap file for the client
│ ├── main.server.ts * The express (http://expressjs.com/) config and bootstrap file for the server
│ ├── polyfills.ts *
│ ├── robots.txt * The robots.txt file
│ ├── test.ts *
│ └── typings.d.ts *
├── webpack *
│ ├── helpers.ts * Webpack helpers
│ ├── webpack.browser.ts * Webpack (https://webpack.github.io/) config for browser build
│ ├── webpack.common.ts * Webpack (https://webpack.github.io/) common build config
│ ├── webpack.mirador.config.ts * Webpack (https://webpack.github.io/) config for mirador config build
│ ├── webpack.prod.ts * Webpack (https://webpack.github.io/) config for prod build
│ └── webpack.test.ts * Webpack (https://webpack.github.io/) config for test build
├── angular.json * Angular CLI (https://angular.io/cli) configuration
├── cypress.json * Cypress Test (https://www.cypress.io/) configuration
├── Dockerfile *
├── karma.conf.js * Karma configuration file for Unit Test ├── karma.conf.js * Karma configuration file for Unit Test
├── LICENSE *
├── LICENSES_THIRD_PARTY *
├── nodemon.json * Nodemon (https://nodemon.io/) configuration ├── nodemon.json * Nodemon (https://nodemon.io/) configuration
├── package.json * This file describes the npm package for this project, its dependencies, scripts, etc. ├── package.json * This file describes the npm package for this project, its dependencies, scripts, etc.
├── postcss.config.js * PostCSS (http://postcss.org/) configuration file ├── postcss.config.js * PostCSS (http://postcss.org/) configuration
├── protractor.conf.js * ├── README.md * This document
├── resources * Folder for static resources ├── SECURITY.md *
│   ├── data * Folder for static data ├── server.ts * Angular Universal Node.js Express server
│   │   └── en * Folder for i18n English data ├── tsconfig.app.json * TypeScript config for browser (app)
│   ├── i18n * Folder for i18n translations ├── tsconfig.json * TypeScript common config
│   │   └── en.json * i18n translations for English ├── tsconfig.server.json * TypeScript config for server
│   └── images * Folder for images ├── tsconfig.spec.json * TypeScript config for tests
│   ├── dspace-logo-old.png * ├── tsconfig.ts-node.json * TypeScript config for using ts-node directly
│   ├── dspace-logo.png *
│   └── favicon.ico *
├── rollup.config.js * Rollup (http://rollupjs.org/) configuration
├── spec-bundle.js *
├── src * The source of the application
│   ├── app *
│   │   ├── app-routing.module.ts *
│   │   ├── app.component.html *
│   │   ├── app.component.scss *
│   │   ├── app.component.spec.ts *
│   │   ├── app.component.ts *
│   │   ├── app.effects.ts *
│   │   ├── app.module.ts *
│   │   ├── app.reducer.ts *
│   │   ├── browser-app.module.ts * The root module for the client
│   │   ├── +collection-page * Lazily loaded route for collection module
│   │   ├── +community-page * Lazily loaded route for community module
│   │   ├── core *
│   │   ├── header *
│   │   ├── +home * Lazily loaded route for home module
│   │   ├── +item-page * Lazily loaded route for item module
│   │   ├── object-list *
│   │   ├── pagenotfound *
│   │   ├── server-app.module.ts * The root module for the server
│   │   ├── shared *
│   │   ├── store.actions.ts *
│   │   ├── store.effects.ts *
│   │   ├── thumbnail *
│   │   └── typings.d.ts * File that allows you to add custom typings for libraries without TypeScript support
│   ├── backend * Folder containing a mock of the REST API, hosted by the express server
│   │   ├── api.ts *
│   │   ├── cache.ts *
│   │   ├── data *
│   │   └── db.ts *
│   ├── config *
│   │   ├── cache-config.interface.ts *
│   │   ├── config.interface.ts *
│   │   ├── global-config.interface.ts *
│   │   ├── server-config.interface.ts *
│   │   └── universal-config.interface.ts *
│   ├── config.ts * File that loads environmental and shareable settings and makes them available to app components
│   ├── index.csr.html * The index file for client side rendering fallback
│   ├── index.html * The index file
│   ├── main.browser.ts * The bootstrap file for the client
│   ├── main.server.ts * The express (http://expressjs.com/) config and bootstrap file for the server
│   ├── modules *
│   │   ├── cookies *
│   │   ├── data-loader *
│   │   ├── transfer-http *
│   │   ├── transfer-state *
│   │   ├── transfer-store *
│   │   └── translate-universal-loader.ts *
│   ├── routes.ts * The routes file for the server
│   ├── styles * Folder containing global styles
│   │   ├── _mixins.scss *
│   │   └── variables.scss * Global sass variables file
│   ├── tsconfig.browser.json * TypeScript config for the client build
│   ├── tsconfig.server.json * TypeScript config for the server build
│   └── tsconfig.test.json * TypeScript config for the test build
├── tsconfig.json * TypeScript config
├── tslint.json * TSLint (https://palantir.github.io/tslint/) configuration ├── tslint.json * TSLint (https://palantir.github.io/tslint/) configuration
├── typedoc.json * TYPEDOC configuration ├── typedoc.json * TYPEDOC configuration
├── webpack * Webpack (https://webpack.github.io/) config directory
│   ├── helpers.js *
│   ├── webpack.aot.js * Webpack (https://webpack.github.io/) config for AoT build
│   ├── webpack.client.js * Webpack (https://webpack.github.io/) config for client build
│   ├── webpack.common.js *
│   ├── webpack.prod.js * Webpack (https://webpack.github.io/) config for production build
│   ├── webpack.server.js * Webpack (https://webpack.github.io/) config for server build
│   └── webpack.test.js * Webpack (https://webpack.github.io/) config for test build
├── webpack.config.ts *
└── yarn.lock * Yarn lockfile (https://yarnpkg.com/en/docs/yarn-lock) └── yarn.lock * Yarn lockfile (https://yarnpkg.com/en/docs/yarn-lock)
``` ```
@@ -388,9 +524,9 @@ Frequently asked questions
- Where do I write my tests? - Where do I write my tests?
- You can write your tests next to your component files. e.g. for `src/app/home/home.component.ts` call it `src/app/home/home.component.spec.ts` - You can write your tests next to your component files. e.g. for `src/app/home/home.component.ts` call it `src/app/home/home.component.spec.ts`
- How do I start the app when I get `EACCES` and `EADDRINUSE` errors? - How do I start the app when I get `EACCES` and `EADDRINUSE` errors?
- The `EADDRINUSE` error means the port `3000` is currently being used and `EACCES` is lack of permission to build files to `./dist/` - The `EADDRINUSE` error means the port `4000` is currently being used and `EACCES` is lack of permission to build files to `./dist/`
- What are the naming conventions for Angular 2? - What are the naming conventions for Angular?
- See [the official angular 2 style guide](https://angular.io/styleguide) - See [the official angular style guide](https://angular.io/styleguide)
- Why is the size of my app larger in development? - Why is the size of my app larger in development?
- The production build uses a whole host of techniques (ahead-of-time compilation, rollup to remove unreachable code, minification, etc.) to reduce the size, that aren't used during development in the intrest of build speed. - The production build uses a whole host of techniques (ahead-of-time compilation, rollup to remove unreachable code, minification, etc.) to reduce the size, that aren't used during development in the intrest of build speed.
- node-pre-gyp ERR in yarn install (Windows) - node-pre-gyp ERR in yarn install (Windows)
@@ -401,6 +537,36 @@ Frequently asked questions
- then run `git add yarn.lock` to stage the lockfile for commit - then run `git add yarn.lock` to stage the lockfile for commit
- and `git commit` to conclude the merge - and `git commit` to conclude the merge
Getting Help
------------
DSpace provides public mailing lists where you can post questions or raise topics for discussion.
We welcome everyone to participate in these lists:
* [dspace-community@googlegroups.com](https://groups.google.com/d/forum/dspace-community) : General discussion about DSpace platform, announcements, sharing of best practices
* [dspace-tech@googlegroups.com](https://groups.google.com/d/forum/dspace-tech) : Technical support mailing list. See also our guide for [How to troubleshoot an error](https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error).
* [dspace-devel@googlegroups.com](https://groups.google.com/d/forum/dspace-devel) : Developers / Development mailing list
Great Q&A is also available under the [DSpace tag on Stackoverflow](http://stackoverflow.com/questions/tagged/dspace)
Additional support options are at https://wiki.lyrasis.org/display/DSPACE/Support
DSpace also has an active service provider network. If you'd rather hire a service provider to
install, upgrade, customize or host DSpace, then we recommend getting in touch with one of our
[Registered Service Providers](http://www.dspace.org/service-providers).
Issue Tracker
-------------
DSpace uses GitHub to track issues:
* Backend (REST API) issues: https://github.com/DSpace/DSpace/issues
* Frontend (User Interface) issues: https://github.com/DSpace/dspace-angular/issues
License License
------- -------
This project's source code is made available under the DSpace BSD License: http://www.dspace.org/license DSpace source code is freely available under a standard [BSD 3-Clause license](https://opensource.org/licenses/BSD-3-Clause).
The full license is available in the [LICENSE](LICENSE) file or online at http://www.dspace.org/license/
DSpace uses third-party libraries which may be distributed under different licenses. Those licenses are listed
in the [LICENSES_THIRD_PARTY](LICENSES_THIRD_PARTY) file.

15
SECURITY.md Normal file
View File

@@ -0,0 +1,15 @@
# Security Policy
## Supported Versions
For information regarding which versions of DSpace are currently under support, please see our DSpace Software Support Policy:
https://wiki.lyrasis.org/display/DSPACE/DSpace+Software+Support+Policy
## Reporting a Vulnerability
If you believe you have found a security vulnerability in a supported version of DSpace, we encourage you to let us know right away.
We will investigate all legitimate reports and do our best to quickly fix the problem. Please see our DSpace Software Support Policy
for information on privately reporting vulnerabilities:
https://wiki.lyrasis.org/display/DSPACE/DSpace+Software+Support+Policy

View File

@@ -1,13 +1,281 @@
{ {
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1, "version": 1,
"cli": { "newProjectRoot": "projects",
"defaultCollection": "@ngrx/schematics"
},
"projects": { "projects": {
"core": { "dspace-angular": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"root": "", "root": "",
"projectType": "application" "sourceRoot": "src",
"prefix": "ds",
"architect": {
"build": {
"builder": "@angular-builders/custom-webpack:browser",
"options": {
"preserveSymlinks": true,
"customWebpackConfig": {
"path": "./webpack/webpack.browser.ts",
"mergeStrategies": {
"loaders": "prepend"
}
},
"allowedCommonJsDependencies": [
"cerialize",
"core-js",
"lodash",
"jwt-decode",
"uuid",
"webfontloader",
"zone.js"
],
"outputPath": "dist/browser",
"index": "src/index.html",
"main": "src/main.browser.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"src/assets",
"src/robots.txt"
],
"styles": [
"src/styles/startup.scss",
{
"input": "src/styles/base-theme.scss",
"inject": false,
"bundleName": "base-theme"
},
{
"input": "src/themes/custom/styles/theme.scss",
"inject": false,
"bundleName": "custom-theme"
},
{
"input": "src/themes/dspace/styles/theme.scss",
"inject": false,
"bundleName": "dspace-theme"
}
],
"scripts": [],
"baseHref": "/"
},
"configurations": {
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
},
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.production.ts"
},
{
"replace": "src/config/store/devtools.ts",
"with": "src/config/store/devtools.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "3mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "200kb",
"maximumError": "300kb"
}
]
}
}
},
"serve": {
"builder": "@angular-builders/custom-webpack:dev-server",
"options": {
"browserTarget": "dspace-angular:build",
"port": 4000
},
"configurations": {
"development": {
"browserTarget": "dspace-angular:build:development"
},
"production": {
"browserTarget": "dspace-angular:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "dspace-angular:build"
}
},
"test": {
"builder": "@angular-builders/custom-webpack:karma",
"options": {
"customWebpackConfig": {
"path": "./webpack/webpack.test.ts",
"mergeStrategies": {
"loaders": "prepend"
}
},
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"sourceMap": {
"scripts": false,
"styles": false,
"hidden": false,
"vendor": false
},
"assets": [
"src/assets"
],
"styles": [
{
"input": "src/styles/base-theme.scss",
"inject": false,
"bundleName": "base-theme"
}
],
"scripts": []
},
"configurations": {
"test": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.test.ts"
}
]
}
}
},
"e2e": {
"builder": "@cypress/schematic:cypress",
"options": {
"devServerTarget": "dspace-angular:serve",
"watch": true,
"headless": false
},
"configurations": {
"production": {
"devServerTarget": "dspace-angular:serve:production"
}
}
},
"server": {
"builder": "@angular-builders/custom-webpack:server",
"options": {
"customWebpackConfig": {
"path": "./webpack/webpack.prod.ts",
"mergeStrategies": {
"loaders": "prepend"
}
},
"outputPath": "dist/server",
"main": "server.ts",
"tsConfig": "tsconfig.server.json"
},
"configurations": {
"development": {
"sourceMap": true,
"optimization": false
},
"production": {
"sourceMap": false,
"optimization": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.production.ts"
},
{
"replace": "src/config/store/devtools.ts",
"with": "src/config/store/devtools.prod.ts"
}
]
}
}
},
"serve-ssr": {
"builder": "@nguniversal/builders:ssr-dev-server",
"options": {
"browserTarget": "dspace-angular:build",
"serverTarget": "dspace-angular:server",
"port": 4000
},
"configurations": {
"production": {
"browserTarget": "dspace-angular:build:production",
"serverTarget": "dspace-angular:server:production"
}
}
},
"prerender": {
"builder": "@nguniversal/builders:prerender",
"options": {
"browserTarget": "dspace-angular:build:production",
"serverTarget": "dspace-angular:server:production",
"routes": [
"/"
]
},
"configurations": {
"production": {}
}
},
"cypress-run": {
"builder": "@cypress/schematic:cypress",
"options": {
"devServerTarget": "dspace-angular:serve"
},
"configurations": {
"production": {
"devServerTarget": "dspace-angular:serve:production"
}
}
},
"cypress-open": {
"builder": "@cypress/schematic:cypress",
"options": {
"watch": true,
"headless": false
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
}
}
} }
},
"defaultProject": "dspace-angular",
"cli": {
"analytics": false,
"defaultCollection": "@angular-eslint/schematics"
} }
} }

View File

@@ -1,17 +0,0 @@
# Copyright 2015-2016, Google, Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# [START app_yaml]
runtime: nodejs
env: flex
# [END app_yaml]

2
config/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
config.*.yml
!config.example.yml

371
config/config.example.yml Normal file
View File

@@ -0,0 +1,371 @@
# NOTE: will log all redux actions and transfers in console
debug: false
# Angular Universal server settings
# NOTE: these settings define where Node.js will start your UI application. Therefore, these
# "ui" settings usually specify a localhost port/URL which is later proxied to a public URL (using Apache or similar)
ui:
ssl: false
host: localhost
port: 4000
# NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
nameSpace: /
# The rateLimiter settings limit each IP to a 'max' of 500 requests per 'windowMs' (1 minute).
rateLimiter:
windowMs: 60000 # 1 minute
max: 500 # limit each IP to 500 requests per windowMs
# Trust X-FORWARDED-* headers from proxies (default = true)
useProxies: true
# The REST API server settings
# NOTE: these settings define which (publicly available) REST API to use. They are usually
# 'synced' with the 'dspace.server.url' setting in your backend's local.cfg.
rest:
ssl: true
host: api7.dspace.org
port: 443
# NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
nameSpace: /server
# Caching settings
cache:
# NOTE: how long should objects be cached for by default
msToLive:
default: 900000 # 15 minutes
# Default 'Cache-Control' HTTP Header to set for all static content (including compiled *.js files)
# Defaults to max-age=604,800 seconds (one week). This lets a user's browser know that it can cache these
# files for one week, after which they will be "stale" and need to be redownloaded.
# NOTE: When updates are made to compiled *.js files, it will automatically bypass this browser cache, because
# all compiled *.js files include a unique hash in their name which updates when content is modified.
control: max-age=604800 # revalidate browser
autoSync:
defaultTime: 0
maxBufferSize: 100
timePerMethod:
PATCH: 3 # time in seconds
# In-memory cache(s) of server-side rendered pages. These caches will store the most recently accessed public pages.
# Pages are automatically added/dropped from these caches based on how recently they have been used.
# Restarting the app clears all page caches.
# NOTE: To control the cache size, use the "max" setting. Keep in mind, individual cached pages are usually small (<100KB).
# Enabling *both* caches will mean that a page may be cached twice, once in each cache (but may expire at different times via timeToLive).
serverSide:
# Set to true to see all cache hits/misses/refreshes in your console logs. Useful for debugging SSR caching issues.
debug: false
# When enabled (i.e. max > 0), known bots will be sent pages from a server side cache specific for bots.
# (Keep in mind, bot detection cannot be guarranteed. It is possible some bots will bypass this cache.)
botCache:
# Maximum number of pages to cache for known bots. Set to zero (0) to disable server side caching for bots.
# Default is 1000, which means the 1000 most recently accessed public pages will be cached.
# As all pages are cached in server memory, increasing this value will increase memory needs.
# Individual cached pages are usually small (<100KB), so max=1000 should only require ~100MB of memory.
max: 1000
# Amount of time after which cached pages are considered stale (in ms). After becoming stale, the cached
# copy is automatically refreshed on the next request.
# NOTE: For the bot cache, this setting may impact how quickly search engine bots will index new content on your site.
# For example, setting this to one week may mean that search engine bots may not find all new content for one week.
timeToLive: 86400000 # 1 day
# When set to true, after timeToLive expires, the next request will receive the *cached* page & then re-render the page
# behind the scenes to update the cache. This ensures users primarily interact with the cache, but may receive stale pages (older than timeToLive).
# When set to false, after timeToLive expires, the next request will wait on SSR to complete & receive a fresh page (which is then saved to cache).
# This ensures stale pages (older than timeToLive) are never returned from the cache, but some users will wait on SSR.
allowStale: true
# When enabled (i.e. max > 0), all anonymous users will be sent pages from a server side cache.
# This allows anonymous users to interact more quickly with the site, but also means they may see slightly
# outdated content (based on timeToLive)
anonymousCache:
# Maximum number of pages to cache. Default is zero (0) which means anonymous user cache is disabled.
# As all pages are cached in server memory, increasing this value will increase memory needs.
# Individual cached pages are usually small (<100KB), so a value of max=1000 would only require ~100MB of memory.
max: 0
# Amount of time after which cached pages are considered stale (in ms). After becoming stale, the cached
# copy is automatically refreshed on the next request.
# NOTE: For the anonymous cache, it is recommended to keep this value low to avoid anonymous users seeing outdated content.
timeToLive: 10000 # 10 seconds
# When set to true, after timeToLive expires, the next request will receive the *cached* page & then re-render the page
# behind the scenes to update the cache. This ensures users primarily interact with the cache, but may receive stale pages (older than timeToLive).
# When set to false, after timeToLive expires, the next request will wait on SSR to complete & receive a fresh page (which is then saved to cache).
# This ensures stale pages (older than timeToLive) are never returned from the cache, but some users will wait on SSR.
allowStale: true
# Authentication settings
auth:
# Authentication UI settings
ui:
# the amount of time before the idle warning is shown
timeUntilIdle: 900000 # 15 minutes
# the amount of time the user has to react after the idle warning is shown before they are logged out.
idleGracePeriod: 300000 # 5 minutes
# Authentication REST settings
rest:
# If the rest token expires in less than this amount of time, it will be refreshed automatically.
# This is independent from the idle warning.
timeLeftBeforeTokenRefresh: 120000 # 2 minutes
# Form settings
form:
# Sets the spellcheck textarea attribute value
spellCheck: true
# NOTE: Map server-side validators to comparative Angular form validators
validatorMap:
required: required
regex: pattern
# Notification settings
notifications:
rtl: false
position:
- top
- right
maxStack: 8
# NOTE: after how many seconds notification is closed automatically. If set to zero notifications are not closed automatically
timeOut: 5000 # 5 second
clickToClose: true
# NOTE: 'fade' | 'fromTop' | 'fromRight' | 'fromBottom' | 'fromLeft' | 'rotate' | 'scale'
animate: scale
# Submission settings
submission:
autosave:
# NOTE: which metadata trigger an autosave
metadata: []
# NOTE: after how many time (milliseconds) submission is saved automatically
# eg. timer: 5 * (1000 * 60); // 5 minutes
timer: 0
icons:
metadata:
# NOTE: example of configuration
# # NOTE: metadata name
# - name: dc.author
# # NOTE: fontawesome (v5.x) icon classes and bootstrap utility classes can be used
# style: fas fa-user
- name: dc.author
style: fas fa-user
# default configuration
- name: default
style: ''
authority:
confidence:
# NOTE: example of configuration
# # NOTE: confidence value
# - name: dc.author
# # NOTE: fontawesome (v5.x) icon classes and bootstrap utility classes can be used
# style: fa-user
- value: 600
style: text-success
- value: 500
style: text-info
- value: 400
style: text-warning
# default configuration
- value: default
style: text-muted
# Default Language in which the UI will be rendered if the user's browser language is not an active language
defaultLanguage: en
# Languages. DSpace Angular holds a message catalog for each of the following languages.
# When set to active, users will be able to switch to the use of this language in the user interface.
languages:
- code: en
label: English
active: true
- code: ca
label: Català
active: true
- code: cs
label: Čeština
active: true
- code: de
label: Deutsch
active: true
- code: es
label: Español
active: true
- code: fr
label: Français
active: true
- code: gd
label: Gàidhlig
active: true
- code: lv
label: Latviešu
active: true
- code: hu
label: Magyar
active: true
- code: nl
label: Nederlands
active: true
- code: pl
label: Polski
active: true
- code: pt-PT
label: Português
active: true
- code: pt-BR
label: Português do Brasil
active: true
- code: fi
label: Suomi
active: true
- code: sv
label: Svenska
active: true
- code: tr
label: Türkçe
active: true
- code: kk
label: Қазақ
active: true
- code: bn
label: বাংলা
active: true
- code: hi
label: हिंदी
active: true
- code: el
label: Ελληνικά
active: true
- code: uk
label: раї́нська
active: true
# Browse-By Pages
browseBy:
# Amount of years to display using jumps of one year (current year - oneYearLimit)
oneYearLimit: 10
# Limit for years to display using jumps of five years (current year - fiveYearLimit)
fiveYearLimit: 30
# The absolute lowest year to display in the dropdown (only used when no lowest date can be found for all items)
defaultLowerLimit: 1900
# If true, thumbnail images for items will be added to BOTH search and browse result lists.
showThumbnails: true
# The number of entries in a paginated browse results list.
# Rounded to the nearest size in the list of selectable sizes on the
# settings menu.
pageSize: 20
communityList:
# No. of communities to list per expansion (show more)
pageSize: 20
homePage:
recentSubmissions:
# The number of item showing in recent submission components
pageSize: 5
# Sort record of recent submission
sortField: 'dc.date.accessioned'
topLevelCommunityList:
# No. of communities to list per page on the home page
# This will always round to the nearest number from the list of page sizes. e.g. if you set it to 7 it'll use 10
pageSize: 5
# Item Config
item:
edit:
undoTimeout: 10000 # 10 seconds
# Show the item access status label in items lists
showAccessStatuses: false
bitstream:
# Number of entries in the bitstream list in the item view page.
# Rounded to the nearest size in the list of selectable sizes on the
# settings menu. See pageSizeOptions in 'pagination-component-options.model.ts'.
pageSize: 5
# Collection Page Config
collection:
edit:
undoTimeout: 10000 # 10 seconds
# Theme Config
themes:
# Add additional themes here. In the case where multiple themes match a route, the first one
# in this list will get priority. It is advisable to always have a theme that matches
# every route as the last one
#
# # A theme with a handle property will match the community, collection or item with the given
# # handle, and all collections and/or items within it
# - name: 'custom',
# handle: '10673/1233'
#
# # A theme with a regex property will match the route using a regular expression. If it
# # matches the route for a community or collection it will also apply to all collections
# # and/or items within it
# - name: 'custom',
# regex: 'collections\/e8043bc2.*'
#
# # A theme with a uuid property will match the community, collection or item with the given
# # ID, and all collections and/or items within it
# - name: 'custom',
# uuid: '0958c910-2037-42a9-81c7-dca80e3892b4'
#
# # The extends property specifies an ancestor theme (by name). Whenever a themed component is not found
# # in the current theme, its ancestor theme(s) will be checked recursively before falling back to default.
# - name: 'custom-A',
# extends: 'custom-B',
# # Any of the matching properties above can be used
# handle: '10673/34'
#
# - name: 'custom-B',
# extends: 'custom',
# handle: '10673/12'
#
# # A theme with only a name will match every route
# name: 'custom'
#
# # This theme will use the default bootstrap styling for DSpace components
# - name: BASE_THEME_NAME
#
- name: dspace
headTags:
- tagName: link
attributes:
rel: icon
href: assets/dspace/images/favicons/favicon.ico
sizes: any
- tagName: link
attributes:
rel: icon
href: assets/dspace/images/favicons/favicon.svg
type: image/svg+xml
- tagName: link
attributes:
rel: apple-touch-icon
href: assets/dspace/images/favicons/apple-touch-icon.png
- tagName: link
attributes:
rel: manifest
href: assets/dspace/images/favicons/manifest.webmanifest
# The default bundles that should always be displayed as suggestions when you upload a new bundle
bundle:
standardBundles: [ ORIGINAL, THUMBNAIL, LICENSE ]
# Whether to enable media viewer for image and/or video Bitstreams (i.e. Bitstreams whose MIME type starts with 'image' or 'video').
# For images, this enables a gallery viewer where you can zoom or page through images.
# For videos, this enables embedded video streaming
mediaViewer:
image: false
video: false
# Whether the end user agreement is required before users use the repository.
# If enabled, the user will be required to accept the agreement before they can use the repository.
# And whether the privacy statement should exist or not.
info:
enableEndUserAgreement: true
enablePrivacyStatement: true
# Whether to enable Markdown (https://commonmark.org/) and MathJax (https://www.mathjax.org/)
# display in supported metadata fields. By default, only dc.description.abstract is supported.
markdown:
enabled: false
mathjax: false
# Which vocabularies should be used for which search filters
# and whether to show the filter in the search sidebar
# Take a look at the filter-vocabulary-config.ts file for documentation on how the options are obtained
vocabularies:
- filter: 'subject'
vocabulary: 'srsc'
enabled: true

5
config/config.yml Normal file
View File

@@ -0,0 +1,5 @@
rest:
ssl: true
host: api7.dspace.org
port: 443
nameSpace: /server

View File

@@ -1,204 +0,0 @@
module.exports = {
// Angular Universal server settings.
ui: {
ssl: false,
host: 'localhost',
port: 3000,
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
nameSpace: '/'
},
// The REST API server settings.
rest: {
ssl: true,
host: 'dspace7.4science.cloud',
port: 443,
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
nameSpace: '/server/api'
},
// Caching settings
cache: {
// NOTE: how long should objects be cached for by default
msToLive: {
default: 15 * 60 * 1000, // 15 minutes
},
// msToLive: 1000, // 15 minutes
control: 'max-age=60', // revalidate browser
autoSync: {
defaultTime: 0,
maxBufferSize: 100,
timePerMethod: {'PATCH': 3} //time in seconds
}
},
// Form settings
form: {
// NOTE: Map server-side validators to comparative Angular form validators
validatorMap: {
required: 'required',
regex: 'pattern'
}
},
// Notifications
notifications: {
rtl: false,
position: ['top', 'right'],
maxStack: 8,
// NOTE: after how many seconds notification is closed automatically. If set to zero notifications are not closed automatically
timeOut: 5000, // 5 second
clickToClose: true,
// NOTE: 'fade' | 'fromTop' | 'fromRight' | 'fromBottom' | 'fromLeft' | 'rotate' | 'scale'
animate: 'scale'
},
// Submission settings
submission: {
autosave: {
// NOTE: which metadata trigger an autosave
metadata: ['dc.title', 'dc.identifier.doi', 'dc.identifier.pmid', 'dc.identifier.arxiv'],
// NOTE: every how many minutes submission is saved automatically
timer: 5
},
icons: {
metadata: [
/**
* NOTE: example of configuration
* {
* // NOTE: metadata name
* name: 'dc.author',
* // NOTE: fontawesome (v5.x) icon classes and bootstrap utility classes can be used
* style: 'fa-user'
* }
*/
{
name: 'dc.author',
style: 'fas fa-user'
},
// default configuration
{
name: 'default',
style: ''
}
],
authority: {
confidence: [
/**
* NOTE: example of configuration
* {
* // NOTE: confidence value
* value: 'dc.author',
* // NOTE: fontawesome (v4.x) icon classes and bootstrap utility classes can be used
* style: 'fa-user'
* }
*/
{
value: 600,
style: 'text-success'
},
{
value: 500,
style: 'text-info'
},
{
value: 400,
style: 'text-warning'
},
// default configuration
{
value: 'default',
style: 'text-muted'
},
]
}
}
},
// Angular Universal settings
universal: {
preboot: true,
async: true,
time: false
},
// Google Analytics tracking id
gaTrackingId: '',
// Log directory
logDirectory: '.',
// NOTE: will log all redux actions and transfers in console
debug: false,
// Default Language in which the UI will be rendered if the user's browser language is not an active language
defaultLanguage: 'en',
// Languages. DSpace Angular holds a message catalog for each of the following languages. When set to active, users will be able to switch to the use of this language in the user interface.
languages: [{
code: 'en',
label: 'English',
active: true,
}, {
code: 'de',
label: 'Deutsch',
active: true,
}, {
code: 'cs',
label: 'Čeština',
active: true,
}, {
code: 'nl',
label: 'Nederlands',
active: true,
}, {
code: 'pt',
label: 'Português',
active: true,
}, {
code: 'fr',
label: 'Français',
active: true,
}, {
code: 'lv',
label: 'Latviešu',
active: true,
}],
// Browse-By Pages
browseBy: {
// Amount of years to display using jumps of one year (current year - oneYearLimit)
oneYearLimit: 10,
// Limit for years to display using jumps of five years (current year - fiveYearLimit)
fiveYearLimit: 30,
// The absolute lowest year to display in the dropdown (only used when no lowest date can be found for all items)
defaultLowerLimit: 1900,
// List of all the active Browse-By types
// Adding a type will activate their Browse-By page and add them to the global navigation menu, as well as community and collection pages
// Allowed fields and their purpose:
// id: The browse id to use for fetching info from the rest api
// type: The type of Browse-By page to display
// metadataField: The metadata-field used to create starts-with options (only necessary when the type is set to 'date')
types: [
{
id: 'title',
type: 'title'
},
{
id: 'dateissued',
type: 'date',
metadataField: 'dc.date.issued'
},
{
id: 'author',
type: 'metadata'
},
{
id: 'subject',
type: 'metadata'
}
]
},
item: {
edit: {
undoTimeout: 10000 // 10 seconds
}
},
collection: {
edit: {
undoTimeout: 10000 // 10 seconds
}
},
theme: {
name: 'default',
}
};

View File

@@ -1,4 +0,0 @@
// This configuration is currently only being used for unit tests, end-to-end tests use environment.dev.ts
module.exports = {
};

25
cypress.json Normal file
View File

@@ -0,0 +1,25 @@
{
"integrationFolder": "cypress/integration",
"supportFile": "cypress/support/index.ts",
"videosFolder": "cypress/videos",
"screenshotsFolder": "cypress/screenshots",
"pluginsFile": "cypress/plugins/index.ts",
"fixturesFolder": "cypress/fixtures",
"baseUrl": "http://127.0.0.1:4000",
"retries": {
"runMode": 2,
"openMode": 0
},
"env": {
"DSPACE_TEST_ADMIN_USER": "dspacedemo+admin@gmail.com",
"DSPACE_TEST_ADMIN_PASSWORD": "dspace",
"DSPACE_TEST_COMMUNITY": "0958c910-2037-42a9-81c7-dca80e3892b4",
"DSPACE_TEST_COLLECTION": "282164f5-d325-4740-8dd1-fa4d6d3e7200",
"DSPACE_TEST_ENTITY_PUBLICATION": "e98b0f27-5c19-49a0-960d-eb6ad5287067",
"DSPACE_TEST_SEARCH_TERM": "test",
"DSPACE_TEST_SUBMIT_COLLECTION_NAME": "Sample Collection",
"DSPACE_TEST_SUBMIT_COLLECTION_UUID": "9d8334e9-25d3-4a67-9cea-3dffdef80144",
"DSPACE_TEST_SUBMIT_USER": "dspacedemo+submit@gmail.com",
"DSPACE_TEST_SUBMIT_USER_PASSWORD": "dspace"
}
}

3
cypress/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
screenshots/
videos/
downloads/

View File

@@ -0,0 +1,5 @@
{
"name": "Using fixtures to represent data",
"email": "hello@cypress.io",
"body": "Fixtures are a great way to mock data for responses to routes"
}

View File

@@ -0,0 +1,15 @@
import { TEST_ENTITY_PUBLICATION } from 'cypress/support';
import { testA11y } from 'cypress/support/utils';
describe('Breadcrumbs', () => {
it('should pass accessibility tests', () => {
// Visit an Item, as those have more breadcrumbs
cy.visit('/entities/publication/' + TEST_ENTITY_PUBLICATION);
// Wait for breadcrumbs to be visible
cy.get('ds-breadcrumbs').should('be.visible');
// Analyze <ds-breadcrumbs> for accessibility
testA11y('ds-breadcrumbs');
});
});

View File

@@ -0,0 +1,13 @@
import { testA11y } from 'cypress/support/utils';
describe('Browse By Author', () => {
it('should pass accessibility tests', () => {
cy.visit('/browse/author');
// Wait for <ds-browse-by-metadata-page> to be visible
cy.get('ds-browse-by-metadata-page').should('be.visible');
// Analyze <ds-browse-by-metadata-page> for accessibility
testA11y('ds-browse-by-metadata-page');
});
});

View File

@@ -0,0 +1,13 @@
import { testA11y } from 'cypress/support/utils';
describe('Browse By Date Issued', () => {
it('should pass accessibility tests', () => {
cy.visit('/browse/dateissued');
// Wait for <ds-browse-by-date-page> to be visible
cy.get('ds-browse-by-date-page').should('be.visible');
// Analyze <ds-browse-by-date-page> for accessibility
testA11y('ds-browse-by-date-page');
});
});

View File

@@ -0,0 +1,13 @@
import { testA11y } from 'cypress/support/utils';
describe('Browse By Subject', () => {
it('should pass accessibility tests', () => {
cy.visit('/browse/subject');
// Wait for <ds-browse-by-metadata-page> to be visible
cy.get('ds-browse-by-metadata-page').should('be.visible');
// Analyze <ds-browse-by-metadata-page> for accessibility
testA11y('ds-browse-by-metadata-page');
});
});

View File

@@ -0,0 +1,13 @@
import { testA11y } from 'cypress/support/utils';
describe('Browse By Title', () => {
it('should pass accessibility tests', () => {
cy.visit('/browse/title');
// Wait for <ds-browse-by-title-page> to be visible
cy.get('ds-browse-by-title-page').should('be.visible');
// Analyze <ds-browse-by-title-page> for accessibility
testA11y('ds-browse-by-title-page');
});
});

View File

@@ -0,0 +1,15 @@
import { TEST_COLLECTION } from 'cypress/support';
import { testA11y } from 'cypress/support/utils';
describe('Collection Page', () => {
it('should pass accessibility tests', () => {
cy.visit('/collections/' + TEST_COLLECTION);
// <ds-collection-page> tag must be loaded
cy.get('ds-collection-page').should('exist');
// Analyze <ds-collection-page> for accessibility issues
testA11y('ds-collection-page');
});
});

View File

@@ -0,0 +1,32 @@
import { TEST_COLLECTION } from 'cypress/support';
import { testA11y } from 'cypress/support/utils';
describe('Collection Statistics Page', () => {
const COLLECTIONSTATISTICSPAGE = '/statistics/collections/' + TEST_COLLECTION;
it('should load if you click on "Statistics" from a Collection page', () => {
cy.visit('/collections/' + TEST_COLLECTION);
cy.get('ds-navbar ds-link-menu-item a[title="Statistics"]').click();
cy.location('pathname').should('eq', COLLECTIONSTATISTICSPAGE);
});
it('should contain a "Total visits" section', () => {
cy.visit(COLLECTIONSTATISTICSPAGE);
cy.get('.' + TEST_COLLECTION + '_TotalVisits').should('exist');
});
it('should contain a "Total visits per month" section', () => {
cy.visit(COLLECTIONSTATISTICSPAGE);
cy.get('.' + TEST_COLLECTION + '_TotalVisitsPerMonth').should('exist');
});
it('should pass accessibility tests', () => {
cy.visit(COLLECTIONSTATISTICSPAGE);
// <ds-collection-statistics-page> tag must be loaded
cy.get('ds-collection-statistics-page').should('exist');
// Analyze <ds-collection-statistics-page> for accessibility issues
testA11y('ds-collection-statistics-page');
});
});

View File

@@ -0,0 +1,25 @@
import { Options } from 'cypress-axe';
import { testA11y } from 'cypress/support/utils';
describe('Community List Page', () => {
it('should pass accessibility tests', () => {
cy.visit('/community-list');
// <ds-community-list-page> tag must be loaded
cy.get('ds-community-list-page').should('exist');
// Open first Community (to show Collections)...that way we scan sub-elements as well
cy.get('ds-community-list :nth-child(1) > .btn-group > .btn').click();
// Analyze <ds-community-list-page> for accessibility issues
// Disable heading-order checks until it is fixed
testA11y('ds-community-list-page',
{
rules: {
'heading-order': { enabled: false }
}
} as Options
);
});
});

View File

@@ -0,0 +1,15 @@
import { TEST_COMMUNITY } from 'cypress/support';
import { testA11y } from 'cypress/support/utils';
describe('Community Page', () => {
it('should pass accessibility tests', () => {
cy.visit('/communities/' + TEST_COMMUNITY);
// <ds-community-page> tag must be loaded
cy.get('ds-community-page').should('exist');
// Analyze <ds-community-page> for accessibility issues
testA11y('ds-community-page',);
});
});

View File

@@ -0,0 +1,32 @@
import { TEST_COMMUNITY } from 'cypress/support';
import { testA11y } from 'cypress/support/utils';
describe('Community Statistics Page', () => {
const COMMUNITYSTATISTICSPAGE = '/statistics/communities/' + TEST_COMMUNITY;
it('should load if you click on "Statistics" from a Community page', () => {
cy.visit('/communities/' + TEST_COMMUNITY);
cy.get('ds-navbar ds-link-menu-item a[title="Statistics"]').click();
cy.location('pathname').should('eq', COMMUNITYSTATISTICSPAGE);
});
it('should contain a "Total visits" section', () => {
cy.visit(COMMUNITYSTATISTICSPAGE);
cy.get('.' + TEST_COMMUNITY + '_TotalVisits').should('exist');
});
it('should contain a "Total visits per month" section', () => {
cy.visit(COMMUNITYSTATISTICSPAGE);
cy.get('.' + TEST_COMMUNITY + '_TotalVisitsPerMonth').should('exist');
});
it('should pass accessibility tests', () => {
cy.visit(COMMUNITYSTATISTICSPAGE);
// <ds-community-statistics-page> tag must be loaded
cy.get('ds-community-statistics-page').should('exist');
// Analyze <ds-community-statistics-page> for accessibility issues
testA11y('ds-community-statistics-page');
});
});

View File

@@ -0,0 +1,13 @@
import { testA11y } from 'cypress/support/utils';
describe('Footer', () => {
it('should pass accessibility tests', () => {
cy.visit('/');
// Footer must first be visible
cy.get('ds-footer').should('be.visible');
// Analyze <ds-footer> for accessibility
testA11y('ds-footer');
});
});

View File

@@ -0,0 +1,19 @@
import { testA11y } from 'cypress/support/utils';
describe('Header', () => {
it('should pass accessibility tests', () => {
cy.visit('/');
// Header must first be visible
cy.get('ds-header').should('be.visible');
// Analyze <ds-header> for accessibility
testA11y({
include: ['ds-header'],
exclude: [
['#search-navbar-container'], // search in navbar has duplicative ID. Will be fixed in #1174
['.dropdownLogin'] // "Log in" link has color contrast issues. Will be fixed in #1149
],
});
});
});

View File

@@ -0,0 +1,19 @@
import { testA11y } from 'cypress/support/utils';
describe('Site Statistics Page', () => {
it('should load if you click on "Statistics" from homepage', () => {
cy.visit('/');
cy.get('ds-navbar ds-link-menu-item a[title="Statistics"]').click();
cy.location('pathname').should('eq', '/statistics');
});
it('should pass accessibility tests', () => {
cy.visit('/statistics');
// <ds-site-statistics-page> tag must be loaded
cy.get('ds-site-statistics-page').should('exist');
// Analyze <ds-site-statistics-page> for accessibility issues
testA11y('ds-site-statistics-page');
});
});

View File

@@ -0,0 +1,32 @@
import { testA11y } from 'cypress/support/utils';
describe('Homepage', () => {
beforeEach(() => {
// All tests start with visiting homepage
cy.visit('/');
});
it('should display translated title "DSpace Angular :: Home"', () => {
cy.title().should('eq', 'DSpace Angular :: Home');
});
it('should contain a news section', () => {
cy.get('ds-home-news').should('be.visible');
});
it('should have a working search box', () => {
const queryString = 'test';
cy.get('[data-test="search-box"]').type(queryString);
cy.get('[data-test="search-button"]').click();
cy.url().should('include', '/search');
cy.url().should('include', 'query=' + encodeURI(queryString));
});
it('should pass accessibility tests', () => {
// Wait for homepage tag to appear
cy.get('ds-home-page').should('be.visible');
// Analyze <ds-home-page> for accessibility issues
testA11y('ds-home-page');
});
});

View File

@@ -0,0 +1,31 @@
import { Options } from 'cypress-axe';
import { TEST_ENTITY_PUBLICATION } from 'cypress/support';
import { testA11y } from 'cypress/support/utils';
describe('Item Page', () => {
const ITEMPAGE = '/items/' + TEST_ENTITY_PUBLICATION;
const ENTITYPAGE = '/entities/publication/' + TEST_ENTITY_PUBLICATION;
// Test that entities will redirect to /entities/[type]/[uuid] when accessed via /items/[uuid]
it('should redirect to the entity page when navigating to an item page', () => {
cy.visit(ITEMPAGE);
cy.location('pathname').should('eq', ENTITYPAGE);
});
it('should pass accessibility tests', () => {
cy.visit(ENTITYPAGE);
// <ds-item-page> tag must be loaded
cy.get('ds-item-page').should('exist');
// Analyze <ds-item-page> for accessibility issues
// Disable heading-order checks until it is fixed
testA11y('ds-item-page',
{
rules: {
'heading-order': { enabled: false }
}
} as Options
);
});
});

View File

@@ -0,0 +1,38 @@
import { TEST_ENTITY_PUBLICATION } from 'cypress/support';
import { testA11y } from 'cypress/support/utils';
describe('Item Statistics Page', () => {
const ITEMSTATISTICSPAGE = '/statistics/items/' + TEST_ENTITY_PUBLICATION;
it('should load if you click on "Statistics" from an Item/Entity page', () => {
cy.visit('/entities/publication/' + TEST_ENTITY_PUBLICATION);
cy.get('ds-navbar ds-link-menu-item a[title="Statistics"]').click();
cy.location('pathname').should('eq', ITEMSTATISTICSPAGE);
});
it('should contain element ds-item-statistics-page when navigating to an item statistics page', () => {
cy.visit(ITEMSTATISTICSPAGE);
cy.get('ds-item-statistics-page').should('exist');
cy.get('ds-item-page').should('not.exist');
});
it('should contain a "Total visits" section', () => {
cy.visit(ITEMSTATISTICSPAGE);
cy.get('.' + TEST_ENTITY_PUBLICATION + '_TotalVisits').should('exist');
});
it('should contain a "Total visits per month" section', () => {
cy.visit(ITEMSTATISTICSPAGE);
cy.get('.' + TEST_ENTITY_PUBLICATION + '_TotalVisitsPerMonth').should('exist');
});
it('should pass accessibility tests', () => {
cy.visit(ITEMSTATISTICSPAGE);
// <ds-item-statistics-page> tag must be loaded
cy.get('ds-item-statistics-page').should('exist');
// Analyze <ds-item-statistics-page> for accessibility issues
testA11y('ds-item-statistics-page');
});
});

View File

@@ -0,0 +1,126 @@
import { TEST_ADMIN_PASSWORD, TEST_ADMIN_USER, TEST_ENTITY_PUBLICATION } from 'cypress/support';
const page = {
openLoginMenu() {
// Click the "Log In" dropdown menu in header
cy.get('ds-themed-navbar [data-test="login-menu"]').click();
},
openUserMenu() {
// Once logged in, click the User menu in header
cy.get('ds-themed-navbar [data-test="user-menu"]').click();
},
submitLoginAndPasswordByPressingButton(email, password) {
// Enter email
cy.get('ds-themed-navbar [data-test="email"]').type(email);
// Enter password
cy.get('ds-themed-navbar [data-test="password"]').type(password);
// Click login button
cy.get('ds-themed-navbar [data-test="login-button"]').click();
},
submitLoginAndPasswordByPressingEnter(email, password) {
// In opened Login modal, fill out email & password, then click Enter
cy.get('ds-themed-navbar [data-test="email"]').type(email);
cy.get('ds-themed-navbar [data-test="password"]').type(password);
cy.get('ds-themed-navbar [data-test="password"]').type('{enter}');
},
submitLogoutByPressingButton() {
// This is the POST command that will actually log us out
cy.intercept('POST', '/server/api/authn/logout').as('logout');
// Click logout button
cy.get('ds-themed-navbar [data-test="logout-button"]').click();
// Wait until above POST command responds before continuing
// (This ensures next action waits until logout completes)
cy.wait('@logout');
}
};
describe('Login Modal', () => {
it('should login when clicking button & stay on same page', () => {
const ENTITYPAGE = '/entities/publication/' + TEST_ENTITY_PUBLICATION;
cy.visit(ENTITYPAGE);
// Login menu should exist
cy.get('ds-log-in').should('exist');
// Login, and the <ds-log-in> tag should no longer exist
page.openLoginMenu();
cy.get('.form-login').should('be.visible');
page.submitLoginAndPasswordByPressingButton(TEST_ADMIN_USER, TEST_ADMIN_PASSWORD);
cy.get('ds-log-in').should('not.exist');
// Verify we are still on the same page
cy.url().should('include', ENTITYPAGE);
// Open user menu, verify user menu & logout button now available
page.openUserMenu();
cy.get('ds-user-menu').should('be.visible');
cy.get('ds-log-out').should('be.visible');
});
it('should login when clicking enter key & stay on same page', () => {
cy.visit('/home');
// Open login menu in header & verify <ds-log-in> tag is visible
page.openLoginMenu();
cy.get('.form-login').should('be.visible');
// Login, and the <ds-log-in> tag should no longer exist
page.submitLoginAndPasswordByPressingEnter(TEST_ADMIN_USER, TEST_ADMIN_PASSWORD);
cy.get('.form-login').should('not.exist');
// Verify we are still on homepage
cy.url().should('include', '/home');
// Open user menu, verify user menu & logout button now available
page.openUserMenu();
cy.get('ds-user-menu').should('be.visible');
cy.get('ds-log-out').should('be.visible');
});
it('should support logout', () => {
// First authenticate & access homepage
cy.login(TEST_ADMIN_USER, TEST_ADMIN_PASSWORD);
cy.visit('/');
// Verify ds-log-in tag doesn't exist, but ds-log-out tag does exist
cy.get('ds-log-in').should('not.exist');
cy.get('ds-log-out').should('exist');
// Click logout button
page.openUserMenu();
page.submitLogoutByPressingButton();
// Verify ds-log-in tag now exists
cy.get('ds-log-in').should('exist');
cy.get('ds-log-out').should('not.exist');
});
it('should allow new user registration', () => {
cy.visit('/');
page.openLoginMenu();
// Registration link should be visible
cy.get('ds-themed-navbar [data-test="register"]').should('be.visible');
// Click registration link & you should go to registration page
cy.get('ds-themed-navbar [data-test="register"]').click();
cy.location('pathname').should('eq', '/register');
cy.get('ds-register-email').should('exist');
});
it('should allow forgot password', () => {
cy.visit('/');
page.openLoginMenu();
// Forgot password link should be visible
cy.get('ds-themed-navbar [data-test="forgot"]').should('be.visible');
// Click link & you should go to Forgot Password page
cy.get('ds-themed-navbar [data-test="forgot"]').click();
cy.location('pathname').should('eq', '/forgot');
cy.get('ds-forgot-email').should('exist');
});
});

View File

@@ -0,0 +1,155 @@
import { Options } from 'cypress-axe';
import { TEST_SUBMIT_USER, TEST_SUBMIT_USER_PASSWORD, TEST_SUBMIT_COLLECTION_NAME } from 'cypress/support';
import { testA11y } from 'cypress/support/utils';
describe('My DSpace page', () => {
it('should display recent submissions and pass accessibility tests', () => {
cy.visit('/mydspace');
// This page is restricted, so we will be shown the login form. Fill it out & submit.
cy.loginViaForm(TEST_SUBMIT_USER, TEST_SUBMIT_USER_PASSWORD);
cy.get('ds-my-dspace-page').should('exist');
// At least one recent submission should be displayed
cy.get('[data-test="list-object"]').should('be.visible');
// Click each filter toggle to open *every* filter
// (As we want to scan filter section for accessibility issues as well)
cy.get('.filter-toggle').click({ multiple: true });
// Analyze <ds-my-dspace-page> for accessibility issues
testA11y(
{
include: ['ds-my-dspace-page'],
exclude: [
['nouislider'] // Date filter slider is missing ARIA labels. Will be fixed by #1175
],
},
{
rules: {
// Search filters fail these two "moderate" impact rules
'heading-order': { enabled: false },
'landmark-unique': { enabled: false }
}
} as Options
);
});
it('should have a working detailed view that passes accessibility tests', () => {
cy.visit('/mydspace');
// This page is restricted, so we will be shown the login form. Fill it out & submit.
cy.loginViaForm(TEST_SUBMIT_USER, TEST_SUBMIT_USER_PASSWORD);
cy.get('ds-my-dspace-page').should('exist');
// Click button in sidebar to display detailed view
cy.get('ds-search-sidebar [data-test="detail-view"]').click();
cy.get('ds-object-detail').should('exist');
// Analyze <ds-search-page> for accessibility issues
testA11y('ds-my-dspace-page',
{
rules: {
// Search filters fail these two "moderate" impact rules
'heading-order': { enabled: false },
'landmark-unique': { enabled: false }
}
} as Options
);
});
// NOTE: Deleting existing submissions is exercised by submission.spec.ts
it('should let you start a new submission & edit in-progress submissions', () => {
cy.visit('/mydspace');
// This page is restricted, so we will be shown the login form. Fill it out & submit.
cy.loginViaForm(TEST_SUBMIT_USER, TEST_SUBMIT_USER_PASSWORD);
// Open the New Submission dropdown
cy.get('button[data-test="submission-dropdown"]').click();
// Click on the "Item" type in that dropdown
cy.get('#entityControlsDropdownMenu button[title="none"]').click();
// This should display the <ds-create-item-parent-selector> (popup window)
cy.get('ds-create-item-parent-selector').should('be.visible');
// Type in a known Collection name in the search box
cy.get('ds-authorized-collection-selector input[type="search"]').type(TEST_SUBMIT_COLLECTION_NAME);
// Click on the button matching that known Collection name
cy.get('ds-authorized-collection-selector button[title="' + TEST_SUBMIT_COLLECTION_NAME + '"]').click();
// New URL should include /workspaceitems, as we've started a new submission
cy.url().should('include', '/workspaceitems');
// The Submission edit form tag should be visible
cy.get('ds-submission-edit').should('be.visible');
// A Collection menu button should exist & its value should be the selected collection
cy.get('#collectionControlsMenuButton span').should('have.text', TEST_SUBMIT_COLLECTION_NAME);
// Now that we've created a submission, we'll test that we can go back and Edit it.
// Get our Submission URL, to parse out the ID of this new submission
cy.location().then(fullUrl => {
// This will be the full path (/workspaceitems/[id]/edit)
const path = fullUrl.pathname;
// Split on the slashes
const subpaths = path.split('/');
// Part 2 will be the [id] of the submission
const id = subpaths[2];
// Click the "Save for Later" button to save this submission
cy.get('ds-submission-form-footer [data-test="save-for-later"]').click();
// "Save for Later" should send us to MyDSpace
cy.url().should('include', '/mydspace');
// Close any open notifications, to make sure they don't get in the way of next steps
cy.get('[data-dismiss="alert"]').click({multiple: true});
// This is the GET command that will actually run the search
cy.intercept('GET', '/server/api/discover/search/objects*').as('search-results');
// On MyDSpace, find the submission we just created via its ID
cy.get('[data-test="search-box"]').type(id);
cy.get('[data-test="search-button"]').click();
// Wait for search results to come back from the above GET command
cy.wait('@search-results');
// Click the Edit button for this in-progress submission
cy.get('#edit_' + id).click();
// Should send us back to the submission form
cy.url().should('include', '/workspaceitems/' + id + '/edit');
// Discard our new submission by clicking Discard in Submission form & confirming
cy.get('ds-submission-form-footer [data-test="discard"]').click();
cy.get('button#discard_submit').click();
// Discarding should send us back to MyDSpace
cy.url().should('include', '/mydspace');
});
});
it('should let you import from external sources', () => {
cy.visit('/mydspace');
// This page is restricted, so we will be shown the login form. Fill it out & submit.
cy.loginViaForm(TEST_SUBMIT_USER, TEST_SUBMIT_USER_PASSWORD);
// Open the New Import dropdown
cy.get('button[data-test="import-dropdown"]').click();
// Click on the "Item" type in that dropdown
cy.get('#importControlsDropdownMenu button[title="none"]').click();
// New URL should include /import-external, as we've moved to the import page
cy.url().should('include', '/import-external');
// The external import searchbox should be visible
cy.get('ds-submission-import-external-searchbar').should('be.visible');
});
});

View File

@@ -0,0 +1,13 @@
describe('PageNotFound', () => {
it('should contain element ds-pagenotfound when navigating to page that doesnt exist', () => {
// request an invalid page (UUIDs at root path aren't valid)
cy.visit('/e9019a69-d4f1-4773-b6a3-bd362caa46f2', { failOnStatusCode: false });
cy.get('ds-pagenotfound').should('exist');
});
it('should not contain element ds-pagenotfound when navigating to existing page', () => {
cy.visit('/home');
cy.get('ds-pagenotfound').should('not.exist');
});
});

View File

@@ -0,0 +1,66 @@
import { TEST_SEARCH_TERM } from 'cypress/support';
const page = {
fillOutQueryInNavBar(query) {
// Click the magnifying glass
cy.get('ds-themed-navbar [data-test="header-search-icon"]').click();
// Fill out a query in input that appears
cy.get('ds-themed-navbar [data-test="header-search-box"]').type(query);
},
submitQueryByPressingEnter() {
cy.get('ds-themed-navbar [data-test="header-search-box"]').type('{enter}');
},
submitQueryByPressingIcon() {
cy.get('ds-themed-navbar [data-test="header-search-icon"]').click();
}
};
describe('Search from Navigation Bar', () => {
// NOTE: these tests currently assume this query will return results!
const query = TEST_SEARCH_TERM;
it('should go to search page with correct query if submitted (from home)', () => {
cy.visit('/');
// This is the GET command that will actually run the search
cy.intercept('GET', '/server/api/discover/search/objects*').as('search-results');
// Run the search
page.fillOutQueryInNavBar(query);
page.submitQueryByPressingEnter();
// New URL should include query param
cy.url().should('include', 'query=' + query);
// Wait for search results to come back from the above GET command
cy.wait('@search-results');
// At least one search result should be displayed
cy.get('[data-test="list-object"]').should('be.visible');
});
it('should go to search page with correct query if submitted (from search)', () => {
cy.visit('/search');
// This is the GET command that will actually run the search
cy.intercept('GET', '/server/api/discover/search/objects*').as('search-results');
// Run the search
page.fillOutQueryInNavBar(query);
page.submitQueryByPressingEnter();
// New URL should include query param
cy.url().should('include', 'query=' + query);
// Wait for search results to come back from the above GET command
cy.wait('@search-results');
// At least one search result should be displayed
cy.get('[data-test="list-object"]').should('be.visible');
});
it('should allow user to also submit query by clicking icon', () => {
cy.visit('/');
// This is the GET command that will actually run the search
cy.intercept('GET', '/server/api/discover/search/objects*').as('search-results');
// Run the search
page.fillOutQueryInNavBar(query);
page.submitQueryByPressingIcon();
// New URL should include query param
cy.url().should('include', 'query=' + query);
// Wait for search results to come back from the above GET command
cy.wait('@search-results');
// At least one search result should be displayed
cy.get('[data-test="list-object"]').should('be.visible');
});
});

View File

@@ -0,0 +1,70 @@
import { Options } from 'cypress-axe';
import { TEST_SEARCH_TERM } from 'cypress/support';
import { testA11y } from 'cypress/support/utils';
describe('Search Page', () => {
it('should redirect to the correct url when query was set and submit button was triggered', () => {
const queryString = 'Another interesting query string';
cy.visit('/search');
// Type query in searchbox & click search button
cy.get('[data-test="search-box"]').type(queryString);
cy.get('[data-test="search-button"]').click();
cy.url().should('include', 'query=' + encodeURI(queryString));
});
it('should load results and pass accessibility tests', () => {
cy.visit('/search?query=' + TEST_SEARCH_TERM);
cy.get('[data-test="search-box"]').should('have.value', TEST_SEARCH_TERM);
// <ds-search-page> tag must be loaded
cy.get('ds-search-page').should('exist');
// At least one search result should be displayed
cy.get('[data-test="list-object"]').should('be.visible');
// Click each filter toggle to open *every* filter
// (As we want to scan filter section for accessibility issues as well)
cy.get('[data-test="filter-toggle"]').click({ multiple: true });
// Analyze <ds-search-page> for accessibility issues
testA11y(
{
include: ['ds-search-page'],
exclude: [
['nouislider'] // Date filter slider is missing ARIA labels. Will be fixed by #1175
],
},
{
rules: {
// Search filters fail these two "moderate" impact rules
'heading-order': { enabled: false },
'landmark-unique': { enabled: false }
}
} as Options
);
});
it('should have a working grid view that passes accessibility tests', () => {
cy.visit('/search?query=' + TEST_SEARCH_TERM);
// Click button in sidebar to display grid view
cy.get('ds-search-sidebar [data-test="grid-view"]').click();
// <ds-search-page> tag must be loaded
cy.get('ds-search-page').should('exist');
// At least one grid object (card) should be displayed
cy.get('[data-test="grid-object"]').should('be.visible');
// Analyze <ds-search-page> for accessibility issues
testA11y('ds-search-page',
{
rules: {
// Search filters fail these two "moderate" impact rules
'heading-order': { enabled: false },
'landmark-unique': { enabled: false }
}
} as Options
);
});
});

View File

@@ -0,0 +1,138 @@
import { Options } from 'cypress-axe';
import { TEST_SUBMIT_USER, TEST_SUBMIT_USER_PASSWORD, TEST_SUBMIT_COLLECTION_NAME, TEST_SUBMIT_COLLECTION_UUID } from 'cypress/support';
import { testA11y } from 'cypress/support/utils';
describe('New Submission page', () => {
// NOTE: We already test that new submissions can be started from MyDSpace in my-dspace.spec.ts
it('should create a new submission when using /submit path & pass accessibility', () => {
// Test that calling /submit with collection & entityType will create a new submission
cy.visit('/submit?collection=' + TEST_SUBMIT_COLLECTION_UUID + '&entityType=none');
// This page is restricted, so we will be shown the login form. Fill it out & submit.
cy.loginViaForm(TEST_SUBMIT_USER, TEST_SUBMIT_USER_PASSWORD);
// Should redirect to /workspaceitems, as we've started a new submission
cy.url().should('include', '/workspaceitems');
// The Submission edit form tag should be visible
cy.get('ds-submission-edit').should('be.visible');
// A Collection menu button should exist & it's value should be the selected collection
cy.get('#collectionControlsMenuButton span').should('have.text', TEST_SUBMIT_COLLECTION_NAME);
// 4 sections should be visible by default
cy.get('div#section_traditionalpageone').should('be.visible');
cy.get('div#section_traditionalpagetwo').should('be.visible');
cy.get('div#section_upload').should('be.visible');
cy.get('div#section_license').should('be.visible');
// Discard button should work
// Clicking it will display a confirmation, which we will confirm with another click
cy.get('button#discard').click();
cy.get('button#discard_submit').click();
});
it('should block submission & show errors if required fields are missing', () => {
// Create a new submission
cy.visit('/submit?collection=' + TEST_SUBMIT_COLLECTION_UUID + '&entityType=none');
// This page is restricted, so we will be shown the login form. Fill it out & submit.
cy.loginViaForm(TEST_SUBMIT_USER, TEST_SUBMIT_USER_PASSWORD);
// Attempt an immediate deposit without filling out any fields
cy.get('button#deposit').click();
// A warning alert should display.
cy.get('ds-notification div.alert-success').should('not.exist');
cy.get('ds-notification div.alert-warning').should('be.visible');
// First section should have an exclamation error in the header
// (as it has required fields)
cy.get('div#traditionalpageone-header i.fa-exclamation-circle').should('be.visible');
// Title field should have class "is-invalid" applied, as it's required
cy.get('input#dc_title').should('have.class', 'is-invalid');
// Date Year field should also have "is-valid" class
cy.get('input#dc_date_issued_year').should('have.class', 'is-invalid');
// FINALLY, cleanup after ourselves. This also exercises the MyDSpace delete button.
// Get our Submission URL, to parse out the ID of this submission
cy.location().then(fullUrl => {
// This will be the full path (/workspaceitems/[id]/edit)
const path = fullUrl.pathname;
// Split on the slashes
const subpaths = path.split('/');
// Part 2 will be the [id] of the submission
const id = subpaths[2];
// Even though form is incomplete, the "Save for Later" button should still work
cy.get('button#saveForLater').click();
// "Save for Later" should send us to MyDSpace
cy.url().should('include', '/mydspace');
// A success alert should be visible
cy.get('ds-notification div.alert-success').should('be.visible');
// Now, dismiss any open alert boxes (may be multiple, as tests run quickly)
cy.get('[data-dismiss="alert"]').click({multiple: true});
// This is the GET command that will actually run the search
cy.intercept('GET', '/server/api/discover/search/objects*').as('search-results');
// On MyDSpace, find the submission we just saved via its ID
cy.get('[data-test="search-box"]').type(id);
cy.get('[data-test="search-button"]').click();
// Wait for search results to come back from the above GET command
cy.wait('@search-results');
// Delete our created submission & confirm deletion
cy.get('button#delete_' + id).click();
cy.get('button#delete_confirm').click();
});
});
it('should allow for deposit if all required fields completed & file uploaded', () => {
// Create a new submission
cy.visit('/submit?collection=' + TEST_SUBMIT_COLLECTION_UUID + '&entityType=none');
// This page is restricted, so we will be shown the login form. Fill it out & submit.
cy.loginViaForm(TEST_SUBMIT_USER, TEST_SUBMIT_USER_PASSWORD);
// Fill out all required fields (Title, Date)
cy.get('input#dc_title').type('DSpace logo uploaded via e2e tests');
cy.get('input#dc_date_issued_year').type('2022');
// Confirm the required license by checking checkbox
// (NOTE: requires "force:true" cause Cypress claims this checkbox is covered by its own <span>)
cy.get('input#granted').check( {force: true} );
// Before using Cypress drag & drop, we have to manually trigger the "dragover" event.
// This ensures our UI displays the dropzone that covers the entire submission page.
// (For some reason Cypress drag & drop doesn't trigger this even itself & upload won't work without this trigger)
cy.get('ds-uploader').trigger('dragover');
// This is the POST command that will upload the file
cy.intercept('POST', '/server/api/submission/workspaceitems/*').as('upload');
// Upload our DSpace logo via drag & drop onto submission form
// cy.get('div#section_upload')
cy.get('div.ds-document-drop-zone').selectFile('src/assets/images/dspace-logo.png', {
action: 'drag-drop'
});
// Wait for upload to complete before proceeding
cy.wait('@upload');
// Close the upload success notice
cy.get('[data-dismiss="alert"]').click({multiple: true});
// Wait for deposit button to not be disabled & click it.
cy.get('button#deposit').should('not.be.disabled').click();
// No warnings should exist. Instead, just successful deposit alert is displayed
cy.get('ds-notification div.alert-warning').should('not.exist');
cy.get('ds-notification div.alert-success').should('be.visible');
});
});

35
cypress/plugins/index.ts Normal file
View File

@@ -0,0 +1,35 @@
const fs = require('fs');
// Plugins enable you to tap into, modify, or extend the internal behavior of Cypress
// For more info, visit https://on.cypress.io/plugins-api
module.exports = (on, config) => {
on('task', {
// Define "log" and "table" tasks, used for logging accessibility errors during CI
// Borrowed from https://github.com/component-driven/cypress-axe#in-cypress-plugins-file
log(message: string) {
console.log(message);
return null;
},
table(message: string) {
console.table(message);
return null;
},
// Cypress doesn't have access to the running application in Node.js.
// So, it's not possible to inject or load the AppConfig or environment of the Angular UI.
// Instead, we'll read our running application's config.json, which contains the configs &
// is regenerated at runtime each time the Angular UI application starts up.
readUIConfig() {
// Check if we have a config.json in the src/assets. If so, use that.
// This is where it's written when running "ng e2e" or "yarn serve"
if (fs.existsSync('./src/assets/config.json')) {
return fs.readFileSync('./src/assets/config.json', 'utf8');
// Otherwise, check the dist/browser/assets
// This is where it's written when running "serve:ssr", which is what CI uses to start the frontend
} else if (fs.existsSync('./dist/browser/assets/config.json')) {
return fs.readFileSync('./dist/browser/assets/config.json', 'utf8');
}
return null;
}
});
};

110
cypress/support/commands.ts Normal file
View File

@@ -0,0 +1,110 @@
// ***********************************************
// This File is for Custom Cypress commands.
// See docs at https://docs.cypress.io/api/cypress-api/custom-commands
// ***********************************************
import { AuthTokenInfo, TOKENITEM } from 'src/app/core/auth/models/auth-token-info.model';
import { FALLBACK_TEST_REST_BASE_URL } from '.';
// Declare Cypress namespace to help with Intellisense & code completion in IDEs
// ALL custom commands MUST be listed here for code completion to work
// tslint:disable-next-line:no-namespace
declare global {
namespace Cypress {
interface Chainable<Subject = any> {
/**
* Login to backend before accessing the next page. Ensures that the next
* call to "cy.visit()" will be authenticated as this user.
* @param email email to login as
* @param password password to login as
*/
login(email: string, password: string): typeof login;
/**
* Login via form before accessing the next page. Useful to fill out login
* form when a cy.visit() call is to an a page which requires authentication.
* @param email email to login as
* @param password password to login as
*/
loginViaForm(email: string, password: string): typeof loginViaForm;
}
}
}
/**
* Login user via REST API directly, and pass authentication token to UI via
* the UI's dsAuthInfo cookie.
* WARNING: WHILE THIS METHOD WORKS, OCCASIONALLY RANDOM AUTHENTICATION ERRORS OCCUR.
* At this time "loginViaForm()" seems more consistent/stable.
* @param email email to login as
* @param password password to login as
*/
function login(email: string, password: string): void {
// Cypress doesn't have access to the running application in Node.js.
// So, it's not possible to inject or load the AppConfig or environment of the Angular UI.
// Instead, we'll read our running application's config.json, which contains the configs &
// is regenerated at runtime each time the Angular UI application starts up.
cy.task('readUIConfig').then((str: string) => {
// Parse config into a JSON object
const config = JSON.parse(str);
// Find the URL of our REST API. Have a fallback ready, just in case 'rest.baseUrl' cannot be found.
let baseRestUrl = FALLBACK_TEST_REST_BASE_URL;
if (!config.rest.baseUrl) {
console.warn("Could not load 'rest.baseUrl' from config.json. Falling back to " + FALLBACK_TEST_REST_BASE_URL);
} else {
console.log("Found 'rest.baseUrl' in config.json. Using this REST API for login: " + config.rest.baseUrl);
baseRestUrl = config.rest.baseUrl;
}
// To login via REST, first we have to do a GET to obtain a valid CSRF token
cy.request( baseRestUrl + '/api/authn/status' )
.then((response) => {
// We should receive a CSRF token returned in a response header
expect(response.headers).to.have.property('dspace-xsrf-token');
const csrfToken = response.headers['dspace-xsrf-token'];
// Now, send login POST request including that CSRF token
cy.request({
method: 'POST',
url: baseRestUrl + '/api/authn/login',
headers: { 'X-XSRF-TOKEN' : csrfToken},
form: true, // indicates the body should be form urlencoded
body: { user: email, password: password }
}).then((resp) => {
// We expect a successful login
expect(resp.status).to.eq(200);
// We expect to have a valid authorization header returned (with our auth token)
expect(resp.headers).to.have.property('authorization');
// Initialize our AuthTokenInfo object from the authorization header.
const authheader = resp.headers.authorization as string;
const authinfo: AuthTokenInfo = new AuthTokenInfo(authheader);
// Save our AuthTokenInfo object to our dsAuthInfo UI cookie
// This ensures the UI will recognize we are logged in on next "visit()"
cy.setCookie(TOKENITEM, JSON.stringify(authinfo));
});
});
});
}
// Add as a Cypress command (i.e. assign to 'cy.login')
Cypress.Commands.add('login', login);
/**
* Login user via displayed login form
* @param email email to login as
* @param password password to login as
*/
function loginViaForm(email: string, password: string): void {
// Enter email
cy.get('ds-log-in [data-test="email"]').type(email);
// Enter password
cy.get('ds-log-in [data-test="password"]').type(password);
// Click login button
cy.get('ds-log-in [data-test="login-button"]').click();
}
// Add as a Cypress command (i.e. assign to 'cy.loginViaForm')
Cypress.Commands.add('loginViaForm', loginViaForm);

63
cypress/support/index.ts Normal file
View File

@@ -0,0 +1,63 @@
// ***********************************************************
// This example support/index.js is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************
// Import all custom Commands (from commands.ts) for all tests
import './commands';
// Import Cypress Axe tools for all tests
// https://github.com/component-driven/cypress-axe
import 'cypress-axe';
// Runs once before the first test in each "block"
beforeEach(() => {
// Pre-agree to all Klaro cookies by setting the klaro-anonymous cookie
// This just ensures it doesn't get in the way of matching other objects in the page.
cy.setCookie('klaro-anonymous', '{%22authentication%22:true%2C%22preferences%22:true%2C%22acknowledgement%22:true%2C%22google-analytics%22:true%2C%22google-recaptcha%22:true}');
});
// For better stability between tests, we visit "about:blank" (i.e. blank page) after each test.
// This ensures any remaining/outstanding XHR requests are killed, so they don't affect the next test.
// Borrowed from: https://glebbahmutov.com/blog/visit-blank-page-between-tests/
afterEach(() => {
cy.window().then((win) => {
win.location.href = 'about:blank';
});
});
// Global constants used in tests
// May be overridden in our cypress.json config file using specified environment variables.
// Default values listed here are all valid for the Demo Entities Data set available at
// https://github.com/DSpace-Labs/AIP-Files/releases/tag/demo-entities-data
// (This is the data set used in our CI environment)
// NOTE: FALLBACK_TEST_REST_BASE_URL is only used if Cypress cannot read the REST API BaseURL
// from the Angular UI's config.json. See 'getBaseRESTUrl()' in commands.ts
export const FALLBACK_TEST_REST_BASE_URL = 'http://localhost:8080/server';
// Admin account used for administrative tests
export const TEST_ADMIN_USER = Cypress.env('DSPACE_TEST_ADMIN_USER') || 'dspacedemo+admin@gmail.com';
export const TEST_ADMIN_PASSWORD = Cypress.env('DSPACE_TEST_ADMIN_PASSWORD') || 'dspace';
// Community/collection/publication used for view/edit tests
export const TEST_COLLECTION = Cypress.env('DSPACE_TEST_COLLECTION') || '282164f5-d325-4740-8dd1-fa4d6d3e7200';
export const TEST_COMMUNITY = Cypress.env('DSPACE_TEST_COMMUNITY') || '0958c910-2037-42a9-81c7-dca80e3892b4';
export const TEST_ENTITY_PUBLICATION = Cypress.env('DSPACE_TEST_ENTITY_PUBLICATION') || 'e98b0f27-5c19-49a0-960d-eb6ad5287067';
// Search term (should return results) used in search tests
export const TEST_SEARCH_TERM = Cypress.env('DSPACE_TEST_SEARCH_TERM') || 'test';
// Collection used for submission tests
export const TEST_SUBMIT_COLLECTION_NAME = Cypress.env('DSPACE_TEST_SUBMIT_COLLECTION_NAME') || 'Sample Collection';
export const TEST_SUBMIT_COLLECTION_UUID = Cypress.env('DSPACE_TEST_SUBMIT_COLLECTION_UUID') || '9d8334e9-25d3-4a67-9cea-3dffdef80144';
export const TEST_SUBMIT_USER = Cypress.env('DSPACE_TEST_SUBMIT_USER') || 'dspacedemo+submit@gmail.com';
export const TEST_SUBMIT_USER_PASSWORD = Cypress.env('DSPACE_TEST_SUBMIT_USER_PASSWORD') || 'dspace';

44
cypress/support/utils.ts Normal file
View File

@@ -0,0 +1,44 @@
import { Result } from 'axe-core';
import { Options } from 'cypress-axe';
// Log violations to terminal/commandline in a table format.
// Uses 'log' and 'table' tasks defined in ../plugins/index.ts
// Borrowed from https://github.com/component-driven/cypress-axe#in-your-spec-file
function terminalLog(violations: Result[]) {
cy.task(
'log',
`${violations.length} accessibility violation${violations.length === 1 ? '' : 's'} ${violations.length === 1 ? 'was' : 'were'} detected`
);
// pluck specific keys to keep the table readable
const violationData = violations.map(
({ id, impact, description, helpUrl, nodes }) => ({
id,
impact,
description,
helpUrl,
nodes: nodes.length,
html: nodes.map(node => node.html)
})
);
// Print violations as an array, since 'node.html' above often breaks table alignment
cy.task('log', violationData);
// Optionally, uncomment to print as a table
// cy.task('table', violationData);
}
// Custom "testA11y()" method which checks accessibility using cypress-axe
// while also ensuring any violations are logged to the terminal (see terminalLog above)
// This method MUST be called after cy.visit(), as cy.injectAxe() must be called after page load
export const testA11y = (context?: any, options?: Options) => {
cy.injectAxe();
cy.configureAxe({
rules: [
// Disable color contrast checks as they are inaccurate / result in a lot of false positives
// See also open issues in axe-core: https://github.com/dequelabs/axe-core/labels/color%20contrast
{ id: 'color-contrast', enabled: false },
]
});
cy.checkA11y(context, options, terminalLog);
};

13
cypress/tsconfig.json Normal file
View File

@@ -0,0 +1,13 @@
{
"extends": "../tsconfig.json",
"include": [
"**/*.ts"
],
"compilerOptions": {
"types": [
"cypress",
"cypress-axe",
"node"
]
}
}

View File

@@ -1,79 +1,95 @@
# Docker Compose files # Docker Compose files
## docker directory ***
- docker-compose.yml :warning: **THESE IMAGES ARE NOT PRODUCTION READY** The below Docker Compose images/resources were built for development/testing only. Therefore, they may not be fully secured or up-to-date, and should not be used in production.
- Starts DSpace Angular with Docker Compose from the current branch. This file assumes that a DSpace 7 REST instance will also be started in Docker.
- docker-compose-rest.yml If you wish to run DSpace on Docker in production, we recommend building your own Docker images. You are welcome to borrow ideas/concepts from the below images in doing so. But, the below images should not be used "as is" in any production scenario.
- Runs a published instance of the DSpace 7 REST API - persists data in Docker volumes ***
- docker-compose-travis.yml
- Runs a published instance of the DSpace 7 REST API for CI testing. The database is re-populated from a SQL dump on each startup. ## 'Dockerfile' in root directory
- cli.yml This Dockerfile is used to build a *development* DSpace 7 Angular UI image, published as 'dspace/dspace-angular'
- Docker compose file that provides a DSpace CLI container to work with a running DSpace REST container.
- cli.assetstore.yml ```
- Docker compose file that will download and install data into a DSpace REST assetstore. This script points to a default dataset that will be utilized for CI testing. docker build -t dspace/dspace-angular:dspace-7_x .
- environment.dev.js ```
- Environment file for running DSpace Angular in Docker
- local.cfg This image is built *automatically* after each commit is made to the `main` branch.
- Environment file for running the DSpace 7 REST API in Docker.
Admins to our DockerHub repo can manually publish with the following command.
```
## To refresh / pull DSpace images from Dockerhub docker push dspace/dspace-angular:dspace-7_x
``` ```
docker-compose -f docker/docker-compose.yml pull
``` ## docker directory
- docker-compose.yml
## To build DSpace images using code in your branch - Starts DSpace Angular with Docker Compose from the current branch. This file assumes that a DSpace 7 REST instance will also be started in Docker.
``` - docker-compose-rest.yml
docker-compose -f docker/docker-compose.yml build - Runs a published instance of the DSpace 7 REST API - persists data in Docker volumes
``` - docker-compose-ci.yml
- Runs a published instance of the DSpace 7 REST API for CI testing. The database is re-populated from a SQL dump on each startup.
## To start DSpace (REST and Angular) from your branch - cli.yml
- Docker compose file that provides a DSpace CLI container to work with a running DSpace REST container.
``` - cli.assetstore.yml
docker-compose -p d7 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml up -d - Docker compose file that will download and install data into a DSpace REST assetstore. This script points to a default dataset that will be utilized for CI testing.
```
## Run DSpace REST and DSpace Angular from local branches. ## To refresh / pull DSpace images from Dockerhub
_The system will be started in 2 steps. Each step shares the same docker network._ ```
docker-compose -f docker/docker-compose.yml pull
From DSpace/DSpace (build as needed) ```
```
docker-compose -p d7 up -d ## To build DSpace images using code in your branch
``` ```
docker-compose -f docker/docker-compose.yml build
From DSpace/DSpace-angular ```
```
docker-compose -p d7 -f docker/docker-compose.yml up -d ## To start DSpace (REST and Angular) from your branch
```
```
## Ingest test data from AIPDIR docker-compose -p d7 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml up -d
```
Create an administrator
``` ## Run DSpace REST and DSpace Angular from local branches.
docker-compose -p d7 -f docker/cli.yml run --rm dspace-cli create-administrator -e test@test.edu -f admin -l user -p admin -c en _The system will be started in 2 steps. Each step shares the same docker network._
```
From DSpace/DSpace (build as needed)
Load content from AIP files ```
``` docker-compose -p d7 up -d
docker-compose -p d7 -f docker/cli.yml -f ./docker/cli.ingest.yml run --rm dspace-cli ```
```
From DSpace/DSpace-angular
## Alternative Ingest - Use Entities dataset ```
_Delete your docker volumes or use a unique project (-p) name_ docker-compose -p d7 -f docker/docker-compose.yml up -d
```
Start DSpace with Database Content from a database dump
``` ## Ingest test data from AIPDIR
docker-compose -p d7 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml -f docker/db.entities.yml up -d
``` Create an administrator
```
Load assetstore content and trigger a re-index of the repository docker-compose -p d7 -f docker/cli.yml run --rm dspace-cli create-administrator -e test@test.edu -f admin -l user -p admin -c en
``` ```
docker-compose -p d7 -f docker/cli.yml -f docker/cli.assetstore.yml run --rm dspace-cli
``` Load content from AIP files
```
## End to end testing of the rest api (runs in travis). docker-compose -p d7 -f docker/cli.yml -f ./docker/cli.ingest.yml run --rm dspace-cli
_In this instance, only the REST api runs in Docker using the Entities dataset. Travis will perform CI testing of Angular using Node to drive the tests._ ```
``` ## Alternative Ingest - Use Entities dataset
docker-compose -p d7ci -f docker/docker-compose-travis.yml up -d _Delete your docker volumes or use a unique project (-p) name_
```
Start DSpace with Database Content from a database dump
```
docker-compose -p d7 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml -f docker/db.entities.yml up -d
```
Load assetstore content and trigger a re-index of the repository
```
docker-compose -p d7 -f docker/cli.yml -f docker/cli.assetstore.yml run --rm dspace-cli
```
## End to end testing of the rest api (runs in travis).
_In this instance, only the REST api runs in Docker using the Entities dataset. Travis will perform CI testing of Angular using Node to drive the tests._
```
docker-compose -p d7ci -f docker/docker-compose-travis.yml up -d
```

View File

@@ -1,3 +1,17 @@
#
# The contents of this file are subject to the license and copyright
# detailed in the LICENSE and NOTICE files at the root of the source
# tree and available online at
#
# http://www.dspace.org/license/
#
#
# This is a copy of the cli.ingest.yml that is available in the DSpace/DSpace
# (Backend) at:
# https://github.com/DSpace/DSpace/blob/main/dspace/src/main/docker-compose/cli.assetstore.yml
#
# Therefore, it should be kept in sync with that file
version: "3.7" version: "3.7"
networks: networks:
@@ -8,7 +22,8 @@ services:
networks: networks:
dspacenet: {} dspacenet: {}
environment: environment:
- LOADASSETS=https://www.dropbox.com/s/zv7lj8j2lp3egjs/assetstore.tar.gz?dl=1 # This assetstore zip is available from https://github.com/DSpace-Labs/AIP-Files/releases/tag/demo-entities-data
- LOADASSETS=https://github.com/DSpace-Labs/AIP-Files/releases/download/demo-entities-data/assetstore.tar.gz
entrypoint: entrypoint:
- /bin/bash - /bin/bash
- '-c' - '-c'
@@ -20,4 +35,6 @@ services:
tar xvfz /tmp/assetstore.tar.gz tar xvfz /tmp/assetstore.tar.gz
fi fi
/dspace/bin/dspace index-discovery /dspace/bin/dspace index-discovery -b
/dspace/bin/dspace oai import
/dspace/bin/dspace oai clean-cache

View File

@@ -6,12 +6,18 @@
# http://www.dspace.org/license/ # http://www.dspace.org/license/
# #
#
# This is a copy of the cli.ingest.yml that is available in the DSpace/DSpace
# (Backend) at:
# https://github.com/DSpace/DSpace/blob/main/dspace/src/main/docker-compose/cli.ingest.yml
#
# Therefore, it should be kept in sync with that file
version: "3.7" version: "3.7"
services: services:
dspace-cli: dspace-cli:
environment: environment:
- AIPZIP=https://github.com/DSpace-Labs/AIP-Files/raw/master/dogAndReport.zip - AIPZIP=https://github.com/DSpace-Labs/AIP-Files/raw/main/dogAndReport.zip
- ADMIN_EMAIL=test@test.edu - ADMIN_EMAIL=test@test.edu
- AIPDIR=/tmp/aip-dir - AIPDIR=/tmp/aip-dir
entrypoint: entrypoint:

View File

@@ -1,13 +1,36 @@
#
# The contents of this file are subject to the license and copyright
# detailed in the LICENSE and NOTICE files at the root of the source
# tree and available online at
#
# http://www.dspace.org/license/
#
#
# This is a copy of the docker-compose-cli.yml that is available in the DSpace/DSpace
# (Backend) at:
# https://github.com/DSpace/DSpace/blob/main/docker-compose-cli.yml
#
# Therefore, it should be kept in sync with that file
version: "3.7" version: "3.7"
services: services:
dspace-cli: dspace-cli:
image: "${DOCKER_OWNER:-dspace}/dspace-cli:${DSPACE_VER:-dspace-7_x}" image: "${DOCKER_OWNER:-dspace}/dspace-cli:${DSPACE_VER:-dspace-7_x}"
container_name: dspace-cli container_name: dspace-cli
#environment: environment:
# Below syntax may look odd, but it is how to override dspace.cfg settings via env variables.
# See https://github.com/DSpace/DSpace/blob/main/dspace/config/config-definition.xml
# __P__ => "." (e.g. dspace__P__dir => dspace.dir)
# __D__ => "-" (e.g. google__D__metadata => google-metadata)
# dspace.dir
dspace__P__dir: /dspace
# db.url: Ensure we are using the 'dspacedb' image for our database
db__P__url: 'jdbc:postgresql://dspacedb:5432/dspace'
# solr.server: Ensure we are using the 'dspacesolr' image for Solr
solr__P__server: http://dspacesolr:8983/solr
volumes: volumes:
- "assetstore:/dspace/assetstore" - "assetstore:/dspace/assetstore"
- "./local.cfg:/dspace/config/local.cfg"
entrypoint: /dspace/bin/dspace entrypoint: /dspace/bin/dspace
command: help command: help
networks: networks:

View File

@@ -6,11 +6,46 @@
# http://www.dspace.org/license/ # http://www.dspace.org/license/
# #
#
# This is a copy of the db.entities.yml that is available in the DSpace/DSpace
# (Backend) at:
# https://github.com/DSpace/DSpace/blob/main/dspace/src/main/docker-compose/db.entities.yml
#
# # Therefore, it should be kept in sync with that file
version: "3.7" version: "3.7"
services: services:
dspacedb: dspacedb:
image: dspace/dspace-postgres-pgcrypto:loadsql image: dspace/dspace-postgres-pgcrypto:loadsql
environment: environment:
# Double underbars in env names will be replaced with periods for apache commons # This LOADSQL should be kept in sync with the URL in DSpace/DSpace
- LOADSQL=https://www.dropbox.com/s/xh3ack0vg0922p2/configurable-entities-2019-05-08.sql?dl=1 # This SQL is available from https://github.com/DSpace-Labs/AIP-Files/releases/tag/demo-entities-data
- LOADSQL=https://github.com/DSpace-Labs/AIP-Files/releases/download/demo-entities-data/dspace7-entities-data.sql
dspace:
### OVERRIDE default 'entrypoint' in 'docker-compose-rest.yml' ####
# Ensure that the database is ready BEFORE starting tomcat
# 1. While a TCP connection to dspacedb port 5432 is not available, continue to sleep
# 2. Then, run database migration to init database tables (including any out-of-order ignored migrations, if any)
# 3. (Custom for Entities) enable Entity-specific collection submission mappings in item-submission.xml
# This 'sed' command inserts the sample configurations specific to the Entities data set, see:
# https://github.com/DSpace/DSpace/blob/main/dspace/config/item-submission.xml#L36-L49
# 4. Finally, start Tomcat
entrypoint:
- /bin/bash
- '-c'
- |
while (!</dev/tcp/dspacedb/5432) > /dev/null 2>&1; do sleep 1; done;
/dspace/bin/dspace database migrate ignored
sed -i '/name-map collection-handle="default".*/a \\n <name-map collection-handle="123456789/3" submission-name="Publication"/> \
<name-map collection-handle="123456789/4" submission-name="Publication"/> \
<name-map collection-handle="123456789/281" submission-name="Publication"/> \
<name-map collection-handle="123456789/5" submission-name="Publication"/> \
<name-map collection-handle="123456789/8" submission-name="OrgUnit"/> \
<name-map collection-handle="123456789/6" submission-name="Person"/> \
<name-map collection-handle="123456789/279" submission-name="Person"/> \
<name-map collection-handle="123456789/7" submission-name="Project"/> \
<name-map collection-handle="123456789/280" submission-name="Project"/> \
<name-map collection-handle="123456789/28" submission-name="Journal"/> \
<name-map collection-handle="123456789/29" submission-name="JournalVolume"/> \
<name-map collection-handle="123456789/30" submission-name="JournalIssue"/>' /dspace/config/item-submission.xml
catalina.sh run

View File

@@ -0,0 +1,113 @@
#
# The contents of this file are subject to the license and copyright
# detailed in the LICENSE and NOTICE files at the root of the source
# tree and available online at
#
# http://www.dspace.org/license/
#
# Docker Compose for running the DSpace backend for e2e testing in a CI environment
# This is used by our GitHub CI at .github/workflows/build.yml
# It is based heavily on the Backend's Docker Compose:
# https://github.com/DSpace/DSpace/blob/main/docker-compose.yml
version: '3.7'
networks:
dspacenet:
services:
# DSpace (backend) webapp container
dspace:
container_name: dspace
environment:
# Below syntax may look odd, but it is how to override dspace.cfg settings via env variables.
# See https://github.com/DSpace/DSpace/blob/main/dspace/config/config-definition.xml
# __P__ => "." (e.g. dspace__P__dir => dspace.dir)
# __D__ => "-" (e.g. google__D__metadata => google-metadata)
# dspace.dir, dspace.server.url and dspace.ui.url
dspace__P__dir: /dspace
dspace__P__server__P__url: http://127.0.0.1:8080/server
dspace__P__ui__P__url: http://127.0.0.1:4000
# db.url: Ensure we are using the 'dspacedb' image for our database
db__P__url: 'jdbc:postgresql://dspacedb:5432/dspace'
# solr.server: Ensure we are using the 'dspacesolr' image for Solr
solr__P__server: http://dspacesolr:8983/solr
depends_on:
- dspacedb
image: dspace/dspace:dspace-7_x-test
networks:
dspacenet:
ports:
- published: 8080
target: 8080
stdin_open: true
tty: true
volumes:
- assetstore:/dspace/assetstore
# Mount DSpace's solr configs to a volume, so that we can share to 'dspacesolr' container (see below)
- solr_configs:/dspace/solr
# Ensure that the database is ready BEFORE starting tomcat
# 1. While a TCP connection to dspacedb port 5432 is not available, continue to sleep
# 2. Then, run database migration to init database tables (including any out-of-order ignored migrations, if any)
# 3. Finally, start Tomcat
entrypoint:
- /bin/bash
- '-c'
- |
while (!</dev/tcp/dspacedb/5432) > /dev/null 2>&1; do sleep 1; done;
/dspace/bin/dspace database migrate ignored
catalina.sh run
# DSpace database container
# NOTE: This is customized to use our loadsql image, so that we are using a database with existing test data
dspacedb:
container_name: dspacedb
environment:
# This LOADSQL should be kept in sync with the LOADSQL in
# https://github.com/DSpace/DSpace/blob/main/dspace/src/main/docker-compose/db.entities.yml
# This SQL is available from https://github.com/DSpace-Labs/AIP-Files/releases/tag/demo-entities-data
LOADSQL: https://github.com/DSpace-Labs/AIP-Files/releases/download/demo-entities-data/dspace7-entities-data.sql
PGDATA: /pgdata
image: dspace/dspace-postgres-pgcrypto:loadsql
networks:
dspacenet:
stdin_open: true
tty: true
volumes:
- pgdata:/pgdata
# DSpace Solr container
dspacesolr:
container_name: dspacesolr
# Uses official Solr image at https://hub.docker.com/_/solr/
image: solr:8.11-slim
# Needs main 'dspace' container to start first to guarantee access to solr_configs
depends_on:
- dspace
networks:
dspacenet:
ports:
- published: 8983
target: 8983
stdin_open: true
tty: true
working_dir: /var/solr/data
volumes:
# Mount our "solr_configs" volume available under the Solr's configsets folder (in a 'dspace' subfolder)
# This copies the Solr configs from main 'dspace' container into 'dspacesolr' via that volume
- solr_configs:/opt/solr/server/solr/configsets/dspace
# Keep Solr data directory between reboots
- solr_data:/var/solr/data
# Initialize all DSpace Solr cores using the mounted configsets (see above), then start Solr
entrypoint:
- /bin/bash
- '-c'
- |
init-var-solr
precreate-core authority /opt/solr/server/solr/configsets/dspace/authority
precreate-core oai /opt/solr/server/solr/configsets/dspace/oai
precreate-core search /opt/solr/server/solr/configsets/dspace/search
precreate-core statistics /opt/solr/server/solr/configsets/dspace/statistics
exec solr -f
volumes:
assetstore:
pgdata:
solr_data:
# Special volume used to share Solr configs from 'dspace' to 'dspacesolr' container (see above)
solr_configs:

View File

@@ -1,11 +1,47 @@
#
# The contents of this file are subject to the license and copyright
# detailed in the LICENSE and NOTICE files at the root of the source
# tree and available online at
#
# http://www.dspace.org/license/
#
# Docker Compose for running the DSpace backend for testing/development
# This is based heavily on the docker-compose.yml that is available in the DSpace/DSpace
# (Backend) at:
# https://github.com/DSpace/DSpace/blob/main/docker-compose.yml
version: '3.7'
networks: networks:
dspacenet: dspacenet:
ipam:
config:
# Define a custom subnet for our DSpace network, so that we can easily trust requests from host to container.
# If you customize this value, be sure to customize the 'proxies.trusted.ipranges' env variable below.
- subnet: 172.23.0.0/16
services: services:
# DSpace (backend) webapp container
dspace: dspace:
container_name: dspace container_name: dspace
environment:
# Below syntax may look odd, but it is how to override dspace.cfg settings via env variables.
# See https://github.com/DSpace/DSpace/blob/main/dspace/config/config-definition.xml
# __P__ => "." (e.g. dspace__P__dir => dspace.dir)
# __D__ => "-" (e.g. google__D__metadata => google-metadata)
# dspace.dir, dspace.server.url, dspace.ui.url and dspace.name
dspace__P__dir: /dspace
dspace__P__server__P__url: http://localhost:8080/server
dspace__P__ui__P__url: http://localhost:4000
dspace__P__name: 'DSpace Started with Docker Compose'
# db.url: Ensure we are using the 'dspacedb' image for our database
db__P__url: 'jdbc:postgresql://dspacedb:5432/dspace'
# solr.server: Ensure we are using the 'dspacesolr' image for Solr
solr__P__server: http://dspacesolr:8983/solr
# proxies.trusted.ipranges: This setting is required for a REST API running in Docker to trust requests
# from the host machine. This IP range MUST correspond to the 'dspacenet' subnet defined above.
proxies__P__trusted__P__ipranges: '172.23.0'
image: dspace/dspace:dspace-7_x-test
depends_on: depends_on:
- dspacedb - dspacedb
image: dspace/dspace:dspace-7_x-test
networks: networks:
dspacenet: dspacenet:
ports: ports:
@@ -15,28 +51,42 @@ services:
tty: true tty: true
volumes: volumes:
- assetstore:/dspace/assetstore - assetstore:/dspace/assetstore
- "./local.cfg:/dspace/config/local.cfg" # Mount DSpace's solr configs to a volume, so that we can share to 'dspacesolr' container (see below)
# Ensure that the database is ready before starting tomcat - solr_configs:/dspace/solr
# Ensure that the database is ready BEFORE starting tomcat
# 1. While a TCP connection to dspacedb port 5432 is not available, continue to sleep
# 2. Then, run database migration to init database tables
# 3. Finally, start Tomcat
entrypoint: entrypoint:
- /bin/bash - /bin/bash
- '-c' - '-c'
- | - |
while (!</dev/tcp/dspacedb/5432) > /dev/null 2>&1; do sleep 1; done;
/dspace/bin/dspace database migrate /dspace/bin/dspace database migrate
catalina.sh run catalina.sh run
# DSpace database container
dspacedb: dspacedb:
container_name: dspacedb container_name: dspacedb
image: dspace/dspace-postgres-pgcrypto
environment: environment:
PGDATA: /pgdata PGDATA: /pgdata
image: dspace/dspace-postgres-pgcrypto
networks: networks:
dspacenet: dspacenet:
ports:
- published: 5432
target: 5432
stdin_open: true stdin_open: true
tty: true tty: true
volumes: volumes:
- pgdata:/pgdata - pgdata:/pgdata
# DSpace Solr container
dspacesolr: dspacesolr:
container_name: dspacesolr container_name: dspacesolr
image: dspace/dspace-solr # Uses official Solr image at https://hub.docker.com/_/solr/
image: solr:8.11-slim
# Needs main 'dspace' container to start first to guarantee access to solr_configs
depends_on:
- dspace
networks: networks:
dspacenet: dspacenet:
ports: ports:
@@ -44,16 +94,34 @@ services:
target: 8983 target: 8983
stdin_open: true stdin_open: true
tty: true tty: true
working_dir: /var/solr/data
volumes: volumes:
- solr_authority:/opt/solr/server/solr/authority/data # Mount our "solr_configs" volume available under the Solr's configsets folder (in a 'dspace' subfolder)
- solr_oai:/opt/solr/server/solr/oai/data # This copies the Solr configs from main 'dspace' container into 'dspacesolr' via that volume
- solr_search:/opt/solr/server/solr/search/data - solr_configs:/opt/solr/server/solr/configsets/dspace
- solr_statistics:/opt/solr/server/solr/statistics/data # Keep Solr data directory between reboots
version: '3.7' - solr_data:/var/solr/data
# Initialize all DSpace Solr cores using the mounted local configsets (see above), then start Solr
# * First, run precreate-core to create the core (if it doesn't yet exist). If exists already, this is a no-op
# * Second, copy updated configs from mounted configsets to this core. If it already existed, this updates core
# to the latest configs. If it's a newly created core, this is a no-op.
entrypoint:
- /bin/bash
- '-c'
- |
init-var-solr
precreate-core authority /opt/solr/server/solr/configsets/dspace/authority
cp -r -u /opt/solr/server/solr/configsets/dspace/authority/* authority
precreate-core oai /opt/solr/server/solr/configsets/dspace/oai
cp -r -u /opt/solr/server/solr/configsets/dspace/oai/* oai
precreate-core search /opt/solr/server/solr/configsets/dspace/search
cp -r -u /opt/solr/server/solr/configsets/dspace/search/* search
precreate-core statistics /opt/solr/server/solr/configsets/dspace/statistics
cp -r -u /opt/solr/server/solr/configsets/dspace/statistics/* statistics
exec solr -f
volumes: volumes:
assetstore: assetstore:
pgdata: pgdata:
solr_authority: solr_data:
solr_oai: # Special volume used to share Solr configs from 'dspace' to 'dspacesolr' container (see above)
solr_search: solr_configs:
solr_statistics:

View File

@@ -1,53 +0,0 @@
networks:
dspacenet:
services:
dspace:
container_name: dspace
depends_on:
- dspacedb
image: dspace/dspace:dspace-7_x-test
networks:
dspacenet:
ports:
- published: 8080
target: 8080
stdin_open: true
tty: true
volumes:
- assetstore:/dspace/assetstore
- "./local.cfg:/dspace/config/local.cfg"
dspacedb:
container_name: dspacedb
environment:
LOADSQL: https://www.dropbox.com/s/xh3ack0vg0922p2/configurable-entities-2019-05-08.sql?dl=1
PGDATA: /pgdata
image: dspace/dspace-postgres-pgcrypto:loadsql
networks:
dspacenet:
stdin_open: true
tty: true
volumes:
- pgdata:/pgdata
dspacesolr:
container_name: dspacesolr
image: dspace/dspace-solr
networks:
dspacenet:
ports:
- published: 8983
target: 8983
stdin_open: true
tty: true
volumes:
- solr_authority:/opt/solr/server/solr/authority/data
- solr_oai:/opt/solr/server/solr/oai/data
- solr_search:/opt/solr/server/solr/search/data
- solr_statistics:/opt/solr/server/solr/statistics/data
version: '3.7'
volumes:
assetstore:
pgdata:
solr_authority:
solr_oai:
solr_search:
solr_statistics:

View File

@@ -1,3 +1,14 @@
#
# The contents of this file are subject to the license and copyright
# detailed in the LICENSE and NOTICE files at the root of the source
# tree and available online at
#
# http://www.dspace.org/license/
#
# Docker Compose for running the DSpace Angular UI for testing/development
# Requires also running a REST API backend (either locally or remotely),
# for example via 'docker-compose-rest.yml'
version: '3.7' version: '3.7'
networks: networks:
dspacenet: dspacenet:
@@ -5,22 +16,24 @@ services:
dspace-angular: dspace-angular:
container_name: dspace-angular container_name: dspace-angular
environment: environment:
DSPACE_HOST: dspace-angular DSPACE_UI_SSL: 'false'
DSPACE_NAMESPACE: / DSPACE_UI_HOST: dspace-angular
DSPACE_PORT: '3000' DSPACE_UI_PORT: '4000'
DSPACE_SSL: "false" DSPACE_UI_NAMESPACE: /
image: dspace/dspace-angular:latest DSPACE_REST_SSL: 'false'
DSPACE_REST_HOST: localhost
DSPACE_REST_PORT: 8080
DSPACE_REST_NAMESPACE: /server
image: dspace/dspace-angular:dspace-7_x
build: build:
context: .. context: ..
dockerfile: Dockerfile dockerfile: Dockerfile
networks: networks:
dspacenet: dspacenet:
ports: ports:
- published: 3000 - published: 4000
target: 3000 target: 4000
- published: 9876 - published: 9876
target: 9876 target: 9876
stdin_open: true stdin_open: true
tty: true tty: true
volumes:
- ./environment.dev.js:/app/config/environment.dev.js

View File

@@ -1,16 +0,0 @@
/*
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
module.exports = {
rest: {
ssl: false,
host: 'localhost',
port: 8080,
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
nameSpace: '/server/api'
}
};

View File

@@ -1,5 +0,0 @@
dspace.dir=/dspace
db.url=jdbc:postgresql://dspacedb:5432/dspace
dspace.server.url=http://localhost:8080/server
dspace.name=DSpace Started with Docker Compose
solr.server=http://dspacesolr:8983/solr

View File

@@ -1,58 +1,80 @@
# Configuration # Configuration
Default configuration file is located in `config/` folder. All configuration options should be listed in the default configuration file `config/environment.default.js`. Please do not change this file directly! To change the default configuration values, create local files that override the parameters you need to change: Default configuration file is located at `config/config.yml`. All configuration options should be listed in the default typescript file `src/config/default-app-config.ts`. Please do not change this file directly! To override the default configuration values, create local files that override the parameters you need to change. You can use `config.example.yml` as a starting point.
- Create a new `environment.dev.js` file in `config/` for `devel` environment; - Create a new `config.(dev or development).yml` file in `config/` for `development` environment;
- Create a new `environment.prod.js` file in `config/` for `production` environment; - Create a new `config.(prod or production).yml` file in `config/` for `production` environment;
Some few configuration options can be overridden by setting environment variables. These and the variable names are listed below. Alternatively, create a desired app config file at an external location and set the path as environment variable `DSPACE_APP_CONFIG_PATH`.
e.g.
```
DSPACE_APP_CONFIG_PATH=/usr/local/dspace/config/config.yml
```
Configuration options can be overridden by setting environment variables.
## Nodejs server ## Nodejs server
When you start dspace-angular on node, it spins up an http server on which it listens for incoming connections. You can define the ip address and port the server should bind itsself to, and if ssl should be enabled not. By default it listens on `localhost:3000`. If you want it to listen on all your network connections, configure it to bind itself to `0.0.0.0`. When you start dspace-angular on node, it spins up an http server on which it listens for incoming connections. You can define the ip address and port the server should bind itsself to, and if ssl should be enabled not. By default it listens on `localhost:4000`. If you want it to listen on all your network connections, configure it to bind itself to `0.0.0.0`.
To change this configuration, change the options `ui.host`, `ui.port` and `ui.ssl` in the appropriate configuration file (see above): To change this configuration, change the options `ui.host`, `ui.port` and `ui.ssl` in the appropriate configuration file (see above):
```
module.exports = { ```yaml
// Angular Universal server settings. ui:
ui: { ssl: false
ssl: false, host: localhost
host: 'localhost', port: 4000
port: 3000, nameSpace: /
nameSpace: '/'
}
};
``` ```
Alternately you can set the following environment variables. If any of these are set, it will override all configuration files: Alternately you can set the following environment variables. If any of these are set, it will override all configuration files:
``` ```
DSPACE_SSL=true DSPACE_SSL=true
DSPACE_HOST=localhost DSPACE_HOST=localhost
DSPACE_PORT=3000 DSPACE_PORT=4000
DSPACE_NAMESPACE=/ DSPACE_NAMESPACE=/
``` ```
or
```
DSPACE_UI_SSL=true
DSPACE_UI_HOST=localhost
DSPACE_UI_PORT=4000
DSPACE_UI_NAMESPACE=/
```
## DSpace's REST endpoint ## DSpace's REST endpoint
dspace-angular connects to your DSpace installation by using its REST endpoint. To do so, you have to define the ip address, port and if ssl should be enabled. You can do this in a configuration file (see above) by adding the following options: dspace-angular connects to your DSpace installation by using its REST endpoint. To do so, you have to define the ip address, port and if ssl should be enabled. You can do this in a configuration file (see above) by adding the following options:
``` ```yaml
module.exports = { rest:
// The REST API server settings. ssl: true
rest: { host: api7.dspace.org
ssl: true, port: 443
host: 'dspace7.4science.it', nameSpace: /server
port: 443, }
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
nameSpace: '/dspace-spring-rest/api'
}
};
``` ```
Alternately you can set the following environment variables. If any of these are set, it will override all configuration files: Alternately you can set the following environment variables. If any of these are set, it will override all configuration files:
``` ```
DSPACE_REST_SSL=true DSPACE_REST_SSL=true
DSPACE_REST_HOST=localhost DSPACE_REST_HOST=api7.dspace.org
DSPACE_REST_PORT=3000 DSPACE_REST_PORT=443
DSPACE_REST_NAMESPACE=/ DSPACE_REST_NAMESPACE=/server
```
## Environment variable naming convention
Settings can be set using the following convention for naming the environment variables:
1. replace all `.` with `_`
2. convert all characters to upper case
3. prefix with `DSPACE_`
e.g.
```
cache.msToLive.default => DSPACE_CACHE_MSTOLIVE_DEFAULT
auth.ui.timeUntilIdle => DSPACE_AUTH_UI_TIMEUNTILIDLE
``` ```
## Supporting analytics services other than Google Analytics ## Supporting analytics services other than Google Analytics
@@ -62,4 +84,5 @@ Angulartics can be configured to work with a number of other services besides Go
In order to start using one of these services, select it from the [Angulartics Providers page](https://angulartics.github.io/angulartics2/#providers), and follow the instructions on how to configure it. In order to start using one of these services, select it from the [Angulartics Providers page](https://angulartics.github.io/angulartics2/#providers), and follow the instructions on how to configure it.
The Google Analytics script was added in [`main.browser.ts`](https://github.com/DSpace/dspace-angular/blob/ff04760f4af91ac3e7add5e7424a46cb2439e874/src/main.browser.ts#L33) instead of the `<head>` tag in `index.html` to ensure events get sent when the page is shown in a client's browser, and not when it's rendered on the universal server. Likely you'll want to do the same when adding a new service. The Google Analytics script was added in [`main.browser.ts`](https://github.com/DSpace/dspace-angular/blob/ff04760f4af91ac3e7add5e7424a46cb2439e874/src/main.browser.ts#L33) instead of the `<head>` tag in `index.html` to ensure events get sent when the page is shown in a client's browser, and not when it's rendered on the universal server. Likely you'll want to do the same when adding a new service.

View File

@@ -1,19 +0,0 @@
import { ProtractorPage } from './app.po';
describe('protractor App', () => {
let page: ProtractorPage;
beforeEach(() => {
page = new ProtractorPage();
});
it('should display translated title "DSpace Angular :: Home"', () => {
page.navigateTo();
expect<any>(page.getPageTitleText()).toEqual('DSpace Angular :: Home');
});
it('should contain a news section', () => {
page.navigateTo()
.then(() => expect<any>(page.getHomePageNewsText()).toBeDefined());
});
});

View File

@@ -1,16 +0,0 @@
import { browser, element, by } from 'protractor';
export class ProtractorPage {
navigateTo() {
return browser.get('/')
.then(() => browser.waitForAngular());
}
getPageTitleText() {
return browser.getTitle();
}
getHomePageNewsText() {
return element(by.css('ds-home-news')).getText();
}
}

View File

@@ -1,19 +0,0 @@
import { ProtractorPage } from './pagenotfound.po';
describe('protractor PageNotFound', () => {
let page: ProtractorPage;
beforeEach(() => {
page = new ProtractorPage();
});
it('should contain element ds-pagenotfound when navigating to page that doesnt exist', () => {
page.navigateToNonExistingPage();
expect<any>(page.elementTagExists('ds-pagenotfound')).toEqual(true);
});
it('should not contain element ds-pagenotfound when navigating to existing page', () => {
page.navigateToExistingPage();
expect<any>(page.elementTagExists('ds-pagenotfound')).toEqual(false);
});
});

View File

@@ -1,18 +0,0 @@
import { browser, element, by } from 'protractor';
export class ProtractorPage {
HOMEPAGE = '/home';
NONEXISTINGPAGE = '/e9019a69-d4f1-4773-b6a3-bd362caa46f2';
navigateToNonExistingPage() {
return browser.get(this.NONEXISTINGPAGE);
}
navigateToExistingPage() {
return browser.get(this.HOMEPAGE);
}
elementTagExists(tag: string) {
return element(by.tagName(tag)).isPresent();
}
}

View File

@@ -1,46 +0,0 @@
import { ProtractorPage } from './search-navbar.po';
import { browser } from 'protractor';
describe('protractor SearchNavbar', () => {
let page: ProtractorPage;
let queryString: string;
beforeEach(() => {
page = new ProtractorPage();
queryString = 'the test query';
});
it('should go to search page with correct query if submitted (from home)', () => {
page.navigateToHome();
return checkIfSearchWorks();
});
it('should go to search page with correct query if submitted (from search)', () => {
page.navigateToSearch();
return checkIfSearchWorks();
});
it('check if can submit search box with pressing button', () => {
page.navigateToHome();
page.expandAndFocusSearchBox();
page.setCurrentQuery(queryString);
page.submitNavbarSearchForm();
browser.wait(() => {
return browser.getCurrentUrl().then((url: string) => {
return url.indexOf('query=' + encodeURI(queryString)) !== -1;
});
});
});
function checkIfSearchWorks(): boolean {
page.setCurrentQuery(queryString);
page.submitByPressingEnter();
browser.wait(() => {
return browser.getCurrentUrl().then((url: string) => {
return url.indexOf('query=' + encodeURI(queryString)) !== -1;
});
});
return false;
}
});

View File

@@ -1,35 +0,0 @@
import { browser, by, element, protractor } from 'protractor';
import { promise } from 'selenium-webdriver';
export class ProtractorPage {
HOME = '/home';
SEARCH = '/search';
navigateToHome() {
return browser.get(this.HOME);
}
navigateToSearch() {
return browser.get(this.SEARCH);
}
getCurrentQuery(): promise.Promise<string> {
return element(by.css('#search-navbar-container form input')).getAttribute('value');
}
expandAndFocusSearchBox() {
element(by.css('#search-navbar-container form a')).click();
}
setCurrentQuery(query: string) {
element(by.css('#search-navbar-container form input[name="query"]')).sendKeys(query);
}
submitNavbarSearchForm() {
element(by.css('#search-navbar-container form .submit-icon')).click();
}
submitByPressingEnter() {
element(by.css('#search-navbar-container form input[name="query"]')).sendKeys(protractor.Key.ENTER);
}
}

View File

@@ -1,56 +0,0 @@
import { ProtractorPage } from './search-page.po';
import { browser } from 'protractor';
import { promise } from 'selenium-webdriver';
describe('protractor SearchPage', () => {
let page: ProtractorPage;
beforeEach(() => {
page = new ProtractorPage();
});
it('should contain query value when navigating to page with query parameter', () => {
const queryString = 'Interesting query string';
page.navigateToSearchWithQueryParameter(queryString)
.then(() => page.getCurrentQuery())
.then((query: string) => {
expect<string>(query).toEqual(queryString);
});
});
it('should have right scope selected when navigating to page with scope parameter', () => {
page.navigateToSearch()
.then(() => page.getRandomScopeOption())
.then((scopeString: string) => {
page.navigateToSearchWithScopeParameter(scopeString);
page.getCurrentScope().then((s: string) => {
expect<string>(s).toEqual(scopeString);
});
});
});
it('should redirect to the correct url when scope was set and submit button was triggered', () => {
page.navigateToSearch()
.then(() => page.getRandomScopeOption())
.then((scopeString: string) => {
page.setCurrentScope(scopeString);
page.submitSearchForm();
browser.wait(() => {
return browser.getCurrentUrl().then((url: string) => {
return url.indexOf('scope=' + encodeURI(scopeString)) !== -1;
});
});
});
});
it('should redirect to the correct url when query was set and submit button was triggered', () => {
const queryString = 'Another interesting query string';
page.setCurrentQuery(queryString);
page.submitSearchForm();
browser.wait(() => {
return browser.getCurrentUrl().then((url: string) => {
return url.indexOf('query=' + encodeURI(queryString)) !== -1;
});
});
});
});

View File

@@ -1,49 +0,0 @@
import { browser, by, element, protractor } from 'protractor';
import { promise } from 'selenium-webdriver';
export class ProtractorPage {
SEARCH = '/search';
navigateToSearch() {
return browser.get(this.SEARCH);
}
navigateToSearchWithQueryParameter(query: string) {
return browser.get(this.SEARCH + '?query=' + query);
}
navigateToSearchWithScopeParameter(scope: string) {
return browser.get(this.SEARCH + '?scope=' + scope);
}
getCurrentScope(): promise.Promise<string> {
const scopeSelect = element(by.css('#search-form select'));
browser.wait(protractor.ExpectedConditions.presenceOf(scopeSelect), 10000);
return scopeSelect.getAttribute('value');
}
getCurrentQuery(): promise.Promise<string> {
return element(by.css('#search-form input')).getAttribute('value');
}
setCurrentScope(scope: string) {
element(by.css('#search-form option[value="' + scope + '"]')).click();
}
setCurrentQuery(query: string) {
element(by.css('#search-form input[name="query"]')).sendKeys(query);
}
submitSearchForm() {
element(by.css('#search-form button.search-button')).click();
}
getRandomScopeOption(): promise.Promise<string> {
const options = element(by.css('select[name="scope"]')).all(by.tagName('option'));
return options.count().then((c: number) => {
const index: number = Math.floor(Math.random() * (c - 1));
return options.get(index + 1).getAttribute('value');
});
}
}

View File

@@ -1,16 +0,0 @@
{
"compileOnSave": false,
"compilerOptions": {
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"module": "commonjs",
"moduleResolution": "node",
"outDir": "../dist/out-tsc-e2e",
"sourceMap": true,
"target": "es5",
"typeRoots": [
"../node_modules/@types"
]
}
}

View File

@@ -1,176 +1,38 @@
/** // Karma configuration file, see link for more information
* @author: @AngularClass // https://karma-runner.github.io/1.0/config/configuration-file.html
*/
module.exports = function (config) { module.exports = function (config) {
config.set({
var testWebpackConfig = require('./webpack/webpack.test.js')({
env: 'test'
});
// Uncomment and change to run tests on a remote Selenium server
var webdriverConfig = {
hostname: 'localhost',
port: 4444
};
var configuration = {
client: {
jasmine: {
random: false
}
},
// base path that will be used to resolve all patterns (e.g. files, exclude)
basePath: '', basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
/*
* Frameworks to use
*
* available frameworks: https://npmjs.org/browse/keyword/karma-adapter
*/
frameworks: ['jasmine'],
plugins: [ plugins: [
require("istanbul-instrumenter-loader"),
require('karma-chrome-launcher'),
require('karma-coverage'),
require("karma-istanbul-preprocessor"),
require('karma-jasmine'), require('karma-jasmine'),
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'),
require('@angular-devkit/build-angular/plugins/karma'),
require('karma-mocha-reporter'), require('karma-mocha-reporter'),
require('karma-phantomjs-launcher'),
require('karma-remap-coverage'),
require('karma-remap-istanbul'),
require('karma-sourcemap-loader'),
require('karma-webdriver-launcher'),
require('karma-webpack')
], ],
client: {
// list of files to exclude clearContext: false, // leave Jasmine Spec Runner output visible in browser
exclude: [], captureConsole: false
/*
* list of files / patterns to load in the browser
*
* we are building the test environment in ./spec-bundle.js
*/
files: [{
pattern: './spec-bundle.js',
watched: false,
}],
/*
* preprocess matching files before serving them to the browser
* available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
*/
preprocessors: {
'./spec-bundle.js': [
'istanbul',
'webpack',
'sourcemap'
]
}, },
coverageIstanbulReporter: {
// Webpack Config at ./webpack.test.js dir: require('path').join(__dirname, './coverage/dspace-angular'),
webpack: testWebpackConfig, reports: ['html', 'lcovonly', 'text-summary'],
fixWebpackSourcePaths: true
// save interim raw coverage report in memory
coverageReporter: {
type: 'in-memory'
}, },
reporters: ['mocha', 'kjhtml', 'coverage-istanbul'],
remapCoverageReporter: {
'text-summary': null, // to show summary in console
html: './coverage/html',
cobertura: './coverage/cobertura.xml'
},
remapIstanbulReporter: {
remapOptions: {}, //additional remap options
reports: {
json: './coverage/coverage.json',
lcovonly: './coverage/lcov.info',
html: './coverage/html/',
}
},
/**
* Webpack please don't spam the console when running in karma!
*/
webpackMiddleware: {
/**
* webpack-dev-middleware configuration
* i.e.
*/
noInfo: true,
/**
* and use stats to turn off verbose output
*/
stats: {
/**
* options i.e.
*/
chunks: false
}
},
/*
* test results reporter to use
*
* possible values: 'dots', 'progress'
* available reporters: https://npmjs.org/browse/keyword/karma-reporter
*/
reporters: [
'mocha',
'coverage',
'remap-coverage',
'karma-remap-istanbul'
],
// Karma web server port
port: 9876,
// enable / disable colors in the output (reporters and logs)
colors: true,
/*
* level of logging
* possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
*/
logLevel: config.LOG_WARN,
// enable / disable watching file and executing tests whenever any file changes
autoWatch: false,
/*
* start these browsers
* available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
*/
browsers: [
'Chrome'
],
customLaunchers: {
// Remote Selenium Server with Chrome - launcher
'SeleniumChrome': {
base: 'WebDriver',
config: webdriverConfig,
browserName: 'chrome'
},
// Remote Selenium Server with Firefox - launcher
'SeleniumFirefox': {
base: 'WebDriver',
config: webdriverConfig,
browserName: 'firefox'
}
},
mochaReporter: { mochaReporter: {
ignoreSkipped: true ignoreSkipped: true,
output: 'autowatch'
}, },
port: 9876,
browserNoActivityTimeout: 30000 colors: true,
logLevel: config.LOG_INFO,
}; autoWatch: true,
browsers: ['Chrome'],
config.set(configuration); singleRun: false,
restartOnFileChange: true
});
}; };

View File

@@ -1,9 +1,6 @@
{ {
"watch": [ "watch": [
"dist", "config"
"config",
"src/index.html"
], ],
"ext": "js ts json html", "ext": "json"
"delay": "50"
} }

View File

@@ -1,257 +1,206 @@
{ {
"name": "dspace-angular", "name": "dspace-angular",
"version": "0.0.1", "version": "7.5.0",
"description": "Angular Universal UI for DSpace",
"repository": {
"type": "git",
"url": "https://github.com/dspace/dspace-angular.git"
},
"license": "BSD-2-Clause",
"engines": {
"node": "10.* || >= 12.*"
},
"resolutions": {
"serialize-javascript": ">= 2.1.2",
"set-value": ">= 2.0.1"
},
"scripts": { "scripts": {
"global": "npm install -g @angular/cli marked node-gyp nodemon node-nightly npm-check-updates npm-run-all rimraf typescript ts-node typedoc webpack webpack-bundle-analyzer pm2 rollup", "ng": "ng",
"config:watch": "nodemon",
"test:rest": "ts-node --project ./tsconfig.ts-node.json scripts/test-rest.ts",
"start": "yarn run start:prod",
"start:dev": "nodemon --exec \"cross-env NODE_ENV=development yarn run serve\"",
"start:prod": "yarn run build:prod && cross-env NODE_ENV=production yarn run serve:ssr",
"start:mirador:prod": "yarn run build:mirador && yarn run start:prod",
"preserve": "yarn base-href",
"serve": "ts-node --project ./tsconfig.ts-node.json scripts/serve.ts",
"serve:ssr": "node dist/server/main",
"analyze": "webpack-bundle-analyzer dist/browser/stats.json",
"build": "ng build --configuration development",
"build:stats": "ng build --stats-json",
"build:prod": "yarn run build:ssr",
"build:ssr": "ng build --configuration production && ng run dspace-angular:server:production",
"test": "ng test --sourceMap=true --watch=false --configuration test",
"test:watch": "nodemon --exec \"ng test --sourceMap=true --watch=true --configuration test\"",
"test:headless": "ng test --sourceMap=true --watch=false --configuration test --browsers=ChromeHeadless --code-coverage",
"lint": "ng lint",
"lint-fix": "ng lint --fix=true",
"e2e": "ng e2e",
"clean:dev:config": "rimraf src/assets/config.json",
"clean:coverage": "rimraf coverage", "clean:coverage": "rimraf coverage",
"clean:dist": "rimraf dist", "clean:dist": "rimraf dist",
"clean:doc": "rimraf doc", "clean:doc": "rimraf doc",
"clean:log": "rimraf *.log*", "clean:log": "rimraf *.log*",
"clean:json": "rimraf *.records.json", "clean:json": "rimraf *.records.json",
"clean:bld": "rimraf build",
"clean:node": "rimraf node_modules", "clean:node": "rimraf node_modules",
"clean:prod": "yarn run clean:coverage && yarn run clean:doc && yarn run clean:dist && yarn run clean:log && yarn run clean:json && yarn run clean:bld", "clean:cli": "rimraf .angular/cache",
"clean": "yarn run clean:prod && yarn run clean:node", "clean:prod": "yarn run clean:dist && yarn run clean:log && yarn run clean:doc && yarn run clean:coverage && yarn run clean:json",
"prebuild": "yarn run clean:bld && yarn run clean:dist", "clean": "yarn run clean:prod && yarn run clean:dev:config && yarn run clean:cli && yarn run clean:node",
"prebuild:ci": "yarn run prebuild", "sync-i18n": "ts-node --project ./tsconfig.ts-node.json scripts/sync-i18n-files.ts",
"prebuild:prod": "yarn run prebuild", "build:mirador": "webpack --config webpack/webpack.mirador.config.ts",
"build": "node ./scripts/webpack.js --progress --mode development", "merge-i18n": "ts-node --project ./tsconfig.ts-node.json scripts/merge-i18n-files.ts",
"build:ci": "yarn run syncbuilddir && node ./scripts/webpack.js --env.aot --env.server --mode development && node ./scripts/webpack.js --env.aot --env.client --mode development", "cypress:open": "cypress open",
"build:prod": "yarn run syncbuilddir && node ./scripts/webpack.js --env.aot --env.server --mode production && node ./scripts/webpack.js --env.aot --env.client --mode production", "cypress:run": "cypress run",
"postbuild:prod": "yarn run rollup", "env:yaml": "ts-node --project ./tsconfig.ts-node.json scripts/env-to-yaml.ts",
"rollup": "rollup -c rollup.config.js", "base-href": "ts-node --project ./tsconfig.ts-node.json scripts/base-href.ts",
"prestart": "yarn run build:prod", "check-circ-deps": "npx madge --exclude '(bitstream|bundle|collection|config-submission-form|eperson|item|version)\\.model\\.ts$' --circular --extensions ts ./"
"prestart:dev": "yarn run build", },
"start": "yarn run server", "browser": {
"start:dev": "yarn run server", "fs": false,
"deploy": "pm2 start dist/server.js", "path": false,
"predeploy": "npm run build:prod", "http": false,
"preundeploy": "pm2 stop dist/server.js", "https": false
"undeploy": "pm2 delete dist/server.js", },
"postundeploy": "npm run clean:dist", "private": true,
"server": "node dist/server.js", "resolutions": {
"server:watch": "nodemon dist/server.js", "minimist": "^1.2.5",
"server:watch:debug": "nodemon --debug dist/server.js", "webdriver-manager": "^12.1.8",
"syncbuilddir": "node ./scripts/sync-build-dir.js", "ts-node": "10.2.1"
"webpack:watch": "node ./scripts/webpack.js -w --mode development",
"watch": "yarn run build && npm-run-all -p webpack:watch server:watch",
"watch:debug": "yarn run build && npm-run-all -p webpack:watch server:watch:debug",
"predebug": "yarn run build",
"predebug:server": "yarn run build",
"debug": "node --debug-brk dist/server.js",
"debug:server": "node-nightly --inspect --debug-brk dist/server.js",
"debug:build": "node-nightly --inspect --debug-brk node_modules/webpack/bin/webpack.js --mode development",
"debug:build:prod": "node-nightly --inspect --debug-brk node_modules/webpack/bin/webpack.js --env.aot --env.client --env.server --mode production",
"ci": "yarn run lint && yarn run build:ci && yarn run test:headless && npm-run-all -p -r server e2e",
"protractor": "node node_modules/protractor/bin/protractor",
"pree2e": "yarn run webdriver:update",
"e2e": "yarn run protractor",
"pretest": "yarn run clean:bld",
"pretest:headless": "yarn run pretest",
"pretest:watch": "yarn run pretest",
"test": "karma start --single-run",
"test:headless": "karma start --single-run --browsers ChromeHeadless",
"test:watch": "karma start --no-single-run --auto-watch",
"webdriver:start": "node node_modules/protractor/bin/webdriver-manager start --seleniumPort 4444",
"webdriver:update": "node node_modules/protractor/bin/webdriver-manager update --standalone --gecko false",
"lint": "tslint \"src/**/*.ts\" && tslint \"e2e/**/*.ts\"",
"docs": "typedoc --options typedoc.json ./src/",
"coverage": "http-server -c-1 -o -p 9875 ./coverage",
"postinstall": "yarn run patch-protractor",
"patch-protractor": "ncp node_modules/webdriver-manager node_modules/protractor/node_modules/webdriver-manager",
"sync-i18n": "node ./scripts/sync-i18n-files.js"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "^8.2.14", "@angular/animations": "~13.3.12",
"@angular/cdk": "8.2.3", "@angular/cdk": "^13.2.6",
"@angular/cli": "^8.3.25", "@angular/common": "~13.3.12",
"@angular/common": "^8.2.14", "@angular/compiler": "~13.3.12",
"@angular/core": "^8.2.14", "@angular/core": "~13.3.12",
"@angular/forms": "^8.2.14", "@angular/forms": "~13.3.12",
"@angular/platform-browser": "^8.2.14", "@angular/localize": "13.3.12",
"@angular/platform-browser-dynamic": "^8.2.14", "@angular/platform-browser": "~13.3.12",
"@angular/platform-server": "^8.2.14", "@angular/platform-browser-dynamic": "~13.3.12",
"@angular/router": "^8.2.14", "@angular/platform-server": "~13.3.12",
"@angularclass/bootloader": "1.0.1", "@angular/router": "~13.3.12",
"@ng-bootstrap/ng-bootstrap": "^5.2.1", "@babel/runtime": "7.17.2",
"@ng-dynamic-forms/core": "8.1.1", "@kolkov/ngx-gallery": "^2.0.1",
"@ng-dynamic-forms/ui-ng-bootstrap": "8.1.1", "@material-ui/core": "^4.11.0",
"@ngrx/effects": "^8.6.0", "@material-ui/icons": "^4.9.1",
"@ngrx/router-store": "^8.6.0", "@ng-bootstrap/ng-bootstrap": "^11.0.0",
"@ngrx/store": "^8.6.0", "@ng-dynamic-forms/core": "^15.0.0",
"@nguniversal/express-engine": "^8.2.6", "@ng-dynamic-forms/ui-ng-bootstrap": "^15.0.0",
"@ngx-translate/core": "11.0.1", "@ngrx/effects": "^13.0.2",
"@ngx-translate/http-loader": "4.0.0", "@ngrx/router-store": "^13.0.2",
"@nicky-lenaers/ngx-scroll-to": "^3.0.1", "@ngrx/store": "^13.0.2",
"@nguniversal/express-engine": "^13.0.2",
"@ngx-translate/core": "^13.0.0",
"@nicky-lenaers/ngx-scroll-to": "^13.0.0",
"@types/grecaptcha": "^3.0.4",
"angular-idle-preload": "3.0.0", "angular-idle-preload": "3.0.0",
"angular2-text-mask": "9.0.0", "angulartics2": "^12.0.0",
"angulartics2": "7.5.2", "axios": "^0.27.2",
"body-parser": "1.18.2", "bootstrap": "^4.6.1",
"bootstrap": "4.3.1",
"cerialize": "0.1.18", "cerialize": "0.1.18",
"compression": "1.7.1", "cli-progress": "^3.8.0",
"cookie-parser": "1.4.3", "colors": "^1.4.0",
"core-js": "^3.6.4", "compression": "^1.7.4",
"debug-loader": "^0.0.1", "cookie-parser": "1.4.5",
"express": "4.16.2", "core-js": "^3.7.0",
"express-session": "1.15.6", "date-fns": "^2.29.3",
"fast-json-patch": "^2.0.7", "date-fns-tz": "^1.3.7",
"file-saver": "^1.3.8", "deepmerge": "^4.2.2",
"font-awesome": "4.7.0", "ejs": "^3.1.8",
"fork-ts-checker-webpack-plugin": "^0.4.10", "express": "^4.17.1",
"hammerjs": "^2.0.8", "express-rate-limit": "^5.1.3",
"http-server": "0.11.1", "fast-json-patch": "^3.0.0-1",
"https": "1.0.0", "filesize": "^6.1.0",
"js-cookie": "2.2.0", "http-proxy-middleware": "^1.0.5",
"js.clone": "0.0.3", "isbot": "^3.6.5",
"json5": "^2.1.0", "js-cookie": "2.2.1",
"jsonschema": "1.2.2", "js-yaml": "^4.1.0",
"jwt-decode": "^2.2.0", "json5": "^2.2.2",
"methods": "1.1.2", "jsonschema": "1.4.0",
"moment": "^2.22.1", "jwt-decode": "^3.1.2",
"moment-range": "^4.0.2", "klaro": "^0.7.18",
"morgan": "^1.9.1", "lodash": "^4.17.21",
"ng-mocks": "^8.1.0", "lru-cache": "^7.14.1",
"ng2-file-upload": "1.2.1", "markdown-it": "^13.0.1",
"ng2-nouislider": "^1.8.2", "markdown-it-mathjax3": "^4.3.1",
"ngx-bootstrap": "^5.3.2", "mirador": "^3.3.0",
"ngx-infinite-scroll": "6.0.1", "mirador-dl-plugin": "^0.13.0",
"ngx-moment": "^3.4.0", "mirador-share-plugin": "^0.11.0",
"ngx-pagination": "3.0.3", "morgan": "^1.10.0",
"ngx-sortablejs": "^3.1.4", "ng-mocks": "^13.1.1",
"nouislider": "^11.0.0", "ng2-file-upload": "1.4.0",
"pem": "1.13.2", "ng2-nouislider": "^1.8.3",
"ngx-infinite-scroll": "^10.0.1",
"ngx-pagination": "5.0.0",
"ngx-sortablejs": "^11.1.0",
"ngx-ui-switch": "^13.0.2",
"nouislider": "^14.6.3",
"pem": "1.14.4",
"prop-types": "^15.7.2",
"react-copy-to-clipboard": "^5.0.1",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
"rxjs": "6.5.4", "rxjs": "^7.5.5",
"rxjs-spy": "^7.5.1", "sanitize-html": "^2.7.2",
"sass-resources-loader": "^2.0.0", "sortablejs": "1.13.0",
"sortablejs": "1.7.0", "uuid": "^8.3.2",
"text-mask-core": "5.0.1",
"ts-loader": "^5.2.1",
"ts-md5": "^1.2.4",
"url-parse": "^1.4.7",
"uuid": "^3.2.1",
"webfontloader": "1.6.28", "webfontloader": "1.6.28",
"webpack-cli": "^3.2.0", "zone.js": "~0.11.5"
"zone.js": "^0.9.1"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "^0.803.25", "@angular-builders/custom-webpack": "~13.1.0",
"@angular/compiler": "^8.2.14", "@angular-devkit/build-angular": "~13.3.10",
"@angular/compiler-cli": "^8.2.14", "@angular-eslint/builder": "13.1.0",
"@fortawesome/fontawesome-free": "^5.5.0", "@angular-eslint/eslint-plugin": "13.1.0",
"@ngrx/entity": "^8.6.0", "@angular-eslint/eslint-plugin-template": "13.1.0",
"@ngrx/schematics": "^8.6.0", "@angular-eslint/schematics": "13.1.0",
"@ngrx/store-devtools": "^8.6.0", "@angular-eslint/template-parser": "13.1.0",
"@ngtools/webpack": "^8.3.25", "@angular/cli": "~13.3.10",
"@schematics/angular": "^0.7.5", "@angular/compiler-cli": "~13.3.12",
"@types/acorn": "^4.0.3", "@angular/language-service": "~13.3.12",
"@types/cookie-parser": "1.4.1", "@cypress/schematic": "^1.5.0",
"@types/deep-freeze": "0.1.1", "@fortawesome/fontawesome-free": "^6.2.1",
"@types/express": "^4.11.1", "@ngrx/store-devtools": "^13.0.2",
"@types/express-serve-static-core": "4.16.0", "@ngtools/webpack": "^13.2.6",
"@types/file-saver": "^1.3.0", "@nguniversal/builders": "^13.1.1",
"@types/hammerjs": "2.0.35", "@types/deep-freeze": "0.1.2",
"@types/jasmine": "^3.3.9", "@types/ejs": "^3.1.1",
"@types/js-cookie": "2.1.0", "@types/express": "^4.17.9",
"@types/json5": "^0.0.30", "@types/jasmine": "~3.6.0",
"@types/lodash": "^4.14.110", "@types/js-cookie": "2.2.6",
"@types/memory-cache": "0.2.0", "@types/lodash": "^4.14.165",
"@types/mime": "2.0.0", "@types/node": "^14.14.9",
"@types/node": "^11.11.2", "@types/sanitize-html": "^2.6.2",
"@types/serve-static": "1.13.2", "@typescript-eslint/eslint-plugin": "5.11.0",
"@types/uuid": "^3.4.3", "@typescript-eslint/parser": "5.11.0",
"@types/webfontloader": "1.6.29", "axe-core": "^4.4.3",
"@typescript-eslint/eslint-plugin": "^2.12.0", "compression-webpack-plugin": "^9.2.0",
"@typescript-eslint/parser": "^2.12.0", "copy-webpack-plugin": "^6.4.1",
"ajv": "^6.1.1", "cross-env": "^7.0.3",
"ajv-keywords": "^3.1.0", "cypress": "9.7.0",
"angular2-template-loader": "0.6.2", "cypress-axe": "^0.14.0",
"autoprefixer": "^9.1.3",
"caniuse-lite": "^1.0.30000697",
"cli-progress": "^3.3.1",
"codelyzer": "^5.1.0",
"commander": "^3.0.2",
"compression-webpack-plugin": "^3.0.1",
"copy-webpack-plugin": "^5.1.1",
"copyfiles": "^2.1.1",
"coveralls": "3.0.0",
"css-loader": "3.4.0",
"cssnano": "^4.1.10",
"deep-freeze": "0.0.1", "deep-freeze": "0.0.1",
"eslint": "^6.7.2", "eslint": "^8.2.0",
"exports-loader": "^0.7.0", "eslint-plugin-deprecation": "^1.3.2",
"html-webpack-plugin": "3.2.0", "eslint-plugin-import": "^2.25.4",
"imports-loader": "0.8.0", "eslint-plugin-jsdoc": "^39.6.4",
"istanbul-instrumenter-loader": "3.0.1", "eslint-plugin-lodash": "^7.4.0",
"jasmine-core": "^3.3.0", "eslint-plugin-unused-imports": "^2.0.0",
"jasmine-marbles": "0.3.1", "express-static-gzip": "^2.1.5",
"jasmine-spec-reporter": "4.2.1", "jasmine-core": "^3.8.0",
"karma": "4.0.1", "jasmine-marbles": "0.9.2",
"karma-chrome-launcher": "2.2.0", "karma": "^6.3.14",
"karma-cli": "2.0.0", "karma-chrome-launcher": "~3.1.0",
"karma-coverage": "1.1.2", "karma-coverage-istanbul-reporter": "~3.0.2",
"karma-istanbul-preprocessor": "0.0.2", "karma-jasmine": "~4.0.0",
"karma-jasmine": "2.0.1", "karma-jasmine-html-reporter": "^1.5.0",
"karma-mocha-reporter": "2.2.5", "karma-mocha-reporter": "2.2.5",
"karma-phantomjs-launcher": "1.0.4", "ngx-mask": "^13.1.7",
"karma-remap-coverage": "^0.1.5", "nodemon": "^2.0.20",
"karma-remap-istanbul": "0.6.0", "postcss": "^8.1",
"karma-sourcemap-loader": "0.3.7", "postcss-apply": "0.12.0",
"karma-webdriver-launcher": "^1.0.7", "postcss-import": "^14.0.0",
"karma-webpack": "3.0.0", "postcss-loader": "^4.0.3",
"ncp": "^2.0.0", "postcss-preset-env": "^7.4.2",
"nodemon": "^1.15.0",
"npm-run-all": "4.1.3",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"postcss": "^7.0.2",
"postcss-apply": "0.11.0",
"postcss-cli": "^6.0.0",
"postcss-cssnext": "3.1.0",
"postcss-loader": "^3.0.0",
"postcss-responsive-type": "1.0.0", "postcss-responsive-type": "1.0.0",
"postcss-smart-import": "0.7.6", "react": "^16.14.0",
"protractor": "^5.4.2", "react-dom": "^16.14.0",
"protractor-istanbul-plugin": "2.0.0", "rimraf": "^3.0.2",
"raw-loader": "0.5.1", "rxjs-spy": "^8.0.2",
"rimraf": "2.6.2", "sass": "~1.33.0",
"rollup": "^0.65.0", "sass-loader": "^12.6.0",
"rollup-plugin-commonjs": "^9.1.6", "sass-resources-loader": "^2.1.1",
"rollup-plugin-node-globals": "1.2.1", "ts-node": "^8.10.2",
"rollup-plugin-node-resolve": "^3.0.3", "typescript": "~4.5.5",
"rollup-plugin-terser": "^2.0.2", "webpack": "^5.69.1",
"sass-loader": "7.3.1", "webpack-bundle-analyzer": "^4.4.0",
"script-ext-html-webpack-plugin": "2.1.4", "webpack-cli": "^4.2.0",
"source-map": "0.7.3", "webpack-dev-server": "^4.5.0"
"source-map-loader": "0.2.4",
"string-replace-loader": "^2.1.1",
"terser-webpack-plugin": "^2.3.1",
"to-string-loader": "1.1.5",
"ts-helpers": "1.1.2",
"ts-node": "4.1.0",
"tslint": "5.11.0",
"typedoc": "^0.9.0",
"typescript": "3.5.3",
"webdriver-manager": "^12.1.7",
"webpack": "^4.29.6",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-dev-middleware": "3.2.0",
"webpack-dev-server": "^3.1.11",
"webpack-import-glob-loader": "^1.6.3",
"webpack-merge": "4.1.4",
"webpack-node-externals": "1.7.2"
} }
} }

View File

@@ -1,7 +1,7 @@
module.exports = { module.exports = {
plugins: [ plugins: [
require('postcss-smart-import')(), require('postcss-import')(),
require('postcss-cssnext')(), require('postcss-preset-env')(),
require('postcss-apply')(), require('postcss-apply')(),
require('postcss-responsive-type')() require('postcss-responsive-type')()
] ]

View File

@@ -1,92 +0,0 @@
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/docs/referenceConf.js
/*global jasmine */
var SpecReporter = require('jasmine-spec-reporter').SpecReporter;
exports.config = {
allScriptsTimeout: 600000,
// -----------------------------------------------------------------
// Uncomment to run tests using a remote Selenium server
//seleniumAddress: 'http://selenium.address:4444/wd/hub',
// Change to 'false' to run tests using a remote Selenium server
directConnect: true,
// Change if the website to test is not on the localhost
baseUrl: 'http://localhost:3000/',
// -----------------------------------------------------------------
specs: [
'./e2e/**/*.e2e-spec.ts'
],
// -----------------------------------------------------------------
// Browser and Capabilities: PhantomJS
// -----------------------------------------------------------------
// capabilities: {
// 'browserName': 'phantomjs',
// 'version': '',
// 'platform': 'ANY'
// },
// -----------------------------------------------------------------
// Browser and Capabilities: Chrome
// -----------------------------------------------------------------
capabilities: {
'browserName': 'chrome',
'version': '',
'platform': 'ANY',
'chromeOptions': {
'args': [ '--headless', '--disable-gpu' ]
}
},
// -----------------------------------------------------------------
// Browser and Capabilities: Firefox
// -----------------------------------------------------------------
// capabilities: {
// 'browserName': 'firefox',
// 'version': '',
// 'platform': 'ANY'
// },
// -----------------------------------------------------------------
// Browser and Capabilities: MultiCapabilities
// -----------------------------------------------------------------
//multiCapabilities: [
// {
// 'browserName': 'phantomjs',
// 'version': '',
// 'platform': 'ANY'
// },
// {
// 'browserName': 'chrome',
// 'version': '',
// 'platform': 'ANY'
// }
// {
// 'browserName': 'firefox',
// 'version': '',
// 'platform': 'ANY'
// }
//],
plugins: [{
path: 'node_modules/protractor-istanbul-plugin'
}],
framework: 'jasmine',
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 600000,
print: function () {}
},
useAllAngular2AppRoots: true,
beforeLaunch: function () {
require('ts-node').register({
project: 'e2e'
});
},
onPrepare: function () {
jasmine.getEnv().addReporter(new SpecReporter({
spec: {
displayStacktrace: true
}
}));
}
};

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More