Commit Graph

7254 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Tim Donohue
335d613df7 Ensure all data is read, not just first chunk 2022-09-12 12:53:03 -05: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
Yury Bondarenko
c32e4ad7c7 93803: Add tests for create, search & put 2022-09-12 14:15:28 +02:00
Yury Bondarenko
abc9bbeae3 Revert "93803: Update DataService constructor signatures"
This reverts commit a6fb4a6303.
2022-09-12 12:29:04 +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
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
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
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
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
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
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
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
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
Yura Bondarenko
77eb6c1807 Remove unused imports 2022-09-02 10:11:05 +02:00
Tim Donohue
342a712513 Merge pull request #1790 from arvoConsultores/main
Spanish translation updated
2022-09-01 13:47:35 -05: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
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