Commit Graph

7447 Commits

Author SHA1 Message Date
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
lotte
317c615b30 Fixed lgtm issue 2022-08-25 17:12:57 +02:00
Yana De Pauw
72852dd031 Fix test 2022-08-25 17:05:34 +02:00
Yura Bondarenko
ee26084d6a Fix unused imports 2022-08-25 15:53:13 +02:00
Yura Bondarenko
a77b1da804 92900: Patch start:dev CLI arguments through to ng serve 2022-08-25 15:44:27 +02:00
Yana De Pauw
d5605e43d4 Merge remote-tracking branch 'upstream/main' into w2p-93914_delete-process 2022-08-25 15:34:00 +02:00
Yana De Pauw
ca341e53b4 Close modal on process delete success 2022-08-25 15:33:23 +02:00
Yura Bondarenko
db169251df 92900: Update docs & specs for AuthRequestService 2022-08-25 14:03:59 +02:00
Yura Bondarenko
e464c0f8c7 92900: Move duplicate code to new InitService method 2022-08-25 14:03:58 +02:00
Sergio Fernández Celorio
528c4c31ea Spanish translation updated 2022-08-25 11:41:24 +00:00
Yura Bondarenko
fbaab69121 93803: Ensure data services are called *DataService 2022-08-25 10:28:45 +02:00
Yura Bondarenko
05b131edb9 93803: Rename findAllByHref to findListByHref
To avoid confusion with FindAllData:
- findAll is a "feature" to retrieve all resources from the endpoint itself ~ a plain GET
- findAllByHref is retrieves lists of resources in general
2022-08-25 10:28:45 +02:00
Yura Bondarenko
ad316f7316 93803: Resolve circular dependency
src/app/core/cache/builders/build-decorators.ts > src/app/core/data/base/hal-data-service.interface.ts > src/app/core/data/paginated-list.model.ts
2022-08-25 10:28:44 +02:00
Yura Bondarenko
a76555c518 93803: Stricter typing for dataService decorator & LinkService
The initial idea was to type dataService decorator strictly to BaseDataService.
However, HrefOnlyDataService should not expose methods other than findByHref & findAllByHref, but must still work with LinkService.

To address this we introduce HALDataService: an interface with the minimal requirements for a data service to work with HAL links
- dataService decorator can only decorate a class that implements HALDataService
- services retrieved from DATA_SERVICE_FACTORY should therefore work in LinkService
2022-08-24 19:03:19 +02:00
Yura Bondarenko
cd4ed018dd 93803: Remove legacy DataService class 2022-08-24 19:03:19 +02:00
Yura Bondarenko
42a2c3c7e2 93803: Refactor existing data services 2022-08-24 19:03:19 +02:00
Yura Bondarenko
8f4b3b58fb 93803: Make data services composable
Data services should extend BaseDataService (or IdentifiableDataService) for low-level functionality and optionally wrap "data service feature" classes for
- create
- findAll
- patch / update
- put
- delete
2022-08-24 19:03:18 +02:00
Tim Donohue
9a5a7c1306 Merge pull request #1788 from tdonohue/enable_swedish
Enable Swedish language
2022-08-24 11:37:48 -05:00
Tim Donohue
cb4620e536 Enable Swedish language 2022-08-24 10:42:37 -05:00
Urban Andersson
bd4190d4fc Swedish language file for DSpace 7 (#1673)
* Added Swedish language file

* Small fix

* Added translations

* Added translations

* More translations

* Translations

* Translations

* Translations

* Translations

* Translations

* Translations

* More Swedish translations

* Corrections to Swedish translations

* Corrections to Swedish translations

* Minor language fixes

* Minor changes to Swedish translation

* Restored tr.json5
2022-08-24 10:39:06 -05:00
Tim Donohue
282d0a770d Merge pull request #1768 from atmire/w2p-93882_Moved-3rd-party-css-imports-to-seperate-file
Moved 3rd party css imports to separate file
2022-08-24 10:21:03 -05:00
Hardy Pottinger
50828e9c06 Enable responsive font sizes
- adds enable-responsive-font-sizes toggle to the main bootstrap
  variables scss file
- [docs available](https://getbootstrap.com/docs/4.4/content/typography/#responsive-font-sizes)
2022-08-23 15:17:40 -05:00
Art Lowel
4b20b0cb81 force initservices to wait until authentication is no longer blocking 2022-08-23 17:50:46 +02:00
Sufiyan Shaikh
cacce82b0a [CST-6565] check fixed 2022-08-22 17:03:55 +05:30
Sufiyan Shaikh
53dcd48e98 [CST-6565] path and check fixes 2022-08-22 15:28:55 +05:30
Mark H. Wood
b2feadc290 Satisfy lint. 2022-08-19 16:47:10 -04:00
Mark H. Wood
5ed369d097 Make create, edit community/collection/item dialogs theme-able. 2022-08-19 16:23:20 -04:00
Tim Donohue
ca4f2cc5c0 Merge pull request #1756 from atmire/Admin-export-all-fields
Add admin option to export all fields in the metadata export
2022-08-19 13:10:48 -05:00
lotte
78598dc1b5 93665: Fixed lint issue 2022-08-19 11:15:37 +02:00
lotte
606995881f 93665: fixes for post 7.2 and updated back button for browse by pages 2022-08-19 11:05:08 +02:00
Yana De Pauw
f8e1db4987 93914: Add the ability to delete processes 2022-08-18 14:04:59 +02:00
corrado lombardi
8c40ed42da [CST-6110] fix lint error 2022-08-18 09:33:39 +02:00
Tim Donohue
d9facf5fb7 Merge pull request #1773 from tdonohue/fix_gendered_lang
Remove/replace gendered language in code comments
2022-08-17 14:55:18 -05:00
Tim Donohue
35614d1473 Replace gendered language with generic equivalent 2022-08-17 14:12:33 -05:00
Alexandre Vryghem
d7fc14aba3 93889: Fixed issue with DataService.deleteByHref where the success response would not be emitted if it were set to stale first 2022-08-17 16:09:14 +02:00
Alexandre Vryghem
762f8930b7 93889: Invalidate EPerson when their Groups change and groups when a subgroup is added 2022-08-17 16:04:51 +02:00
Nikunj Sharma
904c6168a8 CST-6110 changes for robust error message changed and clear message on paasword update 2022-08-17 13:39:09 +05:30
Mark H. Wood
7a3284f6bc Make the size of a browse result page configurable. 2022-08-16 16:32:38 -04:00
Nikunj Sharma
14dfba8118 Merge remote-tracking branch 'origin/main' into CST-6110 2022-08-16 17:53:08 +05:30
Alexandre Vryghem
c602a22f6c 93882: Move 3rd party css imports to separate file 2022-08-16 10:42:57 +02:00
lotte
27bb45b1bd Merge branch 'w2p-93665_fix-pagintion-in-metadata-browse-links-7.2' into w2p-93665_fix-pagintion-in-metadata-browse-links 2022-08-12 11:55:04 +02:00
lotte
092b3d862a 93665: fixed pagination in metadata browse links 2022-08-12 11:35:30 +02:00
Yana De Pauw
17ab269e25 Remove console log 2022-08-11 09:43:19 +02:00
corrado lombardi
a2e8b2a61c CST-6035 updated test 2022-08-10 18:49:01 +02:00
nikunj59
967f4a99b9 CST-6035 handled import query error 2022-08-10 17:18:08 +02:00