Commit Graph

892 Commits

Author SHA1 Message Date
Tim Donohue
70ad63e9d8 DS-849 : Create a non-Porter Stemming analyzer for DSpace
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6511 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-29 20:56:54 +00:00
Mark Wood
bc6b9af830 Squash use of deprecated Context.setIgnoreAuthorization (and tidy some doc comments)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6495 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-18 20:37:26 +00:00
Mark Wood
a5431e261e [DS-938] Throw exception on error, so MediaFilterManager will finger the
problematic file.


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6494 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-18 20:25:31 +00:00
Tim Donohue
14960e2ec3 DS-708 : Deprecate & Remove old 'org.dspace.app.mets.METSExport' class. Reworks OAI-PMH's METSCrosswalk to use the METSDisseminationCrosswalk instead of METSExport, and removes deprecated METSExport class. See JIRA for more info.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6467 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-14 20:49:28 +00:00
Scott Phillips
992cf27921 DS-828, When restore mode is enabled and a handle is not supplied it should be able to mint a new handle instead of failing.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6461 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-12 16:32:47 +00:00
Andrea Schweer
25a6ac8fad DS-866 applying my patch from Jira
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6459 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-12 09:13:42 +00:00
Scott Phillips
690c083c29 DS-680, Made the precedence of && and II explicit
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6458 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-08 14:43:48 +00:00
Scott Phillips
f85eb2635d DS-680, malformed values in dc.date.accessioned cause statistics to blow up. This patch filters out most malformed dates.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6456 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-07 20:30:13 +00:00
Stuart Lewis
63949a16cb [DS-827] - Autoregister in LDAPHierarchicalAuthentication is incompatible with ldap.netid_email_domain option + patch to fix tabindex in LDAP login form
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6455 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-07 07:13:02 +00:00
Stuart Lewis
8e9df4a1da Update test to expect more informative error messages which now state which row in the CSV contains an error
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6453 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-05 19:12:45 +00:00
Stuart Lewis
cd27e96cec [DS-834] - CSV import dialog doesn't handle csv errors gracefully
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6452 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-05 02:11:03 +00:00
Tim Donohue
7c968661c4 Fix for DS-931 - METS Disseminator never resets its counter for METS @ID attributes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6442 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-06-17 20:33:04 +00:00
Tim Donohue
14fd1f8df7 Fix for DS-930 - Several DSpace Crosswalks create a new Context and never close it
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6441 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-06-17 20:18:36 +00:00
Mark Wood
7ebdd1c866 Fix one typoed closure tag and some annoying missing ones.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6440 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-06-13 16:52:44 +00:00
Tim Donohue
edbb77ff3b Minor fix to a comment from previous DS-896 commit. Accidentally committed a comment that referred to code that is not yet completed (i.e. comment referring to ability to run site-wide Tasks from Admin UI). Removing that comment, until that future Site-wide code is completed/approved in a future JIRA ticket.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6417 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-06-02 15:14:43 +00:00
Tim Donohue
684c2a963e DS-896: Improve Logging & XMLUI Error Handling of Curation Tools. This code was reviewed & approved by Richard Rodgers & Wendy B of MIT. It doesn't change any logic in Curation Framework, but rather just enhances the Logging, and ensures that errors in XMLUI are displayed in a nice format (i.e. avoids ugly Cocoon error stack page). In addition, improves the I18N of the Curation Task Admin UI (by moving most of the English text to messages.xml).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6416 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-06-02 15:10:19 +00:00
Peter Dietz
8dfcbe17f2 [DS-841] No such column rnum error in eperson admin with Oracle backend. (Patch by Hardy Pottinger).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6388 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-05-27 14:39:35 +00:00
Robin Taylor
e8775db14e [DS-852] Split the License step into separate steps for Creative Commons and the site license
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6384 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-05-20 09:33:19 +00:00
Robin Taylor
3f190b845d [DS-638] Add virus check to submission UploadStep
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6375 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-05-13 09:30:13 +00:00
Peter Dietz
8fc86f3006 [DS-864] Added and clarified javadoc.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6281 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-29 21:42:38 +00:00
Kim Shepherd
b1a5a717d4 [DS-860] SWORD still uses dspace.url rather than dspace.baseUrl
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6262 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-28 08:34:14 +00:00
Peter Dietz
35b50fd43c [DS-620] Uploading files that exceed the maximum file size should lead to a friendly error page
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6151 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-16 18:38:29 +00:00
Mark Diggory
46fedd6ce7 [DS-839] Adding Field to Choice Authority to allow Authorities to be able to know of the field being authority controlled.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6138 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-15 05:26:02 +00:00
Tim Donohue
03ab1fd6fd DS-821 fix (AbstractMETSIngester creates an item before adding descriptive metadata). This fix essentially reorganizes logic in AbstractMETSIngester.ingestObject(), to ensure that item is not officially *installed* in DSpace until all of the Descriptive Metadata crosswalks and files are attached. See DS-821 for more info. I've tested this fix via both SWORD ingest and via AIP Ingest, and both seem to work perfectly.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6136 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-14 19:10:43 +00:00
Mark Diggory
3790e662f9 Restoring Usage Event Consumer until proper patch is prepared
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6133 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-09 22:33:29 +00:00
Mark Diggory
02971f769c Restoring Usage Event Listener until proper patch is prepared
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6132 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-09 22:32:42 +00:00
Mark Diggory
b821d47d7c Restoring Usage Event until proper patch is prepared
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6131 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-09 22:31:44 +00:00
Mark Diggory
9b225d037d Restoring Authentication Method until proper patch is prepared
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6130 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-09 22:28:57 +00:00
Mark Diggory
d3bb37ee04 Restoring Constants until proper patch is prepared
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6129 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-09 22:19:52 +00:00
Mark Diggory
8d4e9f95db Constants
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6123 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-09 07:09:15 +00:00
Mark Diggory
a70fcf8150 Adding Authentication Stack Interface.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6118 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-09 06:09:33 +00:00
Mark Diggory
bc8c3b4199 Adding UsageEvent, Event, Consumer and fleshing out methods needed in DSpace Statistics
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6117 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-09 05:58:19 +00:00
Stuart Lewis
7c465277d8 [DS-215] Single-argument Item.getMetadata does not work with mixed-case metadata terms. Re-applied in 1.7.1 / 1.8(trunk) as t got overwritten during a merge in the 1.7 development.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6105 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-04 03:15:10 +00:00
Mark Wood
4a86efeb8c Forgot the license blurb
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6101 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-01 18:24:51 +00:00
Ben Bosman
682fa9b5bf [DS-823] DatabaseManager Oracle compliance
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6091 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-02-24 12:47:00 +00:00
Mark Wood
70293b3743 [DS-672] Stage 1: throw a descriptive IllegalArgumentException instead of NPE.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6073 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-02-09 19:36:37 +00:00
Mark Wood
711a59adfa Avoid mysterious NPE if ItemImporter is given a path that is not a directory.
Plus comment, visibility, type safety cleanups and replace deprecated 
Context.setIgnoreAuthorization().


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6072 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-02-09 19:25:31 +00:00
Mark Wood
381688cb24 When an Item has no default READ policies, identify it by handle so an
admin need not dig into the database to find it in the UI.


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6071 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-02-09 18:26:31 +00:00
Stuart Lewis
b73d348a69 [DS-806] Item.match() incorrect logic for schema testing
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6053 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-01-27 00:54:53 +00:00
Stuart Lewis
c33c01c4de [DS-806] junit test - should cause bamboo to report a test failure. Patch to fix this to be applied shortly.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6050 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-01-27 00:22:26 +00:00
Claudia Juergen
388c6b1286 [DS-761] MetadataSchema: cache out of sync after calling delete()
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6026 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-01-19 15:27:50 +00:00
Mark Wood
58901caaf3 Extend IP authentication over IPv6 addresses. Begin adding unit tests for authentication.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6024 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-01-18 21:19:18 +00:00
Mark Wood
cd4d371590 When getMaxTableNameLength returns 0 (no limit) don't try to index a String by -1.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6019 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-01-14 13:47:46 +00:00
Mark Wood
3727ab574f [DS-777] Remember made-up names for orphan groups so we don't generate
new (different) names on subsequent references.


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5940 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-10 22:07:44 +00:00
Tim Donohue
3ee0ecaadc Quick Fix for DS-777 : PackageUtils.translateGroupNameForExport returns null unexpectedly
This fix actually updates METSRightsCrosswalk so that it better supports cases where  PackageUtils.translateGroupNameForExport() returns null.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5936 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-09 22:55:30 +00:00
Tim Donohue
fbc2e07d76 package-info.java file was missing DSpace license.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5935 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-09 21:57:05 +00:00
Mark Wood
75ed3bead3 Say which package evoked the SQLException.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5934 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-09 20:10:33 +00:00
Mark Wood
811d85d52d Don't disseminate invalid rights:Context if a ResourcePolicy has neither
Eperson nor Group.  Don't NPE if we try to ingest one.


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5933 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-09 19:59:52 +00:00
Mark Wood
058f779c0c Explicitly close InputStreams to avoid large numbers of open files awaiting GC.
(Ran out of file handles.)


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5932 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-09 19:07:57 +00:00
Richard Rodgers
0b8a8e4cde Add logic for resetting embargo when restoring from an AIP
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5930 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-09 00:00:02 +00:00