Commit Graph

7311 Commits

Author SHA1 Message Date
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
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
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
Tim Donohue
f6d2014bf4 Merge pull request #1751 from DSpace/dependabot/npm_and_yarn/moment-2.29.4
Bump moment from 2.29.2 to 2.29.4
2022-08-09 13:18:47 -05:00
Tim Donohue
5342d0921d Merge pull request #1715 from atmire/w2p-92701_issue-1506-gdpr-privacy-config
Option to disable gdpr / privacy statements
2022-08-09 09:40:59 -05:00
Yura Bondarenko
ba7ecf432b Add TypeDocs to ThemeService 2022-08-09 16:04:29 +02:00
Yura Bondarenko
4870d818f6 Fix license header 2022-08-09 15:47:19 +02:00
Sufiyan Shaikh
8dc356a658 Merge branch 'main' of bitbucket.org:4Science/dspace-angular into CST-6565 2022-08-09 15:20:00 +05:30
Sufiyan Shaikh
bf48971047 [CST-6565] LYRASIS7: Cookie consent shows analytics usage also when GA is disabled 2022-08-09 15:10:59 +05:30
Yana De Pauw
9e67b7f7a5 93657: Add admin option to export all fields in the metadata export 2022-08-09 11:25:32 +02:00
Tim Donohue
2e59e1e775 Merge pull request #1742 from yingjin/DS-1730
fix missing space between author names MyDspace our submissions #1730
2022-08-08 16:05:59 -05:00
dependabot[bot]
ed0204ab9c Bump moment from 2.29.2 to 2.29.4
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 15:56:19 +00:00
Tim Donohue
0bc31fc48e Merge pull request #1734 from DSpace/dependabot/npm_and_yarn/terser-4.8.1
Bump terser from 4.8.0 to 4.8.1
2022-08-08 10:55:46 -05:00
Jens Vannerum
4dcf6a345a 92701: Fix privacy string for klaro and add documentation 2022-08-05 13:12:52 +02:00
Michael Spalti
f4c0f79288 Lint errors. 2022-08-04 12:10:45 -07:00
Michael Spalti
2ac8d4140f Html template updated. 2022-08-04 11:24:15 -07:00
Michael Spalti
7afa4dcd8d New themable components 2022-08-04 11:21:14 -07:00
Jens Vannerum
f2e977c402 92701: Redirect / dead link fixes 2022-08-03 15:15:45 +02:00
Ying Jin
3d5f7bb061 fix missing space between author names MyDspace our submissions #1730 2022-07-31 17:25:53 -05:00
Yura Bondarenko
250043fde8 Fix LGTM issues 2022-07-29 16:58:11 +02:00
Yura Bondarenko
4403555c29 Merge remote-tracking branch 'origin/main' into w2p-93219_Consolidate-all-initialization-in-a-single-Service 2022-07-29 16:42:21 +02:00
Yura Bondarenko
ca87f09625 Update specs 2022-07-29 15:51:23 +02:00
Tim Donohue
bfbe38974b Merge pull request #1724 from atmire/w2p-93011_Fix-researcher-profile-cache-issue
Fix researcher profile cache issue
2022-07-28 10:03:31 -05:00
Tim Donohue
f80e72df9a Merge pull request #1708 from toniprieto/translate-accept-license-step
Make label and error messages for license-step accept-checkbox translatable
2022-07-27 15:54:53 -05:00
Tim Donohue
6b36412f6c Merge pull request #1674 from atmire/w2p-91272_Add-themed-components-to-upstream-branch
Add more themed components
2022-07-27 13:53:29 -05:00
Yura Bondarenko
67b4cce25d 92319: Move Klaro & GA steps to BrowserInitService 2022-07-26 09:51:59 +02:00
Alexandre Vryghem
c7a88f99d6 Center expandable navbar section in header 2022-07-26 00:34:19 +02:00