Permalink
Commits on Sep 24, 2010
  1. Tagging (from current Trunk) a version of DSpace for DuraCloud Pilot …

    …testing. This is so that DuraCloud pilot partners can try out and test the new AIP backup/restore functionality before 1.7.0 is released. Calling this tagged version 'duracloud-pilot-1' for lack of a better name.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/tags/duracloud-pilot-1@5358 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    tdonohue committed Sep 24, 2010
  2. AIP Work: Minor cleanup of dissemination of Groups/People to AIPs. Av…

    …oid writing empty XML tags in dissemination output. Also, return 'null' from RoleCrosswalk if no Groups/Epeople found so that an essentially empty XML structure is not written to AIP (this situation should only occur for Community/Collection AIPs, if they have no auto-created groups similar to COLLECTION_<ID>_ADMIN). Backup & Restore of Groups/People/Policies now seems to be fully functional and working great!
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5357 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    tdonohue committed Sep 24, 2010
Commits on Sep 23, 2010
  1. AIP Work: Minor bug fix in RoleDisseminator. Forgot to escape "_" cha…

    …racter in SQL queries -- in SQL, underscore is a pattern that matches any single character. In this case, we wanted a literal underscore.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5356 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    tdonohue committed Sep 23, 2010
  2. AIP Work: Bug fixes to Group Restore process. Split the 'PackageUtils…

    ….crosswalkDefaultGroupName()' into two separate methods -- 'translateGroupNameForExport()' and 'translateGroupNameForImport()'. This fixes a bug where occasionally a group would be created twice. Refactoring around those changes. Also resolved a bug where current Admin user (who is running restore) would be removed from Administrator group during restore (if that user didn't previously exist as an Admin in the system).
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5355 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    tdonohue committed Sep 23, 2010
  3. AIP Work: Set a default timestamp for manifests & files when they are…

    … added to a ZIP archive. As only Items have a 'last-modified' date associated, all other object's manifests are just given this default timestamp when added to the AIP's ZIP file. This ensures that when we generate a ZIP-based AIP a second time, its md5 checksum will be identical (as the Zip Entry timestamps will now be unchanged). Previously, the md5 checksum of the AIP (ZIP file) always changed even if the DSpace object itself and its METS-based manifest was unchanged. Also made a small modification to the <mets> @ID attribute to ensure it doesn't change when you regenerate an AIP for an unchanged object.  End result of this commit is that AIPs no longer have different md5 checksums each time they are built -- the md5 checksum should now only change when the DSpace Object's contents have been modified.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5354 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    tdonohue committed Sep 23, 2010
  4. AIP Work -- Minor bug fixes. Fix possible NullPointerException in Rol…

    …eDisseminator class. Log warnings in PackageUtils.crosswalkDefaultGroupName() rather than always throwing exceptions (necessary as in past DSpace didn't always do a good job of cleaning up groups associated with Communities or Collections when the Community/Collection was deleted). Improved upon a few exception messages in METSDisseminationCrosswalk and RoleCrosswalk.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5353 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    tdonohue committed Sep 23, 2010
  5. AIP Work -- Minor tweaks to AIP METS generation, so that METS manifes…

    …t is generated the same each time & so that it includes DSpace software version information. In other words, if the DSpace Object is unchanged & DSpace software version is unchanged, then the METS manifest should be unchanged (i.e. identical checksums). Previously, the METS manifest would change each time it was generated as it included a timestamp of when it was generated, etc. (NOTE: Once METS AIP is compressed into a ZIP, the checksum of the ZIP will still change each time, as the ZIP format contains a timestamp based on when the compressed file(s) were generated. Not sure if there's any way around that.)
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5352 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    tdonohue committed Sep 23, 2010
Commits on Sep 22, 2010
  1. AIP Work : Enhancements to restoring of Groups/EPeople/Policies -- se…

    …ems much more stable! Updated RoleDisseminator to add authorization Groups (e.g. COLLECTION_<ID>_ADMIN) as part of the AIP for the Community/Collection that the Group is associated with. These authorization Groups are also given a "type" (e.g. ADMIN, SUBMIT, etc) based on the authorization role they play for that Community/Collection. Updated RoleIngester to be able to restore those authorization Groups when restoring a Community/Collection AIP. Updated RoleCrosswalk to appropriately wrap calls to both RoleDisseminator & RoleIngester packagers. AbstractMETSIngester no longer has hardcoded Group/People restoration code (as this is now taken care of by RoleCrosswalk & RoleIngester). Finally, small bug fix to METSRightsCrosswalk so that it now first clears out any existing Policies before adding new ones to an object.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5351 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    tdonohue committed Sep 22, 2010
Commits on Sep 20, 2010
  1. HTML cleanup, spelling, and the like

    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5349 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    mwoodiupui committed Sep 20, 2010
Commits on Sep 17, 2010
  1. restoring version of mvn-war plugin, removed by mistake

    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5348 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    pvillega committed Sep 17, 2010
Commits on Sep 15, 2010
  1. Added XMLUI name to addXref.

    Also added conditionals to structural.xsl to prevent empty attributes for "a" tags. On top of the submitted patch also added rule for when using i18n messages to create xref.
    Issue #DS-549 - Allow anchor tags/Xref objects in the XMLUI to have an 'id' attribute.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5347 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    peterdietz committed Sep 15, 2010
Commits on Sep 14, 2010
  1. [DS-546] Change Administrative sitemap to only add Notices generated …

    …in the Administrative aspect.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5346 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    robintaylor committed Sep 14, 2010
Commits on Sep 13, 2010
  1. [DS-594] Change all the SimpleDateFormat's in DCDate to be instance r…

    …ather than static variables to avoid synchronisation issues, SimpleDateFormat is not thread-safe.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5344 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    robintaylor committed Sep 13, 2010
Commits on Sep 10, 2010
  1. AIP Work : Created RoleCrosswalk to wrap RoleIngester/Disseminator cl…

    …asses (which import/export groups/people) & enabled in dspace.cfg. Created AbstractPackagerWrappingCrosswalk to allow Packagers to pass PackagerParameters to Crosswalks (which in turn can pass to other Packagers -- bit confusing, I know, but necessary for RoleCrosswalk). Refactored so that Group/People XML export is actually embedded in Site AIP METS file (and not separate stream), thus making RoleCrosswalk easier to enable/disable for AIPs. Finally, we're now crosswalking any default Group names (e.g. COLLECTION_<ID>_ADMIN) to something understandable outside DSpace (e.g. COLLECTION_<handle>_ADMIN) -- they get crosswalked back during restore processes.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5343 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    tdonohue committed Sep 10, 2010
Commits on Sep 9, 2010
  1. Add package comments, tweak doc comments in classes for better format…

    …ting.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5342 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    mwoodiupui committed Sep 9, 2010
Commits on Sep 7, 2010
  1. [DS-629] ItemImporter stops with "Too many open files" error

    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5339 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    Keith Gilbertson committed Sep 7, 2010
Commits on Sep 6, 2010
  1. This bug fix prevents a Null Pointer Exception when a null value is a…

    …dded as an i18n parameter.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5338 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    scott-phillips committed Sep 6, 2010
  2. Fixed a bug where simple search would lose it's scope (community or c…

    …ollection) when navigating between pagination.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5337 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    scott-phillips committed Sep 6, 2010
  3. The dublin-core-metadata.xml schema file that is processed on fresh-i…

    …nstalls has included tags to define metadata schemas along with metadata fields for a long time. However those tags to define metadata schemas has never been processed. This change will make it so those schema's are processed and created when found. This makes scripting dspace installs much easier when additional metadata schemas beyond just dublin core are needed.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5336 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    scott-phillips committed Sep 6, 2010
  4. Handle the case where an import might be wrapped with a wrapper tag, …

    …some OAI-PMH providers will use this technique. To improve compatability the code will check for a wrapping xml tag, and if found will look one level deeper.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5335 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    scott-phillips committed Sep 6, 2010
  5. Sort import directories prior to processing. This enforces a predicta…

    …ble ordering for item imports which is usefull when developing test-cases against dspace.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5334 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    scott-phillips committed Sep 6, 2010
Commits on Sep 2, 2010
  1. AIP Export Work : Add a new METSRightsCrosswalk which can translate D…

    …Space ResourcePolicies to/from METSRights Schema (http://cosimo.stanford.edu/sdr/metsrights.xsd) -- this allows ResourcePolicies to be backed up and restored via AIPs.  For AIPs, enabled METSRights by default in dspace.cfg.   Also enhanced AbstractMETSDisseminator to allow you to export METS' amdSec for DSpace BUNDLES (necessary, as Bundles can have ResourcePolicies).   Other various comment enhancements to a few other Crosswalks/Disseminators.   @TODO -- Although export of METRights works well, the re-ingest is not perfect as it doesn't integrate yet with Mark Wood's RoleIngester.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5331 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    tdonohue committed Sep 2, 2010
  2. Enhanced existing Unit Tests, based on DS-466 (AIP work) code changes…

    …. Mostly, this ensures that the new create() methods with a specified handle are being tested for each of the main content classes.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5330 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    tdonohue committed Sep 2, 2010
  3. Tidy imports, type safety.

    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5328 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    mwoodiupui committed Sep 2, 2010
  4. Committing Pere Villega's DS-656 changes to CommunityTest. These accu…

    …rately test the new cases which were previously failing (and the failures no longer occur, obviously). More additional Community Unit Tests need adding (I'll do it shortly) to test some additional recent changes (which currently are untested).
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5327 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    tdonohue committed Sep 2, 2010
Commits on Sep 1, 2010
  1. Extremely minor change -- adding space between words to an existing e…

    …rror message
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5304 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    tdonohue committed Sep 1, 2010
Commits on Aug 31, 2010
  1. Always include password hashes in the package.

    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5303 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    mwoodiupui committed Aug 31, 2010
Commits on Aug 30, 2010
  1. Don't delete replaced EPerson or Group; blank existing object and reset

    fields.
    
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5302 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    mwoodiupui committed Aug 30, 2010
Commits on Aug 27, 2010
  1. Fix a backward test; invalid XPath expressions; missing namespace.

    Site code was not being run at all due to wrong sense of test.
    Wrong brackets used in XPath.
    XPath doesn't know about default namespace; declare a tag for METS and 
    use it.
    
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5300 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    mwoodiupui committed Aug 27, 2010
  2. Minor refactoring of several packagers: Added a getObjectTypeString()…

    … method to AbstractMETSDisseminator, which takes the place of several hardcoded Object Type strings (and allows extending METS Packagers to override what values to put in METS @TYPE attributes).   Cleaned up all three of these classes by adding @Override annotations where appropriate and cleaned up comments.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5299 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    tdonohue committed Aug 27, 2010
  3. [DS-596] Cannot Delete Community which has two or more levels of SubC…

    …ommunities
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5298 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    cjuergen committed Aug 27, 2010
Commits on Aug 26, 2010
  1. Fixing configuration for QDCCrosswalk in dspace.cfg -- this was misco…

    …nfigured. The QDCCrosswalk is a 'self-named' plugin, and was being configured as a 'named' plugin. This would result in the following ERROR appearing in dspace.log whenever the QDCCrosswalk was loaded:
    
      
    ERROR org.dspace.core.PluginManager @ Name collision in named plugin, implementation class="org.dspace.content.crosswalk.QDCCrosswalk", name="qdc"
    
    Also added commas being all named plugin configurations -- although not really necessary (works either way), it brings their configuration format inline with the rest of the dspace.cfg.
    
    git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5294 9c30dcfa-912a-0410-8fc2-9e0234be79fd
    tdonohue committed Aug 26, 2010