Mark Wood
fe358677d2
Tidy imports, type safety.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5328 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-09-02 16:54:12 +00:00
Tim Donohue
640338dbe8
Committing Pere Villega's DS-656 changes to CommunityTest. These accurately 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
2010-09-02 16:52:55 +00:00
Tim Donohue
41fb9ed728
Extremely minor change -- adding space between words to an existing error message
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5304 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-09-01 16:14:09 +00:00
Mark Wood
2ecedfa01a
Always include password hashes in the package.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5303 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-31 18:21:43 +00:00
Mark Wood
e2d4cd31e4
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
2010-08-30 13:51:18 +00:00
Mark Wood
f23f5eb320
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
2010-08-27 19:29:18 +00:00
Tim Donohue
0b6b54ed1a
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
2010-08-27 17:34:23 +00:00
Claudia Juergen
633faec714
[DS-596] Cannot Delete Community which has two or more levels of SubCommunities
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5298 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-27 13:13:19 +00:00
Claudia Juergen
541d48f810
[DS-563] Brazilian Portuguese (pt_BR) translation for XML-UI 1.6.2
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5297 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-27 11:39:47 +00:00
Claudia Juergen
c27c651a7e
[DS-569] Trailing white spaces lead to wrong order of texts in browse
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5295 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-27 10:52:12 +00:00
Tim Donohue
7f4e6bc004
Fixing configuration for QDCCrosswalk in dspace.cfg -- this was misconfigured. 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
2010-08-26 18:10:13 +00:00
Tim Donohue
3e0a6d8630
Adding a 'hasNamedPlugin()' utility method to the PluginManager. The purpose of this method is to determine if a plugin of a given name/interface has been configured in your dspace.cfg. Without this method, any code which merely calls 'getNamedPlugin()' to determine if the plugin exists would cause a WARN message to be logged from PluginManager. This became problematic with the newly refactored AbstractMETSDisseminator (which includes a check for a named plugin) -- previous to this fix, the dspace.log file was filled with unnecessary WARN messages during AIP export.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5293 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-26 17:53:19 +00:00
Mark Wood
627ae64e5d
First cut at restoring users and groups from an AIP.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5292 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-26 17:31:30 +00:00
Mark Wood
4571cdfc88
Replace a literal String with a manifest constant used elsewhere in the
...
package.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5291 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-25 18:53:25 +00:00
Tim Donohue
38e4f8b0ca
AIP Backup/Restore : Adding ability to auto-restore missing Metadata Fields. By default, AIP ingester will now create metadata fields if they are not found in the current DSpace Metadata Field Registry (However, it will not create missing Metadata Schemas). This option is important for scenarios where you want to restore all AIPs to an *empty* DSpace install, and you had a few custom 'DC' fields previously. You may also disable this new option by passing "-o createMetadataFields=false" to the packager command. This change necessitated a very minor refactor to the 'AbstractMETSIngester.finishObject()' method -- it now needs access to the PackageParameters, in order to see whether 'createMetadataFields' flag is true/false. This new option also documented on wiki: https://wiki.duraspace.org/display/DSPACE/AipBackupRestore
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5290 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-20 20:00:29 +00:00
Tim Donohue
8aa57138b3
Minor cleanup/correction to a log message in AIPTechMDCrosswalk.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5289 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-20 15:56:34 +00:00
Mark Wood
b3865321b4
Clean up doc comments to make them readable after processing. Make a
...
few constants 'final'.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5288 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-20 15:37:18 +00:00
Mark Wood
ec85da97b1
PMD plugin assumed Java 1.4. Make Java version a property and use it
...
for both PMD and Java compiler configuration.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5287 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-20 15:31:15 +00:00
Mark Wood
0cae4ec771
[DS-63] Externalize the text of several exception messages so they can
...
be translated, since these exceptions are captured by the UI.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5286 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-19 15:23:33 +00:00
Mark Wood
7afe1a8294
Include user (EPerson) and group records in SITE packages, and add a
...
disseminator to emit only those records, in a simple XML format.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5285 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-19 14:24:15 +00:00
Tim Donohue
8981a84d32
RE: DS-618 "Recommended versions of prerequisites becoming outdated", I've now updated our main pom.xml to use Java 6 (1.6) for compilation. So, we now require Java 1.6 for building DSpace.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5283 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-18 21:19:42 +00:00
Tim Donohue
a6f466a153
Very minor change to how the ScriptLauncher formats its usage notes, based on this email to dspace-tech: http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg11700.html It seems logical that the old format could be slightly confusing, and this is a rather easy fix. So, I've changed it to format like this:
...
* checker : Run the checksum checker
* checker-emailer : Send emails related to the checksum checker
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5282 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-18 19:11:55 +00:00
Claudia Juergen
ac5df9144d
just got rid of the umlaut
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5280 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-18 14:09:44 +00:00
Claudia Juergen
8de17626bd
[DS-650] Bulgarian translation of the jspui for DSpace 1.6.2
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5279 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-18 14:08:22 +00:00
Tim Donohue
46109a2ab3
AIP Backup/Restore Bug Fix: Restore of an entire Site to an empty DSpace install was erroring out. The "Site" AIP needs a special case, as in reality it contains no content to restore (at least not yet -- some will be coming). Rather, it should just be used to determine the Top-Level Communities to restore, so that the recursion can begin properly.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5274 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-17 20:57:12 +00:00
Tim Donohue
d81ce1c908
Fix for DS-648 (Modern Browsers are not identified in XMLUI main sitemap.xmap). This adds entries for Opera, Chrome, and more entries for more recent versions of Firefox, IE & Safari (including some which are still in beta). Now XMLUI themes can better take advantage of browser differences in their CSS/Javascript.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5273 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-17 16:30:54 +00:00
Tim Donohue
5886ecc6ca
These two directories (/dspace-test and /dspace/modules) were not set to ignore the 'target' subdirectory. Now they are.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5272 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-17 15:27:57 +00:00
Tim Donohue
2dcaaa1ded
Missed committing the [dspace-src]/dspace/modules/pom.xml in last commit. This one is also updated to 1.7.0-SNAPSHOT.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5271 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-17 15:25:25 +00:00
Tim Donohue
04c1ef5547
Updating all 'pom.xml' files, along with necessary dependencies, to 1.7.0-SNAPSHOT version. WARNING: YOU WILL NEED TO REBUILD (mvn clean package) after pulling down latest Trunk.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5270 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-17 15:22:08 +00:00
Tim Donohue
7e4088456e
Re-converting "Application" docs page to Confluence format. The last commit accidentally removed the contents of this file
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5269 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-16 21:52:41 +00:00
Tim Donohue
7368b7fe6a
Reconverting the Confluence Docs (from current DocBook Docs). These will be used to move docs to Confluence Wiki (wiki.duraspace.org). Also updated the [dspace-src]/dspace/docs/pom.xml so that it is valid & will build the confluence docs properly when called (and added hints for how to make this conversion work, should we ever need to do it again in the future).
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5268 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-16 21:32:55 +00:00
Tim Donohue
31673f89b9
Minor comment change to dspace.cfg -- because of SWORD code refactoring in DS-466 SWORD no longer requires the 'upload.temp.dir' setting when 'sword.keep-original-package' is enabled.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5266 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-16 16:12:00 +00:00
Tim Donohue
075a913755
Migrating current AIP Backup/Restore code (DS-466) from 'aip-external-1_6-prototype' Branch into Trunk! See https://wiki.duraspace.org/display/DSPACE/AipBackupRestorePrototype for much more details on this work, and how to export/import AIPs. WARNING -- This changes the PackageIngester and PackageDisseminator interfaces. Any of your local, custom Packagers will require refactoring to support the updated interfaces (obviously all DSpace out-of-the-box Packagers have already been refactored).
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5265 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-13 20:10:32 +00:00
Pere Villega
d1a93e3510
[DS-643] New testing framework (GSoC 2010)
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5254 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-10 09:50:09 +00:00
Pere Villega
65ee5e9833
[DS-643] New testing framework (GSoC 2010)
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5253 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-10 09:37:44 +00:00
Pere Villega
5b83e188c0
[DS-643] New testing framework (GSoC 2010)
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5252 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-10 09:10:00 +00:00
Tim Donohue
b779342fdd
Fixing charset of controlledvocabulary.jsp file -- should be UTF-8 and NOT 'iso-8859-1'. This bug was noted in the following dspace-tech mailing list thread: http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg11605.html
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5248 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-09 19:15:10 +00:00
Mark Wood
fe57901b96
[DS-633] NPE when deleting object returned by EPerson.findAll()
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5241 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-08-05 19:56:37 +00:00
Claudia Juergen
52fec66c47
Authority control feature
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5212 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-07-27 08:24:30 +00:00
Mark Wood
bb8ad26cc7
Improve type safety, remove annoying warnings, by parameterizing some generic types. Small comment cleanups.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5199 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-07-23 19:38:34 +00:00
Claudia Juergen
177f4863a7
Missing equals sign in dspace.cfg thumbnail settings
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5184 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-07-14 15:46:09 +00:00
Claudia Juergen
327bf45266
Missing equals sign in dspace.cfg thumbnail settings
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5183 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-07-14 07:45:13 +00:00
Claudia Juergen
5f92b2b391
mail.charset=UTF8 might not be recognized
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5182 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-07-14 07:39:17 +00:00
Claudia Juergen
668058fe93
[DS-625] Bulgarian translation of the jspui for DSpace 1.6.0 (committed to api-lang just to document the change)
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5175 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-07-09 09:34:45 +00:00
Robin Taylor
9b856653df
[DS-610] Check granularity before returning DCDate as a java.util.Date.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5159 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-29 19:57:34 +00:00
Peter Dietz
8a7f3acfe3
Fixed typo in launcher for stat-report-initial
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5158 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-29 19:42:52 +00:00
Mark Wood
6495da570d
[DS-617] Provide breadcrumb trail in XMLUI submission Describe step, as other steps do.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5154 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-28 20:35:23 +00:00
Claudia Juergen
f0d88719b8
[DS-563] Multiple spaces in between words in advanced search will make the search return nothing
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5147 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-25 10:37:49 +00:00
Peter Dietz
823a12d7c7
Fixed typo in stats-util help
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5146 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-23 16:42:37 +00:00
Claudia Juergen
1b51312fff
[DS-583] typo in messages.xml
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5126 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-17 08:37:02 +00:00