Commit Graph

66 Commits

Author SHA1 Message Date
Graham Triggs
6a90077cb1 Ensure that the item is in the archive and eligible for indexing before adding it to Lucene
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2197 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-17 15:38:10 +00:00
Graham Triggs
800a77bfe1 Added getPoliciesForGroup method, updated API to make use of Java 5 syntax
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2196 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-13 15:15:09 +00:00
Mark Diggory
553c915626 Reinsert dspace/pom.xml into dependency hierarchy and move database dependencies downstream.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2191 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-08 14:20:40 +00:00
James Rutherford
fa2fcea6b5 Fixed a minor bug in the SubmissionConfigReader constructor
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2181 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-06 17:09:35 +00:00
Mark Diggory
ceb1f5b020 Migrating database selection criteria to maven profiles.xml. Includes:
1.) profiles-example.xml that can be copied to profiles.xml as an example
2.) adjustements to poms to support usage of profiles to overide properties.
3.) svnignore to assure profiles.xml isn't managed in svn.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2175 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-31 05:14:11 +00:00
Graham Triggs
4f7b5c8424 Fixed metadata mapping so that it can export metadata items that contain a dollar sign!
Also added extra protection for items without bitstreams.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2174 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-30 11:10:07 +00:00
Stuart Lewis
a4c696de8c SF Patch 1743188 Patch for Request #1145499 - Move Items
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2171 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-28 15:05:50 +00:00
Stuart Lewis
0ab5d3bad4 SF Patch #1591871 Docs for google and html sitemaps
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2170 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-28 11:05:15 +00:00
Robert Tansley
311eb7ae28 (Robert Tansley / Barhatov Andrew)
- Authentication code moved to new org.dspace.authenticate package
- Added IP Authentication (SF patch #1566820).


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2168 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-27 22:40:09 +00:00
Mark Diggory
c7c6efd432 Organize Imports.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2165 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-25 04:32:57 +00:00
Mark Diggory
5178afaabe Cleanup for loops and collections.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2164 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-25 04:31:17 +00:00
Mark Diggory
62a5122f6e 1.) Adding null pointer guards against collections being null
2.) Improving logic of Browse and Search consumers because both API support the same method for both the update and add of items and internally manage decisions about the appropriateness of the item to be indexed.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2163 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-25 04:18:03 +00:00
Graham Triggs
aa8f711055 Individual indexItem / itemRemoved additionally call prune methods at the end to ensure that excess data is removed from the browse indeces.
The batch reindex process does *not* prune until the end of execution.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2161 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-24 21:51:04 +00:00
Graham Triggs
958a45faf9 Adds xmlui interface to withdrawn item browser. Fixes a minor issue in the BrowseEngine.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2160 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-24 16:09:08 +00:00
Stuart Lewis
6736b6c2d7 SF Patch #1720105 Add SMTP port as configurable parameter
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2158 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-23 13:04:07 +00:00
Stuart Lewis
b6c6e4ecf8 [ 1724330 ] Removes "null" being displayed in community-home.jsp
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2154 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-23 11:17:57 +00:00
Stuart Lewis
1d045ca3d4 [ 1737792 ] Patch for bug 1552760 - Submit interface looks bad in Safari (+ removal of message for Netscape users in choose-file.jsp + removal of supporting text and images in the help file)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2153 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-23 10:55:13 +00:00
Mark Diggory
7eb5995011 Cleanup/Clarify Commandline options for 1.5.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2150 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-22 04:05:18 +00:00
Tim Donohue
38ac17aaed Added functionality to allow the User Interface to determine which item-submission.xml to use for Configuration Submission.
- There are still two item-submission.xml files:  item-submission-JSPUI.xml and item-submission-XMLUI.xml
 - Now, the JSPUI will automatically load item-submission-JSPUI.xml, and the XMLUI will load item-submission-XMLUI.xml
 - Also updated doc/submission.html to inform users how this works
 - Updated some various comments, and updated error messages to report the item-submission.xml which caused the error

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2149 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-21 16:23:21 +00:00
Mark Diggory
9bca17fd9d 1.) Improve options for configuring log4j so that individual log4j properties files can be selected in the configuration and/or easily overriden.
2.) Eliminate separate intialization of log4j in xmlui because ConfigurationManager is responsible for it.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2145 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-20 14:13:55 +00:00
Graham Triggs
4d3985d466 Fixed browse index for withdrawn items. Moved DB access from BrowseItem into a DAO. Added jsp interface for browsing withdrawn items.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2144 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-19 21:25:58 +00:00
Mark Diggory
92c7b97989 correct compilation error
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2129 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-10 16:10:28 +00:00
Mark Diggory
639d1e0627 Correct line delimiters.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2127 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-10 15:54:35 +00:00
Graham Triggs
326be22de0 Refactored browse patch. Improves performance / reduces db overhead by only have one table for all 'item' browses (with columns for different sorting options).
All sorting options are available on *all* 'item' browses - at the top level, changing a ie. from title to issue date, will make all corresponding UI hints follow.
Also, maintains a separate table of all withdrawn items. This is currently not exposed in the UI, but can be easily (it's a current feature request).

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2126 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-09 19:43:23 +00:00
Graham Triggs
b430ce75a7 Metadata Exporter (Implements request: #1444364).
Also, consolidates the schema namespace registry into the schema type xml, with single import step.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2125 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-08 11:34:59 +00:00
Graham Triggs
ce443e40bc More stable metadata import (SFP 1670093). Also:
- fix database_schema.sql errors (Postgres).
 - fix browse index ant task

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2123 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-07 22:54:53 +00:00
Mark Diggory
8449d51050 The didl UUID functionality is only used by the DIDL OAI crosswalk, 1.6 will utilize default java UUID support, moving this into OAI to assure it is not used similarly in the core.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2122 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-06 17:39:43 +00:00
Graham Triggs
f8667ff13f Fix missing ICU dependency for browse code
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2117 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-06 14:50:42 +00:00
Mark Diggory
97d189b828 This is a merge back to trunk of Graham Triggs work to port Configurable Browse to Manakin from the sandbox.
grahamtriggs | 2007-08-01 11:55:51 -0400
  Added IBM ICU dependency
  First attempt at integrating the configurable browse patch
  First attempt at integrating the UI changes for Configurable Browse
  Configurable browse patch - web.xml
  Java code modifications from Configurable Browse patch
  JSP changes from the Configurable Browse patch
  Removed browse changes that should have been committed to the browse branch
  Documentation, config and scripts for configurable browse
  Re-adding Configurable Browse changes following merge
  Messages for the configurable browse
  Fixed use of DCDate for i18n patch
  First attempt to make xmlui compatible with the new BrowseIndex, although not fully use the configuration
  First attempt to make xmlui compatible with new Browse API. Browse basically works, but it's more costly than needs be (unnecessary Item.find()), and only works if you use the default Browse configuration.  
  Fixed problem with second level browse (items for author / subject)
  Updates xmlui components to handle BrowseItem DSOs, ArtifactBrowser now passes these directly. r407@libaxis1:  grahamtriggs | 2007-08-06 09:14:05 -0400
  Minor fixes to make class easier to use
  Fix to only display sort by options on a second level browse
  Updates the ArtifactBrowser, to replace all browse functionality with entirely customisable browse code
  Update the browse index creation on fresh_install
  Fixed problem with indexing non-archived items
  Added caching support (key generation / validity)
  Moved internal class to bottom of file
  Browse code changes
 


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2116 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-06 14:39:38 +00:00
James Rutherford
8d21494e13 Fixed line endings
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2114 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-05 10:38:39 +00:00
Mark Diggory
1608c50628 (Flavio Botelho)
- S.F. Patch 1764069 Replaces "String" with "Integer" in PreparedStatement 
  Parameters where appropiate. (Added deleteByValue as another case where change is neccessary).

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2109 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-31 03:14:18 +00:00
Mark Diggory
dab5e6ecb9 Organize Imports to remove unneeded imports and expand *'s.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2108 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-30 17:26:50 +00:00
Mark Diggory
234445252c Correction in formating.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2104 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-27 15:54:35 +00:00
Graham Triggs
da82e15a43 Fixes to ConfigurationManager
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2103 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-27 15:54:15 +00:00
James Rutherford
f6eef44817 (James Rutherford)
- Removed unnecessary and unused edu.mit.dspace.MITSpecialGroup


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2102 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-27 14:50:00 +00:00
Graham Triggs
1ae8d57367 git-svn-id: http://scm.dspace.org/svn/repo/trunk@2091 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2007-07-25 13:48:55 +00:00
Graham Triggs
c5b1b46924 SF Patch 1749196 Oracle compatibility for Bitstream Checker
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2088 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-24 15:11:22 +00:00
Tim Donohue
242d0ff146 Added the base Configurable Submission code to dspace-api. This includes updates to the following:
- Added a new "list" type to the input-forms.xml, which will allow you to display metadata options in radio buttons or checboxes
- Added the base Configurable Submission step processing classes (org.dspace.submit.step.*) which perform all processing for both the JSP-UI and XML-UI
- Added the classes which read the configuration file (item-submission.xml)


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2079 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-20 20:49:01 +00:00
Mark Diggory
38382014b6 Remove Older HistoryManager which is no longer called in code. (Part of Event System Changes).
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2078 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-20 20:02:53 +00:00
Mark Diggory
b835f46d7d Merging in DSpace Event Mechanism Branch
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2074 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-19 19:40:11 +00:00
Mark Diggory
3962d7e77e This change is to invert our dependency on language packs so we can access dspace-api and Messages.properties during maven compilation and run custom reports to evalauate Messages.properties entries against the translations.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2067 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-12 22:26:10 +00:00
Mark Diggory
f7513fb8a6 1.) Remove dspace.configuration filtering from Maven build process.
2.) refine versions of dependencies shared across project via dependencyManagement in dspace-pom project.
3.) refine versioning across projects that share dspace-pom. version is inherited from parent and dependencies to dspace-xx projects are bound to current version defined in dspace-pom.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2060 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 07:15:23 +00:00
Mark Diggory
c9d6ffe546 1.) rename project slightly
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2055 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 00:14:22 +00:00
Scott Phillips
b4399e950a (Scott phillips) Moved the DCInput, DCInputSet, and DCInputReader utility classes out of the JSPUI and into a generalized utility package for any dspace application. This is needed because Manakin also uses these classes.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2044 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-06 23:59:33 +00:00
Mark Diggory
0c7bdff878 Guarding Community and Collection names from causing NPEs in DSIndexer when null.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2042 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-06 02:03:07 +00:00
Mark Diggory
c2590feb4a Correct comments.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2041 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-02 20:43:06 +00:00
Mark Diggory
95c8f11128 Correct paths to scm and project website
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2036 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-27 17:05:46 +00:00
Mark Diggory
096c26052d The previous commit was a mistake, this rolls back that change. Collections and communities must be removed from their parent by classes external to the content package.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2031 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-27 00:26:58 +00:00
Mark Diggory
017441f214 Setting delete methods to be public so they can be called by code outside the content package.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2030 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-27 00:08:16 +00:00
Mark Diggory
978ecf206d Retract previous commit of Eclipse project files.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2022 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-21 19:28:15 +00:00