Commit Graph

10236 Commits

Author SHA1 Message Date
Tim Donohue
26ecc03584 Merge pull request #2897 from 4Science/DURACOM-247
Fixes for #2891 #2889
2024-04-10 12:17:03 -05:00
Giuseppe Digilio
a8fcfa2550 Merge branch 'refs/heads/DURACOM-247' into DURACOM-248-ANGULAR-17 2024-04-09 09:29:19 +02:00
Giuseppe Digilio
b2f94b515a [DURACOM-247] Fix lint 2024-04-08 23:08:04 +02:00
Giuseppe Digilio
883ceeae27 [DURACOM-247] Refactored by using a map of promises 2024-04-08 23:04:47 +02:00
Giuseppe Digilio
115445a6ab [DURACOM-247] Move local variable within if statement 2024-04-08 22:25:01 +02:00
Giuseppe Digilio
2a3a13e293 [DURACOM-247] Refactored by providing the map of promises 2024-04-08 19:21:20 +02:00
lotte
903af2ccdb 113500: Fixed lint issues 2024-04-08 10:40:45 +02:00
Toni Prieto
07d30ff931 Create the model before displaying the vocabulary fields in edit item page 2024-04-05 15:48:27 +02:00
Giuseppe Digilio
aac61785d3 [DURACOM-247] Add condition to check function is not null 2024-04-05 12:23:18 +02:00
Giuseppe Digilio
297b5f504c Merge branch 'main' into DURACOM-248-ANGULAR-17
# Conflicts:
#	yarn.lock
2024-04-05 09:56:18 +02:00
Giuseppe Digilio
d2ec558ac2 [DURACOM-247] Move check for initialized token to request effects 2024-04-05 09:43:47 +02:00
Yury Bondarenko
6203055c7a Merge remote-tracking branch 'origin/main' into disable-inline-css 2024-04-05 09:28:45 +02:00
Giuseppe Digilio
40204328ad [DURACOM-247] Resolve CodeQL alert 2024-04-04 18:21:38 +02:00
Yury Bondarenko
ac48a49273 Merge remote-tracking branch 'origin/main' into poc-eslint-plugin-autofix-selectors 2024-04-04 18:15:28 +02:00
Tim Donohue
7ebda4a7ed Merge pull request #2887 from DSpace/rename-ds7-2-ds8
Renaming DSpace to DSpace 8
2024-04-04 10:45:51 -05:00
Paulo Graça
00798934d6 Renaming to DS8 2024-04-04 15:47:38 +01:00
Paulo Graça
dbf222248a Renaming DSpace to DSpace 8 2024-04-04 15:37:04 +01:00
Alexandre Vryghem
d9a6f6d018 Merge branch 'w2p-112970_added-missing-breadcrumbs_contribute-7.4' into main 2024-04-04 16:07:02 +02:00
Alexandre Vryghem
60d93e653f 113938: Added missing comcol structure to workspace/workflow item breadcrumbs 2024-04-04 12:07:29 +02:00
Giuseppe Digilio
c327bf744b [DURACOM-234] Fix merge with main 2024-04-04 09:58:10 +02:00
Giuseppe Digilio
32f1d1096a Merge branch 'main' into DURACOM-234
# Conflicts:
#	src/app/core/data/request.service.ts
#	src/modules/app/browser-app.config.ts
#	src/modules/app/server-app.config.ts
2024-04-04 09:32:38 +02:00
lotte
bff5de066b Merge branch 'w2p-113500_submission-describe-warning-7.6' into w2p-113500_submission-describe-warning_contribution 2024-04-03 19:05:34 +02:00
Giuseppe Digilio
35714b7a45 [DURACOM-234] rename guards in order to be complaint to function name convention 2024-04-03 18:57:11 +02:00
Giuseppe Digilio
f1686d5499 [DURACOM-234] rename resolvers in order to be complaint to function name convention 2024-04-03 18:48:14 +02:00
Tim Donohue
f7d31fd341 Fix tests. Add XSRFService to all specs which need it to be initialized 2024-04-03 11:48:13 -05:00
Tim Donohue
cc6b159a8a Update code to use GET request. Cleanup lint errors & add in basic TypeDocs 2024-04-03 10:25:43 -05:00
Art Lowel
617c7d8756 make a call to ensure a correct XSRF token before performing any non-GET requests 2024-04-03 09:46:45 -05:00
Giuseppe Digilio
aba04913ce [DURACOM-234] Replace Observable with BehaviorSubject 2024-04-02 18:54:39 +02:00
Giuseppe Digilio
660cf7e4dd [DURACOM-234] Remove assertions on isResponsePending in favour of remote data operators 2024-04-02 18:54:00 +02:00
Giuseppe Digilio
b49d883e0b [DURACOM-234] fix my-dspace.guard 2024-04-02 18:51:00 +02:00
Giuseppe Digilio
b8c26a71c3 [DURACOM-234] Fixes after migrating to functional guards 2024-04-02 18:45:57 +02:00
Alexandre Vryghem
fb8733ca0b 113901: Store the retrieved Relationships in the store
This needs to be done here too, since tilted relationships won't be returned by the api/core/items/{uuid}/relationships endpoint
2024-04-02 17:39:44 +02:00
Giuseppe Digilio
026e16ffd9 [DURACOM-234] Fix tests 2024-04-02 15:28:19 +02:00
Giuseppe Digilio
32b816c1aa [DURACOM-234] Made use of mapToCanActivate for all the guards which are still Class 2024-04-02 13:13:25 +02:00
Giuseppe Digilio
19548fc6d4 [DURACOM-234] Move resolver dependency to relate functional one 2024-04-02 12:31:32 +02:00
Giuseppe Digilio
6a4ad7bdb4 [DURACOM-234] Fix resolver name 2024-04-02 12:28:49 +02:00
Giuseppe Digilio
29f5a17528 [DURACOM-234] Migrate to functional guards WIP 2024-03-29 18:28:32 +01:00
Giuseppe Digilio
5dbc6ce7a8 [DURACOM-237] Fix issue on drag end 2024-03-29 12:47:03 +01:00
Giuseppe Digilio
1f4aca800b [DURACOM-234] Migrate fo functional resolver 2024-03-28 23:34:37 +01:00
Yury Bondarenko
a6e093038c Manual fix: use base components in unit test templates
`Themed*` components should be used in the actual codebase to ensure we retain theme support.
However, in unit tests these components won't work without a fully-functional `ThemeService` & `Store`.

For this reason, the lint plugin allows `ds-base-*` selectors in unit test templates.
2024-03-28 18:52:06 +01:00
Yury Bondarenko
762e4616cc Manual fix: sync removed imports between tests and components
The automatic migration made it so HTML always uses the `Themed*` component, and it must therefore be imported in all standalone components that use it.
Afterwards, many unit tests fail because the removed imports no longer match up (can't inject `ThemeService`).

While we could try to support this as part of the automatic migration, there are too many edge cases for this to be consistent.
2024-03-28 18:52:06 +01:00
Yury Bondarenko
0b9741d252 Manual fix: update i/o for ThemedConfigurationSearchPageComponent
Fixes compile-time errors due to out-of-sync inputs and outputs between ThemedConfigurationSearchPageComponent and SearchComponent

(note that this is was an existing problem in the source code that flew under the radar until we flipped the selector convention!)
2024-03-28 18:52:06 +01:00
Yury Bondarenko
6051b82821 Automatically migrate to new themeable component convention 2024-03-28 18:33:46 +01:00
Giuseppe Digilio
549609e2ea [DURACOM-234] Fix Markdown Config 2024-03-28 16:49:14 +01:00
Giuseppe Digilio
abae9b9246 [DURACOM-234] WIP fix SSR 2024-03-28 16:37:42 +01:00
Giuseppe Digilio
3cb000db7c Merge branch 'DURACOM-234' into DURACOM-234-ANGULAR-17
# Conflicts:
#	src/main.server.ts
2024-03-27 14:22:42 +01:00
lotte
722bd6f7f5 113500: Fixed lint error 2024-03-27 14:15:20 +01:00
lotte
4e0046022b 113500: Fixed tests after bugfix 2024-03-27 14:07:55 +01:00
lotte
993ce1ab16 113500: Fix for warning on first describe step 2024-03-27 13:27:44 +01:00
Giuseppe Digilio
a8c3af097d [DURACOM-234] Switch to standalone bootstrapping API 2024-03-26 20:52:26 +01:00