Commit Graph

10236 Commits

Author SHA1 Message Date
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
cf77726866 Fix enter not submitting collection form correctly
Fixed it for communities, collections, ePersons & groups
2023-07-01 01:01:57 +02:00
Alexandre Vryghem
b2b1782cd8 Hide entity field in collection form when entities aren't initialized 2023-06-30 22:43:46 +02:00
Alexandre Vryghem
02a20c8862 103236: Added tests for setStaleByHrefSubstring 2023-06-30 17:01:25 +02:00
Art Lowel
ae6b183fae 103236: fix issue where setStaleByHrefSubtring wouldn't emit after all requests were stale 2023-06-30 16:56:15 +02:00
Kim Shepherd
a35b7d8356 catch and handle unsuccessful "convert rels to items" responses 2023-06-29 16:33:42 +02:00
Yury Bondarenko
c0f43bc585 ESLint: fix rxjs/no-implicit-any-catch
In most cases we can deal with the untyped errors by introducing an explicit instanceof check

DspaceRestService includes an unsafe catch/rethrow → made it explicitly typed as `any`, but it should be revisited at some point
2023-06-28 16:30:38 +02:00
Yury Bondarenko
2cad56c51f Fix tests
PaginationComponent: expected arguments of updateRoute were out of sync with (fixed) types
GroupFormComponent:  groupBeingEdited is never set to null
2023-06-28 09:42:49 +02:00
Yury Bondarenko
0633460107 ESLint: fix object-curly-spacing 2023-06-27 17:30:02 +02:00
Yury Bondarenko
a11be65f95 ESlint: fix imports 2023-06-27 17:20:06 +02:00
Yury Bondarenko
917c36dbe7 ESLint: fix dangling commas 2023-06-27 17:19:58 +02:00
Yury Bondarenko
0690a201dc ESLint: fix indentation 2023-06-27 17:19:55 +02:00
Yury Bondarenko
1b717e1a5c ESLint: fix RxJs rule violations (pt. 1) 2023-06-27 17:19:53 +02:00
Yury Bondarenko
8a650a2fb5 ESlint: fix eqeqeq violations 2023-06-27 17:19:45 +02:00
Yury Bondarenko
741c6009f4 ESLint: fix no-negated-async violations 2023-06-27 17:19:01 +02:00
Yury Bondarenko
74e9e5fa14 ESLint: fix ban-types violations 2023-06-27 16:47:09 +02:00
Yury Bondarenko
6f0c1e003d ESLint: fix no-extra-boolean-cast violations 2023-06-27 16:47:09 +02:00
Yury Bondarenko
0f1ebfba62 ESLint: fix no-case-declaration violations 2023-06-27 16:47:09 +02:00
Yury Bondarenko
95d3ff6569 ESLint: fix prefer-const violations 2023-06-27 16:47:09 +02:00
Alexandre Vryghem
928d7a45a3 103176: Fix vcr not being defined yet in OnInit hook 2023-06-27 15:26:49 +02:00
Alexandre Vryghem
7998ef489c 101731: Make ConfirmationModalComponent not dependent on DSpaceObject 2023-06-23 23:38:06 +02:00
Alexandre Vryghem
e5c142ef04 Merge remote-tracking branch 'upstream/main' into improve-confirmation-modal_contribute-main
# Conflicts:
#	src/app/access-control/epeople-registry/eperson-form/eperson-form.component.ts
2023-06-23 23:17:42 +02:00
Tim Donohue
990bde43ab Merge pull request #2336 from atmire/w2p-103005_variable-overwrite-fix_contribution
Fix background-color overwrite issue
2023-06-23 10:01:53 -05:00
Tim Donohue
db526a0c25 Merge pull request #2331 from tdonohue/ssr_redirect_301
Implement basic 301 Redirect for DSpace 6.x URLs when SSR is used.
2023-06-23 08:59:30 -05:00
lotte
d4a59dd51c Merge branch 'w2p-103005_variable-overwrite-fix' 2023-06-23 12:07:22 +02:00
lotte
3d133f6166 103005: Fixed issue where bg colours couldn't be overwritten in themes 2023-06-23 11:50:05 +02:00
Tim Donohue
5331ff68db Merge pull request #2330 from doana/dynamic-scrollable-dropdown-accessibility
Add the ability to expand / collapse via keyboard
2023-06-22 15:23:33 -05:00
Tim Donohue
d4a5308d0c Refactor to use HardRedirectService. Update its redirect method to support optional statusCode 2023-06-22 13:37:14 -05:00
Alisa Ismailati
47e7eb1a4f [DURACOM-170] Fixed "add collection" behavior 2023-06-22 12:14:15 +02:00
Tim Donohue
0fe33eecd1 Implement basic 301 Redirect when SSR is used. 2023-06-21 15:36:59 -05:00
Adam Doan
275b057b40 Add the ability to expand / collapse via keyboard 2023-06-21 17:37:22 +00:00
Art Lowel
499bfe3154 Merge pull request #2277 from paulo-graca/bugfix/addressing-#2276
new project metadata representation component
2023-06-21 09:19:06 +02:00
Tim Donohue
5d39026eb7 Merge pull request #2245 from mwoodiupui/themeable-request-copy
Make some request-copy components themeable.
2023-06-20 16:27:45 -05:00
Tim Donohue
ee3e5ca14c Merge pull request #2316 from alanorth/item-count-style
src/app: adjust item count style
2023-06-20 16:13:26 -05:00
Tim Donohue
834893249c Merge pull request #2326 from 4Science/DURACOM-160
[DURACOM-160] Hide "Send feedback" link when CanSendFeedback is false
2023-06-20 15:50:59 -05:00
Alan Orth
07a8024daa src/app: adjust item count style
Minor adjustment to community and collection item counts. Instead of
using the Bootstrap `lead` class, which reduces weight but increases
size, we should use the same badge / pill style used in other counts
like on on the browse by pages.
2023-06-20 22:33:11 +03:00
Paulo Graça
5c10e473e9 Merge branch 'main' into bugfix/addressing-#2276 2023-06-20 17:07:13 +01:00
Paulo Graça
1919f976f4 adding support for DSONameService 2023-06-20 15:30:56 +01:00
Tim Donohue
2fa8ab5365 Merge pull request #2322 from alanorth/english-strings
src/assets/i18n: update English strings
2023-06-20 09:27:43 -05:00
Tim Donohue
157eedade4 Merge pull request #2288 from atmire/add-referrer-to-pageview-event-7.6.0-next
Add referrer to pageview event
2023-06-20 09:20:42 -05:00
Paulo Graça
f471957c4c adding support for DSONameService 2023-06-20 14:06:48 +01:00
Paulo Graça
72eaf35de1 adding support for DSONameService 2023-06-20 13:35:12 +01:00
Paulo Graça
e6fdc4597a change param name in typescript doc 2023-06-20 10:34:34 +01:00
Paulo Graça
130c3c9496 addressing styling issue 2023-06-20 10:33:03 +01:00
Paulo Graça
82d17d795f add support for dsoNameService 2023-06-20 10:24:53 +01:00
Paulo Graça
52dbb21339 include the project metadata representation component 2023-06-19 15:37:35 +01:00
Davide Negretti
4eb2297910 [DURACOM-160] Hide "Send feedback" link when CanSendFeedback is false 2023-06-19 13:24:10 +02:00