Commit Graph

3385 Commits

Author SHA1 Message Date
Tim Donohue
b33e5834a9 Merge pull request #2682 from atmire/DefaultFullProjectionForNewSubmissions
Default to full projection for workspace item POSTs
2020-02-19 11:13:36 -06:00
Chris Wilper
fa4678c745 Default to full projection for workspace item POSTs (workaround; angular currently expects embeds here) 2020-02-19 10:04:20 -05:00
Marie Verdonck
570f77d1a6 68860: test fixes after merging latest dspace-origin/master 2020-02-19 15:28:35 +01:00
Marie Verdonck
701144b105 68860: test fixes after merging latest dspace-origin/master 2020-02-19 15:14:29 +01:00
Ben Bosman
c6e3758a40 Cast to RestAddressableModel 2020-02-19 14:32:50 +01:00
Yana De Pauw
148f9b2365 68781: Update groups and epersons GETS based on REST contract 2020-02-19 14:00:13 +01:00
Mykhaylo Boychuk
40ee6e54f7 turn on check to verify admin of collection/community 2020-02-19 11:33:45 +01:00
Mykhaylo Boychuk
fad08adcb8 added IT to prove access restricted Items cannot be accessed anonymously 2020-02-19 11:29:02 +01:00
Raf Ponsaerts
5a96aab872 [Task 68857] added javadoc to the Version functionality classes 2020-02-19 11:06:36 +01:00
Marie Verdonck
50daac5937 Merge remote-tracking branch 'dspace-origin/master' into w2p-68726_Workflow-IT-in-rest 2020-02-19 10:51:43 +01:00
Marie Verdonck
15abc3aeb5 68860: latest changes from workflow-step-definitions &
some exceptions restored except generic exception in upload so UnprocessableEntityException can be thrown in WorkflowItemRestRepository &
checkIfEditMetadataAllowedInCurrentStep works with xmlWorkflowItem instead of id
2020-02-19 10:49:20 +01:00
Kevin Van de Velde
c498838e39 Merge remote-tracking branch 'upstream/master' into workflow-step-definitions 2020-02-19 09:39:21 +01:00
Marie Verdonck
4a12c658f6 68825: checkstyle 2020-02-18 18:42:39 +01:00
Marie Verdonck
64900a8791 68825: only allow patch/upload in workflow if claimed task w edit_metadata option 2020-02-18 16:54:43 +01:00
Raf Ponsaerts
2686403985 [Task 68810] added search by ItemUUID to workspace and workflowitem endpoints as well as added tests for them 2020-02-18 15:59:36 +01:00
Ben Bosman
cc2534ddd3 When moving metadata, make sure virtual metadata is handled correctly 2020-02-18 14:41:48 +01:00
Ben Bosman
243b0c077f When moving metadata, make sure virtual metadata is handled correctly 2020-02-18 13:29:31 +01:00
Raf Ponsaerts
284507dd07 [Task 68810] added tests to the versioning ITs 2020-02-18 11:42:19 +01:00
Marie Verdonck
743d35f098 68821: check if submit button is in valid options for current action in workflow + previously @ignore tests now work as expected 2020-02-18 11:33:48 +01:00
Andrea Bollini
1d64d8932b DS-4413 exclude uniqueType from the json output 2020-02-18 08:17:42 +01:00
Andrea Bollini
3524f10ccc DS-4413 fix checkstyle and ITs after projection and IndexableObject refactoring 2020-02-17 23:10:38 +01:00
Marie Verdonck
8845c02145 68726: checkstyle 2020-02-17 18:32:14 +01:00
Marie Verdonck
347606b6f1 68726: Workflow action options tests 2020-02-17 16:03:18 +01:00
Kevin Van de Velde
4512ed5024 Removing obsolete "extends Object" from ResourcePatch 2020-02-17 14:17:33 +01:00
Raf Ponsaerts
d069889fc3 Fixes to versioning functionality after master merge 2020-02-17 13:34:12 +01:00
Raf Ponsaerts
97b69a1582 Merge remote-tracking branch 'dspace/master' into w2p-68732_list-version-history
Conflicts:
	dspace-server-webapp/src/main/java/org/dspace/app/rest/model/ItemRest.java
2020-02-17 13:33:49 +01:00
Marie Verdonck
1c489fbf85 DS-4389: checkstyle 2020-02-17 13:30:20 +01:00
Marie Verdonck
a6e3298d19 DS-4389: ResourceNotFoundException if ResourcePolicy can't be retrieved 2020-02-17 12:14:22 +01:00
Mykhaylo Boychuk
8ed4f6d54c fixed unit test, should return 400 BADREQUEST 2020-02-17 12:02:35 +01:00
Marie Verdonck
e94168e099 DS-4389: Changes after merging latest master 2020-02-17 11:32:26 +01:00
Mykhaylo Boychuk
427d96af07 fixed QueryMethodParameterConversion should return 400 2020-02-17 11:07:59 +01:00
Marie Verdonck
e75d17f6a4 Merge remote-tracking branch 'dspace-origin/master' into DS-4389-improving-patch-system-framework
# Conflicts:
#	dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/CollectionRestRepository.java
#	dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/ItemRestRepository.java
2020-02-17 10:07:38 +01:00
Mykhaylo Boychuk
67b564af7e fixed exception for upload method 2020-02-17 09:43:50 +01:00
Mykhaylo Boychuk
00c9bcea90 implemented permissionEvaluatorPlugin for workspaceitem 2020-02-17 09:39:41 +01:00
Raf Ponsaerts
ee280019b9 Applied feedback to the versions functionality 2020-02-17 09:38:58 +01:00
Mykhaylo Boychuk
5a5ae6d401 added unit tests for the security layer of the submission 2020-02-17 09:29:44 +01:00
Andrea Bollini
9a7f9e7ada Merge branch 'master' of https://github.com/DSpace/DSpace into authz 2020-02-17 00:53:52 +01:00
Andrea Bollini
4f20954e9d DS-4413 fix checkstyle and add ITs for the withdraw, reinstate and cclicense feature 2020-02-16 16:59:29 +01:00
Andrea Bollini
214d7dfc9b DS-4413 complete implementation of the authz infrastructure and ITs 2020-02-16 00:38:58 +01:00
Marie Verdonck
1bee20c732 [DS-4389] Refactored new ResourcePolicy Patch system to work like the improved patch system (ResourcePolicy from DS-4398) 2020-02-14 18:56:01 +01:00
Tim Donohue
73f8dc100e Do not reuse global Context for cleanup actions...it may already be closed 2020-02-14 08:57:36 -06:00
Raf Ponsaerts
b4992cad3e Fixed checkstyle in ItemTemplateRestController 2020-02-14 15:33:07 +01:00
Raf Ponsaerts
cbd6870d72 [Task 68537] implemented feedback with regards to javadoc and annotations for the TemplateItem functionality 2020-02-14 14:16:56 +01:00
Raf Ponsaerts
580f6d7ad8 [Task 68537] fixed the templateItemOf link 2020-02-14 14:16:56 +01:00
Raf Ponsaerts
3e736e130a [Task 68537] applied feedback and fixes to the itemtemplate endpoints 2020-02-14 14:16:56 +01:00
Raf Ponsaerts
7322d983c4 Fixed tests on the ItemTemplate endpoints after rebasing on master 2020-02-14 14:16:56 +01:00
Raf Ponsaerts
36f2f0aa97 [Task 68059] removed superfluous information and links from templateItem endpoints and added/fixed tests 2020-02-14 14:16:55 +01:00
Peter Nijs
5e7da85197 67526: CRUD on Collection Item template
- Make the output of /core/collections/{id}/itemtemplate equal to /core/items/{id}
2020-02-14 14:13:38 +01:00
Raf Ponsaerts
f853db306b [Task 68732] implemented Versioning and added tests 2020-02-14 14:05:01 +01:00
Ben Bosman
aaca3a35d1 Also fixing relation field config 2020-02-14 10:07:10 +01:00