Commit Graph

3385 Commits

Author SHA1 Message Date
Luca Giamminonni
30b35ac33a [CST-5669] Fixed tests 2022-05-19 15:49:18 +02:00
corrado lombardi
13b2aa0936 [CST-5755] removed commented code 2022-05-19 15:26:19 +02:00
corrado lombardi
7de7ba26ce [CST-5755] removed Gson usage and small code refactoring 2022-05-19 15:26:17 +02:00
corrado lombardi
cb0a6651f7 Merge branch 'main' into CST-5755_save_special_groups_in_process 2022-05-19 15:13:35 +02:00
Luca Giamminonni
f71a3f067f [CST-5306] Allow claim only if email matches 2022-05-19 13:33:41 +02:00
Kim Shepherd
771d70049a [TLC-254] Better fix for 'required' conflict, ITs added
There were some logic issues with required vs non-required
for multiple inputs, and with qualdrop fields.
Simplified some of the qualdrop handling in MetadataValidation.

Added an Integration test to test a form that specifically
configures two dc.identifier.isbn inputs bound to two types
and has one required, one not.
2022-05-19 17:11:53 +12:00
Andrea Bollini
b76917eb45 Remove commented out code 2022-05-19 00:34:01 +02:00
Andrea Bollini
86df96ff57 Revert useless null check 2022-05-19 00:33:42 +02:00
Luca Giamminonni
18c8b91a55 [CST-5587] Code improvements 2022-05-18 17:52:03 +02:00
Luca Giamminonni
798e7bc63a [CST-5587] Refactoring after OrcidToken entity introduction 2022-05-18 12:24:02 +02:00
Yura Bondarenko
a4a7130f96 90948: Add IT for delete workflow group 422 error 2022-05-18 11:13:48 +02:00
Luca Giamminonni
db691b7e52 Merge branch 'CST-5669' into CST-5587 2022-05-18 11:07:07 +02:00
Kim Shepherd
0066417b69 [TLC-254] fix issue where vals stripped fields are cfg'd more than once
If a field like dc.title.subtitle is configured multiple times in one
form with different rules for different type binding, when the validation
encounters the input config that is *not* bound for the doc type, it will
strip all metadata values even though the same field is allowed for this
type elsewhere in the form. This commit should fix this by constructing
a lookup map first, though it does not have a way to rigorously enforce
specific rule conflicts like repeatable=true and repeatable=false for
the same type, and so on.
2022-05-18 13:44:47 +12:00
Bruno Roemers
226662a9dd 91354: Add extra checks to DiscoveryVersioningIT 2022-05-17 18:46:14 +02:00
Ben Bosman
19564a9e23 Merge remote-tracking branch 'origin/feature-relationship-versioning__discovery' into feature-relationship-versioning-contribution 2022-05-17 17:41:44 +02:00
Bruno Roemers
43dcc3bc15 91390: Fix tests (3) 2022-05-17 14:29:31 +02:00
Bruno Roemers
54f5a14e7a 91390: Fix tests (2) 2022-05-17 11:47:01 +02:00
Mykhaylo
d43d3e2ee7 [CST-5673] request to update group/eperson must be in PUT 2022-05-17 09:28:35 +02:00
Mykhaylo
b5aec58549 Merge branch 'main' into CST-5269-Sherpa-Romeo 2022-05-16 23:17:17 +02:00
Mykhaylo
dc100eb5b8 [CST-5269] added missing JavaDoc 2022-05-16 23:15:39 +02:00
Bruno Roemers
27f796dee5 91390: Fix tests 2022-05-16 20:55:28 +02:00
Luca Giamminonni
f90359411f [CST-5669] Added OrcidToken entity to store orcid access token 2022-05-16 18:42:17 +02:00
Luca Giamminonni
d82c6f9ee8 Revert "[CST-5669] Set orcid access token as hardcoded hidden metadata fields"
This reverts commit 4afa62a4c0.
2022-05-16 15:44:28 +02:00
Luca Giamminonni
3031dce00c Merge branch 'CST-5306' into CST-5669 2022-05-16 15:38:53 +02:00
Luca Giamminonni
d532829e73 [CST-5306] Added security check in EPersonAuthority 2022-05-16 15:30:17 +02:00
Mykhaylo
9a539bc9cc Merge branch 'main' into CST-5303-LiveImport-2PR 2022-05-16 14:49:18 +02:00
Luca Giamminonni
5a0b9ea456 [CST-5306] Improved CanClaimItemFeatureIT tests 2022-05-16 13:41:50 +02:00
Luca Giamminonni
2c80e1ee47 [CST-5306] Improved ResearcherProfileServiceImpl and ResearcherProfileRestRepositoryIT tests 2022-05-16 13:29:51 +02:00
Luca Giamminonni
493810c1d2 Merge remote-tracking branch '4science-bitbucket/main' into CST-5306 2022-05-16 12:54:01 +02:00
Mykhaylo
cff9ff9f30 [CST-5303] fix metadata field 2022-05-16 10:56:22 +02:00
Nathan Buckingham
30f923a080 OpenSearch RSS more robust handles Com/Coll as well as more search params (#8064)
* w2p-85140 Add sort and scope to opensearch to allow it to give proper results for rss feed

* w2p-86403 Removed legacy Config and changed default sort also revert community and collection in rss feeds

* remove unecessary dspace.cfg lines

* opensearch configuration needed

* w2p-86403 Fix discovery query grabbing non items in search result for opensearch

* w2p-86403 Change sort direction

* Change date accessioned_dt and discoveryConfig

* revert defaulting on rest side allow angular to handle defaulting

Co-authored-by: Nathan Buckingham <nathan.buckingham@atmire.com>
2022-05-13 14:25:01 -05:00
Bruno Roemers
bc740d299e 88675: Modify test for relation.*.latestForDiscovery metadata 2022-05-13 18:14:58 +02:00
Luca Giamminonni
e22e53cc25 [CST-5669] Improved OrcidLoginFilter 2022-05-13 16:52:40 +02:00
Kristof De Langhe
7e3ebd02df Merge branch 'w2p-90830_issue-8125_Import-items-stale-in-discovery_7.0' into w2p-90830_issue-8125_Import-items-stale-in-discovery 2022-05-13 12:50:37 +02:00
Kristof De Langhe
2649bea614 90830: Feedback + cron scheduler 2022-05-13 12:48:09 +02:00
Mykhaylo
2813bb1eb1 Merge branch 'main' into CST-5673-AllowToDoGroupAndEpersonPatchingOfResourcepolicy 2022-05-12 17:16:54 +02:00
Mykhaylo
b947e2cfc2 [CST-5673] added missing tests 2022-05-12 17:14:37 +02:00
Bruno Roemers
b4087889f9 90946: Trigger reindex in VersioningConsumer when latest status is updated 2022-05-12 16:32:27 +02:00
Luca Giamminonni
4afa62a4c0 [CST-5669] Set orcid access token as hardcoded hidden metadata fields 2022-05-12 15:39:09 +02:00
Bruno Roemers
32fc45f515 90946: Remove force reindex from test 2022-05-12 15:11:55 +02:00
Bruno Roemers
86ab1ed9fd 90946: Finish test to confirm that items are reindexed in VersioningConsumer 2022-05-12 15:05:11 +02:00
Luca Giamminonni
21da1b4292 [CST-5669] Minor improvements 2022-05-12 13:54:31 +02:00
Ben Bosman
4243007c77 Merge branch 'feature-relationship-versioning__discovery' into feature-relationship-versioning-contribution 2022-05-12 11:37:13 +02:00
Author Name
421a907dac added some missing tests 2022-05-12 10:17:43 +02:00
Bruno Roemers
d634002ad8 90946: WIP: Write test to confirm that items are reindexed in VersioningConsumer 2022-05-11 19:08:11 +02:00
Luca Giamminonni
4bfe3f58f9 [CST-5669] Improved javadoc 2022-05-11 16:27:57 +02:00
Mykhaylo
de4ffdf67b Merge branch 'main' into CST-5303-live-import 2022-05-11 16:27:49 +02:00
Mykhaylo
a436639ca7 [CST-5303] added missing JavaDoc 2022-05-11 16:23:22 +02:00
Mykhaylo
9c2c9132bb [CST-5303] refactoring of ADS & EPO services 2022-05-11 13:33:06 +02:00
Luca Giamminonni
a71ee59bba [CST-5288] Removed version check on InfoEndpointIT 2022-05-11 12:04:25 +02:00