Alexandre Vryghem
873a8e16a3
101577: Ensure the component is always destroyed before rendering the new component
2023-07-24 23:42:55 +02:00
Tim Donohue
08ae7bfdba
Replace all old docker "dspace-7_x" tags with latest
2023-07-24 16:10:23 -05:00
Alexandre Vryghem
15656b03ce
Fix mathjax code being displayed twice
...
This was due to sanitizeHtml rendering the mjx-assistive-mml tag as text. This tag is used by screen readers and therefor we should allow it to be rendered
2023-07-21 23:18:40 +02:00
Alexandre Vryghem
75ec046bba
Hide the delete EPerson/Group buttons when the user can't delete the EPerson/Group
2023-07-21 18:34:42 +02:00
Alexandre Vryghem
998e1fac8d
Fix spacing issues for EPerson form buttons
2023-07-21 18:34:42 +02:00
Alexandre Vryghem
9ac19d40fc
Cleanup access-control components
...
- Use the same methods to retrieve the access-control urls
- Fix EPersonDataService.startEditingNewEPerson returning the incorrect link
2023-07-21 18:34:41 +02:00
Alexandre Vryghem
2a35180a1b
Created separate pages for edit & create EPersons
2023-07-21 17:15:10 +02:00
Mirko Scherf
b1df125166
fix(i18n): add and update missing status strings
...
New strings for status filter entries:
search.filters.namedresourcetype.*
Refactored strings introduced with #2068 (refactor badged),
e.g. mydspace.status.archived -> mydspace.status.mydspaceArchived
2023-07-21 10:43:13 +02:00
Yury Bondarenko
c9558167b2
Move subscription button to DSO edit menu
2023-07-20 18:19:48 +02:00
Mirko Scherf
8bf4ba8126
refactor: rename aletr-type.ts to alert-type.ts
2023-07-20 14:53:28 +02:00
Alexandre Vryghem
648925f3e1
104312: DsDynamicLookupRelationExternalSourceTabComponent should have the form value already filled in the search input
2023-07-19 14:04:34 +02:00
Alexandre Vryghem
776a44c321
Merge remote-tracking branch 'contributions/w2p-102415_Remote-lookup-entity-on-admin-edit_contribute-7.4' into dspace-7.6
2023-07-18 13:40:23 +02:00
Alexandre Vryghem
155cd2be6f
Merge branch 'w2p-102415_Remote-lookup-entity-on-admin-edit_contribute-7.2' into dspace-7.4
...
# Conflicts:
# src/app/shared/form/builder/ds-dynamic-form-ui/relation-lookup-modal/dynamic-lookup-relation-modal.component.ts
2023-07-18 12:53:56 +02:00
Marie Verdonck
cf9179d800
102415: Fix for import modal i18n labels
2023-07-18 12:01:32 +02:00
Marie Verdonck
a9c5c20c5a
102415: Provide all external sources of correct entity type in edit relationships ({item-page}/edit/relationship)
2023-07-18 12:01:32 +02:00
Kristof De Langhe
03e1f677b6
104126: ProcessDetailComponent test improvement
2023-07-17 15:12:42 +02:00
Alexandre Vryghem
8d84efb1a9
Fix AuthInterceptor no expectation tests
...
- Removed duplicate request
- Added expect().nothing() because httpMock.expectNone will throw an error when a request is made
2023-07-16 14:58:22 +02:00
Alexandre Vryghem
b8b9da2525
Fix BrowseByComponent no expectation tests
...
- Because the custom theme is disabled by default I replaced it with the dspace theme who is still enabled by default
- Because the child components use a themed component the changes need to be detected twice, this is a side effect from the component being created dynamically
2023-07-15 14:24:14 +02:00
Alexandre Vryghem
430b3b2e36
Fix TopLevelCommunityListComponent, CommunityPageSubCollectionListComponent, CommunityPageSubCommunityListComponent no expectation tests
...
Because their child components use a themed component the changes need to be detected twice, this is a side effect from the component being created dynamically
2023-07-15 10:25:53 +02:00
Alexandre Vryghem
4b1a8a90a6
Fix ObjectUpdatesEffects no expectation tests
...
Because of the switch from BehaviourSubject to Subject the tests always failed because of a timout because the previous state is not kept with Subject and should be manually triggered during the tests
2023-07-15 08:25:25 +02:00
Kristof De Langhe
45ad5f7316
104189: CSV export add fixedFilter
2023-07-12 16:32:56 +02:00
Kristof De Langhe
cac1407f08
104189: Allow CSV export on related entity search
2023-07-12 15:11:38 +02:00
Francesco Pio Scognamiglio
3c27e44429
Merged in CST-9779 (pull request #620 )
...
CST-9779 Provided changes to Title, repository name, added introduction text with links, as well added the small icon for coar-notify inside the navbar.
Approved-by: Andrea Bollini
2023-07-11 07:40:02 +00:00
Eike Martin Löhden
e3f57dae44
Included user-menu component in custom theme.
2023-07-10 15:54:09 +02:00
Eike Martin Löhden
ed84f45132
Replaced tags for ds-user-menu.
2023-07-10 15:38:32 +02:00
Eike Martin Löhden
63582cfa0d
Corrected missing semicolon.
2023-07-10 15:34:25 +02:00
Eike Martin Löhden
23aefb7385
Added themed-user-menu component.
2023-07-10 15:29:14 +02:00
Alexandre Vryghem
b7dfe0f23d
Fix EPersonDataService no expectation tests
...
- The store dispatch was not called through so the store was never updated
- To initialize the store using provideMockStore I rewrote the test to work through injection
2023-07-09 00:16:28 +02:00
Nona Luypaert
b5a70e8f95
Fix VocabularyTreeview not updating + i18n for nsi
2023-07-08 13:21:36 +02:00
Tim Donohue
db6edbf184
Merge pull request #2359 from tdonohue/docker_actions
...
GitHub Actions: Split Docker images into separate jobs to run in parallel. Enable 'latest' tag. (for dspace-angular)
2023-07-07 12:48:59 -05:00
Tim Donohue
3a83946278
Merge pull request #2358 from tdonohue/update_actions
...
Update GitHub Actions for 7.x maintenance (for dspace-angular)
2023-07-07 12:14:31 -05:00
Tim Donohue
effe181696
Split docker images into separate jobs to run in parallel. Ensure 'main' codebase is tagged as 'latest'
2023-07-07 12:05:56 -05:00
Tim Donohue
15be060665
Ensure codescan and label_merge_conflicts run on maintenance branches
2023-07-07 11:56:54 -05:00
Tim Donohue
5208008f95
Enable Pull Request Opened action to assign PRs to their creator
2023-07-07 11:56:47 -05:00
Yury Bondarenko
c0f9042a9c
Merge remote-tracking branch 'origin/main' into more-eslint
2023-07-07 17:30:46 +02:00
Tim Donohue
9de30d5612
Merge pull request #2355 from alanorth/request-copy-component-path-main
...
src/app: fix path to deny-request-copy component
2023-07-06 14:31:25 -05:00
Alan Orth
8ac1e9a283
src/app: fix path to deny-request-copy component
...
The themed-deny-request-copy.component erroneously includes the cus-
tom theme's deny-request-copy component instead of its own.
Closes: https://github.com/DSpace/dspace-angular/issues/2351
2023-07-06 20:46:32 +03:00
Alexandre Vryghem
c2010b5d5e
Fix SubscriptionsDataService no expectation tests
...
The test's searchData & the searchData from the SubscriptionsDataService were not linked
2023-07-04 13:12:03 +02:00
Alexandre Vryghem
c1875cade3
Add expect().nothing() to reducer tests without expectations, who only exist to check if an error is thrown
2023-07-04 13:12:03 +02:00
Alexandre Vryghem
b4a3882dcf
Fix findSuccessfulAccordingTo no expectation tests
...
- The isWithdrawn was set twice to mockItem1
- The expected observable was not correctly compared
2023-07-04 13:12:03 +02:00
Alexandre Vryghem
b83a0b3f9b
Fix SubmissionSectionUploadFileComponent no expectation tests
...
The fixture.whenStable() was not awaited
2023-07-04 13:12:03 +02:00
Alexandre Vryghem
a524805faf
Fix CommunitySearchResultListElementComponent no expectation tests
...
- Wrong css class was used
- The check to see if the offset was defined did not exist
2023-07-04 13:12:03 +02:00
Alexandre Vryghem
9d71171741
Fix ItemVersionsComponent no expectation tests
...
- The buttons are now not disabled anymore but hidden when you don't have the correct authorization
- Wrong css class was used for the edit buttons
2023-07-04 13:12:02 +02:00
Alexandre Vryghem
7ef3a914f9
Fix ItemComponent no expectation tests
...
- renamed `showBackButton` to `showBackButton$` because it's an observable
- `showBackButton$` only emits `true` when the back button should be shown, it does not emit `false` when it should be hidden, it just did nothing
2023-07-01 20:38:17 +02:00
Alexandre Vryghem
063c54e93f
Fix SearchHierarchyFilterComponent no expectation tests
...
Reverted the way you detect when an item is selected by using observables again instead of promises. The reason why it didn't work without the old observable approach was because `VocabularyTreeviewModalComponent` didn't have a `select` `@Output` like `VocabularyTreeviewComponent`
2023-07-01 20:38:17 +02:00
Alexandre Vryghem
e0db4284b3
Fix CollectionSearchResultListElementComponent no expectation tests
...
- Wrong css class was used
- The check to see if the offset was defined did not exist
2023-07-01 20:38:17 +02:00
Alexandre Vryghem
abc8640b5e
Fix MetadataRepresentationListElementComponent no expectation tests
...
Also fixed incorrect regex in isLink()
2023-07-01 20:38:16 +02:00
Alexandre Vryghem
3640d75e10
Fix objectUpdatesReducer no expectation tests
...
Added a expect().nothing() to the test who don't expect anything but just ensure that no error is thrown
2023-07-01 20:38:16 +02:00
Alexandre Vryghem
bfaea741d5
Throw error for tests without expectations
2023-07-01 13:31:51 +02:00
Alexandre Vryghem
cf77726866
Fix enter not submitting collection form correctly
...
Fixed it for communities, collections, ePersons & groups
2023-07-01 01:01:57 +02:00