Richard Jones
d378aef30f
mass commit of broken code for identifiers. Fixes coming up over the next couple of weeks.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2583 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-29 14:28:53 +00:00
Graham Triggs
eb4879f342
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/trunk@2582 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 22:01:54 +00:00
Graham Triggs
380a9f02ac
Minor corrections following the generalisation of sort ordering
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2568 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-25 16:09:21 +00:00
Richard Jones
af7ef46521
add legacy url support for handles. This means all urls of the form [dspace-url]/handle/<handle> will still work (as they may have been bookmarked through the browse address bar). It does also mean that handles with the new formulation in the url (resource/hdl/<handle>) can also be resolved through the old mechanism.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2566 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-23 15:57:42 +00:00
Richard Jones
f2f2569022
fix title display of item on jsp-ui
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2563 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-22 15:39:59 +00:00
Graham Triggs
5c64a51dc1
Completed search reordering controls, made ItemListTag equivalent to BrowseListTag
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2559 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 21:55:24 +00:00
Graham Triggs
46bfab5efb
Added distinct year indexing for dates
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2550 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 10:25:52 +00:00
Graham Triggs
2c79734f13
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/trunk@2541 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 21:43:15 +00:00
Graham Triggs
1b0797b4ec
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/trunk@2534 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 16:44:52 +00:00
Graham Triggs
00f7b2b8cf
Fix problem with ordering community / collection / items
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2532 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 15:59:53 +00:00
Graham Triggs
1c068b2132
Fix problem with DatabaseManager retrieving column information if the database contains multiple schemas
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2530 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 13:50:15 +00:00
Graham Triggs
42fca0e90c
Fix quote parsing, remove oro dependency
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2528 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 13:37:06 +00:00
Graham Triggs
5a8b211d44
Disabled unnecessary Lucene workaround
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2523 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-14 15:08:59 +00:00
Graham Triggs
089d3cc9c2
Moved AbstractTextFilterOFD from browse to sort package
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2520 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-13 16:15:35 +00:00
Graham Triggs
6d898a5e19
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/trunk@2510 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-10 14:25:26 +00:00
Richard Jones
e56e75648c
add group resolution to getObject
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2507 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-10 10:20:48 +00:00
Richard Jones
071e1d2b9c
extend identification mechanism to include Group objects. These could now technically be made resolvable through the UI using a unique URL.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2506 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-10 08:43:50 +00:00
Richard Jones
68f8572e8a
extend identification mechanism to include EPerson objects. These could now technically be made resolvable through the UI using a unique URL.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2505 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-09 17:54:36 +00:00
Richard Jones
d8cfa7304c
extend identification mechanism to non-DSpaceObject objects. This introduces a SimpleIdentifier which offers a basic wrapper for UUIDs, which is in turn extended by ObjectIdentifier to allow DSpaceObjects to take advantage of this type heirarchy. DSpaceIdentifier has been renamed ResolvableIdentifier which ObjectIdentifier and ExternalIdentifier now implement, so that it is clear that objects can be obtained from identifiers implementing this interface, but not from the SimpleIdentifier. With the addition of an Identifiable interface, we can now tag classes to be identifiable, with their choice of exactly which identifier mechanisms they wish to support. There is also the beginning of formal exception handling.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2504 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-09 11:47:36 +00:00
Mark Diggory
bc468a3047
Adding missing import statement to UploadStep.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2503 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-09 00:37:35 +00:00
Tim Donohue
65d56b57bb
Merging recent Config Submission changes from 1.5.x Branch into Trunk:
...
(From earlier today)
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/trunk@2495 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 20:06:57 +00:00
Tim Donohue
49386c1c5d
Merging recent Config Submission changes from 1.5.x Branch into Trunk:
...
(From earlier today)
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/trunk@2494 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 20:02:59 +00:00
Tim Donohue
50cbccfd26
Merging recent Config Submission changes from 1.5.x Branch into Trunk:
...
(From Jan 4)
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/trunk@2493 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 19:45:52 +00:00
Graham Triggs
eb10adb3e3
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/trunk@2487 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-07 15:52:55 +00:00
Richard Jones
1e73ff0119
add external identifier assignment to all DSpaceObjects through their *DAOCore classes. This now extends the assignment of external identifiers to bundles and bitstreams too. It could be left up to the external identifier implementation to decide which object types it actually assignes identifiers to (e.g. the Handle mechanism could decide not to assign handles if the object type is Bundle or Bitstream). I have not implemented this selectiveness, though, and intend to leave identifier assignment throughout the entire DSpaceObject hierarchy for consistency unless convinced otherwise.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2485 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-07 15:50:50 +00:00
Richard Jones
bc51fa9c16
fix bug with resolution of canonical form identifiers resulting in infinite recursion to stack overflow
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2484 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-07 15:22:42 +00:00
Richard Jones
ae540b120a
propagate API changes for URL generation throughout source code. Now all cases where URLs are required should use IdentifierFactory.getURL(DSpaceObject), which will generate the appropriate URL as specified by configuration. It also means that where the appropriate URL cannot be generated, it can fall back to the internal UUID based URL. Note that there may be copy-and-paste bugs in this code, but so far no errors have been observed. Keep your eyes peeled.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2483 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-07 14:30:51 +00:00
Richard Jones
775078c133
initial code to allow arbitrary identifier schemes to be used as the basis for the DSpace standard url scheme. If a namespace is set in the configuration, the IdentifierFactory will attempt to construct an internal style url based on this scheme, and fall back to standard object identifiers if unsuccessful. This requires a change in the way that URLs for objects are constructed for the UI, which has so far only been implemented in the BrowseListTag as a demonstrator. This needs to be further rolled out across the code base.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2480 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-04 17:33:41 +00:00
Richard Jones
2f28156197
modifications to jspui to include external identifiers at the top of community and collection pages, and uuids at the bottom
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2478 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-04 15:54:40 +00:00
Richard Jones
958e4c64b3
updates to ObjectIdentifier API, and addition of an ObjectIdentifierMint which will be responsible for ensuring that ObjectIdentifiers are created properly, and also with the job of insulating the user from the DAO abstraction where necessary. There is also improved generalisation of identifier resolution so that a single call to IdentifierFactory.resolve() will attempt to generate a DSpaceIdentifier from the given string using a number of methods. Pass to this canonical forms, or url segments, and it will attempt to generate a valid object identifier.
...
Note that invalid identifiers currently generate a null pointer exception. Fix coming up.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2476 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-04 14:33:05 +00:00
James Rutherford
ac60cf682a
Removed the Supervisor class (should have been included in the last commit).
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2475 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-04 14:26:47 +00:00
James Rutherford
0e4ec3ad58
Renamed Supervisor to be SupervisionManager (to make it more consistent with convention elsewhere). Also made SupervisionManager and ArchiveManager abstract, as they are both just collections of static helper methods, and it wouldn't make sense to instantiate either of them.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2474 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-04 14:25:38 +00:00
James Rutherford
fd86daa826
Tidying up.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2471 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-03 11:29:44 +00:00
Graham Triggs
0499f077b9
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/trunk@2469 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-29 22:20:07 +00:00
Graham Triggs
38587c5295
Fix SF Bug: 1744488 - Mapped items listed multiple times in feeds / recent submissions
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2467 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-25 22:45:58 +00:00
Andrea Bollini
9ab3f20879
[ 1856368 ] Patch for Bug #1856364 Wrong label for First/Last name
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2463 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-24 10:09:52 +00:00
Richard Jones
26c4e7b776
migration tools for moving existing handles over into the new external identifier system. Before proceeding with working on trunk please update your database as per the database-schema_15-16.sql file and run Upgrade15To16
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2459 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-21 12:27:38 +00:00
Richard Jones
9b9522d190
Complete initial implementation of the external identification mechanism. This includes a generalised object and storage model for external identifiers, as well as tools to manage the plugin stack for allowing pluggable identification mechanisms. There is a partial implementation of all the handle kit, which is still to be finalised, but which allows for assignment of handles to all DSpaceObjects, and will currently resolve handles only to DSpace Items. This new object model and process is then implemented throughout the dspace-api, and dspace-jspui modules, but will currently not work with the dspace-xmlui module (it will not currently compile against the dspace-api module, and will continue to remain inactive until the API for external and internal identifiers has been stabilised and changes can be propagated) or the dspace-lni module. There are additional changes to the dspace-jspui module which improve the display mechanics for both external and internal identifiers. Please note: the changes have not been tested in all contexts, and bugs will undoubtedly remain in areas such as RSS feeds, statistical reports, and so on.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2458 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-21 12:25:59 +00:00
Graham Triggs
4332d1e05b
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/trunk@2457 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-20 18:30:15 +00:00
James Rutherford
ec864182d6
Minor bugfix in the ObjectIdentifier.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2455 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-19 15:53:52 +00:00
James Rutherford
d14a30259b
Minor refactoring in the ItemProxy.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2454 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-19 15:49:52 +00:00
Richard Jones
62392b0b2a
minor re-naming and addition of relevant code licences for object identifiers
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2449 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-17 11:32:02 +00:00
Graham Triggs
2c13df1777
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 ItemDAO 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/trunk@2448 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-16 22:57:51 +00:00
Richard Jones
1472b0f277
initial pass at 1.5 to 1.6 migration tools. This is pretty much hacked together to demonstrate the new UUID work, and still needs to be looked at properly.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2446 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-14 16:21:54 +00:00
Richard Jones
977a58d054
fix uuid assignment and storage mechanism throughout core object model. This adds relevant ObjectIdentifier management techniques to the object model, and manages their creation, assignment, update and removal through the DAO layer. It also adds a de-normalised index of uuids for rapid access to the content objects. The URIServlet is updated to be able to resolve UUID based URLs to the DSpaceObject which they pertain to. Currently, the handle and other external identifier mechanisms are not in line with this code, so they will not function yet. Also attached are database schema files for creating the relevant underlying storage in postgres.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2445 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-14 16:19:54 +00:00
Mark Diggory
0ac67b690b
r8831@libaxis1 (orig r2437): grahamtriggs | 2007-12-13 18:48:50 -0500
...
Improved efficiency of scoped browsing by replacing an IN with an EXISTS
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2443 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-14 05:01:14 +00:00
Mark Diggory
52ca47925c
r8830@libaxis1 (orig r2436): grahamtriggs | 2007-12-13 18:04:59 -0500
...
Improve efficiency of pruning excess information from browse tables
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2442 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-14 05:01:03 +00:00
Mark Diggory
2a9f0b81c3
r8829@libaxis1 (orig r2435): mdiggory | 2007-12-13 14:26:33 -0500
...
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/trunk@2441 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-14 05:00:53 +00:00
Mark Diggory
bc62127426
r8828@libaxis1 (orig r2434): grahamtriggs | 2007-12-13 12:37:59 -0500
...
*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/trunk@2440 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-14 05:00:39 +00:00
Mark Diggory
44992c0364
r8826@libaxis1 (orig r2432): grahamtriggs | 2007-12-13 10:33:53 -0500
...
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/trunk@2439 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-14 05:00:31 +00:00