Commit Graph

6761 Commits

Author SHA1 Message Date
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
Graham Triggs
3b4e9a778e Fix to SF bug #1827521 - recent submissions not showing sub-community submissions.
- adds communities2item table maintenance back into browse, includes new SQL to query the community hierarchy more efficiently than the Item/Community API
- by extension, fixes a problem where items in an upgraded database can't be deleted due to their existence in communities2item
- also, changes Harvest to use communities2item instead of community2item, so RSS feeds will work on the same basis of recent submissions, and include the sub-community content

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2447 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-16 22:41:40 +00:00
Graham Triggs
bac57b5e0c Improved efficiency of scoped browsing by replacing an IN with an EXISTS
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2437 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 23:48:50 +00:00
Graham Triggs
08a038b17d Improve efficiency of pruning excess information from browse tables
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2436 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 23:04:59 +00:00
Mark Diggory
f7f8500155 Allow X509Authentication to be triggered from Login Choices page as well. Default is old behavior, This allows one to maintain the site under http and only protect certificate login page with https for certificate authentication. Implicit X509 Authentication is not ideal in relation to default Internet Explorer behavior.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2435 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 19:26:33 +00:00
Graham Triggs
7bd52205f6 *Massively* sped up the index prune methods (which means instatiating / withdrawing / editing items is *much* faster)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2434 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 17:37:59 +00:00
Graham Triggs
ef4151816e Significantly speed up the submission process, by reducing the work the browse code does if it can assume that the item has never been indexed
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2432 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 15:33:53 +00:00
Graham Triggs
1f32543a19 Made a number of methods in the submission steps protected instead of private, to make it easier to extend the provided steps
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2414 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-03 14:30:56 +00:00
Tim Donohue
e891212fdf Small addition of a "Skip" flag to MediaFilterManager/filter-media. Allows one to specific a list of identifiers (communities/collections/items) to SKIP during filtering process. Updated documentation to explain this new flag.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2410 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-30 18:14:41 +00:00
Tim Donohue
6e377ffd94 Small bug fix to MediaFilterManager (found a cast to MediaFilter rather than to new FormatFilter). Fixed some comments.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2407 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-29 17:55:45 +00:00