Commit Graph

3953 Commits

Author SHA1 Message Date
Kevin Van de Velde
0d41de5bf7 DS-4351 Upgrade spring (boot) & hibernate to newer versions: Removing unused mock 2019-12-20 16:38:52 +01:00
Kevin Van de Velde
98c483f7ca Merge branch 'master' into DS-4351-upgrade-dependencies 2019-12-20 11:48:47 +01:00
Marie Verdonck
59ef4ef065 Merge branch 'w2p-67996-workflow-junit-tests' into workflow-step-definitions 2019-12-20 11:22:59 +01:00
Marie Verdonck
7ef537507f - Merged with KevinVdV/DSpace/DS-4239-migrate-workflow-xml-to-spring
- Changed all implementations of XmlWorkflowFactoryImpl to work with new mapping
- Moved their java doc to XmlWorkflowFactory
- Removed/Changed exceptions
- Altered tests in WorkflowDefinitionRestRepositoryIT to work with changes

Merge remote-tracking branch 'github-kevin/DS-4239-migrate-workflow-xml-to-spring' into workflow-step-definitions

# Conflicts:
#	dspace-api/src/main/java/org/dspace/xmlworkflow/XmlWorkflowFactoryImpl.java
#	dspace-api/src/main/java/org/dspace/xmlworkflow/factory/XmlWorkflowFactory.java
2019-12-20 11:21:17 +01:00
Marie Verdonck
500fe6641d 67993: Tests for changes in workflow config 2019-12-19 16:26:25 +01:00
Marie Verdonck
39c727a803 67694: forgot to log error stack itself 2019-12-19 10:50:02 +01:00
Marie Verdonck
943b3f1356 67694: isDefault fix, workflowdefinitions IT, exception handling 2019-12-17 16:31:31 +01:00
Marie Verdonck
8a3479e753 67694: Exception handling improvements and /search moved to repository 2019-12-17 11:08:17 +01:00
Tim Donohue
023b143b95 Merge pull request #2618 from atmire/entities-submission-config
Entities submission config
2019-12-16 13:31:30 -06:00
Tim Donohue
da8488c7de Merge pull request #2614 from atmire/feature-external-sources-entities-post-workspace-item
Creating a workspace item from an external source
2019-12-16 13:28:44 -06:00
Kevin Van de Velde
f4304673ed Merge branch 'master' into DS-4239-migrate-workflow-xml-to-spring 2019-12-16 13:00:54 +01:00
benbosman
fd8e8fc76e Merge pull request #2615 from atmire/get-entity-type-performance
Get entity type performance improvement
2019-12-16 11:25:43 +01:00
benbosman
5edae495f4 Merge pull request #2617 from atmire/DS-4401
DS-4401 Enforce relational place ordering when place direction is known
2019-12-16 11:24:29 +01:00
Raf Ponsaerts
525a586e53 Applied feedback to the external sources entities post workspace item feature 2019-12-13 16:23:02 +01:00
Marie Verdonck
6084fae357 67694: checkstyle and licenses 2019-12-12 10:42:04 +01:00
Marie Verdonck
58870b079d 67694: new /api/config/workflowsdefintions endpoints:
/api/config/workflowdefinitions/<:definition-name>
/api/config/workflowdefinitions
/api/config/workflowdefinitions/search/findByCollection?uuid=<:collection-uuid>
/api/config/workflowdefinitions/<:definition-name>/collections

Signed-off-by: Marie Verdonck <maria.verdonck@atmire.com>
2019-12-11 13:58:24 +01:00
Marie Verdonck
76853f8dd6 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/ItemRestRepository.java
2019-12-11 09:55:07 +01:00
Marie Verdonck
ce2662c58d DS-4389 improving patch system framework - Minor feedback changes PR 2591 2019-12-10 17:40:15 +01:00
Ben Bosman
7130e5d3d2 Entities submission configuration 2019-12-10 15:05:44 +01:00
Ben Bosman
f26d0475ac Entities submission configuration 2019-12-10 14:55:48 +01:00
Kevin Van de Velde
5bf433f71b DS-4351 Upgrade spring (boot) & hibernate to newer versions: Fixing issues with the latest master merge & fixing the tests 2019-12-10 14:16:54 +01:00
benbosman
40128ab632 Merge pull request #2599 from atmire/w2p-66086_delete-relationships-relationshiptype-copyleft-copyright-variables
Delete item with relationships: configure defaults
2019-12-10 13:27:09 +01:00
Mykhaylo Boychuk
b917a479e9 Implement community feedbacks 2019-12-10 12:59:15 +01:00
Andrew Wood
f6d17aa0ba DS-4401 Enforce relational place ordering when place direction is known 2019-12-09 16:04:55 -05:00
Kevin Van de Velde
3e74b20d8e Merge branch 'master' into DS-4351-upgrade-dependencies 2019-12-09 15:32:26 +01:00
Tim Donohue
1b533d5d0c Merge pull request #2613 from atmire/avoid-lang-ANY-virtual-metadata
Avoid setting the virtual metadata language to ANY (*)
2019-12-06 09:43:12 -06:00
Raf Ponsaerts
3b8b3db22c Fixed Travis failure on EntityServiceImplTest 2019-12-06 14:17:27 +01:00
Raf Ponsaerts
5585d27991 Refactored the UriListHandler and its implementations and supported the workspace item creation from ExternalDataObjects 2019-12-06 10:36:12 +01:00
Ben Bosman
533b0b9838 Avoid setting the virtual metadata language to ANY (*) 2019-12-06 09:48:12 +01:00
Ben Bosman
bd14a517f2 Avoid setting the virtual metadata language to ANY (*) 2019-12-05 15:06:17 +01:00
Raf Ponsaerts
b0cdb3907d Renamed copyLeft and copyRight, added defaults for them in the test Relationship-types file and added a test for the place check after deleting a relationship and keeping the virtual metadata 2019-12-05 11:03:11 +01:00
Michael W Spalti
00ac347361 Merge remote-tracking branch 'upstream/master' into discoveryAdmin 2019-12-04 12:25:48 -08:00
Michael W Spalti
4b64105962 Added check for commuity/collection admins to solr plugin for private items. 2019-12-04 11:54:55 -08:00
Michael W Spalti
9c5f1c1e11 Renamed discovery configuration and added error message. 2019-12-04 10:31:50 -08:00
Michael W Spalti
9e320da6b1 Removes browse for private and withdrawn items, removes the includeUnDiscoverable boolean from SearchService methods, adds solr plugin to prevent non-admin discovery of private items. 2019-12-03 17:19:50 -08:00
Mykhaylo Boychuk
27735d7126 created:
class:
        - resourcePolicyRestPermissionEvaluatorPlugin
    method:
       - boolean hasDSpasePermission(Authentication authentication, Serializable targetId, String targetType, DSpaceRestPermission permission)
       - boolean isMyResoursePolicy(Context context, EPerson eperson, Integer id)  - this one checks if the resourcePolicy, that I'm searching, is of the authenticated person
       - ResourcePolicy findOneById (DAO)
2019-12-02 16:15:32 +01:00
Kevin Van de Velde
4c9a30bb14 [DS 4287] Refactoring the IndexableObject & SolrServiceImpl to become more expandable 2019-11-29 14:26:50 +01:00
Mykhaylo Boychuk
3c7d59a8a4 DS-4398 fix checkstyle issues 2019-11-29 11:44:03 +01:00
Mykhaylo Boychuk
b236b8e487 Merge branch 'master' of https://github.com/DSpace/DSpace into resourcepolicies
# Conflicts:
#	dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/ResourcePolicyRestRepository.java
2019-11-28 17:33:18 +01:00
Ben Bosman
4fda5c1354 improving performance of the getType function, it's not a virtual field 2019-11-28 14:16:04 +01:00
Mykhaylo Boychuk
f0eb9cb3d9 DS-4398 initial implementation of the resource policies endpoint
DONE
- sync implementation of findAll with the contract
- add ITs for implemented methods

TODO
- enforce security in access resource policy details
- method to create a resource policy
- method to patch a resource policy
2019-11-28 13:20:43 +01:00
Kevin Van de Velde
62461febe1 Merge branch 'master' into DS-4389-improving-patch-system-framework 2019-11-27 14:55:16 +01:00
Kevin Van de Velde
75b508d4ea Merge branch 'master' into feature-external-sources-entities-post 2019-11-27 11:46:47 +01:00
Kristof De Langhe
a4006cd17e 67450: Discovery clean index fix 2019-11-27 11:43:19 +01:00
Tim Donohue
b2657cdc4e Merge pull request #2577 from atmire/w2p-65267_delete-in-relationshipservice
Delete item with relationships
2019-11-26 11:06:00 -06:00
Peter Nijs
0fd4831466 Merge branch 'w2p-65267_delete-in-relationshipservice' into w2p-66086_delete-relationships-relationshiptype-copyleft-copyright-variables 2019-11-26 17:33:40 +01:00
Peter Nijs
d12f999c49 Merge remote-tracking branch 'dspace/master' into w2p-65267_delete-in-relationshipservice manual fix 2019-11-26 17:28:52 +01:00
Peter Nijs
736d30f48a Merge remote-tracking branch 'dspace/master' into w2p-65267_delete-in-relationshipservice 2019-11-26 17:28:22 +01:00
Raf Ponsaerts
3471498018 Small improvements to the external sources feature 2019-11-26 14:03:28 +01:00
Raf Ponsaerts
967b598b99 Fixed import in ExternalDataServiceImpl 2019-11-26 13:53:35 +01:00