Graham Triggs
0714ab0f05
Fix mock class for previous change
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5723 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-03 22:27:33 +00:00
Graham Triggs
6d6c309371
[DS-734] Cache columnNames in TableRowIterator, reduce database accesses in Item.update (getting metadatafields)
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5721 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-03 20:10:11 +00:00
Robin Taylor
ab0c2743da
[DS-401] Validate and reject invalid dates during submission.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5719 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-03 09:30:26 +00:00
Graham Triggs
2f8d4170b7
[DS-736] ItemImport usage and efficiency improvements
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5718 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-03 07:54:52 +00:00
Graham Triggs
89166d1a7a
[DS-734] Further database efficiency changes
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5717 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-03 00:54:06 +00:00
Graham Triggs
80c12b1dae
[DS-732] Further browse refactoring for efficiency
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5716 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-02 21:29:10 +00:00
Graham Triggs
8d255f71fb
[DS-734] Update MockDatabaseManager for previous changes
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5715 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-02 17:50:36 +00:00
Graham Triggs
d7fa5958b0
[DS-734] Fix parsing problems from last check-in
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5713 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-02 17:29:31 +00:00
Graham Triggs
114aee128d
[DS-734] More efficient inserts through not using executeUpdate when not requiring the results
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5712 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-02 16:53:26 +00:00
Graham Triggs
67a6fbc0a8
[DS-734] Reduce frequency of canonicalization
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5711 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-02 15:54:24 +00:00
Graham Triggs
805a72443e
[DS-707] Fix missing curly braces
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5710 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-02 01:11:01 +00:00
Stuart Lewis
3bd1ecc294
[DS-735] Allow IPAuthentication to work with proxies (examine X-Forwarded-For header)
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5709 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-01 22:00:01 +00:00
Graham Triggs
09a11966d3
[DS-732] Refactor pruning map excess to allow for arbitrary number of distinct ids to be pruned
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5708 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-01 18:02:08 +00:00
Graham Triggs
bf92589179
[DS-732] Refactor pruning distinct ids to allow for arbitrary number of distinct ids to be pruned
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5707 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-01 17:25:41 +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
Graham Triggs
e63097a90c
[DS-732] Improve efficiency of DatabaseManager
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5705 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-01 12:25:00 +00:00
Graham Triggs
0fe61e9773
[DS-732] Further browse performance improvements - NOTE: YOU MUST REBUILD THE BROWSE INDEX
...
The rebuilding comes because there were inconsistenices in the way the distinct mappings were being handled, and this now clears it up
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5704 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-01 11:55:29 +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
Richard Rodgers
2beac7527e
test for optional attribute
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5701 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-31 23:34:11 +00:00
Graham Triggs
69b9c35b0f
[DS-733] Load testing utilities
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5700 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-31 20:38:20 +00:00
Graham Triggs
a5658f7c19
[DS-732] Browse performance
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5699 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-31 09:04:54 +00:00
Graham Triggs
294bd96916
[DS-732] Browse performance improvements
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5698 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-30 17:17:51 +00:00
Graham Triggs
f1ee69e2d7
Refactor ColumnInfo to public class - removes DatabaseManager / MockDatabaseManager duplication
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5697 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-30 09:32:08 +00:00
Tim Donohue
cc48236063
Adding another minor option to the AIP Disseminator (DS-466). There's now also an 'updatedAfter' flag, which allows for a very basic form of 'incremental backup'. When this flag is used, an ISO-8601 date must be specified. When used, the AIP Disseminator will only export Item AIPs for items that have changed since that date (it will still always export all Community & Collection AIPs, as there's no last-modified date for them). This new option has also been already documented in the AIP Backup & Restore docs at: https://wiki.duraspace.org/display/DSDOC/AipBackupRestore
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5696 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-29 22:09:22 +00:00
Tim Donohue
f8a3c11540
Adding a minor option to the AIP Disseminator (DS-466). It now comes with an optional "includeBundles" flag, which can be used to limit which Bundles are exported into an Item's AIP. This option would allow people to choose to, for example, not export the TEXT bundle into AIPs (as its contents could be recreated later on). This option has been documented in the AIP Backup & Restore docs: https://wiki.duraspace.org/display/DSDOC/AipBackupRestore
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5695 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-29 21:18:35 +00:00
Graham Triggs
055c666f05
[DS-707] Various fixes
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5686 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 20:38:38 +00:00
Graham Triggs
9c267f8f72
[DS-707] Fix locking semantics from earlier check in
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5685 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 19:06:55 +00:00
Tim Donohue
f4c45d85d0
AIP work (DS-466) cleanup. Only disseminate non-null values for EPeople into the 'DSPACE-ROLES' xml stream. This just ensures we keep the XML content a little bit smaller in size, and cuts down on empty XML tags.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5681 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 14:46:14 +00:00
Tim Donohue
6647d3cc3a
AIP work (DS-466) bug fix. Ensure 'manifest-only' exports are valid METS files by building a non-null URL for Community/Collection logo bitstreams to be referenced. As Manifest-only exports don't include content files, we need to reference them by semi-stable URLs -- in this case, we'll reference logos via the '/retrieve/[id]' path, as that will work for both JSPUI and XMLUI.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5680 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 14:43:40 +00:00
Robin Taylor
18c72133c3
[DS-670] Relax performance tests in org.dspace.content.CommunityCollectionIntegrationTest.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5678 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 12:50:36 +00:00
Graham Triggs
a94934e22b
[DS-707] Added handling of exceptional return codes
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5677 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 11:41:48 +00:00
Graham Triggs
2b6b3ae680
[DS-707] Looping performance
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5676 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 11:24:17 +00:00
Richard Rodgers
5262078026
[DS-728] Add core curation code & workflow support
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5674 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 00:09:31 +00:00
Graham Triggs
4392bca23f
[DS-726] Rewritten as was failing tests and applications.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5669 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-27 10:47:00 +00:00
Peter Dietz
d6559fd4bc
Fixing change caused by r5665, which dropped getProperty with default.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5668 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-27 03:46:42 +00:00
Graham Triggs
286f901c9c
[DS-707] Fix missing curly braces
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5667 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 23:32:24 +00:00
Graham Triggs
df01a66951
[DS-707] Fix stream closure from previous checkin
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5666 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 23:30:46 +00:00
Richard Rodgers
1b1cc00a34
[DS-726] Add modular configuration
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5665 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 21:59:50 +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
2d065ced4f
[DS-707] Remove useless methods
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5663 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 21:03:18 +00:00
Tim Donohue
10c9fb3cc9
Another small fix to commit r5659 -- forgot "final" in the RoleDisseminator Logger, and neglected to properly use 'exportMemberName' variable I had defined. Obviously, I committed that previous code a moment too soon :)
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5662 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 20:54:28 +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
Tim Donohue
787b928fd5
Accidently removed "final" from the PackageUtils Logger in the previous commit (r5659)
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5660 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 20:50:15 +00:00
Tim Donohue
1358e6ad3b
AIP work (DS-466): Resolve a potential instability bug when exporting/restoring groups. We will never export groups which contain internal identifiers (e.g. COLLECTION_<ID>_ADMIN) to an AIP. If those groups' internal identifiers cannot be successfully translated to a Handle (external identifier), then they will not be exported in AIPs. The reason is that if they are ever re-imported they may cause conflicts with an existing group, or overwrite the members of an existing group. (NOTE: the only way in which these groups' internal IDs could not be translated to an external identifier would be if they Community or Collection they referred to was previously deleted from the system -- in which case the group should no longer be in use.) This commit also contains some minor code cleanup.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5659 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 20:43:14 +00:00
Graham Triggs
7b701c9be9
[DS-707] Exception handling
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5658 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 20:26:11 +00:00
Graham Triggs
409ea4b689
[DS-707] Empty while statement
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5657 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 19:19:14 +00:00
Graham Triggs
68c18ef276
[DS-707] Method names
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5655 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 18:25:19 +00:00
Graham Triggs
d66c14848b
[DS-707] Modifier order
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5654 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 18:11:31 +00:00
Graham Triggs
ea3df2cfa6
[DS-707] Problematic static arrays
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5653 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 16:30:48 +00:00
Graham Triggs
dc16a27a96
[DS-707] Exception handling
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5652 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 16:18:33 +00:00