Commit Graph

63 Commits

Author SHA1 Message Date
Andrea Bollini
70091e59b8 DS-3851 partially remove legacy workflow to simplify testing
First tests for the workflow endpoint
2019-02-20 23:11:04 +01:00
Andrea Bollini
8a2ae7e891 Add javadocs: community feedback from https://github.com/4Science/DSpace/pull/37 2019-01-02 12:13:56 +01:00
Luigi Andrea Pascarelli
25e3a69b8f DS-3851 Configurable Workflow endpoints 2018-08-27 20:20:24 +02:00
Tim Donohue
8a48f782ea Fix dspace-api module per new code style 2018-02-21 15:23:58 -06:00
Pascal-Nicolas Becker
04ec199ff3 [DS-3431] Harden DSpace's BasicWorfklowService 2017-07-11 16:37:19 +00:00
Tom Desair
10e028918a Port DS-3579_Context-mode-and-cache-management-CLI-commands to master 2017-07-03 14:27:43 +02:00
Tom Desair (Atmire)
1ccd6d1e13 Ds 3552 read only context and hibernate improvements (#1694)
* Refactor READ ONLY mode in Context and adjust hibernate settings accordingly

* Set Context in READ-ONLY mode when retrieving community lists

* Fix Hibernate EHCache configuration + fix some Hibernate warnings

* Cache authorized actions and group membership when Context is in READ-ONLY mode

* Set default Context mode

* Let ConfigurableBrowse use a READ-ONLY context

* Add 2nd level cache support for Site and EPerson DSpaceObjects

* Added 2nd level caching for Community and Collection

* Fix tests and license checks

* Cache collection and community queries

* Small refactorings + backwards compatibility

* Set Context to READ-ONLY for JSPUI submissions and 'select collection' step

* OAI improvements part 1

* OAI indexing improvements part 1

* OAI indexing improvements part 2

* DS-3552: Only uncache resource policies in AuthorizeService when in read-only

* DS-3552: Additional comment on caching handles

* DS-3552: Fix cache leakage in SolrServiceResourceRestrictionPlugin

* DS-3552: Clear the read-only cache when switching Context modes

* DS-3552: Correct Group 2nd level cache size

* DS-3552: Always clear the cache, except when going from READ_ONLY to READ_ONLY
2017-06-12 13:50:45 +00:00
Tom Desair
027a5a68f9 Fix integration tests. Remove Hibernate Sort annotations as a collection name can change and this breaks the Set semantics 2017-06-09 19:49:31 +00:00
Yana De Pauw
a588d42f5a DS-3406: Ordering sub communities and collections 2017-06-09 19:48:54 +00:00
Tom Desair
73e6724ac4 DS-3406: Sort communities and collections in-memory using a comparator 2017-06-09 19:46:34 +00:00
Tim Donohue
f92fa6605d DS-3154: more dspace-api fixes, alphabetically through org.dspace.core 2016-04-29 13:00:13 -05:00
Tim Donohue
ca78a45532 DS-3154: Fix some of the Javadocs errors in dspace-api 2016-04-29 09:06:54 -05:00
KevinVdV
69bdb15b3c [DS-2976] Ensure all database entities have a protected constructor 2015-12-24 15:28:26 +01:00
Mark H. Wood
6d2e3b3ea3 [DS-2763] Add much transience to make DSOs actually serializable 2015-11-23 12:13:36 -05:00
KevinVdV
726e19498d [DS-2714] Oracle migration script for the service based api 2015-08-25 12:42:14 +02:00
KevinVdV
54222f3c1d DSpace refactored service api 2015-08-19 11:54:32 +02:00
rradillen
1a2fdb3a6a change default of findAuthorizedPerformanceOptimize
it is now false
2015-05-14 22:21:24 +02:00
helix84
b656a10df9 Merge pull request #888 from ctu-developers/DS-2418
DS-2418: Incompatible oracle sql method on collection.java
2015-04-20 10:42:35 +02:00
Ivo Prajer
dd46044361 Fix passing parameters LIMIT/OFFSET to sql query in the findAll() 2015-04-01 18:22:13 +02:00
Ivo Prajer
6815e25dbe Fix passing parameters LIMIT and OFFSET to sql query in the method getItems() for oracle 2015-03-15 00:54:54 +01:00
Mark H. Wood
257dfe544d DS-2248 Test deletion of contained Item when deleting Community. Fix
failure.
2014-11-19 17:10:03 -05:00
Tim Donohue
55dd906250 Fix broken ItemTest.testMove() (fails on PostgreSQL). Also fix broken/backwards logic in Collection.removeItem() 2014-10-31 14:17:37 +00:00
Peter Dietz
7e893ffb38 Allow for select-collection optimization to be disabled
Since there could be a potential edge case where the optimization falters
We'll provide a simple fallback to revert to using the original query
2014-10-28 01:50:42 -04:00
Peter Dietz
16f560d9ae Select Collection Optimize, add in community admin to check 2014-10-26 19:30:42 -04:00
Peter Dietz
bbe9ef6f3c Adding Collection.findAuthorizeOptimized
Based on Ohio State University code
2014-10-26 19:30:41 -04:00
KevinVdV
87cd7145c9 Support Metadata On All DSpaceObjects 2014-09-24 16:16:06 +02:00
Pascal-Nicolas Becker
3fdc76c8ea Enhancing the PR for DS-1990.
Adds a cache to the Identifier array in the DSpaceObject class.
Renames the method from lookupIdentifiers into getIdentifiers.
2014-08-28 18:32:35 +02:00
Pascal-Nicolas Becker
b1e822a87f DS-1990: Events should contain all identifiers, not only handles. 2014-08-28 11:47:44 +02:00
Kostas Stamatis
a9b307bdc6 add collection metadata (provenance, copyright, short description) in the collection response 2013-10-29 15:51:53 +02:00
Peter Dietz
5eee997e7a Support limit/offset paging of Collections and Collection.Items
new method: Collection[] Collection.findAll(limit, offset)
new method: ItemIteractor Collection.getItems(limit, offset)
2013-10-18 12:56:18 -04:00
Mark H. Wood
ed9149608d [DS-1390] stage 1: move license, email texts, news out of Configuration Manager. 2013-05-28 05:55:12 -04:00
Mark Diggory
db9f6e6f36 Atmire dspace 3.0 versioning contribution
Versioning : Add Spring WebMVC Control
Versioning : AIP Prototype Test Improvements.
2012-09-20 01:14:30 +02:00
KevinVdV
bf34b21bcf [DS-1229] @mire discovery contribution 2012-08-07 09:47:21 +02:00
Ivan Masár
5ce2d16724 fix some more typos 2012-06-21 11:29:18 +02:00
Ben Bosman
65f5786e9e [DS-968] XML configurable workflow
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6526 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-04 15:58:31 +00:00
Mark Diggory
0d30c67d9e Updated Licenses
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5844 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 05:29:14 +00:00
Graham Triggs
a6c7f57c03 [DS-734] Improve efficiency of Database accesses
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5706 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-01 14:09:22 +00:00
Andrea Bollini
7a4fe91ccb [DS-562] Community admin or user with WRITE, ADD and ADMIN policy on collection cannot delete that collection due to bug in AuthorizeUtil.authorizeManageTemplateItem(context,collection)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5703 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-01 11:50:13 +00:00
Graham Triggs
cb80f0cad4 [DS-707] Remove useless methods
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5664 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 21:31:29 +00:00
Graham Triggs
5a2be0346d [DS-707] Exception handling
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5661 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 20:50:52 +00:00
Graham Triggs
135da8769a [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5610 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 19:25:15 +00:00
Graham Triggs
f6d16fe023 [DS-707] Stack trace loss in exceptions
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5552 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 15:21:30 +00:00
Graham Triggs
2f74283221 [DS-707] Style / readability fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5541 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 11:06:38 +00:00
Graham Triggs
b6d396b118 [DS-707] Replace tight loops
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5501 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 22:06:23 +00:00
Tim Donohue
075a913755 Migrating current AIP Backup/Restore code (DS-466) from 'aip-external-1_6-prototype' Branch into Trunk! See https://wiki.duraspace.org/display/DSPACE/AipBackupRestorePrototype for much more details on this work, and how to export/import AIPs. WARNING -- This changes the PackageIngester and PackageDisseminator interfaces. Any of your local, custom Packagers will require refactoring to support the updated interfaces (obviously all DSpace out-of-the-box Packagers have already been refactored).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5265 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-13 20:10:32 +00:00
Pere Villega
5b83e188c0 [DS-643] New testing framework (GSoC 2010)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5252 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-10 09:10:00 +00:00
Andrea Bollini
98c8f11320 [DS-270] Make delegate admin permissions configurable
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4309 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-30 19:20:07 +00:00
Andrea Bollini
65e6ec3143 [DS-259] Community/collection admin should not to be able to delete their admin group
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4093 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-18 12:51:12 +00:00
Tim Donohue
1c7affd37a Applying "Community Admin XMLUI: Delegated Admins Patch" (DS-228). This adds delegated Admin capabilities and specifically a Community Administrator role. See Jira issue DS-228 for more specific details, including documentation on the permissions of a System Admin vs. Community Admin vs. Collection Admin. [WARNING:] This patch adds a database_schema_15-16.sql (as it requires a new "admin" column on the 'collection' table). This patch also currently only fully works for the XMLUI (but should not break anything with JSPUI) - Andrea Bollini is working on porting it over to JSPUI.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3980 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-26 17:07:25 +00:00
Stuart Lewis
45ca0fab09 Update code licence to The DSpace Foundation
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3761 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-07 04:18:02 +00:00