Commit Graph

3385 Commits

Author SHA1 Message Date
Bruno Roemers
e5bc76af04 75451: Add JavaDoc and make error message private 2021-01-07 09:57:27 +01:00
Tim Donohue
b35a3f71be Update HAL browser to use DSPACE-XSRF-TOKEN header and store token in custom MyHalBrowserCsrfToken Cookie. Minor comment fixes to TokenRepo 2021-01-06 10:24:14 -06:00
Tim Donohue
acaa1dbc64 Require POST for logout. Update CSRFTokenRepository to no longer allow server token to be read by Javascript 2021-01-06 10:24:14 -06:00
Tim Donohue
d084358e70 Customize CsrfTokenRepository and CsrfAuthenticationStrategy to support cross domain CSRF protection. 2021-01-06 10:24:13 -06:00
Tim Donohue
30451676ab Ensure allowed origins never end in a slash. Otherwise, you can get CORS errors even if the URL is correct. 2021-01-06 10:24:12 -06:00
Tim Donohue
d15e603d43 Add (custom) CSRF support to HAL Browser 2021-01-06 10:24:11 -06:00
Tim Donohue
901cf6e285 Fix possible XSS issue in Hal Browser. See https://github.com/mikekelly/hal-browser/pull/97 2021-01-06 10:24:11 -06:00
Tim Donohue
55c47194f4 Cleanup WebSecurityConfiguration via reorg, adding comments & removing duplicative or unneeded default configs. 2021-01-06 10:24:10 -06:00
Tim Donohue
de58a6ca03 Reenable CSRF projection with recommended Angular settings 2021-01-06 10:24:10 -06:00
Marie Verdonck
4cab1633e8 75473: Test to verify implicit virtual metadata is updated +
fix for entity type match
2021-01-06 15:02:50 +01:00
Bruno Roemers
679f2d64ed 75451: Add EPersonNameNotProvidedException and GroupNameNotProvidedException 2021-01-06 10:39:17 +01:00
Bruno Roemers
c878293b99 75451: Show custom error message when removing last user from workflow group 2021-01-05 14:48:36 +01:00
Peter Nijs
1642a5598b 75469: entityType property in ItemRest is read only 2021-01-05 14:43:32 +01:00
Yana De Pauw
01bf6caf1e 75404: [Issue 3062] Self links contain embed params 2021-01-04 11:33:46 +01:00
Peter Nijs
088bcb64ce 75469: The REST API should return the entitytype property 2020-12-29 13:26:19 +01:00
Raf Ponsaerts
0927a3c6ba removed unused import 2020-12-23 15:10:29 +01:00
Tim Donohue
d9b5d4ed1f Merge pull request #3081 from atmire/w2p-74939_2786-fix-item-submission-xml-DTD
item-submission refactor to have different step xml tags
2020-12-17 08:52:31 -06:00
Marie Verdonck
11ad719730 75361: Enforce that facet "filter-operator" is a valid value + IT 2020-12-17 12:45:09 +01:00
Ben Bosman
1eaf75e1bd Merge remote-tracking branch 'community/main' into entities-update-item-metadata-outside-rest-v2 2020-12-17 12:05:27 +01:00
Kristof De Langhe
0b06620210 75240: External sources for realtion-fields in submission 2020-12-16 11:46:55 +01:00
Mykhaylo
3b5130c5a4 added new tests and fixed old 2020-12-15 11:39:39 +01:00
Mykhaylo
fd44faa3fc Implement community feedbacks 2020-12-15 11:37:18 +01:00
Tim Donohue
c1e97188f9 Merge pull request #3079 from atmire/3078-EntityTypeLabelRestController-GetByLabelImprove
3078 Change EntityTypeLabelRestController get by label to return REST…
2020-12-11 13:56:28 -06:00
Samuel
6b84d20714 DS-4440 GDPR - Anonymize statistics feature - test feedback 2020-12-10 14:12:53 +01:00
Samuel
af32b8b56d DS-4440 GDPR - Anonymize statistics feature - fix test 2020-12-10 14:12:52 +01:00
Samuel
feb6ba6d18 DS-4440 GDPR - Anonymize statistics feature - remove shard support 2020-12-10 14:12:52 +01:00
Samuel
c287062090 DS-4440 GDPR - Anonymize statistics feature - add test 2020-12-10 14:12:52 +01:00
Samuel
b581d473ff Add SolrStatisticsCore and MockSolrStatisticsCore beans 2020-12-10 14:12:52 +01:00
Yana De Pauw
148af699f1 Merge remote-tracking branch 'upstream/main' into 74329-Internal-server-errors-for-external-sources 2020-12-08 14:29:22 +01:00
Andrew Wood
7d1e86c693 3078 Change EntityTypeLabelRestController get by label to return REST resource 2020-12-07 16:28:09 -05:00
Tim Donohue
6e5605453e Merge pull request #2957 from mwoodiupui/#2956
Address many deprecation warnings
2020-12-07 08:54:55 -06:00
Peter Nijs
efbc0c63c1 74939 2786: fix item-submission.xml DTD 2020-12-07 09:50:11 +01:00
Mykhaylo
87e454a815 Implement community feedbacks 2020-12-06 12:21:04 +01:00
Mykhaylo
40ec8d7076 changed type, from Integer to int 2020-12-06 12:17:26 +01:00
Mykhaylo
c8f5ca2789 refactored test, removing the double check 2020-12-06 12:17:03 +01:00
Mykhaylo
d9299e0039 added missing test 2020-12-06 12:16:38 +01:00
Mykhaylo
10ac8c91cb fixed search method of ClaimedTask endpoint 2020-12-06 12:16:20 +01:00
Mykhaylo
da9efdff6c fixed search method of Pooltask endpoint 2020-12-06 12:15:32 +01:00
Mykhaylo
f6e0712c49 added ITs to prove the functionality of search methods 2020-12-06 12:15:05 +01:00
Mykhaylo
170ea73144 fix failed test 2020-12-06 12:14:33 +01:00
Mykhaylo
86a6819dd8 fixed tests 2020-12-06 12:12:55 +01:00
Mykhaylo
ff436491fb implemented new methods as createAndReturn for claimedTask and search methods for ClaimedTask and PoolTask 2020-12-06 12:11:09 +01:00
Tim Donohue
1f551dda36 Merge pull request #2746 from atmire/circular-entities
Entities related to Entities of the same type
2020-12-04 11:36:41 -06:00
Marie Verdonck
c47bd37be3 74947: Missing cleanup after post relationship creation 2020-12-04 11:13:12 +01:00
Marie Verdonck
aa09fb1074 Merge branch 'master' into circular-entities 2020-12-04 10:23:30 +01:00
Andrea Bollini
0b8675202a Merge pull request #3067 from atmire/w2p-74727_Nullpointer-workflow-item-after-submitter-delete
NullPointerException occurs when accessing WorkflowItem after deleting the Submitter
2020-12-03 17:13:57 +01:00
Mark H. Wood
3e16c7ed9e Merge remote-tracking branch 'upstream/main' into #2956 2020-11-30 17:24:48 -05:00
Tim Donohue
e7a2cbc2c9 Merge pull request #2780 from 4Science/D4CRIS-952-orcidV3
Upgrade to the ORCID v3 API
2020-11-30 11:10:08 -06:00
Mark H. Wood
51f9e78fd2 Merge remote-tracking branch 'upstream/main' into #2956 2020-11-24 11:56:18 -05:00
Yana De Pauw
e54928f512 74727: NullPointerException occurs when accessing WorkflowItem after deleting the Submitter 2020-11-24 14:24:57 +01:00