Stuart Lewis
9d7502c90d
(Stuart Lewis) Updates to the stats scripts. (1) Better error reporting. (2) Adding the ability to enter start dates - these had been removed with the Java replacements for the previous Perl scripts. (3) Added upgrade instructions. (4) Tidied up dstat.cfg. (5) Hostname and service name now taken from dspace.cfg rather than dstat.cfg.
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2680 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-15 15:07:39 +00:00
Graham Triggs
85c5a11771
Fix issue with the new pagination code when the browse tables are empty
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2679 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-15 14:54:48 +00:00
Graham Triggs
4829eda0b7
Fix pagination issues by using offsets
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2678 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-14 22:46:41 +00:00
Graham Triggs
901c669991
Added missing DISTINCT on view for distinct query
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2662 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 16:24:47 +00:00
Graham Triggs
54b6e7b54b
Changed the way browsing metadata indexes works when comm/coll scoped due to Postgres deficiency
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2661 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 16:20:19 +00:00
Graham Triggs
d78e5a3fc1
Make metadatavalue updates kinder to the database by only writing / deleting the difference between the current DB values and the in-memory values
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2660 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 06:41:18 +00:00
Scott Phillips
4d16a7b6e4
(Scott Phillips) Fixed an NPE in the withdrawn item that was preventing the page from loading.
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2656 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 02:05:29 +00:00
Graham Triggs
4f5478b05e
getMetadata now returns an empty array rather than null
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2653 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 22:58:21 +00:00
Graham Triggs
95ce6e31bc
Eliminate most unnecessary changes to the database when values haven't been altered (reduces contention, and unnecessary constraint validation)
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2639 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 00:03:08 +00:00
Graham Triggs
6a4967c492
Fix problem mapping distinct metadata values to items
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2633 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-11 12:23:22 +00:00
Graham Triggs
4fe54b6079
Fix problem searching by author in item mapping. Remove even more database contention (when editing / mapping items)
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2631 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-10 20:46:27 +00:00
Stuart Lewis
be03336a63
(Chris Yates) SF Patch #1888652 Statistics Rewritten In Java
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2630 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-10 19:09:14 +00:00
Graham Triggs
1050b4f54f
Further reduce db contention when an item is updated
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2628 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-10 17:22:28 +00:00
Graham Triggs
5462c12830
Remove unused parts of the API, reduce db contention when an item is updated
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2626 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-10 16:51:01 +00:00
Graham Triggs
4f118f56bc
Bring itemRemoved() in line with trunk
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2623 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-09 22:23:57 +00:00
Graham Triggs
f1a0135638
Add indexes to foreign key constraints to avoid table locking issues. Clean up some of the API for the browse tables.
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2620 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-09 00:58:44 +00:00
Graham Triggs
6ba6658d41
Fix reversion of efficient index pruning
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2619 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-09 00:01:04 +00:00
Graham Triggs
f1549c6460
Updated efficiency and clarity of browse code. Much faster indexing at slight cost of lookup. Fix to normalisation code.
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2613 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-08 00:56:30 +00:00
Mark Diggory
e27161bbca
Remove I18N : Eliminate I18N class from core and adjust the only two locations it is still used in ChecksumChecker to use I18nUtil.
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2612 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-08 00:02:37 +00:00
Graham Triggs
6a4f72cb39
Make the browse indexing more robust to suspect data
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2595 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-06 16:56:52 +00:00
Graham Triggs
16c0d1599e
Fix issue with second level browse (ie items for a particular subject) not allowing you to use the page controls
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2592 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-04 15:01:35 +00:00
Graham Triggs
ab71001443
Small fix to indexing of dates
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2588 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-31 16:52:09 +00:00
Graham Triggs
07f131cebf
PDF Filter can optionally extract text into a temporary file instead of memory (useful for very large PDFs)
...
PDF Filter can optionally skip bitstream extraction when an OutOfMemoryException is thrown (workaround to PDFBox error)
PDFBox version bumped to 0.7.3 to be in line with previous DSpace distributions
Lucene bumped to version 2.3.0 - no source changes required, compatible with existing indexes, indexing has up to 8x performance improvement
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2581 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 22:01:22 +00:00
Graham Triggs
2e21feaaf8
Minor corrections following the generalisation of sort ordering
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2567 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-25 16:06:40 +00:00
Graham Triggs
86883adad0
Completed search reordering controls, made ItemListTag equivalent to BrowseListTag
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2553 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 16:46:44 +00:00
Graham Triggs
c816a34268
Added distinct year indexing for dates
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2549 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 10:25:16 +00:00
Graham Triggs
7c41217e92
Fix ordering of community/collection/item, and add controls to alter number of results per page and sorting in search
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2538 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 21:26:35 +00:00
Graham Triggs
4f540ea77b
Make default search sorting Relevance in DESCENDING order (most relevant first), allows resorting to Relevance ASCENDING, and other options
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2533 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 16:44:17 +00:00
Graham Triggs
327349224c
Fix problem with ordering community / collection / items
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2531 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 15:59:29 +00:00
Graham Triggs
501398ec1d
Fix problem with DatabaseManager retrieving column information if the database contains multiple schemas
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2529 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 13:49:52 +00:00
Graham Triggs
be1878ae64
Fix quote parsing, remove oro dependency
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2527 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 13:36:30 +00:00
Stuart Lewis
d725244ffd
(Stuart Lewis) SF Patch #1642563 bin/update-handle-prefix rewritten in Java
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2525 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-14 16:40:45 +00:00
Graham Triggs
1720f60664
Disabled unnecessary Lucene workaround
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2522 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-14 15:06:54 +00:00
Graham Triggs
a2f335d697
Improved resilience of query object when index is lacking necessary information, improve efficiency of search results by not using handles if the resource ID is available
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2521 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-13 19:19:19 +00:00
Graham Triggs
654462dbe0
Moved AbstractTextFilter to sort from browse
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2519 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-13 16:01:52 +00:00
Stuart Lewis
6d374b3a5b
(Stuart Lewis) SF Patch #1642563 bin/update-handle-prefix rewritten in Java
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2518 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-12 15:51:04 +00:00
Graham Triggs
d86af20a5a
First part of search update - reduce search size, add in fields for sorting content, lessen dependency on handles
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2508 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-10 14:03:36 +00:00
Tim Donohue
cf734f6bfd
Small bug fix to allow JSPUI and XMLUI to both allow skipping file upload during submission, if it is enabled in the dspace.cfg.
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2492 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 18:56:45 +00:00
Tim Donohue
80356f5c2e
Merged 'item-submission-JSPUI.xml' and 'item-submission-XMLUI.xml' files into a single 'item-submission.xml' configuration file (based on suggestions from Graham Triggs).
...
Small updates throughout API for Configurable Submission to support this merged configuration file (majority of changes in dspace-api and dspace-jspui modules). Also includes updates to Configurable Submission documentation and small updates to I18N to make the XMLUI and JSPUI keys more parallel.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2491 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 17:53:25 +00:00
Graham Triggs
007081224a
Make it possible to specify multiple metadata fields to be used in a 'unique metadata' index - ie. dc.contributor.author,dc.contributor.advisor for the author list
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2486 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-07 15:52:27 +00:00
Graham Triggs
d1f8015bb5
Added missing copyright messages
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2482 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-05 06:31:33 +00:00
Tim Donohue
7301b832db
Various bug fixes to JSP-UI file upload step:
...
Fixed NPE when no file selected to upload. Fixed small bug in processing of upload-error.jsp (was not returning to file upload screen). Fixed ability to enable *skipping* uploading a file during JSPUI submission (some of the code never made it into 1.5 codebase during my original Config Submission patch, so this feature was not working properly).
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2481 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-04 22:45:19 +00:00
Tim Donohue
faa1749a25
Ack...sorry, I updated the wrong SVN...my mistake!
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2473 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-03 18:19:46 +00:00
Tim Donohue
7aae860821
test update
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2472 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-03 18:18:22 +00:00
Graham Triggs
5ed6765f73
Centralise Thumbnail logic, and improve DB efficiency in generating thumbnail links on item lists (in testing, at least 4x better)
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2470 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-02 09:30:40 +00:00
Graham Triggs
ada69cdad8
Added "db.poolname" configuration (so that multiple applications can share a single DBCP). Also add a shutdown method to allow web applications to clean up on undeploy.
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2468 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-29 22:19:26 +00:00
Graham Triggs
8ed598e202
Fix SF Bug: 1744488 - Mapped items listed multiple times in feeds / recent submissions
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2466 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-25 22:45:23 +00:00
Andrea Bollini
a581adcec6
[ 1856368 ] Patch for Bug #1856364 Wrong label for First/Last name
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2462 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-22 12:43:21 +00:00
Graham Triggs
9237c9e5ef
Fix retrieval of Locale for an EPerson so that if the language isn't set, an NPE isn't thrown
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2456 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-20 18:22:51 +00:00
Scott Phillips
49e047fff4
(Scott Phillips) Cleaned up import directives
...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2450 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-17 23:20:15 +00:00