Commit Graph

9281 Commits

Author SHA1 Message Date
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
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
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
Tim Donohue
884aa07430 Update version tag for development of next release 2023-06-23 13:04:19 -05:00
Tim Donohue
404ccd9b0e Update version tag for release dspace-7.6 2023-06-23 12:54:41 -05: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
Tim Donohue
9a5e26f640 Merge pull request #2334 from 4Science/fix-bistream-download-cache
fix for bitstreams are not visible to crawlers when caching is enabled
2023-06-23 08:56:02 -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
Giuseppe Digilio
163014306c [DURACOM-172] improve regex 2023-06-23 09:23:28 +02:00
Giuseppe Digilio
d9857a7a9a Merge branch 'main' into fix-bistream-download-cache 2023-06-23 09:16:17 +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
Giuseppe Digilio
6a58e49fb4 [DURACOM-172] add check to save only successful response into the SSR cache 2023-06-22 18:16:53 +02:00
Tim Donohue
661b4aef9d Merge pull request #2332 from 4Science/DURACOM-170
"Add Collection"  form loads
2023-06-22 11:10:39 -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
Paulo Graça
1caeecaa50 Merge branch 'main' into bugfix/addressing-#2276 2023-06-19 09:51:46 +01:00
Alan Orth
00aa0271f2 src/assets/i18n: update English strings
Re-word two messages for better English and consistency with other
similar strings.
2023-06-19 09:50:46 +03:00
Tim Donohue
471051dd59 Merge pull request #2319 from misilot/patch-1
Fix typo for the word Series
2023-06-16 16:36:52 -05:00
Tim Donohue
d728cc227d Merge pull request #2292 from rsaraivac/portuguese_pt-PT-message-keys
Portuguese (pt_PT) translation keys update
2023-06-16 16:13:30 -05:00