Commit Graph

3385 Commits

Author SHA1 Message Date
Kevin Van de Velde
2c5ed44f81 [DS-4287] Refactoring the IndexableObject & SolrServiceImpl: Additional comments, some more narrowing of generics, additional error catching & cleaner way to resolve permissions 2020-01-10 10:33:56 +01:00
Giuseppe Digilio
462f20a338 Check session salt in shib auth 2020-01-10 10:25:58 +01:00
Giuseppe Digilio
a32d11eb85 Revert check 2020-01-10 10:20:21 +01:00
Giuseppe Digilio
15d6b18ebf fix check user and password blank 2020-01-10 10:09:19 +01:00
Giuseppe Digilio
5530e7b7a3 Add checck to user and password blank 2020-01-10 09:49:55 +01:00
Mark H. Wood
ad03a97660 [DS04409] There is another set of mock/fake classes for dspace-server-webapp. Activate them. 2020-01-09 16:13:38 -05:00
Giuseppe Digilio
beb975281d Invalidate authentication cookie once used 2020-01-09 19:02:31 +01:00
Giuseppe Digilio
4210605503 fix use authorization cookie only to check 2020-01-09 18:36:41 +01:00
Giuseppe Digilio
15087db2b6 use authorization cookie only to check 2020-01-09 18:25:10 +01:00
Giuseppe Digilio
2a1cb37bbd Revert "add context commit after invalidating token"
This reverts commit 64bc25f7c9.
2020-01-09 18:19:06 +01:00
Giuseppe Digilio
64bc25f7c9 add context commit after invalidating token 2020-01-09 18:04:42 +01:00
Giuseppe Digilio
bf1e9780d4 Invalidate authorization cookie on logout 2020-01-09 16:29:55 +01:00
Giuseppe Digilio
bbfc373bdc Fixed checkstyle violations 2020-01-09 15:58:17 +01:00
Giuseppe Digilio
44210f92ed Fixed AuthenticationRestControllerIT 2020-01-09 15:20:34 +01:00
Raf Ponsaerts
24f5cf0896 Fixed tests in CSVMetadataImportReferenceTest and script bean issues 2020-01-09 15:03:42 +01:00
Marie Verdonck
22b1f6231d 68155: xmlWorkflowFactory autowired where possible & WorkflowAction.name > id 2020-01-09 14:24:37 +01:00
Giuseppe Digilio
1e1de3c2e9 Add authorization cookie only in ShibbolethAuthenticationFilter 2020-01-09 13:41:43 +01:00
Giuseppe Digilio
e5074004f4 Revert "Retrieve token from cookie only when checking an authenticated eperson"
This reverts commit 10bbf8079b.
2020-01-09 13:11:22 +01:00
Giuseppe Digilio
10bbf8079b Retrieve token from cookie only when checking an authenticated eperson 2020-01-09 12:08:55 +01:00
Tim Donohue
9bb75570b0 Fix CVE-2019-17195 2020-01-08 14:29:58 -06:00
Giuseppe Digilio
4ce3c8cbda Fixed checkstyle violations 2020-01-08 18:38:41 +01:00
Peter Nijs
516a1e298a 68148: Bug in ViewEvents
- Remove 'id' field from the ViewEventRest
2020-01-08 14:53:07 +01:00
Marie Verdonck
50eb5be31c 68150: resolve collection handles to collection in XmlWorkflowFactory & forgotten exception 2020-01-08 11:55:19 +01:00
Mykhaylo Boychuk
32c775445f added patchOperations for name and description 2020-01-07 11:44:53 +01:00
Mykhaylo Boychuk
64a2caed73 added patchOperatins for startDate and endDate 2020-01-07 11:36:46 +01:00
Mykhaylo Boychuk
d2ed1925c3 added unit tests for patch 2020-01-07 11:25:04 +01:00
Mykhaylo Boychuk
6be3b6a95e added methods withEndDate(), withDescriptions, withName for ResourcePolicyBuilder 2020-01-07 11:14:14 +01:00
Marie Verdonck
2c6c51752e 68155: /api/config/workflowactions/<:action-name> endpoint + tests 2020-01-06 16:50:02 +01:00
Kevin Van de Velde
977b3f409d [DS-4351] upgrade dependencies: Fixing a display issue in HAl & resolving a warning with slf4j on tomcat startup 2020-01-06 15:52:21 +01:00
Raf Ponsaerts
248e67f9a3 Merge remote-tracking branch 'dspace/master' into w2p-64428_scripts-prototype-importing-and-exporting
Conflicts:
	dspace-api/src/main/java/org/dspace/app/launcher/ScriptLauncher.java
	dspace-server-webapp/src/main/java/org/dspace/app/rest/ScriptProcessesController.java
	dspace-server-webapp/src/main/java/org/dspace/app/rest/scripts/handler/impl/RestDSpaceRunnableHandler.java
	dspace-server-webapp/src/test/java/org/dspace/app/scripts/handler/impl/TestDSpaceRunnableHandler.java
2020-01-06 14:11:55 +01:00
Marie Verdonck
a254ae31e2 68150: /workflowdefinitions/defaultWorkflow/collections now returns all non-mapped collections and now returns paginated result + tests 2020-01-06 12:50:52 +01:00
Mykhaylo Boychuk
20f0ac3d22 Added permission evaluator plagin for patch in ResourcePolicy 2020-01-05 19:58:03 +01:00
Marie Verdonck
7ed292e754 68150: fix and tests for pagination for api/config/workflowdefinitions 2020-01-03 17:11:26 +01:00
Ben Bosman
575e672fba webui.submit.upload.required should default to true 2020-01-03 13:57:25 +01:00
Marie Verdonck
d8dc4f113c 67998: non-numbered handle config so can't accidentally be created 2020-01-03 12:39:06 +01:00
Ben Bosman
1bb451db41 webui.submit.upload.required should default to true 2020-01-03 12:10:12 +01:00
Ben Bosman
f935faade1 webui.submit.upload.required should default to true 2020-01-03 10:59:11 +01:00
Ben Bosman
a962c35a81 webui.submit.upload.required should default to true 2020-01-03 09:40:37 +01:00
Giuseppe Digilio
787e2bbc97 Merge remote-tracking branch 'origin/master' into dspace-7-shibboleth 2020-01-02 18:28:30 +01:00
Marie Verdonck
9dd433412a 67998: tested config handle moved, since other non-collection dso already create at that handle 2020-01-02 17:40:18 +01:00
Marie Verdonck
414b82f9cb 67998: feedback exceptions 2020-01-02 17:05:19 +01:00
Kevin Van de Velde
b96138e3da Merge remote-tracking branch 'upstream/master' into DS-4351-upgrade-dependencies 2020-01-02 15:20:14 +01:00
Andrea Bollini
03623259dc Implement add, replace, delete operations for startDate 2019-12-30 18:06:30 +01:00
Mykhaylo Boychuk
b9f0f877bb Add ITs for patch operations, fix cast errors 2019-12-30 16:44:16 +01:00
Mykhaylo Boychuk
0604cf415a Merge branch 'resourcepolicies' of https://github.com/abollini/dspace into resourcepolicy_auth
merge resourcepolicy with resourcepolicy_auth
2019-12-24 11:47:08 +01:00
Andrea Bollini
a4fab8db03 Draft patch operations for ResourcePolicies 2019-12-24 11:11:06 +01:00
Andrea Bollini
613ceb8e5c Merge branch 'resourcepolicy_auth' into resourcepolicies 2019-12-24 08:42:06 +01:00
Mykhaylo Boychuk
d5313ca12e add property @PreAuthorize for methods createAndReturn and delete 2019-12-23 17:59:28 +01:00
Mykhaylo Boychuk
e88f6f9d8e Implemented unit tests for methods create and delete 2019-12-23 17:58:08 +01:00
Mykhaylo Boychuk
8ac971a63b Merge branch 'master' of https://github.com/DSpace/DSpace into resourcepolicies 2019-12-23 12:30:46 +01:00