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
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
Yura Bondarenko
ee26084d6a
Fix unused imports
2022-08-25 15:53:13 +02: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
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
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
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
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
Alexandre Vryghem
c7a88f99d6
Center expandable navbar section in header
2022-07-26 00:34:19 +02:00
Tim Donohue
4da017a0ee
Merge pull request #1735 from saschaszott/german-translations
...
fixed minor typo in German translation
2022-07-22 09:45:42 -05:00
Sascha Szott
7b48e7c91f
fixed typo
2022-07-21 12:02:07 +02:00
dependabot[bot]
577a92bc6b
Bump terser from 4.8.0 to 4.8.1
...
Bumps [terser](https://github.com/terser/terser ) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-21 02:25:52 +00:00
lotte
0ef2be6693
Merge branch 'make-collections-item-page-input_contribute-7.2' into w2p-91272_Add-themed-components-to-upstream-branch
2022-07-15 11:42:00 +02:00
lotte
e9372395f4
make collections on item page into an input
2022-07-15 11:41:38 +02:00
Tim Donohue
ea67a15784
Merge pull request #1709 from ybnd/Filter-webpack-warnings
...
Filter webpack warnings
2022-07-13 16:21:56 -05:00
Tim Donohue
13266ecf42
Merge pull request #1718 from Ianvdl/main
...
Rewrite English wording for the "Forgot password" page
2022-07-13 16:15:29 -05:00
Tim Donohue
0d582e5160
Merge pull request #1689 from pilasou/main
...
New french translations for some parameters.
2022-07-13 16:14:59 -05:00
Yura Bondarenko
517aee0e8c
93011: Make sure invalidateByHref doesn't track cache state
2022-07-11 18:41:53 +02:00
Yura Bondarenko
5013890b35
93011: Add test for invalidateByHref cache state tracking
...
This test is expected to fail and is be fixed in the next commit.
Currently, invalidateByHref calls keep tracking the cache and may cause objects to be invalidated a second time as soon as the cache is updated.
Practical example:
1. DELETE request
→ object is invalidated
2. POST request related to the same object
→ UUID of pending request is added to the object's cache entry
→ gets picked up by the previous invalidateByHref call
→ the request is set to stale even before it's completed
2022-07-11 18:40:41 +02:00
Pierre Lasou
02f309756d
Remove parameter from en.json5
...
Remove parameter "bitstream-request-a-copy.legal.warning" suggested in previous commit (72832e5e12
) as development to include it on the request a copy page has not been made.
2022-07-04 13:33:24 -04:00
Pierre Lasou
e0e9450f93
Removing parameter in fr.json5
...
Remove parameter bitstream-request-a-copy.legal.warning suggested in previous commit (977dbb38ef
) as development to include it on the request a copy page has not been made.
2022-07-04 13:30:55 -04:00
Pierre Lasou
4a4578474a
Update of fr.json5 after review comments
...
Following conversation with @mhvezina (https://github.com/DSpace/dspace-angular/pull/1689#issuecomment-1167372663 ), I removed all initially suggested french translation of "MyDSpace".
2022-07-04 12:20:50 -04:00
Alexandre Vryghem
0c1015dd58
Merge branch 'main' into w2p-91272_Add-themed-components-to-upstream-branch
2022-07-04 14:25:57 +02:00
Tim Donohue
fae355a713
Merge pull request #1717 from tdonohue/fix_1714
...
Cleanup descriptions in comments of example config to clarify "ui" and "rest" sections
2022-07-01 16:07:15 -05:00
ivdl
7ab5354ab8
Rewrite English wording for the "Forgot password" page
2022-07-01 22:23:49 +02:00
Tim Donohue
df00137c55
Cleanup descriptions in comments of example config
2022-07-01 11:55:10 -05:00
Pierre Lasou
72832e5e12
New parameter for request a copy
...
Addition of a new language parameter to be used in the request a copy page to warm the user that he/she is about to ask for a restricted document and its use is for private use only.
2022-06-30 13:40:40 -04:00
Pierre Lasou
977dbb38ef
Update fr.json5
2022-06-30 13:35:28 -04:00
Pierre Lasou
4290e54b02
Merge branch 'DSpace:main' into main
2022-06-30 13:24:17 -04:00
Tim Donohue
fd356d4ca7
Copying updates from DSpace/DSpace#8382
2022-06-28 09:48:35 -05:00
Yura Bondarenko
222a12bbba
Make RegisterEmailComponent themeable
2022-06-28 11:19:04 +02:00
Yura Bondarenko
7b4716c439
Filter Webpack warnings
2022-06-28 10:55:12 +02:00
Jens Vannerum
1b5c801d06
92701: Disable user agreement feature
2022-06-27 16:24:16 +02:00
Jens Vannerum
900354112a
Merge branch 'main' into w2p-92701_issue-1506-gdpr-privacy-config
...
# Conflicts:
# src/app/info/info-routing.module.ts
# src/config/app-config.interface.ts
# src/config/default-app-config.ts
# src/environments/environment.test.ts
2022-06-27 14:58:25 +02:00
Jens Vannerum
4de5ab0f56
92701: Disable user agreement feature
2022-06-27 13:47:19 +02:00