Commit Graph

2204 Commits

Author SHA1 Message Date
Richard Jones
1e7af72a76 re-enable xml-ui with rudimentary identifier support. This involves having fitted a new resolving mechanism to work with the xmlui way of obtaining DSpaceObjects, and decoupling the handle specific dependencies. This has appeared to be successful with regard to communities and collections, but it is not currently possible to submit items through the UI.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2587 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-30 16:53:34 +00:00
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
Mark Diggory
e4a098926f Complete JSPUI reorganization. Remove empty directories.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2580 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 02:55:27 +00:00
Mark Diggory
2c34bf1bf8 Complete JSPUI reorganization. Merge changes from 1.5 including java and webapp relocations and pom edits.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2579 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 02:52:17 +00:00
Mark Diggory
d4c59b332f Complete JSPUI reorganization. Create initial directory structure.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2578 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 02:37:58 +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
Graham Triggs
18b7f3462a Add email validation to FeedbackServlet (Fix SF bug 1827579)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2565 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-22 22:44:55 +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
443083b140 Add search ordering controls to Manakin
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2561 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-18 05:36:21 +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
Tim Donohue
d69626c9ce Fixing order of copy processes in 'ant update'. Previously it was overwriting everything in [dspace]/etc, and *then* backing that up to [dspace]/etc.bak-{build.date}. Fixed it to perform backup of /etc first!
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2558 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 20:30:51 +00:00
Tim Donohue
72a7e39505 Adding 'target' directory to svn:ignore for both dspace-oai-api and dspace-oai-webapp
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2556 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 17:34:05 +00:00
Graham Triggs
e382daaa1c Replace internal Sun Base64 encoder with Commons-codec
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2552 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 10:51:30 +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
Mark Diggory
b4eb8eb806 Merge across branch and trunk so that history is consistent and conflicts no longer exist.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2548 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 23:39:24 +00:00
Mark Diggory
835a79a4f4 This directory is no longer used.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2547 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 23:34:36 +00:00
Mark Diggory
c4c468d9fc Merge changes to trunk: Reorganize dspace-oai plugin to be structured identically to dspace-xmlui and dspace-lni plugins.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2546 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 23:32:30 +00:00
Tim Donohue
fe152ed100 Updated 'echo' comments that are returned when running 'ant update' or 'ant fresh_install'. The comments had not been fully updated for the 1.5 build/install process.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2542 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 22:29:12 +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
f0238b980c Updated to use new index fields
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2539 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 21:34:38 +00:00
Mark Diggory
5e5cd8cf4f Remove vestigial History tables from database schema and add DROP TABLE in update schemas.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2536 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 19:58:12 +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
1a5d6859cc Fix incorrectly thrown IOException
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2526 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-14 20:21:25 +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
Mark Diggory
e199e7f17e bring along etc directory into install so that any sql upgrade code can be run from either dspace.home or from target/dspace-./
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2511 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-10 22:07:32 +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
Graham Triggs
20f921b7c8 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@2509 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-10 14:04:16 +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
Mark Diggory
2b945729f4 Merge from 1.5.x branch:
If the Auth Method href or title key is null, do not show it in the list of options.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2502 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-09 00:28:37 +00:00
Mark Diggory
062a102c51 Merge to trunk:
Reordering Submission Aspect after EPerson Aspect corrects bug where "My Account" title disappears when logged in. Unsure why bug occurs.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2501 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-09 00:09:48 +00:00
Tim Donohue
f83ebc1dd4 Fixes to DTD based on merged version of the item-submission.xml
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2497 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 22:50:29 +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
cec1b19e54 Fix feed generation to use descending order (so most recent items come first)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2490 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 12:18:53 +00:00
James Rutherford
c6599aafcb Moved all database creation SQL into the main database_schema.sql, removing the old DAO-specific file. Updated the build.xml to reflect changes.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2488 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 11:04:41 +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