Commit Graph

54 Commits

Author SHA1 Message Date
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
Graham Triggs
3f3d806ad5 Add missing close() calls to use of TableRowIterator, also add close() to ItemIterator (to close underlying TableRowIterator)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3038 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-07 09:21:47 +00:00
Graham Triggs
9ae95a94e7 Fix various problems with resources potentially not being freed, and other minor fixes suggested by FindBugs
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3036 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-06 15:52:30 +00:00
Mark Diggory
77cb5d313d Guard against Community/Collection metadata having only whitespace characters and eliminate cases where null pointer exceptions would be thrown.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3024 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-31 23:23:06 +00:00
Scott Phillips
8b13f10354 (Scott Phillips) SF#1913091 - JSPUI & XMLUI: Problem deleting Collection-associated groups
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2826 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 23:02:30 +00:00
Mark Diggory
2001749ce0 Wrap SQLExceptions in ItemCounter with ItemCountExceptions and wrap ItemCountExceptions in Collection and Community in RuntimeExceptions.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2339 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 23:39:13 +00:00
Richard Jones
813ca2b557 add missing import statements in Community and Collection for item counter
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2337 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 16:09:33 +00:00
Richard Jones
8d7b59f45d Option to generate community and collection "strength" as a batch job
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2328 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 11:59:47 +00:00
Stuart Lewis
b6c6e4ecf8 [ 1724330 ] Removes "null" being displayed in community-home.jsp
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2154 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-23 11:17:57 +00:00
Mark Diggory
97d189b828 This is a merge back to trunk of Graham Triggs work to port Configurable Browse to Manakin from the sandbox.
grahamtriggs | 2007-08-01 11:55:51 -0400
  Added IBM ICU dependency
  First attempt at integrating the configurable browse patch
  First attempt at integrating the UI changes for Configurable Browse
  Configurable browse patch - web.xml
  Java code modifications from Configurable Browse patch
  JSP changes from the Configurable Browse patch
  Removed browse changes that should have been committed to the browse branch
  Documentation, config and scripts for configurable browse
  Re-adding Configurable Browse changes following merge
  Messages for the configurable browse
  Fixed use of DCDate for i18n patch
  First attempt to make xmlui compatible with the new BrowseIndex, although not fully use the configuration
  First attempt to make xmlui compatible with new Browse API. Browse basically works, but it's more costly than needs be (unnecessary Item.find()), and only works if you use the default Browse configuration.  
  Fixed problem with second level browse (items for author / subject)
  Updates xmlui components to handle BrowseItem DSOs, ArtifactBrowser now passes these directly. r407@libaxis1:  grahamtriggs | 2007-08-06 09:14:05 -0400
  Minor fixes to make class easier to use
  Fix to only display sort by options on a second level browse
  Updates the ArtifactBrowser, to replace all browse functionality with entirely customisable browse code
  Update the browse index creation on fresh_install
  Fixed problem with indexing non-archived items
  Added caching support (key generation / validity)
  Moved internal class to bottom of file
  Browse code changes
 


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2116 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-06 14:39:38 +00:00