Commit Graph

2204 Commits

Author SHA1 Message Date
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
45d50eab9f re-introduce the LNI module into the build process. I can't verify directly that this is functioning correctly, but the code compiles and looks correct. Further testing will be required to ensure that identifier management is being done properly. I have endeavoured to make additional changes to the DAVDSpaceObject which make sure that LNI resource paths are now actually assembled using the canonical forms of the UUIDs associated with items, and not their handles, which ought to mean that the resolution code is now also working. Further work is needed to move the LNI away from its reliance on the semantics of handles, but this is too much for the moment.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2479 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-04 16:20:27 +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
6728570e14 Fix for bug throwing NPE when invalid identifier is offered through the URL
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2477 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-04 14:48:48 +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
7bb17bd0aa [ 1856368 ] Patch for Bug #1856364 Wrong label for First/Last name
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2465 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-24 10:13:23 +00:00
Andrea Bollini
9e987b6f96 [ 1856368 ] Patch for Bug #1856364 Wrong label for First/Last name
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2464 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-24 10:11:36 +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
8b0cff1ec0 r8832@libaxis1 (orig r2438): mdiggory | 2007-12-13 21:59:51 -0500
Add in X509 Auth Key for xmlui


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2444 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-14 05:01:26 +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
James Rutherford
47aca7c1e3 Removed unnecessary calls to the child DAO.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2433 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 15:38:25 +00:00
James Rutherford
5ba515a91f Tidying up.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2431 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 15:12:03 +00:00
James Rutherford
5eb2087bfc Fixed some NPEs and a typo in the input forms DTD.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2430 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 11:54:46 +00:00
James Rutherford
8657a33dbc Some code tidying around the DAOs, plus updated them so that delete() no longer calls update() before removing the object.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2429 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 11:14:39 +00:00
James Rutherford
7091b0c32b Fixed a minor typo in the configuration.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2428 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 10:25:01 +00:00
James Rutherford
fd510a7588 Refactored the Group DAOs to take advantage of the refined stackable DAO mechanism. Also fixed a logic error in the update() method of the Group DAO.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2427 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-12 18:55:12 +00:00
James Rutherford
0b66062da8 Migrated org.dspace.storage.dao to org.dspace.dao, and rearranged the stackable DAO interfaces & classes a bit. I've also refactored the EPerson DAOs to take advantage of the refined mechanism.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2426 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-12 15:01:00 +00:00
James Rutherford
410854970e Migrated org.dspace.storage.dao to org.dspace.dao, and rearranged the stackable DAO interfaces & classes a bit. I've also refactored the EPerson DAOs to take advantage of the refined mechanism.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2425 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-12 14:52:52 +00:00
Richard Jones
1975a3945a include in the 'uri' file the canonical forms of all the identifiers associated with an item
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2424 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-11 14:48:17 +00:00
Mark Diggory
467fab985d r8785@libaxis1 (orig r2421): mdiggory | 2007-12-10 16:34:12 -0500
Enable METS OAI Crosswalk by default.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2423 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-11 05:00:21 +00:00
Mark Diggory
982b2caffd r8784@libaxis1 (orig r2420): mdiggory | 2007-12-10 16:31:39 -0500
correct dateCreated and dateIssued mappings in mods-submission xsl


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2422 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-11 05:00:15 +00:00
James Rutherford
d117658cba Fixed merge conflicts in MediaFilterManager. It builds OK, but still needs testing.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2419 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-10 18:10:16 +00:00
Mark Diggory
e5ec28d621 Restore Version to "SNAPSHOT"
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2418 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-10 17:15:04 +00:00
Mark Diggory
f1c004f5b0 This commit introduces the DAO prototype to trunk. This merge contains the works of James Rutherford (jrutherford) et. al. found in the DAO prototype branch revision number 1502 located here:
http://dspace-sandbox.googlecode.com/svn/branches/dao-prototype/

Further details can be found at the following WIKI page http://wiki.dspace.org/DSpace_1.6


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2417 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-10 17:00:07 +00:00
James Rutherford
89683e07e2 Fixed a bug in the cleanup script where any arguments passed in would be ignored.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2416 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-06 11:47:48 +00:00
Mark Diggory
2c520a93ae r8722@libaxis1 (orig r2414): grahamtriggs | 2007-12-03 09:30:56 -0500
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/trunk@2415 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-04 05:00:32 +00:00
Mark Diggory
ce6c29b497 r8715@libaxis1 (orig r2412): grahamtriggs | 2007-12-01 06:17:19 -0500
Updated schema to remove the old browse tables that are no longer used


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2413 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-02 05:00:17 +00:00
Mark Diggory
aa26ca4418 r8710@libaxis1 (orig r2410): tdonohue | 2007-11-30 13:14:41 -0500
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/trunk@2411 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-01 05:00:17 +00:00
Mark Diggory
8989efa87c r8690@libaxis1 (orig r2407): tdonohue | 2007-11-29 12:55:45 -0500
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/trunk@2409 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-30 05:00:44 +00:00
Mark Diggory
e15942f3e6 r8682@libaxis1 (orig r2406): grahamtriggs | 2007-11-29 06:58:05 -0500
Improved browse configuration (ability to hide sort options from the browse controls, can set left-hand navigation to asc and/or desc lists). Improves normalisation of titles.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2408 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-30 05:00:35 +00:00
Mark Diggory
6ec4d775d3 r8654@libaxis1 (orig r2400): grahamtriggs | 2007-11-28 17:34:57 -0500
Changed getBrowseIndices to respect order in dspace.cfg


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2405 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-29 05:00:58 +00:00
Mark Diggory
e9c1c748af r8653@libaxis1 (orig r2399): mdiggory | 2007-11-28 16:27:02 -0500
Add capability to filter bitstream which match a specific name.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2404 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-29 05:00:51 +00:00