Compare commits

...

5593 Commits

Author SHA1 Message Date
Hardy Pottinger
cdf8378320 [maven-release-plugin] prepare release dspace-5.0 2015-01-16 11:04:01 -06:00
Hardy Pottinger
c970fb784d Merge pull request #840 from helix84/typos
typos
2015-01-16 10:04:46 -06:00
Ivan Masár
3dc71439b0 fix typos in method signatures 2015-01-16 16:31:46 +01:00
Hardy Pottinger
f809946f12 Merge pull request #837 from tdonohue/third-party-licenses
Update LICENSES_THIRD_PARTY to use a DSpace-specific template
2015-01-16 08:52:07 -06:00
Ivan Masár
0571386370 fix typos and comments 2015-01-16 13:05:41 +01:00
Tim Donohue
50074f8cf6 Update LICENSES_THIRD_PARTY to use a DSpace-specific template 2015-01-15 16:50:37 -06:00
Hardy Pottinger
f71b9c5424 Merge pull request #836 from tdonohue/third-party-licenses
Add a way to easily manage "LICENSES_THIRD_PARTY" using codehaus license-maven-plugin
2015-01-15 16:16:36 -06:00
Tim Donohue
4c2e29cee2 Add a way to easily manage "LICENSES_THIRD_PARTY" using codehaus license-maven-plugin 2015-01-15 15:35:27 -06:00
Tim Donohue
7603aa3981 Merge pull request #835 from tdonohue/DS-2411
DS-2411: Fix memory issues by storing just a reference to ingested objects' handles
2015-01-15 10:43:21 -06:00
Tim Donohue
97d752d265 Fix DS-2411 by storing just a reference to ingested objects' handles 2015-01-15 10:20:44 -06:00
Hardy Pottinger
87b43abbea extending copyright range to 2015 2015-01-15 09:53:48 -06:00
Hardy Pottinger
869896b711 Merge pull request #820 from tdonohue/DS-2040
DS-2040: Fix AIP restore so that it works with cross-mapped Items & add AIP Integration Tests
2015-01-14 16:09:45 -06:00
Tim Donohue
1ba3d951e4 Merge pull request #822 from KevinVdV/DS-2396
[DS-2396] Checksum checker and bitstream.user_format_description
2015-01-14 15:39:19 -06:00
Tim Donohue
815adfbbc5 Merge pull request #834 from tdonohue/DS-2352
DS-2352 : Fix for when Solr index files exist, but index has no content
2015-01-14 15:32:02 -06:00
Tim Donohue
5448c540a0 Ensure we check for a valid index (with segment files) but which actually has no content in it. 2015-01-14 15:15:46 -06:00
helix84
94821554ba Merge pull request #819 from mwoodiupui/DS-2395
[DS-2395] ItemDAO* still uses bundle.name (now moved to metadatavalue)
2015-01-14 17:33:33 +01:00
helix84
798f13f144 Merge pull request #832 from christian-scheible/DS-2407
[DS-2407] fixes wrong redirect if xmlui.force.ssl is enabled.
2015-01-14 13:57:18 +01:00
helix84
7640cff2ec Merge pull request #833 from christian-scheible/DS-1810
[DS-1810] prevent exception for XMLUI language switch and loss of Query ...
2015-01-14 13:49:43 +01:00
Christian Scheible
1f0bec087b [DS-1810] prevent exception for XMLUI language switch and loss of Query String in Mirage theme. 2015-01-14 13:02:04 +01:00
Christian Scheible
77990627b8 [DS-2407] fixes wrong redirect if xmlui.force.ssl is enabled. 2015-01-13 17:18:32 +01:00
helix84
2684a6a6fa Merge pull request #831 from christian-scheible/DS-2406
[DS-2406] Fixes default sort option was always selected in XMLUI if set...
2015-01-13 16:54:02 +01:00
Christian Scheible
f5abc4051c [DS-2406] Fixes sefault sort option was allways selected in XMLUI if set in discovery.xml 2015-01-13 16:04:26 +01:00
Christian Scheible
26690d241e [DS-2344] Response date of the xoai header was not converted to ZULU time before formatting 2015-01-13 15:20:50 +01:00
Christian Scheible
7435660af0 [DS-2343] adds missing character encoding information to the response header of the OAI-Interface 2015-01-13 15:20:47 +01:00
Christian Scheible
5d9a767ac8 [DS-2342] fixes wrong validity object for opensearch responses (was valid for multiple years in every case) 2015-01-13 15:20:42 +01:00
Christian Scheible
a1438dd8ae [DS-2345] Fixes wrong start index starting at 0 instead of 1 for OpenSearch 2015-01-13 15:20:39 +01:00
Mark H. Wood
4def2dfdd9 Merge pull request #830 from helix84/DS-2405-fix-oai-javascript
Looks right, trivial change.
2015-01-13 09:11:59 -05:00
Ivan Masár
ce041f7b20 DS-2405 fix minor JS problems in OAI 2015-01-13 14:46:56 +01:00
helix84
64b2aa7c19 Merge pull request #829 from tuub/DS-2402
DS-2402 Adding to empty lines to fix ant problems
2015-01-13 12:54:35 +01:00
Pascal-Nicolas Becker
28157db070 DS-2402: Adding to empty lines to fix ant problems. 2015-01-13 12:33:13 +01:00
Pascal-Nicolas Becker
7f9939b7b0 Changing a copy and paste comment. 2015-01-13 12:32:53 +01:00
Hardy Pottinger
c035037ce4 Merge pull request #828 from KevinVdV/DS-2400
[DS-2400] Item validity in XMLUI only uses dublin core metadata schema
2015-01-12 11:27:31 -06:00
KevinVdV
8bfd317218 [DS-2400] Item validity in XMLUI only uses dublin core metadata schema 2015-01-12 16:25:25 +01:00
Mark H. Wood
7da7a84b56 Merge pull request #823 from mwoodiupui/DS-2379
[DS-2379] Sort config/launcher.xml by command name, which should result in sorted help output.
2015-01-12 09:59:39 -05:00
Mark H. Wood
2efbf6bf48 [DS-2379] Sort config/launcher.xml by command name, which should result in sorted help output. 2015-01-10 22:34:52 -05:00
Bram Luyten
7b196cf631 Merge pull request #821 from KevinVdV/DS-2282
[DS-2282] JSPUI submission remove author fails when SolrAuthority is enabled
2015-01-10 15:12:52 +01:00
Mark H. Wood
21a6c9ec1f [DS-2395] Limit lifetime of query strings within that of the instance's Context.
In theory, the value of a metadata field's ID could change at runtime.
2015-01-09 15:51:11 -05:00
Tim Donohue
7fae1f3840 Minor comment corrections / clarifications 2015-01-09 09:53:54 -06:00
KevinVdV
e1c5ededc5 [DS-2396] Checksum checker and bitstream.user_format_description on version 5.0.rc02 2015-01-09 16:15:35 +01:00
KevinVdV
e4b4809457 [DS-2282] JSPUI submission remove author fails when SolrAuthority is enabled 2015-01-09 15:22:04 +01:00
Tim Donohue
74241a4c94 Fix DS-2040 bug by ensuring recursive methods in AbstractPackageIngester / AbstractPackageDisseminator keep track of packages processed. Add enhanced integration tests to DSpaceAIPIntegrationTest which specifically test for restoration of a Mapped Item (see testRestoreMappedItem(), etc) 2015-01-08 16:33:39 -06:00
Tim Donohue
a4d382d46b AIP and METS disseminator/ingester plugins should NOT cache their instances by default. Doing so means global instance variables are never RESET properly for each individual import/export. 2015-01-08 16:28:37 -06:00
Tim Donohue
912a59bea8 Make MockConfigurationManager configurable as to whether it initializes itself from dspace.cfg or just as an empty property set. Needed for enhanced AIP integration testing 2015-01-08 16:27:29 -06:00
Tim Donohue
75d35ba172 Ensure AbstractMETSDisseminator logs all dissemination packages created, similar to how AbstractMETSIngester logs all packages parsed. 2015-01-08 16:24:17 -06:00
Mark H. Wood
650597bb3a [DS-2395] Fix Oracle syntax problems 2015-01-08 15:12:39 -05:00
Mark H. Wood
2141711e1c [DS-2395] Fix missing close parenthesis, replace subquery with the value it always returns 2015-01-08 13:53:45 -05:00
Tim Donohue
64798d47fc Merge pull request #655 from TexasDigitalLibrary/mirage2-handle-fix
[DS-2191] Fixed bug where + wouldn't expand or collapse the hidden <div> for Mirage2 Community List
2015-01-07 14:34:38 -06:00
Mark H. Wood
e149c0369f Merge pull request #803 from mwoodiupui/DS-1775
[DS-1775] Increase robustness of SolrServiceImpl date format guessing
2015-01-07 14:49:21 -05:00
Mark H. Wood
c962f736ca [DS-2395] First pass at reforming the SQL.
JOIN the Metadatavalue table and pick out the "title" for matching.
2015-01-07 13:50:15 -05:00
helix84
231e9a627b Merge pull request #818 from atmire/DS-2392
Fixed a bug with the positioning of discovery facet labels on discovery ...
2015-01-06 11:53:33 +01:00
Art Lowel
10eec1cd49 Fixed a bug with the positioning of discovery facet labels on discovery pages without a scope dropdown 2015-01-06 11:04:28 +01:00
helix84
d6a69087d7 Merge pull request #817 from antoine-atmire/DS-2374
DS-2374 authority indexing matching metadata by value
2015-01-05 16:31:54 +01:00
helix84
d2a6de890c Merge pull request #815 from lyncodev/DS-2276
DS-2276 removing dots from the html IDs
2015-01-05 16:00:21 +01:00
Ivan Masár
58a712faaf fix typos 2015-01-05 02:15:33 +01:00
Ivan Masár
52bcc60944 fix typo 2015-01-04 22:10:55 +01:00
Tim Donohue
07e5666129 Enhanced Item AIP tests...now with a test Bitstream too 2015-01-02 16:38:12 -06:00
Tim Donohue
cb6fde57cd Add more working integration tests for Community / Collection / Item restoration and replacement 2015-01-02 15:31:42 -06:00
Tim Donohue
91217421ef Merge pull request #814 from tdonohue/dspace_cfg_cleanup
Minor comment cleanup in dspace.cfg
2015-01-02 14:00:55 -06:00
Joao de Melo
7a4c505152 Fixed DS-2276 by removing dots from the html IDs 2015-01-02 18:26:15 +00:00
Tim Donohue
e2d380a90e Minor comment cleanup in dspace.cfg 2015-01-02 18:20:40 +00:00
helix84
296e1a006a Merge pull request #813 from lyncodev/DS-1959-fix
DS-1959 Upgraded xoai dependency version to 3.2.9
2014-12-29 14:17:38 +01:00
helix84
84ba424387 Merge pull request #812 from lyncodev/oai-qdc-issue
DS-2386 Created test and fixed issue
2014-12-29 14:16:09 +01:00
Joao Melo
617dfc41b1 Upgraded xoai version to 3.2.9 2014-12-29 12:34:32 +00:00
Joao Melo
1cc80df394 Added license headers 2014-12-29 12:01:21 +00:00
Joao Melo
d76a309a9f Moving xml matchers dependency to test scope 2014-12-29 11:45:40 +00:00
Joao Melo
d2c06535be Created test and fixed DS-2386 2014-12-29 11:04:23 +00:00
Tim Donohue
5a66e49573 Initial basic AIP Integration Tests which test restoration/replacement of an object hierarchy 2014-12-23 16:24:55 -06:00
Mark H. Wood
91a917356c Merge pull request #5 from hardyoyo/add-launcher-to-803
added a launcher configuration for the multi-format date parser
2014-12-22 11:30:55 -05:00
Hardy Pottinger
a994d7a084 added a launcher configuration for the multi-format date parser 2014-12-22 15:42:46 +00:00
Antoine Snyers
b50efa6a5a DS-2374 authority indexing matching metadata by value 2014-12-22 12:05:26 +01:00
Antoine Snyers
bdd0f3e7d3 DS-2374 authority indexing matching metadata by value 2014-12-22 10:00:04 +01:00
Tim Donohue
9fd6928e15 [maven-release-plugin] prepare for next development iteration 2014-12-19 13:12:35 -06:00
Tim Donohue
0950a07dcd [maven-release-plugin] prepare release dspace-5.0-rc3 2014-12-19 13:12:24 -06:00
Tim Donohue
b25f53ac85 Merge pull request #521 from zuki/DS-1974
DS-1974 Fixed bugs related to setting default filter queries
2014-12-19 12:29:45 -06:00
Hardy Pottinger
5e159f5c14 Merge pull request #783 from atmire/DS-2347-clean
DS-2347 ShibAuthentication fix to work with metadata for all - clean
2014-12-19 11:57:45 -06:00
Tim Donohue
1d58b52131 Merge pull request #809 from tdonohue/DS-2313-IE-breadcrumb
DS-2313 - Revert to compiling Mirage2 styles with SASS 3.3.14 for better IE compatibility
2014-12-19 11:09:35 -06:00
Tim Donohue
21210d4186 Cleanup of warnings in README 2014-12-19 10:50:37 -06:00
Mark H. Wood
92ccfaa16c [DS-1775] Some formats that DSpace has accepted in the past, not found in the SO article. 2014-12-19 11:34:32 -05:00
Mark H. Wood
33bcdaccda [DS-1775] Oops, handle mixed-case month names using case-insensitive match. 2014-12-19 11:33:48 -05:00
Tim Donohue
f03c14f306 Updates and reformatting/cleanup of Mirage2 README 2014-12-19 16:13:43 +00:00
Antoine Snyers
67b957841e DS-2374 authority indexing matching metadata by value 2014-12-19 09:01:39 +01:00
Tim Donohue
6a50c4945e DS-2313 - Revert to compiling with SASS 3.3.14, since bootstrap-sass has
a minor IE breadcrumb incompatibility with SASS 3.4
2014-12-18 20:59:35 +00:00
Mark H. Wood
9810b91268 [DS-1775] Add command-line code for testing dates manually 2014-12-18 11:32:50 -05:00
Tim Donohue
f424ac4b39 Merge pull request #808 from tdonohue/DS-1936-cleanup
DS-1936 followup formatting fixes for robots.txt
2014-12-18 09:10:06 -06:00
helix84
d0ad39ce4b Merge pull request #663 from tdonohue/DS-1781
DS-1781 : Ensure LDAP "email_field" is not ignored entirely
2014-12-18 00:11:06 +01:00
Tim Donohue
68d4edabf2 Cleanup formatting of robots.txt so there are no blank lines in a group
record
2014-12-17 21:50:23 +00:00
Tim Donohue
c43f050265 Merge pull request #764 from bram-atmire/DS-2335
DS-2335 Add more default blocks for certain spiders in robots.txt
2014-12-17 15:25:49 -06:00
Mark H. Wood
6a1cafb3d4 Merge pull request #4 from atmire/DS-1775
Adding unit test for the date parser
2014-12-17 15:18:55 -05:00
helix84
f0e7c4c102 Merge pull request #807 from atmire/DS-2042
[DS-2042] Discovery/Solr is improperly indexing the "dc.description.provenance" field
2014-12-17 20:25:19 +01:00
Tim Donohue
e5032643ac Merge pull request #585 from aschweer/DS-2076-withdrawn-browse
DS-2076 withdrawn browse
2014-12-17 11:30:22 -06:00
helix84
15e4421321 Merge pull request #531 from vidiecan/DS-1993
DS-1993, return null instead of throwing exception
2014-12-17 18:25:54 +01:00
Tim Donohue
d583852757 Merge pull request #570 from rivaldi8/DS-2063-sword-keep-on-fail
DS-2063 SWORD keep-package-on-fail doesn't work for RuntimeExceptions.
2014-12-17 11:25:34 -06:00
Tim Donohue
3e8aca152b Merge pull request #544 from rivaldi8/DS-2015-ORE-data-duplicated
DS-2015 ORE data is duplicated when an item is updated through a harvest.
2014-12-17 11:14:55 -06:00
Keiji Suzuki
b253a3d8f6 DS-1599 I18nUtil.getMessage() does not return the intended language's message 2014-12-17 17:44:33 +01:00
helix84
c1a5736305 Merge pull request #715 from helix84/DS-2230-Mirage2-coll-strengths
DS-2230 Mirage2 collection strengths not displayed
2014-12-17 17:38:39 +01:00
Tim Donohue
f082b60bdf Merge pull request #248 from KevinVdV/DS-1597
[DS-1597] Browse subjects by collection count bug
2014-12-17 10:22:20 -06:00
KevinVdV
3647b825c6 Adding unit test for the date parser 2014-12-17 16:56:09 +01:00
Mark H. Wood
eec038f0bb [DS-1775] Re-add the Spring configuration and some name changes. 2014-12-17 10:54:10 -05:00
Mark H. Wood
3320a827d3 Revert "[DS-1775] Switch from configuration by injection to a CSV file in config/"
This reverts commit 63fdc64047.

KevinVdV points out that Spring defaults to a LinkedHashMap, which
preserves entry order.
2014-12-17 08:55:54 -05:00
Kevin Van de Velde
30f83addbe Merge pull request #776 from atmire/DS-2346
DS-2346 LogAnalyser fix to work with metadata for all
2014-12-17 11:50:35 +01:00
KevinVdV
aa2facd14d DS-2346 LogAnalyser fix to work with metadata for all 2014-12-17 11:27:43 +01:00
KevinVdV
02ff2d874f [DS-2042] Discovery/Solr is improperly indexing the "dc.description.provenance" field. Added the default configuration settings to the SpellIndexPlugin to ensure that the ignored metadata is not indexed in any way. 2014-12-17 10:42:44 +01:00
Mark H. Wood
6e79e04040 Clean up, fix license headers 2014-12-15 07:23:53 -05:00
Mark H. Wood
dca692f771 Minimal unit test 2014-12-14 14:14:12 -05:00
Mark H. Wood
63fdc64047 [DS-1775] Switch from configuration by injection to a CSV file in config/
Silly thinko:  Spring would inject a Map, which potentially destroys
the order in which the patterns were written.  Rather than expanding
the XML enormously with enclosed beans, just read a CSV file.  This
preserves the written order.

Also push OpenCSV version up to dspace-parent since we now use it in
two projects:  dspace-api and dspace-xmlui.
2014-12-14 14:10:05 -05:00
Mark H. Wood
3551ca80e8 Finish moving parser, fix up license, catch another place we should use this. 2014-12-13 15:00:15 -05:00
Mark H. Wood
38110c7196 Moved parser out to a utility package since it is quite general. 2014-12-13 14:56:54 -05:00
Mark H. Wood
27f80a8148 [DS-1775] Increase robustness of SolrServiceImpl date format guessing
Replace switch on length of input with a table of regular expressions
and formats.
2014-12-12 16:00:54 -05:00
Hardy Pottinger
c417798a79 Merge pull request #798 from antoine-atmire/DS-2330
DS-2330 bug fix: lost authors when using ORCID column
2014-12-12 14:49:44 -06:00
Peter Dietz
2b1f27a84e Merge pull request #789 from aschweer/master
[DS-2354] Transfer bitstream metadata when creating new version
2014-12-11 18:24:49 -05:00
Hardy Pottinger
ef01634e53 Merge pull request #791 from LongsightGroup/DS-2350-oracle-submissions
DS-2350 XMLUI My Submissions fix for Oracle DB
2014-12-11 16:47:59 -06:00
Mark H. Wood
3faec3eb99 Merge pull request #772 from EKT/DS-2289
DS-2289: Keep NULL field language while importing items
+1
2014-12-11 15:55:34 -05:00
bill
845532b29d DS-2355 uncaught NPE resulting in loss of statistic 2014-12-11 15:08:23 +01:00
Antoine Snyers
53d387fed2 DS-2330 bug fix: lost authors when using ORCID column 2014-12-11 13:39:03 +01:00
Ed Goulet
2d4200971f [DS-2333] catch OOM error on large files, continue processing 2014-12-11 10:46:30 +01:00
Peter Dietz
8ab085e3f0 Merge pull request #778 from LongsightGroup/DS-2309-scholar-author
DS-2309 Allow repeated citation keys for Scholar
2014-12-10 23:02:01 -05:00
Andrea Schweer
9a2de02968 [DS-2354] Copy across all bitstream metadata when creating version 2014-12-11 16:58:46 +13:00
Peter Dietz
a4ba3f740d DS-2350 Using Oracle rownum way to limit results 2014-12-10 22:50:14 -05:00
Peter Dietz
2cb060f7bd DS-2350 Fix My Submissions to support oracle for "Archived Submissions" 2014-12-10 22:22:22 -05:00
Peter Dietz
2e9b7ca9df DS-2309 Change mapping config from authors to author
Forgot to commit/push this change earlier
2014-12-10 22:13:15 -05:00
Andrea Schweer
ef56a640a1 [DS-2354] Copy over standard bitstream metadata 2014-12-11 14:39:31 +13:00
Andrea Schweer
594cd9a8bd [DS-2354] Avoid NPE when bitstream name is null 2014-12-11 14:39:31 +13:00
Peter Dietz
8201f6058c Merge pull request #777 from ctu-developers/REST-improvement
DS-2348 REST Bitstreams should be only in original bundle.
2014-12-10 17:27:26 -05:00
ctu-developers
fe6960a0a7 Bundles length check repair. 2014-12-10 16:45:16 +01:00
helix84
c97ac098e7 Merge pull request #785 from tdonohue/DS-2352
DS-2352: IndexVersion.java attempts (and fails) to update and maintain empty indexes
2014-12-09 20:18:53 +01:00
Tim Donohue
a2f157d212 Fix DS-2352 : If an index directory is empty, it's obviously compatible with any version of Lucene. 2014-12-09 11:24:36 -06:00
ctu-developers
084d02f83b Added missing bracket. 2014-12-08 12:17:54 +01:00
ctu-developers
4f26ab3e33 Replace finding original bundle.
Replace finding original bundle by getBundles("ORIGINAL").
2014-12-08 11:59:37 +01:00
philip Vissenaekens
191d9b68bb DS-2347 ShibAuthentication fix to work with metadata for all - clean 2014-12-08 11:13:38 +01:00
Peter Dietz
b03ffc90e5 Merge pull request #748 from rradillen/DS-2296
DS-2296 Lucene-based search throws linkage error
2014-12-05 15:24:07 -05:00
helix84
6c3dee2cd0 Merge pull request #754 from helix84/DS-2310-ldap-props
DS-2310 JSPUI uses outdated LDAP config properties
2014-12-05 16:48:08 +01:00
helix84
f2265197e8 Merge pull request #745 from helix84/DS-1447-login-as-redirect
DS-1447 Login as User redirecting to wrong page
2014-12-05 16:45:56 +01:00
Peter Dietz
8d74cca725 Merge pull request #759 from helix84/DS-2277-stats-link-labels
DS-2277 Double link to usage statistics
2014-12-05 10:44:28 -05:00
helix84
2ed29df3ba Merge pull request #780 from atmire/DS-2225
[DS-2225] Error logging/preventing in the authority script
2014-12-05 16:29:34 +01:00
KevinVdV
2efad2f2d2 [DS-2225] Error logging/preventing in the authority script 2014-12-05 15:55:35 +01:00
bert
07de2067aa [DS-2225] Error logging/preventing in the authority script 2014-12-05 14:19:19 +01:00
Peter Dietz
2a727267ae DS-2309 Allow repeated citation keys for Scholar
Google Scholar would prefer the citation_author is each on a separate line
So that has been done for author.
2014-12-04 12:14:07 -05:00
ctu-developers
cedb7de0e4 Removed copy-paste error 2014-12-04 17:20:43 +01:00
ctu-developers
09b42b8be6 DS-2348 REST Bitstreams should be only in original bundle.
Better logic at adding bitstream to bundle. It checks if bundle original
exists.
2014-12-04 17:03:20 +01:00
philip Vissenaekens
f2213f06ad DS-2346 LogAnalyser fix to work with metadata for all 2014-12-04 16:21:07 +01:00
helix84
7195851aa1 Merge pull request #775 from atmire/DS-2313
DS-2313: Mirage2 svg logo fix for ie10
2014-12-04 14:15:28 +01:00
philip Vissenaekens
6e447d18a1 DS-2313: Mirage2 svg logo fix for ie10 2014-12-04 13:55:53 +01:00
helix84
6ff76ea5dc Merge pull request #773 from rradillen/DS-2338
DS-2338 add classes artifact to dspace-rest
2014-12-04 12:03:53 +01:00
Mark H. Wood
ed16e897bb Merge pull request #774 from mwoodiupui/DS-2328
[DS-2328] Remove 'below' from input form hints
2014-12-03 14:44:05 -05:00
Mark H. Wood
73ed8ebf3b [DS-2328] Remove 'below' from input form hints 2014-12-03 13:43:13 -05:00
Bram Luyten
6f54c77084 Merge pull request #751 from rivaldi8/DS-2300-authors-visualisation-mirage2
[DS-2300] Different visualisation of author fields in Mirage 2
2014-12-03 17:52:27 +01:00
Peter Dietz
8fd1d3f552 Merge pull request #765 from EKT/DS-2336
DS-2336: Some enhancements regarding UI Batch Import (JSPUI)
2014-12-02 18:25:26 -05:00
Roeland Dillen
ae8d931067 add classes artifact to dspace-rest 2014-12-02 10:31:50 +01:00
Kostas Stamatis
422cfdafec bug fix: take care the first time the batch import page is displayed 2014-12-01 14:00:23 +02:00
Kostas Stamatis
2f026f3544 when batch import fails, pass to JSP the old values in order to display them again 2014-12-01 13:40:27 +02:00
Kostas Stamatis
b36b0f262a display other collections select box only if owning collection is already selected 2014-12-01 12:48:05 +02:00
Kostas Stamatis
1fed188491 change order of batch import type selection options (first SAF local upload and then SAF remote) 2014-12-01 12:18:21 +02:00
Kostas Stamatis
898173a154 style error stacktrace message in import history for failed imports 2014-12-01 12:14:26 +02:00
Kostas Stamatis
604e90cf24 change styling of info message in batch import success 2014-12-01 11:00:42 +02:00
Kostas Stamatis
0ee94cb4f0 fix typo in message properties 2014-11-28 15:59:06 +02:00
Kostas Stamatis
3f6d87101e leave the language to a null value, if so, while importing items 2014-11-28 15:53:30 +02:00
Kostas Stamatis
7707a29190 fix bug with import resuming 2014-11-28 14:09:37 +02:00
Kostas Stamatis
2691bbc806 fix order of imports display in history 2014-11-28 13:18:15 +02:00
Kostas Stamatis
c1ab32d39f for erroneous imports, stacktrace is displayed in email sent to user + in the import log history 2014-11-28 12:56:33 +02:00
Kostas Stamatis
d90fdec1e1 fix problem with a localized message that appears as literal 2014-11-28 10:17:57 +02:00
Kostas Stamatis
0900bdc60d bug fix: add missing javascript function to show/hide items div 2014-11-27 15:01:23 +02:00
Kostas Stamatis
f336d8277c add missing message properties 2014-11-27 15:00:51 +02:00
Kostas Stamatis
6078adc285 revise some message properties keys 2014-11-27 14:49:23 +02:00
Kostas Stamatis
8f6612c777 display item handles (with links) in batch import report 2014-11-27 13:35:01 +02:00
Kostas Stamatis
e383ab86ef display a more explanatory message in batch import success with a link to where the user can see his batch imports 2014-11-27 13:04:05 +02:00
Bram Luyten
5c3eb75149 jspui fix simple search 2014-11-27 11:48:03 +01:00
Kostas Stamatis
7a3365cf62 support batch import of Simple Archive Format via upload file 2014-11-27 12:46:35 +02:00
Bram Luyten
f3d5caaed5 Locking the door for bad behaving bots 2014-11-27 11:43:08 +01:00
helix84
bdbff389a9 Merge pull request #763 from antoine-atmire/DS-2334
[DS-2334] Mirage 2 forms styling bugfix
2014-11-25 15:08:18 +01:00
Antoine Snyers
4f2787e425 [DS-2334] Mirage 2 forms styling bugfix 2014-11-25 10:09:04 +01:00
Pascal-Nicolas Becker
193418bd95 Content Negotiation should be switched off by default. 2014-11-21 12:03:31 +01:00
Ivan Masár
ebc01743bf DS-2277 Double link to usage statistics 2014-11-21 09:31:41 +01:00
helix84
d507fc4d1d Merge pull request #758 from mwoodiupui/DS-2248
DS-2248 XMLUI Delete Community doesn't work
2014-11-20 21:42:30 +01:00
helix84
0f827a3b9c Merge pull request #757 from rivaldi8/DS-2317-hide-elements-from-print
[DS-2317] Some elements shouldn't appear when printing a page
2014-11-20 20:27:43 +01:00
Àlex Magaz Graça
7f08baffed [DS-2317] Some elements shouldn't appear when printing a page 2014-11-20 13:34:43 +01:00
Roeland
7b39a2b59e change hidden noop to error log 2014-11-20 12:00:39 +01:00
Mark H. Wood
bca1b2cf0e DS-2248 Ensure that DSpaceObject subclasses create typed TableRows when instantiated. 2014-11-19 17:11:57 -05:00
Mark H. Wood
257dfe544d DS-2248 Test deletion of contained Item when deleting Community. Fix
failure.
2014-11-19 17:10:03 -05:00
Mark H. Wood
47140ea8cc DS-2248 Correct dependencies for direct use of Hamcrest 2014-11-19 17:05:50 -05:00
Tim Donohue
58f7734400 Merge pull request #749 from tdonohue/DS-2297
DS-2297: Auto upgrade Solr indexes
2014-11-19 09:56:16 -06:00
Ivan Masár
eac26b8330 DS-2310 JSPUI uses outdated LDAP config properties 2014-11-19 01:09:34 +01:00
Tim Donohue
72ae84e144 Bug fix to previous commit. Removing 'authority' index from Solr check
as it seems problematic if index is not initialized. Also ensure
Discovery reindex isn't triggered multiple times if an error occurs.
2014-11-18 22:34:06 +00:00
Tim Donohue
0c166a937a Update to check Discovery & new Authority indexes in 'ant update_solr_indexes'. Also corrected auto-reindexing of Discovery in Flyway logic, as it needs to both overwrite existing index AND recreate the spellchecker index. 2014-11-18 10:09:45 -06:00
helix84
dce6563dc0 Merge pull request #746 from atmire/DS-2295
[DS-2295] Index authority script malfunctions
2014-11-18 15:40:28 +01:00
KevinVdV
59ebb18a6a [DS-2295] Index authority script improvement for large database indexing 2014-11-18 14:42:44 +01:00
Roeland Dillen
99d3a04720 update LuceneMatchVersion to 'Current' 2014-11-18 09:18:34 +01:00
Roeland
4eb7cb6390 prevet dependency management from dspace-parent pom to override solr dependency on lucene 4.10.2 2014-11-18 09:13:35 +01:00
Tim Donohue
747ba5fbcb Refactor logic to work with Lucene API v4.10.2. Also ensure we don't download latest Lucene JAR, as it is already on our classpath. 2014-11-17 16:31:31 -06:00
Tim Donohue
84caaa9abf Improved error handling. Ensure "ant help" also lists update_solr_indexes" 2014-11-17 14:42:03 -06:00
Tim Donohue
68e531d4e9 Minor spelling correction 2014-11-17 14:41:58 -06:00
Tim Donohue
e7adb08d7a DS-2297: Add "IndexVersion" commandline script, and "ant update_solr_indexes" to auto-update our indexes as needed. 2014-11-17 14:41:55 -06:00
Peter Dietz
6700d77de9 Merge pull request #752 from LongsightGroup/DS-2301-bump-lucene-es
DS-2301 Bump Lucene to 4.10.2 and ElasticSearch to 1.4.0
2014-11-17 15:32:26 -05:00
Peter Dietz
b4d4f56beb DS-2301 Bump Lucene to 4.10.2 and ElasticSearch to 1.4.0
We don't need to have inconsistent lucene versions lying around
2014-11-17 13:13:46 -05:00
Àlex Magaz Graça
8d84c16fbe [DS-2300] Different visualisation of author fields in Mirage 2 2014-11-17 12:33:28 +01:00
Peter Dietz
4db2698bee Merge pull request #747 from atmire/DS-2217
[DS-2217] Removing SSL ignore option for the rest connector
2014-11-14 14:04:06 -05:00
KevinVdV
35492a9166 [DS-2217] Removing SSL ignore option for the rest connector since it was linked to a nonexistent orcid.cfg file. 2014-11-14 16:09:11 +01:00
KevinVdV
1b127d3515 [DS-2295] Index authority script malfunctions 2014-11-14 14:29:53 +01:00
Ivan Masár
f7e6377b01 DS-1447 Login as User redirecting to wrong page 2014-11-13 10:51:18 +01:00
helix84
c93a50cfcb Merge pull request #743 from LongsightGroup/DS-2275-mathjax-error
DS-2275 XMLUI Error Page onclick errors
2014-11-12 19:29:58 +01:00
Peter Dietz
9f29cab98e DS-2275 Fix browser support for error page link to show stack error
The link to show the stack trace, uses a javascript call, this should be
an onclick, not a href, otherwise a browser like firefox opens a js console
To make this work, I had to extend xref to have an onclick attribute.
2014-11-11 23:36:38 -05:00
Peter Dietz
9c85d9487b DS-2275 Not render MathJax in error page exception 2014-11-11 23:31:04 -05:00
Hardy Pottinger
16621310ca [maven-release-plugin] prepare for next development iteration 2014-11-10 22:49:16 +00:00
Hardy Pottinger
7dcd770812 [maven-release-plugin] prepare release dspace-5.0-rc2 2014-11-10 22:49:10 +00:00
Peter Dietz
ef15bbd4c0 Merge pull request #742 from LongsightGroup/DS-2274-log4j-delete-success
DS-2274 Only report error if the log CAN'T be deleted
2014-11-10 16:03:15 -05:00
Peter Dietz
752c0100c9 DS-2274 Only report error if the log CAN'T be deleted 2014-11-10 15:59:23 -05:00
Peter Dietz
b95b3c304c Merge pull request #741 from peterdietz/itemimport-cleanup
DS-2204 Consolidate/Clean Batch Import UI code
2014-11-10 15:55:13 -05:00
Ivan Masár
8a56f67c27 DS-2270 5.0rc1 won't build with Mirage2 2014-11-08 12:36:10 +01:00
Ivan Masár
718bfa4b62 fix typos 2014-11-08 11:59:44 +01:00
Hardy Pottinger
978ec2f152 [maven-release-plugin] prepare for next development iteration 2014-11-07 22:42:47 +00:00
Hardy Pottinger
884519a9f3 [maven-release-plugin] prepare release dspace-5.0-rc1 2014-11-07 22:42:43 +00:00
Peter Dietz
b1033bdd01 Merge pull request #3 from EKT/itemimport-cleanup
Some ItemImport clean up
2014-11-07 17:31:52 -05:00
Hardy Pottinger
453177b0fc increment lang pack version number for dspace-xmlui-lang as well 2014-11-07 16:23:35 -06:00
Hardy Pottinger
b8c4e1a50a [maven-release-plugin] rollback the release of dspace-5.0-rc1 2014-11-07 22:20:16 +00:00
Hardy Pottinger
031f9c7b20 [maven-release-plugin] prepare for next development iteration 2014-11-07 22:17:30 +00:00
Hardy Pottinger
26e9035ac6 [maven-release-plugin] prepare release dspace-5.0-rc1 2014-11-07 22:17:21 +00:00
Hardy Pottinger
6f094a9eec [maven-release-plugin] rollback the release of dspace-5.0-rc1 2014-11-07 22:00:53 +00:00
Hardy Pottinger
75da65b5ee [maven-release-plugin] prepare for next development iteration 2014-11-07 21:55:27 +00:00
Hardy Pottinger
917aff3f8d [maven-release-plugin] prepare release dspace-5.0-rc1 2014-11-07 21:55:21 +00:00
Hardy Pottinger
a7c5764e70 update language pack ranges in preparation for the release of DSpace 5.0 2014-11-07 15:43:07 -06:00
Hardy Pottinegr
6d7075bf66 [maven-release-plugin] rollback the release of dspace-5.0-rc1 2014-11-07 21:33:41 +00:00
Hardy Pottinegr
f5dc0a604a [maven-release-plugin] prepare for next development iteration 2014-11-07 21:15:00 +00:00
Hardy Pottinegr
d138359f92 [maven-release-plugin] prepare release dspace-5.0-rc1 2014-11-07 21:14:52 +00:00
Peter Dietz
ddd4214dce Merge pull request #740 from LongsightGroup/DS-2267-solr-export
DS-2267 SOLR usage statistics to export to common format
2014-11-07 15:33:14 -05:00
Peter Dietz
64d6aedb25 Solr usage event export to handle previous version data
DSpace pre-3.0 only tracked view/download usage events. When DSpace 3 introduced workflow/search tracking, these older usage events didn't get converted. This commit adds a query to find them too.
2014-11-07 14:41:32 -05:00
Peter Dietz
3531e9cef5 SOLR export, change bad IP addresses 2014-11-07 14:41:23 -05:00
Peter Dietz
f57619d726 Export SOLR Usage Statistics data to intermediate format
bin/dspace stats-util --export
2014-11-07 14:41:13 -05:00
Peter Dietz
a2d513e59e Merge pull request #739 from LongsightGroup/DS-2269-es-schema-file
DS-2269 Move Elastic Search schema to a resources file, and out of java
2014-11-07 14:38:25 -05:00
Peter Dietz
b3ed29d521 Merge pull request #730 from LongsightGroup/DS-2111-noindex-media-filter
DS-2111 Remove lucene index operation at end of media filter run
2014-11-07 14:31:01 -05:00
Peter Dietz
9f622b457c Merge pull request #527 from peterdietz/DS-1976-rest-unlisted-items
REST to not show unlisted items in Collection item list, fixes DS-1976
2014-11-07 14:30:19 -05:00
Tim Donohue
d17f1b4699 Ensure all modules listed in release profile and alphabetize them. 2014-11-07 19:23:24 +00:00
Peter Dietz
0f612d7edb DS-2269 Move Elastic Search schema to a resources file, and out of java 2014-11-07 14:20:30 -05:00
Mark H. Wood
829239f999 Merge pull request #732 from rradillen/DS-2253
DS-2253: bumping solr version
2014-11-07 13:20:06 -05:00
Roeland Dillen
8e2f87e755 add docvalues to docvalue capable fields for better facet performance 2014-11-07 17:08:41 +01:00
helix84
c630b656ac Merge pull request #738 from atmire/DS-2264
DS-2264 locked Mirage2 version numbers
2014-11-07 15:12:25 +01:00
helix84
b35cf6f48c Merge pull request #737 from atmire/DS-2265
DS-2265 Publisher information header in uploadstep
2014-11-07 15:05:58 +01:00
philip Vissenaekens
488d37e826 DS-2264 locked Mirage2 version numbers 2014-11-07 14:49:48 +01:00
philip Vissenaekens
e7576cefc8 DS-2265 Publisher information header in submissions will only be shown when there is information available to show 2014-11-07 14:10:02 +01:00
rradillen
7320c85dde Merge pull request #2 from LongsightGroup/DS-2253-es-bump
DS-2253 Also bump Lucene and Elastic Search
2014-11-07 11:37:29 +01:00
helix84
ba1596dd05 Merge pull request #735 from mwoodiupui/DS-2258
[DS-2258] Ask the objects for their names and Handles
2014-11-07 00:40:08 +01:00
Tim Donohue
59a962ce3e Merge pull request #736 from tdonohue/flyway-migrations-to-jar
DS-2259 : Move all Flyway SQL migrations to 'dspace-api.jar' to discourage running them manually
2014-11-06 17:16:17 -06:00
Peter Dietz
f9074ed263 Removing unneeded Elasticsearch imports from JSPUI 2014-11-06 18:12:40 -05:00
Tim Donohue
e281dc8f1c Fix license headers in SQL files. 2014-11-06 16:56:06 -06:00
Peter Dietz
47a62ae9b5 Bump Elastic Search version from 0.90.3 to 1.3.4 2014-11-06 17:35:24 -05:00
Peter Dietz
dad7ba730b Bump lucene version from 4.4.0 to 4.9.1 2014-11-06 17:35:05 -05:00
Tim Donohue
0e80b5488b Minor bug fix for H2 / Unit Testing 2014-11-06 16:25:59 -06:00
Tim Donohue
9bfa417f18 Move all Flyway SQL migrations to 'dspace-api.jar' to discourage running them manually. 2014-11-06 15:52:10 -06:00
Mark H. Wood
a2ce3fbdbf [DS-2258] Ask the objects for their names and Handles 2014-11-06 16:44:21 -05:00
Tim Donohue
5fb04adec9 Merge pull request #731 from tdonohue/flyway_oracle_fixes
Flyway fixes for Oracle (DS-2244, DS-2250, DS-2251)
2014-11-06 13:19:37 -06:00
Tim Donohue
9ecd3ff710 Minor cleanup of System.out messages so they mostly fit in 80 char lines 2014-11-06 12:56:35 -06:00
Ivan Masár
0865ca4bda DS-2230 Mirage2 collection strengths not displayed 2014-11-06 19:41:19 +01:00
Tim Donohue
ad319b9372 Minor spelling fix. 2014-11-06 17:23:21 +00:00
Hardy Pottinger
ef78eca2a1 Merge pull request #721 from hardyoyo/DS-2201-add-oracle-schema-advice
[DS-2201] added config advice to warn oracle users against using schema
2014-11-06 11:02:22 -06:00
Tim Donohue
059a426deb Fix bug where sequence_name wasn't being canonicalized in
sequenceExists(). This caused issues on Postgres
2014-11-06 16:53:21 +00:00
Mark H. Wood
e8563c716b Merge pull request #734 from mwoodiupui/DS-2119
[DS-2119] Add a modified transform to meet EZID requirements.
2014-11-06 11:16:30 -05:00
Mark H. Wood
1812209ed6 Add a modified transform to meet EZID requirements.
The EZID provider depends on the registrar to generate and return the
identifier, so it cannot supply one in the request. But the DataCite
XML schema requires an "identifier" element. A new transform is
offered, which generates an empty "identifier" element, satisfying
EZID.
2014-11-06 11:11:59 -05:00
Mark H. Wood
33abc10c11 Merge pull request #621 from umd-lib/ezid-metadata-mapping
DS-2119. EZID IdentifierProvider Metadata Mapping.
In the interest of time, merging this despite a problem with the transform, for which I already have a solution.  A separate PR will provide that solution.
2014-11-06 11:08:45 -05:00
Roeland Dillen
12415eda5b licence problem 2014-11-06 09:54:49 +01:00
Roeland
32e096fd3d excluding jetty and bumping lucene match version 2014-11-06 07:59:37 +01:00
Tim Donohue
4f01a83fea More refactoring. Fix an infinite migration loop caused by "dspace database migrate [version]" accidentally recalling DatabaseManager.initialize() (required moving MigrationUtils). Also add detailed warnings to this hidden migrate option. 2014-11-05 16:39:05 -06:00
Roeland
f6c83e451c missed some lucene references 2014-11-05 22:23:45 +01:00
Roeland
007524b821 solr version bump pt 1 2014-11-05 22:02:50 +01:00
Tim Donohue
af7ba8a41a Refactor Flyway DatabaseUtils to properly search by Oracle "Schema" (i.e. User), see getSchemaName()
Also add a (hidden) ability to initialize an *old* version of a DSpace DB for testing purposes.
2014-11-05 14:09:24 -06:00
Peter Dietz
8aeeffc4ac DS-1976 Don't list private items in new REST endpoints
Private items are listable to admin, not to other users
These are new endpoints from REST CRUD
2014-11-05 13:17:22 -05:00
Peter Dietz
0da2c9d6b8 REST to not show unlisted items in Collection item list, fixes DS-1976
This also introduces ItemService.isItemListedForUser, a service method that
can be a central piece of code that checks if Item is READ, and listed
2014-11-05 12:12:25 -05:00
Bram Luyten
14a06c692e Merge pull request #729 from atmire/DS-2252
DS-2252 Discovery search results fix back-button cross browser support
2014-11-05 18:08:13 +01:00
Peter Dietz
947bb110bb DS-2111 Remove lucene index operation at end of media filter run 2014-11-05 11:45:28 -05:00
Art Lowel
c2d1ca1463 Fixed an issue where discovery form elements would break after you returned to a search results page using the back button 2014-11-05 17:38:48 +01:00
Mark H. Wood
b2a729aead Merge pull request #723 from mwoodiupui/DS-2240
[DS-2240] EZID IdentifierProvider doesn't handle non-Items gracefully
2014-11-05 09:42:50 -05:00
helix84
93e245b3fb Merge pull request #728 from tuub/DS-2245
DS-2245: Missing name argument for the html select tag.
2014-11-05 15:32:50 +01:00
Pascal-Nicolas Becker
aab6a66586 DS-2245: Missing name argument for the html select tag. 2014-11-05 15:19:21 +01:00
helix84
7e811de65a Merge pull request #725 from rivaldi8/DS-2228-ore-harvested-no-bitstreams-links-mirage2-alt
[DS-2228] ORE-harvested items don't show links to files in Mirage 2 - alternative
2014-11-05 14:28:56 +01:00
Pascal-Nicolas Becker
41f068ae06 Merge pull request #726 from tuub/DS-2246
DS-2246: Simple obvious bugfix.

This PR is so simple and important that I merge it directly.
2014-11-05 12:35:38 +01:00
Pascal-Nicolas Becker
65e6fa4d06 Simple obvious bugfix for DS-2246. 2014-11-05 12:27:51 +01:00
Kostas Stamatis
0bbddc3bf5 merge two different methods that handle UI requests for batch import + enhance unzip method 2014-11-05 13:15:46 +02:00
Àlex Magaz Graça
20d25dc514 Remove unused template.
It's never called.
2014-11-05 10:40:16 +01:00
Àlex Magaz Graça
b07ece81b7 [DS-2228] ORE-harvested items don't show links to files in Mirage 2 2014-11-05 10:40:16 +01:00
Tim Donohue
b4291c274f Merge pull request #724 from tdonohue/DS-2243
DS-2243: Rework/Refactor XMLWorkflow migration so that it works properly with Flyway
2014-11-04 14:00:39 -06:00
Tim Donohue
c4bb99a2a7 Rework/Refactor XMLWorkflow migration so that it works properly with Flyway and can be enabled via a configuration flag. Also replace DatabaseManger.loadSql() with DatabaseUtils.executeSql() as ALL SQL should be run via Flyway parser now. 2014-11-04 11:54:00 -06:00
helix84
c45aca9e97 Merge pull request #697 from atmire/DS-2196
[DS-2196] License files do not support UTF-8 characters
2014-11-04 09:12:32 +01:00
Mark H. Wood
46a608dd21 [DS-2240] Handle all types of DSOs, not just Items 2014-11-03 17:00:25 -05:00
Pascal-Nicolas Becker
5147e32037 Merge pull request #722 from tuub/DS-1798
DS-1798: Reenabling the XSLTDissemination crosswalk.
2014-11-03 19:39:01 +01:00
Mark H. Wood
71b57be1ac Merge pull request #671 from mwoodiupui/DS-1750
[DS-1750] Git clone is becoming slow
2014-11-03 13:07:45 -05:00
Pascal-Nicolas Becker
3386ad5761 Reenabling the XSLTDissemination crosswalk. 2014-11-03 19:04:58 +01:00
Mark H. Wood
cd428fc4d1 Merge pull request #711 from grahamtriggs/master
DS-2222 FindBugs fix of OAIHarvester fall-through switch statement, if paused
2014-11-03 13:04:58 -05:00
Ivan Masár
801eb3fb2f DS-1798 commenting out the plugin caused syntax error 2014-11-03 18:22:10 +01:00
rradillen
18deabb4a3 DS-1820 Introduction of URL validators in SolrServiceImpl breaks .local urls 2014-11-03 16:46:10 +01:00
Hardy Pottinegr
92f5f345da [DS-2201] added config advice to warn oracle users against using the schema configuration 2014-11-03 15:44:00 +00:00
Peter Dietz
17ede9cf1b Merge pull request #716 from LongsightGroup/DS-2231-create-administrator-password
DS-2231 Don't echo create-administrator password
2014-11-03 10:21:11 -05:00
Mark H. Wood
0e0823f69d Merge pull request #719 from mwoodiupui/DS-2237
[DS-2237] DS-1883 missed DCValues in JSP code
Well, the omission was an obvious blunder, once noticed.  The fix is to just replace DCValue with Metadatum throughout JSP code, where it went un-noticed by NetBeans' automagical refactoring.
2014-11-03 08:24:42 -05:00
helix84
8b14e1f548 Merge pull request #720 from rradillen/patch-7
Update Metadatum.java
2014-11-03 10:11:52 +01:00
rradillen
2221bd02f2 Update Metadatum.java
getfield comments were above the copy method.
2014-11-03 09:50:41 +01:00
Bram Luyten
06358d17f8 Merge pull request #630 from atmire/DS-2134
DS-2134 missing configuration properties for mirage2
2014-10-31 23:40:36 +01:00
Mark H. Wood
4e096e467c [DS-2237] DS-1883 missed DCValues in JSP code 2014-10-31 16:06:19 -04:00
Mark H. Wood
c3d64ef956 Merge pull request #673 from mwoodiupui/DS-1883
[DS-1883] Rehabilitate DCValue
2014-10-31 15:25:46 -04:00
Mark H. Wood
3b210df0d8 Update to stay in sync. with merged PRs 2014-10-31 15:10:38 -04:00
Mark H. Wood
f1a36d74ce Update to stay in sync. with merged PRs 2014-10-31 14:48:24 -04:00
Mark H. Wood
1963282d54 Update to stay in sync. with merged PRs 2014-10-31 14:48:24 -04:00
Mark H. Wood
e440e64739 [DS-1883] Un-deprecate DCValue and rename it.
It seems that the reason for deprecation was objection to the *name*,
since it is not strictly for DC anymore.
2014-10-31 14:48:24 -04:00
Tim Donohue
a5d077b708 Remove obsolete upgrade scripts and clean-database.sql. Related to
DS-2167
2014-10-31 17:04:03 +00:00
Mark H. Wood
8f2fe3abf0 Merge pull request #686 from tdonohue/DS-2167_flyway
DS-2167: Add Flyway automatic database upgrades to DSpace
2014-10-31 10:46:42 -04:00
Tim Donohue
ed9725e397 Fixes to the Oracle 1.4 migration. Needs to update metadata sequences inline (after migrating from dctyperegistry to metadataschemaregistry) 2014-10-31 14:17:47 +00:00
Tim Donohue
4dd979c150 Improved error handling. Catch any FlywayExceptions and translate to SQLException 2014-10-31 14:17:47 +00:00
Tim Donohue
41b7eb3e3f Fix for Oracle startup problems. The Flyway "schema_version" table is ALWAYS lowercase. 2014-10-31 14:17:46 +00:00
Tim Donohue
efbb639cdd Bug fix for default Group initialization. Fixes Group update error with upgrading. 2014-10-31 14:17:46 +00:00
Tim Donohue
46ccc954ca Report db.url before most 'database' commands 2014-10-31 14:17:46 +00:00
Tim Donohue
d51c39134e Improve 'clean' command for Oracle. Minor cleanup of commandline output, etc. 2014-10-31 14:17:45 +00:00
Tim Donohue
37351c5391 More fixes for Oracle. Cannot update sequences mid-upgrade. Will create a post-upgrade script for sequence updates 2014-10-31 14:17:45 +00:00
Tim Donohue
9f4c030fed More fixes for fresh_install. Don't create initial Groups in SQL
migrations, instead create them after DB is initialized
2014-10-31 14:17:45 +00:00
Tim Donohue
82016403d7 Fixes to fresh_install process for Flyway. Ensure registries are updated once registry tables exist 2014-10-31 14:17:44 +00:00
Hardy Pottinegr
f24e6cbb73 fixed minor syntax complaints to keep oracle happy 2014-10-31 14:17:44 +00:00
Tim Donohue
6907c33e53 Add DB version guess to "database info" command. Also look for 5.0
compatible databases
2014-10-31 14:17:44 +00:00
Tim Donohue
418688d2f2 Ensure reindexing only gets called once by properly synchronizing calls 2014-10-31 14:17:43 +00:00
Tim Donohue
53cd83feb0 Minor tweaks to help info for 'dspace database' commands 2014-10-31 14:17:43 +00:00
Tim Donohue
3b2cb74ce2 Fork off new thread to perform Discovery reindexing 2014-10-31 14:17:43 +00:00
Tim Donohue
496e35d60f Don't try to cleanup old Browse tables on *every* migration. It only needs to be done once. Also use ConfigurationManager, since Kernel is sometimes null. 2014-10-31 14:17:42 +00:00
Tim Donohue
93f4124cfb Refactor for commandline tools. Ensure Flyway is NOT kicked off during test connections. Refactor DatabaseManager to move commandline tools to DatabaseUtils 2014-10-31 14:17:42 +00:00
Tim Donohue
f2771f6fda Fix auto-reindexing of Solr. Solr will reindex on first access 2014-10-31 14:17:41 +00:00
Tim Donohue
78c2a10bb9 Fixes to startup post-db-migration. XMLUI & JSPUI now should startup.
Scaffolding for auto-reindexing in Solr
2014-10-31 14:17:41 +00:00
Tim Donohue
c27ed73783 Disable DatabaseReindexer. It's problematic as DSpace Kernel doesn't yet exist and Solr isn't running when DB migration runs. 2014-10-31 14:17:41 +00:00
Tim Donohue
c868cb20db Bug fix in determining if a Format Registry entry already exists. Also check for short description. 2014-10-31 14:17:40 +00:00
Tim Donohue
5674474c2c Add a check for DSpace 1.7.x. Minor cleanup as we were checking for 1.4 twice. 2014-10-31 14:17:40 +00:00
Tim Donohue
eec093c0fc Initial version of DSpace database version checks 2014-10-31 14:17:40 +00:00
Tim Donohue
d02e4e618c Support case-insensitive table name searches to determine DSpace version 2014-10-31 14:17:39 +00:00
Tim Donohue
460644d66a Initial Oracle migration scripts from 1.2 -> 4.0 2014-10-31 14:17:39 +00:00
Tim Donohue
e164e4f79a H2 migration scripts from DSpace 1.2 -> 4.0 2014-10-31 14:17:39 +00:00
Tim Donohue
9dc5a5290b Rework Postgres migrations slightly to drop constraints via Java
migrations (which is needed for other DB types)
2014-10-31 14:17:38 +00:00
Tim Donohue
28e5418479 Refactor common migration methods into MigrationUtils to support easier to built Java migrations 2014-10-31 14:17:38 +00:00
Tim Donohue
98a8a0d24c Adding database migrations for PostgreSQL back to 1.1 2014-10-31 14:17:38 +00:00
Tim Donohue
3ea35fa055 Update launcher to use DatabaseUtils (Flyway) for database setup/clean commands 2014-10-31 14:17:37 +00:00
Tim Donohue
5d87c70b5f Refactoring. Adding callbacks to auto-update registry & auto-index post migrations. Updates to Unit Tests and code to use those callbacks. Cleanup of Ant build process based on changes 2014-10-31 14:17:37 +00:00
Tim Donohue
55dd906250 Fix broken ItemTest.testMove() (fails on PostgreSQL). Also fix broken/backwards logic in Collection.removeItem() 2014-10-31 14:17:37 +00:00
Tim Donohue
62d106edc5 Fix DatabaseManagerTest to work for different DB types (Postgres, Oracle or H2) 2014-10-31 14:17:36 +00:00
Tim Donohue
ccad925b1a Tweak MockDatabaseManager to allow Unit Testing against a PostgreSQL or Oracle DB (for easier DB migration testing). Fix problematic H2 migration. 2014-10-31 14:17:36 +00:00
Tim Donohue
b1bf32528f Remove old database_schema.sql from Unit testing 2014-10-31 14:17:35 +00:00
Tim Donohue
71279b4d63 README and NOTICE updates/enhancements. Changing them all to be markdown format for easier viewing on GitHub 2014-10-31 14:17:35 +00:00
Tim Donohue
f64c93943d Add missing license headers 2014-10-31 14:17:35 +00:00
Tim Donohue
07839fb53a Updates to fix Unit Testing in H2. Unfortunately requires H2 having its own custom migration scripts, and some rework of how DatabaseManager initializes 2014-10-31 14:17:34 +00:00
Tim Donohue
e7f12da265 Fixes so that Unit Tests just use Flyway DB as well 2014-10-31 14:17:34 +00:00
Tim Donohue
4c74dbe774 Improved initialization logic so that it also handles "fresh_install" scenario 2014-10-31 14:17:34 +00:00
Tim Donohue
aaa31c0eb8 Reworking XMLWorkflow migration into a Flyway Java migration (which only changes DB when enabled). DB script cleanup. 2014-10-31 14:17:33 +00:00
Tim Donohue
63b05bf996 Create a new "migrations" directory for flyway. Remove all manual
migration scripts.
2014-10-31 14:17:33 +00:00
Tim Donohue
ef4ff511be Configure DSpace DatabaseManager to use Flyway DB to auto-migrate DB schemas 2014-10-31 14:17:33 +00:00
Robin Taylor
cd902ca4b5 Merge pull request #549 from terrywbrady/DS-2027
DS-2027 Update bitstream-ordering.js
2014-10-31 13:57:06 +00:00
Hardy Pottinger
7d0d68960a Merge pull request #718 from mwoodiupui/DS-2195
[DS-2195] importing AIPs with DSpace:master throws an NPE
2014-10-30 23:46:39 -05:00
Hardy Pottinger
854a9f9406 Merge pull request #717 from LongsightGroup/DS-2232-oracle-pom
DS-2232 Update Oracle pom to latest: 11.2.0.4.0
2014-10-30 23:44:12 -05:00
Mark H. Wood
dee30c48ed [DS-2195] Ensure that a found Group's TableRow is typed.
DatabaseManager.querySingle returns an untyped TableRow.  We can't use
querySingleTable because the row contains columns not found in the
required type.  Just force the row to have a type anyway, since it
does contain all of the columns required for that type.  Otherwise the
Group is not update()able.
2014-10-30 11:52:21 -04:00
Peter Dietz
4a5511a6f6 DS-2232 Update Oracle pom to latest: 11.2.0.4.0 2014-10-29 18:13:37 -04:00
Peter Dietz
1790687bab DS-2231 Use console.readPassword to not echo create-administrator password 2014-10-29 15:29:27 -04:00
helix84
31c084fd53 Merge pull request #714 from rradillen/DS-2229
DS-2229: User agent is not saved if the location of a hit cannot be determined
2014-10-29 14:49:28 +01:00
rradillen
cfb91f2533 Merge pull request #1 from bram-atmire/DS-2229
indentation fix
2014-10-29 14:42:41 +01:00
Bram Luyten
7a9bd499bb indentation fix 2014-10-29 14:17:13 +01:00
Roeland Dillen
06f5d5b8b9 Log user agent if no location can be determined (ie always) 2014-10-29 13:58:51 +01:00
Mark H. Wood
b34240e8d5 Merge pull request #701 from helix84/DS-1227-JSPUI-tagcloud
DS-1227: Tag cloud for any browse index or Discovery facet (JSPUI only)
2014-10-29 08:24:17 -04:00
Ivan Masár
ee49efbb60 fix typos 2014-10-29 00:15:35 +01:00
Kostas Stamatis
87228ab827 Separate UI from API (add classes to tag cloud so as to configure appearance from style files and not the configuration ones) 2014-10-29 00:15:34 +01:00
Kostas Stamatis
b07cb70864 Remove GreekNameComparator (as never used) and revert facet limit for subject facet 2014-10-29 00:15:34 +01:00
Kostas Stamatis
2aecd04575 minor change in configuration comments 2014-10-29 00:15:34 +01:00
Kostas Stamatis
753d182324 add comments + configure browse tag cloud 2014-10-29 00:15:34 +01:00
Kostas Stamatis
5c10a0eedf url encode tag cloud's links (again!) 2014-10-29 00:15:34 +01:00
Kostas Stamatis
788c73e7ed url encode tag cloud's links 2014-10-29 00:15:34 +01:00
Kostas Stamatis
15b16b0040 enable tag cloud in browsing 2014-10-29 00:15:34 +01:00
Kostas Stamatis
0365b342a5 resolve some fixes regarding the discovery configuration in tag cloud 2014-10-29 00:15:34 +01:00
Kostas Stamatis
cf5011016d move tag cloud html code to a separate file 2014-10-29 00:15:34 +01:00
Kostas Stamatis
43f9816c00 parameterize tag cloud + enable it in community and collection home 2014-10-29 00:15:33 +01:00
Kostas Stamatis
2bc6e63e45 Initial support for tag cloud 2014-10-29 00:15:33 +01:00
helix84
43b4af88a6 Merge pull request #707 from EKT/DS-2162
DS-2162: Per item configurable visual indicators for browse and search results (JSPUI only)
2014-10-29 00:13:37 +01:00
Peter Dietz
052e1632fa Merge branch 'tdonohue-DS-2103' 2014-10-28 03:48:18 -04:00
Tim Donohue
3b367be1a9 DS-2103: Reordering/Reorganizing of Administrative menu 2014-10-28 03:32:27 -04:00
Peter Dietz
e26ed04982 Merge pull request #661 from LongsightGroup/DS-682-osu-select-collection
DS-682 Optimize Select Collection Performance
2014-10-28 02:31:19 -04:00
Peter Dietz
7e893ffb38 Allow for select-collection optimization to be disabled
Since there could be a potential edge case where the optimization falters
We'll provide a simple fallback to revert to using the original query
2014-10-28 01:50:42 -04:00
Peter Dietz
c0d9805096 Merge pull request #678 from LongsightGroup/DS-2175-pdf-coverpage
DS-2175 PDF Citation Coverpage
2014-10-28 01:31:18 -04:00
Peter Dietz
adaa2e6271 Clean up PDFBOX pom's to reuse existing, and upgrade existing 2014-10-28 01:16:09 -04:00
Peter Dietz
1213e47569 Remove extra log statements from Citation PDF generator 2014-10-28 01:13:08 -04:00
Peter Dietz
30b770f2b5 Make citation PDF text configurable: header, metadata fields, footer 2014-10-28 01:13:08 -04:00
Peter Dietz
25c97a7900 Simplify adding coverpage code logic, formatting tweaks 2014-10-28 01:13:08 -04:00
Peter Dietz
4815095e01 Wordwrap all fields for citation PDF 2014-10-28 01:13:08 -04:00
Peter Dietz
6fd565becf Make title wordwrap 2014-10-28 01:13:08 -04:00
Peter Dietz
3c2314bbb1 Add PDF citation information as a table, other formatting improvements 2014-10-28 01:13:08 -04:00
Peter Dietz
930241474e Add elements/metadata to PDFBOX citation document 2014-10-28 01:13:08 -04:00
Peter Dietz
c43f59d1cd Hello World, get cover page working with PDFBOX 2014-10-28 01:13:08 -04:00
Peter Dietz
2c0595d5ca DS-2175 Citation PDF initial implementation 2014-10-28 01:13:08 -04:00
Mark H. Wood
5cb2bf7ee3 Merge pull request #498 from tdonohue/DS-1936
DS-1936 - Update robots.txt to include a Sitemap entry
2014-10-27 21:59:15 -04:00
Peter Dietz
03e2f89edc Merge pull request #632 from LongsightGroup/DS-2138-discovery-ipauth
DS-2138 Discovery should get user's special groups (i.e. IPAuth)
2014-10-27 18:39:03 -04:00
Peter Dietz
112392ac2b Merge pull request #679 from LongsightGroup/DS-2180-my-archived-submissions
DS-2180 Fix sorting by date accessioned in xmlui My Archived Submissions
2014-10-27 18:37:53 -04:00
Graham Triggs
6a0bcf5297 Fix fall-through switch in OAIHarvester which would have stopped it if pause was issued. 2014-10-27 14:44:26 +00:00
Peter Dietz
d4057ee461 Merge pull request #710 from grahamtriggs/master
DS-2221 Add a profile and dependencies for running FindBugs
2014-10-27 10:19:40 -04:00
Kostas Stamatis
34cc462b7f check for null values (in order to avoid NPEs due to incorrect configuration) 2014-10-27 14:22:29 +02:00
Graham Triggs
55b65c96aa Add a profile and dependencies for running FindBugs as part of the build process (requires Maven 3+) 2014-10-27 11:31:26 +00:00
Robin Taylor
456f673b3c Merge pull request #518 from zuki/DS-1968
[DS-1968] Select the collection already selected in the previous operation (JSPUI)
2014-10-27 09:44:46 +00:00
Kostas Stamatis
02bbcd2b8a fix issues and recommendations based on @zuki @lap82 comments 2014-10-27 09:13:33 +02:00
Kostas Stamatis
1e5f4f0a18 fix comments and typos 2014-10-27 08:40:14 +02:00
Peter Dietz
8ad0eca0b1 Add missing license to OptimizeSelectCollection 2014-10-26 19:30:42 -04:00
Peter Dietz
16f560d9ae Select Collection Optimize, add in community admin to check 2014-10-26 19:30:42 -04:00
Peter Dietz
252ab5e879 Enable optimized selectcollection logic and add tests
You can run a standalone test via:
/dspace/bin/dspace dsrun org.dspace.app.util.OptimizeSelectCollection
2014-10-26 19:30:41 -04:00
Peter Dietz
bbe9ef6f3c Adding Collection.findAuthorizeOptimized
Based on Ohio State University code
2014-10-26 19:30:41 -04:00
Bram Luyten
f76b057f65 Merge pull request #423 from bram-atmire/DS-1823
DS-1823 move dspace.url to build.properties
2014-10-25 16:28:21 +02:00
Bram Luyten
47c1a69da7 adding erroneously removed baseurl again 2014-10-25 14:31:03 +02:00
Bram Luyten
30c138801f introducing dspace.ui in build.properties 2014-10-25 13:54:36 +02:00
Bram Luyten
b49180f1f0 Merge pull request #694 from akonczak/master
JSPUI - Fix to avoid db connection pool exhaustion for slow downloads and big files
2014-10-25 13:34:02 +02:00
Kostas Stamatis
1f862e6d43 fix compilation error after changes in master 2014-10-24 14:37:50 +03:00
Kostas Stamatis
e3799d2547 add configurable visual indicators per item in browse and search results 2014-10-24 14:37:42 +03:00
Peter Dietz
f62a8d3704 Merge pull request #620 from tuub/DS-2113
Fixes DS-2113: JSPUI HTML5 upload should store Bitstreams...
2014-10-24 06:25:00 -04:00
Keiji Suzuki
63ea504c5e Applied selectcollection jsptag to select-collection.jsp 2014-10-24 10:27:14 +09:00
Bram Luyten
16fbdba00d Merge pull request #2 from rradillen/patch-6
updating test configuration to reflect build.properties
2014-10-23 10:57:01 +02:00
rradillen
e8e45bae72 Update build.properties
keep referring to baseUrl by default but allow override in build.properties
2014-10-23 10:03:07 +02:00
rradillen
c97799db6b Update testEnvironment.properties
to fix the configuration load fail
2014-10-23 10:00:26 +02:00
Tim Donohue
69f217a4b6 Merge pull request #432 from coelhoe/DS-1838
DS-1838 - add context to  two methods  to have monthly statistics local...
2014-10-22 12:56:34 -05:00
Tim Donohue
1a4e045049 Merge pull request #640 from helix84/DS-2147-oai-bitstream-description
DS-2147 XOAI add bitstream description to xoai metadata format
2014-10-22 11:44:07 -05:00
Ivan Masár
de321c5e74 fix db upgrade script name 2014-10-22 11:22:04 +02:00
helix84
9fd80d2e53 Merge pull request #703 from LongsightGroup/DS-2206-rest-bug-fixes
DS-2206 REST - Fix statistics write context abort, and comm.getsubcom
2014-10-22 10:50:33 +02:00
Peter Dietz
fe41471009 Merge pull request #608 from mwoodiupui/DS-2107
[DS-2107] Provide a place for third-party plugins
2014-10-21 17:22:10 -04:00
Peter Dietz
0bec704949 Merge pull request #685 from mwoodiupui/DS-1222
[DS-1222] Alternative Metrics - Framework, Integration of AltMetric and PlumX
2014-10-21 16:36:29 -04:00
Peter Dietz
cbd595e782 REST writeStats to reuse existing context 2014-10-21 10:17:06 -04:00
Peter Dietz
334d7197f0 Move XMLElement of community.subcommunities to getter to prevent errors 2014-10-21 10:15:25 -04:00
Ivan Masár
fd1f914ec1 Add PlumX 2014-10-21 14:26:55 +02:00
Mark H. Wood
25166c8cf5 Make identifier metadata field name configurable 2014-10-21 14:26:25 +02:00
Mark H. Wood
bb1072a5b7 Switch to direct use of dc.identifier.uri metadata 2014-10-21 14:26:25 +02:00
Mark H. Wood
f994b25449 Rename module configuration to be a little less generic 2014-10-21 14:26:25 +02:00
Ivan Masár
e33e90fbed fix display: declare the confman namespace used here 2014-10-21 14:26:25 +02:00
Mark H. Wood
dc0daa6b37 Add Altmetric.com badging 2014-10-21 14:26:25 +02:00
Mark H. Wood
dc328d9c07 Put the Item's persistent identifiers into the DRI document. 2014-10-21 14:26:24 +02:00
aroman
059a83220c DS-2193 Correct browsing for exact metadata 2014-10-21 13:21:22 +02:00
helix84
2864d3edbc Merge pull request #702 from zuki/DS-2205
DS-2205: Fixed bugs in the position of parameter setting
2014-10-21 11:18:16 +02:00
Keiji Suzuki
5b3d29c662 Fixed bugs in the position of parameter setting 2014-10-21 17:51:26 +09:00
Peter Dietz
7051650e16 Rename ItemImport methods to indicate which version it is 2014-10-21 00:40:47 -04:00
Peter Dietz
cdaba26cc2 Reuse the unzip(File) method in Item Import 2014-10-21 00:35:52 -04:00
Ivan Masár
0f66539ee4 remove one of two lang menus; add l10n message 2014-10-21 01:11:30 +02:00
jpiscanc
182e79ea96 Update navbar-default.jsp 2014-10-21 00:47:41 +02:00
jpiscanc
07433aa5b9 Update navbar-default.jsp 2014-10-21 00:47:41 +02:00
jpiscanc
2c38a12266 New Language Menu 2014-10-21 00:47:40 +02:00
jpiscanc
7a316175a0 New Language Menu 2014-10-21 00:47:40 +02:00
Peter Dietz
938eec3068 Merge pull request #680 from LongsightGroup/DS-635-mathjax
DS-635 Render scientific formulas in XMLUI using MathJax
2014-10-20 18:33:55 -04:00
helix84
4e1c740f89 Merge pull request #612 from atmire/DS-2049-proper
DS-2049: DSpace ORCID (proper pull request)
2014-10-21 00:23:37 +02:00
Peter Dietz
31a1b74d84 Merge pull request #591 from LongsightGroup/DS-1641-batchimportUI
DS-1641 Batch ItemImport from XMLUI
2014-10-20 18:22:42 -04:00
Peter Dietz
f65499eb8a Human friendly error message for invalid md field
Also clean up the code log/print spit this out
2014-10-20 17:59:24 -04:00
Peter Dietz
5d05ffd8cd Cleanup errored item import, by deleting remnant of errored item
Conflicts:
	dspace-api/src/main/java/org/dspace/content/Item.java

Conflicts:
	dspace-api/src/main/java/org/dspace/app/itemimport/ItemImport.java
2014-10-20 17:59:05 -04:00
Peter Dietz
d1a540a2f1 Fix rebase, since mapOut is a static 2014-10-20 17:55:16 -04:00
helix84
ecb30786ec Merge pull request #615 from robintaylor/DS-2108
DS-2108 Add an XMLUI aspect to report Google Analytics stats
2014-10-20 23:54:07 +02:00
Peter Dietz
12e36fa8bd BatchItemImport through UI to use addItemsAtomic - all or nothing
In case of an exception during addItems / i.e. ItemImport, revert the
partially imported subset of items.
2014-10-20 17:42:19 -04:00
Peter Dietz
ad71752230 DS-1641 Better exception handling on import, display to user 2014-10-20 17:42:19 -04:00
Peter Dietz
eac4114bce DS-1641 Have the map file have name of uploaded zip 2014-10-20 17:31:17 -04:00
Peter Dietz
cf617e07b7 DS-2071 Handle short depth files, and longer depth files 2014-10-20 17:31:17 -04:00
Peter Dietz
5dafc899ee Print mapFile output to confirm screen, also use batchimport temp dir 2014-10-20 17:31:17 -04:00
Peter Dietz
44cd6c0fde Add select-a-collection to batch upload UI 2014-10-20 17:27:59 -04:00
Peter Dietz
0cbfdbe3a8 Initial Batch Import ZIP from XMLUI 2014-10-20 17:27:58 -04:00
Peter Dietz
63e960b785 Fix DSpace Import to accept zip, adding subfolder to sourceDir 2014-10-20 17:26:58 -04:00
Ivan Masár
d288e5851e Merge branch 'DS-2177-JSPUI-batchimport' into master 2014-10-20 23:12:33 +02:00
Peter Dietz
35d9fffa6c Merge pull request #683 from EKT/DS-2183
Version bump for Biblio Transformation Engine
2014-10-20 17:02:49 -04:00
Peter Dietz
2ff0ef92d6 Merge pull request #666 from ctu-developers/master
DS-2168: New REST api with CRUD operations.
2014-10-20 12:02:24 -04:00
Robin Taylor
20f1d9911e DS-2108 upgrade Google Analytics jars 2014-10-20 16:03:34 +01:00
KevinVdV
4860e1ed02 Adding Mirage 2 support for ORCID lookup box 2014-10-20 14:27:43 +02:00
KevinVdV
b88ca8fd11 Adding missing configuration file 2014-10-20 13:54:34 +02:00
KevinVdV
b32a54516a Rebasing fixes due to metadata for all pull request. 2014-10-20 13:54:34 +02:00
Antoine Snyers
52f4a16c35 add readme to org.dspace.authority package 2014-10-20 13:54:34 +02:00
KevinVdV
a46e248db6 Fixing a small issue with the javascript popup box used by ORCID 2014-10-20 13:54:33 +02:00
KevinVdV
e0b7b4609e Contribution by University of Missouri in collaboration with @mire under the ORCID Adoption and Integration program funded by the Alfred P. Sloan Foundation. 2014-10-20 13:54:33 +02:00
Robin Taylor
87345aa463 DS-2108 Move messages into main messages.xml file 2014-10-20 12:48:47 +01:00
Kevin Van de Velde
9a777004fa Merge pull request #700 from atmire/DS-2172
DS-2172 Mirage 2: grunt-contrib-handlebars set to latest version
2014-10-20 13:47:24 +02:00
Robin Taylor
672b922373 DS-2108 fix conflict in Jackson dependencies 2014-10-20 11:46:38 +01:00
Robin Taylor
42565df86d DS-2108 templates.js was interfering with google-stats-dates.js, so move the latter 2014-10-20 11:43:11 +01:00
Robin Taylor
99028d8a3f DS-2108 Improve the ordering method of the results 2014-10-20 11:43:11 +01:00
Robin Taylor
a8a2b934bb DS-2108 Small correction to the instructions 2014-10-20 11:43:11 +01:00
Robin Taylor
27ee88bc1d DS-2108 Give the Service Account permission to read your GA data 2014-10-20 11:43:11 +01:00
Robin Taylor
67bf1bcbe9 DS-2108 Correct license headers 2014-10-20 11:43:11 +01:00
Robin Taylor
7914522c51 DS-2108 Hopefully improved the instructions in google-analytics.cfg 2014-10-20 11:43:11 +01:00
Robin Taylor
acb688ff05 DS-2108 trivial change to move a comment 2014-10-20 11:43:11 +01:00
Robin Taylor
6101bc8cdb DS-2108 Add an XMLUI aspect to report Google Analytics stats
Conflicts:
	dspace-api/pom.xml
2014-10-20 11:42:18 +01:00
ctu-developers
94af415f72 Added missing license header.
Added missing license header in Status.java.
2014-10-20 12:35:04 +02:00
ctu-developers
e4b804b344 Merge pull request #2 from peterdietz/rest-crud-cz
REST API status and collection pagination
2014-10-20 12:08:54 +02:00
Peter Dietz
50a2b54ded REST collections resource to use dspace-api to do limit/offset 2014-10-19 01:04:01 -04:00
Peter Dietz
5f2460f86a REST Login shouldn't attempt to set password. 2014-10-19 01:03:47 -04:00
Peter Dietz
b164c82d67 Add logging to REST login/logout, add status endpoint 2014-10-19 01:03:35 -04:00
philip Vissenaekens
b2d88e4b94 DS-2135 changed the import url for bootstrap in _main.scss 2014-10-17 12:52:10 +02:00
helix84
2d639a3a96 Merge pull request #682 from robintaylor/DS-2182
DS-2182 Make the LNI module an optional build
2014-10-16 13:13:07 +02:00
Peter Dietz
8b5866288a Merge pull request #649 from olli-gold/tubhh
DS-2151: makes CC module work via HTTPS
2014-10-15 13:22:55 -04:00
Peter Dietz
c2e7ccb90f Merge pull request #568 from pnbecker/dspace-rdf
DS-2061: Linked (Open) Data support for DSpace
2014-10-15 12:38:02 -04:00
Bram Luyten
b2324e4f16 Merge pull request #699 from TexasDigitalLibrary/mirage2-href-fix
Mirage2 - fixed bug where clicking on a + or - in community-list made the browser jump to top of page
2014-10-15 17:32:37 +02:00
Gad Krumholz
d1be8c8561 Fixed bug where clicking on a + or - in community-list made the browser jump up to the top of the page because of href="#" 2014-10-15 09:01:08 -05:00
Bram Luyten
f56733e4ec Merge pull request #698 from atmire/DS-2197
[DS-2197] removed deprecated template for rows in the full item view page
2014-10-15 15:37:54 +02:00
Art Lowel
900b9f076d removed deprecated template for rows in the full item view page 2014-10-15 15:30:56 +02:00
KevinVdV
d17fc2fa32 [DS-2196] License files do not support UTF-8 characters 2014-10-15 15:17:35 +02:00
helix84
9eded55fd8 Merge pull request #669 from atmire/DS-2053
[DS-2053] XMLUI compatibility for SHERPA/RoMEO lookup during item submission
2014-10-15 13:24:06 +02:00
KevinVdV
e28595dac3 [DS-2053] Adding missing license header 2014-10-15 11:30:45 +02:00
Bram Luyten
0af994cfcc Merge pull request #681 from rivaldi8/DS-2181-mirage2-fix-favicon
[DS-2181] The favicon is not shown in Mirage 2.
2014-10-14 16:26:07 +02:00
Ivan Masár
dfc1c6c10b run optipng -o9 on all PNGs 2014-10-14 14:52:44 +02:00
Àlex Magaz Graça
b014a9730d [DS-2181] The favicon is not shown in Mirage 2. 2014-10-14 14:52:20 +02:00
Bram Luyten
6bea9795c4 Merge pull request #696 from atmire/DS-2194
[DS-2194] Fixes an issue where checkboxes in tables are positioned much too low
2014-10-14 14:39:23 +02:00
Bram Luyten
26dd898def Merge pull request #676 from rivaldi8/DS-2178-mirage2-incorrect-cc-logo
[DS-2178] Mirage 2: incorrect use of Creative Commons logo.
2014-10-14 14:33:59 +02:00
Bram Luyten
cb78364cbb Merge pull request #689 from rivaldi8/DS-2184-rss-section-header
[DS-2184] RSS section header style doesn't match the rest in Mirage 2
2014-10-14 14:32:24 +02:00
Art Lowel
c761997a86 Fixes an issue where checkboxes in tables are positioned much too low 2014-10-14 14:27:46 +02:00
Artur Konczak
b76bc50e93 Fix to avoid connection pool exhaustion for slow downloads and big files 2014-10-13 14:05:24 +01:00
ctu-developers
0759e0af3b Repaired little write bug. 2014-10-13 12:05:21 +02:00
ctu-developers
29b1d28566 Added method for proccessing finally statements.
Resource.writeStats should not throw exception, because it is not
important to abort method by writings statistic. But must abort own
context.
Added method for processing all finally statements.
Moved return to end of methods.
Repaired some bugs.
2014-10-13 11:39:09 +02:00
Hardy Pottinger
93c024bf89 Merge pull request #687 from atmire/DS-2179
[DS-2179] Shibboleth (and probably LDAP) logins fail after merge of Metadata For All
2014-10-10 12:12:50 -05:00
Oliver Goldschmidt
dbc49c8b5b Merge branch 'master' into tubhh 2014-10-10 11:20:02 +02:00
Mark H. Wood
237ce5313a Merge pull request #593 from kohts/DS-2082
DS-2082: do not pollute provenance when adding several bitstreams
2014-10-09 16:29:58 -04:00
ctu-developers
57e72004be Repaired finally statements and community.
Repaired all finally statements. It was rewrited from context.abort to
if condition with check if context is valid. In community was changed
back name of subcommunities.
2014-10-09 21:40:47 +02:00
Peter Dietz
e0d664b31a Merge pull request #688 from atmire/DS-2164
[DS-2164] Metadata4All Bug with EPerson email
2014-10-09 10:15:51 -04:00
Mark H. Wood
a81b488378 Merge pull request #690 from kohts/DS-2070
DS-2070: remove postgres schema creation (with mhwood)
2014-10-08 16:00:16 -04:00
Petya Kohts
ca8fd83f71 DS-2070: remove postgres schema creation (with mhwood) 2014-10-08 19:13:27 +00:00
Àlex Magaz Graça
e57119c8c9 [DS-2184] RSS section header style doesn't match the rest in Mirage 2 2014-10-08 16:34:09 +02:00
KevinVdV
6e0142dd19 [DS-2053] Adding Mirage 2 support & added support for retrying sherpa romeo requests in the SherpaService 2014-10-08 16:26:52 +02:00
KevinVdV
7f7452a9fc [DS-2164] Metadata4All Bug with EPerson email 2014-10-08 13:54:57 +02:00
KevinVdV
4ea9051c12 [DS-2179] Shibboleth (and probably LDAP) logins fail after merge of Metadata For All 2014-10-08 12:42:01 +02:00
ctu-developers
12b83b3697 Merge pull request #1 from LongsightGroup/rest-crud-cz
Quick fixes for REST Read endpoints
2014-10-07 23:00:43 +02:00
Peter Dietz
6b83de1b51 Remove extra context.aborts in various rest helpers 2014-10-06 20:41:20 -04:00
Peter Dietz
1c6ab765ba Change /rest/bitstreams/:id/retrieve to @GET, post didn't make sense to me 2014-10-06 20:40:34 -04:00
Peter Dietz
9477551d37 Shrink writeStats signature, DSO type constant unneccessary 2014-10-06 17:58:15 -04:00
Peter Dietz
66292597ae Remove context abort for all REST createContext
Adding all the finally context.aborts, was one too many
All requests had aborted contexts, which errored always
Also a spelling fix
2014-10-06 17:53:46 -04:00
Panagiotis Koutsourakis
953ad6240e Version bump for Biblio Transformation Engine 2014-10-06 17:07:37 +03:00
Kostas Stamatis
c51da34540 add missing license header 2014-10-06 14:08:30 +03:00
Robin Taylor
f6d26f5ffd DS-2182 Make the LNI module an optional build 2014-10-06 11:38:20 +01:00
Peter Dietz
699eca5ba2 DS-635 Add MathJax to Mirage2 theme 2014-10-05 11:34:16 -04:00
Peter Dietz
6e792e9e17 DS-635 Add scientific formula rendering with MathJax
Available in Mirage 1 theme when render-scientific-formulas is true
Also, set it so that on show-full-metadata view the renderer is disabled
2014-10-05 10:58:52 -04:00
Peter Dietz
8f000fa6bd DS-2180 Fix findBySubmitterDateSorted to work in metadata4all 2014-10-05 00:54:57 -04:00
Peter Dietz
0862d27fee XMLUI My Archived Submissions to sort using DB rather than array loop 2014-10-05 00:37:48 -04:00
Àlex Magaz Graça
fdd8c2aca8 [DS-2178] Mirage 2: incorrect use of Creative Commons logo. 2014-10-03 12:35:35 +02:00
Kostas Stamatis
c5436f3f35 code refactoring 2014-10-03 10:26:34 +03:00
Pascal-Nicolas Becker
b87aa949a4 Adds content negotiation to XMLUI. 2014-10-02 17:34:39 +02:00
Pascal-Nicolas Becker
dfa5ade578 Repackaging: moved everything into dspace-api except the webapp.
The modules dspace-rdf contains the webapp to provide the converted data
as rdf serialization only. Everything else (classes for conversion,
storage, content negotiation, ...) moved into dspace-api so it can be
used easily by every other part of DSpace.
2014-10-02 16:36:14 +02:00
Mark H. Wood
22204131aa Adjust README to point to online documentation instead of removed PDF 2014-10-02 10:19:00 -04:00
Pascal-Nicolas Becker
9594c2b31a Merge pull request #670 from kohts/DS-2070
DS-2070: acknowledge db.schema configuration property (Postgres)
2014-10-02 16:15:25 +02:00
Petya Kohts
bc4e736a91 DS-2070: create public schema if it doesn't exist (with pbecker) 2014-10-02 13:33:02 +00:00
Kostas Stamatis
1efcb064ca merge batch metadata import (via BTE) with batch import via Simple Archive Format 2014-10-02 15:41:12 +03:00
ctu-developers
52469fb9a1 Formated source and better method for finding item.
All source is formated by DSpace code formater. Better method for
searching item by metadata field. Changed to SQL select, because is more
faster.
2014-10-02 12:56:44 +02:00
Kostas Stamatis
b437af876f some fixes and new display messages 2014-10-02 11:06:04 +03:00
Mark H. Wood
53066bc9d5 Drop DSpace-Manual.pdf which is unmaintained 2014-10-01 16:37:41 -04:00
Petya Kohts
356be457d8 DS-2070: acknowledge db.schema configuration property (Postgres) 2014-10-01 19:51:59 +00:00
Mark H. Wood
af4b514b29 Add sample configuration and document it 2014-10-01 13:55:00 -04:00
KevinVdV
e8933ffc79 [DS-2053] XMLUI compatibility for Sherpa/Romeo lookup during item submission 2014-10-01 14:45:03 +02:00
Panagiotis Koutsourakis
147ec45266 Fixed NullPointer exception in batch import 2014-10-01 14:58:03 +03:00
Kostas Stamatis
344f93bf0e fix issue with closed contexts 2014-10-01 14:57:52 +03:00
Kostas Stamatis
42ad868ee0 ui support for batch import delete/resume 2014-10-01 14:57:39 +03:00
Kostas Stamatis
f8318c9083 close mapfile 2014-10-01 14:57:29 +03:00
Kostas Stamatis
790ca36408 display batch imports in myDspace 2014-10-01 14:57:21 +03:00
Kostas Stamatis
4ebd5f5d20 more on ui batch import 2014-10-01 14:57:09 +03:00
Kostas Stamatis
e4aa641a59 ui support for native batch import 2014-10-01 14:56:59 +03:00
Panagiotis Koutsourakis
c61ed134f8 Added some documentation 2014-10-01 14:56:20 +03:00
Panagiotis Koutsourakis
c5747c4127 Resume --resume or -R can now be used with bte import 2014-10-01 14:56:13 +03:00
Panagiotis Koutsourakis
bf3915880d BTE option for import works for per item collection list
A new version of BTE (0.9.2.5) needed to be released. This release fixes
some minor bugs in DSpaceOutputGenarator and adds the collection per
item handling.
2014-10-01 14:56:08 +03:00
Panagiotis Koutsourakis
29599adfd4 Bug fix for multiple import
If a collection could not be resolved the logic would add the item in
the same collections it added the previous item.
2014-10-01 14:56:03 +03:00
Panagiotis Koutsourakis
4b92fdd91b Added code to handle edge case
If one of the 'collections' files contains a handle or an id that cannot
be resolved to a collection, the specific item is skipped but the
procedure continues with subsequent items.
2014-10-01 14:55:55 +03:00
Panagiotis Koutsourakis
5c8cbf2c05 Batch import into multiple collections
If no -c argument is given ItemImport checks if a file named
'collections' exists inside the directory of each item.

This file must contain either the handles or the numeric ids of the
collections, one per line. The item is added to all those
collections. The collection specified in the first line is the owning
collection.
2014-10-01 14:55:27 +03:00
ctu-developers
ca7f6b4dd9 Added finally statements.
Added finally statements with context.abort() to cover all exception.
2014-09-30 17:45:36 +02:00
ctu-developers
ffe9dd4740 Added lincense headers.
Added lincense headers.
2014-09-30 07:29:08 +02:00
ctu-developers
df35f5c775 Repaired compilation bug annouced by CI.
Removed only one line with import of non exsiting class.
2014-09-30 06:08:07 +02:00
ctu-developers
1637dbd543 HTTPS
Change from HTTP access to HTTPS method.
2014-09-29 20:07:02 +02:00
ctu-developers
eb399686c5 New REST api
New REST api with CRUD operations over community, collections, items,
bitstreams.
2014-09-29 19:36:12 +02:00
Pascal-Nicolas Becker
70c359f6bb Changed the CLI help for conformance with launcher script name. 2014-09-29 13:28:41 +02:00
Tim Donohue
b3647121cb Fix for DS-1781. Also, log a warning if email cannot be determined, but still set to netid. 2014-09-26 14:54:46 -05:00
Tim Donohue
27fe6808c9 Merge pull request #662 from tdonohue/DS-2097
DS-2097: Obvious boolean logic fix. Should be boolean AND, not boolean OR
2014-09-26 14:33:19 -05:00
Tim Donohue
7855203f0f Obvious boolean logic fix. Should be boolean AND, not boolean OR 2014-09-26 19:30:43 +00:00
Tim Donohue
61ba1393df Merge pull request #605 from royopa/patch-1
DS-2097 : Request copy w/ dc.title qualified term
2014-09-26 14:27:07 -05:00
Mark H. Wood
07d83f7bff Merge pull request #654 from atmire/DS-1582-proper
Support Metadata On All DSpaceObjects
2014-09-26 11:26:31 -04:00
Tim Donohue
389551fdfc Merge pull request #658 from tdonohue/DS-1596-mirage2
DS-1596 fixes for Mirage 2 theme
2014-09-25 16:29:49 -05:00
Tim Donohue
f8d0d09c4d DS-1596 fixes for Mirage 2 theme. Minor rework of shared
exception2dri.xslt (which has been tested on other themes)
2014-09-25 19:52:00 +00:00
Mark H. Wood
bf0e2678ed Merge pull request #657 from mwoodiupui/DS-2128
[DS-2128] Fix 'ant fresh_install' breakage
2014-09-25 12:51:53 -04:00
Mark H. Wood
d8ab904184 Don't set validation query until we know what it should be. 2014-09-25 11:55:51 -04:00
Tim Donohue
54123bbaae Merge pull request #459 from tdonohue/DS-1596
DS-1596 fix : Display error messages in your XMLUI theme
2014-09-25 10:43:15 -05:00
Tim Donohue
7da27af8b7 Add I18N for Error page. Add ability to display underlying errorstack.
Some styling additions.
2014-09-25 15:11:30 +00:00
Mark H. Wood
9b8be34b72 Add a method to return 'DSpace internal' DBMS names from a controlled vocabulary 2014-09-25 11:09:42 -04:00
KevinVdV
f1f7c2afba Support Metadata On All DSpaceObjects: Fixing an issue where password was still retrieved using the old getMetadata method 2014-09-25 09:03:58 +02:00
Gad Krumholz
9fb80d41bc Fixed bug where + wouldn't expand or collapse the hidden <div> in community-list when a DSpace has a handle prefix configured with a '.' in it (example handle prefix: 2346.1) 2014-09-24 10:47:07 -05:00
KevinVdV
87cd7145c9 Support Metadata On All DSpaceObjects 2014-09-24 16:16:06 +02:00
Tim Donohue
ca090a8e8a Merge pull request #653 from tdonohue/master-build-fixes
Fix build issues on 'master' from DS-2133 fixes
2014-09-22 13:51:28 -05:00
Tim Donohue
4b9b28ec66 Fix build issues on 'master'. Ensure new profiles are enabled properly.
Update Travis CI settings to skip building of 'dspace-installer'.
2014-09-22 18:06:41 +00:00
Pascal-Nicolas Becker
fc324dba54 Uses DSpace Repository Ontology from digital-repositories.org. 2014-09-22 18:08:53 +02:00
Mark H. Wood
e7ea8e45ca Merge pull request #635 from mwoodiupui/DS-2128
[DS-2128] Eliminate dspace.cfg:db.name
2014-09-19 13:46:13 -04:00
Mark H. Wood
5cf1f31888 Merge pull request #475 from mwoodiupui/DS-1577
[DS-1577] 'commons-httpclient' is End-of-Life
2014-09-19 13:02:15 -04:00
Tim Donohue
25983e9e5b Merge pull request #606 from royopa/DS-1858
DS-1858 : Added key Browse Items by: of navbar in messages.properties
2014-09-19 11:18:13 -05:00
Mark H. Wood
286f2b82f6 Merge pull request #643 from mwoodiupui/DS-2003
[DS-2003] WorkflowManager.notifyOfArchive() discards reason for email failure
2014-09-19 10:53:59 -04:00
Mark H. Wood
0e3691c040 Merge pull request #634 from mwoodiupui/DS-1926
[DS-1926] return key instead of null in I18nUtil.getMessage
2014-09-19 10:19:24 -04:00
Tim Donohue
ba9e3fc7bf Merge pull request #648 from tdonohue/travis_fixes
More Travis CI build fixes related to DS-2133
2014-09-18 12:23:44 -05:00
Tim Donohue
599931f520 Default to giving Unit Tests 512MB of memory. Provide a -Dsurefire.argLine
option to pass a different setting to m-surefire-p.
2014-09-18 16:49:31 +00:00
Tim Donohue
98acddd6c2 Move assembly of 'dspace-installer' into a default profile so that it
can be disabled as needed for TravisCI
2014-09-18 15:13:11 +00:00
Kevin Van de Velde
a3b4173397 Merge pull request #651 from antoine-atmire/DS-2154
[DS-2154] fixes: metadata authority and confidence lost in new version creation
2014-09-18 14:15:49 +02:00
Antoine Snyers
dbc64c6e4b [DS-2154] fixes: metadata authority and confidence lost in new version of item 2014-09-18 13:03:09 +02:00
Oliver Goldschmidt
7ffb5c41d2 makes CC module work via HTTPS 2014-09-16 13:28:30 +02:00
Tim Donohue
217aea08c3 Travis CI fixes. Run all Unit Tests first, THEN assemble DSpace +
Mirage2
2014-09-15 19:08:29 +00:00
Tim Donohue
1c0bce9cab Merge pull request #645 from tdonohue/unit-test-cleanup
Ensure all Unit Tests nullify any created resources, related to DS-2080
2014-09-15 11:50:26 -05:00
Tim Donohue
c3967261ac Merge pull request #644 from tdonohue/mirage2-pom-cleanup
Mirage2 POM cleanup/refactoring, related to DS-2052
2014-09-12 16:06:25 -05:00
Tim Donohue
c0cf542d0d Ensure all Unit Tests nullify any created resources, thus forcing JUnit to clean them up from memory 2014-09-12 15:11:37 -05:00
Tim Donohue
86d771cecb Mirage2 POM cleanup/refactoring. Avoid duplication of plugin version numbers, and make it easier to change dependency versions. 2014-09-12 15:05:20 -05:00
Mark H. Wood
648e5b364b [DS-2003] Mention why mail did not go out.
Also clean up message formatting.
2014-09-12 16:01:27 -04:00
Pascal-Nicolas Becker
a44813989f Enhanced the dspace-rdf command line interface.
Added the RDFizer to the launcher.xml configuration.
Added a command --convert-all.
Prints help if no options were given instead of starting reconvertion of
all content (which may take a lot of time).
2014-09-11 16:59:51 +02:00
cjuergen
ec3f993dc2 XOAI add bitstream description to xoai metadata format 2014-09-11 16:58:58 +02:00
cjuergen
d267f8bf9c Misplaced exclamation marks in dspace.bat 2014-09-11 16:14:01 +02:00
Tim Donohue
fe47530f7d Merge pull request #637 from tdonohue/DS-2133-new
DS-2133 : Update Travis to install Mirage2 prerequisites and build Mirage2
2014-09-11 09:08:10 -05:00
Pascal-Nicolas Becker
f254b21973 Repaired the build process after rebasing.
The dspace rdf war project wasn't build anymore as the activation of the
modules changed with the Mirage 2 contribution.
2014-09-11 14:51:53 +02:00
Pascal-Nicolas Becker
dfe6c7460b The DSpace Matadata Mapping vocabulary moved to digital-repositories.org 2014-09-11 14:51:51 +02:00
Pascal-Nicolas Becker
3d8acfedea Uses all possible identifiers to generate URIs.
This commit enables dspace-rdf to use all PersistentIdentifiers minted
by DSpace and not only handles. It makes advantage of the changes
introduced to DSpace by DS-1990. Persistent Identifers should and will
be used as fully functional http URIs only (e.g. a DOI will be used in
the form http://dx.doi.org/<doi> and not as doi:<doi>).
2014-09-11 11:49:41 +02:00
Pascal-Nicolas Becker
4b250862fc Enhanced and renamed the DSORelationsConverterPlugin into SimpleDSOR...
Renamed the DSORelationsConverterPlugin into
SimpleDSORelationsConverterPlugin.
Overhault the Plugin: it can be configured now and it can create
multiple links per DSO Relation.
2014-09-11 11:42:36 +02:00
Pascal-Nicolas Becker
fd8626bbac RDFConfiguration: added a method to load comma separated config values. 2014-09-11 11:42:36 +02:00
Pascal-Nicolas Becker
be1247719b Uses jena version 2.12.0 and removes workaround for bug JENA-663. 2014-09-11 11:42:36 +02:00
Keiji Suzuki
301b17b9c3 rdfの文字化けを修正 2014-09-11 11:42:36 +02:00
Pascal-Nicolas Becker
c3f05df7fe Export the repository's contents as RDF into the Semantic Web.
This commits adds a module dspace-rdf. The module will convert the
metadata stored in DSpace into RDF. The converted data will be provided
over a webinterface and a SPARQL endpoint.
2014-09-11 11:42:36 +02:00
Tim Donohue
8b53258b5e Minor POM reorganization. Ensure plugins related to Unit Testing are
only enabled when Unit Testing is enabled.
2014-09-10 21:16:10 +00:00
Tim Donohue
bd98997dd6 Enable a quick version of 'mvn install' for Travis CI 2014-09-10 19:58:18 +00:00
Tim Donohue
d4d63083bb Improve memory management in Unit Tests. Add a cleanupContext() method
for better context management.
2014-09-10 19:33:07 +00:00
Mark H. Wood
3b1a92b890 Merge pull request #633 from mwoodiupui/DS-2078
[DS-2078] Missing DSpaceWebapp in dspace-oai module
2014-09-10 15:30:49 -04:00
Peter Dietz
efca59f2e5 Merge pull request #603 from Georgetown-University-Libraries/ImageMagickThumbnails-clean
DS-2105: Create Thumbnails Using ImageMagick
2014-09-10 15:25:28 -04:00
Tim Donohue
a0f44f6182 Update Travis to install Mirage2 prerequisites and build Mirage2 2014-09-10 18:21:25 +00:00
Tim Donohue
942e1b43a4 Merge pull request #626 from tdonohue/DS-2125
DS-2125 Fix possible NPEs in Context object commit/complete/abort
2014-09-10 11:13:55 -05:00
Pascal-Nicolas Becker
3d9d027c00 Merge pull request #537 from tuub/DS-1990
DS-1990: Events should contain all identifiers, not only handles.
2014-09-10 18:08:30 +02:00
Pascal-Nicolas Becker
45593e2682 Merge pull request #627 from tuub/DS-2127
DS-2127: Upgrade commons-codec to version 1.9.
2014-09-10 18:03:28 +02:00
antoine-atmire
ea36245c40 Update dspace.cfg
prefer the label of a bitstream and then its title for the link on the item page
2014-09-10 13:48:44 +02:00
antoine-atmire
fabd0b9a14 Update item-view.xsl
skip zero-length titles and labels
2014-09-10 13:46:17 +02:00
Tim Donohue
0f071fb7d8 Add logging for abort() and complete() when they are called on an invalid/closed Context 2014-09-09 15:12:58 -05:00
Mark H. Wood
bd65b62d1b Correct license header in test module 2014-09-08 15:23:57 -04:00
Mark H. Wood
dfcf5a2491 Ensure that DBMS brand is detected before using the knowledge. Begin adding unit tests. 2014-09-05 19:55:35 -04:00
Mark H. Wood
9db6331337 [DS-1926] Add a few unit tests. 2014-09-05 13:46:23 -04:00
Mark H. Wood
4200a0487a [DS-1926] Move the fix to getMessage(String, Locale).
I noticed that getMessage(String) and getMessage(String, Context)
delegate to getMessage(String, Locale), so that is the proper place to
fix this.

Adjusted the log message as agreed, then added the name of the locale.
2014-09-05 13:42:54 -04:00
Monika Mevenkamp
bafdaea9c4 return key in I18nUtil.getMessage instead of null when no setting 2014-09-05 11:44:34 -04:00
Mark H. Wood
ccc4838006 [DS-2078] Adopted Christian Scheible's code. 2014-09-05 10:58:30 -04:00
Pascal-Nicolas Becker
8c6a9df40c DSpaceObject.getIdentifier(Context) should never return null.
If an DSO does not have any identifiers (including handle) this method
should return an empty string array. G.e. an item during submission
(workspace item) has no identifiers at all. This commits prevents NPE in
event handling classes.
2014-09-05 16:08:00 +02:00
Mark H. Wood
82c0664587 Merge pull request #617 from mwoodiupui/DS-2112
[DS-2112] fix NPE if filter.org.dspace.app.mediafilter.publicPermission is undefined
2014-09-05 10:05:35 -04:00
Peter Dietz
2b1a1928c5 DS-2138 Discovery should get user's special groups (i.e. IPAuth) 2014-09-04 18:35:04 -04:00
Robin Taylor
dbaeb73ddd Merge pull request #631 from atmire/DS-2135
DS-2135 changed the import url for bootstrap in _main.scss
2014-09-04 14:41:04 +01:00
philip Vissenaekens
69cf504268 DS-2135 changed the import url for bootstrap in _main.scss 2014-09-04 11:17:28 +02:00
Antoine Snyers
db5fe37383 DS-2134 missing configuration properties for mirage2 2014-09-04 10:50:26 +02:00
Pascal-Nicolas Becker
bd105d1006 Asynchronous IdentifierProvider should call DSO.resetIdentifierCache.
Adds a note to the javadoc of DOIIdentifierProvider to reset the
identifiers cache in case of asynchronous identifier registration.
Adds a call to reset identifiers cache to DOIIdentifierProvider which
uses asynchronous registration.
2014-09-01 15:55:10 +02:00
Mark H. Wood
69291af2d8 [DS-2128] Initial commit 2014-08-29 16:14:19 -04:00
Pascal-Nicolas Becker
ecd4073d96 DS-2127: Upgrade commons-codec to version 1.9. 2014-08-29 11:41:02 +02:00
Hardy Pottinger
eee57e0d4e Merge pull request #625 from hardyoyo/DS-2126-tweak-oracle-scripts
[DS-2126] changed invalid datatype of TEXT dropped transaction
2014-08-28 17:13:13 -05:00
Tim Donohue
a73e5bf004 DS-2125 Fix possible NPEs in Context object commit/complete/abort. Also add Unit Tests for Context object 2014-08-28 17:04:56 -05:00
Hardy Pottinger
90e7b91eec [DS-2126] changed invalid datatype of TEXT to VARCHAR2(2000), dropped transaction/commit block 2014-08-28 21:48:11 +00:00
Pascal-Nicolas Becker
3fdc76c8ea Enhancing the PR for DS-1990.
Adds a cache to the Identifier array in the DSpaceObject class.
Renames the method from lookupIdentifiers into getIdentifiers.
2014-08-28 18:32:35 +02:00
Pascal-Nicolas Becker
8fee9f8f63 Merge pull request #624 from tuub/DS-2120
DS-2120: Reduce logging in IdenitifierServiceImpl.resolve(...).
2014-08-28 18:11:50 +02:00
Pascal-Nicolas Becker
ec421bc766 DS-2120: Reduce logging in IdenitifierServiceImpl.resolve(...). 2014-08-28 16:54:50 +02:00
Tim Donohue
260f2d219a Merge pull request #618 from atmire/mirage2-usemin-issue
[DS-2116] Mirage 2 build fails without including maven clean target
2014-08-28 09:51:53 -05:00
Pascal-Nicolas Becker
446c7efc31 Bitstreams should set identfiers to Events as well. 2014-08-28 11:47:44 +02:00
Pascal-Nicolas Becker
17e56988b2 Fixes typo in a javadoc comment. 2014-08-28 11:47:44 +02:00
Pascal-Nicolas Becker
b1e822a87f DS-1990: Events should contain all identifiers, not only handles. 2014-08-28 11:47:44 +02:00
Pascal-Nicolas Becker
2dec016ed2 Merge pull request #623 from tuub/DS-2120
DS-2120: IdentifierServiceImpl should log less aggressive
2014-08-28 11:44:51 +02:00
Pascal-Nicolas Becker
7d7df5610d DS-2120: IdentifierServiceImpl should log less aggressive
The IdentifierProvider API uses exceptions to state that an Identifier
for a specific DSO cannot be found. These exceptions shoudln't get
logged as error.
2014-08-28 11:28:36 +02:00
Terry Brady
437ecbef0e Java 7, re-enable getReaderFileSuffixes 2014-08-27 14:15:57 -07:00
Terry Brady
14e8ede2ed Update config comments for filter plugins 2014-08-27 14:14:35 -07:00
Mark H. Wood
c2f945a5cb Merge pull request #622 from mwoodiupui/DS-2034
[DS-2034] Problem in [Control Panel]->[Dspace Configuration] - org.dspace.app.xmlui.wing.WingInvalidArgument: The 'characters' parameter is required for list items.
2014-08-27 16:04:32 -04:00
Mark H. Wood
77db25cc25 [DS-2034] Check for null (unset) properties and replace with an indicator 2014-08-27 15:36:26 -04:00
Mohamed Mohideen Abdul Rasheed
7dd3e5f979 Added DataCite XML based metadata mapping option for EZIDIdentifierProvider module. 2014-08-26 10:11:52 -04:00
Mark H. Wood
498d0e4e2e Merge pull request #365 from mwoodiupui/DS-1738
[DS-1738] Support NUMERIC columns in database query result sets.
2014-08-25 16:13:53 -04:00
Pascal-Nicolas Becker
b4cef05a4f Fixes DS-2113: JSPUI HTML5 upload should store Bitstreams... 2014-08-25 19:13:04 +02:00
Hardy Pottinger
2a73c05ae8 Merge pull request #619 from hardyoyo/DS-2118
fixes DS-2118, adds assetstore.dir to the testing dspace.cfg.more
2014-08-25 09:42:35 -05:00
Hardy Pottinger
a2d1ee0a7b fixes DS-2118, adds assetstore.dir to the testing dspace.cfg.more fileweaver overlay 2014-08-25 14:25:51 +00:00
Mark H. Wood
237a7150a0 [DS-2112] fix NPE if org.dspace.app.mediafilter.MediaFilterManager.processBitstream is undefined
Also take a few IDE hints to tidy up the region.
2014-08-22 13:04:22 -04:00
Mark H. Wood
46dd0d51d3 Code cleanup 2014-08-22 12:41:27 -04:00
Art Lowel
2ed31e23b6 fixed an issue where running mvn package without clean would break the usemin step of the grunt build 2014-08-22 18:05:13 +02:00
Tim Donohue
7ce674eec0 Merge pull request #616 from atmire/mirage2-webapp
[DS-2052] Mirage 2 separate webapp fix
2014-08-22 10:16:22 -05:00
Art Lowel
476b519bb6 fixed an issue where a separate webapp would be created in the dspace install folder 2014-08-22 14:45:18 +02:00
Tim Donohue
c32042c995 Merge pull request #613 from tdonohue/travis-tweaks
Travis CI tweaks
2014-08-21 16:20:54 -05:00
Tim Donohue
7002dc17f9 Travis tweaks. Speed things up by skipping 'install'. Give Maven more
memory.
2014-08-21 20:34:36 +00:00
Terry Brady
72b301d8cf Static methods for reuse by curation system 2014-08-20 15:13:31 -07:00
Peter Dietz
024f7dd4f8 Merge pull request #586 from aschweer/DS-2077-sort-collection-dropdown
Ds 2077 sort collection dropdown
2014-08-20 17:36:56 -04:00
Terry Brady
2ceb9fe657 class rename 2014-08-20 14:00:40 -07:00
Terry Brady
15bc9e7033 Rm LIT files, name change req in DSpace Tech mtg 2014-08-20 13:52:27 -07:00
Terry Brady
5aecf88a90 Clarify messages, improve label checks 2014-08-20 12:59:53 -07:00
Terry Brady
da3d680297 Migrate LIT filters to IM filter
Per DSpace PR discussions
2014-08-19 18:18:21 -07:00
Mark H. Wood
af4a60525a Proper license header for new test module 2014-08-19 11:57:32 -04:00
Mark H. Wood
26b1b61005 [DS-1738] Reflect changes in MockDatabaseManager too. Provide unit tests. 2014-08-19 11:57:32 -04:00
Mark H. Wood
7b1c072bb1 [DS-1738] Support NUMERIC columns in database query result sets.
NUMERIC and DECIMAL results are now converted to BigDecimal, not
Integer resp. Long.
2014-08-19 10:52:51 -04:00
Robin Taylor
88846c0766 Merge pull request #610 from robintaylor/DS-2088
DS-2088 Record bitstream downloads as Google Analytics events
2014-08-19 12:06:43 +01:00
Robin Taylor
981de3074e Merge pull request #587 from atmire/mirage2-contribution
[DS-2052] @mire Mirage 2 Contribution
2014-08-19 09:25:34 +01:00
Terry Brady
55805966aa Default settings for ImageMagick Thumbnail Filters 2014-08-18 10:42:39 -07:00
Robin Taylor
584747ecb8 DS-2088 Record bitstream downloads as Google Analytics events 2014-08-18 13:58:55 +01:00
Mark H. Wood
5a6d8a6dfe Correct loading from JAR. 2014-08-17 19:20:50 -04:00
Mark H. Wood
bb0c6dc88e Add test of loading from a JAR. 2014-08-17 19:19:53 -04:00
Mark H. Wood
e52bcf93aa Factor the loader out of PluginManager, and provide a minimal unit test. 2014-08-17 13:21:31 -04:00
Mark H. Wood
7a97ce846f First pass at a third-party plugins directory 2014-08-16 00:20:32 -04:00
Hardy Pottinger
39f0e8a6a4 disabled IRC notification from travis-ci
It appears that the Travis-CI IRC bot reports build sucess/failure for forks of dspace, which is not very interesting.
2014-08-15 16:39:32 -05:00
Tim Donohue
f631a3d824 Merge pull request #600 from tdonohue/DS-2080
DS-2080 Cleanup bad/broken tests, and upgrade to latest JUnit and JMockit, also fixes DS-2086
2014-08-15 15:39:34 -05:00
Tim Donohue
059556034d Minor fix. Replace getParentCommunity() call with parent variable. 2014-08-15 15:13:04 -05:00
Hardy Pottinger
56c8e42f68 enabled notifications via the TravisCI IRC bot 2014-08-15 14:53:44 -05:00
Tim Donohue
0aa39100a9 DS-2086 fix. Corrects the logic to deleting Communities & Collections such that hierarchical deletion test now succeeds. Also corrects minor permissions error in a different unit test. 2014-08-15 13:48:03 -05:00
Roeland Dillen
4ad62c71fd Added missing filtering for the dependencies included install.
Removed accidentally committed mirage2 as default xmlui.xconf
Removed references to removed Mirage2 aspect.
2014-08-15 20:43:06 +02:00
Mark H. Wood
47f351a03c [DS-1577] Harmonize with DS-2091, catch missing dependency on httpcore. 2014-08-15 14:06:15 -04:00
Mark H. Wood
7c4bdc3e07 Last httpcomponents conversion 2014-08-15 13:47:58 -04:00
Mark H. Wood
aa209d1508 Some more httpclient fixes 2014-08-15 13:47:58 -04:00
Mark H. Wood
24d3e415c0 Switch some classes to HttpComponents 2014-08-15 13:47:58 -04:00
Tim Donohue
13fdf18b85 Merge pull request #536 from KevinVdV/DS-2005
[DS-2005] Discovery hit highlighting issue with abstracts/fulltext
2014-08-15 10:20:09 -05:00
Tim Donohue
45813c3b58 Merge pull request #571 from rivaldi8/DS-2064-sword-file-missing-in-zip
DS-2064 METS ingester doesn't check if the files in the zip exist.
2014-08-15 10:04:41 -05:00
Tim Donohue
0cf9543990 Merge pull request #576 from rivaldi8/DS-2067-rend-not-processed
DS-2067 DRI rend attribute not processed in side bar items.
2014-08-15 10:02:34 -05:00
Andrea Schweer
2a506b4215 Merge pull request #607 from aschweer/DS-2104-disappearing-metadata
DS-2104 Only clear metadata for qualifiers actually present
2014-08-15 18:02:14 +12:00
Andrea Schweer
5cf94b6768 DS-2077 Sort collections by full path
This commit fixes the order of collection drop-down entries when starting a
submission and when editing e-mail subscriptions such that the community
hierarchy is taken into account as well as the collection name. The change in
CollectionDropDown makes the same mechanism re-usable in other places where
this might be required.
2014-08-15 17:06:47 +12:00
Andrea Schweer
3e7362e7c7 DS-2104 Only clear metadata for qualifiers actually present
This is a bug fix for an issue where metadata values could disappear during
submission or in the workflow when a qualdrop input item is placed on a
different page from another input item for the same schema+element. The
previous version of this code processed a page by removing all metadata values
from the item for fields listed on that page. For qualdrop inputs, metadata
values for all qualifiers (including no qualifier) were removed rather than
just those qualifiers actually listed in the qualdrop. This bugfix changes the
code to use the qualifiers from the value pairs of the qualdrop.
2014-08-15 15:59:38 +12:00
Rodrigo
f5bcc96cb0 DS-1858 : Added key to 'Browse Items by:' of navbar in messages.properties 2014-08-14 20:33:28 -03:00
Peter Dietz
5e7cb5e10a Update database_schema_3-4.sql
Found version mismatch text inside the postgres 3 to 4 upgrade command, mentioned 18to3
2014-08-14 11:34:19 -04:00
helix84
52329e1b17 Merge pull request #477 from helix84/DS-1917-JSPUI-validity-fixes
DS-1917 JSPUI validity fixes (several non-controversial fixes)
2014-08-14 15:30:18 +02:00
helix84
a1dffc6a2e Merge pull request #516 from zuki/junii2-3-1
DS-2100 junii2 OAI crosswalk version 3.1
2014-08-14 15:28:38 +02:00
Roeland Dillen
f2786d963a Merge branch 'mirage2-contribution' of https://github.com/atmire/DSpace into mirage2-contribution 2014-08-14 13:46:03 +02:00
Roeland Dillen
5d1ec91f4f move mirage2 messages and dynamically fill theme name in sitemap 2014-08-14 13:45:19 +02:00
Art Lowel
5c69ce69ce Fixed a typo 2014-08-13 17:17:57 +02:00
Art Lowel
4791abcc5e Added sections on customisation and using multiple themes 2014-08-13 17:16:51 +02:00
Roeland Dillen
792c304958 name change 2014-08-13 16:12:58 +02:00
Rodrigo Prado
42d7f978cc Update SendItemRequestAction.java 2014-08-13 07:11:27 -03:00
Rodrigo Prado
e9ce6fdb9a DS-2097 : Request copy w/ dc.title qualified term
https://jira.duraspace.org/browse/DS-2097 
Enable the Request Copy function for items without dc.title (unqualified dc term) but with dc.title.anything (qualified dc term)
2014-08-13 06:49:00 -03:00
Terry Brady
78604eccd4 Adding license per travis build errors 2014-08-12 15:35:43 -07:00
Terry Brady
2f9c6e6994 Image Magick Thumbnail Creator 2014-08-12 15:28:33 -07:00
Mark H. Wood
5138c6a3be Merge pull request #497 from mwoodiupui/DS-1230
[DS-1230] Aging tool to discover disused accounts
2014-08-12 15:45:34 -04:00
Mark H. Wood
60d0854f4f [DS-1230] turn off AUTHZ properly. 2014-08-12 15:13:27 -04:00
Mark H. Wood
bb226385f8 [DS-1230] Replace system properties with proper commandline options 2014-08-12 15:13:27 -04:00
Mark H. Wood
425f7450a1 [DS-1230] Add 'pretend' option to the log loader 2014-08-12 15:13:27 -04:00
Mark H. Wood
4c5969e4c9 [DS-1230] Fix column name, iterator control. 2014-08-12 15:13:27 -04:00
Mark H. Wood
3fc0b9b179 [DS-1230] Better date handling, give example date.
Thanks to Pascal-Nicholas Becker for bug spotting and suggesting the
example, and Ivan Masár for suggesting how to generate the localized
sample.
2014-08-12 15:13:27 -04:00
Mark H. Wood
aefd0f3d36 Further tidying 2014-08-12 15:13:27 -04:00
Mark H. Wood
84ad1eadbf Clean up, document code 2014-08-12 15:13:27 -04:00
Mark H. Wood
e6487fe27b Display last-active date too, and change errant space to tab 2014-08-12 15:13:26 -04:00
Mark H. Wood
5d48f00769 Make stdout clean TSV 2014-08-12 15:13:26 -04:00
Mark H. Wood
bd01bdb048 Commandline operation to list or delete disused accounts 2014-08-12 15:13:26 -04:00
Mark H. Wood
f44946ecd6 [DS-1230] Add a tool to load last-login dates from dspace.log.* 2014-08-12 15:13:26 -04:00
Tim Donohue
56fda36375 Fix bad test permissions. Add a new test to check Community Admins can edit items under their Community 2014-08-12 12:59:47 -05:00
Tim Donohue
56fab73fe4 Minor reformatting of PostgreSQL schema (similar to Oracle schema in previous commit), just for consistency. 2014-08-12 12:19:50 -05:00
Tim Donohue
d1e48ca692 Configure H2 to use Oracle's schema for initialization. Minor cleanup/reformatting of Oracle schema to support H2 (including reordering some specified constraints) 2014-08-12 12:17:58 -05:00
Art Lowel
56d1945c9a fixed an issue where the thumbnail placeholder wouldn't be shown in discovery results 2014-08-12 18:26:31 +02:00
Tim Donohue
09c732f5c9 Remove unnecessary and unused MockConfigurationManager 2014-08-12 10:57:24 -05:00
Tim Donohue
d59eb8deb7 Remove unnecessary and unused MockBrowseCreateDAOOracle 2014-08-12 10:49:39 -05:00
Tim Donohue
7151b36538 Fix expectations syntax for latest JMockit. Other minor test cleanup 2014-08-12 10:48:33 -05:00
Tim Donohue
b1bd51a84a Remove reference to a "mock" that doesn't exist and isn't needed 2014-08-12 10:47:11 -05:00
Tim Donohue
79d91e9439 Fix exception validation. Fix expectations syntax for latest JMockit 2014-08-12 09:52:26 -05:00
Tim Donohue
347a2dc6eb Doesn't need to extend AbstractUnitTest as this test class is 100% standalone 2014-08-12 09:51:05 -05:00
Tim Donohue
fe99e84b56 Minor cleanup. Update to use AbstractUnitTest context instead of creating a new one 2014-08-12 09:50:20 -05:00
Tim Donohue
a345832905 Fixe expectations syntax for latest JMockit. Minor test cleanup. 2014-08-11 16:56:05 -05:00
Tim Donohue
ed71e7a752 Refactor AbstractUnitTest and MockDatabaseManager to simplify initialization and avoid mocking *all* of DatabaseManager. 2014-08-11 16:54:00 -05:00
Tim Donohue
d2c60e086b Remove commented out methods 2014-08-11 16:46:30 -05:00
Tim Donohue
b4d29095ab Ensure EPersonTest extends AbstractUnitTest instead of doing its own thing 2014-08-11 16:44:44 -05:00
Tim Donohue
ceaed128ba Minor fix for H2-database (unit testing) friendliness. Treat "Types.BOOLEAN" as a boolean field. 2014-08-11 16:41:52 -05:00
Tim Donohue
ee81d01205 Fixed expectations syntax for latest JMockit. Made delete tests independent. New testDeleteHierachyAuth currently fails. 2014-08-11 16:37:59 -05:00
Tim Donohue
4db984b921 Fix the deletion tests by ensuring they are more independent 2014-08-11 16:29:19 -05:00
Hardy Pottinger
81eab8bc15 Merge pull request #599 from mwoodiupui/DS-1992
[DS-1992] License checker should not run in dspace/modules/*
2014-08-11 10:43:28 -05:00
Mark H. Wood
3dfa7f96e5 [DS-1992] License checker should not run in dspace/modules/* 2014-08-11 10:57:42 -04:00
Tim Donohue
eba5f87f57 Fixed expectations syntax for latest JMockit. 2014-08-11 09:55:44 -05:00
Art Lowel
2d7f0436d5 cleanup after multiple mirage 2 versions addition 2014-08-11 14:42:54 +02:00
Art Lowel
6fd373a1c5 added support for multiple mirage 2 versions - for deps included mode 2014-08-11 14:42:48 +02:00
Art Lowel
a7d6b9f7d5 added support for multiple mirage 2 versions 2014-08-11 14:42:40 +02:00
Robin Taylor
bb15b6fbc3 Merge pull request #596 from robintaylor/DS-2091
DS-2091 Upgrade HttpComponents to 4.3.5
2014-08-11 09:27:37 +01:00
Peter Dietz
e56a8aff09 Merge pull request #543 from peterdietz/DS-740-public-thumbnails
DS-740 Public derivative thumbnails of restricted original bitstreams
2014-08-08 18:01:21 -04:00
Peter Dietz
aa58d733f9 Merge pull request #530 from peterdietz/DS-1945-requestitem-helpdesk
DS-1945 RequestItem to have Helpdesk be contacted instead of author
2014-08-08 17:38:39 -04:00
Tim Donohue
f8f84b735e Fixed expectations syntax for latest JMockit. Ensure any delete/remove methods are independent. 2014-08-08 16:12:28 -05:00
Tim Donohue
0b28592a1b Fixed expectations syntax for latest JMockit. Make testDelete() independent 2014-08-08 16:03:53 -05:00
Tim Donohue
0ac682cc4d Fixed mock/expectations syntax for latest JMockit 2014-08-07 16:49:06 -05:00
Tim Donohue
b810b99c89 Upgrade to latest JUnit, JMockit and H2. 2014-08-07 15:58:46 -05:00
Robin Taylor
26f8531232 DS-2091 Wee code change resulting from HttpComponents upgrade 2014-08-07 09:11:41 +01:00
Robin Taylor
9590a1571c DS-2091 Upgrade HttpComponents to 4.3.5 2014-08-07 09:09:37 +01:00
Pascal-Nicolas Becker
dc82633cf3 Merge pull request #595 from tuub/DS-1994
Adds configuration property for DS-1994.
2014-08-06 18:45:05 +02:00
Pascal-Nicolas Becker
1a321f439f Adds configuration property for DS-1994. 2014-08-06 18:42:38 +02:00
Pascal-Nicolas Becker
c211f50fc6 Merge pull request #594 from tuub/DS-2093
DS-2093: Remove dependency of dspace-api on backport-util-concurrent.
2014-08-06 18:35:48 +02:00
Pascal-Nicolas Becker
8ba387447a DS-2093: Remove dependency of dspace-api on backport-util-concurrent. 2014-08-06 18:18:25 +02:00
Pascal-Nicolas Becker
0807eabc06 Merge pull request #551 from tuub/DS-1994
DS-1994: Use HTML5 to upload files in Submission Process of JSPUI.
2014-08-06 18:05:29 +02:00
Pascal-Nicolas Becker
b104907519 Merge pull request #553 from tuub/DS-2012
Bugfix for DS-2012: commit after login to store last_active field.
2014-08-06 14:56:56 +02:00
rradillen
6651b2453e Update general.xsl
missed some debugging code
2014-08-04 12:55:50 +02:00
Tim Donohue
790f4829d7 Refactor/streamline DOI unit tests. They were ignoring setup already done in AbstractUnitTest, creating a secondary context obj, and sending all new items through workflow approval. 2014-07-31 15:53:16 -05:00
Tim Donohue
5cfc8089d9 Unit test framework cleanup, minor refactoring & enhanced comments. Removed a few surefire settings which are not needed. 2014-07-31 15:01:59 -05:00
Petya Kohts
d0bc58caa5 DS-2082: do not pollute provenance when adding several bitstreams 2014-07-31 00:49:15 +04:00
Tim Donohue
31b25d3316 Merge pull request #592 from tdonohue/DS-2080
DS-2080 Fix unit tests
2014-07-30 08:54:00 -05:00
roeland
a59672f2c3 build with dependencies included now default 2014-07-30 11:22:21 +02:00
Tim Donohue
82c287f989 Don't throw out error stacktrace, as it masks underlying error 2014-07-29 21:40:11 +00:00
Tim Donohue
585912d412 Fix unit tests, ensure name is reset so later tests work consistently 2014-07-29 19:09:19 +00:00
Bram Luyten
03ffdbe250 Merge pull request #590 from bram-atmire/DS-2079
[DS-2079] output bitstream to be processed in verbose mode
2014-07-29 19:17:18 +02:00
roeland
d77a3736cb fixed slow build 2014-07-29 11:40:10 +02:00
Petya Kohts
3a91559bb4 output bitstream to be processed in verbose mode 2014-07-28 21:46:04 +02:00
Pascal-Nicolas Becker
1410dd5672 Use html5 upload only if supported by the browser. Fallback is default.
The old upload should be the default upload. HTML5 upload should be used
only if it is supported by the browser. This commits repairs the use of
the old upload and makes it the default.

A severe bug was found and fixed by this commit: The first version of
this feature was not thread safe as it used a instance variable were it
shouldn't. This commit fixes this bad behavior.

The message to inform the user, that its browser does not support
enhanced upload can be translated now.
2014-07-28 18:06:38 +02:00
Marsa Haoua
990cfdb812 DS-1994: Use HTML5 to upload files in Submission Process of JSPUI. 2014-07-28 12:21:05 +02:00
Tim Donohue
55568426e7 Merge pull request #588 from tdonohue/DS-1408
DS-1408 : Increase database lock timeout to avoid lock errors
2014-07-25 13:46:17 -05:00
Tim Donohue
44bae8c4cf Increase database lock timeout to avoid lock errors 2014-07-25 18:22:50 +00:00
Tim Donohue
849effb507 Merge pull request #582 from tdonohue/DS-1408
DS-1408 - revert unnecessary  MVCC setting for H2 database
2014-07-25 12:27:20 -05:00
Tim Donohue
1d776e7414 Merge pull request #584 from tdonohue/DS-2075
DS-2075 : Decrease number of log messages for Travis CI & our sanity
2014-07-25 11:40:09 -05:00
KevinVdV
0fdc0630c5 [DS-2052] @mire Mirage 2 Contribution
[DS-2052] @mire Mirage 2 Contribution
2014-07-25 18:21:21 +02:00
Andrea Schweer
275556e96f Small tweaks transferred from ConfigurableBrowse
The three classes (ConfigurableBrowse, WithdrawnItems, PrivateItems) should
probably be refactored one day to use less duplication. In the meantime, this
commit cleans up a little bit.
2014-07-25 16:02:03 +12:00
Andrea Schweer
07f2d88adf [DS-2076] Same changes for PrivateItems as for WithdrawnItems 2014-07-25 16:01:18 +12:00
Andrea Schweer
f7151a2852 [DS-2076] Fix jump to browse for withdrawn items 2014-07-25 16:01:18 +12:00
Andrea Schweer
6df0196ea7 [DS-2076] Fix withdrawn items page title/trail 2014-07-25 16:01:17 +12:00
Tim Donohue
9a9fa9bcdf Tell TravisCI to cache ~/.m2 directory for our builds 2014-07-24 21:53:56 +00:00
Tim Donohue
b55001ac7e Put detailed test logs in *-output.txt files instead of stdout 2014-07-24 21:35:57 +00:00
Tim Donohue
294e6aba0a Merge pull request #575 from tdonohue/DS-2066
DS-2066 : Maven plugin updates and general POM cleanup
2014-07-24 14:35:58 -05:00
Tim Donohue
6512718272 Fix broken test. Don't assume Item of ID=1 exists 2014-07-24 18:34:01 +00:00
Tim Donohue
ab14cabea5 Fix broken test. Don't reuse cache name from another test. 2014-07-24 18:32:33 +00:00
Tim Donohue
ca3bba9fea Revert "Fix DS-1408 based on hints at http://stackoverflow.com/questions/4162557/timeout-error-trying-to-lock-table-in-h2"
This reverts commit 4f808e7236.
2014-07-24 17:29:56 +00:00
Tim Donohue
c1c761860e Merge pull request #535 from thanosk/DS-2002
OAI DC multilingual metadata support (ingestion)
2014-07-24 08:54:03 -05:00
Tim Donohue
2ccfc3755b Merge pull request #581 from dbs/coverage_typo
DS-2073 - Fix "covarage" typo in XSL transforms (OAI-PMH Crosswalks)
2014-07-24 08:49:37 -05:00
Dan Scott
c72c574a0d Fix "covarage" typo in XSL transforms
To the best of my knowledge, no actual XML format requires the
"covarage" typo as an element or attribute, and no site should be
entering a "covarage" metadata field.

Signed-off-by: Dan Scott <dan@coffeecode.net>
2014-07-23 16:27:54 -04:00
Tim Donohue
6ef03eadd3 Merge pull request #577 from tdonohue/DS-2068
DS-2068 - Tell Travis CI to retry a failed build
2014-07-18 14:17:17 -05:00
Tim Donohue
fa704734c3 Fix minor POM warning that ${artifact} is deprecated. 2014-07-18 16:58:21 +00:00
Tim Donohue
9884575467 Fix DS-2068 Tell Travis CI to retry a failed build 2014-07-18 15:11:47 +00:00
Mark H. Wood
8a89922f61 Revert "[DS-1718] Add config parameter webui.submit.upload.ajax to dspace.cfg?"
This reverts commit 2903af5d3c.

There is some uncertainty about whether this should exist.  See the Issue.
2014-07-18 10:37:13 -04:00
Àlex Magaz Graça
868584c2e3 DS-2067 DRI rend attribute not processed in side bar items. 2014-07-18 13:05:47 +02:00
Tim Donohue
437d68f6f3 DS-2066 : Maven plugin updates and general POM cleanup 2014-07-17 21:10:25 +00:00
Mark H. Wood
2903af5d3c [DS-1718] Add config parameter webui.submit.upload.ajax to dspace.cfg?
Just document it in dspace.cfg, with commented example.
2014-07-17 09:50:21 -04:00
Bram Luyten
1fa0673c07 Merge pull request #572 from KevinVdV/DS-1958
[DS-1958] Discovery OutOfMemoryError when indexing Large Bitstreams
2014-07-17 08:29:35 +02:00
Tim Donohue
895b0084d2 Merge pull request #493 from helix84/DS-1928-OAI-identify
DS-1928 use the oai-identifier schema in <description>
2014-07-16 16:46:15 -05:00
Tim Donohue
cdc3d8eaae Merge pull request #507 from misilot/patch-4
DS-1947: Remove reference to missing file
2014-07-16 13:17:35 -05:00
Tim Donohue
45db75f6ae Merge pull request #552 from antoine-atmire/DS-2035
[DS-2035] fixes: dim crosswalk is missing values for metadatafields with...
2014-07-16 12:58:08 -05:00
Àlex Magaz Graça
8b2c55883b DS-2064 METS ingester doesn't check if the files in the zip exist. 2014-07-16 14:25:17 +02:00
Àlex Magaz Graça
01e8719365 DS-2063 SWORD keep-package-on-fail doesn't work for RuntimeExceptions.
https://jira.duraspace.org/browse/DS-2063
2014-07-15 09:43:29 +02:00
KevinVdV
2d33d178c4 [DS-1958] Discovery OutOfMemoryError when indexing Large Bitstreams 2014-07-14 14:49:21 +02:00
Bram Luyten
364dfd8704 Merge pull request #566 from KevinVdV/DS-2060
[DS-2060] Extended SOLR commit duration due to SpellCheckComponent ("Did you mean")
2014-07-13 16:52:49 +02:00
Peter Dietz
2b9decafcc Merge pull request #561 from peterdietz/rest-context
DS-1986 REST to use new context for each request
2014-07-10 14:16:32 -04:00
KevinVdV
d5716e56d1 [DS-2060] Extended SOLR commit duration due to SpellCheckComponent ("Did you mean") 2014-07-10 13:42:00 +02:00
Bram Luyten
c9943d2cea Merge pull request #564 from bram-atmire/DS-2038
DS-2038 Oracle DB Schema minor error
2014-07-09 21:55:43 +02:00
Bram Luyten
091f871be4 DS-2038 Oracle DB Schema minor error 2014-07-09 21:54:26 +02:00
Mark H. Wood
1d90e1b4b1 Merge pull request #563 from mwoodiupui/DS-2056
[DS-2056] Syntax errors in configurable workflow SQL scripts for Oracle
2014-07-09 15:51:49 -04:00
Tim Donohue
8ad8b31d1c Merge pull request #513 from rivaldi8/DS-1805
[DS-1805] Maven filtering broken for SOLR artifact.
2014-07-09 14:45:29 -05:00
Tim Donohue
03d7ddd2cc Merge pull request #500 from helix84/DS-1919-jspui-empty-filterquery
DS-1919 Solr Search Empty FilterQuery bug
2014-07-09 14:38:56 -05:00
Mark H. Wood
ee7c2a84ae Fix a few typo.s. 2014-07-09 10:37:04 -04:00
Mark H. Wood
764a2b536c Merge pull request #514 from rradillen/patch-4
I'm going to merge this, as the changes appear correct.  But further, unrelated changes are needed to make the scripts run.
2014-07-09 10:19:20 -04:00
Peter Dietz
859e69285f DS-1986 Get new context each time, close in finally, for all REST methods 2014-07-03 15:39:12 -04:00
Peter Dietz
9db37af66c Close context at end of REST request to community
- Following advice from Richard Rodgers at OR14
2014-07-03 15:39:01 -04:00
Peter Dietz
0725215d06 remove html output from rest 2014-07-03 15:38:51 -04:00
Hardy Pottinger
ec06834491 Merge pull request #469 from tuub/DS-1906
DS-1906: Adds configurable option to reconvert shibboleth attributes.
2014-07-03 14:15:38 -05:00
Tim Donohue
8d4a3d96e4 Update JSPUI/XMLUI robots.txt to include SiteMaps and update Ant build process to use fill it out. 2014-07-03 18:22:13 +00:00
Mark H. Wood
aa18bfd9e2 [DS-1985] Comment in SolrBrowseCreateDAO doesn't match desired behaviour
https://jira.duraspace.org/browse/DS-1985
2014-07-02 13:41:48 -04:00
Tim Donohue
e9800cb4d2 Merge pull request #555 from tdonohue/DS-2024
Fix DS-2024 by commenting out invalid sample configs
2014-06-30 15:54:02 -05:00
Tim Donohue
689ed282b5 Fix DS-2024 by commenting out invalid sample configs 2014-06-30 20:29:25 +00:00
Ivan Masár
46a63583cf fix typos 2014-06-27 13:32:12 +02:00
Kevin Van de Velde
4e2780ce50 Merge pull request #554 from KevinVdV/DS-2036
[DS-2036] DSpace upgrade with oracle database, no discovery results
2014-06-27 09:34:42 +02:00
KevinVdV
322972152e [DS-2036] DSpace upgrade with oracle database, no discovery results 2014-06-27 08:55:59 +02:00
Mark H. Wood
8c9362763f Merge pull request #525 from akinom/GROUP.Anonymous_Admin-Constants
DS-1982 define Group.ANONYMOUS_ID and Group.ADMIN_Id and use instead of 0,1
2014-06-25 15:46:13 -04:00
KevinVdV
4d85f7c34c [DS-2036] DSpace upgrade with oracle database, no discovery results 2014-06-24 16:43:57 +02:00
Pascal-Nicolas Becker
5d3584a0aa Bugfix for DS-2012: commit after login to store last_active field. 2014-06-24 16:41:36 +02:00
Antoine Snyers
2c930c597b [DS-2035] fixes: dim crosswalk is missing values for metadatafields with more than one value for the same language 2014-06-24 13:20:57 +02:00
Kevin Van de Velde
bcdba61a7a Merge pull request #453 from BavoVanGeit/master
DS-1886 Delete obsolete spring-dspace-addon-discovery-configuration-services.xml
2014-06-23 14:52:38 +02:00
Terry Brady
a2be05b731 Update bitstream-ordering.js
Found an additional scenario in which a javascript error occurs while re-ordering bitstreams.

Create an item with 3 original bitstreams.

Go to the edit bitstream screen and hit the down arrow on the second item.  An error will be thrown revealing a row without an id attribute.
2014-06-18 14:38:10 -07:00
Terry Brady
2e321852c6 Update bitstream-ordering.js
There is a bad JQuery selector in the following code. This causes a submit to take place each time an up or down arrow is clicked. It is difficult to see the error in the javascript console because the submit takes place immediately. 

Due to the page refresh delay, this is confusing to users when a large number of bitstreams are present. 

Note that "$^=" is not a valid selector. 

http://api.jquery.com/category/selectors/
2014-06-18 11:50:51 -07:00
Tim Donohue
49593e225e Merge pull request #2 from misilot/patch-5
Added a / in the context path for the Go Home Button
2014-06-05 10:55:34 -05:00
Thomas Misilo
b47159fd60 Added a / in the path for the Go Home Button
The link being generated was for the current page, and not the home page.
2014-06-05 11:14:59 -04:00
Mark H. Wood
73a14a5c76 Merge pull request #541 from helix84/DS-2013-ItemDAOOracle
DS-2013 implement ItemDAOOracle to fix thumbnails in browse
Tested in JSPUI.
2014-06-04 16:28:40 -04:00
Hardy Pottinger
ddf2a8d9da Merge pull request #520 from EKT/DS-1971
DS-1971 Updated bte dependency to v0.9.2.4
2014-06-03 17:02:52 -05:00
Mark H. Wood
c0da1eda59 Merge pull request #542 from mwoodiupui/DS-1961
[DS-1961] Use HTTPS with oss.sonatype.org repository
2014-05-29 16:24:56 -04:00
Mark H. Wood
a7cecb311b Merge pull request #545 from mwoodiupui/DS-1943
[DS-1943] Language Selection _ Turkish Option
2014-05-29 15:22:59 -04:00
Mark H. Wood
920a8cab24 Language Selection _ Turkish Option 2014-05-29 14:48:16 -04:00
Àlex Magaz Graça
6cec55c08a DS-2015 ORE data is duplicated when an item is updated through a harvest. 2014-05-29 14:35:08 +02:00
Peter Dietz
c233545a19 DS-740 default the public thumbnails of restricted objects to off 2014-05-28 15:17:25 -04:00
Peter Dietz
884ba64162 DS-740 Allow media filter to set public-read permissions on thumbnails 2014-05-28 15:15:51 -04:00
Mark H. Wood
54e0e644f5 Merge pull request #515 from atmire/DS-1958
DS-1958 Fix SolrLogger Memory Error
2014-05-22 13:56:33 -04:00
Mark H. Wood
77a8929c72 [DS-1961] Use HTTPS with oss.sonatype.org repository 2014-05-22 13:18:24 -04:00
Denis Fdz
4832ba3ffc DS-2013 implement ItemDAOOracle to fix thumbnails in browse 2014-05-22 12:23:03 +02:00
Mark H. Wood
375b8af8a8 Merge pull request #534 from helix84/DS-1998-cli-classpath
DS-1998 fix the "dspace classpath" CLI command
2014-05-21 15:48:17 -04:00
helix84
b78ed8ae54 Merge pull request #540 from keithgee/clean_database_update
Update clean-database to drop additional tables
2014-05-19 18:17:02 +02:00
keithgee
61e7db6a2f Update clean-database to drop additional tables
Updates clean-database.sql file to drop tables recently added to the
DSpace project:

-  webapp, webapp_seq
- requestitem, requestitem_seq;
2014-05-19 11:37:48 -04:00
Peter Dietz
9806160282 For request-item move the you can login Button before the request item para 2014-05-15 15:05:20 -04:00
KevinVdV
73a93b26af [DS-2005] Discovery hit highlighting issue with abstracts/fulltext 2014-05-15 16:03:31 +02:00
Mark H. Wood
8f311956af Merge pull request #517 from pnbecker/DS-1966
Simulate a remove event at the site on deletion of a top level community
2014-05-14 15:23:05 -04:00
Thanos Kyritsis
33704efe8f Enable OAI DC multilingual metadata support for the Ingestion Crosswalk class
Fix for [DS-2002] https://jira.duraspace.org/browse/DS-2002
2014-05-14 16:08:37 +03:00
Peter Dietz
397118bfc6 Restricted Item request form, add link to login page for members 2014-05-12 09:14:58 -04:00
Ivan Masár
0384a4754d DS-1998 fix the "dspace classpath" CLI command 2014-05-11 20:27:00 +02:00
Peter Dietz
76cb046280 DS-1945 Add license headers for requestitem changes 2014-05-10 08:37:33 -04:00
Peter Dietz
21cb0e0520 DS-1945 Add request_message to requestitem DB table
Also, refactored requestitem to be a dspace-api "model", moved all DB logic
from XMLUI regarding this module to the dspace-api model.

Add the requestitem.request_message to display in the contact-author form,
so they can see what the original request message was.
2014-05-10 08:20:11 -04:00
Peter Dietz
ce4dea172d DS-1945 RequestItem Helpdesk has options to contact requester, and author 2014-05-09 21:04:57 -04:00
jm
ce6417289b DS-1993, return null instead of throwing exception 2014-05-02 15:57:07 +02:00
Peter Dietz
0bf866b0d6 Add RequestItemHelpdeskStrategy, that can be enabled with Spring DI
Cleans up Sam's "hard coded" approach
2014-05-02 01:16:07 -04:00
Sam Ottenhoff
f85b711d28 DS-1945 refactor to move code into dspace-api 2014-05-02 01:11:55 -04:00
Sam Ottenhoff
81d7b8e770 DS-1945 New override property request.item.helpdesk.override to have all email requests sent to the helpdesk instead of the item submitter 2014-05-02 01:11:55 -04:00
Monika Mevenkamp
7fe95b7312 define Group.ANONYMOUS_ID and Group.ADMIN_Id and use instead of 0,1 2014-04-23 09:52:26 -04:00
Keiji Suzuki
3bf90abf72 Fixed bugs related to setting default filter queries 2014-04-20 14:43:57 +09:00
Panagiotis Koutsourakis
c17ce9517f Updated bte dependence to v0.9.2.4
See the relevant discussion here: https://jira.duraspace.org/browse/DS-1971
2014-04-18 11:06:22 +03:00
Mark Diggory
a54d3140a6 Remove Commented out line. 2014-04-17 08:40:49 -07:00
Hardy Pottinger
454061ff71 Merge pull request #519 from rradillen/patch-5
DS-1970 to many open files exception
2014-04-15 09:41:23 -05:00
rradillen
9dc9235a9b DS-1970 to many open files exception
when update lucene index
2014-04-15 15:32:00 +02:00
Keiji Suzuki
e3fbba61c6 Select the collection already selected in the previous operation 2014-04-11 02:57:50 +00:00
Pascal-Nicolas Becker
fe16267d8f Simulate a remove event at the site on deletion of a top level community
Fixes DS-1966
2014-04-09 18:52:35 +02:00
Keiji Suzuki
1828d968a3 edited for junii2 version 3.1 2014-04-04 10:02:15 +09:00
Mini
20fb12cb01 Fix SolrLogger Memory Error 2014-04-02 13:05:41 -07:00
Mark H. Wood
fb61ed0597 Merge pull request #492 from mwoodiupui/DS-1909
[DS-1909] EZID IdentifierProvider broken by recent change to EZID service
2014-04-02 14:36:23 -04:00
rradillen
89d7c76c68 DS-1957 xml workflow script incorrect for oracle 2014-04-01 14:49:15 +02:00
Bram Luyten
12faf442a8 Merge pull request #510 from antoine-atmire/DS-1584
[DS-1584] Fixes the broken the browse by "jump links" after changing bro...
2014-03-28 11:27:39 +01:00
Mark H. Wood
a17eda1dfb Merge pull request #508 from mwoodiupui/DS-1935
[DS-1935] POM enforces wrong Java version, does not enforce Maven version
2014-03-27 14:24:16 -04:00
Mark H. Wood
efaa1edad8 Merge pull request #506 from mwoodiupui/DS-1939
[DS-1939] JMockit 0.994 is too old for Java 1.7
2014-03-27 14:22:49 -04:00
Àlex Magaz Graça
9024ff79a1 [DS-1805] Maven filtering broken for SOLR artifact.
Enable filtering of dspace-solr's web.xml.
2014-03-27 14:04:25 +01:00
Mark H. Wood
12738a4cbc Merge pull request #512 from mwoodiupui/DS-1411-master
[DS-1411] Handle multiple-file patterns (-m) in the current directory.
2014-03-26 17:08:30 -04:00
Mark H. Wood
b82daa1873 [DS-1411] Handle multiple-file patterns (-m) in the current directory.
If there is not at least a relative path (dir/patt.ern) then
File.getParentFile() returns null.
2014-03-26 17:05:47 -04:00
Antoine Snyers
f7482b3c19 [DS-1584] Fixes the broken the browse by "jump links" after changing browse index 2014-03-26 10:28:40 +01:00
Ivan Masár
68842442a5 remove duplicate strings from messages.xml 2014-03-20 09:42:35 +01:00
Mark H. Wood
95f94de73c Upgrade to Java 1.7 and require Maven 3.0 2014-03-13 14:49:22 -04:00
Thomas Misilo
d082c3ef62 DS-1947: Remove reference to missing file
The missing file, seems to be an Institution specific file. 

The missing file in question m-tweaks.js
2014-03-12 22:20:48 -04:00
Mark H. Wood
aaf608ceae [DS-1946] Solr floods catalina.out with unwanted messages
https://jira.duraspace.org/browse/DS-1946
2014-03-12 16:33:11 -04:00
Hardy Pottinger
ca8b69312c [DS-1944] remove extra close paren
This is a simple one-character deletion, making it via the github edit interface.
2014-03-12 15:31:56 -05:00
Mark H. Wood
228b181cc9 Upgrade to JMockit 1.1, needed for use with Java 7 2014-03-12 13:47:19 -04:00
helix84
006c556707 Merge pull request #503 from tdonohue/DS-1940
Fix for DS-1940. Windows doesn't like the "/*" in an Ant target name.
2014-03-10 18:44:04 +01:00
Tim Donohue
b62e7fb6f5 Fix for DS-1940. Windows doesn't like the "/*" in an Ant target name. 2014-03-10 12:05:38 -05:00
Denis Fdz
ea791a12fd DS-1919 Solr Search Empty FilterQuery bug 2014-03-07 00:27:31 +01:00
Pascal-Nicolas Becker
c6016c8304 Reconvert shibboleth attribute only if it is neither null nor empty. 2014-03-06 16:15:41 +01:00
helix84
daffdb20f3 Merge pull request #494 from rradillen/patch-3
DS-1930 default encoding differs between cli and webui
2014-03-03 11:04:23 +01:00
rradillen
383d7625c4 DS-1930
default encoding differs between cli and webui
2014-02-28 15:23:29 +01:00
rradillen
296e65df2e DS-1930
default encoding differs between cli and webui
2014-02-28 15:21:14 +01:00
Ivan Masár
396b4fb303 DS-1928 use the oai-identifier schema in <description> 2014-02-28 14:36:43 +01:00
Mark H. Wood
229f1de088 Merge pull request #484 from mwoodiupui/DS-1795
[DS-1795] When run command dspace "dspace stat-initial"
2014-02-26 14:14:15 -05:00
helix84
e610bb12b3 Merge pull request #480 from aschweer/DS-1907-hit-highlighting
DS-1907 Hit highlighting not working, no abstracts for search results
2014-02-21 16:49:32 +01:00
kshepherd
a03f59b1ea Merge pull request #485 from kshepherd/DS-1779
[DS-1779] - Pagination link error in JSPUI discovery search
2014-02-21 10:34:12 +13:00
Kim Shepherd
5093751e17 [DS-1779] - Pagination link error in JSPUI discovery search 2014-02-21 09:53:51 +13:00
Mark H. Wood
79b984f19b Constrain the subquery to 'dc' fields 2014-02-20 12:36:14 -05:00
Mark H. Wood
467ba7c18e Merge pull request #476 from mwoodiupui/DS-1798
[DS-1798] Distributed dspace.cfg causes noise about unconfigured XSLTDisseminationCrosswalk
2014-02-20 08:14:49 -05:00
helix84
c9dfc7dbab Merge pull request #483 from helix84/DS-1863-jspui-selection-theme
DS-1863 JSPUI eperson and group selection should use the new theme
2014-02-20 12:18:28 +01:00
Ivan Masár
edc662d33d DS-1863 JSPUI eperson and group selection should use the new theme 2014-02-20 12:16:07 +01:00
Andrea Schweer
16a9a0da5c DS-1907 Hit highlighting not working, no abstracts for search results 2014-02-20 10:59:10 +13:00
Hardy Pottinger
8799f31e9b Merge pull request #474 from KevinVdV/DS-1912
[DS-1912] Discovery facets do not always use the authority identifier
2014-02-19 15:30:52 -06:00
Luigi Andrea Pascarelli
0432f67a40 Merge pull request #478 from lap82/DS-1918
[DS-1918] added size for URL column
2014-02-18 23:20:15 +01:00
Pascarelli Luigi Andrea
e576ebc96d DS-1918 added size for URL column 2014-02-18 22:50:22 +01:00
Ivan Masár
ecb266c558 DS-1917 JSPUI validity fixes (several non-controversial fixes) 2014-02-18 15:46:26 +01:00
Ivan Masár
c211b8b00a DS-1916 Error in update-sequence script in 4.0 2014-02-18 15:17:52 +01:00
helix84
95ff5c780a Merge pull request #433 from KevinVdV/DS-1848
[DS-1848] OAI harvest issues when starting from control panel/command line
2014-02-18 10:17:02 +01:00
helix84
c160a6e1ff Merge pull request #430 from KevinVdV/DS-1834
[DS-1834] Collection content source harvesting test does not check sets properly
2014-02-17 15:23:27 +01:00
helix84
a9ebb5a6ba Merge pull request #467 from tuub/DS-1860
Fixes DS-1860 to show all collections and communities in community list.
2014-02-17 14:57:38 +01:00
KevinVdV
f35b959cb5 [DS-1912] Discovery facets do not always use the authority identifier 2014-02-14 14:35:27 +01:00
helix84
e134c1a1bc Merge pull request #466 from lyncode/OAI_v2.1
OAI 2.1
2014-02-14 10:24:27 +01:00
Mark H. Wood
cac35267fe [DS-1798] Comment out XSLTDisseminationCrosswalk.
It lacks configuration and thus causes error messages whenever the DisseminationCrosswalk list is walked.
2014-02-12 15:24:19 -05:00
Mark H. Wood
057b31083a Implement EZID_PATH and use it 2014-02-12 12:10:56 -05:00
Pascal-Nicolas Becker
7e6b805e32 DS-1906: Adds configurable option to reconvert shibboleth attributes. 2014-02-07 19:11:29 +01:00
Mark H. Wood
93fc28277e Merge pull request #458 from mwoodiupui/DS-1889
[DS-1889] Build DSpace into a standard directory to better support install automation
2014-02-07 08:45:48 -05:00
helix84
16744a3f95 Merge pull request #451 from helix84/DS-1821-bitstream-access-icon-i18n
DS-1821 Internationalize the bitstream access icon alt text
2014-02-07 09:43:59 +01:00
Mark H. Wood
8c4862fc12 Merge pull request #464 from mwoodiupui/DS-1531
[DS-1531] bug in current DSpace (3.1) with log importing
2014-02-05 16:54:29 -05:00
Mark H. Wood
0bc01a8015 Merge pull request #305 from rivaldi8/DS-1536
DS-1536 having a DOT in handle prefix causes identifier.uri to be cut of...
2014-02-05 16:13:40 -05:00
Marsa Haoua
aaacf61c35 Fixes DS-1860 to show all collections and communities in community list. 2014-02-05 12:16:03 +01:00
João Melo
2e9d18eba4 Fixed license header. 2014-02-05 00:38:09 +00:00
João Melo
403d7fbee5 h1. OAI v2.1
h2. Bug fixes:

* Default context without restricted items
* Solr Timezone
* Compilable with 1.6
* DS-1902
* DS-1898

h2. New Features:

* Operators over filters (combination of filters) - foundation work for OpenAIRE guidelines v3.
* Redesigned interface
* Root context (/oai) now displays the list of available contexts

h2. Other:

Using new XOAI 3.2.7 core
2014-02-05 00:21:50 +00:00
João Melo
049eb50e6e h1. OAI v2.1
h2. Bug fixes:

* Default context without restricted items
* Solr Timezone
* Compilable with 1.6
* DS-1902
* DS-1898

h2. New Features:

* Operators over filters (combination of filters) - foundation work for OpenAIRE guidelines v3.
* Redesigned interface
* Root context (/oai) now displays the list of available contexts

h2. Other:

Using new XOAI 3.2.7 core
2014-02-05 00:20:45 +00:00
Tim Donohue
ea3dcd9d94 DS-1596 fix for "mobile" theme 2014-02-04 20:12:18 +00:00
Tim Donohue
b998366352 Fix DS-1596 for 'template' theme. 2014-02-04 20:11:52 +00:00
Tim Donohue
a431880d0a DS-1596 fix for "Kubrick" theme 2014-02-04 19:50:10 +00:00
Tim Donohue
3f81689924 DS-1596 fix for "Classic" theme 2014-02-03 22:36:55 +00:00
Tim Donohue
7aaf418e86 DS-1596 fix for "Reference" theme 2014-02-03 17:53:11 +00:00
Tim Donohue
8f35788a2e Merge pull request #442 from tdonohue/DS-1873
DS-1873: Minor fixes for Checksum Checker Daily Report Emailer.
2014-01-31 13:59:37 -08:00
Mark H. Wood
c6d8baba07 Merge pull request #439 from mwoodiupui/DS-1746
[DS-1746] Remove strange, redundant pool validation from DBMS layer
See the Jira ticket for my analysis.  We should consider those concerns, but the code here does not address them properly.
2014-01-31 11:16:41 -08:00
Mark H. Wood
c9a72a4043 Rename install directory, removing version number 2014-01-31 14:03:48 -05:00
Mark H. Wood
5ef301c00b Remove all traces of metadataStorageInfo.
The field is never set in SolrLogger, so getMetadataStorageInfo always
returns null.  Attempts to dereference the Map supposedly returned
should thus always terminate abruptly.
2014-01-31 13:31:02 -05:00
Mark H. Wood
bd3d5eccf6 Tidy up some warnings and hints 2014-01-31 11:47:05 -05:00
helix84
bdb1b826d6 Merge pull request #463 from EKT/DS-1857
Change BTE version to 0.9.2.3 for DS-1857
2014-01-31 07:21:25 -08:00
Andrea Bollini
689e64e0bc Merge branch 'dspace-4_x' 2014-01-31 15:46:55 +01:00
Andrea Bollini
1f67d597e4 DS-1899 - Spellchecking is not enabled by default on the whole site 2014-01-31 15:46:09 +01:00
Panagiotis Koutsourakis
21a952d95a Change BTE version to 0.9.2.3 2014-01-31 12:58:55 +02:00
Andrea Bollini
d3d141b6a5 Merge branch 'dspace-4_x' 2014-01-30 23:53:18 +01:00
Andrea Bollini
68be0c2f04 DS-1897 Upload Progress bar only doesn't show progress 2014-01-30 23:52:34 +01:00
KevinVdV
fa13004936 [DS-1833] Collection content source harvesting test does not work with ORE 2014-01-30 12:12:19 +01:00
helix84
f8f76b2e10 Merge pull request #429 from KevinVdV/DS-1833
[DS-1833] Collection content source harvesting test does not work with ORE
2014-01-30 03:11:47 -08:00
helix84
ea580f617f Merge pull request #454 from rradillen/patch-1
DS-1887 assembly descriptor namespace
2014-01-30 03:04:56 -08:00
KevinVdV
18c2d72ea9 [DS-1893] Get page refresh after adding a value in the submission forms clears all metadata in XMLUI 2014-01-30 11:53:08 +01:00
helix84
28ee7688da Merge pull request #461 from KevinVdV/DS-1893
[DS-1893] Get page refresh after adding a value in the submission forms clears all metadata in XMLUI
2014-01-30 02:52:31 -08:00
KevinVdV
207d5abce1 [DS-1893] Get page refresh after adding a value in the submission forms clears all metadata in XMLUI 2014-01-30 11:32:38 +01:00
KevinVdV
7f9bbad94a [DS-1848] OAI harvest issues when starting from control panel/command line 2014-01-30 10:47:37 +01:00
João Melo
b233f24d58 Fixed typos 2014-01-29 21:52:07 +00:00
Mark H. Wood
7cf0466f00 Exclude Bootstrap from license check, restore stock notices 2014-01-29 16:00:59 -05:00
Panagiotis Koutsourakis
8ce6efa92f Update dependency to the latest BTE release 2014-01-29 21:38:43 +01:00
Kostas Stamatis
2220874490 addBTEItems rethrows BTE exceptions 2014-01-29 21:38:40 +01:00
Panagiotis Koutsourakis
df166341c1 Fix a bug that brings down the webapp container.
Instead of using System.exit() the method addItems now throws an
exception that can be handled higher in the calling stack, or will
terminate the thread.
2014-01-29 21:38:34 +01:00
Kostas Stamatis
e5c2fb4f0e change default BTE configuration for CSV and TSV data loaders 2014-01-29 21:38:30 +01:00
Mark H. Wood
f07efbc2e8 Merge pull request #449 from mwoodiupui/DS-1835
[DS-1835] Invalid bootstrap CSS
2014-01-29 12:38:28 -08:00
Kostas Stamatis
aeeba40bfb throw missing exception when batch importing using BTE via admin UI 2014-01-29 21:38:25 +01:00
helix84
74ba039546 Merge pull request #446 from EKT/DS-1857
DS-1857 Unhandled exception in BTE batch import when uploading CSV files with misconfiguration options
2014-01-29 12:32:55 -08:00
João Melo
8e6c09bf0c Added cglib, a runtime dependency for spring mvc 2014-01-29 19:38:48 +00:00
Tim Donohue
1133283d0b DS-1596 fix for Mirage Theme only. 2014-01-29 18:47:44 +00:00
helix84
f849c49cb9 Merge pull request #424 from misilot/patch-1
DS-1817: Improvement of Collection Dropdown on Move Item Page
2014-01-29 04:32:34 -08:00
rradillen
645af0e4ec DS-1890 correct scope logging of searches
logged scopeId and scopeType properly.
2014-01-29 10:12:24 +01:00
helix84
75e901cb61 Merge pull request #455 from rradillen/patch-2
DS-1890 correct scope logging of searches
2014-01-29 01:10:55 -08:00
rradillen
981abdc0a1 DS-1890 correct scope logging of searches
logged scopeId and scopeType properly.
2014-01-29 09:55:11 +01:00
João Melo
96d143e6eb Fixed broken tests (my bad). Dependencies changes to resolve some conflicts with older versions of spring. 2014-01-29 08:53:21 +00:00
João Melo
b736767501 Fixed a database issue. Thanks to UMINHO which is testing against a real scenario. 2014-01-29 01:57:12 +00:00
Tim Donohue
25f4f5c141 Fix for DS-1867. Ensure native2ascii call uses 'root.basedir' and not 'basedir', so that it also works from submodules (e.g. [src]/dspace). Also some minor cleanup of POM. 2014-01-28 20:18:31 +00:00
Tim Donohue
f1c212c017 Merge pull request #443 from tdonohue/DS-1867
Fix for DS-1867 - Maven build issues from [src]/dspace/
2014-01-28 12:16:51 -08:00
Andrea Schweer
51a0b07091 DS-1879 Do not require ADMID for bundles in METS 2014-01-28 19:44:05 +00:00
Tim Donohue
178bf530d2 Merge pull request #452 from aschweer/DS-1879-mets-admid
DS-1879 Do not require ADMID for bundles in METS
2014-01-28 11:39:42 -08:00
rradillen
89141d84e9 DS-1887 assembly descriptor namespace
assembly descriptor uses the wrong namespace
updated namespace
2014-01-28 15:56:28 +01:00
BavoVanGeit
7614c8bbdb Delete spring-dspace-addon-discovery-configuration-services.xml 2014-01-28 13:23:58 +01:00
Andrea Schweer
fbfea0c0cd DS-1879 Do not require ADMID for bundles in METS 2014-01-28 12:01:21 +13:00
Ivan Masár
c83e94567e DS-1821 Internationalize the bitstream access icon alt text 2014-01-27 17:32:06 +01:00
Ivan Masár
b1a75fa617 DS-1816 add missing DSO type to DRI (focus.containerType) 2014-01-27 14:29:39 +01:00
Adán Román Ruiz
d85725c3b8 DS-1881 Remove filter button in XMLUI Discovery filters deletes all "New filters" 2014-01-27 14:29:24 +01:00
helix84
9fc0e06794 Merge pull request #450 from helix84/DS-1816-containerType
DS-1816 add missing DSO type to DRI (focus.containerType)
2014-01-27 02:03:25 -08:00
Ivan Masár
ef83d8ebf5 DS-1816 add missing DSO type to DRI (focus.containerType) 2014-01-27 11:01:08 +01:00
helix84
03d4701c0c Merge pull request #397 from zuki/DS-1797
DS-1797 Add a new oai format 'junii2'
2014-01-27 01:08:51 -08:00
Mark H. Wood
0f63107b6c Merge pull request #440 from mwoodiupui/DS-1862
[DS-1862] Too many ROMEs
2014-01-25 11:50:18 -08:00
Mark H. Wood
7d5feb73dd Merge pull request #438 from mwoodiupui/DS-1861
[DS-1861] Replace DSpace-packaged JMockit with official artifacts
2014-01-25 11:37:54 -08:00
Mark H. Wood
df00d25ad1 Merge pull request #437 from mwoodiupui/DS-1842
[DS-1842] Use geoip and dnsjava official artifacts at Maven Central
2014-01-25 11:35:44 -08:00
Mark H. Wood
dc407d6a8a Exclude Bootstrap from license check, restore stock notices 2014-01-24 21:24:45 -05:00
helix84
4e1830e233 Merge pull request #448 from muelle/DS-1881
DS-1881 Remove filter button in XMLUI Discovery filters deletes all "New filters"
2014-01-24 07:14:08 -08:00
Adán Román Ruiz
31af670e54 DS-1881 fix 2014-01-24 14:15:12 +01:00
Panagiotis Koutsourakis
116adadfb8 Update dependency to the latest BTE release 2014-01-24 13:28:58 +02:00
Kostas Stamatis
10883a5f03 addBTEItems rethrows BTE exceptions 2014-01-24 13:26:42 +02:00
Panagiotis Koutsourakis
56515633c9 Fix a bug that brings down the webapp container.
Instead of using System.exit() the method addItems now throws an
exception that can be handled higher in the calling stack, or will
terminate the thread.
2014-01-24 13:26:16 +02:00
Kostas Stamatis
ea7f660458 change default BTE configuration for CSV and TSV data loaders 2014-01-24 13:26:04 +02:00
Kostas Stamatis
13b0cbc03b throw missing exception when batch importing using BTE via admin UI 2014-01-24 13:25:52 +02:00
Ivan Masár
e7eee24908 DS-1878 make search URL recognize Lucene/Discovery in mobile theme 2014-01-23 12:15:46 +01:00
helix84
2f5066d2c1 Merge pull request #444 from helix84/DS-1878-mobile-theme-search
DS-1878 make search URL recognize Lucene/Discovery in mobile theme
2014-01-23 03:14:43 -08:00
Ivan Masár
bc73eb57a1 DS-1878 make search URL recognize Lucene/Discovery in mobile theme 2014-01-23 12:12:55 +01:00
Thomas Misilo
7c400d34d6 DS-1756 Wrongly aligned text on mobile theme
Removed margin-left: -35px; which pushes "There are no files associated with this item." over to the right. I tested this in firebug.
2014-01-23 11:07:17 +01:00
helix84
8b1615b54e Merge pull request #436 from misilot/patch-3
DS-1756 Wrongly aligned text on mobile theme
2014-01-23 02:06:00 -08:00
Thomas Misilo
0696100e52 DS-1757 Missing images in mobile theme
Removed link to mobile-default-thumbnail.png and changed to default-thumbnail.png which already existed.
Added contextPath
2014-01-22 21:45:30 +01:00
KevinVdV
ab851b8ba8 [DS-1832] Proxy configuration set in system properties if empty 2014-01-22 21:43:32 +01:00
Mark H. Wood
93f9b3f9fc [DS-1744] Upgrade to latest log4j 2014-01-22 21:42:16 +01:00
helix84
2afe11c53e Merge pull request #435 from misilot/patch-2
DS-1757 Missing images in mobile theme
2014-01-22 12:36:58 -08:00
Tim Donohue
4185f3f811 Fix for DS-1867. Ensure native2ascii call uses 'root.basedir' and not 'basedir', so that it also works from submodules (e.g. [src]/dspace). Also some minor cleanup of POM. 2014-01-21 22:32:06 +00:00
Tim Donohue
a27d40c3b2 Minor fixes for Checksum Checker Daily Report Emailer. Ensure it only sends an email if there's a possible issue. Also include DSpace hostname in email subject. 2014-01-21 20:44:59 +00:00
João Melo
75fda5ce67 Adding set spec filter. 2014-01-19 21:34:19 +00:00
João Melo
08d0fdd5d3 Using default filter. 2014-01-19 21:30:48 +00:00
João Melo
f231ff5308 OAI 2.1 2014-01-19 21:03:45 +00:00
Mark H. Wood
7e3f3de7dd [DS-1862] consolidate Rome versions 2014-01-14 16:54:37 -05:00
Mark H. Wood
25383e60ce [DS-1746] Obliterate sqlOnBorrow 2014-01-14 15:54:15 -05:00
Mark H. Wood
f380fc7e06 [DS-1861] Replace DSpace-packaged JMockit with official artifacts 2014-01-14 15:10:00 -05:00
Thomas Misilo
31f01277ac Added contextPath
Added context path per helix84.
2014-01-08 14:59:01 -05:00
Thomas Misilo
7d64e998ec DS-1756:Wrongly aligned text on mobile theme
Removed margin-left: -35px; which pushes "There are no files associated with this item." over to the right. I tested this in firebug.
2014-01-08 14:45:40 -05:00
Thomas Misilo
fd2a95f4fc DS-1757:Missing images in mobile theme
Removed link to mobile-default-thumbnail.png and changed to default-thumbnail.png which already existed.
2014-01-08 14:27:36 -05:00
Bram Luyten
38a7f17758 Merge pull request #428 from KevinVdV/DS-1832
[DS-1832] Proxy configuration set in system properties if empty
2013-12-21 03:11:25 -08:00
Mark H. Wood
f9948565b0 [DS-1744] Upgrade to latest log4j 2013-12-20 13:14:16 -05:00
KevinVdV
3f5214e58b [DS-1834] Collection content source harvesting test does not check sets properly 2013-12-20 16:49:01 +01:00
Mark H. Wood
6f0eaf722c Update master branch to next major release 2013-12-17 20:50:44 -05:00
Mark H. Wood
60ff043296 [DS-1842] Use geoip and dnsjava official artifacts at Maven Central 2013-12-16 16:59:58 -05:00
Mark H. Wood
532f58ee49 [maven-release-plugin] prepare for next development iteration 2013-12-16 15:08:02 -05:00
Mark H. Wood
d34e7b89a3 [maven-release-plugin] prepare release dspace-4.0 2013-12-16 15:07:58 -05:00
Mark H. Wood
56d2413858 Update documentation 2013-12-16 14:50:09 -05:00
Eliana de M.P.Coelho
42e3e9f390 add context to two methods parameters to have monthly statistics localised 2013-12-13 12:31:23 -05:00
Mark H. Wood
77f72c8b87 Merge pull request #431 from hardyoyo/DS-1841-add-examples-for-spider-filtering-by-domain-and-agent
DS-1841 adding example files for agent and domain-based spider filtering
2013-12-13 05:51:35 -08:00
Hardy Pottinger
4f5846f2b8 DS-1841: adding example files for agent and domain-based spider filtering, borrowed from OSU Libraries, with much thanks 2013-12-12 23:17:52 +00:00
KevinVdV
b6bfedd5c7 [DS-1834] Collection content source harvesting test does not check sets properly 2013-12-11 14:38:01 +01:00
KevinVdV
e8446e1dc8 [DS-1833] Collection content source harvesting test does not work with ORE 2013-12-11 13:16:00 +01:00
KevinVdV
84d6833192 [DS-1832] Proxy configuration set in system properties if empty 2013-12-11 10:40:47 +01:00
Mark H. Wood
e1ad056a99 [maven-release-plugin] prepare for next development iteration 2013-12-06 18:25:22 -05:00
Mark H. Wood
456c3d1804 [maven-release-plugin] prepare release dspace-4.0-rc3 2013-12-06 18:24:59 -05:00
Mark H. Wood
be93931bf0 Update documentation for RC3 2013-12-06 17:47:25 -05:00
Tim Donohue
ee0c3c1cf6 Merge pull request #426 from mwoodiupui/DS-1826
[DS-1826] dspace-rest artifact naming doesn't follow pattern, and other small POM tweaks
2013-12-06 12:58:58 -08:00
Hardy Pottinger
3dadff5709 Merge pull request #427 from tdonohue/DS-1759
DS-1759 possible fix
2013-12-06 12:27:13 -08:00
Tim Donohue
d67c258535 Default Recent Submissions to 5 on homepage, but page by 20 in browse-by 2013-12-06 19:58:38 +00:00
Mark H. Wood
858636e6fc Address a spelling issue, and further polishing. 2013-12-06 13:54:13 -05:00
Mark H. Wood
27c4fe0137 Merge pull request #425 from abollini/DS-1789
DS-1789 Deprecate Lucene Java classes
2013-12-06 10:51:24 -08:00
Mark H. Wood
80fda2669e Use same final artifact name as the rest of DSpace, for consistency 2013-12-06 11:57:09 -05:00
Mark H. Wood
04471e2f1d Remove compiler, plugin versions that should be supplied by parent for consistency. 2013-12-06 11:56:06 -05:00
Tim Donohue
7ec418b56d Merge pull request #409 from jsnshrmn/master
use better image downscaling method for XPDF media-filter
2013-12-06 08:04:30 -08:00
Andrea Bollini
029b140995 Merge pull request #422 from lap82/DS-1716
[DS-1716] Display select value without hexcode entities, add escape using JavaScri...
2013-12-06 06:38:06 -08:00
Andrea Bollini
6df811dbcb DS-1789 Deprecate Lucene Java classes 2013-12-06 15:31:09 +01:00
Thomas Misilo
00a6692683 DS-1817: Improvement of Collection Dropdown on Move Item Page
Adds the CollectionPath to the Move Item page
2013-12-05 11:54:40 -05:00
Bram Luyten
bd7be6b94e DS-1823 move dspace.url to build.properties
dspace.url is now independent from baseUrl
2013-12-05 17:10:54 +01:00
Kostas Stamatis
a282bf103a Merge pull request #392 from zuki/DS-1790
DS-1790 A new dataloader for CiNii article
2013-12-04 22:22:07 -08:00
Keiji Suzuki
d321d7e010 fixed conflicts 2013-12-05 10:32:07 +09:00
Pascarelli Luigi Andrea
6bfdb698b0 Display select value without hexcode entities, add escape using JavaScript String rules for fullname/email instead replace single quote, add code to prevent xss attach 2013-12-05 01:17:40 +01:00
Luigi Andrea Pascarelli
a0f87cd921 Merge pull request #416 from lap82/DS-1716
[DS-1716] Improvements for JSPUI new layout
2013-12-04 16:04:23 -08:00
Tim Donohue
a8eae2d9a8 Merge pull request #421 from tdonohue/DS-1733-improvement
DS-1733: Improvements to changes made in PR#364.
2013-12-04 15:24:07 -08:00
Tim Donohue
928267a220 Improvements to changes in PR#364. Ensure withdrawn items are still exported to CSV. Improve error logging on export. 2013-12-04 22:59:09 +00:00
Pascarelli Luigi Andrea
25b8680276 Re-arrange methods signature to put 'required' parameter in the more appropriate position 2013-12-04 23:37:33 +01:00
kstamatis
d3bde03849 cinii online data loader: add publisher in detail list 2013-12-05 00:00:04 +02:00
Keiji Suzuki
81a82303f2 Edited CiNii related files to adapt DS-1813 2013-12-04 23:50:35 +02:00
Keiji Suzuki
dfb38f89b7 Reset fast to searchProvider of CiNii which are reverted accidentally 2013-12-04 23:49:56 +02:00
Keiji Suzuki
b3ecc8f8d7 Added a new dataloader for CiNii Article 2013-12-04 23:49:56 +02:00
Tim Donohue
7a8054d646 Merge pull request #372 from bram-atmire/DS-1448
DS-1448 Harmless broken pipe stack traces
2013-12-04 13:19:29 -08:00
Tim Donohue
943d84cdcb Merge pull request #403 from KevinVdV/DS-1803
[DS-1803] Configurable workflow migration script fails if collection workflow group has been renamed
2013-12-04 13:14:06 -08:00
Tim Donohue
484ae9ff9d Merge pull request #417 from KevinVdV/DS-1819
[DS-1819] Discovery filters encoding
2013-12-04 13:11:51 -08:00
Tim Donohue
d4785ec4e3 Merge pull request #404 from tuub/DS-1804
DS-1804
2013-12-04 13:10:19 -08:00
Tim Donohue
93cf01d9f2 Merge pull request #341 from rivaldi8/DS-1524
DS-1524 Incorrect use of Creative Commons corporate logo.
2013-12-04 13:04:40 -08:00
Tim Donohue
85a5c7e6af Merge pull request #410 from bram-atmire/DS-1590
[DS-1590] Mirage: thumbnail dimensions are not enforced in listings
2013-12-04 12:56:42 -08:00
Andrea Bollini
00f1df31ba Merge pull request #415 from abollini/DS-1768
DS-1768 Add a default navigation-bar when no one is requested to allow minimal brand and navigation
2013-12-04 12:47:26 -08:00
Tim Donohue
c828a32fa1 Merge pull request #377 from aschweer/DS-951-log-timezone
DS-951 Time calculations when parsing log files
2013-12-04 12:37:16 -08:00
Tim Donohue
32231d8f0e Merge pull request #188 from helix84/DS-1485
DS-1485 fix for the Mirage theme
2013-12-04 12:29:35 -08:00
Tim Donohue
94e54d9d74 Merge pull request #364 from LongsightGroup/DS-1733
DS-1733 check to see if item is in archive and valid before trying to add it to the CSV
2013-12-04 11:57:40 -08:00
Tim Donohue
0a4ec51717 Merge pull request #366 from helix84/DS-1739-ldap-null-in-username
DS-1739 fix LDAP auth appending "null" to username
2013-12-04 11:54:44 -08:00
Tim Donohue
6705fdacbc Merge pull request #388 from sti-mwhite/DS-1740
DS-1740 XOAI producing invalid uketd_dc OAI-PMH output
2013-12-04 11:52:31 -08:00
Andrea Bollini
d58e1e6042 Merge pull request #371 from kstamatis/dspace-rest-fixes
[DS-1743] REST API misses to expose some attributes of communities and collections
2013-12-04 11:47:18 -08:00
Andrea Bollini
8c7bb7b647 Merge pull request #411 from EKT/DS-1813
[DS-1813] Unify configurations regarding SubmissionLookup step
2013-12-04 11:26:21 -08:00
Andrea Bollini
60303dcf2b Merge pull request #413 from EKT/DS-1132
[DS-1132]: ItemImport BitStream Registration does not properly set the Description
2013-12-04 11:09:18 -08:00
Mark H. Wood
0021220390 Merge pull request #418 from mwoodiupui/DS-1502
Revert "[DS-1502] Don't let XSL-T decode entities that we wrote inside <...
2013-12-04 10:19:56 -08:00
Mark H. Wood
e87722d1b5 Revert "[DS-1502] Don't let XSL-T decode entities that we wrote inside <script> tags"
This reverts commit 1d8838baa0.

That commit produces invalid Javascript.  Multiple layers of XML
processing makes it extremely difficult to shepherd a left broket
through the entire pipeline.  Give up on XHTML correctness for now and
revisit some other day.
2013-12-04 13:07:55 -05:00
KevinVdV
0151385d73 [DS-1819] Discovery filters encoding 2013-12-04 15:03:22 +01:00
Andrea Bollini
cdf3772102 Merge pull request #412 from EKT/DS-1322
[DS-1322] Item without Title inaccessible via the UI unless for the admin via ID or Handle
2013-12-04 05:07:43 -08:00
Andrea Bollini
a5b040ae48 Merge pull request #414 from abollini/DS-1771
DS-1771 Make showing of logo for listed communities and collections configurable
2013-12-04 05:05:09 -08:00
Mark H. Wood
b509b0a05f [maven-release-plugin] prepare for next development iteration 2013-12-03 12:47:33 -05:00
Mark H. Wood
1bf3ead92e [maven-release-plugin] prepare release dspace-4.0-rc2 2013-12-03 12:47:30 -05:00
Mark H. Wood
886dc8695e Update manual for RC2 2013-12-03 12:23:19 -05:00
Mark H. Wood
47a8afd5b1 Merge pull request #330 from mwoodiupui/DS-1502
[DS-1502] Invalid XHTML in Javascript generated by Mirage theme
2013-12-03 08:44:08 -08:00
Pascarelli Luigi Andrea
560e2fc4fb Use css to automatically add asterisk to required form inputs 2013-12-02 23:20:41 +01:00
Pascarelli Luigi Andrea
2c06cb99c2 Add Communities & Collections link in admin menu 2013-12-02 23:18:57 +01:00
Pascarelli Luigi Andrea
e8508e6cfb Fix display when no item in recent submission 2013-12-02 23:18:11 +01:00
Pascarelli Luigi Andrea
17e82b9e23 Change label admin for communities/collection, reduce label on remove button to fix wrong behaviour on google chrome 2013-12-02 23:16:50 +01:00
kstamatis
abfba37243 untitled items: rewrite code to be more readable 2013-12-02 19:01:22 +02:00
Keiji Suzuki
2e75f4db2f Edited CiNii related files to adapt DS-1813 2013-12-02 11:07:04 +09:00
Keiji Suzuki
c8c5febd75 Reset fast to searchProvider of CiNii which are reverted accidentally 2013-12-02 09:40:22 +09:00
Keiji Suzuki
d4f1f41b65 Added a new dataloader for CiNii Article 2013-12-02 09:35:58 +09:00
Andrea Bollini
cc8eff7c3a DS-1768 Add a default navigation-bar when no one is requested to allow minimal brand and navigation 2013-12-02 01:16:30 +01:00
Andrea Bollini
7b1c96ca44 DS-1771 Make showing of logo for listed communities and collections configurable 2013-12-02 00:51:09 +01:00
Andrea Bollini
c1dfbc0199 DS-1811 Removing a collection fails if non-Solr DAO has been used before for item count 2013-12-02 00:26:43 +01:00
kstamatis
33def6dab6 remove isDiscoverable flag from the browse list tag 2013-12-01 20:10:25 +02:00
kstamatis
5fd0aceb5e submission lookup: replace misplaced exception 2013-12-01 19:36:31 +02:00
kstamatis
cdc3fa3ab0 itemimport: set bitstream description read from contents file 2013-12-01 19:29:08 +02:00
kstamatis
d0aa915791 make items with no title accessible via the itemlist (browse or search) 2013-12-01 17:10:21 +02:00
kstamatis
4b001ce63a submission lookup: remove unwanted config file 2013-12-01 09:29:34 +02:00
kstamatis
09f0609982 unify submission lookup service configs 2013-12-01 09:28:31 +02:00
Kostas Stamatis
7e113df658 Merge pull request #386 from zuki/DS-1777
DS-1777 Bugs and inadequate configs for "Bibliographic import and lookup in Submission" and a new modifier
2013-11-30 21:07:25 -08:00
Bram Luyten
fa273284de [DS-1590] Mirage: thumbnail dimensions are not enforced in listings
adding the max thumbnail width from cfg to thumbnail-wrapper divs
2013-11-28 17:00:08 +01:00
Pascal-Nicolas Becker
892f7fdee1 Changed DIM2DataCite.xsl to not discover provenance information.
dc.descritption.provenance contains personal information. Removed it
from DIM2DataCite.xsl to not discover it.
2013-11-28 11:51:53 +01:00
kstamatis
da07880b01 remove warning in LanguageCodeModifier 2013-11-28 17:28:05 +09:00
kstamatis
149db9bf8a fix 'BTE to DSpace' configuration 2013-11-28 17:28:05 +09:00
kstamatis
970a5f87fe fix crossref BTE configuration 2013-11-28 17:28:05 +09:00
kstamatis
9e4fe8635b fix pubmed BTE configuration 2013-11-28 17:28:05 +09:00
kstamatis
e14dd787c0 fix arxiv BTE configuration 2013-11-28 17:28:05 +09:00
zuki
8552d0ef08 Fixed a typo 2013-11-28 17:28:05 +09:00
Keiji Suzuki
1c7f7e6e3c Fixed a wrong conditional expression 2013-11-28 17:28:05 +09:00
Keiji Suzuki
791ce57784 Added a new modifier LanguageCondeModifier 2013-11-28 17:28:04 +09:00
Keiji Suzuki
2cce9abc97 Fixed bugs and edited inadequate configs 2013-11-28 17:28:04 +09:00
Jason Sherman
3dbb69d783 Update XPDF2Thumbnail.java
Remove a bit of commented cruft.
2013-11-27 16:19:41 -06:00
Mark H. Wood
8bdc0ee8fb Merge pull request #407 from mwoodiupui/DS-1530
[DS-1530] create-administrator and skipping the email field
2013-11-27 12:09:41 -08:00
Mark H. Wood
420435b536 [DS-1530] Insist on a nonblank email address 2013-11-27 11:46:06 -05:00
Andrea Bollini
d4f87ffeb6 Merge pull request #369 from EKT/DS-1741
[DS-1741] Batch import UI - only the File DataLoaders should appear in the drop down
2013-11-27 02:50:08 -08:00
Andrea Bollini
5d5e5c2131 Merge pull request #394 from zuki/DS-1792
DS-1792 Submitter is not set to the item in BTE
2013-11-27 02:43:50 -08:00
Andrea Bollini
be113eca90 Merge pull request #406 from lap82/DS-1809
[DS-1809] Fix bug moving button out of the div
2013-11-27 02:41:40 -08:00
Andrea Bollini
5010c171be DS-1773 Bootstrap JSPUI - In the Discover column on the Home page some boxes do not have room to display the total number 2013-11-27 11:33:52 +01:00
Pascarelli Luigi Andrea
ff06384285 Fix bug moving button out of the div 2013-11-27 00:48:03 +01:00
Hardy Pottinger
3548d6da78 Merge pull request #405 from hardyoyo/DS-1410
applying patch from DS-1410, merging with changes from DS-1503 / PR #196
2013-11-26 12:35:13 -08:00
Hardy Pottinger
0e8df4e7ab applying patch from DS-1410, merging with changes from DS-1503/PR-196 2013-11-26 19:43:11 +00:00
Pascal-Nicolas Becker
8c701394ae Bugfix: Changed modifiers in DataCiteConnector.
Set the modifier of some variables and methods from private to
protected. This makes it easier to extend the DataCiteConnector.
2013-11-26 14:17:16 +01:00
Pascal-Nicolas Becker
164dc8e5d3 Bugfix: DataCiteConnector ignored the configured scheme. 2013-11-26 14:15:31 +01:00
Luigi Andrea Pascarelli
6c391256cc Merge pull request #389 from EKT/DS-1780
Fix the bug DS-1780
2013-11-25 15:30:33 -08:00
Mark H. Wood
a075de5136 Merge pull request #398 from mwoodiupui/DS-1621
[DS-1621] Search in Item mapper don't work without lucene search provider
2013-11-25 09:42:54 -08:00
Mark H. Wood
753d2a4273 Merge pull request #379 from aschweer/DS-1483-citation_pdf_url
DS-1483 Generate citation_pdf_url in more cases
2013-11-25 09:07:38 -08:00
Mark H. Wood
265be32754 Merge pull request #399 from mwoodiupui/DS-1788
[DS-1788] Rename Indexing scripts for clarity
2013-11-25 08:47:56 -08:00
Andrea Bollini
5e58013acf Merge pull request #395 from lap82/DS-1793-DS-1794
[DS-1793][DS-1794] Redesing embargo advanced form
2013-11-25 08:42:16 -08:00
Pascarelli Luigi Andrea
3f1516bfc4 Add message embargo in review section for bitstream 2013-11-25 17:39:51 +01:00
Andrea Bollini
7c63d65272 Merge pull request #400 from DSpace/DS-1774
DS-1774 move hardcoded text to i18n
2013-11-25 08:21:19 -08:00
Pascal-Nicolas Becker
6e2ba1296e Bugfix for DOI support using DataCite.
The DOIIdentifierProvider checked whether a DOI is reserved or
registered at the registration agency already. This should be done by
the DOIConnector if it is necessary at all.
2013-11-25 16:23:27 +01:00
Andrea Bollini
d9f630c405 Merge pull request #402 from abollini/DS-1676-simply
[DS-1676] Upload file step wrong navigation feel
2013-11-25 05:41:03 -08:00
Andrea Bollini
4fafcdfb52 Fix misuse of previous button to avoid file upload when required (noted by lap82) 2013-11-25 14:38:00 +01:00
Pascal-Nicolas Becker
1dbe77b654 Bugfix: Renamed static final int in DOIIdentifierException.
Renamed DOIIdentifierException.REGISTER_FIRST to
DOIIdentifierException.RESERVE_FIRST.
2013-11-25 14:15:21 +01:00
KevinVdV
769aca6085 [DS-1803] Configurable workflow migration script fails if collection workflow group has been renamed 2013-11-25 13:05:56 +01:00
Andrea Bollini
c4c5ff57c0 Add missing image for sherpa/romeo 2013-11-25 12:36:09 +01:00
Andrea Bollini
032444e8f0 DS-1676 Impossible to cancel/save or go back in the upload step with upload progress bar enabled 2013-11-25 12:35:45 +01:00
Pascarelli Luigi Andrea
ef7f2babc6 Changed way to retrieve object from submission map to request attribute, remove code to show number of policies setting in the case of simple embargo form 2013-11-25 02:24:07 +01:00
Pascarelli Luigi Andrea
aa53d07961 Change way to retrieve data 2013-11-25 02:21:57 +01:00
Pascarelli Luigi Andrea
0c682daaf2 Change from submission attribute to request attribute 2013-11-25 02:19:35 +01:00
Pascarelli Luigi Andrea
795a109b5a Move the retrieve resource policies and other info to the servlet 2013-11-25 02:18:50 +01:00
Andrea Bollini
bd32eb4726 Consistent use of bootstrap + use of EL to avoid escape quote issue in taglibrary with tomcat7 2013-11-24 00:30:46 +01:00
Keiji Suzuki
a2d33ee049 edit comments 2013-11-23 23:59:00 +01:00
Keiji Suzuki
e029ba2d28 display error screen when no workspace item exists or no workspace item is selected 2013-11-23 23:58:59 +01:00
Andrea Bollini
5b17a6548b DS-1774 move hardcoded text to i18n 2013-11-23 15:37:45 +01:00
Andrea Bollini
35c5deedcf Layout cleanup, harmonize browsers behaviour 2013-11-23 12:50:03 +01:00
Andrea Bollini
070f4ee65c DS-1772 Bootstrap JSPUI - When editing an item there is an extra empty row at the bottom of the table resulting in a partial border 2013-11-23 12:25:43 +01:00
Andrea Bollini
f2b4700a3b DS-1770 Bootstrap JSPUI - When viewing a 'full item' the top border of the last row 'Appears in Collections' should continue until the end of the column 2013-11-23 01:19:26 +01:00
Andrea Bollini
63b82ba4ab DS-1800 Bootstrap: Home page - sidebar news doesn't fill all the available space 2013-11-23 01:12:47 +01:00
Mark H. Wood
6beeb445e4 [DS-1788] Update command names and descriptions 2013-11-21 13:24:14 -05:00
Mark H. Wood
7bca28b1e4 [DS-1621] First stab at configurable search for Item mapper 2013-11-21 12:24:23 -05:00
Jason Sherman
65e2f00afb Update XPDF2Thumbnail.java
Bringing XPDF thumbnails up to par with the regular JPEG thumbnails.
2013-11-19 10:44:50 -06:00
Keiji Suzuki
79bf0f641e Added a new oai format 'junii2' 2013-11-19 16:00:32 +09:00
Pascarelli Luigi Andrea
19f0bbd2b2 Move code into more appropriate jsp, manage submission when embargo feature is off 2013-11-16 21:29:02 +01:00
Pascarelli Luigi Andrea
2a80f6c8fc jspui bootstrap layout minor tweak 2013-11-16 20:44:45 +01:00
Pascarelli Luigi Andrea
db1dc85ce9 Add support in review page for access settings 2013-11-16 20:18:21 +01:00
Pascarelli Luigi Andrea
151d7ffeeb Minimal redesing to uniform to the xmlui, add datepicker js on embargo date, limit policy name field to maxlength=30 2013-11-16 16:55:08 +01:00
Keiji Suzuki
19057fcf70 Fixed a bug the submitter is not set to the item in BTE 2013-11-15 11:57:42 +09:00
Mark H. Wood
c2ad18ce4c Merge pull request #391 from helix84/javadoc2
JavaDoc for statistics converter/importers
2013-11-14 07:31:46 -08:00
Mark H. Wood
45cd3e4b6f Merge pull request #390 from helix84/typos-squashed
fix a bunch of typos
2013-11-14 07:30:32 -08:00
Ivan Masár
cfc18c57e4 JavaDoc for statistics converter/importers 2013-11-13 23:05:30 +01:00
Ivan Masár
6877ab67a6 fix a bunch of typos 2013-11-13 23:01:50 +01:00
Panagiotis Koutsourakis
db168cd840 Fix the bug DS-1780
The batch import would go into an infinite loop when loading from a
pubmed, arxiv or crossref XML file. This was due to the fact that the
respective data loaders open the file each time getRecords() is called
coupled with the complicated logic of TransformationEngine.

The bug was fixed by checking if offset is greater than zero in
getRecords(DataLoadingSpec) (which is equivalent to the condition that
the file has already been read) and if so the method returns an empty
RecordSet signaling the TransformationEngine that the input has ended.
2013-11-13 17:26:15 +02:00
Michael White
71018938e7 Changes to be committed:
(use "git reset HEAD <file>..." to unstage)

	modified:   uketd_dc.xsl
2013-11-12 16:07:09 +00:00
Michael White
bc4bf93887 On branch DS-1740
Changes to be committed:
   (use "git reset HEAD <file>..." to unstage)

	modified:   xoai.xml

 Changes not staged for commit:
   (use "git add <file>..." to update what will be committed)
   (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   metadataFormats/uketd_dc.xsl
2013-11-12 16:04:08 +00:00
Mark H. Wood
9566760346 Merge pull request #380 from mwoodiupui/DS-449
[DS-449] Command line utility org.dspace.app.harvest.Harvest -S throws AuthorizeException
2013-11-11 13:17:32 -08:00
Mark H. Wood
ea774c9f3d Merge pull request #385 from mwoodiupui/DS-1751
[DS-1751] Request a copy of the document page has 'Mensaje:' (should be message?)
2013-11-11 13:14:10 -08:00
Mark H. Wood
be060337d6 [DS-1778] Wrong test for non-empty title in ItemRequestForm 2013-11-11 10:00:17 -05:00
Mark H. Wood
d750c8a320 [DS-1751] Small adjustments of punctuation and word order. 2013-11-08 14:43:01 -05:00
Andrea Bollini
229c3e376a Use a more appropriate sample DOI 2013-11-08 09:58:13 +01:00
Andrea Bollini
1da7091851 Merge branch 'DS-1755' 2013-11-08 09:32:35 +01:00
Andrea Bollini
e900b914a7 DS-1755 Fix no collections selected message, reordering accordion in a more friendly way, minor UI tweeks 2013-11-08 09:31:53 +01:00
Mark H. Wood
87b71e4fdc [DS-1751] Can't use <i18n:text> inside <xsl:attribute> but adding another attribute "attr" magically fixes it. 2013-11-07 16:01:31 -05:00
Mark H. Wood
f56f47bba2 [DS-1751] Some edited English message texts 2013-11-07 14:41:19 -05:00
Mark H. Wood
25c47ebab2 Merge pull request #382 from aschweer/DS-1709-Access-Step-UI
DS-1709 Make wording work for simple form
2013-11-07 06:51:22 -08:00
Andrea Bollini
ef86938fc3 Merge branch 'DS-1755' of https://github.com/zuki/DSpace into DS-1755 2013-11-07 15:43:42 +01:00
Mark H. Wood
98f57271a7 Merge pull request #381 from aschweer/DS-1766-simple-embargo
DS-1766 Use simple access step by default
2013-11-07 05:40:19 -08:00
Keiji Suzuki
6eb00f4286 fixed DS-1755 2013-11-07 11:45:02 +09:00
Andrea Schweer
2a6c18a0ab DS-1766 Use simple access step by default
Also added some documentation around the option, re-ordered access step
options, normalised whitespace and commented them out by default. The JSPUI and
XMLUI code already use a default value of 'false', so no code changes needed.
2013-11-07 12:28:59 +13:00
Andrea Schweer
34b24291e4 DS-1709 Make wording work for simple form 2013-11-07 11:43:05 +13:00
Andrea Schweer
4e75c809c3 DS-1483 Generate citation_pdf_url in more cases
Google Scholar uses the citation_pdf_url header tag on item pages to determine
which of an item's bitstreams to link to (if any). Standard DSpace behaviour is
to include this link only if the item has exactly one bitstream in the ORIGINAL
bundle and if this item is of type application/pdf. The desired behaviour for
the LCoNZ IRRs is this:
 - if the item has only one bitstream in the ORIGINAL bundle, link to this one
 - if the item has a primary bitstream in the ORIGINAL bundle, link to this one
   (regardless of how many bitstreams there are in total in the ORIGINAL bundle).
Additionally, the bitstream link should only appear when the bitstream selected
according to the rules above is publicly visible.
The mimetype of the bitstream is not taken into account, as per Google Scholar
feedback that this is no longer as important to them.
2013-11-07 08:17:04 +13:00
Mark H. Wood
e4fac3864e Squash a deprecation warning 2013-11-06 11:39:38 -05:00
Mark H. Wood
a343a86a47 Squash a deprecation warning 2013-11-06 11:37:58 -05:00
Mark H. Wood
1fcd660d05 [DS-449] Read harvester.eperson from the correct configuration, and use it 2013-11-06 10:42:35 -05:00
Mark H. Wood
bf65050fc0 Clean up whitespace so I can read the code 2013-11-06 10:32:51 -05:00
Andrea Schweer
e692901707 Merge pull request #378 from aschweer/DS-992-encode-utf8
DS-992 encode utf8
2013-11-05 16:15:17 -08:00
Andrea Schweer
672a07ebda DS-992 Specify encoding scheme for URL encode (XMLUI) 2013-11-06 11:28:04 +13:00
Andrea Schweer
3022f718ce DS-992 Specify encoding scheme for URL encode (JSPUI) 2013-11-06 11:27:59 +13:00
Andrea Schweer
6f0c9b518f Time calculations when parsing log files 2013-11-06 10:56:35 +13:00
Andrea Schweer
81e343c9a3 Merge pull request #376 from aschweer/DS-1761-derived-extension
DS-1761 Allow extensions of more than 3 characters for derived bitstreams
2013-11-05 13:44:20 -08:00
Andrea Schweer
4cfbf4b03d DS-1761 Allow extensions of more than 3 characters' length for derived bitstreams 2013-11-06 10:40:31 +13:00
Andrea Schweer
a3297ac6cd Merge pull request #375 from aschweer/DS-1754
DS-1754 Use canonical not absolute path
2013-11-04 17:21:21 -08:00
Andrea Schweer
66414dda73 DS-1754 Use canonical not absolute path
Using the canonical path when determining the location of the undo information
leads to consistent behaviour when using "." as the source vs using eg an
absolute path. This also adds the name of the directory to the error message in
case the directory cannot be created, to help with troubleshooting.
2013-11-05 14:14:35 +13:00
Andrea Schweer
e16b9b4f12 Fix config default value / docs: directory not URL
Ensure that the suggested default setting for the "failed package directory" is
actually a directory (as expected by the code that uses this setting) and
matches the value of this setting in the official DSpace documentation. Both
for v1 and v2 of the SWORD server.
2013-11-04 17:26:34 +13:00
Andrea Schweer
4d82a662e5 Fix accidental duplication of access step config 2013-11-04 15:34:34 +13:00
Mark H. Wood
4a9fe6f8a4 [maven-release-plugin] prepare for next development iteration 2013-11-01 14:58:34 -04:00
Mark H. Wood
4745985383 [maven-release-plugin] prepare release dspace-4.0-rc1 2013-11-01 14:58:17 -04:00
Mark H. Wood
05bee72d33 Update documentation for 4.0-rc1 2013-11-01 14:37:44 -04:00
Tim Donohue
6388f19c3f Merge pull request #374 from misilot/patch-1
DS-1472 Capitalization of Workflow in Submissions & Workflow
2013-11-01 09:55:22 -07:00
Thomas Misilo
00cf8acb59 DS-1472 Capitalization of Workflow in Submissions & Workflow
This is a title, which means it should be capitalized.

This was committed to dspace-3_x (PR#184), however not to master. It is listed as fixed in 4_x on the release notes.
2013-11-01 11:04:45 -04:00
Tim Donohue
c43c224eda Merge pull request #373 from tdonohue/DS-1745
DS-1745: DSpace should no longer assign "dc.date.issued=[today]" when date field is missing
2013-10-31 13:45:56 -07:00
kstamatis
9a626efd9c rest: add logo in the expand list for collection + set licence when in expand list 2013-10-31 22:38:30 +02:00
kstamatis
6763ac206f Merge branch 'master' into dspace-rest-fixes 2013-10-31 22:22:26 +02:00
Tim Donohue
90c301c587 Merge pull request #353 from aschweer/DS-1709-Access-Step-UI
[DS-1709] Access step UI
2013-10-31 12:20:44 -07:00
Tim Donohue
405cf2104c DS-1745 : Backwards compatibility for Initial Questions. If item is "unpublished" and no issued date, set it to today's date. 2013-10-31 17:50:38 +00:00
Tim Donohue
0e4b0f39e2 DS-1745 : Change logic in InstallItem so that dc.date.issued MUST be specified to be set. Add an option to set dc.date.issued="today" to auto-apply today's date. Also add unit tests for new logic 2013-10-31 17:49:56 +00:00
kstamatis
613d99a32f remove collection provenance exposure from REST response 2013-10-31 19:29:39 +02:00
kstamatis
e94be7237d Merge branch 'master' into dspace-rest-fixes 2013-10-31 19:28:11 +02:00
kstamatis
4664dd0062 delete unnecessary comments 2013-10-31 19:25:17 +02:00
Tim Donohue
89f7798450 Normalize incorrect line endings in two files 2013-10-31 14:32:27 +00:00
Bram Luyten
1a3f673198 DS-1448 Harmless broken pipe stack traces
Improved error catching for file downloads that are being cancelled
before completion
2013-10-31 12:24:02 +01:00
Kostas Stamatis
e6e2123604 Merge branch 'master' into dspace-rest-fixes 2013-10-31 08:40:46 +02:00
Andrea Bollini
32de6ff835 Merge pull request #361 from DSpace/final-tweaks-jspui4
Final tweaks jspui4
2013-10-30 15:47:56 -07:00
Andrea Bollini
01f750a065 Unbalanced div 2013-10-30 23:44:07 +01:00
Andrea Bollini
cfc7110604 Merge pull request #368 from lap82/solr-commit-issue
Revert autocommit configuration (as is in DSpace 3.x)
2013-10-30 14:41:57 -07:00
Andrea Bollini
2b5145c888 Merge pull request #360 from DSpace/private-items
DS-1711 DS-1712 DS-1466 Implement consistent definition of Private items
2013-10-30 14:38:57 -07:00
Andrea Bollini
efaac8162c Merge pull request #367 from zuki/private-items
Added item.update() to set discoverable flag
2013-10-30 13:46:48 -07:00
Kostas Stamatis
e023da2f26 batch import UI - display only applicable data loaders 2013-10-30 15:31:00 +02:00
Kostas Stamatis
5869d51b65 Merge branch 'master' into dspace-rest-fixes 2013-10-30 14:25:09 +02:00
Kostas Stamatis
851c6ed3dd fix new line at the end problem 2013-10-30 14:16:30 +02:00
Pascarelli Luigi Andrea
ea8db02202 Revert autocommit configuration (as is in DSpace 3.x) 2013-10-30 12:20:36 +01:00
Keiji Suzuki
4be9eea411 Added item.update() to set discoverable flag 2013-10-30 15:25:37 +09:00
Ivan Masár
88b9d8fe78 DS-1739 fix LDAP auth appending "null" to username 2013-10-29 23:03:11 +01:00
Andrea Bollini
d0162f86b9 Improve layout of edit item authorization 2013-10-29 18:54:02 +01:00
Andrea Bollini
4b554eed91 Fix request copy radio buttons doesn't shown in IE 2013-10-29 18:22:37 +01:00
Mark H. Wood
9f55480440 Remove an errant trailing comma 2013-10-29 13:17:07 -04:00
Mark H. Wood
25077540be Remove an errant trailing comma 2013-10-29 13:15:37 -04:00
Andrea Bollini
c0de83ee2a Unbalanced div in main.jsp cause wrong footer rendering in IE 2013-10-29 17:32:18 +01:00
Andrea Bollini
c12730b018 DS-1736 Impossible remove the Creative Commons in JSPUI / jump using the progress bar
also restylish CCLicenseStep using bootstrap
2013-10-29 17:13:13 +01:00
Sam Ottenhoff
db42ffcf58 DS-1733 check to see if item is in archive and valid before trying to add it to the CSV 2013-10-29 10:55:55 -04:00
Kostas Stamatis
a9b307bdc6 add collection metadata (provenance, copyright, short description) in the collection response 2013-10-29 15:51:53 +02:00
Kostas Stamatis
11bb440fea add short description in the community response 2013-10-29 13:17:55 +02:00
Peter Dietz
eb1902ae7f Merge pull request #356 from AnjaLeBlanc/DS-1719
DS-1719 Added statistics recording to Jersey-REST API
2013-10-28 13:58:49 -07:00
Anja Le Blanc
f5027c3bcb Added usage events for collections view and communities view 2013-10-28 15:29:30 +00:00
Anja Le Blanc
4d46c3a505 corrected 'items' and 'parentCommunityList' in return. 2013-10-28 14:08:09 +00:00
Andrea Bollini
1ace7bb07a Merge pull request #254 from zuki/DS-1600
[DS-1600] Variable "style" is defined twice in ItemTag.java and are used by error in its render() method
2013-10-27 09:53:43 -07:00
Andrea Bollini
655d779df0 Merge pull request #355 from zuki/DS-1724
DS-1724 Can't edit any locale specific news text in the current master version
2013-10-27 09:44:25 -07:00
Andrea Bollini
e6fc657d50 DS-1729 move the inline styling to the dspace-theme.css / replace the cineca logo with an official trasparent one 2013-10-27 16:38:26 +01:00
Andrea Bollini
2946e91a97 Merge branch 'master' of https://github.com/DSpace/DSpace into final-tweaks-jspui4 2013-10-27 16:09:20 +01:00
Andrea Bollini
f38ba4c532 Add missing i18n key for Request copy using metadata strategy to discovery corresponding author 2013-10-27 16:03:07 +01:00
Andrea Bollini
eeb3061c42 DS-1655 Disable "Initial Questions" page in Submission UI by default 2013-10-27 15:53:12 +01:00
Andrea Bollini
c5e3b7150a Avoid exposure of private items over OAI-PMH 2013-10-27 15:15:19 +01:00
Andrea Bollini
a1d77d1b63 Add browse private items link for administrators 2013-10-26 20:18:28 +02:00
Andrea Bollini
ba011ea346 DS-1711 DS-1712 DS-1466 implement consistent definition of private item 2013-10-26 20:17:55 +02:00
Andrea Bollini
f2773ae651 Improve performance and avoid strange issue with failing fq with not value for the read field 2013-10-26 20:15:45 +02:00
bram-atmire
c48a1eb563 Merge pull request #325 from bram-atmire/DS-1559
DS-1559 Empty dc fields causes page layout issues
2013-10-26 08:18:29 -07:00
Andrea Bollini
bbf9c3ce52 Merge pull request #354 from EKT/DS-1252-bugs
[DS-1723] Bugs regarding BTE integration in batch import and submission lookup process
2013-10-26 01:46:27 -07:00
Robin Taylor
064463f694 Merge pull request #359 from robintaylor/DS-1714
DS-1714 Fix new Bootstrap choose-file.jsp to work browers other than Firefox
2013-10-24 08:05:51 -07:00
Robin Taylor
447f117529 Fix new Bootstrap choose-file.jsp to work browers other than Firefox 2013-10-24 15:12:21 +01:00
Kostas Stamatis
b4ccdaf037 Merge pull request #15 from lap82/DS-1252-bte
Fix not empty dtolist for each request
2013-10-23 22:09:49 -07:00
Pascarelli Luigi Andrea
561d3fd701 New manage of the map converter modifiers (use spring bean init method and configurationservice to retrieve the exact path), revert assembly.xml to previous version 2013-10-24 01:11:23 +02:00
Pascarelli Luigi Andrea
3b1ced5f4d Fix not empty dtolist for each request 2013-10-24 01:06:05 +02:00
Tim Donohue
9c99d78ec8 Merge pull request #352 from DSpace/DS-1722
DS-1722 Fix filtering of all DSpace configs in test environment (In progress)
2013-10-23 14:31:46 -07:00
Tim Donohue
25f01bfff5 Merge pull request #358 from tdonohue/master
Several Unit test fixes (related to DS-1722)
2013-10-23 14:30:26 -07:00
helix84
05ed59ee46 Merge pull request #347 from helix84/DS-1679-xmlui-mobile-theme-1.1
DS-1679 XMLUI mobile theme 1.1 (fixes)
2013-10-23 13:52:09 -07:00
helix84
6d009a4c9f Merge pull request #349 from helix84/KevinVdV-DS-1188-xmlui-collection-view
DS-1188 Collection view doesn't show content by default
2013-10-23 13:46:39 -07:00
helix84
014d7e4d22 change Recent Submissions "View More" link CSS to font-size:100% 2013-10-23 22:42:42 +02:00
helix84
d0d59a20bd Merge pull request #345 from helix84/DS-1514-AIP-import-simple-embargo
DS-1514 AIP import simple embargo
2013-10-23 13:20:28 -07:00
Tim Donohue
1182c54b72 More improvements to fail() messages (add primary error msg) 2013-10-23 14:55:15 -05:00
Tim Donohue
82a413511c Several Unit test fixes. Add a Mock Indexer for Solr. Add a language for primary test Eperson. Do better context cleanup. Improve fail messages with actual errors. 2013-10-23 13:58:10 -05:00
Kostas Stamatis
341238cc39 Merge pull request #14 from lap82/DS-1252-bte
Added comment to debug feature on localhost for IE10
2013-10-23 11:37:52 -07:00
Pascarelli Luigi Andrea
1cef086e78 Added comment to debug feature on localhost for IE10 2013-10-23 20:05:26 +02:00
Hardy Pottinger
66af01a3f3 Merge pull request #357 from hardyoyo/DS-1746-bamboo-ify-travis-config
specified the test build command in .travis.yml to match Bamboo (note incorrect ticket number in branch name, please disregard, it's DS-1726)
2013-10-23 08:45:00 -07:00
Hardy Pottinger
f9b6d9ffa9 specified the test build command in .travis.yml to match the build command used by Bamboo 2013-10-23 09:45:13 -05:00
Anja Le Blanc
a591a52081 added licence header 2013-10-23 14:44:17 +01:00
Anja Le Blanc
6d8417c9af Added statistics recording to API
(required changes in DSpace API!)

Also some changes to make REST API work better with XML output.
Added Checksum and sequenceId to Bitstream.
2013-10-23 14:17:01 +01:00
Kostas Stamatis
51997572c3 Merge pull request #13 from lap82/DS-1252-bte
Fix extend feature metadata
2013-10-23 02:33:46 -07:00
Pascarelli Luigi Andrea
c7823a3239 Fix extend feature metadata 2013-10-23 11:17:48 +02:00
Keiji Suzuki
22cce1a0a3 Fixed a bug not to edit locale specific news text 2013-10-23 15:04:24 +09:00
Kostas Stamatis
3ed8707cf2 Merge branch 'master' into DS-1252-bugs
Conflicts:
	dspace-api/pom.xml
2013-10-23 08:56:26 +03:00
Kostas Stamatis
3638d9a706 Merge pull request #12 from lap82/DS-1252-bte
Some minor changes, fix retrieve data from crossref response
2013-10-22 22:29:37 -07:00
Andrea Schweer
6fcafbecd6 [DS-1706] Add review section for Access Step 2013-10-23 17:20:32 +13:00
Andrea Schweer
600a4e0944 [DS-1707] Limit length of policy name 2013-10-23 17:20:32 +13:00
Andrea Schweer
d10534ea5b [DS-1709] Improve clarity of access step UI
Clarify/fix default group selection

Show trail on access step
2013-10-23 17:20:32 +13:00
helix84
d76ebbdb0b Merge pull request #351 from DSpace/DS-1408
DS-1408: Add explicit "update()" calls to ensure Collection is saved before using later in Test code
2013-10-22 14:24:16 -07:00
Tim Donohue
bb0c35c0e9 Fix filtering of all DSpace configs in test environment 2013-10-22 16:18:11 -05:00
Tim Donohue
4f808e7236 Fix DS-1408 based on hints at http://stackoverflow.com/questions/4162557/timeout-error-trying-to-lock-table-in-h2 2013-10-22 16:02:08 -05:00
Tim Donohue
78f8e973b5 More minor cleanup. Add another update(). 2013-10-22 16:00:33 -05:00
Tim Donohue
416b8b53f2 Add explicit "update()" calls to ensure Collection is saved before using. Seems to resolve DS-1408. 2013-10-22 15:09:41 -05:00
Mark H. Wood
1d8a146a94 Remove duplicate dependency on backport-util-concurrent 2013-10-22 15:43:34 -04:00
Ivan Masár
69db8ba6f6 make policy import also work for bundles 2013-10-22 21:22:02 +02:00
Ivan Masár
5d8a420f6d DS-1514 make AIP import support simple embargo (start/end date in ResourcePolicy) 2013-10-22 21:22:01 +02:00
Pascarelli Luigi Andrea
4cd8b8f31b Some minor changes, fix retrieve data from crossref response 2013-10-22 20:22:23 +02:00
Mark H. Wood
2b84dbf14e Merge pull request #350 from mwoodiupui/DataCite
[DS-1678] EZID DOI provider
2013-10-22 10:35:37 -07:00
Mark H. Wood
9b228f6422 Move EZID Spring configuration to config/spring and comment out by default. 2013-10-22 13:31:58 -04:00
Mark H. Wood
7d675dc861 Comment all remaining tests and supply a dummy to keep JUnit happy. 2013-10-22 13:30:07 -04:00
Pascarelli Luigi Andrea
d89555720b Merge branch 'DS-1252-bugs' of https://github.com/EKT/DSpace into DS-1252-bte 2013-10-22 18:43:50 +02:00
Pascarelli Luigi Andrea
fee39a913e Added specific configuration file for submission lookup 2013-10-22 18:43:26 +02:00
Kostas Stamatis
f5c3271b44 Merge branch 'DS-1252-bugs' of https://github.com/EKT/DSpace into DS-1252-bugs 2013-10-22 14:35:35 +03:00
Kostas Stamatis
6040f8be8b Use properties files for map converters 2013-10-22 14:34:41 +03:00
Panagiotis Koutsourakis
772874b637 The temp file is now unique and the file is correctly deleted
The temporary file is created using the File.createTempFile method to
avoid the potential overwriting if more than one users try to upload a
file simultaneously. Also the file is now deleted in a finally clause
to delete it even if an exception is thrown.
2013-10-22 14:30:57 +03:00
Kostas Stamatis
614de3d36d Merge pull request #11 from lap82/DS-1252-bte
Code formatted with DSpace conventions
2013-10-22 03:51:33 -07:00
Pascarelli Luigi Andrea
6c2fb7a781 Code formatted with DSpace conventions 2013-10-22 12:37:50 +02:00
KevinVdV
ce8800d84a [DS-1188] Collection view doesn't show content by default (disabled by default) 2013-10-22 12:32:58 +02:00
KevinVdV
0292cee4c8 [DS-1188] Collection view doesn't show content by default 2013-10-22 12:32:56 +02:00
Kostas Stamatis
02dd97da40 Merge pull request #10 from lap82/DS-1252-bte
Cleaned code and refactoring
2013-10-22 02:44:07 -07:00
Pascarelli Luigi Andrea
8c445b0dd7 Cleaned code and refactoring 2013-10-22 11:31:40 +02:00
Kostas Stamatis
cfd6749387 resolve problem with referencing old class 2013-10-22 12:14:56 +03:00
Kostas Stamatis
cd774d2941 Merge pull request #9 from lap82/DS-1252-bte
Move serialize/deserialize json to use google gson library, and remove abandoned code
2013-10-22 01:27:37 -07:00
Kostas Stamatis
4ecf95ca47 add missing images for new providers in the submission lookup process 2013-10-22 11:23:26 +03:00
Pascarelli Luigi Andrea
7e151b96e2 merge with ekt branch 2013-10-22 10:14:57 +02:00
Kostas Stamatis
3754fba9e6 Merge Spring XMLs for BTE services (batch import and submission lookup) to avoid duplicate beans declarations 2013-10-22 10:40:47 +03:00
Peter Dietz
d595481467 Merge pull request #323 from peterdietz/rest-jersey
[DS-1696] DSpace REST API built in JERSEY
2013-10-21 19:40:40 -07:00
Ivan Masár
b08132f5de DS-1679 XMLUI mobile theme 1.1 (fixes) 2013-10-22 03:18:34 +02:00
Andrea Bollini
eae6fc6a50 Merge pull request #324 from helix84/DS-1475-collection-dropdown
DS-1475 Improvement of Collection Dropdown
2013-10-21 17:43:44 -07:00
Ivan Masár
5710f37c62 fix import 2013-10-22 02:40:10 +02:00
Andrea Bollini
c49c09c82c Make subscription registration works also from the subscription-list 2013-10-22 02:40:10 +02:00
Ivan Masár
f5425cf7c7 JSPUI support for collection dropdown 2013-10-22 02:40:10 +02:00
Ivan Masár
b6c58218c8 address most Andrea's comments 2013-10-22 02:40:10 +02:00
Ivan Masár
5664dfc2cf DS-1475 Improvement of Collection Dropdown 2013-10-22 02:40:10 +02:00
Andrea Bollini
5c6ad22b89 Merge pull request #339 from helix84/DS-842-xmlui-language-switch
DS-842 XMLUI language switch
2013-10-21 17:33:17 -07:00
Ivan Masár
7e9d29ebd9 fix missing context path 2013-10-22 02:23:42 +02:00
Ivan Masár
60f204305c DS-842 from trail to user box; add to all themes; keep URI when changing language 2013-10-22 02:23:42 +02:00
Ivan Masár
3133250e12 DS-842 XMLUI language switching links 2013-10-22 02:23:28 +02:00
Andrea Bollini
b6e7e68dc2 Merge branch 'DS-1637-2' of https://github.com/tuub/DSpace into DS-1637-2
Conflicts:
	dspace/config/dspace.cfg
2013-10-22 02:11:30 +02:00
Andrea Bollini
933fe518c8 Merge pull request #196 from LongsightGroup/DS-1503
DS-1503 ShibAuthentication depends on use of non-recommended Apache UseHeaders setting
2013-10-21 16:59:13 -07:00
Andrea Bollini
a0ca656081 Merge pull request #343 from DSpace/DS-824
DS-824 request copy for JSP UI and XML UI
2013-10-21 16:19:55 -07:00
Andrea Bollini
940d744ff4 Merge branch 'master' of https://github.com/DSpace/DSpace into DS-824
Conflicts:
	dspace-api/src/main/resources/Messages.properties
2013-10-22 01:05:53 +02:00
Pascarelli Luigi Andrea
37da01b000 Merge branch 'master' of https://github.com/DSpace/DSpace into DS-1252-bte 2013-10-22 01:04:54 +02:00
Pascarelli Luigi Andrea
a009cf0db6 Changed name to linear workflow phase one (collision with linear workflow in bte.xml) 2013-10-22 01:03:47 +02:00
Andrea Bollini
f51a3425c8 Merge branch 'DS-824' of https://github.com/DSpace/DSpace into DS-824 2013-10-22 01:01:56 +02:00
Andrea Bollini
4176e6a903 Allow use of request copy following the dspace.cfg configuration 2013-10-22 01:01:43 +02:00
Ivan Masár
a557e3b0de add requestitem table and seq table to schema 2013-10-22 00:33:28 +02:00
Hardy Pottinger
a4cf2a2a67 updating clean-database.sql with new tables, fixing oracle/database_schema.sql 2013-10-21 17:20:01 -05:00
Hardy Pottinger
485cac6100 adding required Oracle SQL for DS-284, some other miscelaneous Oracle-related cleanup to the 3-4 migration sql and the database_schema sql 2013-10-21 17:20:00 -05:00
Pascarelli Luigi Andrea
784f22a821 Delete flexjson, use only google json 2013-10-22 00:13:28 +02:00
Andrea Bollini
6be6cc6fd3 Merge pull request #346 from EKT/DS-1252-bte
[DS-1252] Integrate external bibliographic services in DSpace submission process - Integration with BTE
2013-10-21 15:13:10 -07:00
Peter Dietz
5cbe8f16b0 Don't expand collections.all list 2013-10-21 18:12:27 -04:00
Peter Dietz
96809b7770 Fix collections.all paging bug 2013-10-21 18:11:56 -04:00
Peter Dietz
4f684e25ad Make context's static, and autoCommit for remainders 2013-10-21 18:09:41 -04:00
Mark H. Wood
bc53c3794e Merge pull request #344 from mwoodiupui/DataCite
[DS-1678] EZID DOI provider
2013-10-21 14:09:34 -07:00
Mark H. Wood
7b18a89afa Test module itself was broken.
Improved through (I hope) a better understanding of how to create
Items.  However this module is still not quite right.  For now,
commenting out the guts of it.
2013-10-21 17:02:57 -04:00
Andrea Bollini
e4fb7cc258 Allow preview of email response in XMLUI 2013-10-21 22:23:55 +02:00
Panagiotis Koutsourakis
2ae9110b05 added missing licences 2013-10-21 21:08:26 +03:00
Luigi Andrea Pascarelli
f1409cf8a5 Merge with ekt, add management of the file uploaded in submission 2013-10-21 18:32:02 +02:00
Luigi Andrea Pascarelli
c9abc626a7 Fix bug for chrome and refactoring 2013-10-21 18:23:03 +02:00
Andrea Bollini
a4bf89d32c Make the responser of the request copy configurable 2013-10-21 18:18:18 +02:00
Mark H. Wood
b932400752 Merge pull request #308 from mwoodiupui/DataCite
[DS-1678] EZID DOI provider
2013-10-21 08:02:26 -07:00
Mark H. Wood
396f738a12 Merge pull request #303 from rivaldi8/single-search-box
Single search box
2013-10-21 07:50:44 -07:00
helix84
a0e9d91de9 Merge pull request #340 from bram-atmire/DS-433
DS-433 Adding DCTerms Schema
2013-10-21 07:47:25 -07:00
Andrea Bollini
29a9c3bda3 Removed unused class (now in org.dspace.email package) 2013-10-21 16:28:23 +02:00
Panagiotis Koutsourakis
0553239760 Changed the handling of temp files
Added code that creates a temp directory, and creates unique filenames
using the File.createTempFile in that directory. If the temp directory
cannot be created for any reason, it tries to use the system defined
temporary directory (usually "/tmp" in unix and "C:\\WINNT\\TEMP" in
windows).
2013-10-21 17:26:29 +03:00
Andrea Bollini
9fdf7ce9e2 Fix license 2013-10-21 16:26:20 +02:00
Andrea Bollini
8ce8707426 Merge pull request #318 from EKT/DS-1688
[DS-1688] Add UI support for BTE batch metadata import
2013-10-21 07:13:57 -07:00
Ivan Masár
f25d539e28 fix config option name 2013-10-21 15:47:43 +02:00
Andrea Bollini
320ae5133b Restore preview of response email / cleanup / layout adjustments for bootstrap 2013-10-21 15:46:15 +02:00
Richard Jones
a7f18df129 Merge pull request #342 from richard-jones/master
add licence statements for new SWORDv2 files
2013-10-21 06:38:11 -07:00
Richard Jones
a2588d50e1 add licence statements 2013-10-21 14:36:26 +01:00
Richard Jones
e2ba8d5f69 Merge pull request #331 from richard-jones/master
SWORDv2 version for DSpace4
2013-10-21 06:04:45 -07:00
Kostas Stamatis
3d3c6d2653 message properties changes 2013-10-21 14:27:20 +03:00
Kostas Stamatis
11b535109c change input mapping in data loaders 2013-10-21 14:19:32 +03:00
Andrea Bollini
c108fcb263 Upgrading the original JSPUI request copy addon 2013-10-21 12:39:57 +02:00
Minho University Documentation Services
91df47764e Initial commit of Request Copy addon
This is a first commit of the contribution as it looks in v3 of the Addon
for DSpace 1.8.2.
http://projecto.rcaap.pt/index.php/lang-pt/consultar-recursos-de-apoio/remository?func=fileinfo&id=358
2013-10-21 12:39:42 +02:00
Kostas Stamatis
c70405a5a6 Merge pull request #7 from lap82/DS-1252-bte
Fix message and added file for the multipart form
2013-10-21 03:32:23 -07:00
Luigi Andrea Pascarelli
348eb75ee4 Apply license 2013-10-21 12:30:13 +02:00
Àlex Magaz Graça
7541b64eaf DS-1524 Incorrect use of Creative Commons corporate logo.
Now, the Creative Commons logo specific to the license the item has
assigned is shown.
2013-10-21 12:25:00 +02:00
Kostas Stamatis
4e030ee717 add missing licence headers 2013-10-21 13:19:41 +03:00
Luigi Andrea Pascarelli
364b06c7bf Fix message and added file for the multipart form 2013-10-21 12:10:13 +02:00
Kostas Stamatis
be21bd6574 fixes 2013-10-21 12:07:24 +03:00
Panagiotis Koutsourakis
69d8b1433b Merge branch 'master' into DS-1252-bte
Conflicts:
	dspace-api/pom.xml
	dspace-api/src/main/resources/Messages.properties
2013-10-21 10:34:52 +03:00
Kostas Stamatis
e5e62c9378 pubmed, crossref, arxiv file data loaders added 2013-10-21 10:12:20 +03:00
Andrea Bollini
778d76640b Merge pull request #334 from helix84/DS-1409-ItemCountDAOSolr
DS-1409 add ItemCountDAOSolr, make it default
2013-10-20 10:43:51 -07:00
Andrea Bollini
7e469d7a37 Allow use of a single Solr query to get the strenghts of all communities and collections 2013-10-20 19:08:16 +02:00
Andrea Bollini
39fecd0f5e Make XMLUI aware of webui.strengths.show and turn on caching by default 2013-10-20 18:41:11 +02:00
Andrea Bollini
618710eb57 Throw exception to alert user about *_item_count tables not being used in ItemCountDAOSolr 2013-10-20 18:37:37 +02:00
Andrea Bollini
4e57ad7d21 Merge branch 'DS-824-request-copy-muelle-rebased' of https://github.com/helix84/DSpace into DS-824 2013-10-20 18:26:22 +02:00
helix84
ab5bfe069f Merge pull request #333 from helix84/DS-1492-ehcache-skip-update-check
DS-1492 don't display EhCache update notice in log
2013-10-20 07:22:09 -07:00
kstamatis
e2827ff612 minor refactoring 2013-10-20 13:34:09 +03:00
Peter Dietz
fee4188716 Only fetch the bitstream bundle for an Item, (coll, comm logo's exempt)
Otherwise, I was getting NPE
2013-10-19 22:30:59 -04:00
Ivan Masár
e1adc5b684 fixes due to rebase 2013-10-20 04:12:14 +02:00
aroman
46f634164e Removed OID from database schema 2013-10-20 04:09:21 +02:00
aroman
93bf43e267 License was wrong 2013-10-20 04:08:50 +02:00
aroman
08bd2929b6 Mails lowercased and underscored. 2013-10-20 04:08:50 +02:00
aroman
96c93bdbfd Added sequence to update-sequences.sql 2013-10-20 04:08:48 +02:00
aroman
aab28e68a8 Renamed database schema 2013-10-20 04:07:46 +02:00
aroman
4116e6a35b License head 2013-10-20 04:04:23 +02:00
aroman
b24588022e Request copy of protected item. 2013-10-20 04:04:20 +02:00
helix84
930136a10d Merge pull request #337 from abollini/DS-1683-JSPUI
DS-1683 Porting of spellcheck functionality to the JSPUI
2013-10-19 17:23:19 -07:00
Andrea Bollini
e99a5e8c00 DS-1683 Porting of spellcheck functionality to the JSPUI 2013-10-20 00:42:02 +02:00
Kostas Stamatis
c7414c3341 Merge pull request #6 from lap82/DS-1252-bte
Fix for IE10, add fuuid to send all itemlookup uuid
2013-10-19 12:55:31 -07:00
Pascarelli Luigi Andrea
25adc7c7a4 Fix for IE10 2013-10-19 21:35:14 +02:00
kstamatis
66adf4358b support file upload data loaders 2013-10-19 14:35:05 +03:00
Kostas Stamatis
c09780746e Merge pull request #5 from lap82/DS-1252-bte
Add UI support for the upload file in submission lookup
2013-10-18 21:10:00 -07:00
Pascarelli Luigi Andrea
51e5f6e45f Add UI support for the upload file in submission lookup 2013-10-19 02:18:37 +02:00
Peter Dietz
994935082e Add auth-check to look-up by Handle 2013-10-18 17:07:33 -04:00
Peter Dietz
8900a83f39 Add expands for Bitstream, to get to its parentDSO
Note: ParentDSO is either Item or Comm/Coll as logo
2013-10-18 16:53:37 -04:00
Mark H. Wood
3bccc1c7c0 [DS-1647] Don't confuse maven with multiple versions of the same dependency.
Also declare httpcore dependency to satisfy dependency:analyze.
2013-10-18 16:36:01 -04:00
Mark H. Wood
57c8f98de8 Revert "Revert "Merge pull request #294 from richardrodgers/DS-1647-MDWebService""
This reverts commit 45689b7280.
2013-10-18 16:33:37 -04:00
Andrea Bollini
7d6bd427a1 Merge pull request #317 from EKT/DS-1686
[DS-1686] Support new version of Biblio-Transformation-Engine for the batch import
2013-10-18 12:26:51 -07:00
kstamatis
566bb592ef Fix conflict 2013-10-18 21:48:18 +03:00
kstamatis
8445c1a7af Merge with master 2013-10-18 21:38:57 +03:00
kstamatis
5dc7ab0f1c Merge with master 2013-10-18 21:19:14 +03:00
Andrea Bollini
c8719e451f Merge pull request #319 from lap82/porting-versioning-jspui
[DS-1687] Porting Item Versioning to the JSPUI
2013-10-18 10:30:00 -07:00
Peter Dietz
8c0511e05c Item metadata is array of MetadataEntry, not wrapped in a metadata wrapper. 2013-10-18 13:07:16 -04:00
Peter Dietz
645e491c81 Clean up Collection, Community, Item regarding getting to parent and expand 2013-10-18 13:05:55 -04:00
Peter Dietz
98ee886687 Add REST support for limit / offset to page through comm.collections and collection.items, and item list 2013-10-18 13:04:51 -04:00
Peter Dietz
5eee997e7a Support limit/offset paging of Collections and Collection.Items
new method: Collection[] Collection.findAll(limit, offset)
new method: ItemIteractor Collection.getItems(limit, offset)
2013-10-18 12:56:18 -04:00
Peter Dietz
987e835e5e Each of these "READ" endpoints should "autocommit", which prevents transaction abort issues (atleast with postgres).
If you got an error, (i.e. negative limit is bad), then PG will barf always.
current transaction is aborted, commands ignored until end of transaction block
2013-10-18 12:50:34 -04:00
Pascarelli Luigi Andrea
1e43695835 Move versioning table on top of creative commons section, removed
unnecessary if, restyling jsp
2013-10-18 18:22:59 +02:00
Ivan Masár
a03ebe92dc JSPUI: add abstract do Recent Submissions display 2013-10-18 17:33:07 +02:00
Panagiotis Koutsourakis
0a67e84376 Changed the pom to have the latest version of BTE 2013-10-18 18:23:20 +03:00
Ivan Masár
d40d2e8dbc JSPUI: fix collection strength display on home page 2013-10-18 16:17:58 +02:00
Kostas Stamatis
8bb44db9b5 add missing headers 2013-10-18 15:23:37 +03:00
Kostas Stamatis
06f864fab7 Merge pull request #4 from lap82/DS-1252-bte
Restyling lookup submission jsp, fix bug to fill data authors in dto, mo...
2013-10-18 05:15:45 -07:00
Kostas Stamatis
fb19b6a50e bug fix: search providers not working 2013-10-18 15:07:14 +03:00
Pascarelli Luigi Andrea
c147f429cc Merge from ekt branch 2013-10-18 13:51:50 +02:00
Kostas Stamatis
a037bd6ed7 add logging + bug fixes 2013-10-18 14:17:31 +03:00
Pascarelli Luigi Andrea
f14456126f Restyling lookup submission jsp, fix bug to fill data authors in dto, moved utils methods 2013-10-18 12:58:33 +02:00
Panagiotis Koutsourakis
9cc756f1fa OAI-PMH data loader support bug fixes 2013-10-18 13:47:26 +03:00
Panagiotis Koutsourakis
70d441bf5d Removed dependency from bte v0.8.2 introduced by mistake 2013-10-18 10:56:38 +03:00
Panagiotis Koutsourakis
40952db644 Merge branch 'master' into DS-1688
Resolved a conflict in dspace-api/pom.xml
2013-10-18 10:52:11 +03:00
Kostas Stamatis
b91ae3ea68 fixes from lap82 2013-10-18 09:19:19 +03:00
Ivan Masár
928c4b2da2 DS-1409 add ItemCountDAOSolr, make it default 2013-10-18 02:37:49 +02:00
Ivan Masár
f542729867 DS-1492 don't display EhCache update notice in log 2013-10-18 01:20:15 +02:00
Ivan Masár
0c180b9601 add missing license header in #314 / DS-1683 2013-10-18 01:13:34 +02:00
Ivan Masár
45689b7280 Revert "Merge pull request #294 from richardrodgers/DS-1647-MDWebService"
This reverts commit d9590e3d65, reversing
changes made to b98637afc7.
2013-10-18 00:37:10 +02:00
kstamatis
ff1c20c8b2 minor fixes 2013-10-17 23:35:51 +03:00
Mark H. Wood
258a03958e Silly whitespace cleanups 2013-10-17 15:30:30 -04:00
Mark H. Wood
c7ee293786 Merge pull request #314 from KevinVdV/DS-1683
[DS-1683] Add spell checker to discovery
2013-10-17 12:05:06 -07:00
Mark H. Wood
f67e8bf791 Merge pull request #309 from terrywbrady/master
DS-1697: Output policy data to METSRIGHTS only if a policy is effect (by date)
2013-10-17 11:56:47 -07:00
Mark H. Wood
d9590e3d65 Merge pull request #294 from richardrodgers/DS-1647-MDWebService
[DS-1647] Adds MetadataWebService curation task
2013-10-17 11:22:02 -07:00
kstamatis
1d5fa8c9ce bug fixes + remove unnecessary imports + small aditions 2013-10-17 20:45:36 +03:00
Panagiotis Koutsourakis
1e41afad2f Support for OAI-PMH data loader 2013-10-17 18:06:40 +03:00
Kostas Stamatis
23c3c70290 integrate 2nd phase of BTE (not working!) 2013-10-17 16:22:03 +03:00
Panagiotis Koutsourakis
1dfcbc92c3 Added data loader and modifiers for second phase 2013-10-17 15:21:23 +03:00
Kostas Stamatis
e4acaf8006 bug fix 2013-10-17 14:27:58 +03:00
Kostas Stamatis
0e8568a681 remove properties files + bug fixes 2013-10-17 14:15:08 +03:00
Kostas Stamatis
dc489d3e49 bug fixes 2013-10-17 12:07:26 +03:00
Andrea Bollini
b98637afc7 Merge pull request #287 from abollini/DS-1106
DS-1106 Solr search accent insensitive (ICU Transliteration)
2013-10-16 22:14:20 -07:00
Bram Luyten
58ec299121 DS-433 Adding DCTerms Schema
Including a new DCTerms schema as part of the default installation
2013-10-16 23:48:23 +02:00
kstamatis
28a6b3d0e8 bug fixes 2013-10-17 00:18:54 +03:00
Andrea Bollini
a33b0781b3 Updated ICU4j / Restored SnowballPorterFilter 2013-10-16 21:58:53 +02:00
Andrea Bollini
aade3ea9f5 Updated the lucene analyzer artifactId as required by lucene 4.4 2013-10-16 21:58:53 +02:00
Andrea Bollini
5c63f97b02 DS-1106 Solr search accent insensitive (ICU Transliteration) 2013-10-16 21:58:52 +02:00
kstamatis
312061f70a Resolve rebase conflicts 2013-10-16 20:51:24 +03:00
kstamatis
bb4b208088 remove unnecessary files + add licence in new files 2013-10-16 20:46:55 +03:00
Panagiotis Koutsourakis
de3aa60b44 Added SubmissionLookupOutputGenerator 2013-10-16 20:46:54 +03:00
Panagiotis Koutsourakis
c13b245263 Refactored the ItemSubmissionLookupDTO to use a list of Records internally 2013-10-16 20:46:54 +03:00
Kostas Stamatis
e0bd8716e2 cleanup SubmissionLookupService 2013-10-16 20:46:54 +03:00
kstamatis
18dafb9dff add modifiers + support record extension on MultipleDataLoader 2013-10-16 20:46:54 +03:00
Kostas Stamatis
325c862ef2 bte in submission workflow 2013-10-16 20:46:54 +03:00
Pascarelli Luigi Andrea
f5c57d1a44 Added style 2013-10-16 20:46:53 +03:00
Pascarelli Luigi Andrea
45985adf18 Added license 2013-10-16 20:46:53 +03:00
Pascarelli Luigi Andrea
edbb4ed7a4 Add i18n message 2013-10-16 20:46:53 +03:00
Pascarelli Luigi Andrea
fb2d9e3570 Update js function to jquery.1.10.x, added logo external bib service image, added mapconverter and configuration 2013-10-16 20:46:53 +03:00
Pascarelli Luigi Andrea
eacbe9a458 Added license 2013-10-16 20:46:53 +03:00
Andrea Bollini
067b9ef79b Bibliographic external database feature on submission - DS-1252 2013-10-16 20:46:05 +03:00
kstamatis
f257633ea3 remove unnecessary files + add licence in new files 2013-10-16 20:19:15 +03:00
Panagiotis Koutsourakis
65a3002ed1 Added SubmissionLookupOutputGenerator 2013-10-16 19:21:23 +03:00
Mark H. Wood
8ea030ed72 Spelling 2013-10-16 11:31:16 -04:00
Panagiotis Koutsourakis
e5702966bc Refactored the ItemSubmissionLookupDTO to use a list of Records internally 2013-10-16 18:25:29 +03:00
Mark H. Wood
06a5834fb1 Back to old commons-httpclient for compatibility with other dspace-api code 2013-10-16 10:29:15 -04:00
Mark H. Wood
b03a1d942a Rename DataCiteIdentifierProvider to EZIDIdentifierProvider to better reflect its role and disentangle from another DataCite provider in development. 2013-10-16 10:29:15 -04:00
Mark H. Wood
7ba9088bb3 Don't upchuck an NPE if a metadata value is null 2013-10-16 10:29:15 -04:00
Mark H. Wood
39702c923f Default publication year to the current year 2013-10-16 10:29:15 -04:00
Mark H. Wood
7a9e7703e1 Define a default publisher for unpublished Items, since DataCite requires a publisher. 2013-10-16 10:29:15 -04:00
Mark H. Wood
3ecc873071 Document EZID provider's configuration. 2013-10-16 10:29:15 -04:00
Mark H. Wood
9dbfc26e26 Make EZIDRequest more forgiving w.r.t. trailing slash on shoulder, or none, and add some debug logging. 2013-10-16 10:29:15 -04:00
Mark H. Wood
b8cc7ff79e Add a map of value transformers to the crosswalk, for data which must be rewritten to fit the service's schema. 2013-10-16 10:24:55 -04:00
Mark H. Wood
62c8d98747 Preserve causation chain in InstallItem 2013-10-16 10:24:55 -04:00
Mark H. Wood
b8ebcb2d1f Fixes from testing 2013-10-16 10:24:55 -04:00
Mark H. Wood
41fdee0feb Begin debugging recent changes. 2013-10-16 10:23:05 -04:00
Mark H. Wood
bea4ed34a1 Split off EZID operations from DSpace provider 2013-10-16 10:23:05 -04:00
Mark H. Wood
fac970d4e5 More EZID factoring 2013-10-16 10:21:45 -04:00
Mark H. Wood
6c2630d028 Factor out basic EZID operations 2013-10-16 10:21:45 -04:00
Mark H. Wood
8724183a11 Document the IdentifierProvider interface 2013-10-16 10:17:26 -04:00
Mark H. Wood
78442e810e Start an IdentifierProvider for DataCite EZID 2013-10-16 10:14:33 -04:00
Mark H. Wood
fcfbd89229 Merge pull request #312 from tuub/DS-1535
DS-1535: DOI support for dspace-api
2013-10-16 07:04:59 -07:00
Pascal-Nicolas Becker
4d2600c5ce Bugfix DIM2DataCite: Change how to handle language codes. 2013-10-16 15:37:35 +02:00
Marsa Haoua
ada63be883 Dois with status value: NULL, are deleted in Database. We don't need to send an online delete. 2013-10-16 15:37:35 +02:00
Kostas Stamatis
cf0d5b39fa cleanup SubmissionLookupService 2013-10-16 15:22:20 +03:00
Panagiotis Koutsourakis
ca96421b53 Merge pull request #3 from lap82/DS-1688
[DS-1688] Merge with new look&feel for JSPUI
2013-10-16 03:58:04 -07:00
Richard Jones
d8210a74a6 fix description string in web.xml 2013-10-16 11:01:41 +01:00
Richard Jones
cdba10a28e port latest swordv2 version to DSpace 2013-10-16 10:34:50 +01:00
Pascal-Nicolas Becker
62e5b6f2f8 Enhanced DOIOrganiser.
Added options to delete and update all DOIs, queued for the specified
process.
Enhanced output of list option.
Small changes on some message (f.e. on help message).
2013-10-16 09:27:21 +02:00
Pascal-Nicolas Becker
ee9f80a1ba Add a DOIConsumer to update doi metadata when item metadata changes. 2013-10-16 09:27:21 +02:00
Pascal-Nicolas Becker
066c4a4223 Add metadata after DOI registered at registration agency.
Add DOI to metadata of an item not before it is registered at
registration agency. After registration was successfull a new
DOI should be resolvable within a few minutes.

Don't change deleted DOIs. Added DOIIdentifierException.DELETED as new
error code. It will be thrown if someone tries to regsiter or reserve
a DOI that was deleted before.
2013-10-16 09:27:20 +02:00
Pascal-Nicolas Becker
5fbca5c763 DIM2DataCite.xsl: Changed how to find DOIs in metadata.
When we changed DOIIdentifierProvider to add DOIs to item metadata as
operable URLs, we forgot to change DIM2DataCite.xsl accordingly.
2013-10-16 09:27:20 +02:00
Pascal-Nicolas Becker
3504fb73de Added DOI.RESOLVER instead of using "http://dx.doi.org" everywhere. 2013-10-16 09:27:20 +02:00
Pascal-Nicolas Becker
1dd5538d3b Typos. 2013-10-16 09:27:20 +02:00
Pascal-Nicolas Becker
9e123dc4cf Unit test for DOIIdentifierProvider. 2013-10-16 09:27:20 +02:00
Pascal-Nicolas Becker
b99e010173 Add DOI in form of an operable URL to Item metadata.
We add DOIs as dc.identifier.uri like it is done with handles.
2013-10-16 09:27:20 +02:00
Pascal-Nicolas Becker
f3e3242099 Added method to extract DOI out of external format. 2013-10-16 09:27:20 +02:00
Pascal-Nicolas Becker
7c15561650 DOIIdentifierException use default message if no message is set. 2013-10-16 09:27:20 +02:00
Marsa Haoua
69233ef4ba Fix delete from DOIOrganiser 2013-10-16 09:27:20 +02:00
Marsa Haoua
7d68f9936a Add delete option. Delete DOI on command line 2013-10-16 09:27:20 +02:00
Marsa Haoua
0251a02190 Add update status values for DOI table 2013-10-16 09:27:20 +02:00
Pascal-Nicolas Becker
c76e2c4a6a Add table DOI to database while update from DSpace 3 to 4. 2013-10-16 09:27:20 +02:00
Pascal-Nicolas Becker
a081da4333 Bug fixing DOIIdentifierProvider.
If an Item had more then one DOI delete(Context, DSpaceObject) didn't
delete all of them.
If supports(null) or supports("") was called a IllegalArgumentException
was thrown. No it returns false as expected.
2013-10-16 09:21:28 +02:00
Marsa Haoua
cd2f2feffa Added license header to DOIIdentifierException. 2013-10-16 09:21:28 +02:00
Pascal-Nicolas Becker
cbc0efd090 Don't use DOI support per default. 2013-10-16 09:21:28 +02:00
Pascal-Nicolas Becker
35ba75cb50 Set default values for missing mandatory fields in DIM2DataCite crosswalk. 2013-10-16 09:21:28 +02:00
Marsa Haoua
6faaf76bf3 New command line option to turn the command line output off 2013-10-16 09:21:28 +02:00
Pascal-Nicolas Becker
72dde37ace DOIOrganiser uses --help as default. Changed launcher.xml
DOIOrganiser prints help, if no options were used.
DOIOrganiser can be called by [dspace-install]/bin/dspace doi-organiser
now.
2013-10-16 09:21:28 +02:00
Pascal-Nicolas Becker
cc396c7269 Code review of DataCiteConnector.
* Coding Conventions
 * use of reserveDOI for updateMetadata instead of code duplication
 * some less important simplifications
2013-10-16 09:21:28 +02:00
Pascal-Nicolas Becker
407627e9d2 Check if a DOI is reserved before it get registered. 2013-10-16 09:21:28 +02:00
Pascal-Nicolas Becker
f036847a0b Changed DOI status from int to Integer.
DatabaseManager.queryTable(Context, String, String, Object[]) uses the
toString() method. So we use Integer instead of ints for the status of a
DOI.
2013-10-16 09:21:28 +02:00
Marsa Haoua
8590258bb7 Some Exception Handling and change value from DOI status from DOI table 2013-10-16 09:21:28 +02:00
Pascal-Nicolas Becker
075ec63470 DataCiteConnector: remove cache.
We introduced the cache to get better performance while reserving and
registering DOIs. To be able to process new submissions independently
from the status of the registration agency API we introduced a cron job
that registers and reserves doi. It is not important if the cronjob is
some seconds faster or not. The cache brought some new problems and
makes the code more complicated. As it is not needed any more I removed
it.
2013-10-16 09:21:28 +02:00
Pascal-Nicolas Becker
e10fac21f0 Continued refactoring of DOIOrganiser. 2013-10-16 09:21:28 +02:00
Pascal-Nicolas Becker
3dd5e6df5f Fix typo in method name. 2013-10-16 09:21:28 +02:00
Pascal-Nicolas Becker
dc4e53b10e Added method to DOIOrganiser to send alert mails. 2013-10-16 09:21:27 +02:00
Pascal-Nicolas Becker
bd92496a7d Started Refactoring of DOIOrganiser. Code cleanup. 2013-10-16 09:21:27 +02:00
Marsa Haoua
13f35891d4 Little Convention Code 2013-10-16 09:21:27 +02:00
Marsa Haoua
7fa57d84ca Perform some conventions code and fixed little bugs 2013-10-16 09:21:27 +02:00
Pascal-Nicolas Becker
404bc1c6bf Simpliefied code of DOIIdentifierProvider. Enhanced Exception handling. 2013-10-16 09:21:27 +02:00
Pascal-Nicolas Becker
66c99dfae0 Use DOIIdentifierException in org.dspace.identifier.DOI. 2013-10-16 09:21:27 +02:00
Pascal-Nicolas Becker
9b3e23efb0 Do not return booleans on several DOI actions.
Booleans returned on reserving, registering, updating metadata and
deleting of a doi where used to signal a problem with metadata
convertion. This should be done with the enhanced Exception handling.
2013-10-16 09:21:27 +02:00
Pascal-Nicolas Becker
fdf19de9a0 Add some more error codes and a method to get the error code. 2013-10-16 09:21:27 +02:00
Pascal-Nicolas Becker
6b611a721a Started to enhance exception handling. 2013-10-16 09:21:27 +02:00
Pascal-Nicolas Becker
37fe97c6cb Created DOIIdentifierException to enhance exception handling. 2013-10-16 09:21:27 +02:00
Pascal-Nicolas Becker
f249644495 Moved DOIIdentifierProvier.formatIdentifier to DOI.formatIdentifier. 2013-10-16 09:21:27 +02:00
Marsa Haoua
edc4ceaa28 Update metadata for a given DOI Identifier or an Item or a Handle 2013-10-16 09:21:27 +02:00
Marsa Haoua
66be510a64 We build a cron Job for Doi identifier reservation and registration. 2013-10-16 09:21:27 +02:00
Pascal-Nicolas Becker
d44320305c Code cleanup. 2013-10-16 09:21:27 +02:00
Pascal-Nicolas Becker
ba906ddaba Little change on some comments and a log message. 2013-10-16 09:21:27 +02:00
johlton
4bc7b2e58c Reviewed comments and messages. Corrected typos and grammar. 2013-10-16 09:21:27 +02:00
Pascal-Nicolas Becker
f27fe22f62 Remove stub EZIDConnector and old test class. 2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
08416a3009 Repaird method to delete DOIs. 2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
0dcc241e29 Documented spring settings for DOIIdentifierProvider.
Added comments so that DOIIdentifierProvider will be used only when needed.
2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
fbc1deedea Added proderties for DOIIdentifierProvider. 2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
ee5f1b17de Changed DIM2DataCite.xsl.
Now it fills the optional fields of DataCite too.
2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
e9516b4f3a Some more clean up. 2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
86af008796 Changed ExceptionHandling in DOIIdentifierProvider.
DOIIdentifierProvider and DataCiteConnector will throw more
IdentifierExceptions and less other Exceptions, like RuntimeException,
IllegalArgumentException or IllegalStateExceptions.
IdentifierServiceImpl catches IdentifierException but not the other
ones. If IdentifierServicesImpl catches an IdentiferException it may go
on with the next IdentifierProvider and not the complete user action
will stop.
2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
8adbec5538 Added method to register DOIs. Added Debug information. 2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
a367c9ca6a Removes stub method to purge cache out ouf EZIDConnector. 2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
b3e6caffc8 Changed handling of cache in DataCiteConnector.
The cache don't need to be purged manually. It will be purged
automatically after some time. The cache holding time can be configured
the default is set to 120 sec.
2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
b57baab397 Added a method to delete metadata of a DOI. 2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
0b3ad8456f Added method to reserve a DOI. 2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
188a018653 DOIIdentifierProvider loads prefix out of dspace.cfg. 2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
a4fc1ae4b2 Enhanced DIM2DataCite.xsl (dissemination crosswalk). 2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
63a5ae626b DataCiteConnector.sendMetadataPostRequest(...) implemented. 2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
8a006faf4a Added method to check if a DOI is reserved. 2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
9ef0319c19 Adds method to send http delete to DataCite.
Cleanedup code to eleminate code duplication: Added a method to send
HTTP requests and to parse the response into a DataCiteResponse object.
The request speficie methods creates the request and uses the new
message to send them to Datacite.
2013-10-16 09:21:26 +02:00
Pascal-Nicolas Becker
b8752e0ddc Implements methods to connect to DataCite.
Refactored the method to send get requests to DataCite so it can be used
for the metadata and the doi api.
Implemented a method to send a post request to the doi api.
2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
04863a996e Cleanup DOI extension. 2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
40af20407b Repair broken merge.
Forgot to merge the dependency to org.apache.httpcomponents.
2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
3f87ed2535 Restructured DOI extension.
Renamed DOIDataCiteIdentifierProvider into DOIIdentifierProvider.
Added interface org.dspace.identifier.doi.DOIConnector to be able to
support different registration agencies.
Moved spring configuration into
dspace/config/spring/api/identifier-service.xml.
Began development of org.dspace.identifier.doi.DataCiteConnector.
2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
8695a69228 Adds method resolveUrltoHandle to HandleManager.
Simple method to get the handle to a url constructed by the
HandleManager before.
2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
b97a80804f Continued implementation of DOIDataCiteIdentifierProvider.
Implemented isDOIRegistered(...).
Change the API a littlebit as some protected methods needs more
arguments like a DSpace Context.
2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
264de565ca Continued work on DOIDataCiteIdentifier.
* Added a lot of functionality to DOIDataCiteIdentifierProvider.
 * Added a table Doi to the database.
 * Added use of Database table doi to DOIDataCiteIdentifierProvider.
 * Moved DOIDataCiteIdentifierProvider.DOIToExternalForm(String) to DOI.DOIToExterenalForm.
2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
1ceeee1d4f Reconsidered concept for DOIDataCiteIdentifierProvider.
Copied DOIIdentifierProvider to DOIDataCiteIdentifierProvider and worked
it over.
2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
84bd4fbcef Fix: forgotten to change logger while renaming DOIIdentifierProvider to
EZIDRegistrationAgency.
2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
ca243984d2 Set the DOIRegistrationAgency by spring dependency injection. 2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
9cf851b48d First version of DataCiteRegistrationAgency. 2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
08bba54d9a First version of DIM2DataCite crosswalk. 2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
3a32f688ea Removed crosswalk from abstract RegistrationAgency as it is an
implementation detail and not something we should manage in an
interace. Added it to EZIDRegistrationAgency where it belongs to.
2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
57db5a8ff3 Added javadoc documentation. 2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
a9ea5bdb00 The registrationAgency DOIIdentifierProvider will use can be configured
in dspace.cfg now. I did not use spring dependcy injection as I wanted
the registrationAgency to be configured by dspace.cfg instead of a
spring configuration file.

Changed some javadoc too.
2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
54713c81e2 Clarified API: every DOI exchanged between DOIIdentifierProvider and any
RegistrationAgency should be in the following format: doi:10.123/456.
Methods from DOIIdentifier accepts DOIs as string attribute in the
following formats: as naked DOIs (f.e. 10.123/456), DOIs in external
format (f.e. http://dx.doi.org/10.123/456) and in the format described
above (doi:10.123/456).

Removed CFG_SHOULDER from DOIIdentifier, EZIDRegistrationAgency has to
care about the format an identifier needs for the EZID API. A DOI always
has a prefix (f.e. 10.123) and a suffix (f.e. 456)!
2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
708464fd72 Moved configurationService and parentService from EZIDRegistrationAgency
to RegistrationAgency as probably every registration agency has to read
some configuration properties.

Added the right license header.
2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
867969dade There are several DataCite members that can be used as DOI registration
agency. EZID is only one of them. Started refactoring of
org.dspace.identifier.DataCiteIndentifierProvider. Created
org.dspace.idenfitifer.DOIIdentifierProvider, the abstract class
org.dspace.identifier.doi.RegistrationAgency and moved all EZID specific
code to org.dspace.identifier.doi.EZIDRegistration Agency.
The refactoring is not finished yet! It still misses autowiring of the
registration Agency and some smaller changes. Use
org.dspace.identifier.DataCiteIdentifierProvider as long as the
refactoring is not finished.

Conflicts:
	dspace-api/src/main/java/org/dspace/identifier/IdentifierProvider.java
2013-10-16 09:21:25 +02:00
Pascal-Nicolas Becker
864bd83c82 Package org.dspace.identifier.ezid should be renamed to org.dspace.identifier.doi. Until refactoring is finished both packages will exist. Copied files from org.dspace.identifier.ezid to org.dspace.identifier.doi. 2013-10-16 09:21:24 +02:00
Mark H. Wood
a76718850c More javadoc cleanup 2013-10-16 09:21:24 +02:00
Mark H. Wood
d11c3cf29f License headers 2013-10-16 09:21:24 +02:00
Mark H. Wood
1d6aa272db Cleanup and document a bit 2013-10-16 09:21:24 +02:00
Mark H. Wood
e41eb134ed Fixes from testing
Conflicts:
	dspace-api/src/main/java/org/dspace/identifier/DataCiteIdentifierProvider.java
	dspace-api/src/test/java/org/dspace/identifier/DataCiteIdentifierProviderTest.java
2013-10-16 09:21:24 +02:00
Mark H. Wood
98ee2d7e43 Begin debugging recent changes.
Conflicts:
	dspace-api/src/main/java/org/dspace/identifier/ezid/EZIDResponse.java
2013-10-16 09:21:24 +02:00
Mark H. Wood
ab684edfc0 Split off EZID operations from DSpace provider
Conflicts:
	dspace-api/src/main/java/org/dspace/identifier/DataCiteIdentifierProvider.java
	dspace-api/src/main/java/org/dspace/identifier/ezid/EZIDRequest.java
2013-10-16 09:21:24 +02:00
Mark H. Wood
5cd1d361a7 More EZID factoring
Conflicts:
	dspace-api/src/main/java/org/dspace/identifier/DataCiteIdentifierProvider.java
	dspace-api/src/main/java/org/dspace/identifier/ezid/EZIDRequest.java
2013-10-16 09:21:24 +02:00
Mark H. Wood
edf12bd3e9 Use ServiceManager to get configured test instances 2013-10-16 09:21:24 +02:00
Mark H. Wood
907154bb23 start making the tests work 2013-10-16 09:21:24 +02:00
Mark H. Wood
1f663effde Externalize defaults some more 2013-10-16 09:21:24 +02:00
Mark H. Wood
d79038101c Externalize defaults 2013-10-16 09:21:24 +02:00
Mark H. Wood
4a6df74a2f Flesh out the DOI code 2013-10-16 09:21:24 +02:00
Mark H. Wood
b8207ea8f5 Document the IdentifierProvider interface
Conflicts:
	dspace-api/src/main/java/org/dspace/identifier/IdentifierProvider.java
2013-10-16 09:21:24 +02:00
Mark H. Wood
e5d53f8f43 Add initial code 2013-10-16 09:21:24 +02:00
kstamatis
bcb48cec70 add modifiers + support record extension on MultipleDataLoader 2013-10-15 23:45:46 +03:00
Mark H. Wood
4ebe7217d9 Merge pull request #320 from helix84/DS-1690-ldap-group-from-attr
DS-1690 assign DSpace group based on LDAP attribute value
2013-10-15 11:04:25 -07:00
Mark H. Wood
1d8838baa0 [DS-1502] Don't let XSL-T decode entities that we wrote inside <script> tags 2013-10-15 12:58:13 -04:00
Mark H. Wood
3361142045 Merge pull request #232 from mwoodiupui/DS-1456
[DS-1456] "dspace version" command-line script
2013-10-15 08:55:59 -07:00
Mark H. Wood
4e98c4cbe2 Too many doublequotes in oracle update-sequences patch (by visual inspection). 2013-10-15 11:51:57 -04:00
Pascarelli Luigi Andrea
3372386ffb Modified success message 2013-10-15 16:56:09 +02:00
Pascarelli Luigi Andrea
2c20c7c2c7 Restyling jsp for new jspui 2013-10-15 16:54:49 +02:00
Pascarelli Luigi Andrea
666de4c17e Merge with master and add bte feature to main admin menu 2013-10-15 16:27:09 +02:00
Mark H. Wood
bd102728b7 Inherit SLF4J version 2013-10-15 09:55:57 -04:00
Mark H. Wood
33215bb18f Merge remote-tracking branch 'upstream/master' into DS-1456 2013-10-15 09:27:30 -04:00
Kostas Stamatis
4f861cb02c bte in submission workflow 2013-10-15 15:46:56 +03:00
Pascarelli Luigi Andrea
7886088060 Merge with master and restyling versioning jsp 2013-10-15 12:24:20 +02:00
Peter Dietz
87c427b903 Clean up README 2013-10-14 12:05:55 -04:00
Andrea Bollini
d1f9b49772 Merge pull request #321 from CILEA/bootstrap
[DS-1675]  New JSPUI look & feel
2013-10-14 07:24:29 -07:00
Andrea Bollini
73912ff1b7 Use proper style for hint in collection creation wizard 2013-10-13 18:20:01 +02:00
Andrea Bollini
339dc7f014 Switch to the new bootstrap theme by default 2013-10-13 18:11:06 +02:00
Andrea Bollini
f83c0ef64f Move old template files in a legacy subfolder for backup 2013-10-13 18:04:53 +02:00
Andrea Bollini
e76a2ddc88 Allow action button to fill all the space / unvalided message is a danger alert 2013-10-13 17:59:53 +02:00
Andrea Bollini
978e7334a7 Simplified styling of Sherpa Romeo 2013-10-13 17:54:50 +02:00
Andrea Bollini
3e3e9ca736 Fix layout for controlled vocabulary 2013-10-13 17:16:38 +02:00
Andrea Bollini
ab193adafa Use proper style for hints 2013-10-13 16:59:59 +02:00
Andrea Bollini
a440235d29 Merge branch 'bootstrap' of https://github.com/CILEA/DSpace into bootstrap 2013-10-13 16:43:13 +02:00
Andrea Bollini
b13f6837cb Add style to the export button 2013-10-13 16:42:52 +02:00
Andrea Bollini
23bc970a03 Restylish browse control panel 2013-10-13 16:42:24 +02:00
Pascarelli Luigi Andrea
255ee71b5e Adjust metadata schema jsp 2013-10-13 01:35:13 +02:00
Pascarelli Luigi Andrea
9a1a484282 Adjust profile jsp 2013-10-13 01:27:33 +02:00
Pascarelli Luigi Andrea
52606952df Restyling item-map tools 2013-10-13 00:30:09 +02:00
Pascarelli Luigi Andrea
829a20f8e0 Adjust edit item form 2013-10-12 23:17:50 +02:00
Pascarelli Luigi Andrea
f004990abc Restyling error file upload in submission 2013-10-12 22:45:12 +02:00
Pascarelli Luigi Andrea
5c992f4b5f Adjust romeo/sherpa sidebar element in submission 2013-10-12 22:41:13 +02:00
Andrea Bollini
0be23df21e Improved layout when authority control is enabled 2013-10-12 16:43:49 +02:00
Andrea Bollini
b90c7724f8 Restylish input type list 2013-10-12 15:26:43 +02:00
Andrea Bollini
81badab9c2 Remove empty help message 2013-10-12 07:04:15 +02:00
Andrea Bollini
01a77be30a Restylish confirm delete community page 2013-10-12 07:03:47 +02:00
Andrea Bollini
703e813124 Bug fix: wrong name for delete button 2013-10-12 07:03:23 +02:00
Andrea Bollini
7667e8abe6 Added icon to actions button 2013-10-12 06:57:04 +02:00
Andrea Bollini
7bd35f8e7e Uniform markup for action button 2013-10-12 06:42:54 +02:00
Andrea Bollini
7fcc4e3f11 Improved TwoBox layout and fix unbalanced <div> 2013-10-12 06:14:01 +02:00
Andrea Bollini
c268c99015 Merge pull request #291 from terrywbrady/patch-1
See https://jira.duraspace.org/browse/DS-1644
2013-10-11 14:23:37 -07:00
Andrea Bollini
121b449c71 Merge pull request #246 from zuki/DS-1212
[DS-1212] Export all collections of a community recursively in ItemExport
2013-10-11 14:20:13 -07:00
Andrea Bollini
b217397d9e Make collection creation wizard more uniform 2013-10-11 20:05:38 +02:00
Andrea Bollini
db49abe445 Fix NPE when there are subcommunities 2013-10-11 20:05:01 +02:00
Andrea Bollini
2ca2eae5cd Fix creation community layout 2013-10-11 19:46:46 +02:00
Andrea Bollini
71073e4c78 Removing unnecessary center and fix layout on IE 2013-10-11 19:38:42 +02:00
Andrea Bollini
b960f5ebe0 Resized input to the right size for username/password 2013-10-11 19:29:10 +02:00
Pascarelli Luigi Andrea
13b8136315 Adjust layout submission with authority control field 2013-10-11 16:50:24 +02:00
Mark H. Wood
7d21f49c42 Merge pull request #307 from tuub/DS-1677
DS-1677 While registering a specified identifier IdentifierServiceImpl doesn't check if an IdentifierProvider supports it
2013-10-11 07:50:06 -07:00
Mark H. Wood
cab7ba1250 Merge pull request #301 from mwoodiupui/DS-1667
[DS-1667] Remove deprecated LoadDSpaceLNIConfig servlet
2013-10-11 07:40:32 -07:00
Pascarelli Luigi Andrea
96c268f2fb Adjust login form pages 2013-10-11 11:53:55 +02:00
Andrea Bollini
1612022e72 Improved group-list 2013-10-11 11:06:04 +02:00
Pascarelli Luigi Andrea
010d84db0e Restyling curate jsp 2013-10-10 15:15:56 +02:00
Pascarelli Luigi Andrea
23a8e9f5a1 Restyling embargo jsp and tag class 2013-10-10 13:48:19 +02:00
Pascarelli Luigi Andrea
72c6b001de Fix wrong layout on twobox 2013-10-10 12:57:36 +02:00
Pascal-Nicolas Becker
c65f07d9a1 Enhanced the MultiRemoteDSpaceRepositoryHandlePlugin.
Removed dependency from dspace.core.ConfigurationManager.
Implemented property file containing the URLs of DSpace handleresolver.
Load the handle prefix from handle resolver instead of duplicating
configuration.
2013-10-10 11:55:46 +02:00
Andrea Bollini
f2ee5454ee Draft: Multi remote DSpace Repositories plugin for handle storage 2013-10-10 11:55:46 +02:00
Andrea Bollini
5e4aec7464 DS-1637 JSPUI implementation and small improvements (config / error code) 2013-10-10 11:55:46 +02:00
Pascal-Nicolas Becker
8434594700 Simplified API of handleresolver. 2013-10-10 11:55:10 +02:00
Pascal-Nicolas Becker
e7b6bc95c5 Adds version header to org.dspace.app.xmlui.aspect.handle.HandleResolverReader 2013-10-10 11:55:10 +02:00
Pascal-Nicolas Becker
3b3dca0b0c Serve information about handles as json over xmlui. 2013-10-10 11:55:10 +02:00
Pascarelli Luigi Andrea
5756157bcc Add css rules to show confidence icon 2013-10-10 11:53:01 +02:00
Pascarelli Luigi Andrea
a61b421bc7 Fix tag closure in edit-metadata submission 2013-10-10 09:39:36 +02:00
Hardy Pottinger
d429cdbfbb Merge pull request #302 from mwoodiupui/DS-1666
[DS-1666] RoleDisseminator fails to check for possible null email
2013-10-09 11:51:09 -07:00
Pascarelli Luigi Andrea
7722d987b3 Restyling suggest and edit-item jsp 2013-10-09 16:50:00 +02:00
Pascarelli Luigi Andrea
0109a06224 Added css custom rules for autoheight input file 2013-10-09 14:37:49 +02:00
Pascarelli Luigi Andrea
3eb54952ff Restyling collection wizard creation jsp 2013-10-09 13:20:07 +02:00
Pascarelli Luigi Andrea
41755075c5 Restyling all admin feature jsp 2013-10-09 11:34:24 +02:00
Pascarelli Luigi Andrea
3a6eb1b5f0 Restyling list-metadata-field jsp 2013-10-09 11:00:58 +02:00
Kostas Stamatis
ad810ee93a Merge branch 'DS-1688' of https://github.com/EKT/DSpace into DS-1688 2013-10-09 08:58:33 +03:00
kstamatis
50eaae0fda Support BTE batch import from administrative UI 2013-10-09 08:55:27 +03:00
Kostas Stamatis
4be888b087 Support for Endnote data loader 2013-10-09 08:44:32 +03:00
Kostas Stamatis
5624c97301 Fix typo 2013-10-09 08:36:50 +03:00
Pascarelli Luigi Andrea
4cd4b3ec38 Restyling authorize and metadata registry/field/format jsp 2013-10-08 17:18:45 +02:00
Pascarelli Luigi Andrea
7844485366 Restyling authorize community/collection jsp 2013-10-08 12:23:15 +02:00
Pascarelli Luigi Andrea
fda7ab3c8d Restyling eperson group confirm deletion jsp 2013-10-08 11:07:40 +02:00
Pascarelli Luigi Andrea
8922bbcb16 Restyling eperson and group jsp 2013-10-08 10:56:28 +02:00
Bram Luyten
8a37fc22b4 DS-1559 Empty dc fields causes page layout issues
Fixing a number of issues caused by empty metadata fields in Mirage
2013-10-08 08:45:10 +02:00
Andrea Bollini
90cb456909 Merge branch 'bootstrap' of https://github.com/CILEA/DSpace into bootstrap 2013-10-08 08:00:17 +02:00
Andrea Bollini
300f5aa9e8 Improved footer layout and i18n 2013-10-08 07:59:35 +02:00
Andrea Bollini
4596e41a9e Restylish edit community / i18n improvements 2013-10-08 07:50:14 +02:00
Andrea Bollini
9c72db30fa Improved item page layout 2013-10-08 06:49:45 +02:00
Peter Dietz
746e3de99f Remove module dependency on dspace-rest.jar, as per Anja's advice
Travis builds were failing due to missing org.dspace:dspace-rest:jar:classes:4.0-SNAPSHOT
2013-10-07 23:37:57 -04:00
Peter Dietz
3337434c85 Bitstream extends DSpaceObject. Also adding the mimeType to response 2013-10-07 23:23:35 -04:00
Peter Dietz
153c4cbdda Remove un-needed license file from dspace-rest path 2013-10-07 23:23:04 -04:00
Peter Dietz
33d7153f62 For handle lookup, return a (comm, coll, item, ...) instead of plain DSO
Also takes ?expand param too
2013-10-07 22:31:39 -04:00
Peter Dietz
a399cae31d Minor tweak to DSO to fix it to serialize to xml 2013-10-07 22:13:40 -04:00
Peter Dietz
6881e88fc5 Bump Jersey version from 1.8 to 1.17.1 2013-10-07 22:11:01 -04:00
Peter Dietz
2e678c11f1 Add DSpace license to code header 2013-10-07 21:50:46 -04:00
Peter Dietz
1b1f423011 Changed DSO ID to lowercase id, so we don't get duplicate id and ID when serialized 2013-10-07 20:55:39 -04:00
Hardy Pottinger
4b8768c735 Merge pull request #322 from tdonohue/DS-1528
Fix for DS-1528. Use 'maven-antrun-plugin' and native2ascii to encode UTF-8 chars before filtering
2013-10-07 15:10:03 -07:00
Peter Dietz
23e6ed2e8b Add some markdown to the REST readme 2013-10-07 17:32:22 -04:00
Peter Dietz
3759f31014 Update README with endpoint information 2013-10-07 17:19:37 -04:00
Tim Donohue
83b6629dd1 Fix for DS-1528. Use 'maven-antrun-plugin' and native2ascii to encode UTF-8 characters before filtering 2013-10-07 21:17:50 +00:00
Peter Dietz
d5e77e9f01 Cursory attempt at looking up object by its handle.
/rest/handle/1811/12345 returns a "DSpaceObject" with basic attributes,
client needs to follow the "link" to the real object...
2013-10-07 15:57:59 -04:00
Peter Dietz
45f58129a5 REST index "/" links out to some sample endpoints 2013-10-07 15:37:24 -04:00
Peter Dietz
cb4268bb45 Create a base DSO class that others extend, to DRY up some code... 2013-10-07 15:36:57 -04:00
Pascarelli Luigi Andrea
eb63f8fa9c Added missed license 2013-10-07 20:12:23 +02:00
Pascarelli Luigi Andrea
63241d5e88 Restyling eperson admin jsp 2013-10-07 17:51:27 +02:00
Pascarelli Luigi Andrea
14dd286b00 Restyling eperson main, metadata import 2013-10-07 17:28:30 +02:00
Andrea Bollini
1c6607eb45 Unbalanced div 2013-10-07 16:46:23 +02:00
Ivan Masár
e41d5818df DS-1690 assign DSpace group based on LDAP attribute value 2013-10-07 16:33:21 +02:00
Andrea Bollini
de9ff7c1c0 Merge branch 'bootstrap' of https://github.com/CILEA/DSpace into bootstrap 2013-10-07 16:03:10 +02:00
Pascarelli Luigi Andrea
ea9e073ecc Restyling curate admin page and index admin page 2013-10-07 15:49:10 +02:00
Pascarelli Luigi Andrea
4e3c73e698 Restyling all supervisor jsp 2013-10-07 15:09:14 +02:00
Andrea Bollini
4463a0c069 Merge branch 'bootstrap' of https://github.com/CILEA/DSpace into bootstrap 2013-10-07 14:50:42 +02:00
Andrea Bollini
b6645a489b Reorder registred user menu 2013-10-07 14:50:15 +02:00
Andrea Bollini
8433ec522b Fix btn width in edit collection 2013-10-07 14:47:58 +02:00
Pascarelli Luigi Andrea
a9a213d23f Restyling admin jsp 2013-10-07 14:47:34 +02:00
Andrea Bollini
22f2311ab3 Tools for collection management 2013-10-07 14:47:12 +02:00
Andrea Bollini
21930264c3 Restylish edit group 2013-10-07 14:46:02 +02:00
Andrea Bollini
98d13b204b Fix unbalanced div in community home 2013-10-07 14:45:21 +02:00
Pascarelli Luigi Andrea
c9c3fdb5b5 Restyling navbar-admin 2013-10-07 12:21:21 +02:00
Peter Dietz
0822c85863 Restricting sensitive metadata from view, i.e. provenance. 2013-10-06 15:01:02 -04:00
Peter Dietz
905ae72c87 Do authorization checks for collections, items, and bitstreams 2013-10-06 14:30:28 -04:00
Andrea Bollini
8b14da260d Minor twicks 2013-10-06 19:26:02 +02:00
Andrea Bollini
16545a6731 Minor twicks 2013-10-06 19:04:08 +02:00
Andrea Bollini
e9bb997fd7 Restylish submission last steps 2013-10-06 19:03:23 +02:00
Andrea Bollini
d4e4cb646f Restylish mydspace 2013-10-06 19:01:30 +02:00
Andrea Bollini
28255d8b4c Minor layout twicks 2013-10-06 19:00:25 +02:00
Peter Dietz
d241f26341 Authorization checks for Community, only show comms this user can see 2013-10-06 12:20:23 -04:00
Andrea Bollini
dc126c448d Restylish submission first steps 2013-10-05 19:45:53 +02:00
Andrea Bollini
cd102b983b Restylish submission first steps 2013-10-05 19:44:57 +02:00
Pascarelli Luigi Andrea
c96d3a3c53 Revert message bundle to fix erroneous entry and add versioning message 2013-10-05 19:36:19 +02:00
kstamatis
1ca34f7806 Support BTE batch import from administrative UI 2013-10-05 20:19:44 +03:00
Pascarelli Luigi Andrea
25de8a1b79 Finalize porting item version level from xmlui to jspui 2013-10-05 19:10:10 +02:00
kstamatis
c9041fceaf Support v0.9 of BTE 2013-10-04 23:30:57 +03:00
Peter Dietz
a5a7efe9a4 Item exposes its bitstreams 2013-10-04 08:08:00 -04:00
KevinVdV
7dbd71543b [DS-1683] Add spell checker to discovery 2013-10-04 10:26:38 +02:00
Andrea Bollini
77606cac4d Restylish community list 2013-10-04 01:32:57 +02:00
helix84
3db23c0987 Merge pull request #300 from MinDogger/DS-1510
Remove check for license in DIM-Handler and unneccessary if statement in...
2013-10-03 13:08:16 -07:00
helix84
c7b28e8dfd Merge pull request #313 from tdonohue/DS-1682
Fix for DS-1682 - Mirage theme header is hardcoded into XSLT.
2013-10-03 12:29:24 -07:00
Tim Donohue
163731f14a Fix for DS-1682 - Mirage theme header is hardcoded into XSLT. 2013-10-03 19:14:13 +00:00
Andrea Bollini
660dee921e Restylish the community home page 2013-10-03 09:24:39 +02:00
Andrea Bollini
9312d1c39e Bug fix: instance variable must be cleaned in doEndTag 2013-10-03 09:23:19 +02:00
Andrea Bollini
5db3f7231e Restyling collection pages 2013-10-03 06:53:00 +02:00
Andrea Bollini
1d04d4dd25 Make the discovery facet layout parametrizable 2013-10-03 06:37:32 +02:00
Andrea Bollini
95d54d355f Use local copy of DSpace logo 2013-10-03 06:35:15 +02:00
Peter Dietz
f58073ded7 Items have Bitstreams 2013-10-02 17:53:42 -04:00
Peter Dietz
08b99f62c4 Add a "link" element so that client, can follow to resource endpoint.
Still needs to include the contextPath i.e. /rest/
2013-10-02 15:50:37 -04:00
Peter Dietz
ca9b24805a Collection presents its list of Items 2013-10-02 11:05:44 -04:00
Terry Brady
9ef6bf6717 Included date values and effective flag on Context element 2013-10-01 12:11:25 -04:00
Terry Brady
e3653224ac Output policy data to METSRIGHTS only if a policy is effect (by date)
Test cases
1. No date present
2. Start date and end date present
3. Start date only present
4. End date only present
2013-10-01 10:12:52 -04:00
Andrea Bollini
0794666343 Switch to table class from bootstrap 2013-09-30 23:03:49 +02:00
Andrea Bollini
5376bd0b83 Basic layout for password-login 2013-09-30 22:52:29 +02:00
Andrea Bollini
6e69ebdc89 Draft community home revisted 2013-09-30 20:03:14 +02:00
Andrea Bollini
ac15a40573 Fix plaholder text for browse menu heading 2013-09-30 20:03:13 +02:00
Andrea Bollini
4b3d5ce849 Use local copy of jquery/jquery-ui 2013-09-30 20:03:13 +02:00
Andrea Bollini
86b3968dc6 Fix header padding 2013-09-30 20:03:11 +02:00
Andrea Bollini
5678ae6e34 Stylish the search form 2013-09-30 20:03:10 +02:00
Andrea Bollini
905feb344c Cleanup discovery search: results & facets 2013-09-30 20:03:10 +02:00
Andrea Bollini
262a1ec85b Bootstrap template improvements:
support for sidebar
add a banner
add an extra dspace-theme.css
2013-09-30 20:03:09 +02:00
Andrea Bollini
0c5c4cfe03 Better support for sidebar in layout tag 2013-09-30 20:03:08 +02:00
Andrea Bollini
b042056e91 Modern JSPUI template with bootstrap - home page 2013-09-30 20:03:08 +02:00
Andrea Bollini
de042228dc Enabling basic use of different template 2013-09-30 20:03:07 +02:00
Pascarelli Luigi Andrea
94a756bf4f Mapping servlet, first version of history servlet 2013-09-29 23:16:40 +02:00
Pascarelli Luigi Andrea
28c3086ee6 Added i18n message 2013-09-29 22:03:32 +02:00
Andrea Bollini
923695579b Merge pull request #274 from abollini/DS-1620
DS-1620 Facet date range is sometimes incorrect
2013-09-29 12:51:06 -07:00
Andrea Bollini
1837f1c013 Manage date < 1000 in date facet range and autocomplete 2013-09-29 21:32:37 +02:00
Andrea Bollini
45c2e4cf64 Enable indexing of date < 1000 2013-09-29 21:32:36 +02:00
Andrea Bollini
3c1b3b647d Merge pull request #289 from lap82/DS-1623
[DS-1623] Upgrade DSpace-SOLR to SOLR 4
2013-09-29 11:00:10 -07:00
Peter Dietz
d49342e2fa Add metadata keys to org.dspace.content.Community, and use those instead of strings 2013-09-29 11:41:54 -04:00
Peter Dietz
4cb6d2e02b Fix adding subComms, subColls to a Community. Add ?expand=all 2013-09-29 11:41:12 -04:00
Peter Dietz
ad6e12894c Adding "Lite" versions, i.e. LiteCollection, LiteCommmunity, for easy nest 2013-09-29 11:39:14 -04:00
Pascarelli Luigi Andrea
40939f8554 Start JSPUI porting of XMLUI Versioning, create servlet and start jsp 2013-09-29 00:30:52 +02:00
Terry Brady
a474722e77 Merge pull request #1 from mwoodiupui/patch-1-mark
Patch 1 amended with changes from Mark Wood
2013-09-27 10:34:43 -07:00
Peter Dietz
fa2765f540 Getting /community and /community/:id to output json/xml 2013-09-27 12:20:55 -04:00
Pascal-Nicolas Becker
7d831f9190 Check if an IdentifierProvider supports a specified identifier. 2013-09-27 18:07:22 +02:00
Pascarelli Luigi Andrea
65d9955168 Added style 2013-09-27 11:19:03 +02:00
Pascarelli Luigi Andrea
c88663c097 Added license 2013-09-27 09:19:37 +02:00
Pascarelli Luigi Andrea
45811ea3a5 Add i18n message 2013-09-27 00:15:07 +02:00
Pascarelli Luigi Andrea
8ca1f0cfe3 Update js function to jquery.1.10.x, added logo external bib service image, added mapconverter and configuration 2013-09-27 00:04:46 +02:00
Mark H. Wood
1f180e8a7b Consolidate all knowledge of whether a session is authenticated into AuthenticationUtil.
Catch all other XMLUI uses of session attribute "dspace.current.user.id"
(which is only set in JSPUI).

Factor testing of "dspace.user.effective" into a new static method to
deduplicate logic and encapsulate the meaning of this session attribute.
2013-09-26 16:25:10 -04:00
Pascarelli Luigi Andrea
4ab2a318f8 Added license 2013-09-26 21:50:41 +02:00
Andrea Bollini
9977b15550 Bibliographic external database feature on submission - DS-1252 2013-09-26 21:49:22 +02:00
Àlex Magaz Graça
45d702c42f DS-1536 having a DOT in handle prefix causes identifier.uri to be cut off when being created. 2013-09-26 16:29:05 +02:00
Andrea Bollini
159590c570 Merge pull request #283 from abollini/DS-1633
DS-1633 Sherpa/Romeo integration in the submission upload step
2013-09-26 06:09:44 -07:00
Andrea Bollini
08c365ccde Update the sherpa romeo response to the full response versions schema
Introduced support for publicher policies and restrictions about the pdf version
2013-09-26 12:59:08 +02:00
Andrea Bollini
3b6be9741f Renamed the sherpa/romeo activation parameter
Renamed to webui.xxx so to avoid configuration changes when the features will
become available also in XMLUI
2013-09-26 12:59:02 +02:00
Andrea Bollini
da364ac92d DS-1633 Sherpa/Romeo integration in the submission upload step 2013-09-26 12:58:56 +02:00
helix84
380a0be82c Merge pull request #296 from LongsightGroup/DS-1422
DS-1422 surround the file name with quotes
2013-09-25 14:02:40 -07:00
Àlex Magaz Graça
ae94bc4cba Rename aspects to avoid confusion about their responsibilities. 2013-09-24 13:23:07 +02:00
Àlex Magaz Graça
cdd4f36684 Remove the center search box in the home page for the XMLUI Lucene search aspect. 2013-09-24 13:23:07 +02:00
Àlex Magaz Graça
4b6322d361 Remove the center search box in the home page for the XMLUI Discovery aspect. 2013-09-24 13:23:06 +02:00
Mark H. Wood
9666b3bd42 Must also deal with null EPerson names when disseminating Groups. 2013-09-23 17:02:33 -04:00
Mark H. Wood
2eab4b0f8d [DS-1667] Remove deprecated LoadDSpaceLNIConfig servlet 2013-09-23 15:48:55 -04:00
Andrea Bollini
4a29536a8e Merge pull request #292 from abollini/DS-1639-jquery-iframe
DS-1639 AJAX progress bar for file upload in JSPUI
2013-09-21 08:26:17 -07:00
Andrea Bollini
1517e6f507 Enabling upload progress bar in UploadWithEmbargoStep 2013-09-21 17:11:41 +02:00
Andrea Bollini
f1120d7de5 renamed configuration parameter to switch off upload progress bar 2013-09-21 17:11:01 +02:00
Andrea Bollini
0a45c3038b DS-1639 AJAX progress bar for file upload in JSPUI 2013-09-21 16:44:40 +02:00
Andrea Bollini
b98b0f522a Merge pull request #298 from abollini/DS-1360
DS-1360 Porting advanced embargo function to JSPUI
2013-09-21 07:30:10 -07:00
Peter Dietz
366d14d618 Add shortcut "business" logic to get the key of a metadata field 2013-09-21 01:10:13 -04:00
Peter Dietz
436cd1ef23 Add name,archive-status, owningCollection to /items/:id, 2013-09-21 01:09:40 -04:00
Peter Dietz
95eefa7d6b Use modern route to set dspace.cfg and such 2013-09-21 01:08:45 -04:00
Peter Dietz
c0a2bc2459 Change REST to use current dspace-parent, not some maven import 2013-09-21 00:40:16 -04:00
Peter Dietz
ad17878325 Add /items/:id, thus far it has the metadata 2013-09-21 00:39:28 -04:00
Mark H. Wood
b7d34d03fe Don't emit an EMAIL element if EPerson has a null email 2013-09-20 15:30:22 -04:00
Peter Dietz
b8b9df5fbc Move pieces of Collection data into a "metadata" element:name, license, handle 2013-09-19 16:21:36 -04:00
Peter Dietz
b01c56fb36 Use contextPath to link out 2013-09-19 16:20:30 -04:00
Peter Dietz
4e0b10da75 Rest index links to available endpoints 2013-09-19 16:19:56 -04:00
Peter Dietz
c5445f84ba Renamed HelloWorld to RestIndex 2013-09-19 16:19:26 -04:00
Brian Freels-Stendel
e37add5771 Remove check for license in DIM-Handler and unneccessary if statement in DIM-Handler and collection-view. 2013-09-19 12:43:34 -06:00
Peter Dietz
b66428ae69 Add some install instructions to the DSpace-Rest readme 2013-09-19 13:42:20 -04:00
Peter Dietz
7425038360 Wire up dspace-rest to build a webapp 2013-09-19 13:36:06 -04:00
Peter Dietz
6ac5842e0a Add dspace-rest, using Jersey, light support for Collection / Community 2013-09-19 13:35:40 -04:00
Keiji Suzuki
03dc077c23 added a license header 2013-09-19 18:23:00 +09:00
Andrea Bollini
508597302a Avoid advanced form to repropose the first embargo policy after any confirm & add 2013-09-18 23:47:10 +02:00
Andrea Bollini
e3227af3cf Organize import, wrong header for end date column 2013-09-18 23:45:37 +02:00
Andrea Bollini
e647b72495 Renamed xmlui.submission.restrictstep.* configuration parameters to webui.submission.restrictstep.* 2013-09-18 23:44:34 +02:00
Sam Ottenhoff
9bb1a80a0e DS-1422 surround the file name with quotes 2013-09-16 11:46:15 -04:00
Andrea Bollini
051dfbaeec Renamed xmlui.submission.restrictstep.* configuration parameters to webui.submission.restrictstep.* 2013-09-16 10:48:35 +02:00
Andrea Bollini
e5deffc66d Merge remote-tracking branch 'helix84/zuki-embargo3-rebased' into DS-1360
Conflicts:
	dspace-api/src/main/resources/Messages.properties
	dspace-jspui/src/main/webapp/styles.css
2013-09-16 09:11:42 +02:00
Andrea Bollini
84e9f8e718 Merge pull request #286 from abollini/DS-1622
DS-1622 Porting of the Login As feature to JSPUI
2013-09-14 08:28:26 -07:00
Andrea Bollini
acbb9d9e4b Logout from a loginAs user will relogin the previous user 2013-09-14 17:13:53 +02:00
Andrea Bollini
9736723c91 Cleanup: this jsp is not an errorPage 2013-09-14 17:10:52 +02:00
Andrea Bollini
f60b8d86fd Merge pull request #1 from lap82/DS-1622
[DS-1622] Uniform property xmlui/jspui in webui.user.assumelogin
2013-09-08 08:04:49 -07:00
Pascarelli Luigi Andrea
6531068fed Add one error jsp with only a message, remove i18n for authorize exception message 2013-09-06 22:17:13 +02:00
Andrea Bollini
15ed2fb52c Merge pull request #241 rebased 2013-09-06 10:36:33 +02:00
KevinVdV
b3aca64759 [DS-1489] Back button in Discovery broken in Firefox 2013-09-05 18:10:53 +02:00
helix84
90c86da2ac Merge pull request #258 from rivaldi8/oai_dc-export-fix
DS-1602 fix
2013-09-05 02:37:54 -07:00
Pascarelli Luigi Andrea
00e929764b Add link to return at epeople admin page, Add throw only authorizeexception, Show custom errorpage in the case of superadmin loginas superadmin 2013-09-05 00:10:24 +02:00
helix84
167f069ade Merge pull request #255 from rradillen/DS-1235
DS-1235 IP authentication configuration does not apply netmask and CIDR ranges correctly
2013-09-04 13:42:58 -07:00
Richard Rodgers
3ae7117ec2 Adds MetadataWebService curation task 2013-09-03 14:45:18 -04:00
Andrea Bollini
10f031bfc7 Merge pull request #293 from lap82/DS-1646
[DS-1646] Resource Restriction Plugin typo "read" should be "read:"
2013-09-02 03:34:29 -07:00
Pascarelli Luigi Andrea
de92924783 Fix bug resource restriction query admin 2013-09-02 11:53:39 +02:00
Terry Brady
9fdbbf790d See https://jira.duraspace.org/browse/DS-1644
Replace the session variable being queried to determine if a forced redirect to https is needed.
2013-08-29 12:24:06 -04:00
Pascarelli Luigi Andrea
41981be0cf Fix npe on requiresIndexing 2013-08-27 22:47:31 +02:00
Pascarelli Luigi Andrea
2d116ad42f Fix context parameter log4j.configuration in solr web.xml 2013-08-25 16:27:09 +02:00
Andrea
ee18b8e85b Merge pull request #2 from KevinVdV/DS-1623
Logging mechanism fix
2013-08-25 07:14:31 -07:00
Pascarelli Luigi Andrea
09964593d4 Turn xmlui/jspui.user.assumelogin property to the new webui.user.assumelogin, add custom jsp error to show no loginas action reason 2013-08-24 03:01:31 +02:00
Pascarelli Luigi Andrea
df76e80570 Updated solrj version by get it from solr.version property 2013-08-23 23:32:17 +02:00
Mark H. Wood
1b1cdd0b7e [DS-1610] Don't keep Cocoon logs forever
Drop rotated logs after 14 rotations (two weeks).
2013-08-23 11:34:52 -04:00
bram-atmire
f039ee334a Merge pull request #154 from jsnshrmn/master
Improved thumbnail and branded preview filters as discussed in DS-1259
2013-08-23 08:04:44 -07:00
KevinVdV
448c1f1d30 Logging mechanism fix 2013-08-23 16:20:27 +02:00
Andrea
bbae8b04e1 Merge pull request #1 from KevinVdV/DS-1623
Fixing usage statistics logging by adding update chain for uid
2013-08-23 04:07:42 -07:00
KevinVdV
d219466277 Fixing usage statistics logging by adding update chain for uid 2013-08-23 12:51:35 +02:00
Pascarelli Luigi Andrea
b2f2fa82ac Update elasticsearch references to new version 2013-08-23 02:39:14 +02:00
Pascarelli Luigi Andrea
013f3f6f45 Update modules to solr4 2013-08-23 02:37:40 +02:00
Pascarelli Luigi Andrea
6458a2133d Update to new solr server object 2013-08-23 02:37:01 +02:00
Pascarelli Luigi Andrea
e0225e9467 Exception surrounded modified in solr4 2013-08-23 02:35:56 +02:00
Pascarelli Luigi Andrea
4679024bd6 Migrate statistics to solr4 2013-08-23 02:32:36 +02:00
Pascarelli Luigi Andrea
67fecc49a0 Migrate search to lucene 4 2013-08-23 02:31:16 +02:00
Pascarelli Luigi Andrea
19619fd855 Migrate discovery to solr4 2013-08-23 02:29:33 +02:00
Pascarelli Luigi Andrea
571587bc4b From version 4.3.0 aims for complete logging flexibility, it don't include logging jars in the .war file, so we provide them with the inclusion of commons-logging 2013-08-23 02:25:43 +02:00
Pascarelli Luigi Andrea
7fbb35a2e3 Add standalone lucene-queryparser (before went with core), added specific solr.version property, update elasticsearch to avoid references to lib <lucene4 2013-08-23 02:19:35 +02:00
Pascarelli Luigi Andrea
6e444a40d5 Migrate solr config files to solr4, add standalone log4j configuration (use log4j daily appender logger) for solr and reference it in web.xml, merge web.xml custom dspace with web.xml solr4 default 2013-08-23 02:12:00 +02:00
Mark H. Wood
782ba93946 Merge pull request #279 from mwoodiupui/DS-803
[DS-803] Make 'bin/dspace harvest -g' actually function.
2013-08-22 11:36:11 -07:00
Andrea Bollini
11081306e2 Merge pull request #288 from abollini/DS-1561
DS-1561 build.properties breaks alert.recipient
2013-08-21 14:28:59 -07:00
Andrea Bollini
7d6665fa61 DS-1561 build.properties breaks alert.recipient 2013-08-21 23:08:01 +02:00
Mark H. Wood
67614e2467 Merge pull request #210 from mwoodiupui/DS-1269
[DS-1269] EmailService to encapsulate the sending of mail
2013-08-21 13:05:09 -07:00
Ivan Masár
6139b828f8 DS-1119 clarify message: wildcard tool works on items and bitstreams 2013-08-21 21:21:07 +02:00
bram-atmire
7931f713f1 DS-1636 ignoring overlay directories generated by IntelliJ 2013-08-21 18:34:21 +02:00
Pascarelli Luigi Andrea
153737f777 DS-1622 Porting of the Login As feature to JSPUI 2013-08-21 14:42:42 +02:00
Pascarelli Luigi Andrea
eb38c78650 DS-1624 Porting reset password admin UI tool to JSPUI 2013-08-21 12:27:46 +02:00
Andrea Bollini
ca58b047e4 Fix service initialization and behaviour when authentication is required 2013-08-19 11:03:10 -04:00
Hélder Silva
55ed758507 DS-1634 XOAI OpenAire dc.relation filter is incorrect 2013-08-19 16:23:44 +02:00
helix84
a0124643e7 Merge pull request #281 from LongsightGroup/DS-1632
DS-1632 adding missing abstract into to XOAI QDC crosswalk
2013-08-19 02:03:05 -07:00
Andrea Bollini
9aeafac9ab DS-402 Performance and UI improvements for itemmap
This commit remove hardcoded reference to the author index for both discovery
and lucene provider. The admin is now able to perform a generic search or choose
from one of the customized indices or filters.
A very simple pagination, only next and previous buttons, has been introduced to
avoid performance issues with large result set.
Finally has been introduced optimization to perform the "Not owning collection"
check and, limitly to discovery, authorization check directly as part of the
search.
2013-08-18 19:50:37 +02:00
Keiji Suzuki
b94dc47aea DS-402 enable itemmap to search with both Lucene and Discovery 2013-08-18 19:50:18 +02:00
Keiji Suzuki
4d15b1c584 DS-402 changed item mapper search to case insesitive 2013-08-18 19:49:44 +02:00
Andrea Bollini
7613292b25 Fix security hole: any registred user was able to execute curation tasks
As the curation servlet is mapped on both paths tools and dspace-admin a smart
user could take advantage of the form parameters reserved to the main admin
console and redirect the request to the tools path. The main admin console need
to enforce security directly without rely only on the administrator filter
2013-08-17 15:17:18 +02:00
Keiji Suzuki
c1b54cd9b3 sort chaged messages 2013-08-17 15:52:11 +09:00
Keiji Suzuki
c31779a5a3 fix conflict 2013-08-17 15:42:46 +09:00
Keiji Suzuki
87a7c6fa0a move url from /dspace-admin to /tools for community/collection/item 2013-08-17 15:22:39 +09:00
Keiji Suzuki
74550d4b92 added a license notice 2013-08-17 11:37:03 +09:00
Keiji Suzuki
04384e6cb3 moved the variable result to the include file 2013-08-17 11:37:03 +09:00
Keiji Suzuki
c8945a641d extracts the common codes to a file and includes it. 2013-08-17 11:37:03 +09:00
Keiji Suzuki
291941aada [DS-1613] Porting curation task administrative UI to JSPUI 2013-08-17 11:37:03 +09:00
Sam Ottenhoff
272c0981e9 DS-1632 adding missing abstract into to XOAI QDC crosswalk 2013-08-16 11:08:14 -04:00
Mark H. Wood
640f0b4018 More silly whitespace 2013-08-15 17:01:18 -04:00
Mark H. Wood
35cf357951 [DS-803] Make 'bin/dspace harvest -g' actually function.
And my usual whitespace cleanup.
Also make org.dspace.harvest.OAIHarvester.verifyOAIHarvester more rugged.
2013-08-15 17:01:18 -04:00
abollini
3903d379f2 Merge pull request #280 from zuki/DS-831-2
[DS-831] Recent items addon : Listing of most recently added items to DSpace
2013-08-15 10:13:30 -07:00
Mark H. Wood
f70c72893e Add some imports lost in conflict resolution after rebasing 2013-08-15 10:56:30 -04:00
Mark H. Wood
0b16ea03a5 Remove imports no longer used 2013-08-15 10:30:33 -04:00
Mark H. Wood
4c40b3980a Make DSpace actually use EmailService 2013-08-15 10:29:30 -04:00
Mark H. Wood
c3ce713da2 Add configuration setting to name the mail Session object to be sought from JNDI 2013-08-15 10:27:57 -04:00
Mark H. Wood
c4e6a6ecd1 Get tests to run 2013-08-15 10:27:56 -04:00
Mark H. Wood
3c01798c33 Clean up unused imports 2013-08-15 10:27:56 -04:00
Mark H. Wood
3374491d2f Copy service code from abandoned DS-1182 attempt. 2013-08-15 10:27:56 -04:00
Alan Orth
e8b0dcce3c [DS-1629] Incorrect Java Vendor string in XMLUI Control Panel 2013-08-15 13:32:30 +02:00
Keiji Suzuki
a90f8cf61a add a plugin comment for Lucene 2013-08-15 11:14:01 +09:00
zuki
287367e865 Merge pull request #2 from abollini/DS-831
removed unnecessary configuration options and move topcommunties in a separate processor
2013-08-14 18:44:43 -07:00
Jason Sherman
160eb19d45 Update BrandedPreviewJPEGFilter.java
Working to address failed to convolve bug.
2013-08-14 17:01:29 -05:00
Jason Sherman
5ea7fc0891 Update JPEGFilter.java
Working to address failed to convolve bug.
2013-08-14 16:59:53 -05:00
Mark H. Wood
44f53a2e38 Merge pull request #213 from mwoodiupui/DS-1390
[DS-1390] stage 1: move license, email texts, news out of ConfigurationManager
2013-08-14 13:17:18 -07:00
Andrea Bollini
b9858f2f74 DS-1627 Ability to turn off TopCommunities list in site home page 2013-08-14 12:52:35 +02:00
Andrea Bollini
74dfa640b6 Removing unnecessary configuration options 2013-08-14 12:52:18 +02:00
Keiji Suzuki
86375a3030 re-implement the functionarity to display recent submission on site home 2013-08-14 11:08:58 +09:00
Tim Donohue
a263ba72cb Merge pull request #277 from KevinVdV/DS-1625
[DS-1625] Non public LNI broken when using password authentication
2013-08-13 12:02:31 -07:00
Mark H. Wood
5b4d3830c5 Merge pull request #276 from mwoodiupui/DS-792
[DS-792] When 'mail.server.disabled = true' put text of email in log file
2013-08-13 05:47:39 -07:00
Mark H. Wood
8cbfd30b4e [DS-1618] dspace-parent POM needs cleanup.
Added an empty parent.relativePath to silence bogus parent-mismatch warnings.

Added a description, so that we don't inherit a confusing unrelated one from org.sonatype.oss:oss-parent.
2013-08-13 08:43:05 -04:00
KevinVdV
f136628b27 Merge pull request #278 from zuki/DS-1626
[DS-1626] Duplicate dependency causes NoClassDefFoundError
2013-08-13 01:11:14 -07:00
Keiji Suzuki
989a42b157 delete a duplicate dependency 2013-08-13 17:07:45 +09:00
KevinVdV
30ac59eb3c [DS-1625] Non public LNI broken when using password authentication 2013-08-13 10:03:45 +02:00
Tim Donohue
1fc5eac3c6 Merge pull request #275 from mwoodiupui/DS-1569
[DS-1569] Don't try to emit a password if there is none.
2013-08-12 09:45:49 -07:00
Mark H. Wood
cdf300c2c5 Merge pull request #228 from mwoodiupui/DS-1563
[DS-1563] ConfigurationService recognize -Ddspace.configuration= as ConfigurationManager does.

No comments for three months, and it's a trivial change.
2013-08-12 07:11:58 -07:00
Raul Ruiz
6f087b1ba7 DS-1571 DSpace discovery CRITICAL bug when date facet produce range 2013-08-12 14:21:33 +02:00
Keiji Suzuki
5a04e9bad9 DS-1188 add itemlist to collection home page 2013-08-12 11:34:45 +02:00
abollini
babc80bc5d Merge pull request #273 from abollini/DS-1617
DS-1617 Switch to SOLRBrowseDAOs implementation as default in DSpace 4.0
2013-08-10 05:37:10 -07:00
Andrea Bollini
027072068a DS-1619 Unable to remove items after enabling SOLRBrowseDAOs 2013-08-10 14:21:27 +02:00
Mark H. Wood
6a1973e207 Merge pull request #267 from KevinVdV/DS-1612
[DS-1612] Merge DSpace/dspace-solr project into DSpace/DSpace
2013-08-09 07:17:55 -07:00
Andrea Bollini
3b063ca673 DS-1617 Switch to SOLRBrowseDAOs implementation as default in DSpace 4.0 2013-08-08 16:46:12 +02:00
abollini
dcbddcff5a Merge pull request #272 from abollini/DS-1611
DS-1611 Enable Discovery By Default in JSPUI
2013-08-08 07:19:59 -07:00
Andrea Bollini
ebae6c52f4 DS-1611 Enable Discovery By Default in JSPUI 2013-08-08 16:15:22 +02:00
abollini
98ad4cad5d Merge pull request #271 from abollini/DS-1616
DS-1616 Localhost is not longer supported as a valid Solr server URL
2013-08-08 06:24:20 -07:00
abollini
57f6b35dee Merge pull request #269 from abollini/DS-1586
DS-1586 Fix SLF4J and JCL Bridge version incompatibility
2013-08-08 06:20:58 -07:00
Andrea Bollini
42b502ac21 DS-1616 Localhost is not longer supported as a valid URL Solr
Replaced the deprecated org.apache.commons.validator.UrlValidator with the new
version from apache import org.apache.commons.validator.routines.UrlValidator
enabling local urls (localhost and internal names like mymachine, etc.)
2013-08-08 14:35:52 +02:00
Andrea Bollini
86ca5d74c1 DS-1586 Fix SLF4J and JCL Bridge version incompatibility: move up to dspace-parent POM 2013-08-07 23:41:22 +02:00
KevinVdV
ba5ff43c52 [DS-1612] Merge DSpace/dspace-solr project into DSpace/DSpace (Adding missing license headers) 2013-08-07 23:26:21 +02:00
Mark H. Wood
22f50511f8 Actually commit the attachment code. 2013-08-07 15:01:04 -04:00
Mark H. Wood
a67f7e2ee4 [DS-792] When mail sending is disabled, log the entire message instead.
Since this should only occur during debugging or testing, I thought it
expedient to just build the MimeMessage normally and then extract the
composed headers from it.  This is slightly inefficient, but greatly
simplified the code.

Attachments will not be logged, since they might be anything and of
any size.  Instead, a list of their names will be inserted below the
headers and above the message body.
2013-08-07 14:51:14 -04:00
Mark H. Wood
ef71ef40d5 Merge pull request #268 from mwoodiupui/DS-1460
[DS-1460] Add SOLR logging config file
This merely adds a log4j appender for Solr's logging which will be used by the next release of dspace-solr.
2013-08-07 07:44:51 -07:00
KevinVdV
9ebce7947c [DS-1612] Merge DSpace/dspace-solr project into DSpace/DSpace 2013-08-05 12:50:14 +02:00
KevinVdV
7310043e56 Add 'dspace-solr/' from commit 'bd02640bc5d871bd9da6bc73ff70a44ebbc659cf'
git-subtree-dir: dspace-solr
git-subtree-mainline: 53716c0f29
git-subtree-split: bd02640bc5
2013-08-05 12:20:40 +02:00
Peter Dietz
53716c0f29 Merge pull request #231 from mwoodiupui/DS-790
[DS-790] SOLR - Spider detection to match on hostname or useragent
2013-08-02 22:02:50 -07:00
Mark H. Wood
9df23659a8 Merge pull request #221 from mwoodiupui/DS-888
[DS-888] Fix obvious error:  store fetched request parameter
After two months, only one positive comment.  A one-line fix.
2013-08-01 11:55:37 -07:00
Keiji Suzuki
7cbb96509f added a license notice 2013-08-01 16:47:11 +09:00
Keiji Suzuki
81a0818598 moved the variable result to the include file 2013-08-01 16:38:26 +09:00
Keiji Suzuki
3ab26e6926 extracts the common codes to a file and includes it. 2013-08-01 16:22:52 +09:00
Keiji Suzuki
a6f30db81e [DS-1613] Porting curation task administrative UI to JSPUI 2013-08-01 11:39:02 +09:00
Mark H. Wood
e2cf4fd9fc After discussion, raise loglevel and set a default limit on number of logs retained. 2013-07-31 17:07:34 -04:00
Mark H. Wood
bd02640bc5 Merge pull request #3 from mwoodiupui/DS-1460
[DS-1460] Add SOLR logging config file
2013-07-31 13:59:36 -07:00
Mark H. Wood
c066178caa Merge pull request #218 from KevinVdV/DS-1272
[DS-1272] Enable Discovery By Default for the XMLUI
2013-07-31 13:19:32 -07:00
Mark H. Wood
4abf138cc3 [DS-1460] Add a new file for Solr messages to the log4j configuration 2013-07-31 10:39:59 -04:00
Mark H. Wood
b244fc9896 Merge pull request #4 from mwoodiupui/DS-1606
[DS-1606] Bring dspace-solr up-to-date with current development environment
2013-07-30 06:36:53 -07:00
Ivan Masár
cdfdfe4ce5 DS-1554 one more fix
Thanks, Keiji!
2013-07-30 09:50:38 +02:00
Mark H. Wood
56d7d8bcb4 Also add Travis configuration 2013-07-29 09:28:38 -04:00
Mark H. Wood
71468f669c Also add Travis configuration 2013-07-29 09:25:01 -04:00
Ivan Masár
cf5061fed8 DS-1554 fix again (first fix was wrong)
Thanks, Keiji!
2013-07-29 10:19:27 +02:00
Mark H. Wood
6f831f06ee Replace 'dspace-pom', now deprecated 2013-07-26 15:54:04 -04:00
Mark H. Wood
23b88bf4a0 Add a .gitattributes 2013-07-26 15:51:31 -04:00
Mark H. Wood
c3be797f70 License header updates also needed to build 2013-07-26 15:49:10 -04:00
Mark H. Wood
4db8fb4cf8 Add a .gitignore 2013-07-26 15:49:10 -04:00
Mark H. Wood
79b6b2295a Harmonize with current dspace-pom so it will build. 2013-07-26 15:49:10 -04:00
Mark H. Wood
1d1fcc7b36 Replace 'dspace-pom', now deprecated 2013-07-26 13:47:06 -04:00
Mark H. Wood
61a33b66e4 Provide a filterable default path to the logging configuration 2013-07-26 13:46:36 -04:00
Hardy Pottinger
2724839ccd Merge pull request #264 from helix84/DS-1605
DS-1605 add .travis.yml for Travis-CI integration
2013-07-24 15:34:56 -07:00
Ivan Masár
4436ad96bb DS-1605 add .travis.yml for Travis-CI integration 2013-07-25 00:31:31 +02:00
Jason Sherman
e42d7b5ec3 Update JPEGFilter.java
Addressed transparency issues.
2013-07-24 15:38:17 -05:00
Jason Sherman
8ca80dce23 Update BrandedPreviewJPEGFilter.java
Addressed transparency issues
2013-07-24 15:37:21 -05:00
Tim Donohue
f4b26bc7eb Ensure dspace-lni-client has dspace-lni as a dependency. Also disable 'regenerate-wsdl' profile by default. Related to DS-1550 2013-07-24 11:03:01 -05:00
Tim Donohue
03276502d6 Merge pull request #261 from hardyoyo/DS-1603-fix_profile_fields_in_jspui
DS-1603 - added Coverity security library, and used it to harden profile fields in JSPUI
2013-07-23 12:38:54 -07:00
Hardy Pottinger
ebe398fe25 added coverity security library, used addentities throughout to harden profile form fields in JSPUI 2013-07-23 14:11:30 -05:00
Àlex Magaz Graça
2a775253ac Update metadata.hide.dc.description.provenance option comment.
This option no longer affects OAI-PMH.
2013-07-22 12:10:14 +02:00
Àlex Magaz Graça
8cb30da110 Don't export dc.description.provenance.
The default is to hide this metadata (see
metadata.hide.dc.description.provenance option in dspace.cfg).
2013-07-22 12:10:14 +02:00
Àlex Magaz Graça
c15b29c7b7 Ensure all metadata fields are exported through OAI with oai_dc.
Some fields were not exported which can be a problem when harvesting
from another repository.
2013-07-22 12:10:14 +02:00
Robin Taylor
bfbd0586da Merge pull request #206 from robintaylor/DS-1527
DS-1527 Remove filtering of FORWARD and INCLUDE requests
2013-07-22 02:14:57 -07:00
Ivan Masár
0464894169 DS-1554 fix and related preventive fixes
* make SWORD use upload.temp.dir
* Also make sure that it's not null
* if upload dir is not specified, use java.io.tmpdir
2013-07-17 23:48:34 +02:00
helix84
d2df021c00 Merge pull request #257 from helix84/DS-1537
DS-1537: Invalid bitstream URL in OAI
2013-07-17 14:27:53 -07:00
Ivan Masár
7988e4b07e DS-1537: Invalid bitstream URL in OAI 2013-07-17 23:25:22 +02:00
helix84
d9163595b9 Merge pull request #219 from lyncode/oai-with-custom-descriptions
DS-1479 : Oai with custom descriptions
2013-07-17 14:08:06 -07:00
Ivan Masár
aba1518c45 DS-1554 redefine hardcoded SWORD upload dir 2013-07-17 22:21:41 +02:00
Mark H. Wood
21e3dc8f86 Tiny comment tidy 2013-07-16 14:56:05 -04:00
Mark H. Wood
a5e86912fe Tidy up mocks after testing. 2013-07-16 14:07:12 -04:00
Mark H. Wood
ba7ba2ea43 Add method to test client identity from strings, not request attributes, for processing statistical cases and other recorded events. 2013-07-16 14:01:00 -04:00
Mark H. Wood
271a96f6bf Remove unused Spring loader and test 2013-07-16 11:54:32 -04:00
roeland
bfc045f5f0 DS-1235 IP authentication configuration does not apply netmask and CIDR ranges correctly 2013-07-12 14:46:15 +02:00
Keiji Suzuki
a788856c57 fixed the wrong use of the local variable style 2013-07-12 11:21:58 +09:00
bram-atmire
7519d68e9d Merge pull request #252 from bram-atmire/auth-color
DS-1598 Authority Control values show up in red
2013-07-10 13:36:56 -07:00
Bram Luyten
215943d48d DS-1598 Authority Control values show up in red
Removing specific color for authority controlled authors
2013-07-10 17:34:12 -03:00
KevinVdV
81bb553687 [DS-1597] Browse subjects by collection count bug 2013-07-08 12:11:31 +02:00
Keiji Suzuki
2b4633a87c Export all collections of a community recursively 2013-07-07 11:07:42 +09:00
KevinVdV
28502b115c Merge pull request #245 from tdonohue/DS-1593
Fix for DS-1593 : Ensure discovery.cfg uses 'solr.server' setting instead of hardcoding its own URL
2013-07-01 23:27:13 -07:00
Tim Donohue
c79e5a2b78 Fix for DS-1593 : Ensure discovery.cfg uses 'solr.server' setting 2013-07-01 12:35:46 -05:00
Tim Donohue
7c59009f8a DS-1592 : Remove debug printout 2013-07-01 11:53:34 -05:00
Mark H. Wood
f53b6df7a4 Display the source of the configuration to the context's log. 2013-06-27 16:14:43 -04:00
Mark H. Wood
ced6e9652c Add code to configure log4j from a file that can be specified by a context parameter. 2013-06-27 15:19:47 -04:00
Mark H. Wood
ad7e1e959a LocalHostRestrictionFilter creates a logger but never uses it. If we
remove it, we can get rid of the Commons Logging dependency.

Also add some direct dependencies drawn in by our modified FacetComponent.
2013-06-27 10:46:57 -04:00
Mark H. Wood
5442153457 Replace J.U.L. logging with log4j. 2013-06-27 10:24:26 -04:00
Mark H. Wood
14f33bb713 License header updates also needed to build 2013-06-26 16:14:09 -04:00
Mark H. Wood
9e32854ad4 Add a .gitignore 2013-06-26 15:48:27 -04:00
Mark H. Wood
b6d77c32bd Harmonize with current dspace-pom so it will build. 2013-06-26 15:45:31 -04:00
Mark H. Wood
a5e5aa925f Declare use of slf4j-api. 2013-06-25 15:51:36 -04:00
Mark H. Wood
b165134114 When listing webapp.s, delete records for any not found living.
This sends a HEAD request to the registered URL for the webapp and
assumes that the app is dead if result is not 200.

This change caused a cascade of changes to the treatment of the
database table, because the DBMS layer insists that a table's primary
key be INTEGER.  It was necessary to introduce a new column for the
purpose.  This also means you can have more than one running instance
of the same UI, if you wish.  But it also means that the sequence
required by the new column will overflow after about 2 billion starts.
2013-06-25 15:10:55 -04:00
bram-atmire
c22cdc9c75 Merge pull request #220 from bram-atmire/DS-1552
DS-1552 adding luceneMatchVersion to oai and statistics SOLR configs
2013-06-22 05:41:49 -07:00
bram-atmire
789dab6609 Merge pull request #239 from KevinVdV/DS-1489
[DS-1489] SolrJ-3.3.0 dependency in OAI
2013-06-22 05:36:15 -07:00
Mark H. Wood
1bb3cbc4e5 Update testing for new features; remove Spring-based configuration. 2013-06-21 15:31:55 -04:00
Mark H. Wood
b0fbceed01 Start adding DNS pattern matching. 2013-06-20 16:12:48 -04:00
Mark H. Wood
81f24f1aa0 Add matching of User-Agent header, for well-behaved bots with
ever-expanding address pools.

While we're at it, stop punting DNS names found in the IP address
files.  Note that this is *not* DNS *pattern* matching; it only resolves
individual host names to IP addresses at load time.
2013-06-20 15:16:43 -04:00
Ivan Masár
08390036cf DS-1581: fix last commit 2013-06-20 09:25:36 +02:00
KevinVdV
db27179ead [DS-1489] SolrJ-3.3.0 dependency in OAI 2013-06-19 22:29:47 +02:00
helix84
fab314fe04 Merge pull request #238 from aschweer/DS-1581-restrictionmessage
DS-1581 Prevent double-up of restriction message
2013-06-19 00:49:38 -07:00
Andrea Schweer
579f3aee09 DS-1581 Prevent double-up of restriction message 2013-06-19 17:43:25 +12:00
Mark H. Wood
029353b0fc [DS-1550] relativePath was not re-corrected. 2013-06-17 16:21:38 -03:00
LifeH2O
803f70342f DS-1576 fix names of LDAP configuration properties 2013-06-17 13:00:26 +02:00
Ivan Masár
6e9f3e36f3 correct some strings and comments 2013-06-17 11:16:56 +02:00
Keiji Suzuki
cb719b5ae5 Porting advanced embargo function to JSPUI
Fixed some codes as the code reviews by helix84

reverted the api of BrowseItem to its original

revert build.properties

Porting advanced embargo function to JSPUI, revised version
2013-06-17 10:41:50 +02:00
Hardy Pottinger
d026d69f02 Merge pull request #233 from hardyoyo/DS-1565-make-debug-logging-safer
let Maven filter log4j.properties, added new loglevel properties
2013-06-14 14:38:19 -07:00
Hardy Pottinger
c83e5031b2 let Maven filter log4j.properties, added new loglevel properties to control loglevel 2013-06-14 15:18:14 -05:00
Mark H. Wood
f60b6c3497 More informative message when an Identifier cannot be created
Tag the IdentifierException onto the new RuntimeException instead of ignoring it.
2013-06-14 16:22:12 -03:00
Mark H. Wood
de9a3d73b4 Remove added context parameters no longer used. 2013-06-14 10:37:56 -04:00
Mark H. Wood
83b605deaa MXBean approach didn't pan out, so remove (most of) the code. 2013-06-14 10:32:12 -04:00
Mark H. Wood
9b26731c83 Record 'isUI' in database; add code to 'dspace version' to consume the table. 2013-06-14 10:20:44 -04:00
Mark H. Wood
e0fb4367f6 Reorganize, refactor, implement an alternative MBean approach for trial. 2013-06-13 11:41:46 -04:00
Mark H. Wood
5cd4a7f176 Replace kooky URL calculation with fetching it from the configuration. 2013-06-12 10:36:54 -04:00
Mark H. Wood
da4dfb1314 [DS-1456] Make webapp.s register in a new database table when started, so we can
list them later.
2013-06-07 15:28:27 -04:00
helix84
21bab5a336 Merge pull request #185 from helix84/dbname_dspace-info.pl
fix hardcoded db name in dspace-info.pl
2013-06-05 13:06:10 -07:00
Mark H. Wood
263613e81b [DS-1569] Don't try to emit a password if there is none.
Issue #DS-1569 - RoleDisseminator fails to check for possible null password
2013-06-04 14:38:41 -04:00
Mark H. Wood
556352f105 Merge pull request #163 from mwoodiupui/DS-1083
[DS-1083] Create new users from the command line
[DS-1567] Stream multiple commands into one invocation of bin/dspace
2013-05-30 06:54:17 -07:00
Mark H. Wood
2a86c63188 [DS-1563] ConfigurationService recognize -Ddspace.configuration= as ConfigurationManager does 2013-05-28 11:46:53 -04:00
Mark H. Wood
591b6c9072 Manually re-merge UTF-8 changes lost in rebase.
See c4c493c4cf.
See 802cce856f.
2013-05-28 06:38:43 -04:00
Mark H. Wood
6c89fb1ac0 Reintroduce factored-out methods as @deprecated wrappers, so we don't
break third-party code.

These should *not* be mirrored in ConfigurationService.
2013-05-28 05:55:12 -04:00
Mark H. Wood
2b56480842 IDE failed to refactor references embedded in JSPs. 2013-05-28 05:55:12 -04:00
Mark H. Wood
e0d803cc2d getConfigurationFile cannot return null anymore. 2013-05-28 05:55:12 -04:00
Mark H. Wood
e930def354 Clean up comments and unused imports. 2013-05-28 05:55:12 -04:00
Mark H. Wood
02e718b694 Oops, missing license headers. 2013-05-28 05:55:12 -04:00
Mark H. Wood
ed9149608d [DS-1390] stage 1: move license, email texts, news out of Configuration Manager. 2013-05-28 05:55:12 -04:00
helix84
96cc0d5bd4 Merge pull request #226 from helix84/javadoc
added some Javadoc
2013-05-25 04:12:11 -07:00
Ivan Masár
268bc7dde8 javadoc for AuthorizeManager 2013-05-25 13:09:21 +02:00
Ivan Masár
12632f67c5 fix Resourcepolicy JavaDoc 2013-05-25 13:09:20 +02:00
Ivan Masár
6746387f35 javadoc for Bitstream 2013-05-25 13:09:20 +02:00
Ivan Masár
2a70ea08c9 comment-only change - fix format of some authors 2013-05-25 13:09:20 +02:00
Ivan Masár
3f9aa46f9e javadoc for the bulkedit package 2013-05-25 13:09:20 +02:00
Ivan Masár
5876dfcbf6 javadoc for the util package 2013-05-25 13:09:20 +02:00
Ivan Masár
6e94a8846c javadoc for SFXFileReader 2013-05-25 13:09:20 +02:00
Mark H. Wood
8a02466391 rebased 2013-05-23 15:24:48 -04:00
Mark H. Wood
4fc9a01614 Stop abusing Spring and do the list merging we'd hoped it would do. 2013-05-23 13:21:02 -04:00
Mark H. Wood
54f6b4e1f2 Add missing license text 2013-05-23 13:21:01 -04:00
Mark H. Wood
6aaccc5e3b Apply patch extracted from old SVN development tree 2013-05-23 13:21:01 -04:00
Mark H. Wood
20d4668f75 Fix obvious error: store fetched request parameter 2013-05-22 09:41:56 -04:00
Bram Luyten
fca7eb434c DS-1552 adding luceneMatchVersion to oai and statistics SOLR configs
This property becomes mandatory in SOLR 4.0
2013-05-20 13:14:45 +02:00
João Melo
f484a843db Merge branch 'oai-with-custom-descriptions' of https://github.com/lyncode/DSpace into oai-with-custom-descriptions 2013-05-20 03:06:13 +01:00
João Melo
069b34d86c XOAI version upgraded to 3.0.0 2013-05-20 03:04:55 +01:00
lyncodev
40e029fde0 Now a new version of the xoai toolkit must be released 2013-05-20 03:04:00 +01:00
Mark H. Wood
ff1ec212d6 Merge pull request #217 from mwoodiupui/DS-1456
DS-1456 "dspace version" command-line script.
This looks like two committer approvals, so in it goes.  I added the commit number as requested.
2013-05-17 12:17:35 -07:00
Mark H. Wood
b8f6f91bcb Fix badly broken .gitignore, include new scm.properties template.
I fumbled a rebase and hadn't cleaned up properly.  Including recent
changes to .gitignore from others also means that I don't need to
exempt the .properties files in this work anymore.
2013-05-17 15:09:28 -04:00
Mark H. Wood
da53991b6b Merge branch 'DS-1456' of github.com:mwoodiupui/DSpace into DS-1456
Conflicts:
	.gitignore
2013-05-17 14:34:04 -04:00
Mark H. Wood
913577eaf1 Add SCM revision number (= git commit hash) and branch name (but the
build-number plugin doesn't get that from git yet).
2013-05-17 14:31:30 -04:00
Mark H. Wood
6b240897ea Add a launcher command 2013-05-17 14:31:30 -04:00
Mark H. Wood
d4a4068d28 Test for Discovery/Lucene search 2013-05-17 14:31:30 -04:00
Mark H. Wood
657c441219 Fix .gitignore to not ignore maven.properties 2013-05-17 14:31:30 -04:00
Mark H. Wood
003c86ce4f Add the Version class to report on DSpace's version, build environment, and runtime environment. 2013-05-17 14:27:30 -04:00
Mark H. Wood
879856b8ac Add SCM revision number (= git commit hash) and branch name (but the
build-number plugin doesn't get that from git yet).
2013-05-17 14:20:06 -04:00
KevinVdV
5ac655e61c [DS-1272] Enable Discovery By Default 2013-05-17 13:52:36 +02:00
Mark H. Wood
8c228d3a73 Merge pull request #216 from tdonohue/DS-1550
DS-1550: Reattach dspace-lni-client so that it is built whenever dspace-lni gets built
2013-05-16 13:54:32 -07:00
Tim Donohue
7e4b21440f DS-1550: Reattach dspace-lni-client so that it is built whenever dspace-lni gets built 2013-05-16 14:44:39 -05:00
Hardy Pottinger
b8fce4800e Merge pull request #214 from hardyoyo/DS-1546
DS-1546 fix logic error in findMultipleHeaders method of ShibAuthentication plugin; also fix config advice in ShibAuthentication plugin.
2013-05-14 19:39:57 -07:00
Hardy Pottinger
e2d38cbcd8 re: #736, fix logic error in handling multiple values in SHIB-SCOPED-AFFILIATION header, also make minor revisions to help messages to correct for suggested syntax and config file location 2013-05-14 17:17:10 -05:00
helix84
64e16567d6 Merge pull request #211 from helix84/DS-1544
DS-1544 display feedback.recipient on contacts page
2013-05-10 00:27:08 -07:00
Hardy Pottinger
bed56b14aa Merge pull request #114 from richardrodgers/readonlyctx
Adds support for read-only contexts that bypass internal DSO cache
2013-05-08 13:17:23 -07:00
Ivan Masár
e37872a2c3 DS-1544 display feedback.recipient on contacts page 2013-05-06 15:16:07 +02:00
helix84
4e3a4154a3 Merge pull request #103 from helix84/DS-1336
[DS-1336] Creative Commons Locale
2013-05-02 04:25:15 -07:00
Tim Donohue
5283b0f90d Merge pull request #209 from tdonohue/master
DS-1540 - Fix .gitignore to only ignore custom *.properties in root folder
2013-04-30 09:39:33 -07:00
Tim Donohue
129a85c1b5 DS-1540 : Fix .gitignore to only ignore custom *.properties in the root source folder. 2013-04-30 11:22:24 -05:00
Robin Taylor
8847d07421 Merge pull request #199 from tuub/ds-1469
Read config, email and license files UTF-8 encoded, fixes DS-1469 partly
2013-04-19 01:36:32 -07:00
robintaylor
219a02fbe2 DS-1527 Remove filtering of FORWARD and INCLUDE requests 2013-03-27 13:21:37 +00:00
lyncodev
f4558dd3a4 Now a new version of the xoai toolkit must be released 2013-03-06 15:29:49 +00:00
helix84
df795413c2 Merge pull request #201 from lyncode/DS-1507-4.x
DS-1507 Issue fixed and tested (4.x)
2013-03-06 06:36:06 -08:00
lyncodev
14a2fc58da Issue fixed and tested 2013-03-06 14:31:51 +00:00
Pascal-Nicolas Becker
c4c493c4cf Also read license files UTF-8 encoded.
Close Reader an InputStreams after using them.
2013-03-05 17:32:37 +01:00
mah-rob
802cce856f Forcing dspace.cfg and email files to be read in UTF-8 2013-03-05 17:31:35 +01:00
Sam Ottenhoff
b68042dac4 DS-1503 use getAttribute first before attempting to check getHeader for
the user value. ShibUseHeaders is not enabled by default in Apache.
2013-02-28 18:45:21 -05:00
Ivan Masár
9e24d11d10 authentication-ldap.cfg comment about slash in URL 2013-02-25 15:57:13 +01:00
Mark H. Wood
24f7e55177 Merge pull request #165 from helix84/DS-1085
[DS-1085] EPerson last_active field is defined but never filled

Tested, appears to work.  No negative reviews after several weeks.
2013-02-14 11:43:21 -08:00
Ivan Masár
9f2a67c0aa add 'test_database' target to ant command help 2013-02-13 13:09:58 +01:00
Ivan Masár
184e474d59 DS-1485 fix for the Mirage theme 2013-02-12 10:54:07 +01:00
helix84
bcf415c986 Merge pull request #187 from MinDogger/DS-1123
Resurrected build.xml's help menu item 'clean_backups'
2013-02-07 14:56:41 -08:00
Brian Freels-Stendel
e56ae53c27 Resurrected build.xml's help menu item 'clean_backups' 2013-02-07 12:07:15 -07:00
Mark H. Wood
34ce3d1ecd Update version from 11-year-old commons-cli 1.0 to latest 1.2 2013-02-06 15:21:30 -05:00
Mark H. Wood
7857c0184f Recreate OptionGroups each time they are used.
It's not obvious from the Commons CLI documentation, but an
OptionGroup stores command state, specifically which of its member
options was given.  This causes mysterious exceptions when you reuse
an OptionGroup.

I suspect that Option objects also contain command state, but haven't
run into trouble with that yet.
2013-02-06 15:09:10 -05:00
Mark H. Wood
c00bcffb99 Add missing license reference, handle blank lines 2013-02-06 15:06:59 -05:00
Mark H. Wood
dfafcf657f Don't call System.exit() in a launcher step; throw something instead.
At least don't use exit() for a normal completion.  That prevents
streaming multiple commands.
2013-02-06 12:45:33 -05:00
Mark H. Wood
3acfcaba2b Email addresses need at-symbol to be a word character when tokenizing 2013-02-06 12:44:04 -05:00
Mark H. Wood
aa419fa5df Context is not valid if there was no understandable verb 2013-02-05 16:09:47 -05:00
Mark H. Wood
163060c6d8 Add a launcher command 2013-02-04 17:05:57 -05:00
Mark H. Wood
0940898092 Test for Discovery/Lucene search 2013-02-04 16:51:37 -05:00
Ivan Masár
a9a6c15233 fix hardcoded db name in dspace-info.pl 2013-01-31 19:02:10 +01:00
Mark H. Wood
61b2ad8bc2 [DS-286] Remove unmaintained Bash script.
The AIP export/import tools may also be useful replacements for this.
2013-01-31 10:03:23 -05:00
Hardy Pottinger
461e5c5987 reverting 8e6217a, not necessary to increment the lang pack version 2013-01-30 11:30:46 -06:00
Hardy Pottinger
8e6217aab7 require lang packs version 3.0.2 2013-01-30 10:15:56 -06:00
KevinVdV
d1759671e6 Merge pull request #177 from KevinVdV/DS-1407
[DS-1407] Refactor SOLR Statistics to use OpenCSV
2013-01-30 00:28:12 -08:00
mushashu
dfd0172cf3 [DS-1417] Thumbnails in discovery search results do not point to the item 2013-01-30 01:34:02 +01:00
Mark H. Wood
7a535fc404 Fix .gitignore to not ignore maven.properties 2013-01-28 16:50:19 -05:00
helix84
0fd85092c6 Merge pull request #179 from KevinVdV/DS-1416
[DS-1416] NPE when removing roles from Collection workflow steps
2013-01-28 13:22:39 -08:00
helix84
db1ef2131f Merge pull request #178 from KevinVdV/DS-1449
[DS-1449] Fixing related items retrieval
2013-01-25 05:13:25 -08:00
KevinVdV
645141bff3 [DS-1416] NPE when removing roles from Collection workflow steps 2013-01-24 22:50:42 +01:00
KevinVdV
ecb14db96b [DS-1449] Fixing related items retrieval 2013-01-24 22:33:17 +01:00
KevinVdV
a1c28957fb [DS-1407] Refactor SOLR Statistics to use OpenCSV 2013-01-24 17:20:34 +01:00
KevinVdV
a5cec688ee [DS-1407] Refactor SOLR Statistics to use OpenCSV 2013-01-24 17:11:50 +01:00
helix84
f98212d1a7 Merge pull request #176 from bram-atmire/DS-1464
Adding a return statement when no reports are present
2013-01-24 05:02:29 -08:00
Bram Luyten
c655b5ec62 Adding a return statement when no reports are present 2013-01-24 13:26:32 +01:00
helix84
cc2d4597f2 Merge pull request #175 from tuub/master
Bugfix for DS-1459
2013-01-23 07:20:37 -08:00
Pascal-Nicolas Becker
974da7dc55 Bugfix: use printStackTrace to print a sack trace. 2013-01-23 16:03:29 +01:00
Ivan Masár
b0117cb67b DS-1459 Testing of dissemination crosswalks 2013-01-22 16:42:32 +01:00
João Melo
5b47e43aa1 Merge pull request #173 from misilot/DS-1457
DS-1457 In OAI src for jquery uses an http only
2013-01-22 05:47:57 -08:00
João Melo
604c845af0 Merge pull request #169 from helix84/DS-1455
DS-1455 In OAI DOCTYPE tag is displayed on Firefox
2013-01-22 05:46:23 -08:00
helix84
b4e97190da Merge pull request #168 from helix84/DS-1454
DS-1454 Missing type-bind in input-forms.dtd
2013-01-22 00:35:18 -08:00
Mark H. Wood
5c1f99d038 Add the Version class to report on DSpace's version, build environment, and runtime environment. 2013-01-18 19:48:07 -05:00
Hardy Pottinger
332a6d31ea Merge pull request #171 from akonczak/master
[DS-1435] fix for oracle db
2013-01-18 15:00:40 -08:00
misilot
81079c09bb DS-1457 change jquery source to googleapis
Change the source to ajax.googleapis.com, which allows either http or https source.

URL Syntax is from: https://developers.google.com/speed/libraries/devguide#jquery
2013-01-18 08:09:35 -05:00
akonczak
ce9ca80080 [DS-1435] fix for empty schema name for oracle db 2013-01-17 22:09:37 +00:00
Ivan Masár
ee4778bcf8 DS-1455 In OAI DOCTYPE tag is displayed on Firefox 2013-01-17 18:23:53 +01:00
Ivan Masár
34fc835885 DS-1454 Missing type-bind in input-forms.dtd 2013-01-17 14:10:57 +01:00
helix84
44cd50d2e2 Merge pull request #166 from lyncode/OAI-ORE-fix
ORE metadata format fix (4.0)
2013-01-16 01:16:11 -08:00
lyncodev
f5f71e85b9 ORE metadata format fix 2013-01-15 16:16:06 +00:00
Mark H. Wood
0d948ae708 [DS-1085] Apply patch (slightly updated) from Jira ticket 2013-01-11 18:05:09 +01:00
Mark H. Wood
7d16c10aa3 Inadvertently named the batch-input command 'run' rather than 'read' 2013-01-11 10:49:34 -05:00
Mark H. Wood
853d81d600 Make command reparsing work properly, and general cleanup 2013-01-11 10:15:32 -05:00
Mark H. Wood
318d696943 Used the wrong reference to test command and got an NPE 2013-01-11 10:10:53 -05:00
Mark H. Wood
6f43cfde0f Normalize some naming, implement --modify verb. 2013-01-10 13:58:06 -05:00
Mark H. Wood
5ed660a5f3 Factor that looong 'if' into one function per operation (add etc.) 2013-01-09 14:07:15 -05:00
Mark H. Wood
113f287e14 Give feedback when an EPerson is created or destroyed 2013-01-09 13:26:26 -05:00
Mark H. Wood
61f0a30bd7 Factor runManyCommands() out to a new class, so that 'read' can be an ordinary command 2013-01-09 12:20:14 -05:00
Mark H. Wood
6bd7a1d6af Add 'read' command to execute a file of commands. 2013-01-09 10:31:31 -05:00
Mark H. Wood
0bafa3a159 [DS-1083] Command line tool for manipulating EPersons 2013-01-07 14:50:44 -05:00
Ivan Masár
a0714564b7 warn about removing properties from build.properties 2012-12-20 13:58:20 +01:00
helix84
576316079b Merge pull request #156 from akonczak/master
DS-1425 - OAI - ORACLE DB
2012-12-17 11:31:03 -08:00
helix84
9dfdb000b0 Merge pull request #155 from tuub/master
Fixes DS-1424
2012-12-14 05:20:36 -08:00
KevinVdV
5f3ae013eb Merge pull request #158 from aschweer/browse-sort-options
DS-1427 Keep sort options in order
2012-12-13 22:05:08 -08:00
Andrea Schweer
f625cfed84 Merge pull request #157 from aschweer/solrlogger-improve-efficiency
DS-1426 SolrLogger performance
2012-12-13 19:43:01 -08:00
Andrea Schweer
9e08472fd5 DS-1427 Keep sort options in order 2012-12-14 12:04:02 +13:00
Andrea Schweer
7b2624c112 DS-1426 Improve SolrLogger performance
Apply the patch to the right file for master
Fix whitespace issues
2012-12-14 09:46:32 +13:00
akonczak
c2d4c50f9a DS-1425 - OAI improved support for Oracle DB 2012-12-13 18:05:35 +00:00
Pascal-Nicolas Becker
3a8ac91631 Declare method register(Context,DspaceObject, String) of
org.dspace.identifier.IdentifierProvider to throw an
IdentifierException. Fixes DS-1424.
2012-12-13 14:39:07 +01:00
Jason Sherman
4e2142d0d2 Update dspace-api/src/main/java/org/dspace/app/mediafilter/BrandedPreviewJPEGFilter.java
fixed a variable name typo.  it didn't hurt functionality, just consistency.
2012-12-07 12:45:19 -06:00
jsnshrmn
f7051593aa Merge pull request #1 from lyncodev/master
Authoring changes
2012-12-07 08:39:21 -08:00
Lyncode
deaa912605 Authoring 2012-12-07 16:17:55 +00:00
jsnshrmn
d05824caa9 Update dspace/config/dspace.cfg
Added blur and scaling options to enable better quality thumbnails and previews.
2012-12-07 08:52:11 -06:00
jsnshrmn
f10e327d84 Update dspace-api/src/main/java/org/dspace/app/mediafilter/JPEGFilter.java
Adds high quality scaling and blurring options for thumbnails.  Boolean options thumbnail.blurring and thumbnail.hqscaling need to be added to dspace.cfg for behavior to change.
2012-12-07 08:30:17 -06:00
jsnshrmn
dd8c7f02d2 Update dspace-api/src/main/java/org/dspace/app/mediafilter/BrandedPreviewJPEGFilter.java
Adds high quality scaling and blurring options for branded previews.  Boolean options webui.preview.blurring and webui.preview.hqscaling need to be added to dspace.cfg for behavior to change.
2012-12-07 08:23:46 -06:00
helix84
945b0283c9 Merge pull request #117 from zuki/submission
Porting document type-based submission to JSPUI
2012-12-07 01:48:24 -08:00
João Melo
8ed3829c62 Merge pull request #150 from lyncode/DS-1415
DS-1415: Harvesting configurations added [master]
2012-12-06 17:39:14 -08:00
Lyncode
529919a34d Harvesting configurations added 2012-12-06 17:38:50 +00:00
João Melo
9606767639 Merge pull request #147 from lyncode/xoai
DS-1414
2012-12-06 07:18:51 -08:00
lyncodev
d6dee1929c MetadataExistsFilter changed to allow then 'field' key parameter 2012-12-06 14:53:38 +00:00
lyncodev
c28a31000a xoai.xml file corrected for MetadataExistsFilter 2012-12-06 14:43:53 +00:00
Tomas Cohen Arazi
c1ba9369d6 DS-1336 - Introduce a property for defining CC locale
This patch introduces a new property into dspace.cfg: cc.license.locale
and uses it.

Sponsored-by: Universidad Nacional de Córdoba
2012-12-05 16:55:20 +01:00
Tomas Cohen Arazi
c6c532142d DS-1336 - Honour CC 1.5 API
There's no mention on the currently used by DSpace API (v1.5) (or the dev one) to the /classes call:

http://api.creativecommons.org/docs/readme_15.html#locale-xx
http://api.creativecommons.org/docs/readme_dev.html#locale-xx

Looks like they belong to some legacy support.

Sponsored-by: Universidad Nacional de Córdoba
2012-12-05 16:55:16 +01:00
Juan Corrales Correyero
3cdeaab2db [DS-1336] modify method call, too 2012-12-05 16:54:29 +01:00
Juan Corrales Correyero
ba003132bd [DS-1336] Creative Commons Locale 2012-12-05 16:54:29 +01:00
Mark H. Wood
5ab2ef106d Update DSpace module versions (and adjust a little whitespace) 2012-12-03 15:30:58 -05:00
Ivan Masár
3bfe6b471a typo fixes and comment changes in dspace.cfg 2012-12-03 09:38:35 +01:00
Ivan Masár
53d11015ff fix dspace.cfg comment 2012-12-03 09:36:09 +01:00
Hardy Pottinger
5221f92ce4 [maven-release-plugin] prepare for next development iteration 2012-11-30 11:12:42 -06:00
Hardy Pottinger
b05e67a50d [maven-release-plugin] prepare release dspace-3.0 2012-11-30 11:12:31 -06:00
Tim Donohue
fde129026f Adding 3.0 Release final PDF 2012-11-30 09:49:42 -06:00
Tim Donohue
f18b2e0721 Update dependencies in LICENSES_THIRD_PARTY for 3.0 release 2012-11-29 10:04:46 -06:00
Mark H. Wood
32cc6002d2 Merge pull request #125 from mwoodiupui/javadoc
Javadoc cleanup (get rid of scads of WARNINGs)
2012-11-28 12:48:10 -08:00
Robin Taylor
407507ce31 Merge pull request #146 from hardyoyo/DS-1379
DS-1379 revised 18-3 update SQL script with correct Oracle syntax
2012-11-28 12:23:50 -08:00
Mark H. Wood
b53314d62f Merge remote-tracking branch 'origin/master' into javadoc 2012-11-28 10:32:46 -05:00
KevinVdV
4e0587ca36 Merge pull request #144 from bram-atmire/DS-1397 2012-11-28 01:34:43 -08:00
Hardy Pottinger
86e7ad4971 DS-1379 revised 18-3 update SQL script with suggestions from Artur Konczak, reviewed and blessed by our Oracle DBA 2012-11-27 16:08:55 -06:00
helix84
465b979c2b Merge pull request #145 from hardyoyo/DS-1370
DS-1370 fixes SQL scripts/adds missing tables and sequences to cleanup
2012-11-27 10:12:31 -08:00
Hardy Pottinger
50f1f19d0c DS-1370 revise SQL scripts to deal with various Oracle issues, also add missing tables and sequences to clean-database.sql 2012-11-27 02:00:05 -06:00
Robin Taylor
1bb933b414 Merge pull request #139 from atmire/DS-1345
Ds 1345,DS-1346 Bugfix for the fact that all versions where searchable/browsable
2012-11-26 01:37:31 -08:00
Robin Taylor
d8a59006d7 Merge pull request #140 from atmire/DS-1284
[DS-1284] Facet name (research field subject) too long for discovery box
2012-11-23 14:14:50 -08:00
abollini
375305560b Merge pull request #130 from abollini/DS-944
DS-944 Authority Control Bug
tested on FF16, IE7, IE8, IE9, Chrome 23
2012-11-23 06:52:40 -08:00
Bram Luyten
bc106e0b87 Improving DRI error condition for composite fields 2012-11-23 09:35:52 +01:00
Ivan Masár
fc0e4996fa update comments in xmlui.xconf 2012-11-22 15:53:07 +01:00
helix84
3749a2ad64 Merge pull request #141 from atmire/DS-1395
[DS-1395] Hit highlighting not operational
2012-11-22 05:01:21 -08:00
Robin Taylor
4eaba3ffb2 Merge pull request #138 from atmire/DS-1333
[DS-1333] Versioning an Item causes some metadata values to be lost
2012-11-21 12:18:59 -08:00
helix84
ce99dfad3f Merge pull request #131 from atmire/DS-1363
[DS-1363] Unable to create new version when previous version was deleted in workspace
2012-11-21 12:11:13 -08:00
Robin Taylor
d00a325abc Merge pull request #143 from tdonohue/DS-972
Fix for DS-972 - get the "More Results" button to work for Authority Control in XMLUI
2012-11-21 11:47:47 -08:00
Tim Donohue
404a004840 Fix for DS-972. Had to avoid disabling button via DRI (for some reason jQuery can never re-enable it). Also cleaned up code in choice-support.js to ensure that "More Results" button works properly. I've tested this heavily with LC Author Authority & it seems to work well now. 2012-11-21 12:13:55 -06:00
helix84
f4b7304bbe Merge pull request #142 from robintaylor/DS-1373
DS-1373 Correct the string name for the ES Navigation view option
2012-11-21 07:39:12 -08:00
robintaylor
42875f2669 Correct the string name for the ES Navigation view option 2012-11-21 15:30:46 +00:00
KevinVdV
7eeb042a36 [DS-1395] Hit highlighting not operational 2012-11-21 11:40:46 +01:00
KevinVdV
195c96c552 [DS-1284] Facet name (research field subject) too long for discovery box 2012-11-21 11:16:31 +01:00
KevinVdV
6bdb98f5d7 [DS-1345, DS-1346] Item Level Versioning, all versions are searchable & recent submission list in collections shows all the versions (removed unused import) 2012-11-21 10:54:03 +01:00
KevinVdV
d9df145a4e [DS-1345, DS-1346] Item Level Versioning, all versions are searchable & recent submission list in collections shows all the versions 2012-11-21 10:51:39 +01:00
helix84
3d5668392b Merge pull request #133 from steveswinsburg/master
DS-1391 build should check for ant version 1.8.0+
2012-11-21 00:51:39 -08:00
Robin Taylor
a2a8dffd44 Merge pull request #132 from tdonohue/DS-1392
DS-1392 fix: Add a new "root.basedir" property to every POM.
2012-11-20 01:09:07 -08:00
helix84
560acce24f Merge pull request #137 from hardyoyo/DS-1174
DS-1174: added e.printStackTrace to exception handler in itemUpdate.java
2012-11-19 14:38:30 -08:00
helix84
75e6c76ccc Merge pull request #136 from hardyoyo/DS-1389
DS-1389- removing all lines that mention the admin URL
2012-11-19 14:36:26 -08:00
Hardy Pottinger
a300ea755c DS-1174: added e.printStackTrace to exception handling in itemUpdate.java 2012-11-19 14:33:52 -06:00
Hardy Pottinger
e38ebadbcc DS-1389- removing all lines that mention the admin URL, as per suggestion by Andrea Schweer 2012-11-19 14:22:39 -06:00
Tim Donohue
a3ddb78925 Merge pull request #134 from tdonohue/master
Fix DS-1341 and DS-1388 (disable Versioning & Elastic Search aspects)
2012-11-19 11:14:37 -08:00
Tim Donohue
06863c787d Fix DS-1341 and DS-1388 (disable Versioning & Elastic Search aspects). Also cleanup formatting of the "xmlui.xconf" file in general, adding some extra explanatory comments, etc. 2012-11-19 13:11:06 -06:00
Steve Swinsburg
1d82f59465 DS-1391 build should require ant version 1.8.0 or greater 2012-11-19 12:14:00 +11:00
Tim Donohue
e98a1fdea6 Add a new "root.basedir" property to every POM. This property always specifies the relative path to the root [dspace-src] directory. It is used to reference the path to the LICENSE_HEADER & build.properties file from each submodule. 2012-11-16 15:59:49 -06:00
KevinVdV
9961c0a990 [DS-1363] Unable to create new version when previous version was deleted in workspace 2012-11-16 13:59:57 +01:00
Tim Donohue
6e6e26b442 Merge pull request #126 from robintaylor/DS-1365
DS 1365 - Reinstate runtime filtering of dspace.dir to allow developers to specify dspace.dir during build
2012-11-15 08:33:59 -08:00
Andrea Bollini
48d694fbad DS-944 Authority Control Bug 2012-11-14 23:05:32 +01:00
Andrea Bollini
b696147515 DS-1378 fix lookup authority feature in edit-item 2012-11-14 22:56:49 +01:00
Andrea Bollini
cf7157034c DS-1381 Javascript errors in all pages 2012-11-14 22:46:14 +01:00
Robin Taylor
c871e7123c Merge pull request #127 from atmire/DS-1291
[DS-1291] Statistics no longer working.
2012-11-13 02:08:26 -08:00
João Melo
d70faeb6d3 Merge pull request #128 from sedici/DS-1372
DS-1372: Change OAI2.0 DSpaceMetadataExistsFilter to check for one or more fields
2012-11-10 07:02:21 -08:00
Andrea Bollini
b49027bbe1 DS-1297 renamed the LuceneSearchProcessor 2012-11-10 11:47:06 +01:00
KevinVdV
acca49e228 Merge pull request #129 from lyncode/dspace-xoai
[DS-1380] XOAI: DSpaceAtLeastOneMetadataFilter with operator STARTS_WITH always fails
2012-11-10 01:11:48 -08:00
Lyncode
c1a34a3929 DS-1380 2012-11-10 02:56:27 +00:00
Ariel
eb9d43fa3c Merge pull request #1 from lyncodev/DS-1372
Just meta changes, contributors list changed.
2012-11-09 08:08:40 -08:00
Lyncode
1b270b1121 Just meta changes, contributors list changed. 2012-11-09 14:19:17 +00:00
Ariel J. Lira
f75f901cde DS-1372: Change OAI2.0 DSpaceMetadataExistsFilter to check for one or
more fields

Change to org.dspace.xoai.filter.DSpaceMetadataExistsFilter to accept
multiple fields, where at least one is required to accept an item.
2012-11-08 21:21:46 -03:00
KevinVdV
77393e42e2 [DS-1291] Statistics no longer working. 2012-11-08 14:48:17 +01:00
robintaylor
cbf7cab08f Fix so that the testing framework also uses the new property dspace.install.dir 2012-11-08 09:26:56 +00:00
robintaylor
00448864ef Rename the property default.dspace.dir to dspace.install.dir 2012-11-07 09:42:28 +00:00
helix84
459d0d1068 Merge pull request #122 from helix84/DS-1364
DS-1364 checker-emailer ignores advanced mail configuration
2012-11-06 05:44:38 -08:00
robintaylor
2e39070bd9 Reinstate the variable default.dspace.dir to allow filtering of dspace.dir in dspace.cfg at runtime 2012-11-06 10:57:53 +00:00
Mark H. Wood
6a195231fb Revert a little more reindentation 2012-11-05 16:07:41 -05:00
Mark H. Wood
5c78c2ef15 Delete leftover debugging output 2012-11-05 15:32:42 -05:00
Mark H. Wood
96a577dbfd Undo overzealous reindentation.
I went overboard while trying to make things more readable.  That can
wait for another time.  Some minor rewrapping, punctuation, etc. of
comments stands.
2012-11-05 15:26:24 -05:00
Mark H. Wood
96b39c81af Clean up doc comments in SWORD, XOAI, and one more in XMLUI 2012-11-05 11:47:54 -05:00
Mark H. Wood
80fd26f8bc Clean up doc comments in JSPUI, XMLUI 2012-11-02 16:58:08 -04:00
Mark H. Wood
255288a367 Clean up dspace-api doc comment warnings 2012-11-02 16:08:00 -04:00
Hardy Pottinger
5f30ed24d0 [maven-release-plugin] prepare for next development iteration 2012-11-02 10:33:27 -05:00
Hardy Pottinger
e4332de1ab [maven-release-plugin] prepare release dspace-3.0-rc3 2012-11-02 10:33:18 -05:00
Tim Donohue
609eea4e3c Merge pull request #123 from tdonohue/DS-1208
DS-1208 "Fix" to add in a "-Denv" flag to allow users to specify a different *.properties file
2012-11-02 08:04:08 -07:00
Tim Donohue
ba8e87d399 Add in the "-Denv" flag to allow users to specify a *.properties build file which is not in source control.
This provides developers with an option to create their own *.properties file instead of using build.properties.
2012-11-01 16:13:01 -05:00
Tim Donohue
3cf7c59780 Updating language pack version ranges for 3.0. This change allows DSpace 3.x to use any lang pack version between 3.0.0 and 4.0.0 (but not including 4.0.0). 2012-11-01 13:30:04 -05:00
Tim Donohue
51f3b0f72b Merge pull request #121 from lyncode/line-endings
Line endings normalization (rebased)
2012-11-01 08:06:24 -07:00
Tim Donohue
a8cff6dc0f Merge pull request #119 from tdonohue/DS-1343
Ds 1343 - Add parent pom.xml and build.propertiesfiles into the binary release
2012-11-01 07:47:02 -07:00
Ariel J. Lira
3aa695cadc DS-1364 checker-emailer ignores advanced mail configuration 2012-11-01 14:45:54 +01:00
Lyncode
d269a30a15 Line endings normalization (rebased) 2012-11-01 01:07:36 +00:00
Ivan Masár
b10be85130 fix build failure introduced by pull #111 2012-11-01 00:03:56 +01:00
helix84
8834adf097 Merge pull request #115 from lyncode/dspace-with-xoai
XOAI Core Library (Version 2.2.9). Fixed incorrect virtual set count. Fi...
2012-10-31 15:05:58 -07:00
Mark Diggory
aa62323e64 Merge pull request #118 from atmire/DS-1246
[DS-1246] Discovery indexer indexes collection license field.
2012-10-31 14:53:34 -07:00
KevinVdV
adf05dd7dd Merge pull request #111 from atmire/DS-1248
[DS-1248] Remove unused SolrLogger code for unsupported "metadata.item." settings
2012-10-31 14:35:08 -07:00
Tim Donohue
deac1b0a8a Merge pull request #109 from atmire/DS-851
[DS-851] When a "qualdrop_value" is set to "required", submit form always fails
2012-10-31 14:20:28 -07:00
Tim Donohue
dac778078e Merge pull request #113 from atmire/DS-1328
[DS-1328] Subject keyword box breaks layout for long taxonomy values.
2012-10-31 14:16:10 -07:00
Ivan Masár
9852e9226d fix a few typos 2012-10-31 19:38:45 +01:00
helix84
3b69ac5889 Merge pull request #120 from atmire/DS-1362
[DS-1362] The Sort search options graphic (that looks like a gear) is missing
2012-10-31 11:25:33 -07:00
KevinVdV
1b571a4da6 [DS-1362] The Sort search options graphic (that looks like a gear) is missing. 2012-10-31 19:01:30 +01:00
Tim Donohue
7e1b535a73 Move the 'distributions' profile (which creates the zip/tarball distributions) to the [src]/dspace/pom.xml. Minor updates (including enhanced comments) to all three of our Assemblies (assembly.xml, release.xml and src-release.xml), to ensure they all work properly when run from [src]/dspace/src/main/assembly/. Also minor updates to 'dspace-parent' and 'dspace' POM files. All these changes now fix issues with 'mvn package -Pdistributions'. 2012-10-31 12:34:06 -05:00
Tim Donohue
a05f0d0776 Move the zip/tarball creation assemblies (release.xml & src-release.xml) to [src]/dspace/src/main/assembly/
Also move the DSpace build assembly (assembly.xml) file to that directory as well, to consolidate.
2012-10-31 10:47:41 -05:00
Tim Donohue
8b1395f3ec Turn off Unit testing by default. This ensures that the "binary" release of DSpace won't attempt to run unit tests. 2012-10-31 10:36:21 -05:00
Tim Donohue
6861e5e879 Update dspace-parent POM to ONLY build the Unit Test Environment zip when the testEnvironment.xml file exists. This ensures it will NOT be built for the 'binary' release of DSpace. 2012-10-31 10:29:09 -05:00
robintaylor
62007a0041 Check for the presence of the dspace module before activating it to fix a mysterious problem with the test framework assembly 2012-10-31 10:20:34 -05:00
robintaylor
0cb2e07623 Add build.properties and parent pom.xml into the binary distribution 2012-10-31 10:19:37 -05:00
robintaylor
52fb650223 Only build modules if they are present in the distribution 2012-10-31 10:18:51 -05:00
robintaylor
9205de1f92 Backout pull request #112 2012-10-31 11:46:05 +00:00
Robin Taylor
2a03800438 Merge pull request #112 from robintaylor/DS-1343
DS-1343 Add parent pom.xml and build.properties files into the binary release
2012-10-31 02:57:57 -07:00
robintaylor
c4c6dddad4 Include some of the testing framework files in the binary release to avoid problems when subsequently building the binary release. 2012-10-30 16:10:46 +00:00
KevinVdV
36554dc9a6 [DS-1246] Discovery indexer indexes collection license field.
Added configuration for community/collection/item metadata, by default the license field will not be indexed for communities and collections.
2012-10-30 12:56:12 +01:00
Keiji Suzuki
07c756c7b4 Porting document type-based submission to JSPUI 2012-10-30 15:09:59 +09:00
lyncodev
d6cf7b5401 XOAI Core Library (Version 2.2.9). Fixed incorrect virtual set count. Fixed incorrect date issue [DS-1311]. Fixed incorrect count at last page (XSLT). 2012-10-27 23:40:43 +01:00
robintaylor
986579224d Check for the presence of the dspace module before activating it to fix a mysterious problem with the test framework assembly 2012-10-26 15:29:14 +01:00
Ivan Masár
34c0b3bf8a fix home URL in mobile theme 2012-10-26 14:10:04 +02:00
Richard Rodgers
4a42776bc8 Adds support for read-only contexts that bypass internal DSO cache 2012-10-25 14:59:15 -04:00
KevinVdV
dcca719491 [DS-1328] Subject keyword box breaks layout for long taxonomy values.
Added some documentation clarifying that the configuration from the input-forms.xml will be overridden by the authority control settings.
2012-10-25 17:00:07 +02:00
robintaylor
b65aec5c6a Add build.properties and parent pom.xml into the binary distribution 2012-10-25 14:57:41 +01:00
robintaylor
a7f1457ed1 Only build modules if they are present in the distribution 2012-10-25 14:57:02 +01:00
KevinVdV
1159f332d2 [DS-1248] Remove unused SolrLogger code for unsupported "metadata.item." settings 2012-10-25 10:40:28 +02:00
Tim Donohue
8d90332a6a [maven-release-plugin] prepare for next development iteration 2012-10-24 16:00:46 -05:00
Tim Donohue
6d9d0418f1 [maven-release-plugin] prepare release dspace-3.0-rc2 2012-10-24 16:00:32 -05:00
Hardy Pottinger
a0a6236f31 Merge pull request #110 from tdonohue/mvn-release-fixes
tested this pull request, confirmed it addresses the issues we've been seeing in the release process. It is difficult to convey how happy I am about this in a commit note, but this emoticon will have to suffice: :-)
2012-10-24 12:44:44 -07:00
Tim Donohue
7cd2aca93b Cleanup & fixing of several release process POM issues. Renamed the "addons" profile to "release" as it is really for maven releases. Ensured the "additions" module (under [src]/dspace/modules/) is ALWAYS enabled, as several other modules under [src]/dspace/modules/ have it as a dependency. Cleaned up some comments. 2012-10-24 13:02:46 -05:00
Mark H. Wood
34d9a4f7cf [DS-1344] moved "resource" to "resources" 2012-10-24 11:01:21 -04:00
Tim Donohue
ce236fedc1 Upgrade version of 'dspace-release-plugin' for Maven Releases. We were way behind in versions, and this latest seems to have good new features. 2012-10-23 11:21:52 -05:00
KevinVdV
bf492d1dca [DS-1333] Versioning an Item causes some metadata values to be lost 2012-10-23 17:56:30 +02:00
Tim Donohue
2397541205 Minor Release enhancement to POM. Tell Maven to default to tagging all releases as "dspace-[version]" instead of "dspace-parent-[version]". 2012-10-23 10:53:23 -05:00
KevinVdV
cde46c111e [DS-DS-851] When a "qualdrop_value" is set to "required", submit form always fails 2012-10-23 16:57:17 +02:00
Hardy Pottinger
f43ece0fe6 Update dspace-oai/src/main/webapp/static/style.xsl
minor tweak to the license header of style.xsl in dspace-oai
2012-10-22 12:42:20 -05:00
Hardy Pottinger
9366defbf6 Merge pull request #108 from lyncode/dspace-xoai
merging this pull request, with the intention of fixing the header in style.xsl immediately thereafter
2012-10-22 10:37:51 -07:00
Sands Fish
ce016920c7 Merge pull request #95 from atmire/DS-1210
[DS-1210] NullPointerException on /search-filter without field param
2012-10-22 09:52:13 -07:00
Lyncode
64de660b0a Using version 2.2.8 of XOAI 2012-10-22 01:38:59 +01:00
Lyncode
c77c2f0fe3 https://jira.duraspace.org/browse/DS-1326 2012-10-22 00:36:04 +01:00
Lyncode
bb118de181 Fixes
- Warnings
- https://jira.duraspace.org/browse/DS-1307 (partial)
- https://jira.duraspace.org/browse/DS-1300
- https://jira.duraspace.org/browse/DS-1309
2012-10-22 00:36:00 +01:00
Hardy Pottinger
708b93ef6d Merge pull request #104 from tdonohue/Maven-POM-cleanup
Have confirmed this all works as advertised by pulling the branch to my working copy. Merging this request.
2012-10-19 13:21:08 -07:00
Tim Donohue
9a18cc328e In dspace-parent POM, move plugin versions/settings to <pluginManagement> section if they should be *inherited* by submodule POMs. Also change LICENSE_HEADER to be a local reference (instead of HTTP URL, since GitHub is very slow to provide that file & sometimes times out). 2012-10-19 14:14:12 -05:00
Tim Donohue
67d8f99c0d dspace-services POM was missing a dependency on dspace-jmockit. This fixes a dspace-services error that occurred when you build & test with an empty ~/.m2/ 2012-10-19 11:17:07 -05:00
Tim Donohue
9f7514c5eb Merge remote-tracking branch 'upstream/master' into Maven-POM-cleanup 2012-10-19 10:40:06 -05:00
Robin Taylor
cf7f97bd81 Merge pull request #106 from atmire/DS-1280
[DS-1280] Downgrade spring version to circumvent a spring issue that causes the DSpace unit tests to fail
2012-10-19 02:20:25 -07:00
KevinVdV
2800c8339c [DS-1280] Downgrade spring version to circumvent a spring issue that causes the DSpace unit tests to fail 2012-10-19 10:58:38 +02:00
Tim Donohue
1dffdfdea4 Fix for DS-1340. Cleanup of the OAI 2.0 related POMs so that they are in line with current POM structure. Added some extra comments to the dspace/pom.xml which has some OAI 2.0 stuff in it too. 2012-10-18 16:52:46 -05:00
Tim Donohue
143591ed98 Cleanup POM Dependencies. Remove dependeny <version> tags from submodule POMs when the version is already specified by dspace-parent POM. Also ensure all 'servlet-api' dependencies have a <scope>provided</scope> as they should. 2012-10-18 14:07:29 -05:00
Tim Donohue
fff69e86b6 Cleanup whitespace in POMs. THIS COMMIT CHANGES NO ACTUAL CODE/SETTINGS. All it does is cleanup whitespacing / spacing in POMs that really need some extra love. 2012-10-18 13:00:14 -05:00
Tim Donohue
127313e25c DS-1338 - Fix misleading names/descriptions in Maven POMs. All Maven projects now have consistent & straightforward names. 2012-10-18 12:30:47 -05:00
Tim Donohue
1cdd1c8786 Merge pull request #101 from atmire/DS-1325
[DS-1325] Every Item page has an HTML <title> of "Version History"
2012-10-17 13:34:51 -07:00
Tim Donohue
8357af0d52 Merge pull request #96 from atmire/DS-1281
[DS-1281] XMLWorkflow throws NullPointerException on "Assign Roles" when not enabled
2012-10-17 13:33:21 -07:00
Mark H. Wood
e4e07f5635 [DS-1331] test of 1-argument getCountryName() should get expected value from default locale 2012-10-17 10:12:27 -04:00
Ivan Masár
fe86e458e2 updating an outdated link 2012-10-17 14:19:40 +02:00
KevinVdV
d22ffc7adf [DS-1325] Every Item page has an HTML <title> of "Version History" 2012-10-17 12:34:13 +02:00
Tim Donohue
0d9a523add Minor POM cleanup. Removing a few unnecessary <version> tags, as these plugin versions are defined in dspace-parent POM & inherited. 2012-10-16 15:34:53 -05:00
abollini
a5ef4df84e Merge pull request #98 from abollini/DS-1294
DS-1294 Autocomplete in discovery filter doesn't work
2012-10-16 10:52:12 -07:00
Tim Donohue
58427bd5f2 Minor cleanup of dspace-api & dspace-xmlui POMs, removing duplicate dependencies (which cause a Maven warning) 2012-10-16 12:46:38 -05:00
Tim Donohue
a2a1353d07 Revert "[maven-release-plugin] rollback the release of dspace-3.0"
This reverts commit e0777775a7.
2012-10-16 12:01:48 -05:00
Tim Donohue
e0777775a7 [maven-release-plugin] rollback the release of dspace-3.0 2012-10-16 12:00:19 -05:00
KevinVdV
9e21d079ae [DS-1325] Every Item page has an HTML <title> of "Version History" 2012-10-16 12:42:50 +02:00
helix84
b207aacc24 Merge pull request #100 from helix84/xoai-fixes
XOAI fixes (rebased)
2012-10-15 00:51:59 -07:00
helix84
d57a502171 Merge pull request #2 from lyncodev/xoai-fixes
Managed Servlet API version
2012-10-15 00:50:34 -07:00
Lyncode
75cafef5f6 Managed Servlet API version 2012-10-15 02:37:12 +01:00
Lyncode
a401bf3484 https://jira.duraspace.org/browse/DS-1309 2012-10-15 02:30:45 +02:00
Lyncode
c314a91f99 https://jira.duraspace.org/browse/DS-1308 2012-10-15 02:30:41 +02:00
Lyncode
0749fc4a89 Version 2.2.7 of XOAI. DS-1305 2012-10-15 02:30:04 +02:00
Lyncode
44c890dcbc https://jira.duraspace.org/browse/DS-1304 2012-10-15 02:27:44 +02:00
Lyncode
a3ac80cb0a https://jira.duraspace.org/browse/DS-1303 2012-10-15 02:27:40 +02:00
Lyncode
f7d32d6f87 https://jira.duraspace.org/browse/DS-1315 2012-10-15 02:27:35 +02:00
Lyncode
6d1007625b https://jira.duraspace.org/browse/DS-1310
Default name defined.
2012-10-15 02:27:31 +02:00
Lyncode
4a89fc1010 Explicit log message
When XOAI isn't initialized
2012-10-15 02:27:27 +02:00
lyncodev
c219939570 Oracle queries fixed
FileServlet added
Thanks to Domingo Iglesias <diglesias@ub.edu>
2012-10-15 02:22:01 +02:00
Mark H. Wood
f4b932c9dc Add commented-out db.jndi property to dspace.cfg 2012-10-11 10:42:25 -04:00
Andrea Bollini
d806882b28 DS-1294 Autocomplete in discovery filter doesn't work
The JSON discovery plugin was misconfigured in the dspace.cfg
2012-10-11 16:32:27 +02:00
Robin Taylor
74ed79b30b Merge pull request #97 from atmire/DS-1280
[DS-1280] Upgrade Spring to latest release possible
2012-10-11 06:58:58 -07:00
KevinVdV
083eeb186e [DS-1280] Upgrade Spring to latest release possible 2012-10-11 13:54:53 +02:00
KevinVdV
05ddeaa93c [DS-1281] XMLWorkflow throws NullPointerException on "Assign Roles" when not enabled 2012-10-11 13:24:27 +02:00
KevinVdV
f7e4b64ad7 [DS-1210] NullPointerException on /search-filter without field param 2012-10-11 12:58:10 +02:00
Ivan Masár
b925a8928d remove space from file name 2012-10-11 12:39:17 +02:00
Ivan Masár
5f6ef401fa optipng -o9 *.png 2012-10-11 12:38:18 +02:00
Ivan Masár
905ccfb42c fix copyright year in Mirage 2012-10-11 09:18:21 +02:00
Mark H. Wood
d0a7078cd6 Merge erroneously multiple Oracle upgrade scripts 2012-10-09 16:53:02 -04:00
Sands Fish
8d25891d9c [maven-release-plugin] prepare for next development iteration 2012-10-09 13:53:44 -04:00
Sands Fish
2964d6c50d [maven-release-plugin] prepare release dspace-3.0-rc1 2012-10-09 13:52:59 -04:00
Ivan Masár
44ecfa82ee Updated PDF documentation for 3.0-RC1 2012-10-09 16:40:56 +02:00
Mark Diggory
62fe30ae95 Reverting Discovery as Default 2012-10-08 12:27:39 -07:00
Mark Diggory
c430cb8ba8 Merge pull request #93 from abollini/discovery-default
Discovery default for JSPUI
2012-10-08 11:22:14 -07:00
Mark Diggory
235e1a1309 Merge pull request #91 from atmire/discovery-default
[DS-1272] Setting discovery to be the default search/browse engine
2012-10-08 11:19:15 -07:00
Mark Diggory
6bb3212b15 Update dspace/modules/solr/pom.xml
Remove Version of Maven war plugin from Overlay
2012-10-08 11:12:24 -07:00
Andrea Bollini
d119e9e33a DS-1272 add discovery as default for JSPUI/Browse 2012-10-08 08:44:37 +02:00
Andrea Bollini
cfc242479a Merge remote-tracking branch 'atmire/discovery-default' into discovery-default 2012-10-06 14:55:08 +02:00
Mark Diggory
fdaffdc806 Merge pull request #92 from atmire/dspace3-lyncode-fix
XOAI (Moved configs and bug fix)
2012-10-05 17:00:31 -07:00
Mark Diggory
8be71cf73a XOAI (Moved configs and bug fix) - Merge fixes 2012-10-05 16:59:48 -07:00
Mark Diggory
c99718c714 Merge remote-tracking branch 'lyncode/dspace-with-xoai' into dspace3-lyncode-fix 2012-10-05 16:45:36 -07:00
Tim Donohue
2fb2eee70c Adding updated PDF documentation for 3.0-RC1 2012-10-05 16:27:06 -05:00
Tim Donohue
a136ac9e45 Merge pull request #30 from tdonohue/DS-1198
DS-1198 : Fix for "Unit Testing Framework fails to initialize properly on Windows OS"
2012-10-05 12:53:41 -07:00
Sands Fish
34929fdf4c Bumping performance constraints in test suite in order to cut the DSpace 3.0 RC1 release; performance degradation discussions to commence on list. 2012-10-05 15:14:00 -04:00
Tim Donohue
eeaa406f17 Fix for DS-1198 on latest master 2012-10-05 14:11:39 -05:00
Tim Donohue
4f253a0afe Merge remote-tracking branch 'upstream/master' 2012-10-05 14:03:11 -05:00
Ivan Masár
dd33421f2b fix a bunch of typos 2012-10-05 18:42:24 +02:00
Elias Tzoc
39f2f13800 mobile theme: CSS fixes 2012-10-05 18:13:49 +02:00
KevinVdV
2cb2fa0c41 [DS-1272] Setting discovery to be the default search/browse engine 2012-10-04 13:13:01 +02:00
Mark Diggory
bed7fc63a0 Merge pull request #90 from atmire/dspace3-reorg2
[DS-1144] Maven Project Consolidation
2012-10-03 13:33:22 -07:00
Mark Diggory
21d400c20a [DS-1144] Maven Project Consolidation : correct renaming in overlay 2012-10-03 12:52:59 -07:00
Mark Diggory
39c1e90e62 [DS-1144] Maven Project Consolidation : Correct Intellij Refactoring error 2012-10-03 12:50:22 -07:00
Mark Diggory
1af45471d2 [DS-1144] Maven Project Consolidation : XMLUI dependencies 2012-10-03 12:38:05 -07:00
Mark Diggory
5ded10314d [DS-1144] Maven Project Consolidation : SWORD Client compilation issues 2012-10-03 12:25:06 -07:00
Mark Diggory
f9834fb017 [DS-1144] Maven Project Consolidation : Load Discovery with API 2012-10-03 12:14:17 -07:00
Mark Diggory
db255b7345 [DS-1144] Maven Project Consolidation : Load Discovery with API 2012-10-03 12:13:20 -07:00
Mark Diggory
e15609c4aa [DS-1144] Maven Project Consolidation : Consolidate Webapps 2012-10-03 04:26:23 -07:00
Mark Diggory
70b3944196 [DS-1144] Maven Project Consolidation : Services, Missing Imports and Cleanup 2012-10-03 03:43:23 -07:00
Mark Diggory
e24aaffe83 [DS-1144] Maven Project Consolidation : Discovery 2012-10-03 03:29:05 -07:00
Mark Diggory
138abc8c24 [DS-1144] Maven Project Consolidation : SWORD Client 2012-10-03 03:06:11 -07:00
Mark Diggory
6e834495ae [DS-1144] Maven Project Consolidation : Statistics 2012-10-03 02:55:52 -07:00
João Melo
f682899c94 License headers! 2012-09-27 21:00:12 +02:00
Lyncode
99f6e9261a XOAI configuration directory moved 2012-09-27 19:13:37 +01:00
Mark Diggory
ef576f7012 Merge pull request #87 from atmire/DS-1271
[DS-1271] Tweaking of the new discovery user interface interface
2012-09-26 14:05:37 -07:00
Mark Diggory
9b1f55a35f Merge pull request #85 from sedici/opensearch-description-url
[DS-1268] Fixed wrong URL for OpenSearch description.xml document
2012-09-26 14:01:03 -07:00
Nestor Oviedo
ab2edd2844 [DS-1268] All themes fixed in order to render the OpenSearch
autodiscovery URL
2012-09-26 11:04:02 -03:00
Andrea Bollini
d37ca5230a Bug fix for DS-1217 Discovery JSPUI
Add ability to specify extra head information to place after any
javascript import (prevent search autocomplete to work)
Wrong placement of next/previous link in search facets
2012-09-26 15:07:55 +02:00
KevinVdV
a973b90c2d [DS-1271] Tweaking of the new discovery user interface interface 2012-09-26 13:55:40 +02:00
KevinVdV
0257a5b7b8 [DS-1271] Tweaking of the new discovery user interface interface 2012-09-26 13:42:21 +02:00
Mark Diggory
f4c8314da6 Merge pull request #86 from atmire/atmire-statistics
[DS-1243] @mire solr statistics contribution
2012-09-25 15:38:55 -07:00
Nestor Oviedo
420f4722ad [DS-1268] Fixed wrong URL for OpenSearch description.xml document
Class org.dspace.app.xmlui.aspect.viewArtifacts.Navigation
now creates a DRI metadata "opensearch.autolink" element with the URL to
OpenSearch description file: "open-search/description.xml"; 
Also [Mirage]/lib/xsl/core/page-structure.xsl file now renders that
element.
2012-09-25 16:29:28 -03:00
KevinVdV
808bc6fc5d [DS-1243] @mire solr statistics contribution 2012-09-25 15:58:23 +02:00
Mark Diggory
ab37bd4a51 Merge pull request #84 from EKT/DS-1226-fixed
DS-1226 fix problem with BTE spring xml file loading
2012-09-21 22:53:25 -07:00
EKT
d4823f12ba Fix issue with Service Manager and BTE 2012-09-22 08:27:46 +03:00
EKT
0a8953cd88 Fix issue with service manager and BTE 2012-09-22 08:23:53 +03:00
Mark Diggory
2ad4622ce3 Merge pull request #81 from sedici/textboxes-linebreaks
[DS-1023] Patch to allow linebreaks in <textarea> boxes
2012-09-21 19:58:02 -07:00
Mark Diggory
0beab981c9 Merge pull request #83 from mwoodiupui/DS-1182-simple
[DS-1182] Get a fresh Session each time
2012-09-21 19:55:12 -07:00
Mark Diggory
afc4b09f63 Merge pull request #46 from EKT/DS-1226
[DS-1226] Batch import from major bibliographic formats
2012-09-21 19:46:53 -07:00
EKT
a05f82c98d Change version in pom maven dependency for BTE 2012-09-21 19:49:41 +03:00
Peter Dietz
a79e7cf90a Fix minor typo unkown to unknown 2012-09-20 16:50:38 -03:00
Mark Diggory
481e8a7124 [DS-1194] Item Level Versioning : License Header Fix 2012-09-20 12:01:05 -07:00
Fabio Bolognesi
4084d675fa [DS-1194] Item Level Versioning : Bamboo Test Fixes 2012-09-20 10:19:44 -07:00
Mark H. Wood
60d6eea76d [DS-1182] Get a fresh Session each time 2012-09-20 12:19:42 -04:00
EKT
a7be165999 Update from DSpace master 2012-09-20 09:12:24 +03:00
Mark Diggory
2b51501a26 Compilation fix for [DS-1194] Atmire dspace 3.0 versioning contribution 2012-09-20 08:09:13 +02:00
Mark Diggory
a3296c476f Merge pull request #72 from atmire/dspace3-versioning
[DS-1194] Atmire dspace 3.0 versioning contribution
2012-09-19 16:29:33 -07:00
Mark Diggory
db9f6e6f36 Atmire dspace 3.0 versioning contribution
Versioning : Add Spring WebMVC Control
Versioning : AIP Prototype Test Improvements.
2012-09-20 01:14:30 +02:00
Peter Dietz
538017d84c Add missing license header 2012-09-19 17:12:35 -04:00
Hardy Pottinger
da5b6024ac Merge pull request #34 from KevinVdV/DS-1061
[DS-1061] Filenames and BitstreamFormat detection break on filenames with equal signs in them
2012-09-19 13:53:34 -07:00
Hardy Pottinger
e9e2a88a1e Merge pull request #58 from KevinVdV/DS-1240
[DS-1240] Sword V2 doesn't support the configurable workflow
2012-09-19 13:51:14 -07:00
Hardy Pottinger
ffffac08d3 Merge pull request #71 from KevinVdV/DS-1130
[DS-1130] Controlled vocabulary support for the XMLUI
2012-09-19 13:47:33 -07:00
Hardy Pottinger
3b20361ef1 Merge pull request #75 from atmire/dspace3-workflow
[DS-1249] Configurable Workflow Improvements
2012-09-19 13:46:34 -07:00
Hardy Pottinger
53f1fa3913 Merge pull request #63 from peterdietz/elastic-search-stats
DS-1241 Statistics implementation in Elastic Search
2012-09-19 13:42:33 -07:00
Peter Dietz
27d10c0734 Disable Elastic Search stats logging by default 2012-09-19 16:34:54 -04:00
Peter Dietz
1c60cd1d30 Change breadcrumb to link back to terminal container 2012-09-19 00:59:55 -04:00
Peter Dietz
f3b3f73b80 Add code-comment for the ES classes
Also removed an unused function in report generator
2012-09-19 00:40:24 -04:00
Peter Dietz
52b499f2dc Remove/revert Growth queries
I've removed the growth queries from the stats.
1) These are Usage statistics, the growth information should not reside in
statstransformer
2) It was poorly constructed with direct SQL in the UI layer.
2012-09-19 00:39:38 -04:00
Peter Dietz
98cd5e5833 Limit UsageEvents to listen for to just VIEW events
With the advent of Search UsageEvents, we don't want to track searches,
just to track views.
2012-09-18 23:54:34 -04:00
Mark H. Wood
59cedf1018 Merge pull request #82 from mwoodiupui/master
[DS-1144] Maven Project Consolidation (merge dspace-services)
2012-09-18 13:01:53 -07:00
Mark H. Wood
9ac8ee99fd Adjust POMs for dspace-services merger 2012-09-18 10:38:03 -04:00
Mark H. Wood
0db0fea762 Merge dspace-services into DSpace 2012-09-18 10:34:39 -04:00
Ivan Masár
3b356efdf8 remove license headers from robots.txt
On Tim's suggestion, I'm removing license headers from robots.txt
They don't have proper comment format (#) and they're already
excluded from license:check
2012-09-18 12:30:20 +02:00
Tim Donohue
8923ac42ce Specifying OS License in text of *.LICENSE files
Several of our *.LICENSE files (used for CSS / JS / XSLT frameworks) had
unclear or even incorrectly specified licenses. I've cleaned up most of
these files to specify the name of the OS License and add a link back to
the URL where that license is available.

Also added minor note in LICENSES_THIRD_PARTY file which describes how
to find all these *.LICENSE files.
2012-09-17 16:52:15 -05:00
Lyncode
09c8f57f61 Using version 2.2.5 of XOAI 2012-09-17 19:12:07 +01:00
abollini
70a52cadc2 Merge pull request #54 from EKT/DS-1225
[DS-1225] Show display values (input-forms) for controlled vocabularies in ItemTag
2012-09-17 09:11:05 -07:00
Rania Stathopoulou
a2286545ce DS-1225-Show display values for controlled vocabularies(input forms) in Item Page 2012-09-17 18:55:02 +03:00
abollini
0bad4bf743 Merge pull request #52 from EKT/DS-1223
[DS-1223] Display frequencies of items in single browsing for selected indices
2012-09-17 02:49:10 -07:00
EKT
f5895a52d1 squashing 2012-09-17 12:42:33 +03:00
Rania Stathopoulou
b23cb050d1 Merge pull request #55 from EKT/DS-1231
[DS-1231] Indexing both stored and display-value from input-forms for search

Squashed commit of the following:

commit 426db183fc
Merge: b05c6a3 8334fce
Author: kstamatis <kstamatis@ekt.gr>
Date:   Sat Sep 15 08:52:12 2012 -0700

    Merge pull request #2 from abollini/DS-1231

    Ds 1231

commit 8334fceed0
Author: Andrea Bollini <bollini@cilea.it>
Date:   Sat Sep 15 17:31:08 2012 +0200

    Use the default input set if the item is not yet archived

commit c6be362592
Author: Andrea Bollini <bollini@cilea.it>
Date:   Sat Sep 15 17:23:48 2012 +0200

    Minor changes

    Code formatted using the dspace style eclipse formatter
    No store values in the index as the lucene projection is not currently used
    use generics to avoid raw type warning

commit 6e6933d174
Merge: 3b1cc06 b05c6a3
Author: Andrea Bollini <bollini@cilea.it>
Date:   Sat Sep 15 16:19:20 2012 +0200

    Merge remote-tracking branch 'EKT/DS-1231' into DS-1231

commit b05c6a3288
Author: Rania Stathopoulou <iostath@ekt.gr>
Date:   Fri Sep 14 19:49:27 2012 +0300

    Search indexing all values (now getControlledVocabulariesDisplayValueLocalized returns a list of all the values and the DSIndexer manages these values)
    A return statement is added if the item has no collection

commit 33da186e6c
Author: Rania Stathopoulou <iostath@ekt.gr>
Date:   Thu Sep 13 11:19:56 2012 +0300

    Code Indentation

commit c31651bdd8
Author: Rania Stathopoulou <iostath@ekt.gr>
Date:   Tue Sep 11 11:54:43 2012 +0300

    Code changed in order to index both stored and display-value for all localized input-forms if the user specifies 'inputform' in Search Index Configuration of dspace.cfg, e.g: search.index.12 = language:dc.language:inputform

commit d278958c22
Author: Rania Stathopoulou <iostath@ekt.gr>
Date:   Fri Sep 7 12:19:25 2012 +0300

    Package name 'gr.ekt.repositories.dspace.utils' removed.
    All functions in gr.ekt.repositories.dspace.utils.Utilities.java were transfered in org.dspace.app.util.Util.java
    Documentation added for the above functions

commit 8135fd4eb7
Author: EKT <iostath@ekt.gr>
Date:   Wed Aug 8 18:40:40 2012 +0300

    Unthrown exceptions added

commit fa8796bfeb
Author: EKT <iostath@ekt.gr>
Date:   Wed Aug 8 17:06:20 2012 +0300

    Indexing both stored and display-value from input-forms for search
2012-09-17 11:13:57 +02:00
helix84
d0fa70843e Merge pull request #76 from helix84/ldap-improvements
Ldap improvements
2012-09-17 02:06:27 -07:00
Ivan Masár
03f0ed903e fix whitespace in LDAPAuthentication.java 2012-09-17 10:39:29 +02:00
Ivan Masár
8c4341357b fix the special case of anonymous LDAP search
Hierarchical LDAP originally assumed that when search.user is not
set, anonymous search is performed. We now assume that if it's
not set, simple LDAP authentication is performed. That retains
configuration backward comaptibility for the two most common cases.
The special case of anonymous search now requires search.anonymous
to be set to true, which means old installations using this setup
will have to add this config property.
2012-09-17 10:29:40 +02:00
Ivan Masár
3c45c1bc67 consolidate LDAP and LDAPHierarchical auth
Thanks to the previously merged DS-1180, the LDAPHierarchicalAuthentication
method gaind the capabilities of LDAPAuthentication. This commit renames
LDAPHierarchicalAuthentication to LDAPAuthentication and removes the
original LDAPAuthentication.
2012-09-17 10:29:40 +02:00
Ivan Masár
79c0142c27 [DS-1078] LDAP group to DSpace group on login 2012-09-17 10:29:40 +02:00
helix84
91b49278dd Merge pull request #74 from helix84/display-bitstream-rights
[DS-1193] display bitstream read access permissions on item page (squashed)
2012-09-17 01:26:29 -07:00
Ivan Masár
2499436c97 [DS-1193] display bitstream read access permissions on item page (squashed)
This displays the bitstream READ rights information at the item page
in Mirage, but doesn't indicate whether the currently logged in user
has READ access.
2012-09-17 10:19:07 +02:00
Lyncode
c8692ee8c1 New catch (Exception) 2012-09-17 01:30:18 +01:00
Peter Dietz
4391d21193 Refactored ES Stats UI to come from IncludePageMeta, instead of theme 2012-09-16 18:43:05 -04:00
Peter Dietz
37550b557e Add isUseProxies to SpiderDectector, to remove solr dependency
Also, a fixed a typo in dspace.cfg, no code refers to log.useProxies,
just useProxies.
2012-09-16 13:44:21 -04:00
Peter Dietz
afa0050b9b Move implementation agnostic usage-stats configs to new config module
Not sure if I need to add usage-statistics.cfg to module overlay pom for filter
2012-09-16 13:44:21 -04:00
Peter Dietz
dc6548eaee Move ES configs into module structure of elastic-search-statistics 2012-09-16 13:44:21 -04:00
Peter Dietz
9282c2a6c5 Remove copy/paste metadataStorage from ES, following DS-421
Stumbled upon strange code, that has a note in DS-421.
Which says metadata storage in usage-event stats engine was inadvertent,
so ES has no need to include this. Note: I haven't touched SolrLogger
2012-09-16 13:44:20 -04:00
Peter Dietz
391fbb47b4 Add stats-log-importer-elasticsearch utility to launcher 2012-09-16 13:44:20 -04:00
Peter Dietz
f00db44cf3 ES stats-import explicitly uses a transport-client
Plus:
- A bug fix where we only execute a bulk-data post, when we have a payload
- Remove userAgent from data, since we can't obtain from dspace.log
2012-09-16 13:44:20 -04:00
Peter Dietz
21fdd99bb9 Simplify ES client creation (Node, Local, Transport), and default to Node
Changed default client to be NodeClient so we can listen to IP transport.
2012-09-16 13:44:20 -04:00
Peter Dietz
f6e495797c Add sonatype-releases repository for Elastic Search
The elasticsearch jar was in my .m2/repository, after clearing that, I
realized I need to add the sonatype repository.
2012-09-16 13:44:20 -04:00
Peter Dietz
3bc6702fe0 Excluding jcl-over-slf4j from sneaking into dependencies
If two slf4j versions (1.6 and 1.5) get into the project, it causes
version mismatches, and you get a dreaded error like:
java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log

Somehow the version bumps I've added to lucene, or other dependencies I've
added have caused slf4j to import jcl-over-slf4j (version 1.6). This fixes
that.
2012-09-16 13:39:58 -04:00
Peter Dietz
66a1295598 Add DSpace licensing to contributed code
mvn install had complained about these files.
2012-09-16 13:39:57 -04:00
Peter Dietz
49f4a64c76 Create importer to ingest dspace.log usages events to ES 2012-09-16 13:39:57 -04:00
Peter Dietz
2bada688af Proof of concept convert ES response to a neutral data object to spit out JSON
Created a class called DataTermsFacet, which holds list of term:count pairs.
2012-09-16 13:39:57 -04:00
Peter Dietz
9cc784458d Provide a link to the view-elastic-search statsitics view 2012-09-16 13:39:57 -04:00
Peter Dietz
8a6cf16416 DS-1241 Modifying the dashboard theme to have working JS and CSS
Currently wiring the dashboard theme to copy-in the style.css that
Reference uses.
2012-09-16 13:39:57 -04:00
Peter Dietz
ee6753fcfc DS-1241 Elastic Search Statistics - Put Mapping/Schema 2012-09-16 13:39:57 -04:00
Peter Dietz
59d1970f1c DS-1241 Statistics Implementation in Elastic Search
Copied in Implementation of Elastic Search, and wired it into DSpace.
I changed the ES Node to be a nodeClient, and also one that runs locally
within tomcat's JVM. For OSU, we had used either transport-client, or
node-client, and both of which required that the server also be running a
seperate elastic search instance. By bundling this into DSpace, it should
make this a bit more turn-key to get started using Elastic Search.

By default, Elastic Search is ON with this commit.
2012-09-16 13:39:57 -04:00
Andrea Bollini
3b1cc06e0d add missing license headers in files from DS-1217 2012-09-15 15:41:53 +02:00
Lyncode
7d033d8cd2 Version 2.2.4 of XOAI integrated. 2012-09-15 09:19:40 +01:00
Elias Tzoc
449c7f9dd9 DS-1017: XMLUI mobile theme - initial contribution 2012-09-15 00:07:56 +02:00
lyncodev
8fc3c3e76e GetRecord bug solved 2012-09-14 19:53:31 +01:00
Mark H. Wood
83e8e9d541 Merge pull request #5 from mwoodiupui/DSRV-22
[DSRV-22] Detect indirect circular property references
2012-09-14 08:33:04 -07:00
Nestor Oviedo
97580ee023 Merge pull request #80 from sedici/DS-1244
[DS-1244] XMLUI's OpenSearch implementation refactored to work with Discovery

Squashed commit of the following:

commit 1268c9af08018afb46d213910d8a96c79d20715c
Author: Andrea Bollini <bollini@cilea.it>
Date:   Fri Sep 14 16:11:02 2012 +0200

    Fix JSPUI side to work with new classes

    also included some bug fix about I18N access in Open Search for JSPUI

commit 885012fcf32943dc1ce2ac7f35bb3810f70363aa
Merge: 12b4d6b d8b1b4c
Author: Andrea Bollini <bollini@cilea.it>
Date:   Fri Sep 14 15:28:09 2012 +0200

    Merge remote-tracking branch 'sedici/open-search-discovery' into DS-1244

commit d8b1b4ccfe
Merge: 53ad4e3 58fe789
Author: Nestor Oviedo <nestor@pc-nestor.(none)>
Date:   Thu Sep 13 13:50:03 2012 -0300

    Merge remote-tracking branch 'origin/open-search-discovery' into open-search-discovery

    Conflicts:
    	dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/servlet/OpenSearchServlet.java

    Rebase with 7bc92a81ca
    Conflict on dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/servlet/OpenSearchServlet.java resolved: new version preserved

commit 53ad4e36c6
Author: nestor <nestor@pc-nestor>
Date:   Thu Sep 13 10:27:32 2012 -0300

    Added license header to DiscoveryOpenSearchGenerator

commit bdb22e0aba
Author: nestor <nestor@pc-nestor>
Date:   Thu Sep 6 13:36:01 2012 -0300

    DS-1244 - XMLUI's OpenSearch implementation refactored.
    It's in order to use either PostgreSQL's indexes or Discovery services
    based on the requested URL

commit 58fe789f80
Author: nestor <nestor@pc-nestor>
Date:   Thu Sep 13 10:27:32 2012 -0300

    Added license header to DiscoveryOpenSearchGenerator

commit efbf7d2126
Author: nestor <nestor@pc-nestor>
Date:   Thu Sep 6 13:36:01 2012 -0300

    DS-1244 - XMLUI's OpenSearch implementation refactored.
    It's in order to use either PostgreSQL's indexes or Discovery services
    based on the requested URL
2012-09-14 16:24:34 +02:00
EKT
12b4d6b296 Merge pull request #49 from EKT/DS-1236
DS-1236 Auto update advance search drop down lists from configuration file

Squashed commit of the following:

commit 612ac62f740fc26cd10d8a338db3537c49b3d4bd
Author: Andrea Bollini <bollini@cilea.it>
Date:   Fri Sep 14 10:38:05 2012 +0200

    I18N fix, improved configuration and code readability

    included the default index in the configuration
    refactored the jsp to reduce code for backward compatibility
    fixed messages.properties key to use a common strategy to derive it
    from the search index

commit 81b3da293e
Author: EKT <kstamatis@ekt.gr>
Date:   Fri Sep 14 08:43:33 2012 +0300

    Conflicts:
    	dspace/config/dspace.cfg
2012-09-14 10:54:11 +02:00
Lyncode
85a5d8daab Single Item Filtering corrected. 2012-09-13 18:52:32 +01:00
EKT
7bc92a81ca Merge pull request #48 from EKT/DS-1228
DS-1228 Concatenate values of multi-value fields in item display

Squashed commit of the following:

commit 79f87c3e2fcf00dd3aa7e2b5f4a5bc88d0482da1
Author: Andrea Bollini <bollini@cilea.it>
Date:   Thu Sep 13 16:36:16 2012 +0200

    fixed indentation and compilation error (missing ;)

commit 4ad5a517e3755de620e49e2f8be020089dba624b
Merge: 8115be2 7f287cf
Author: Andrea Bollini <bollini@cilea.it>
Date:   Thu Sep 13 16:30:37 2012 +0200

    Merge remote-tracking branch 'EKT/DS-1228' into DS-1228

commit 7f287cfd14
Author: EKT <kstamatis@ekt.gr>
Date:   Mon Sep 10 13:38:22 2012 +0300

    Remove configuration for including space - change configuration option name

commit 8bfd621d10
Author: EKT <kstamatis@ekt.gr>
Date:   Mon Aug 6 15:06:40 2012 +0300

    Add option to concatenate multiple values in item display instead of line break
2012-09-13 16:47:31 +02:00
abollini
8115be2c37 Merge pull request #60 from abollini/DS-1217
DS-1217 Porting Discovery to the JSPUI
2012-09-13 03:40:57 -07:00
Andrea Bollini
4fc8b9348b DS-1217 Porting Discovery to the JSPUI
Contribution from CILEA funded by the Hub project from HKU
(http://hub.hku.hk)
Faceting, filtering (autocomplete), sidebar facet for the site home page,
community and collections are all implemented.
Changes to the Discovery API/configuration:
  1) changed the unique field for the SOLR document, now is used the
     concatenation of ID and TYPE-ID (in future we want to index also
     object that have not an handle)
  2) the prune query has been changed in search.resourcetype:[2 TO 4] so to          not remove eventually extra data loaded in the SOLR search core
  3) added defaultRpp parameter

Main differences from the XMLUI implementation:
  1) facets doesn't have a "...More" link but there are pagination to
     scroll facet in the context (search, home page, community, etc.)
  2) facets doesn't show the values already selected
  3) autocomplete is done against user input and does not dump all the
     values (this was a performance issue in XMLUI < 3.0, with 90k items
     I see JSON around 2Mb). With the new Discovery improvements the
     autocomplete feature in XMLUI seems to be turned off
  4) to enable JSPUI discovery you need to add some extra plugins in
     dspace.cfg (instructions are provided as comment in the discovery.cfg)
2012-09-13 12:31:23 +02:00
Ivan Masár
21f93a34d4 fix obvious mistake: merge two DB upgrade scripts 2012-09-10 22:54:04 +02:00
helix84
0540864426 Merge pull request #73 from helix84/DS-1084
[DS-1084] authority field in Batch Metadata Editor
2012-09-10 07:46:50 -07:00
Ivan Masár
462011ffe6 [DS-1084] authority field in Batch Metadata Editor (squashed) 2012-09-10 15:28:05 +02:00
abollini
0a62de7a2f Merge pull request #67 from abollini/DS-1218
DS-1218 BrowseDAO based on discovery
2012-09-08 07:08:46 -07:00
Andrea Bollini
8bb68ddc81 DS-1218 BrowseDAO based on discovery
This contribution is supported by the University of Hong Kong that has
    adopted the first version of this code since July 2010
    Software development by the CILEA SURplus Team (http://www.cilea.it)

    This is a full featured provider for the DSpace Browse System that read
    data from the Discovery Search SOLR core.
    The browse supports:
    - all the actual browse system configuration options (item and metadata
    browse, pagination, sorting)
    - browse of withdrawn items
    - browse of private items (XMLUI only)
    - search for authors used in the item mapper tool

    Major changes:
    - add two new search methods to the SearchService that allow you to
    specify if you want or not withdrawn items in your result. The old
    methods just call these new methods asking for no withdrawn item (this
    assure backcompatiliby)
    - the SearchServiceImpl now index also withdrawn item, new SolrDoc field
    "withdrawn"
    - DiscoverResult.Facet now keep information also about authority so
    that is possible distinct facets related to homonyms authors, etc.
    (this feature can be disabled in the discovery.cfg)
    - changed the schema.xml the default should be to ignore field if not
    otherwise specified (see also below)
    - better support for projection, metadata are stored (not indexed) with
    all related informations attached (authority, language). Metadata to
    store for projection can be defined in the discovery.cfg

    Other notes:
    - SolrBrowseDAO/SolrCreateBrowseDAO use settings defined in the main
    dspace.cfg (the browse section) this mean that sorting configuration is
    not related to the discovery search sorting etc.
    - Browse consumer should be disabled (if not only overhead but it still
    works), the actual index work is done using the Discovery "plugin"
    SolrServiceIndexPlugin (configurated via spring)
    - SolrCreateBrowseDAO is able to remove the old tables created by the
    DBMS DAO implementations simply using the browse command line script
    (dspace index -d -f)
    - to build the browse index it is required to run the discovery index
    client (dspace update-discovery-index -b)
2012-09-08 15:53:50 +02:00
nestor
139b2d4b2e DS-1023 - Patch to allow linebreaks in <textarea> boxes 2012-09-06 15:40:24 -03:00
Ivan Masár
7407de5c52 improve some Javadoc 2012-09-05 16:24:48 +02:00
Mark H. Wood
38be7a0235 Test handling of indirect circular references 2012-09-04 13:29:56 -04:00
Mark H. Wood
ae5af99fe2 Fix SCM section URLs to point to dspace-services, not DSpace 2012-09-04 11:53:41 -04:00
Mark H. Wood
db04ea2286 Fix SCM section: svn -> git, and zap outdated comment 2012-09-04 11:43:41 -04:00
Mark H. Wood
cc8d060a3c Set Java version to 1.6 (and encoding to UTF-8) 2012-09-04 11:35:39 -04:00
Mark H. Wood
2e1600fccf Reparent dspace-services to Sonaytpe oss-parent, and add up-to-date license checking 2012-09-04 11:30:32 -04:00
Ivan Masár
afff06b106 make an error message more understandable 2012-09-04 17:09:42 +02:00
Robin Taylor
aa93d4ffec Merge pull request #77 from bram-atmire/DS-1251
DS-1251 Make Mirage the default XMLUI theme
2012-09-04 01:25:16 -07:00
Robin Taylor
788ceb2504 Merge pull request #79 from robintaylor/dspace-DS-1208-1
[DS-1208] - fix recursive filtering of web.xml
2012-09-04 01:24:22 -07:00
robintaylor
0b0e84f8b2 [DS-1208] - fix recursive filtering of web.xml 2012-09-03 14:10:00 +01:00
helix84
946f58c996 Merge pull request #64 from lyncode/dspace-with-oai-2.0
[DS-1202] OAI 2.0 (a.k.a XOAI) integrated into DSpace 3.0
2012-09-03 01:40:01 -07:00
Lyncode
2442601073 OAI 2.0 (a.k.a XOAI) integrated into DSpace 3.0 (squashed) 2012-09-03 10:38:09 +02:00
Mark H. Wood
3e965555ab [DSRV-22] Detect indirect circular property references 2012-08-31 12:11:58 -04:00
KevinVdV
c4a9473201 Atmire dspace 3.0 workflow contribution 2012-08-28 15:53:05 +02:00
Bram Luyten
aff4fc8c94 DS-1251 Make Mirage the default XMLUI theme
commenting the reference theme and uncommenting the mirage theme in
xmlui.xconf
2012-08-28 14:39:31 +02:00
Tim Donohue
adb462994b Merge remote-tracking branch 'upstream/master' 2012-08-27 16:15:16 -05:00
Mark H. Wood
7f77bef891 Merge pull request #41 from mwoodiupui/DS-861
[DS-861] Salt PasswordAuthentication
2012-08-27 12:54:44 -07:00
KevinVdV
36a90c6313 [DS-1061] Filenames and BitstreamFormat detection break on filenames with equal signs in them 2012-08-23 16:45:42 +02:00
KevinVdV
a944fbe0d3 [DS-1130] Controlled vocabulary support for the XMLUI (fixing license) 2012-08-23 10:17:47 +02:00
KevinVdV
39f38215d2 Atmire dspace 3.0 workflow contribution 2012-08-23 08:50:47 +02:00
KevinVdV
61c597ae14 [DS-1130] Controlled vocabulary support for the XMLUI 2012-08-22 09:01:57 +02:00
Mark Diggory
deb732e3cb Fix License Headers 2012-08-20 17:21:40 -07:00
Mark Diggory
d25ef489dc Merge pull request #70 from atmire/dspace3-embargo-fixes2
[DS-895] Advanced Embargo Project : Fix JUnit Tests and Correct Database...
2012-08-20 17:06:09 -07:00
Fabio Bolognesi
4d09619dbb [DS-895] Advanced Embargo Project : Fix JUnit Tests and Correct Database Schema 2012-08-20 16:39:23 -07:00
KevinVdV
435e11bd23 Merge pull request #45 from atmire/DS-1229
[DS-1229] @mire discovery contribution
2012-08-20 01:27:09 -07:00
kevin
fbb2002e59 Merge branch 'DS-1229'
Conflicts:
	dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/Mirage/lib/css/style.css
2012-08-20 09:06:24 +02:00
kevin
06e27296f7 Merge remote-tracking branch 'origin/master' 2012-08-16 12:45:48 +02:00
Mark Diggory
1ec9741ac2 Merge pull request #66 from atmire/dspace3-embargo
[DS-895] Advanced Embargo Project, Database Schema Fixes
2012-08-16 03:13:33 -07:00
Mark Diggory
c8891b3008 [DS-895] Advanced Embargo Project, Database Schema Fixes 2012-08-16 03:06:52 -07:00
Mark Diggory
2d050f7af3 Merge pull request #43 from atmire/dspace3-embargo
[DS-895] Advanced Embargo Project
2012-08-16 02:20:32 -07:00
Fabio Bolognesi
4b9b206d8c [DS-895] Advanced Embargo Project 2012-08-16 02:13:51 -07:00
Robin Taylor
a0676ef5fc Merge pull request #56 from sedici/type-based-submission
[DS-1127] document-type based submission support
2012-08-15 12:46:58 -07:00
Tim Donohue
3f4da5ace1 Add license check exclusion for testEnvironment.properties 2012-08-15 09:10:58 -05:00
Mark Diggory
2e6e3d0835 Merge pull request #62 from robintaylor/DS-1208
[DS-1208] - add the new filtered values into testEnvironment.properties
2012-08-15 06:36:29 -07:00
Mark H. Wood
f4419374bb Revert "Fix CRLF line terminators"
This reverts commit ee6fe99d1e.
2012-08-15 09:02:53 -04:00
robintaylor
ac5ff4c81f [DS-1208] - change references to default.dspace.dir to be dspace.dir in selected poms 2012-08-15 10:25:48 +01:00
Mark Diggory
0a5d43470f Merge pull request #42 from steveswinsburg/DS-1211
DS-1211 upgrade to Servlet API 2.4 and other compatible dependencies
2012-08-14 16:28:55 -07:00
Mark Diggory
2c964a710d Merge pull request #31 from KevinVdV/DS-1136
[DS-1136] Breadcrumb trail incorrect for community/collection browse and statistics
2012-08-14 16:18:59 -07:00
Mark Diggory
6ea350efec Merge pull request #25 from KevinVdV/DS-1039
[DS-1039] Item view in Mirage theme broken when ORIGINAL or CONTENT bundle present and empty
2012-08-14 16:15:14 -07:00
Sands Fish
922fc71826 Merge pull request #24 from LongsightGroup/DS-1192
Merging & Closing: DS-1192 new property to skip XMLUI ip checks during login
2012-08-14 13:14:59 -07:00
Sands Fish
47a634f48e Merge pull request #32 from LongsightGroup/DS-1200
Merging:  DS-1200 add styling to statistics tables
2012-08-14 10:32:27 -07:00
Sands Fish
dc935c2e61 Merge pull request #23 from LongsightGroup/DS-1191-master
Merging:  DS-1191 provide a warning in the logs if resumeLogin fails because of ip mismatch
2012-08-14 08:21:13 -07:00
Sam Ottenhoff
78c58f7e72 change log.info to log.warn 2012-08-14 11:03:34 -04:00
robintaylor
2a7eed5c7d [DS-1208] - add the new filtered values into testEnvironment.properties 2012-08-14 10:35:21 +01:00
Andrea Bollini
b90e5514f0 changed .gitignore Eclipse section: no need to be so wide 2012-08-13 13:53:54 +02:00
Ivan Masár
203d9fad27 ignore project files created by Eclipse 2012-08-12 22:51:36 +02:00
Robin Taylor
1c87c25fda Merge pull request #59 from robintaylor/DS-1208
[DS-1208] - reinstate various comments in dspace.cfg
2012-08-10 07:31:59 -07:00
robintaylor
58e389dd96 [DS-1208] - reinstate various comments in dspace.cfg 2012-08-10 15:29:38 +01:00
kevin
d3e6db8d3f [DS-1240] Sword V2 doesn't support the configurable workflow 2012-08-10 14:36:09 +02:00
Robin Taylor
90e90a4041 Merge pull request #57 from robintaylor/DS-1208
[DS-1208] - rename build.properties.sample as build.properties
2012-08-10 01:51:37 -07:00
robintaylor
a73bf3b026 [DS-1208] - rename build.properties.sample as build.properties to avoid a Maven build failure 2012-08-10 09:46:06 +01:00
Robin Taylor
c37fdd3327 Merge pull request #40 from steveswinsburg/DS-1208
DS-1208 Build time filtering to allow multi developer/environment builds
2012-08-10 01:34:32 -07:00
Mark H. Wood
5129c095f3 Document configuration of the digest algorithm and provide a commented-out example. 2012-08-09 11:05:04 -04:00
kevin
d321d52e72 Merge remote-tracking branch 'origin/master' 2012-08-09 11:41:24 +02:00
Sam Ottenhoff
af24ee0927 DS-1201 fix /submissions page missing period and break after first
sentence
2012-08-09 11:40:43 +02:00
Tim Donohue
f8cea17b5f Fix broken link in README and update year to 2012 2012-08-09 11:40:43 +02:00
Mark H. Wood
8754bb198c Fix DOS line endings 2012-08-09 11:40:43 +02:00
Mark H. Wood
ac51fbb6e5 Apply patches from issue 2012-08-09 11:40:43 +02:00
Nestor Oviedo
c1e4c58a0d Added support for Type-based submission
(see https://jira.duraspace.org/browse/DS-1127)
2012-08-08 16:36:30 -03:00
helix84
e634c6edf5 Merge pull request #26 from helix84/archaelogy-and-restoration
make the dspace-info.pl caveman work in a new era
2012-08-07 04:13:38 -07:00
Robin Taylor
4a8fd0dbd1 Merge pull request #44 from robintaylor/DS-1190
[DS-1190] Google Analytics tracking support for JSPUI
2012-08-07 02:14:14 -07:00
KevinVdV
bf34b21bcf [DS-1229] @mire discovery contribution 2012-08-07 09:47:21 +02:00
Mark H. Wood
dde495e107 Merge pull request #33 from LongsightGroup/DS-1201
DS-1201 fix /submissions page missing period and break after first
2012-08-06 08:56:54 -07:00
Tim Donohue
c7f4770b16 Fix broken link in README and update year to 2012 2012-08-06 10:53:56 -05:00
robintaylor
033ebc6496 Add Google Analytics tracking property for jspui to dspace.cfg 2012-08-06 15:09:55 +01:00
robin
5d9143ec19 Add Google Analytics tracking code dependant on config 2012-08-06 14:59:50 +01:00
Mark H. Wood
3f70aef792 Upgraded hashes were not committed to the database 2012-08-03 15:12:29 -04:00
Mark H. Wood
67c962b5b6 More tidies 2012-08-03 14:22:13 -04:00
Mark H. Wood
81db2cb79d Tidy up, fix licensing again 2012-08-03 13:59:00 -04:00
Mark H. Wood
f6d6db4343 Correct the name of the new digest_algorithm column 2012-08-03 13:41:45 -04:00
Mark H. Wood
b728a42739 Create a few unit tests for EPerson to check out new hashing 2012-08-03 13:40:39 -04:00
Mark H. Wood
8bb7a3a50f Merge remote-tracking branch 'upstream/master' into DS-861 2012-08-02 16:48:09 -04:00
Mark H. Wood
925606abe9 Proper (modular) name for a configuration property of password authentication 2012-08-02 14:12:31 -04:00
Mark H. Wood
a88d7ff1c6 Document assertions 2012-08-02 13:24:35 -04:00
Mark H. Wood
3e1f497e18 Improve javadoc 2012-08-02 13:23:58 -04:00
Mark H. Wood
fcaa35aa8f More tests, fix what they found, add license blocks 2012-08-02 13:05:02 -04:00
Mark H. Wood
2edac96df3 Update old MD5 hashes on successful password check 2012-08-01 10:55:22 -04:00
Mark H. Wood
9e999640f6 Special case for old 1-trip unsalted MD5 hashes 2012-08-01 10:54:30 -04:00
Mark H. Wood
5613bb6f57 Add commandline tool to find unsalted password hashes 2012-07-12 12:54:39 -04:00
Steve Swinsburg
8a6b269153 DS-1211 upgrade to Servlet API 2.4, and other compatible dependencies 2012-07-12 16:54:23 +10:00
Steve Swinsburg
bf0bff8e59 Merge remote-tracking branch 'upstream/master' 2012-07-12 15:35:11 +10:00
Mark H. Wood
ee6fe99d1e Fix CRLF line terminators 2012-07-11 14:26:57 -04:00
Mark H. Wood
9b58faa601 Password hashes are now class instances, not naked strings. 2012-07-11 14:24:04 -04:00
Mark H. Wood
f3f9433bfe [DS-861] Oops, forgot to add new files. 2012-07-11 13:04:24 -04:00
Mark H. Wood
95a04c0f39 [DS-861] Begin to add password salting. 2012-07-11 13:02:15 -04:00
Mark H. Wood
ffe1d1a9ff Merge pull request #38 from mwoodiupui/DS-1059
[DS-1059] Statistics utilities should be filters
2012-07-10 05:17:08 -07:00
Mark Diggory
c625fc8a06 Merge pull request #39 from steveswinsburg/DS-1209
DS-1209 adjust additions pom so that servlet-api is bundled into lib dir...
2012-07-10 04:22:35 -07:00
Steve Swinsburg
27db5a0c42 Merge branch 'master' of https://github.com/steveswinsburg/DSpace 2012-07-10 16:43:49 +10:00
Steve Swinsburg
fb69ec7ce2 DS-1209 all adjust files for the build time filtering 2012-07-10 16:21:54 +10:00
Steve Swinsburg
b35e6956f1 DS-1208 adds build time filtering from a build.properties file in the base directory. Developers can maintain their own versions of this file, and keep it out of SCM, and then share the same source tree.
Different environments can also use theis approach, using the same source tree, just with different build.properties files, eg dev/test/uat/prod
2012-07-10 16:18:09 +10:00
Steve Swinsburg
fdfb42c3c1 Merge branch 'DS-1209' 2012-07-10 16:04:24 +10:00
Steve Swinsburg
ad529f1584 DS-1209 adjust additions pom so that servlet-api is bundled into lib directory 2012-07-10 15:54:44 +10:00
Mark H. Wood
e9fbe197e3 Merge pull request #35 from mwoodiupui/DS-1065
[DS-1065] controlled-vocabulary.xsd says that the 'id' attribute is optional, so make it optional instead of NPE if missing.
2012-07-09 10:16:02 -07:00
Mark Diggory
213a1dd1ae [maven-release-plugin] prepare for next development iteration 2012-07-06 17:52:24 -07:00
Mark Diggory
dfb1180629 [maven-release-plugin] prepare release dspace-solr-parent-3.5.0.1 2012-07-06 17:52:17 -07:00
Mark Diggory
fad288fb66 Must use snapshot to properly release. Last time... 2012-07-06 17:51:29 -07:00
Mark Diggory
9179df8de5 Must use snapshot to properly release. 2012-07-06 17:50:21 -07:00
Mark Diggory
841800efa9 Must use snapshot to properly release. 2012-07-06 17:49:34 -07:00
Mark Diggory
94a3d01fc3 Merge pull request #2 from atmire/dspace-solr-parent-3.5.0.1
[DS-1181] Upgrade to solr 3.5.0 (Fixing SOLR-1709)
2012-07-06 17:38:46 -07:00
Mark H. Wood
40f3fd89c5 Fix DOS line endings 2012-07-03 16:25:43 -04:00
Mark H. Wood
b5eb587053 Apply patches from issue 2012-07-03 16:12:07 -04:00
Mark H. Wood
4454a8d142 [DS-1063] Upgrade to a supported version of PostgreSQL driver. 2012-07-03 14:50:53 -04:00
Mark H. Wood
521e613224 Fix result limit to work as documented: 0 means no limit, not maximum of no results 2012-07-03 13:02:45 -04:00
KevinVdV
1b3d4761fb [DS-1181] Upgrade to solr 3.5.0 (Fixing SOLR-1709) 2012-07-03 14:17:10 +02:00
Mark H. Wood
f5032e8a22 Add some testing for DSpaceControlledVocabulary 2012-06-29 13:39:10 -04:00
Mark H. Wood
dfd8f16257 Add a mock for ConfigurationManager 2012-06-29 13:25:53 -04:00
Mark H. Wood
818d7c48c5 [DS-1065] Don't dereference a missing 'id' attribute; leave authority null 2012-06-29 13:23:05 -04:00
Mark H. Wood
c9820a3bbd Clean up formatting so I can read the code 2012-06-29 13:20:46 -04:00
Ivan Masár
f05ceff8e8 add colspan in Metadata Import tool
The content of the first cell is always wrapped, so this removes
the linebreak by adding colspan="2".
2012-06-23 21:51:17 +02:00
Tim Donohue
2d76c1393c Updating inaccurate "third party" license information in our main LICENSE file (we haven't had a "lib/license" directory in a long long time).
Adding a new "LICENSES_THIRD_PARTY" text file which lists all third party libraries and their associated licenses. As this license info is not always specified in Maven Central, I unfortunately don't see any other easy way to track these third party licenses.
2012-06-22 15:28:36 -05:00
Tim Donohue
e8ee775b1a Correcting the <license> tag in the main POM so that it points to the copy of the LICENSE in GitHub. Also minor updates to the name & comments of that license to make it clear this is a standard BSD 3-clause license. 2012-06-22 12:27:58 -05:00
Sam Ottenhoff
cd238662df DS-1201 fix /submissions page missing period and break after first
sentence
2012-06-21 18:16:51 -04:00
Sam Ottenhoff
381be0e5e7 DS-1200 add styling to statistics tables 2012-06-21 17:36:18 -04:00
KevinVdV
cacb8cd190 [DS-1136] Breadcrumb trail incorrect for community/collection browse and statistics (missing @params on methods) 2012-06-21 20:11:43 +02:00
KevinVdV
d69021a68b [DS-1136] Breadcrumb trail incorrect for community/collection browse and statistics 2012-06-21 19:44:30 +02:00
Tim Donohue
a0de214a89 Reverting commit that added 'netbeans.hint.deploy.server' to DSpace pom.xml. It's unnecessary, as this Netbeans-specific setting can instead be stored in a user's ~/.m2/settings.xml file. 2012-06-21 11:14:14 -05:00
Ivan Masár
5ce2d16724 fix some more typos 2012-06-21 11:29:18 +02:00
Ivan Masár
8d4ecb5a8b improve PNG lossless compression (optipng -o9) 2012-06-21 11:16:00 +02:00
Ivan Masár
c671278070 remove executable attr from regular files 2012-06-21 11:13:54 +02:00
Tim Donohue
57b2ab356f Merge branch 'master' of git://github.com/DSpace/DSpace 2012-06-20 11:43:29 -05:00
Mark Diggory
77a685f269 Merge pull request #29 from LongsightGroup/DS-1197
DS-1197 remove mention of Manakin in default news-xmlui.xml
2012-06-20 09:11:03 -07:00
Sam Ottenhoff
38cc9f0fb5 DS-1197 remove mention of Manakin in default news-xmlui.xml 2012-06-20 11:59:19 -04:00
Mark H. Wood
7efa9aea63 Merge remote branch 'origin/master' 2012-06-19 15:56:23 -04:00
Mark H. Wood
14e09a8373 Exclude oai2.xsl from license checking, as it has its own license. 2012-06-19 15:54:59 -04:00
Tim Donohue
7d9a0fa118 Merge pull request #28 from mwoodiupui/master
Remove actual dependency of dspace-stats on dspace-api
2012-06-19 09:59:45 -07:00
Mark H. Wood
d549bb3b0f Missing license comments 2012-06-19 10:59:10 -04:00
Mark H. Wood
12dc4ee960 AbstractUnitTest facilities are not actually used to test LocationUtils 2012-06-19 09:14:39 -04:00
Ivan Masár
7474c6f880 make the dspace-info.pl caveman work in a new era 2012-06-15 15:15:48 +02:00
Ivan Masár
495beaeada remove dependency breaking build 2012-06-14 21:17:47 +02:00
Ivan Masár
4e77d36bb3 fix another bunch of typos 2012-06-13 17:06:52 +02:00
Tim Donohue
95a055c4d1 Update .gitignore to ignore all META-INF directories (often used by NetBeans when deploying webapps) 2012-06-11 11:21:45 -05:00
Tim Donohue
bb555ea78b Merge remote-tracking branch 'upstream/master' 2012-06-11 10:58:57 -05:00
Tim Donohue
51fe8e37ae Add in a global "netbeans.hint.deploy.server" setting which tells NetBeans to use the "Tomcat" server for deploys. 2012-06-11 10:54:19 -05:00
Tim Donohue
0f779c4ac7 dspace-api pom.xml improperly specifies an old version of maven-compiler-plugin 2012-06-11 10:50:08 -05:00
KevinVdV
daeb195763 [DS-1039] Item view in Mirage theme broken when ORIGINAL or CONTENT bundle present and empty 2012-06-09 10:37:20 +02:00
Sam Ottenhoff
2058701ae2 DS-1192 new property to skip XMLUI ip checks during login 2012-06-08 16:41:04 -04:00
Sam Ottenhoff
79a3499913 DS-1191 provide a warning in the logs if resumeLogin fails because of ip mismatch 2012-06-08 15:57:37 -04:00
Mark Diggory
7b74ccbc56 Correct Github repository Locations based on how mvn release plugin interacts with github. 2012-06-07 22:55:55 -07:00
Mark Diggory
e708c6ffaa [maven-release-plugin] prepare for next development iteration 2012-06-07 22:44:09 -07:00
Mark Diggory
206d25916c [maven-release-plugin] prepare release dspace-solr-parent-3.5.0.0 2012-06-07 22:44:02 -07:00
Mark Diggory
78e1f7939b Adjust SCM locations yet again 2012-06-07 22:43:18 -07:00
Mark Diggory
912a5ca26c [maven-release-plugin] rollback the release of dspace-solr-parent-3.5.0.0 2012-06-07 22:42:29 -07:00
Mark Diggory
135baf4da1 [maven-release-plugin] prepare release dspace-solr-parent-3.5.0.0 2012-06-07 22:39:36 -07:00
Mark Diggory
749d332a4b Reset Release Again 2012-06-07 22:31:21 -07:00
Mark Diggory
926366f846 [maven-release-plugin] rollback the release of dspace-solr-parent-3.5.0.0 2012-06-07 22:29:16 -07:00
Mark Diggory
fc23bfdb5c was using old information 2012-06-07 22:26:50 -07:00
Mark Diggory
6ba94d0bea Trying again 2012-06-07 22:23:59 -07:00
Mark Diggory
5d8f8161a1 [maven-release-plugin] rollback the release of dspace-solr-parent-3.5.0.0 2012-06-07 22:22:33 -07:00
Mark Diggory
563b544c20 fix incorrect URL 2012-06-07 22:20:48 -07:00
Mark Diggory
509874c745 [maven-release-plugin] rollback the release of dspace-solr-parent-3.5.0.0 2012-06-07 22:20:09 -07:00
Mark Diggory
dcce7c8cc5 [maven-release-plugin] prepare release dspace-solr-parent-3.5.0.0 2012-06-07 22:19:16 -07:00
Mark Diggory
2d50acf127 [maven-release-plugin] prepare release dspace-solr-parent-3.5.0.0 2012-06-07 22:14:02 -07:00
Mark Diggory
33e4ae3f04 further pom adjustments 2012-06-07 22:11:42 -07:00
Mark Diggory
4d36b53921 adjust version number for snapshot testing. 2012-06-07 22:10:00 -07:00
Mark Diggory
d19ff8f44e Correcting SCM location for Release 2012-06-07 22:06:33 -07:00
Mark Diggory
fa173cf102 Merge pull request #21 from mwoodiupui/DS-1043
[DS-1043] Split code installation out of fresh_install.
2012-06-07 21:34:14 -07:00
Mark Diggory
52a01cae00 Merge pull request #19 from LongsightGroup/DS-1180
[DS-1180] build the DN manually instead of attempting to search with the...
2012-06-07 21:33:18 -07:00
Mark Diggory
98199a0e72 Merge pull request #14 from helix84/sfx-button
[DS-820] SFX button + SFX in Mirage
2012-06-07 21:31:58 -07:00
Mark Diggory
bcfe56e5e1 Merge pull request #3 from mdiggory/additional-patch
[DS-981] API Project and build assembly restructure
2012-06-07 21:27:48 -07:00
Mark Diggory
00860d018d Merge pull request #20 from helix84/oai-xslt
OAI XSL: add GetRecord form
2012-06-07 21:26:33 -07:00
Mark Diggory
1bda3546a0 Merge pull request #1 from atmire/dspace-solr-parent-3.5.0.0
[DS-1181] Upgrade to solr 3.5.0
2012-06-07 17:23:07 -07:00
Mark H. Wood
99262cb61c Merge pull request #18 from mwoodiupui/locationutils
[DS-844] Simplify, internationalize org.dspace.statistics.util.LocationUtils
2012-06-07 11:27:18 -07:00
Mark H. Wood
c9f2561bc6 Merge branch 'master' of git://github.com/DSpace/DSpace into DS-844 2012-06-07 14:12:23 -04:00
Mark H. Wood
3a3475b02e [DS-1043] Split code installation out of fresh_install. 2012-06-07 11:51:09 -04:00
Ivan Masár
b5dabe95b6 OAI XSL: request verb moved to table above 2012-06-07 11:04:13 +02:00
Ivan Masár
d673a087bc OAI XSL: add GetRecord form 2012-06-07 10:52:02 +02:00
Mark Diggory
42359f7735 Merge pull request #17 from helix84/oai-xslt
[DS-1178] XSLT stylesheet for OAI-PMH
2012-06-06 14:54:20 -07:00
Sands Fish
c1e4374a7f [DS-1185] Adding configured journal title field to code that builds meta-tags. 2012-06-04 15:51:04 -04:00
Tim Donohue
c71368c82b Merge pull request #15 from helix84/robots
[DS-1138] disallow redundant pages in robots.txt

Thanks for the submission helix84. Looks good.
2012-05-30 14:44:14 -07:00
Tim Donohue
a22e9281d5 Merge pull request #16 from helix84/style-strength
[DS-601] Enable styling collection "strength"
2012-05-30 14:33:42 -07:00
Mark H. Wood
6f6ed62758 Document the puzzling appending of "/bob.jpg" to logo image element URLs (and clean up some formatting).
The browser needs a format hint, and logo bitstreams apparently don't have names.  The sitemap strips off the bogus name and supplies the bitstream by ID.
2012-05-30 12:18:14 -04:00
KevinVdV
51566e71a2 [DS-1181] Upgrade to solr 3.5.0 2012-05-30 09:33:24 +02:00
Sam Ottenhoff
621f222740 [DS-1180] build the DN manually instead of attempting to search with the privileged adminUser 2012-05-29 13:52:31 -06:00
Mark H. Wood
eda7d9bb61 drop POM settings that should not have been copied 2012-05-29 11:25:25 -04:00
Ivan Masár
faec890954 OAI XSL: display result count 2012-05-28 14:17:47 +02:00
Ivan Masár
b252987788 OAI XSL: display a form on badAttributes error
ListRecords or ListIdentifiers with wrong arguments can result in badAttributes error.
This adds a form which suggests which attributes can be filled out and their possible combinations.
2012-05-28 14:17:05 +02:00
Ivan Masár
d8ead27236 add OAI XSL style for Identify/description/toolkit 2012-05-25 17:14:10 +02:00
Ivan Masár
7799c3b263 DS-1178: XSLT stylesheet for OAI-PMH 2012-05-25 16:01:25 +02:00
Mark H. Wood
b36dbe63ee catch up with master 2012-05-24 17:05:27 -04:00
Mark H. Wood
148138dbb3 Correct spacing in error message 2012-05-23 15:46:44 -04:00
Mark H. Wood
a073f85fc1 Add testing framework 2012-05-23 15:46:08 -04:00
Ivan Masár
3bb14f8f9e DS-601: Enable styling collection "strength" 2012-05-23 12:25:50 +02:00
Ivan Masár
e9589dcf4d DS-1138: disallow redundant pages in robots.txt 2012-05-23 10:40:13 +02:00
Ivan Masár
959f9abedc DS-820: SFX button + SFX in Mirage 2012-05-23 10:31:19 +02:00
KevinVdV
32ad3c427c [DS-981] API Project and build assembly restructure 2012-05-16 21:34:28 +02:00
Tim Donohue
400dbbd4e9 Update License year to 2012 2012-05-16 14:28:36 -05:00
Mark Diggory
7ef850c8c7 Merge pull request #9 from robintaylor/DS-1160
[DS-1160] - Refactor InitializeDatabase to use Configuration Service rather than Configurationmanager...
2012-05-10 22:38:41 -07:00
Mark H. Wood
ad073fd3ea Generate the test environment early enough for 'mvn test' to use it.
'package' comes after 'test', so the .zip was not being created or
attached.  If the archive was not available from a repository, the
'test' phase would not find it and would fail.

Treat the .zip as a test resource and create it in 'generate-test-resources'.
2012-05-10 15:15:14 -04:00
Mark Diggory
eacbec7174 [DS-981] API Project and build assembly restructure 2012-05-09 17:15:49 -07:00
Mark Diggory
e0e55e63c1 Merge pull request #8 from mwoodiupui/testing-env
[DS-859] Packaged testing environment:  begin using the package
2012-05-09 14:22:53 -07:00
Mark Diggory
cf1baed985 Merge pull request #10 from LongsightGroup/master
DS-1072 Post-registration link has a blank href if hosting DSpace at root instead of at /xmlui
2012-05-09 14:13:52 -07:00
Sam Ottenhoff
a9f3f7384a Merge branch 'master' of github.com:LongsightGroup/DSpace 2012-05-09 14:09:36 -04:00
Sam Ottenhoff
2f12c93fef DS-1072 also fix on return from forgot password 2012-05-09 14:09:26 -04:00
Sam Ottenhoff
3549df769a DS-1072 also fix on return from forgot password 2012-05-09 14:07:59 -04:00
Sam Ottenhoff
0d01078eb1 PDF generation is not consistent to the expected filename so try other versions of filename 2012-05-09 12:17:20 -04:00
Sam Ottenhoff
b15bcde584 DS-1072 Post-registration link has a blank href if hosting DSpace at root instead of at /xmlui 2012-05-09 12:13:42 -04:00
robin
e73f605eb2 [DS1160] - Remove now redundant import of ConfigurationManager 2012-05-09 13:06:50 +01:00
robin
824e526d1a [DS-1160] - Refactor InitializeDatabase to use Configuration Service rather than ConfigurationManager 2012-05-07 10:57:44 +01:00
Mark H. Wood
a67ea4197e Use released version of FileWeaver, remove snapshot repo. declaration 2012-05-04 11:04:29 -04:00
Mark H. Wood
d6e20eba61 Catch up with current stock.
Merge remote branch 'stock/master' into testing-env

Conflicts:
	dspace-api/src/test/resources/dspace-test.cfg
	dspace-api/src/test/resources/dspaceFolder/config/dspace.cfg
	dspace-api/src/test/resources/dspaceFolder/config/input-forms.xml
	dspace-api/src/test/resources/dspaceFolder/config/item-submission.xml
	dspace-api/src/test/resources/dspaceFolder/config/modules/authentication-shibboleth.cfg
	dspace-api/src/test/resources/dspaceFolder/solr/statistics/conf/schema.xml
2012-05-04 10:30:16 -04:00
Robin Taylor
67558c447a Merge pull request #7 from robintaylor/master
[DS-1156] Refactor Browse related code out of InitializeDatabase into InitializeBrowseDatabase
2012-05-03 01:19:24 -07:00
Tim Donohue
14f9066b71 Merge pull request #4 from helix84/master
fix typos and some whitespace (also tracked in JIRA as DS-1158)
2012-04-20 09:05:28 -07:00
Ivan Masár
b8cefdce04 fix typos and some whitespace
* fixes typos almost exclusively in comments and strings
* fixes whitespace where combination of tabs and spaces may break indentation
* doesn't touch typos in config property names to prevent breakage
2012-04-20 16:27:02 +02:00
Mark H. Wood
cbfbeea896 Merge branch 'master' of git@github.com:DSpace/DSpace.git into testing-env 2012-04-19 15:29:20 -04:00
Mark Diggory
e2e50eaf5d Merge pull request #2 from tdonohue/build-fixes
[DS-1150] Additional Build fixes
2012-04-17 13:48:52 -07:00
Tim Donohue
4e118adbc1 Minor correction to maven-assembly-plugin settings in dspace-parent POM. According to a Maven build warning, the expression "${pom.version}" is deprecated, and we should be using "${project.version}" as a replacement. 2012-04-16 16:30:14 -05:00
Tim Donohue
2725acd414 Add proper DSpace License Header to all *.wsdd and *.wsdl files in LNI code. 2012-04-16 16:26:37 -05:00
Tim Donohue
5ce5347307 Add a few new exclusions & mappings to our License Header checker. Needed a new exclusion for ".gitignore" files, and it needed to properly check *.wsdd and *.wsdl (both in LNI) for DSpace License Header. 2012-04-16 16:25:56 -05:00
Tim Donohue
6bf9b33e61 Fix bad reference in <parent> of dspace/modules/solr/pom.xml file. The 'dspace-pom' module no longer exists. Changed this to just point at org.dspace.modules (like everything else in dspace/modules/). 2012-04-16 16:10:22 -05:00
robin
3d4f40f4dc [DS-1156] Factor out Browse related code from InitializeDatabase into InitializeBrowseDatabase. 2012-04-12 14:31:32 +01:00
Mark Diggory
842aa75357 [DS-1150] Migrate to GitHub : Consolidate Release Assemblies So Maven Plugin is no longer needed. 2012-04-07 02:29:05 -07:00
Mark Diggory
b9b95c9f30 [DS-1150] Migrate to GitHub : Consolidate LICENSE HEADER 2012-04-07 01:52:26 -07:00
Mark Diggory
207464db05 [DS-1150] Migrate to GitHub : Integrate dspace-pom contents into dspace.pom 2012-04-07 01:29:56 -07:00
Mark H. Wood
cbbd104b5e Externalize locality name data or get them from Java. 2012-04-03 17:00:09 -04:00
Mark H. Wood
3e64fbce90 take up POM fixes for move to GitHub 2012-04-02 13:51:28 -04:00
Mark Diggory
2d09df60bb Merge pull request #1 from mwoodiupui/master
Fix README to make GitHub the official source repository
2012-03-31 14:56:07 -07:00
Mark Diggory
6611a69e74 [DS-1150] Migrate to GitHub : Correct SCM Locations and project URL 2012-03-31 13:01:43 -07:00
Mark H. Wood
928933f76f re-apply changes from modified SVN checkout 2012-03-29 16:46:39 -04:00
Mark H. Wood
e48dd94d49 Point to the GitHub project, and be a little more explicit about how to use that git: URL. 2012-03-29 10:16:55 -03:00
Mark H. Wood
49626c45cf Replace SVN references with GitHub (or something generic that won't need to be fixed again). 2012-03-28 18:07:56 -03:00
Mark Wood
8e430dc6cf Don't allow NPE if getProperties(String) called before any module properties have been loaded.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6957 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-03-01 20:01:23 +00:00
Tim Donohue
b49e6bafff Committing a slightly updated version of DSpace PDF Manual for 1.8.2 (just syncing Trunk with 1.8.x branch)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6953 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-02-24 15:52:19 +00:00
Tim Donohue
c21f730ec7 Fix for DS-1122: When adding a Bitstream to a Bundle, the 'bitstream_order' is always set to the 'sequence_id' (applied to both 1.8.x branch and Trunk). Also fixes issues with AIPs being able to restore bitstream ordering.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6947 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-02-20 22:00:16 +00:00
Kevin Van de Velde
1c844a7d61 [DS-1129] Edit Harvesting Collection Content Source tab broken
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6946 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-02-18 10:50:26 +00:00
Kevin Van de Velde
3ea8b079d6 [DS-918] Concurrent task claiming and editing of metadata possible for same item in submission workflow
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6943 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-02-18 10:26:28 +00:00
Tim Donohue
fd11d2e90e Fix for DS-1120: AIP Backup & Restore : SITE AIP has a different checksum everytime when orphaned Collection/Community groups exist (applied to both 1.8.x branch and Trunk)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6939 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-02-15 19:04:13 +00:00
Scott Phillips
d79056c1d2 DS-1124, increase the default upload maximum to 2GB
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6936 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-02-13 22:03:28 +00:00
Mark Wood
ad9c275a26 Add/correct license headers in new test environment files.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6930 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-02-06 17:50:02 +00:00
Mark Wood
a8d5a9d164 Remove stray overrides of dspace-parent:dependency-management.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6929 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-02-04 20:04:03 +00:00
Mark Wood
fb1e27c572 [DS-859] A .zip artifact to provide a testing environment.
Begin "modularizing" the dspace-api testing framework so that it can
be used in other modules.  This patch introduces a new assembly to
contain the filesystem parts of the test environment, copied from the
dspace module into a Zip artifact that can be unpacked wherever
needed.  Eventually the duplicate files in dspace-api will be removed.
This patch should not disturb existing practice -- that comes later.


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6928 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-02-03 20:11:05 +00:00
Kevin Van de Velde
3c61e8e5f6 [DS-910] Encoding of discovery facet urls
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6927 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-01-28 15:47:54 +00:00
Kevin Van de Velde
b436bea65e [DS-1048] Superfluous warning in dspace.log
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6926 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-01-28 10:37:20 +00:00
Tim Donohue
78f8cf0f26 Fix for DS-1110 : AbstractCurationTask.distribute() convenience method doesn't distribute across all DSpace Objects. Modify the 'distribute()' method to run across all objects. Create a new 'performObject()' method that can be used in conjunction with 'distribute()'. By default, 'performObject()' just wraps a call to existing 'performItem()' method.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6925 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-01-26 18:28:32 +00:00
Tim Donohue
46c2465259 Fix for DS-1108 : AIP Backup & Restore doesn't restore a Bitstream's "Sequence ID".
This adds the three lines of code necessary to restore a Bitstream's Sequence ID from an Item AIP (Sequence ID was already being stored in an Item AIP).

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6924 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-01-24 21:20:42 +00:00
Tim Donohue
f9d9a4e418 DS-1107 fix : System-wide Curation Task UI is missing a "Task" label
(Also removed a few unused import statements and an old, obsolete comment)

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6923 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-01-23 21:46:25 +00:00
Andrea Schweer
e4e2d27d32 spelling/language fix
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6922 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-01-18 00:57:10 +00:00
Peter Dietz
d9a1cde7bf Add .gitignore for sword-client-xmlui-webapp empty directory.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6921 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-01-13 17:37:49 +00:00
Peter Dietz
c5b49983f7 Added .gitignore for the project. Ignoring mvn's target directories, and project files created by IntelliJ and NetBeans.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6920 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-01-13 16:51:56 +00:00
Peter Dietz
9ea2dd5929 Added .ignore files to the modules webapps, since they were empty directories, and Git can't track empty directories.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6919 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-01-13 16:42:01 +00:00
Peter Dietz
a11fb581cf DS-1044 Submission Step - SelectCollection doesn't need to limit the length of collection name, theme can do that.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6918 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-01-11 19:09:10 +00:00
Tim Donohue
40b0d7a865 Add license to StaticPage (on Trunk)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6917 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2012-01-11 18:29:56 +00:00
Scott Phillips
51bb44eeef DS-1012: updated the configuration parameters to use the modules syntax instead of the old style all in one.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6915 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-12-20 17:30:37 +00:00
Peter Dietz
280b07622f DS-722 Setting autofocus to main/first field in many forms. HTML5, xmlui.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6913 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-12-15 22:43:09 +00:00
Peter Dietz
138029e323 DS-1076 Add a simple StaticPage.java and map requests to page/* to it. Overrides happen in XSL. Have a demo at page/about.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6903 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-12-14 23:27:55 +00:00
Peter Dietz
4af1fdf9ca Revert previous accidental change to pom.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6901 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-12-14 22:17:09 +00:00
Peter Dietz
435b01bde7 DS-1090 Fix fetchURL method for CC License, so that it does not fail due to recent CC changes.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6900 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-12-14 22:15:09 +00:00
Scott Phillips
0dac8bb77f DS-1094: Fixed an NPE error while mapping errors, fixed a typo in unknown, and the authors column pull from creator or contributor.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6898 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-12-12 19:37:46 +00:00
Kevin Van de Velde
1f08bc6702 [DS-899] Last modified timestamp doesn't trigger on bitstream delete bugfix
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6887 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-12-07 16:23:00 +00:00
Kevin Van de Velde
7936c6d997 [DS-1064] Authentication error bugfix with external login in JSPUI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6872 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-12-04 10:58:48 +00:00
Tim Donohue
5852cee2b7 Fix for DS-1077: XMLUI & CLI always show a NullPointerException after running a Site-wide Curation Task. This patch ensures that the Curator is not too quick to call complete() on its Context object when running a Site-wide task. It also ensures the Curator doesn't continually create a new Context each time 'curationContext()' is called -- instead a newly created context is cached so that it can be used for the remainder of the task processing. This fix has been applied to trunk and 1.8.x branch.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6870 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-12-02 17:52:55 +00:00
Scott Phillips
79984d3d12 DS-1055: Limit display of harvested bitstreams when using harvesting by reference. (Committed to branch and trunk)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6866 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-11-28 20:17:56 +00:00
Scott Phillips
dd0c45ec31 DS-1052: Items with null date.accessioned are perminantly sorted to the top of all date based searches.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6863 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-11-28 20:05:41 +00:00
Scott Phillips
2bfacb2a25 DS-1012: Lazy Shibboleth authentication. (committed to both trunk and branch)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6862 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-11-28 20:03:40 +00:00
Scott Phillips
1eb8847c8f DS-1068: Removing a metadata field from an item does not update the browse sorting indexes. (committed to both trunk and branch)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6859 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-11-28 20:01:11 +00:00
Scott Phillips
d9913977a8 DS-1062: Emails report new items twice, sometimes. (this change was committed to branch and trunk)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6858 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-11-28 19:58:51 +00:00
Scott Phillips
dad89a12d1 DS-1065: Login CHooser will place plank div prior to login form (committed to both trunk and branch)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6855 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-11-28 19:56:35 +00:00
Robin Taylor
70b22243f3 [DS-1075] - Fix separator replacement in URIs
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6853 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-11-28 11:21:43 +00:00
Robin Taylor
6dfb929654 [DS-1074] - Fix DB connection leak in DAVServlet
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6851 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-11-28 10:34:28 +00:00
Andrea Schweer
d8aa26ecf4 [DS-1070] DSpaceObjectManager unnecessarily keeps references to DSpace objects
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6845 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-11-21 04:41:18 +00:00
Robin Taylor
0cde9d5af8 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6834 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-11-04 09:20:17 +00:00
Robin Taylor
a428a3b03a [maven-release-plugin] prepare release dspace-1.8.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6832 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-11-04 09:19:37 +00:00
Tim Donohue
43b937caed Committing PDF export of 1.8 Documentation at https://wiki.duraspace.org/display/DSDOC18/
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6831 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-11-03 22:10:37 +00:00
Peter Dietz
f55454c8f7 [DS-528] Added configurable option to choose which mimetype can get podcasted. Changed configuration key for external sourceuri.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6830 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-28 23:30:14 +00:00
Tim Donohue
741393d59d Change ordering of dependencies in swordv2 POM so that the org.dspace.dspace-swordv2 'war' dependency is listed *first*. This was necessary to ensure that the web.xml in that 'org.dspace.dspace-swordv2' WAR is inherited properly. (Previously it was somehow inheriting the web.xml from the 'org.swordapp.server' WAR)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6828 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-25 20:11:38 +00:00
Tim Donohue
355270f805 Fix small bug in SWORDv2 POM which was causing dspace-swordv2-*-classes.jar to be generated with no java classes within it. We shouldn't be specifying <archiveClasses> option alongside <attachClasses> option, as only one should be used (the latter is the option we want in this case).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6827 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-25 16:03:35 +00:00
Robin Taylor
ffc4d0aa20 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6826 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-21 08:50:35 +00:00
Robin Taylor
a69894e7f3 [maven-release-plugin] prepare release dspace-1.8.0-rc3
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6824 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-21 08:49:54 +00:00
Tim Donohue
f5acd60120 Revert changes from r6815 so that SWORD2 webapp includes the dspace-swordv2-*-classes.jar as a dependency
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6823 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-20 18:16:32 +00:00
Kevin Van de Velde
ea14546ca6 [DS-1058] Ensured that no empty sidebar box is shown when no facet results where found.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6822 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-19 13:43:52 +00:00
Kevin Van de Velde
0791bdd8f3 [DS-1057] CollectionRecentSubmissions not found in discovery sitemap bugfix
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6821 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-19 12:33:36 +00:00
Robin Taylor
072d4ac2ea Updated the dependency for dspace-assembly-plugin to be 1.2 rather than 1.2-SNAPSHOT
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6819 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-19 10:46:04 +00:00
Robin Taylor
2605e681a6 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6818 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-19 09:30:46 +00:00
Robin Taylor
1714c0404a [maven-release-plugin] prepare release dspace-parent-1.8.0-rc2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6816 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-19 09:30:05 +00:00
Robin Taylor
8432c50321 In the swordv2 overlay module replace the dependency on org.dspace sword server with that now released under org.swordapp.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6815 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-19 09:05:38 +00:00
Tim Donohue
dd2a57cec9 Fix Encoding of 1.7 to 1.8 Postgres DB Upgrade script. All other DSpace SQL scripts are encoded in ANSI. This one was encoded in UTF8, which was causing this Postgres bug to occur: http://archives.postgresql.org/pgsql-bugs/2010-03/msg00239.php
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6814 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-18 16:42:26 +00:00
Kevin Van de Velde
10379befe8 [DS-599] SOLR statistics file download displays only bitstreams in the configured bundles (ORIGINAL by default)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6813 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-18 13:40:50 +00:00
Tim Donohue
dd08f734ef Fix for DS-135 (in XMLUI, Withdrawn items displayed as "restricted" rather than withdrawn). This is a simplified version of the initial patch provided by mdiggory. See comments in DS-135 for more details.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6812 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-17 15:33:43 +00:00
Robin Taylor
85db725193 [DS-768] - Updated dspace-xmlui-wing/pom.xml to pick up version 1.0.3 of dspace-cocoon-servlet-service-impl.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6811 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-13 13:14:53 +00:00
Mark Diggory
22ecda951f svn-ignore
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6807 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-12 20:52:12 +00:00
Tim Donohue
eae5ddf3d7 Comment changes: Updating the configurations files in "[src]/dspace/config/module/" to have a common header style which explains the purpose of the configuration file. Several config files had no/minimal context information, others were just reformatted slightly.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6799 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-11 20:29:09 +00:00
Tim Donohue
7dbdc3508c The POM at [src]/dspace/modules/solr/pom.xml was oddly claiming to be version 11. Changing it so that it's in line with all our other POMs -- now version 1.8.0-rc2-SNAPSHOT.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6798 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-11 17:53:07 +00:00
Tim Donohue
44f357e30b Add 'nbactions.xml' file (NetBeans config file) to svn:ignore.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6797 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-11 16:26:59 +00:00
Stuart Lewis
8409876fdc [DS-1051] authentication-ip.cfg (update to array index keys)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6792 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-10 20:31:48 +00:00
Richard Rodgers
c1a014dbda Correct property names
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6791 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-07 18:29:38 +00:00
Robin Taylor
d2128099e5 [DS-1025] Attached and committed improved COINS patch.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6790 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-07 15:40:07 +00:00
Robin Taylor
f610a3eec9 [DS-1027] - Add a tiny bit more documentation to dspace.cfg for Creative Commons
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6789 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-06 13:08:53 +00:00
Kevin Van de Velde
f3e349d0b1 [DS-599] SOLR statistics file download displays only bitstreams in the configured bundles (ORIGINAL by default)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6788 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-05 20:38:10 +00:00
Richard Rodgers
c1c5a3150b DS-1041 Cleanup of web service CC - show CC on both full and short item view
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6787 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-04 22:44:45 +00:00
Richard Rodgers
94e13dec94 DS-1041 Cleanup of CC web service - better configurability support
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6786 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-04 22:20:36 +00:00
Richard Rodgers
5f8b5eaee9 DS-1041 Cleanup of CC web service - better configurability support
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6785 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-04 22:19:02 +00:00
Richard Rodgers
555347d2f0 DS-1041 Cleanup of CC Web Service - more configurability
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6784 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-04 22:15:45 +00:00
Robin Taylor
16734ee14d [DS-1025] Further changes to fix the Coins span elements
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6783 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-04 20:21:59 +00:00
Hardy Pottinger
2693829040 a tiny change, tweaking svn:ignore for a few folders, to quiet down svn, adding target
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6782 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-04 15:00:40 +00:00
Robin Taylor
25f1120549 [DS-1025] Stop Coins info being displayed by mouseover.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6781 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-04 14:28:31 +00:00
Kim Shepherd
6a72f727bc [DS-768] Add ProcessingException to XMLUI transformers, throw ResourceNotFoundException from PageNotFoundTransformer
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6780 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-04 06:10:55 +00:00
Kevin Van de Velde
466d99c0c7 [DS-1045] Fixed the trail messages on the cannot register page.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6768 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-03 13:51:27 +00:00
Robin Taylor
d5dc64ee40 [DS-1036] Consolidate CHANGES, KNOWN_BUGS and README.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6767 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-02 15:03:31 +00:00
Kevin Van de Velde
4a08ffa288 [DS-971] Keep the resources up to date with the changes made in {dspace.dir}/config/spring/discovery
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6766 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-02 13:00:41 +00:00
Robin Taylor
56456015cd [DS-1022] Fix supplied by Art Lowel of @Mire for Mirage theme version of choice-support.js
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6765 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-10-02 12:02:01 +00:00
Tim Donohue
250b996c62 Fix for DS-1029: AIP Backup & Restore unable to auto-create metadata fields on restore/ingest ('createMetadataFields' option is ignored). Essentially all this does is slightly reorganize the logic. We need to ensure the 'finishObject()' method (which does various "finishing" work to auto-create any missing metadata fields as needed) is called *before* an Item is created.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6764 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-30 21:31:07 +00:00
Tim Donohue
539632d463 Fix for DS-959: XMLUI login failure when using Tomcat 7.0.16. This updates XMLUI's main DSpaceCocoonServletFilter & all AuthenticateAction classes so that users always visit the DSpace XMLUI homepage with a trailing slash (e.g. http://localhost:8080/xmlui/). If they ever access it without a trailing slash, they are auto-redirected. This fixes login issues with Tomcat 7, which generates Session Cookies with a trailing slash by default. This fix works for both Tomcat 6 & 7.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6763 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-30 17:49:16 +00:00
Robin Taylor
17fb4e8399 [DS-1036] Changed README to reflect the new docs structure.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6762 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-30 10:46:21 +00:00
Robin Taylor
b6648aaa3b [DS-1036] Move pfd manual under docs and delete the now empty pdf directory.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6761 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-30 10:42:27 +00:00
Robin Taylor
0beab1de43 [DS-1036] Delete html docs and postgres-upgrade-notes.txt.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6760 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-30 10:39:59 +00:00
Mark Wood
414c73fc82 Lots of noisy whitespace adjustments, a few spellings, comment corrections, general pedantry.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6752 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-29 19:07:02 +00:00
Mark Wood
aa1ea04d46 [DS-1034] Avoid linking the final element of the trail on various administrative pages.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6751 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-29 18:27:53 +00:00
Mark Wood
bce6b7e178 [DS-1034] Avoid linking the final element of the trail on a community or collection page.
Item pages will have terminal elements linked because Item (and Bundle, and Bitstream) objects aren't included in the trail.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6750 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-29 17:28:09 +00:00
Tim Donohue
e1dc657272 Enhanced the comments at the top of all authentication configuration files. Added some basic info about available Authentication Plugins to 'authentication.cfg' header. Also updated all other authentication config files headers to refer back to 'authenticate.cfg'.
The end goal here is to try and make Authentication configuration a little more self-explanatory. Obviously, these comments are not meant to take the place of good documentation, but I think they will be helpful to sysadmins.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6749 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-29 15:15:35 +00:00
Tim Donohue
f514817f04 DS-854 : Just found one more improperly licensed JQuery Javascript file. This commit removes the DSpace boilerplate license.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6747 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-28 19:11:50 +00:00
Mark Wood
cce3e5fcb2 [DS-1035] Provide proper page title and breadcrumb trail for home page
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6746 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-28 14:26:29 +00:00
Stuart Lewis
8f2ba8548f [DS-1042] Item Import - errors when no contents file and metadata_*.xml
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6744 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-27 00:42:49 +00:00
Richard Rodgers
5779f6ad18 DS-1037 Fix unparsed message key
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6742 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-23 16:36:10 +00:00
Stuart Lewis
34d53e8a4d Small updates to the SWORD v2 config file
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6741 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-23 01:30:56 +00:00
Stuart Lewis
b2c898d442 Small updates to the SWORD v2 config file
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6740 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-22 23:33:41 +00:00
Robin Taylor
4e91ce06ce [DS-1026] - License selection shows error "Submission failed due to Invalid answer in answers." - fixed
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6739 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-22 13:20:44 +00:00
Kevin Van de Velde
4e985e9c72 [DS-985] Ensured that the DSpace kernel & servicemanager start when the JUnit tests are run.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6738 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-22 07:43:27 +00:00
Robin Taylor
befcdc3609 [DS-1031] - Correct OAI Harvesting code to look for config in oai.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6737 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-21 14:21:34 +00:00
Robin Taylor
306a2b3f42 [DS-533] - Backed out previous change to collection-view.xsl. There was nothing wrong with it but it changes the
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6736 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-21 13:47:13 +00:00
Mark Diggory
13b6026586 [DS-881] DSpace doesn't build properly with Maven 3 : Maven no longer supports "profile.xml" and recommends putting profiles in pom.xml or settings.xml
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6734 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-20 20:23:49 +00:00
Mark Diggory
e0606eaeb2 [DS-1018] 'dspace-1.8.0-rc1-release.zip' is structured differently than 'dspace-1.8.0-rc1-src-release.zip' Consolidate README and LICENSES into top level, eliminate duplicates.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6733 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-20 20:21:27 +00:00
Mark Diggory
c099f27956 [DS-1018] 'dspace-1.8.0-rc1-release.zip' is structured differently than 'dspace-1.8.0-rc1-src-release.zip' We will utilize the maven assembly plugin to carry the descriptors so that they are not confused with application source s the end-user developer needs to work with/understand. Will update to final release once propagated to central repository.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6726 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-20 20:08:33 +00:00
Mark Diggory
633362a0c3 [DS-881] DSpace doesn't build properly with Maven 3 : Revert Packaging to keep same directory structure in release and src-release.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6724 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-20 19:42:54 +00:00
Richard Rodgers
211bbeb86b Add sample curation task group properties
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6723 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-19 22:48:25 +00:00
Tim Donohue
f39aac196d POM cleanup (related to DS-881). Trying to cut down on Maven 3 warnings. These three POMs all load up plugins without specifying a <version> tag (which Maven 3 doesn't like). I've updated all poms to specify the latest version of each plugin & tested.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6719 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 21:43:06 +00:00
Tim Donohue
5b299ee94b POM cleanup (related to DS-881). Removing a really old, obsolete <repositories> entry from the dspace-sword POM. Maven 3 complains about it.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6718 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 21:34:14 +00:00
Tim Donohue
a55aeb4c3c POM cleanup (related to DS-881). Maven 3 complains that these two poms each have a dependency which is listed twice. Removing the duplicate dependency.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6717 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 21:33:13 +00:00
Tim Donohue
6d0cb4da47 DS-854: Undo accidental licensing of Scriptaculous javascript libraries. These should not be licensed with DSpace license header.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6716 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 21:07:18 +00:00
Tim Donohue
0ff769f4a0 DS-854: Undo accidental licensing of JQuery & Scriptaculous javascript libraries. These should not be licensed with DSpace license header.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6715 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 21:04:19 +00:00
Tim Donohue
cb5315c34a License Cleanup: Remove the old MIT/HP License from several files which still have it (most of these files have the new-style DSpace license, but also had the older MIT/HP license)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6714 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 20:52:58 +00:00
Tim Donohue
05ad14b270 License Cleanup (related to DS-854): Cleanup licensing of tag libraries. DSpace TLD needed latest license, while the JSTL fmt library needed an exclusion.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6712 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 20:32:14 +00:00
Tim Donohue
ea9b822d79 License Cleanup: SWORD Client's sitemap had wrong license.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6711 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 20:26:06 +00:00
Tim Donohue
4b6d79a70d License Cleanup: (related to DS-854) Discovery Webapp required some license cleanup & customized exclusions from maven-license-plugin. Some existing License text files were renamed to the *.LICENSE format which is used in other areas of DSpace (to keep consistent)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6710 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 20:21:13 +00:00
Tim Donohue
7f58488e5d License Cleanup: A few files in Discovery do not have proper license headers.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6707 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 20:06:10 +00:00
Tim Donohue
b24707f03b Cleanup all *.xmap licenses in dspace-xmlui-webapp. They all had old license headers.
Also,  cleanup a few licenses so that they now pass the new "strictCheck" of maven-license-plugin.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6706 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 20:01:21 +00:00
Tim Donohue
df28e087af Cleanup all Sitemap licenses in dspace-xmlui-api. They all had old license headers.
Also,  cleanup a few licenses so that they now pass the new "strictCheck" of maven-license-plugin.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6705 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 19:53:42 +00:00
Tim Donohue
8b9c60546b Cleanup a few licenses in dspace-api so that they now pass the new "strictCheck" of maven-license-plugin. Removed an old MIT license.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6704 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 19:52:03 +00:00
Tim Donohue
fa87a84db0 Undo an accidental commit from previous commit.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6703 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 19:47:31 +00:00
Tim Donohue
eaca59bc42 DS-854 : Update several poms so that they use the latest version of dspace-pom (v.12) and the latest version of maven-license-plugin (v.1.9.0). This also cleans up several poms which override the default maven-license-plugin. This is the first of likely quite a few commits (which will seek to clean up licensing & ensure we are now obeying the new "strictCheck" option of maven-license-plugin).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6702 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 19:45:33 +00:00
Robin Taylor
1560314592 [DS-533] - Backed out previous change to collection-view.xsl. There was nothing wrong with it but the reporter didn't ask for the Collection home page to be changed.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6697 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 15:24:23 +00:00
Robin Taylor
cec3fa0525 [DS-533] - Committed patch supplied by J Roads to display Collection Short Description on Mirage Community homepage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6695 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 15:08:58 +00:00
Robin Taylor
b196b590a8 Commented out the Sonatype repository from pom.xml that was added as a temporary measure.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6694 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 14:24:55 +00:00
Robin Taylor
d3bacf8be5 [DS-822] - Default dc metadata schema not used when selecting fields from DIM for default item display
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6693 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-16 13:54:53 +00:00
Andrea Schweer
554ba9f608 DS-1024 Add attribute declaration for vocabulary (closed true/false)
Applying the fix contributed by the reporter in Jira



git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6686 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-14 21:46:13 +00:00
Kevin Van de Velde
b2374829ea [DS-1016] Ensured consistent parameter naming in the configurable workflow.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6684 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-12 09:16:59 +00:00
Robin Taylor
cb74a0c8ef [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6683 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-11 10:20:57 +00:00
Robin Taylor
30493d6d19 [maven-release-plugin] prepare release dspace-1.8.0-rc1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6681 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-11 10:20:08 +00:00
Mark Diggory
2c2862e751 [DS-854] Licenses on non-DSpace files have been replaced by DSpace boilerplate license - DuraSpace JIRA
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6680 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-11 00:36:02 +00:00
Mark Diggory
73abab2db7 Temporarily use sonatype release repository for release candidate, fix hardcoded 2.5.6 dependency on spring in JSPUI to use 3.0.5-RELEASE
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6679 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-10 16:14:58 +00:00
Mark Diggory
546426b659 [DS-1005] SWORD v2 implementation for DSpace : Restructure project and use external SWORD dependency.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6678 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-10 16:13:42 +00:00
Mark Diggory
0c528afbd3 [DS-968] XML configurable workflow : Adjust table naming convention to not use "XML" as we will make this database driven in the near future. Best to do this prior to release to not complicate demo upgrades and testing. org.dspace.xmlworkflow Package will be renamed after RC releases.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6677 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-09 19:51:08 +00:00
Mark Diggory
f872d8efc8 Correct Issues with SWORDv2 Webapplication overlaying. Overlays should not attempt to work in classes or lib directories and rely on Maven dependency mechanism to resolve these dependency requirements. SWORD webapp now packages a separate jar artifact for the classes which is added as a dependency.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6676 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-09 19:36:54 +00:00
Robin Taylor
88282de25b Add the new dspace.dir param to the web.xml for OAI (required by dspace-services)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6675 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-09 17:42:19 +00:00
Robin Taylor
d7eaaca45c Add the new dspace.dir param to the web.xml for Swordv2 (required by dspace-services)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6674 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-09 17:04:13 +00:00
Robin Taylor
642692d3bf Update dspace-services dependency version to 2.0.4 for DSpace 1.8 release
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6673 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-09 10:19:44 +00:00
Robin Taylor
dd5f35cefe [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6672 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-09 09:11:15 +00:00
Robin Taylor
0b706e4bbd [maven-release-plugin] prepare release dspace-services-2.0.4
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6670 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-09 09:10:58 +00:00
Robin Taylor
7d46d0676f Update the language Packs dependencies to be 1.8.0.0-1.9.0.0 for DSpace 1.8 release
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6669 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-09 08:48:09 +00:00
Peter Dietz
4fdc37dbc6 DS-984 Fixed alignment of RSS link on Reference to be slightly nicer.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6667 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-09 04:24:07 +00:00
Peter Dietz
9c7d06fe37 DS-847 Fix items without titles in browse and item display page.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6666 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-08 21:54:08 +00:00
Hardy Pottinger
2e38c44051 DS-990, sets a default value for the overwrite property if the property doesn't exist, also changed all use of the overwrite property in unless and if attributes to use property expansion
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6665 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-08 21:49:24 +00:00
Scott Phillips
ed32865e60 DS-1014, fix incorrect escaping of the forward slash character in bitstream URL within ORE documents.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6664 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-08 19:45:07 +00:00
Kevin Van de Velde
51ada6b9a7 [DS-961] Oracle update sequence script can result in deleted sequences fix
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6652 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-08 09:41:25 +00:00
Kevin Van de Velde
5cf9c55aa5 [DS-971] New Discovery configuration system: default sort order bugfix
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6651 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-08 09:25:06 +00:00
Kevin Van de Velde
63e3638583 [DS-968] XML configurable workflow bugfixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6650 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-08 09:07:04 +00:00
Robin Taylor
221552b64a [DS-602] Remove the unnecessary sword-client prefix from the properties in sword-client.cfg.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6649 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-07 13:48:09 +00:00
Robin Taylor
076dfd04ad [DS-964] - Reinstate @USE='LICENSE' in DIM-Handler.xsl that was lost during the CC Rewrite changes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6647 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-06 08:15:33 +00:00
Robin Taylor
f6bf57fbb4 [DS874] NullPointerException thrown in GoogleMetadata.java
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6646 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-04 09:39:43 +00:00
Robin Taylor
08b37d69b8 [DS848] Add MARCXML crosswalk for OAI-PMH
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6645 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-04 09:13:06 +00:00
Robin Taylor
964b864781 [DS848] Add MARCXML crosswalk for OAI-PMH
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6644 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-04 09:03:01 +00:00
Robin Taylor
9a6f0c0b49 [DS873] Creative commons license bundle on embargoed item will cause internal system errors on item pages.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6643 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-04 08:35:23 +00:00
Tim Donohue
2f0831b9f9 Add proper DSpace License header
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6642 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-02 19:57:25 +00:00
Tim Donohue
a66c2213fc Ignore target directory in svn:ignore
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6641 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-02 19:56:51 +00:00
Tim Donohue
1dfbb1d5e2 Ignore target directory in svn:ignore
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6640 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-02 19:52:57 +00:00
Tim Donohue
a9cda5f955 Fix minor compilation bug in code for DS-1001
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6639 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-02 19:46:02 +00:00
Mark Diggory
947d17bfd2 [DS-1005] SWORD v2 implementation for DSpace : Deploy Foresite via its own community mechanisms. To be finalized version by release candidate.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6638 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-02 16:04:10 +00:00
Richard Rodgers
72289a0339 DS-1001 Add curation task group support to admin UI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6637 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-02 15:02:27 +00:00
Tim Donohue
91dd450be4 Fix for DS-878 : update_geolite timesout when downloading GeoLiteCity.dat.gz See comments on that JIRA ticket. Essentially this ensures you can install DSpace without GeoLite (if a download error occurs), and also gives more options to install Geolite later on (if it failed during the initial DSpace install)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6636 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-01 20:33:19 +00:00
Richard Rodgers
dd9229d9a2 Cleanup license boilerplate
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6635 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-01 19:31:15 +00:00
Richard Rodgers
41f8d01677 Cleanup license boilerplate
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6634 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-01 19:30:37 +00:00
Richard Rodgers
0b2f001d87 now _really_ fixing license boilerplate
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6633 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-01 19:23:11 +00:00
Richard Rodgers
eb93a71ab4 Cleanup license boilerplate
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6632 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-01 19:15:10 +00:00
Andrea Schweer
4ac7647029 [DS-993] DSpace fails to start with spurious space character in dspace.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6631 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-01 05:05:31 +00:00
Andrea Schweer
6e3027919c [DS-897] Selecting "This Collection" in the sidebar search box produces a Page Not Found
Applying Kevin's patch from Jira



git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6630 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-09-01 04:53:30 +00:00
Scott Phillips
1420e0cad5 DS-1010, Item count (collection strengths) do not update on the community-collection list.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6629 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-31 20:51:11 +00:00
Richard Rodgers
f16e309240 DS-982 various usability improvements to curation system
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6628 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-31 18:27:59 +00:00
Robin Taylor
c568f381d6 DS-964 - Creative Commons rewrite (commit the remaining theme changes)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6627 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-31 12:14:31 +00:00
Robin Taylor
03e9e11d80 DS-964 - Creative Commons rewrite (first commit, still to do some of the theme changes)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6626 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-31 10:06:12 +00:00
Ben Bosman
c36542a5d3 [DS-1011] Various minor improvements for Mirage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6625 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-30 09:40:30 +00:00
Ben Bosman
fbe1a8013d [DS-967] Fixed issue in item view for Mirage theme with self-closing <div/> when abstract is empty
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6624 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-30 09:34:05 +00:00
Ben Bosman
a73011a908 [DS-967] Fixed issue in item view for Mirage theme with self-closing <div/> when abstract is empty
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6623 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-30 09:32:32 +00:00
Mark Diggory
a00f6f084b [DS-881] DSpace doesn't build properly with Maven 3 : Move binary release to place release build in root of archive.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6622 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-30 06:02:55 +00:00
Mark Diggory
be378f1033 Adjust project naming to fit convention.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6621 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-30 06:01:43 +00:00
Mark Diggory
2c4d8022f1 [DS-881] DSpace doesn't build properly with Maven 3 : Adjust Assembly Process to be maintained in trunk, move binary release to exclude parent pom.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6620 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-30 05:49:33 +00:00
Mark Diggory
cb18e2cec0 Adjust project naming to fit convention.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6619 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-30 05:44:57 +00:00
Stuart Lewis
9d16a40821 Fix expected URL
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6618 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-28 09:38:16 +00:00
Stuart Lewis
e6d6cc9847 Fix a couple of small typos with last commit
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6617 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-28 08:35:23 +00:00
Stuart Lewis
6c1b67dd22 [DS-941] Marker ticket for splitting up the dspace.cfg: SWORDv2 now updated to use config/modules/swordv2-server.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6616 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-28 08:24:17 +00:00
Stuart Lewis
95de92e02c Small update to javadoc
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6615 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-28 08:13:56 +00:00
Mark Diggory
c1ae6fcac2 [DS-854] Licenses on non-DSpace files have been replaced by DSpace boilerplate license
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6614 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-26 17:04:44 +00:00
Mark Diggory
5e39f51b62 svn:ignores
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6613 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-26 16:57:20 +00:00
Mark Diggory
3582d7eee7 [DS-854] Licenses on non-DSpace files have been replaced by DSpace boilerplate license
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6612 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-26 16:55:24 +00:00
Robin Taylor
977cca3ee4 [DS-1005] Add the dspace-swordv2 module (managed to miss the entire dspace-swordv2 directory on my first attempt!)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6610 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-26 09:50:51 +00:00
Robin Taylor
6c1607d8e3 [DS-1005] Add the dspace-swordv2 module
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6609 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-26 09:45:39 +00:00
Robin Taylor
2e9f01fc1a [DS-602] Correct the <scm> elements in the dspace-sword-client poms
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6608 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-26 08:54:40 +00:00
Mark Diggory
30a2028366 [DS-881] DSpace doesn't build properly with Maven 3 : Need to use version 2.6 for surefire testing. later versions cannot complete test cycle for some reason.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6607 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-26 00:45:04 +00:00
Mark Diggory
7e9ea9d092 [DS-881] DSpace doesn't build properly with Maven 3 : Push Profile POMs into dspace-parent. This will require dspace src-release users to have to build from dspace-parent unless they wish to get the dspace-xxx artifacts from a maven repository. Maven Profiles using "file/exists" activators have been replaced due to instability in their behavior across maven versions.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6606 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-26 00:26:12 +00:00
Mark Diggory
78614be60d [DS-881] DSpace doesn't build properly with Maven 3 : Release Common POM 11, Correct usage of SNAPSHOT Release in last commit. Build cannot locate snapshot repository from a snapshot. This should correct CI problem once 11 is in central repository.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6605 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-26 00:13:04 +00:00
Mark Diggory
22c41abd74 [DS-881] DSpace doesn't build properly with Maven 3 : More Relative Paths to parents.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6601 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-25 23:38:58 +00:00
Mark Diggory
e013f11f81 [DS-881] DSpace doesn't build properly with Maven 3 : add missing profile ids and svn:ignores
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6600 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-25 23:36:59 +00:00
Mark Diggory
43744604e6 [DS-881] DSpace doesn't build properly with Maven 3 : Give control back to solr for its own dependency resolution.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6599 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-25 23:33:27 +00:00
Mark Diggory
f69ff8426c [DS-881] DSpace doesn't build properly with Maven 3 : Missed Upgrade of dspace-pom to fix Maven 3.0 warnings
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6598 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-25 23:01:01 +00:00
Tim Donohue
6de9964a62 Another new DSpace Javascript file (DS-749) missing our DSpace license header.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6591 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-25 16:17:34 +00:00
Stuart Lewis
496d0a6012 Updating SWORD URL
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6590 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-25 03:40:58 +00:00
Mark Diggory
39d7ff4e59 [DS-983] Enable loading spring files from {dspace.dir}/config/spring (correcting dspace-services version number to be 2.0.4-SNAPSHOT, not yet released).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6589 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-24 22:09:10 +00:00
Tim Donohue
0ad274e348 New DSpace Javascript file (DS-749) missing our DSpace license header.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6588 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-24 21:56:42 +00:00
Peter Dietz
f737cbd4b6 Oops, undoing accidental change to upgrade script
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6587 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-24 21:56:40 +00:00
Peter Dietz
6634eaf8b6 DS-816 Fixed order of search types in XMLUI Advanced Search to be determined by order in config
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6586 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-24 21:54:54 +00:00
Mark Diggory
6ea81ecd06 [DS-881] DSpace doesn't build properly with Maven 3
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6585 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-24 21:31:03 +00:00
Mark Wood
8ab89e0e39 Small comment cleanups
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6584 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-24 17:42:30 +00:00
Robin Taylor
b624d0a447 [DS-749] - Allow for bitstream display order to be changed - some IE fixes.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6581 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-24 15:23:50 +00:00
Robin Taylor
3e49b04e32 [DS-749] - Allow for bitstream display order to be changed.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6580 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-24 12:09:06 +00:00
Tim Donohue
c21fa53bd2 DS-1003 : Adding the parameter help info for this new 'filterBundles' option.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6578 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 20:05:05 +00:00
Tim Donohue
5280f345e7 DS-1003 : Add ability to exclude bundles from AIP Export
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6577 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 19:27:36 +00:00
Tim Donohue
f874005f90 Adding DSpace License header to files that are missing it.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6576 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 17:01:55 +00:00
Peter Dietz
5fd0f086ea [DS-984] Added links to RSS feeds in XMLUI Mirage, cleaned up style in Reference
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6575 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 15:44:52 +00:00
Ben Bosman
ad6eb9b045 [DS-749] Backend support allowing for bitstream display order to be changed
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6574 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 08:10:34 +00:00
Stuart Lewis
cea41b3e82 New modules/authentication-x509.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6573 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 04:31:00 +00:00
Stuart Lewis
2c7562afa4 New modules/authentication-x509.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6572 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 04:29:33 +00:00
Kim Shepherd
8b0fab90ff [DS-1002] Additional simple curation tasks to ship with DSpace release (org.dspace.ctask.general.*)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6571 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 04:26:02 +00:00
Stuart Lewis
baf819e17b New modules/authentication-ip.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6570 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 04:22:14 +00:00
Stuart Lewis
7ebaabca4f New modules/authentication-ip.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6569 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 04:21:03 +00:00
Stuart Lewis
ebc67a4ae8 New modules/authenticate-ldap.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6568 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 04:13:44 +00:00
Kim Shepherd
c84f3a62a1 [DS-1000] Move example/out-of-box curation tasks from org.dspace.curate to org.dspace.ctask.general
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6567 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 03:47:03 +00:00
Stuart Lewis
3a5fe4bca7 New modules/authentication-password.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6566 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 03:35:26 +00:00
Stuart Lewis
c0003038ef New modules/authentication-shibboleth.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6565 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 03:22:41 +00:00
Stuart Lewis
686e5fffed New modules/authentication.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6564 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 03:04:51 +00:00
Stuart Lewis
290116cb7e [DS-941] Marker ticket for splitting up the dspace.cfg: bulkedit.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6563 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 02:43:26 +00:00
Stuart Lewis
b262496aef [DS-811] Delete / withdraw items via bulk csv editing
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6562 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 02:07:54 +00:00
Peter Dietz
0986c76215 DS-984 - Add link to RSS feeds in XMLUI - Reference theme
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6561 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-19 00:25:01 +00:00
Stuart Lewis
c05f8e156c [DS-999] Allow SWORDMETSIngester to comply with the mets.default.ingest.useCollectionTemplate setting
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6560 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-18 23:03:04 +00:00
Stuart Lewis
ac0da66b31 [DS-998] - Shibboleth login - improve handling of empty attribute headers
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6559 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-18 21:35:03 +00:00
Tim Donohue
61d578d009 DS-989 : Fix the assembly issues caused by the previous DS-989 patch (which upgraded dspace/pom.xml to use maven-assembly-plugin version 2.2.1). This small patch to assembly.xml ensures we are "compatible" with version 2.2.1 of the maven-assembly-plugin. Thanks to Kevin Van de Velde for the fix.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6558 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-18 19:23:47 +00:00
Mark Wood
1848c56678 Remove unwanted (on Unix) CRs at line end and mark files for native eol
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6557 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-18 15:10:31 +00:00
Ben Bosman
823a4c48af [DSCR-25] Improved user interface for the discovery search page
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6556 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-18 08:57:02 +00:00
Ben Bosman
0dfb5cf0e5 [DS-989] Module directory maven property support
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6555 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-18 06:35:55 +00:00
Richard Rodgers
2c954b7082 DS-905 Upgrade PDFBox family to latest version
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6554 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-17 18:16:39 +00:00
Robin Taylor
5469a4d104 [DS-991] - Tidy up Harvest.java. Add no new functionality but should make it a little easier to add additional filtering code in the future.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6552 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-17 12:46:40 +00:00
Ben Bosman
274095dbfe [DS-971] New Discovery configuration system
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6551 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-16 11:56:52 +00:00
Graham Triggs
8c65d1b92b [DSRV-18] Fix concurrency issue with request map
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6550 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-16 10:22:59 +00:00
Ben Bosman
6d63e00c7c [DS-971] New Discovery configuration system
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6549 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-16 09:27:10 +00:00
Tim Donohue
8fcac3ab07 [DS-980] Upgraded solr & lucene to version 3.3.0 - second try (Thanks to Kevin Van de Velde who fixed the issues that caused massive Unit Testing failures. This new version of patch passes all Unit Tests.)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6548 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-15 21:04:17 +00:00
Stuart Lewis
800d75738f [DS-963] DSpaceI18NTransformer.java logs too aggressively
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6547 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-14 01:07:02 +00:00
Tim Donohue
bc1b7354ef Undoing commit r6545 (DS-980) as it seems to have broken 80% of Unit Tests. Will recommit once Unit Testing issues are resolved.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6546 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-12 21:55:26 +00:00
Tim Donohue
e40a2c9441 [DS-980] Upgraded solr & lucene to version 3.3.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6545 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-12 19:49:34 +00:00
Tim Donohue
9deabbcbc8 [maven-release-plugin] prepare for next development iteration 2011-08-12 17:11:09 +00:00
Tim Donohue
1c499ce8c7 [maven-release-plugin] prepare release dspace-solr-parent-3.3.0.0 2011-08-12 17:11:01 +00:00
Tim Donohue
98cc9bf3e6 [DS-980] Update 'dspace-solr' Trunk to Solr 3.3.0. Also update it to be a WAR Overlay of the default 'solr' WAR in Maven Central (so that it no longer needs a copy of all of the Solr webapp's source code). 2011-08-11 18:27:44 +00:00
Richard Rodgers
cda73317df DS-988 guarantee order of consumers
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6538 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-10 21:25:47 +00:00
Tim Donohue
5e7aeb5252 One SWORD client file is missing license header (DS-602)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6537 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-09 20:57:25 +00:00
Tim Donohue
fdbae41df8 A few XML Workflow files don't have the proper DSpace license header (DS-968)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6536 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-09 20:43:50 +00:00
Tim Donohue
cf0327ea25 DS-979 : Move 'dspace-solr-stats.cfg' (Solr Statistics Configs) to /config/modules/solr-statistics.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6535 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-09 20:22:49 +00:00
Robin Taylor
c689526696 [DS-602] Fix bug in Sword Client 'select collection' page
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6534 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-07 14:49:19 +00:00
Robin Taylor
527fcc7b16 [DS-602] Move Sword Client module to trunk
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6533 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-07 11:19:38 +00:00
Ben Bosman
e7efc9c689 [DS-968] XML configurable workflow
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6532 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-05 14:22:20 +00:00
Peter Dietz
d2964aa470 DS-528 RSS feed to support iTunes Podcast
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6531 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-04 21:40:03 +00:00
Mark Diggory
09f561804e [DS-968] Configurable Reviewer Workflow : Correct Bug in getting correct environment setting for tests.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6530 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-04 21:09:36 +00:00
Mark Diggory
fee280bde7 [DS-968] Configurable Reviewer Workflow : Remove these once the new version of the services is deployed
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6529 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-04 18:59:49 +00:00
Mark Diggory
2b2fadd41b [DS-968] Configurable Reviewer Workflow : Correct Encoding Issue in SQL statement.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6528 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-04 18:51:20 +00:00
Peter Dietz
43715535b3 DS-904 Non-consistant naming of Creative Commons license bundle.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6527 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-04 17:43:04 +00:00
Ben Bosman
65f5786e9e [DS-968] XML configurable workflow
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6526 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-04 15:58:31 +00:00
Ben Bosman
818c01c24e [DS-983] Enable loading spring files from {dspace.dir}/config/spring
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6525 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-04 15:40:53 +00:00
Kevin Van de Velde
9f6a58665b [DSRV-17] Changed the configuration of the module loading to ensure that a comma seperated list can be used as a property instead of an indexed list
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6524 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-04 07:28:45 +00:00
Kevin Van de Velde
b22d89d3f5 [DS-978] Loading of spring files from {dspace.dir}/config/spring improved to only load in the spring files from the active module(s)
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6523 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-03 12:11:25 +00:00
Tim Donohue
084008ef32 Fix for DS-869: Community/Collection admin cannot perform curation tasks on individual items.
This patch also includes the addition of some extra method comments, and some minor reformatting (just to make code more human readable). 

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6522 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-02 21:29:26 +00:00
Tim Donohue
2b2742d74f DS-939: Enhancements to Curation Framework (Site-wide Tasks & Associated EPerson with Tasks)
Whoops, I managed to forget to commit the minor changes to the Administrative Aspect's 'administration.js' and 'sitemap.xmap' which are necessary to actually call the new SiteWide Curation UI.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6521 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-02 21:10:58 +00:00
Tim Donohue
f9a69ee9b9 Minor spelling correction in messages.properties: 'shema' should be 'schema'
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6520 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-02 21:01:30 +00:00
Tim Donohue
ec0e8a037c DS-939: Enhancements to Curation Framework (Site-wide Tasks & Associated EPerson with Tasks)
This final patch enhances the XMLUI to have a Site-Wide Curation Task Admin UI (CurateForm & FlowCurationUtils). It also ensures the Community/Collection/Item Curation Task UIs all are assigning a Task Performer (EPerson) before executing a Task (see FlowContainerUtils and FlowItemUtils changes)

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6518 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-02 16:57:24 +00:00
Tim Donohue
9735249d53 DS-939: Enhancements to Curation Framework (Site-wide Tasks & Associated EPerson with Tasks)
This first patch enhances the org.dspace.curate.* classes to support the idea of Site-wide Tasks & associating a "task performer" (Eperson) with a running task.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6517 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-02 16:54:45 +00:00
Mark Wood
e3250b8ac6 Parameterize a few configuration defaults to support the test framework.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6512 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-08-02 12:47:33 +00:00
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
Tim Donohue
82b71f09a8 Fix for DS-863 : Still possible to register despite xmlui.user.registration set to false
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6510 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-29 19:29:16 +00:00
Tim Donohue
4721751446 DS-673: My Archived Submissions in XMLUI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6509 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-29 18:05:17 +00:00
Tim Donohue
2dcd56b4ba DS-969 : Add ability to monitor & clear Cocoon's Cache from XMLUI Control Panel
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6504 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-27 19:52:02 +00:00
Mark Diggory
417d103639 [DSRV-16] The configuration service doesn't load in any module configuration files on windows ( provided by Kevin Van de Velde)
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6503 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-26 05:04:57 +00:00
Tim Donohue
2a9bb5498b Attempt to cleanup horrendous formatting in ControlPanel.java, in order to make it readable. (This commit changes no code or logic, just spacing/tabbing)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6502 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-22 19:41:28 +00:00
Tim Donohue
6acff5954f DS-965 : Add DSpace Version to XMLUI Control Panel (Adds it to the "DSpace Configuration" tab)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6501 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-22 17:38:53 +00:00
Tim Donohue
ae2f991061 DS-791 : Add ability to disable the building of particular DSpace modules/interfaces from source code
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6500 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-21 20:53:42 +00:00
Tim Donohue
d814eb2f87 Comment out 'dc.description.provenance' mapping in mods.properties file. As part of DS-708 (Deprecate & Remove old 'org.dspace.app.mets.METSExport' class), we need to replace the existing 'oai.mets.hide-provenance' configuration with something equivalent. Based on the discussions in both DS-708 and DS-950, it was determined the easiest fix for now is to just comment this setting out in mods.properties by default.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6499 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-21 20:29:29 +00:00
Mark Wood
33fe9e8c8e [DS-717] Remove duplicated template in Kubrick theme
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6497 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-20 18:37:45 +00:00
Tim Donohue
aa34719859 Fix for DS-957 : themepath override regex wrong (XMLUI)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6496 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-19 15:58:10 +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
b3c4c69000 Several new Discovery classes (added for DSCR-22 I believe) were missing the appropriate DSpace License header. This was causing 'mvn install' to fail on Trunk.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6469 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-15 15:52:19 +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
Mark Diggory
21abcf3c90 [DSRV-15] Cleanup "Failed to Unregister the MBean" error messages in logs, as they are not always errors
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6466 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-14 06:24:35 +00:00
Mark Diggory
b75c74055f [DSRV-13] DSpace service module now also loads in spring files located in the {dspace.dir}/config/spring
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6465 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-14 06:19:32 +00:00
Mark Diggory
29d407861f [DSCR-22] Discovery module back end rewrite to support discovery without solr.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6464 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-13 23:52:28 +00:00
Mark Diggory
c13c6022e3 [DSCR-22] Discovery module back end rewrite to support discovery without solr.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6463 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-13 23:20:42 +00:00
Kim Shepherd
128f8cbabc [DS-862] Add ability to rename bitstreams (filenames) in XMLUI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6462 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-12 22:36:05 +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
ba6ba9c5d2 DS-764 applying patch from Jira
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6460 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-12 09:15:01 +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
Robin Taylor
23791fb2c0 [DS-941] - Changed dspace-sword to correctly access its config from sword-server.cfg.
At the same time I moved the following parameters into the general crosswalk config in dspace.cfg:-
 
mets.default.ingest.crosswalk.EPDCX = SWORD
crosswalk.submission.SWORD.stylesheet = crosswalks/sword-swap-ingest.xsl 


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6457 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-08 11:57:17 +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
Robin Taylor
7e4bb30be6 [DS-941] - Correct the OAI module to read the config from oai.cfg. Removed redundant parameter oai.mets.hide-provenance at the same time.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6454 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-06 15:41:35 +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
Stuart Lewis
16aa7a5f78 [DS-826] LDAPServlet.java incorrectly redirects to incorrect.jsp rather than ldap-incorrect.jsp
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6451 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-07-05 00:04:22 +00:00
Robin Taylor
f3b0b1f984 [DS-941] 'Move the Solr Stats config out of dspace.cfg' - remove header comment
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6449 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-06-29 09:54:52 +00:00
Robin Taylor
8b185e91b8 [DS-941] Move the Solr Stats config out of dspace.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6448 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-06-29 09:45:43 +00:00
Robin Taylor
9b105d2fbb [DS-941] Move the OAI-PMH and OAI-ORE config out of dspace.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6447 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-06-28 13:58:26 +00:00
Robin Taylor
c5752f5932 [DS-941] Move the Sword Server config out of dspace.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6446 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-06-28 08:52:36 +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
Scott Phillips
f2946f227f DS-915, Fix bug where the database connection was being closed when an XML based bitstream is aggregated into the theme's display.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6418 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-06-03 19:20:24 +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
Mark Diggory
ef66d7841e [maven-release-plugin] prepare release dspace-async-release
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6414 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-06-02 08:10:34 +00:00
Mark Diggory
869f8c0247 [maven-release-plugin] prepare branch dspace-async-release
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6412 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-06-02 08:10:13 +00:00
Peter Dietz
56cb3e8124 Fixed typo in NOTICE.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6390 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-05-27 15:40:54 +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
Mark Diggory
736726fd81 [DS-875] DSpace Configuration service error when using "dspace" script. ( provided by kevin@atmire.com )
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6386 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-05-25 20:53:40 +00:00
Mark Diggory
ffbbe3e9f4 [DS-875] DSpace Configuration service error when using "dspace" script. ( provided by kevin@atmire.com )
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6385 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-05-25 20:46:44 +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
Peter Dietz
00ab827e80 [DS-871] Fix XMLUI Caching for community and collection recent submissions.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6380 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-05-16 18:31:55 +00:00
Ben Bosman
0e843906f4 [DS-898] Caching error in browse, search and discovery results
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6379 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-05-16 14:51:23 +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
Ben Bosman
4b4b8c1270 [DS-898] Caching error in browse, search and discovery results
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6369 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-05-12 08:58:30 +00:00
Mark Diggory
910f55a3d4 [DS-891] SWORD web.xml initialization of Service Manager (validation fix)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6364 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-05-04 03:53:49 +00:00
Mark Diggory
c75e0521f1 [DS-891] SWORD web.xml initialization of Service Manager.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6363 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-05-04 03:52:47 +00:00
Mark Diggory
58b1afe6b4 [DS-884] Upgrade DSpace XMLUI to use Spring 3.0.5.RELEASE
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6344 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-04-23 14:31:46 +00:00
Mark Diggory
26c0fe2eb5 [DSRV-14] Upgrading Service Manager to support Spring 3.0.5-RELEASE
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6340 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-04-23 00:34:06 +00:00
Claudia Juergen
3a2e7e6d87 [DS-879] Spelling Error for "dspace help" output - structure-builder description
and some other typos


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6338 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-04-21 12:31:45 +00:00
Peter Dietz
beafd37691 Fixed minor typos in xmlui messages.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6312 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-04-09 18:09:03 +00:00
Tim Donohue
a45d87410f One more svn:ignore update, based on Netbean 7.0(RC1) configuration files.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6309 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-04-07 21:13:10 +00:00
Tim Donohue
77bb1038f8 Updating svn:ignore for several of our SVN directories so that it ignores Netbean 7.0(RC1) configuration files & mvn temporary 'overlays' directory.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6308 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-04-07 21:08:06 +00:00
Claudia Juergen
28d23f2f6c [DS-867] two typos in messages.xml
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6288 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-04-04 08:51:00 +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
Mark Diggory
88bd2b6057 Support latest parent.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6256 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-26 01:10:55 +00:00
Tim Donohue
0e484e542f Updates to all README & LICENSE files in preparation for 1.7.1 release. These updates included minor changes to links, changes to the License date range, and spelling corrections.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6234 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-25 17:13:23 +00:00
Tim Donohue
1322623370 Fix for DS-857 - CHANGES file now obsolete in SVN - point at online History
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6232 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-25 17:07:24 +00:00
Mark Diggory
bf8f8c5ef1 [maven-release-plugin] prepare for next development iteration 2011-03-25 00:43:28 +00:00
Mark Diggory
2cadcd9050 [maven-release-plugin] prepare release dspace-solr-parent-1.4.1.1 2011-03-25 00:43:22 +00:00
Mark Diggory
6aa08af420 [maven-release-plugin] rollback the release of dspace-solr-parent-1.4.1.1 2011-03-25 00:40:04 +00:00
Mark Diggory
ee23f38357 [maven-release-plugin] prepare release dspace-solr-parent-1.4.1.1 2011-03-25 00:38:52 +00:00
Mark Diggory
adc22e7019 [maven-release-plugin] rollback the release of dspace-solr-parent-1.4.1.1 2011-03-25 00:30:34 +00:00
Mark Diggory
58df9bcaa0 [maven-release-plugin] prepare for next development iteration 2011-03-25 00:29:33 +00:00
Mark Diggory
f8c1eefd09 [maven-release-plugin] prepare release dspace-solr-parent-1.4.1.1 2011-03-25 00:29:27 +00:00
Mark Diggory
6be28bed02 Correct Sonatype Deployment Location 2011-03-25 00:28:28 +00:00
Mark Diggory
337197794f [maven-release-plugin] rollback the release of dspace-solr-parent-1.4.1.1 2011-03-25 00:25:50 +00:00
Mark Diggory
b493c2a13c [maven-release-plugin] prepare for next development iteration 2011-03-25 00:21:47 +00:00
Mark Diggory
f3d4adc9ed [maven-release-plugin] prepare release dspace-solr-parent-1.4.1.1 2011-03-25 00:21:42 +00:00
Mark Diggory
9f4eb0e4ad Suppress relicensing Apache works 2011-03-25 00:20:46 +00:00
Mark Diggory
5f24630d9b Improvements to build and release for dspace-solr 2011-03-25 00:16:24 +00:00
Mark Diggory
29a260e554 Suppress Site Deployment as it is lengthy and error prone
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6210 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-25 00:04:43 +00:00
Mark Diggory
f904b89252 [DSRV-12] DSpace Configuration service reads in more configuration files - Commit for Kevin Van de Velde
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6195 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-24 23:34:26 +00:00
Mark Diggory
e55775f534 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6191 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-24 22:47:35 +00:00
Mark Diggory
9f34dac8e5 [maven-release-plugin] prepare release dspace-services-2.0.3
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6189 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-24 22:47:29 +00:00
Mark Diggory
540c8e9403 [DSRV-12] DSpace Configuration service reads in more configuration files - Commit for Kevin Van de Velde
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6188 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-24 22:39:05 +00:00
Kim Shepherd
386618074f [DS-785] SWORD deposits fail when ingest events are fired if Discovery event consumer is configured
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6175 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-23 06:56:04 +00:00
Claudia Juergen
3e403c22a1 [DS-837] Translate file to spanish
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6173 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-22 12:14:12 +00:00
Kim Shepherd
7caf24b7bc [DS-853] MetadataExposure settings for dc.description.provenance are ignored/overridden
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6170 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-22 03:08:51 +00:00
Peter Dietz
5cfc6a57f1 [DS-641] Page does not exist
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6163 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-16 23:06:50 +00:00
Mark Diggory
bc8090cad5 Correct Ordering of Servlet Filters. 2011-03-16 22:07:37 +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
Ben Bosman
71d1441eac [DS-843] Autocomplete in authority control contains small errors in Mirage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6145 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-16 16:46:24 +00:00
Peter Dietz
ee1b9ca0ce [DS-776] Collection admin cannot add bitstreams unless there is at least one bundle.
Additionally did whitespace and formatting fix to the file being touched.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6142 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-15 18:45:49 +00:00
Mark Diggory
5ed0e118dd [DS-840] Add Ability to create Top Level Community in at the home page, additional support to force discovery facets to be just under search.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6141 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-15 06:51:06 +00:00
Mark Diggory
985d5094ee [DS-840] Add Ability to create Top Level Community in at the home page.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6140 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-15 06:32:25 +00:00
Mark Diggory
2550d5c22b [DSCR-19] Case sensitive sidebar facets
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6139 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-15 05:52:34 +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
Robin Taylor
ebb4616225 [DS-435] - Prevent MyExports link appearing when not logged in.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6109 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-05 09:45:50 +00:00
Kim Shepherd
66573b33b7 [DS-690] Tidy URL mapping for JSPUI statistics and improve HandleServlet
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6106 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-04 03:15:24 +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
Scott Phillips
9198c80139 DS-828, Optionaly enable 'restore mode' when ingesting items va SWORD.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6102 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-03-01 22:11:14 +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
Mark Wood
5b5f216511 -c5828 deleted property dspace.java.target, breaking PMD whose
configuration depends on it.  Use maven.compiler.target instead, better 
solution anyway.


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6096 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-02-24 19:21:55 +00:00
Mark Wood
1f8985fc2b Refer to online documentation in the DSDOC space, not DSPACE space.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6094 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-02-24 17:27:29 +00:00
Mark Wood
5f8e7047a9 Tidy up doc comment warnings, tweak a few unclear comments.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6093 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-02-24 16:33:56 +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
88075103d3 Tidy doc comments; quiet javadoc warnings.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6089 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-02-23 17:21:38 +00:00
Mark Wood
14c7d99dcf Problem with javadoc:aggregate and overview, plus overview doesn't belong in child anyway.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@6087 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-02-23 15:36:40 +00:00
Mark Diggory
e27e8cd393 [DSCR-18] Corrections to allow full text indexing provided by Kevin Van de Velde
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6081 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-02-17 16:13:19 +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
Ben Bosman
6630ba67c4 [DS-809] Support for empty dc.abstract dim field in Internet Explorer
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6044 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-01-25 16:37:34 +00:00
Ben Bosman
fc1e66486d [DS-808] jqueryUI javascript gets imported without corresponding CSS
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6043 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-01-25 16:33:32 +00:00
Claudia Juergen
fc05a04163 just a typo
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6036 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-01-21 12:26:13 +00:00
Claudia Juergen
64f7a33b42 - [DS-770] New Japanese messages for 1.7.0 - jspui/api translation
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6035 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-01-21 12:25:21 +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
Graham Triggs
52714bfee9 Add relativePath for Maven 3
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6022 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-01-14 20:57:01 +00:00
Claudia Juergen
28d7e9c790 [DS-801] Bulgarian Translation for DSpace 1.7.0 - jspui translation Messages_bg.properties ind dspace-api-lang
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6021 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-01-14 15:11:50 +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
Peter Dietz
a62418f555 [DS-789] HTTPS renders with errors due to a hardcoded HTTP link
Added a detection for https/http so that when loading JS from CDN uses same protocol, thus solving mixed content warning.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6017 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-01-13 17:58:09 +00:00
Claudia Juergen
d6dd4d559b Updated xmlui translation to 1.7.0 - DS-798
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6015 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-01-13 09:56:16 +00:00
Claudia Juergen
10c721eee0 [DS-758] Mirage theme - lists of unifished submission/workflow task wrong link in collection column
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6011 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2011-01-07 14:24:39 +00:00
Mark Wood
6423312a8f Wrong test (wrong OS!) for "classpath" corrected.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5997 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-17 15:27:52 +00:00
Mark Wood
4c1bb2f6f0 [DS-737] Expose CLASSPATH calculated by launcher
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5996 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-17 14:47:00 +00:00
Tim Donohue
ce87a267f6 One more pom in need of an update to 1.8.0-SNAPSHOT
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5995 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 23:05:10 +00:00
Tim Donohue
cbbaf37ebb Last commit (r5993) failed to catch all instances of 1.7.1-SNAPSHOT and replace with 1.8.0-SNAPSHOT on Trunk. This should take care of the rest of them.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5994 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 23:03:19 +00:00
Tim Donohue
b12082e26c Updating all Trunk poms to version of 1.8.0-SNAPSHOT. As of this moment, Trunk is now for 1.8.0 code, and 'dspace-1.7.x' branch is for 1.7.1 code.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5993 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 22:18:27 +00:00
Tim Donohue
891de52dc2 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5991 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 18:38:22 +00:00
Tim Donohue
45c1db882e [maven-release-plugin] prepare release dspace-1.7.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5989 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 18:38:03 +00:00
Tim Donohue
db521eb0cd Updating HTML Docs to avoid exporting the homepage (https://wiki.duraspace.org/display/DSDOC/DSpace+Documentation), as it's unnecessary to export as part of official docs.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5988 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 17:54:14 +00:00
Tim Donohue
e6282beb54 Re-adding the DSpace PDF Manual -- had to regenerate to avoid having two TOCs in a row at beginning of file.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5987 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 17:45:29 +00:00
Tim Donohue
dae03850f5 Adding back all HTML content, now updated to the 1.7.0 docs
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5986 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 17:31:14 +00:00
Tim Donohue
c36a9837b4 Recreating HTML docs directory
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5985 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 17:27:34 +00:00
Tim Donohue
e30b2e5221 Completely removing old /dspace/docs/html/ directory. There are two many file conflicts here (cause of renaming of pages in Confluence). Will recreate this entire directory momentarily.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5984 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 17:22:38 +00:00
Jeffrey Trimble
9e54e648d0 Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5983 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 17:00:17 +00:00
Jeffrey Trimble
98ecece84d Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5982 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 17:00:06 +00:00
Jeffrey Trimble
89cb8bfe61 Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5981 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:59:50 +00:00
Jeffrey Trimble
b72097b6a6 Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5980 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:59:42 +00:00
Jeffrey Trimble
c8856f7b76 Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5979 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:59:35 +00:00
Jeffrey Trimble
cf1afa8da7 Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5978 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:59:03 +00:00
Jeffrey Trimble
dea1d98e60 Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5977 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:58:50 +00:00
Jeffrey Trimble
b9fc417e03 Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5976 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:58:41 +00:00
Jeffrey Trimble
13d74aba2c Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5975 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:58:24 +00:00
Jeffrey Trimble
eeeec6bd5b Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5974 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:58:13 +00:00
Jeffrey Trimble
6cf82b0e86 Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5973 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:58:05 +00:00
Jeffrey Trimble
ae1bb5cd14 Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5972 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:57:48 +00:00
Jeffrey Trimble
2f7e3792bd Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5971 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:57:40 +00:00
Jeffrey Trimble
99bd42d4c9 Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5970 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:57:30 +00:00
Jeffrey Trimble
1aa2f490a1 Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5969 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:57:17 +00:00
Jeffrey Trimble
f4e7dec72b Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5968 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:57:09 +00:00
Jeffrey Trimble
152e6bf948 Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5967 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:57:02 +00:00
Jeffrey Trimble
44f3a1cd03 Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5966 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:54:00 +00:00
Jeffrey Trimble
39101f92eb Final release for 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5965 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:50:55 +00:00
Tim Donohue
ae12f7a88b Very minor final bug fix. Fix to DS-786. As Hardy Pottinger pointed out, we need to update all our poms to use 'ojdbc6' dependency for Oracle, since we are now requiring Java 6. Hardy tested these changes with Oracle, before submitting. This patch updates all pom.xml files from ojdbc5 to ojdbc6 for Oracle.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5961 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-16 16:11:08 +00:00
Tim Donohue
9c03c61406 Minor changes to README files. Added a link to new Wiki Docs, small changes to wording.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5959 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-14 21:57:41 +00:00
Tim Donohue
23987a0299 Modified KNOWN_BUGS contents. Rather than try to list all known bugs in this text file, I've changed it to provide links which will return the up-to-date results via JIRA queries.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5958 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-14 21:14:23 +00:00
Tim Donohue
2e21b5020f Adding small note to top of CHANGES file which provides locations where more details about DSpace Version History can be found. Also added a statement linking to the listing of all known contributors on wiki.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5957 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-14 21:12:03 +00:00
Tim Donohue
363eee603d Specifying that version 2.1.1 of maven-war-plugin is required in DSpace Parent pom. This should resolve recent problems in building 1.7.0-rc2 as reported on dspace-tech (I will follow up with that thread to make sure it does completely resolve the problems). Here's the thread: http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg12773.html
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5956 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-14 19:23:20 +00:00
Robin Taylor
b72742eee2 Update CHANGES file.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5955 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-14 10:10:28 +00:00
Kim Shepherd
dc0a703a12 Fixed typo in Bill Hays' name
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5954 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-13 23:36:16 +00:00
Kim Shepherd
e5afe20aaa [DS-748] COinS in XMLUI has invalid referrer Id and dc metadata; spans are not properly constructed (partial fix)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5953 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-13 23:34:12 +00:00
Tim Donohue
8652f07d15 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5952 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-13 22:03:12 +00:00
Tim Donohue
24a8fd6257 [maven-release-plugin] prepare release dspace-1.7.0-rc2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5950 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-13 22:02:49 +00:00
Tim Donohue
1d5ff9ea99 Solr Webapp's pom.xml (in [dspace-src]/dspace/modules/solr/) needs a parent POM. Without a parent POM or without all the proper release configs specified by a parent POM, this Solr pom.xml throws errors during the release deploy process. For now, the quickest fix seems to be to just give this a parent (similar to all other modules in[dspace-src]/dspace/modules/).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5949 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-13 21:39:29 +00:00
Tim Donohue
84fbf94fe1 [maven-release-plugin] rollback the release of dspace-1.7.0-rc2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5947 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-13 20:58:26 +00:00
Tim Donohue
0efe3ac3ec [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5946 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-13 19:24:28 +00:00
Tim Donohue
1e3fa1740a [maven-release-plugin] prepare release dspace-1.7.0-rc2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5944 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-13 19:24:08 +00:00
Tim Donohue
b4d1865dc4 Fixes to DSpace Parent pom.xml in order to resolve recent release issues. Had to revert back to version 2.0-beta-9 of 'maven-release-plugin', because more recent versions (v 2.0 and 2.1) of that plugin cannot handle dependency version ranges (see http://jira.codehaus.org/browse/MRELEASE-620). Also added 'autoVersionSubmodules=true' for 'maven-release-plugin', so that it will auto-apply the same version numbers to all submodules of DSpace Parent. These fixes seem to have resolved our release issues (at least in dryRun mode) -- will attempt full release of 1.7.0-rc2 momentarily.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5943 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-13 19:01:00 +00:00
Tim Donohue
d6220bc4bf Upgrading both DSpace Parent and DSpace Services to use the latest version of the Common POM (v.8). Version 8 of Common POM just had small fixes to exclude license header checks for internal NetBeans files (it was already excluding checks internal IDEA and Eclipse files).
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5942 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-13 17:23:34 +00:00
Tim Donohue
d74ef11481 Upgrading both DSpace Parent and DSpace Services to use the latest version of the Common POM (v.8). Version 8 of Common POM just had small fixes to exclude license header checks for internal NetBeans files (it was already excluding checks internal IDEA and Eclipse files).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5941 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-13 17:23:32 +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
Ben Bosman
1746651771 [DS-710] Updates to New Base Theme For DSpace 1.7.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5931 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-09 16:58:26 +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
Mark Wood
c146c7eb58 Don't NPE if we can't find a member by email.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5929 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-07 21:45:48 +00:00
Mark Wood
67d8289196 Always use the group name from the package, since users can change the names.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5928 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-07 21:42:00 +00:00
Mark Wood
95484efe69 Tell the Javadoc reader what this package is for.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5927 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-07 17:36:09 +00:00
Mark Wood
2539c121a0 Document a possible null return.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5926 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-07 17:32:02 +00:00
Tim Donohue
0074ed903e Solr Web Application is not building using UTF-8 encoding on Windows, as its pom.xml is not inheriting any settings from DSpace Common pom.xml. Changed to force UTF-8 encoding on all systems.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5925 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-06 17:06:16 +00:00
Tim Donohue
cb50849a00 Minor fix related to DS-748 (COinS in XMLUI has invalid referrer Id and dc metadata; spans are not properly constructed). Change default COinS 'rfr_id' to refer to 'dspace.org:repository' rather than 'datadryad.org:repo'. At least now COinS properly identifies itself as being generated via a DSpace.org based repository.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5918 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-03 18:55:00 +00:00
Ben Bosman
4b92f744d5 [DS-774] Missing dependencies for PDFBox
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5917 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-03 16:29:12 +00:00
Tim Donohue
5526167228 Fix for DS-772 - AIP Restore process fails to consistently restore Item Mappings.
See the DS-772 issue description for more information on this fix.  Adds a new 'skipIfParentMissing' flag which can be used to skip over Item mapping errors when an Item's parent isn't yet created.  Once the parent is created, it will ensure the item & its mapping are generated properly.


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5916 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-02 21:41:02 +00:00
Graham Triggs
b6339c30f1 [DS-773] Reduce memory retained by objects with finalizers
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5915 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-02 21:10:13 +00:00
Tim Donohue
687c5604e4 DS-613 (Error Handling in the XMLUI interface after session expired) : Small fixes to make the error message more understandable to users. Now says "Your Session has Expired" above the normal error stacktrace (as this is the most common cause of invalid continuations). Also, now the error page includes a link back to DSpace homepage.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5914 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-02 19:49:43 +00:00
Robin Taylor
dacd088e14 [DS-763] Allow for japanese month names with only two characters.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5911 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-29 22:05:00 +00:00
Ben Bosman
054c4dcf13 [DS-769] Mirage theme: Repeatable oneboxes in submission did not show "Add more" buttons
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5910 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-29 11:03:05 +00:00
Ben Bosman
dd98d7a34f [DSCR-16] Support for browsing facets after using "Search DSpace" in the navigation bar
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5909 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-26 13:54:15 +00:00
Ben Bosman
a60aa82b53 [DSCR-15] Scoped search in simple search form on navigation bar updated to use "discover" URL
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5908 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-26 13:23:15 +00:00
Robin Taylor
ba6e4c98fc [DS-755] Close input and output streams in BitstreamReader to avoid leaking file descriptors.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5907 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-25 22:48:01 +00:00
Tim Donohue
891dc76aad DS-466: Removing duplicative logic in AbstractMETSIngester's replace() method. replace() method used to try to determine the parent DSpaceObject before calling ingestObject() method. However, the ingestObject() method already does this by calling getParentObject(). So, replace() included logic which already exists in getParentObject(). That same logic was being run twice in a row, when it only needs to be run once. This change has been tested and is working properly.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5906 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-24 18:52:31 +00:00
Mark Wood
0029e0114d Make exception texts more informative; spelling correction.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5905 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-24 16:48:30 +00:00
Tim Donohue
1a25e8ad1a Attempt to cleanup readability / indentation problems in main sitemap.xmap. This commit doesn't change any of the code or logic, it just attempts to make the indentations consistent. There were some major indentation issues in the pipelines which made the logic almost unreadable.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5895 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-23 21:05:24 +00:00
Tim Donohue
ea23d023c7 DS-466 : Small bug fix. Changed METS disseminator to *always* include a relative file path reference to expected location of child METS files/AIPs. Previously it would only include this path during a recursive dissemination. However, without this file path reference, DSpace currently can *never* restore any child objects (as we don't have a tool to crawl AIPs/METS to find an AIP via just a Handle reference). So, for now, we need to always include a relative file path. Another small issue found via Duracloud testing.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5894 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 21:53:03 +00:00
Tim Donohue
70d0c9e8a8 DS-466 : Just realized the code fixed in r5887 appears in two places -- both in ingestAll() and in replaceAll(). It was fixed in ingestAll() in r5887. This commit also ensures it is fixed in replaceAll() method.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5893 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 20:53:10 +00:00
Tim Donohue
55d4bc0cea DS-466 : Fixed bug where METSManifest was wrongly throwing an error if an Item AIP's METS file didn't include a <fileSec>. METS files which describe an Item may not include a <fileSec> if they contain no files (i.e. DSpace allows Items to exist which have no bundles/bitstreams attached -- this is a rare scenario, but AIP ingester needs to be able to support it). This bug was discovered during DuraCloud pilot testing.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5892 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 20:31:32 +00:00
Tim Donohue
7c0dca7b64 DS-466: Similar to last commit, ensure ingested items are not counted multiple times.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5891 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 20:13:28 +00:00
Tim Donohue
3489d7b29a DS-466: Fix minor bug in count of packages disseminated. Before adding a package to list of those disseminated, make sure it isn't already listed. This only occurs for mapped item packages, which may be listed multiple places and were accidently being counted multiple times.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5890 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 20:10:46 +00:00
Tim Donohue
20b88a0eb0 Removing unnecessary class import from commit r5886. NetBeans was being bad, and added something I never meant to add to the imports.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5888 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 16:20:54 +00:00
Tim Donohue
8c619b135c DS-466 Fixing minor bug in 'item-mapping' logic of AbstractPackageIngester. It was making the improper assumption that ingestAll() will *always* cause a new object to be ingested. However, this is not the case if an object already existed, and the Packager is running in "restore, but keep existing" (-r -k) mode. Fixed the code so that it first verifies if an object was successfully ingested before performing extra item-mapping cleanup work.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5887 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 16:17:08 +00:00
Tim Donohue
dba34e30b9 DS-466 AIP Backup & Restore was unable to backup or restore a Collection's Item Template. This issue was reported via DuraCloud pilot. This code now ensures that Item Template can be backed up and restored properly. Code and generated METS has been validated and tested and seems to be working perfectly.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5886 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 16:14:19 +00:00
Peter Dietz
747e19953a [DS-760] Broken authority-control icons in Mirage theme.
Fixed the auth-control icons by adding path to images/authority_control for the images.
Issue #DS-760 - Broken authority-control icons in Mirage theme

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5880 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-18 22:11:58 +00:00
Mark Wood
c542123e87 [DS-751] Generate Collection's list of children and the set of child
Item packages claiming Collection as parent in the same way, to avoid 
abrupt exit.


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5879 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-18 20:05:28 +00:00
Richard Rodgers
229076c7eb [DS-750] Add i18n-able strings for task status codes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5878 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-18 16:42:37 +00:00
Richard Rodgers
7ccd6b28f9 [DS-750] Add i18n-able strings for task status codes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5877 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-18 16:39:42 +00:00
Sands Fish
637d810201 Adjust metadata mappings per Google Scholar feedback.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5875 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-17 22:01:45 +00:00
Sands Fish
713408c09d Turning on Google Scholar meta-tags by default and relocating config file to crosswalks.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5874 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-17 20:52:46 +00:00
Richard Rodgers
ec1860b6fc [DS-750] Add newline detection and formatting for prettier task lists
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5873 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-17 19:29:23 +00:00
Richard Rodgers
39bec493cc [DS-750] UI readability improvements in tasks
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5870 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-17 16:34:13 +00:00
Tim Donohue
53e486d9f1 Very minor addition to METS/AIP Disseminator. Allow the ability to disable validation during export by specifying the 'validate' flag. This same flag is already available during ingest processes. Adding this flag to the export makes it easier to debug any validation errors which may accidentally occur on export. (This came in handy when trying to track down problem behind DS-752). This flag has already been documented in AIP Backup/Restore docs on wiki.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5869 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-17 16:23:53 +00:00
Mark Wood
53f47aead3 Name the package file claiming a parent which does not acknowledge it as a child.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5867 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-17 14:00:13 +00:00
Stuart Lewis
71509e350c [DS-753] Fix CSV parsing that got broken by refactoring
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5866 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-16 22:40:55 +00:00
Graham Triggs
fa7c843273 [DS-707] Static code analysis changes, replace iterator with for each.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5865 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-16 22:38:02 +00:00
Stuart Lewis
3cd988f403 [DS-753] Fix CSV parsing that got broken by refactoring
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5864 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-16 21:46:07 +00:00
Tim Donohue
ea245bbd5a Improved error message when METS Disseminator fails. If it fails, it should report on which DSpace Object it failed on (previously, it was nearly impossible to tell which object caused an error).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5863 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-16 19:21:38 +00:00
Tim Donohue
577cc51a65 Fix for DS-752: Invalid METS generated for Items with no Bundles
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5862 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-16 19:10:53 +00:00
Tim Donohue
898d14fc62 Remove extra LICENSE.txt files which were in subdirectories of 'dspace-lni' and 'dspace-stats'
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5861 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-16 18:21:44 +00:00
Tim Donohue
99f0a0e8b9 Remove old-style License Headers from some source files which still had them. In most of these, the old-style header was not at the immediate top of the file, so after the header switch they contained both the new and the old headers.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5860 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-16 18:15:13 +00:00
Ben Bosman
2e40bb99b1 [DS-707] General improvements to performance, bug fixes and style
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5859 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-16 13:42:54 +00:00
Graham Triggs
df23ba91e5 Remove unnecessary Item row update
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5858 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-16 12:22:55 +00:00
Sands Fish
e7ac6c0225 Adding Google Scholar metadata integration to Mirage & dri2xhtml-alt themes.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5857 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-15 21:24:03 +00:00
Tim Donohue
f24f823643 Removing empty Java package 'org.dspace.testing.itemgenerator' -- must've been created by someone by accident, as it has no classes.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5855 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 19:11:22 +00:00
Mark Diggory
ff1cdae762 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5852 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 07:09:59 +00:00
Mark Diggory
0994a94c79 [maven-release-plugin] prepare release dspace-1.7.0-rc1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5850 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 07:09:45 +00:00
Mark Diggory
b4642628e0 1.7.0.0 does not exist
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5849 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 05:52:34 +00:00
Mark Diggory
2bf332079b Fix broken license cleanup
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5848 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 05:45:48 +00:00
Mark Diggory
11629c9ece Fix broken license cleanup
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5847 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 05:44:00 +00:00
Mark Diggory
8fac83e688 Fix broken license cleanup
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5846 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 05:42:11 +00:00
Mark Diggory
7f541f6921 Updated Licenses
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5845 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 05:34:07 +00:00
Mark Diggory
0d30c67d9e Updated Licenses
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5844 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 05:29:14 +00:00
Mark Diggory
df09b4f377 delete older documentation, move schema file to where its relevant
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5843 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 05:16:47 +00:00
Mark Diggory
78b977077e delete older documentation, move schema file to where its relevant
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5842 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 05:16:19 +00:00
Mark Diggory
f2c28ff6a8 delete older documentation
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5841 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 05:15:01 +00:00
Mark Diggory
91c4ef23bd delete older documentation
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5840 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 05:13:40 +00:00
Mark Diggory
bdb30fd82f Use appropriate versions of language packs
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5839 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 05:04:45 +00:00
Mark Diggory
aa99bd5fe7 properties cleanup
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5838 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 04:53:04 +00:00
Mark Diggory
56d6e0e6db upgrade to dspace-pom 7 and add in test-jar creation only where needed.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5837 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 02:26:44 +00:00
Mark Diggory
fa81872ef7 upgrade to dspace-pom 7 and add in test-jar creation only where needed.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5836 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-11 23:11:24 +00:00
Stuart Lewis
8377f93202 [DS-525] Move item - inherit default policies of destination collection
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5829 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-11 21:16:20 +00:00
Mark Diggory
a21369bfa0 Cleanup build problems with maven overlay breaking in tests. Use identical dspace-pom settings rather than define in dspace-parent. Remove dspace-ui-shared and copy contents into both webbapps.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5828 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-11 21:09:59 +00:00
Tim Donohue
3612cbf741 Minor cleanup of all Discovery pom.xml files. Removed settings already defined by 'dspace-pom' which were being overridden (e.g was specifying to compile using Java 1.5 instead of 1.6). Also removed dependency versions which are already defined in the 'dspace-parent' pom.xml (e.g. Discovery webapp was limiting itself to only using 'dspace-xmlui-lang' version 1.6.0.0)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5827 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-11 21:00:53 +00:00
Graham Triggs
695b839929 [DS-618] Update documentation and project files for recent Oracle JDBC driver
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5826 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-11 15:41:21 +00:00
Graham Triggs
708c208e25 Fix potential NullPointerException in cleanIndex
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5825 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-11 11:38:21 +00:00
Stuart Lewis
286a9f220e [DS-268] XMLUI Item Mapper cannot handle multiple words in search box
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5824 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-10 22:59:43 +00:00
Robin Taylor
8f3419b09a [DS-401] Backed out as it raised more questions than it answered.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5822 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-10 20:00:42 +00:00
Richard Rodgers
05a85b7b0e Add virus scan task
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5821 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-10 19:48:49 +00:00
Richard Rodgers
94fe33636e [DS-728] Add virus scan task config
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5820 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-10 19:46:56 +00:00
Mark Diggory
7a1fe3b86b Correct release of jmockit for testing
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5818 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-10 06:57:28 +00:00
Mark Diggory
9b5b8547cb Correct release of jmockit for testing
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5817 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-10 06:41:25 +00:00
Mark Diggory
5ff7887010 Correct dependency issues with JMockit third party dependencies.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5814 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-09 19:00:28 +00:00
Mark Diggory
e98984bd88 Correct dependency issues with JMockit third party dependencies.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5813 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-09 18:58:33 +00:00
Graham Triggs
e01d7ec537 Removed GuiClient and dependency on swing-worker that isn't in Maven central
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5812 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-09 14:36:12 +00:00
Graham Triggs
671cd90a58 Remove versions for dependencies that are defined in parent (particularly import for the dspace artifacts)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5799 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-09 12:47:15 +00:00
Graham Triggs
1ba6409390 Fix for array .remove() throwing UnsupportedOperationException
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5798 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-09 11:16:49 +00:00
Mark Diggory
fc76b0c5f0 Drop all thirdparty repository dependencies and prepare to use common dspace-pom for repository configuration, clean out older repositories and distributionManagement sections
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5797 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-09 04:39:17 +00:00
Mark Diggory
8e5d1a2206 Drop all thirdparty repository dependencies and prepare to use common dspace-pom for repository configuration
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5796 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-09 04:20:14 +00:00
Tim Donohue
7482da9118 Moving the location of the new 'google-metadata.*' configs. These should be under the section "JSPUI & XMLUI Configurations" -- and not at the very end of the file (which is the SOLR Configuration section).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5794 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-08 22:45:09 +00:00
Peter Dietz
66da624146 1.7 RC1, revert language changes for time being, will redo after maven central fetches the artifacts.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5785 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-08 19:14:45 +00:00
Sands Fish
feeff647ab [DS-396] Provide metatags used by Google Scholar for enhanced indexing - Adding missing XMLUI theme layer linkage for metadata tags.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5784 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-08 18:54:44 +00:00
Mark Diggory
29293cf4c7 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5783 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-08 16:40:32 +00:00
Mark Diggory
68e3e881c0 [maven-release-plugin] prepare release dspace-services-2.0.2
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5781 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-08 16:40:22 +00:00
Mark Diggory
23a2d2d1ca [maven-release-plugin] rollback the release of dspace-services-2.0.2
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5779 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-08 16:29:56 +00:00
Mark Diggory
d5866fdc14 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5778 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-08 16:19:34 +00:00
Mark Diggory
de09d12419 [maven-release-plugin] prepare release dspace-services-2.0.2
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5776 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-08 16:19:21 +00:00
Mark Diggory
8bd5284375 Adjust to point release deployment to Sonatype repositories.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5775 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-08 14:59:41 +00:00
Mark Diggory
8aa8bd87b8 Adjust naming to be semantically correct. should be a addon, not a plugin.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5774 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-08 14:44:03 +00:00
Mark Diggory
d4440e7148 Licensing cleanup
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5773 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-08 14:04:53 +00:00
Mark Diggory
2d3034140a [maven-release-plugin] rollback the release of dspace-services-2.0.2
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5772 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-08 14:03:15 +00:00
Mark Diggory
a30aea00cd [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5771 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-08 14:00:22 +00:00
Mark Diggory
1d1c4a85d0 [maven-release-plugin] prepare release dspace-services-2.0.2
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5769 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-08 14:00:13 +00:00
Mark Diggory
33f8586cc5 Adjust naming of spring file to be "addon" instead of "plugin"
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5768 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-08 13:58:33 +00:00
Peter Dietz
6d093cc9f5 Bumping version range for language packs in preparation of 1.7.RC1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5767 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-07 23:18:54 +00:00
Peter Dietz
72ce26d0d9 [DS-396] Provide metatags used by Google Scholar for enhanced indexing.
Added simple default strategy for getting the citation_pdf_url of the bitstream.
Changed JSPUI implementation to keep more of the work in the GoogleMetadata class.
Changed the default config for citation_pdf_url to use the simple strategy to get the bitstream of PDF.
Issue #DS-396 - Provide metatags used by Google Scholar for enhanced indexing

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5766 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-07 22:58:24 +00:00
Sands Fish
1f18c72fa5 [DS-396] Provide metatags used by Google Scholar for enhanced indexing - XMLUI & JSPUI integration, as well as dspace.cfg values to enable/disable the feature, and config/google-metadata.properties to configure metadata mapping. (The latter configuration file defaults should be further informed by the community.)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5765 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-07 22:23:32 +00:00
Graham Triggs
3a7af77b76 Remove unnecessary canonicalization
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5764 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-07 16:47:20 +00:00
Mark Diggory
1c2cbb804d Make sure dc.creator is added to dc.contributor.author search index.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5763 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-06 20:43:16 +00:00
Jeffrey Trimble
4cc53ca7a6 Old Docbook version being purged to avoid confusion.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5762 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-06 19:36:15 +00:00
Jeffrey Trimble
42a37ddf25 Old Docbook version being purged to avoid confusion.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5761 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-06 19:35:55 +00:00
Jeffrey Trimble
323126b90b Version 1.7 for 1.7RC1 release.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5760 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-06 19:33:17 +00:00
Jeffrey Trimble
f88f1fd83f Version 1.7 for 1.7RC1 release.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5759 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-06 19:32:24 +00:00
Jeffrey Trimble
bce4d80d7f Version 1.7 for 1.7RC1 release.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5758 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-06 19:31:50 +00:00
Jeffrey Trimble
701108f737 Version 1.7 for 1.7RC1 release.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5757 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-06 19:31:31 +00:00
Richard Rodgers
7e790f684d [DS-742] fix ArrayBounds exception
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5756 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-06 17:20:42 +00:00
Peter Dietz
1ce661dfe8 Changed search/discovery indexing to use solr autoCommit.
This uses less resources and is much faster than lock-stepping document add/update and commit. Added a commit to the end of the updateIndex so that all of the documents added are always committed before the operation finishes.
Issue #DS-615 - Ability to perform maintenance on SOLR with solr.optimize

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5755 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-06 00:03:01 +00:00
Graham Triggs
6369f5d078 Moved final System.exit()
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5754 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 23:47:11 +00:00
Jeffrey Trimble
c42fc2bf81 Lastest release fo 1.7 RC1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5753 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 23:44:50 +00:00
Graham Triggs
f173e7ef01 Add option to not dump metadata values to console
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5752 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 23:39:00 +00:00
Peter Dietz
39b1d19f3b Added ability to perform Solr optimize on the search/discovery core. Can be run with ./dspace update-discovery-index -o
Issue #DS-615 - Ability to perform maintenance on SOLR with solr.optimize

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5751 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 22:45:45 +00:00
Graham Triggs
9d3a759dd3 Add timing to ItemImport
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5750 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 22:35:32 +00:00
Graham Triggs
2950ed7f7a [DS-743] Fix out of memory exception with ItemImport
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5749 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 22:28:34 +00:00
Mark Diggory
ac94a16211 [DS-742] Embargo Fails with Null Pointer Exception on Item Install.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5739 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 20:47:49 +00:00
Mark Wood
1dd547a909 Make matching of default Group names much more strict. We actually have nondefault groups with names like
CIBP_StemCell_HumanCloning_Submitters.


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5738 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 20:46:49 +00:00
Graham Triggs
d2e1b69054 Fix compilation errors from that last checkin
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5737 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 20:35:57 +00:00
Sands Fish
7df891a4c7 [DS-741] Ability to store an incoming package as a file in the event that the ingest fails.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5733 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 18:47:34 +00:00
Graham Triggs
4a040593ac [DS-734] Improve efficiency of Database accesses
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5732 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 15:27:18 +00:00
Graham Triggs
dcfc2956f1 [DS-732] Improve efficiency of record inserts (Postgres only)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5731 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 13:14:34 +00:00
Graham Triggs
8bdce730ba [DS-707] Multithreaded correctness
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5730 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 09:08:59 +00:00
Graham Triggs
37d3c25bde [DS-739] Add delayed index flusher
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5729 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-04 23:55:34 +00:00
Graham Triggs
3af741abd2 [DS-739] Convert list to map to deduplicate tasks for the same handle
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5728 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-04 23:19:59 +00:00
Graham Triggs
1887864b20 [DS-739] Writes empty documents (with modification time and status) for withdrawn or deleted handles to the index - useful for harvesting
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5727 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-04 23:14:17 +00:00
Graham Triggs
2d3a8e6b21 [DS-739] Batch processing mode extended to itemimport, filter media. Configurable option for batch size added
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5726 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-04 22:34:25 +00:00
Stuart Lewis
f0537cc3db [DS-738] sword.cfg seems no longer used after 1.5
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5725 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-04 18:16:48 +00:00
Graham Triggs
3467c5b616 [DS-739] Initial refactorings to support better perfomance.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5724 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-04 17:34:12 +00:00
Graham Triggs
0714ab0f05 Fix mock class for previous change
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5723 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-03 22:27:33 +00:00
Sands Fish
a913ce896b Upgrading commons-dbcp dependency to 1.4 for bug fixes. This is the JDBC4-capable version. Release notes at http://commons.apache.org/dbcp/changes-report.html#a1.4
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5722 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-03 21:26:23 +00:00
Graham Triggs
6d6c309371 [DS-734] Cache columnNames in TableRowIterator, reduce database accesses in Item.update (getting metadatafields)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5721 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-03 20:10:11 +00:00
Sands Fish
e0da343294 Removing i18n title attribute on image task, which was causing numerous 'WARN org.dspace.app.xmlui.cocoon.DSpaceI18NTransformer @ Translation not found for attribute title in element <img>' log entries, and was clearly not contributing to functionality.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5720 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-03 17:17:23 +00:00
Robin Taylor
ab0c2743da [DS-401] Validate and reject invalid dates during submission.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5719 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-03 09:30:26 +00:00
Graham Triggs
2f8d4170b7 [DS-736] ItemImport usage and efficiency improvements
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5718 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-03 07:54:52 +00:00
Graham Triggs
89166d1a7a [DS-734] Further database efficiency changes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5717 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-03 00:54:06 +00:00
Graham Triggs
80c12b1dae [DS-732] Further browse refactoring for efficiency
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5716 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-02 21:29:10 +00:00
Graham Triggs
8d255f71fb [DS-734] Update MockDatabaseManager for previous changes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5715 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-02 17:50:36 +00:00
Sands Fish
3f3e4b7167 Add logging upon exception to ensure that it is reported and not swallowed silently. (This was the case in the white-screen issues in 1.6.) More analysis needed to address if exceptions rethrown from the filter chain are appropriately handled.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5714 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-02 17:42:11 +00:00
Graham Triggs
d7fa5958b0 [DS-734] Fix parsing problems from last check-in
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5713 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-02 17:29:31 +00:00
Graham Triggs
114aee128d [DS-734] More efficient inserts through not using executeUpdate when not requiring the results
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5712 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-02 16:53:26 +00:00
Graham Triggs
67a6fbc0a8 [DS-734] Reduce frequency of canonicalization
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5711 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-02 15:54:24 +00:00
Graham Triggs
805a72443e [DS-707] Fix missing curly braces
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5710 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-02 01:11:01 +00:00
Stuart Lewis
3bd1ecc294 [DS-735] Allow IPAuthentication to work with proxies (examine X-Forwarded-For header)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5709 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-01 22:00:01 +00:00
Graham Triggs
09a11966d3 [DS-732] Refactor pruning map excess to allow for arbitrary number of distinct ids to be pruned
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5708 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-01 18:02:08 +00:00
Graham Triggs
bf92589179 [DS-732] Refactor pruning distinct ids to allow for arbitrary number of distinct ids to be pruned
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5707 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-01 17:25:41 +00:00
Graham Triggs
a6c7f57c03 [DS-734] Improve efficiency of Database accesses
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5706 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-01 14:09:22 +00:00
Graham Triggs
e63097a90c [DS-732] Improve efficiency of DatabaseManager
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5705 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-01 12:25:00 +00:00
Graham Triggs
0fe61e9773 [DS-732] Further browse performance improvements - NOTE: YOU MUST REBUILD THE BROWSE INDEX
The rebuilding comes because there were inconsistenices in the way the distinct mappings were being handled, and this now clears it up

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5704 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-01 11:55:29 +00:00
Andrea Bollini
7a4fe91ccb [DS-562] Community admin or user with WRITE, ADD and ADMIN policy on collection cannot delete that collection due to bug in AuthorizeUtil.authorizeManageTemplateItem(context,collection)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5703 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-01 11:50:13 +00:00
Robin Taylor
cb3161f6ca [DS-639] - Fixed previous faulty change to sword-swap-ingest.xsl to correctly recognise incoming Uri's.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5702 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-01 11:02:08 +00:00
Richard Rodgers
2beac7527e test for optional attribute
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5701 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-31 23:34:11 +00:00
Graham Triggs
69b9c35b0f [DS-733] Load testing utilities
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5700 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-31 20:38:20 +00:00
Graham Triggs
a5658f7c19 [DS-732] Browse performance
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5699 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-31 09:04:54 +00:00
Graham Triggs
294bd96916 [DS-732] Browse performance improvements
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5698 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-30 17:17:51 +00:00
Graham Triggs
f1ee69e2d7 Refactor ColumnInfo to public class - removes DatabaseManager / MockDatabaseManager duplication
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5697 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-30 09:32:08 +00:00
Tim Donohue
cc48236063 Adding another minor option to the AIP Disseminator (DS-466). There's now also an 'updatedAfter' flag, which allows for a very basic form of 'incremental backup'. When this flag is used, an ISO-8601 date must be specified. When used, the AIP Disseminator will only export Item AIPs for items that have changed since that date (it will still always export all Community & Collection AIPs, as there's no last-modified date for them). This new option has also been already documented in the AIP Backup & Restore docs at: https://wiki.duraspace.org/display/DSDOC/AipBackupRestore
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5696 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-29 22:09:22 +00:00
Tim Donohue
f8a3c11540 Adding a minor option to the AIP Disseminator (DS-466). It now comes with an optional "includeBundles" flag, which can be used to limit which Bundles are exported into an Item's AIP. This option would allow people to choose to, for example, not export the TEXT bundle into AIPs (as its contents could be recreated later on). This option has been documented in the AIP Backup & Restore docs: https://wiki.duraspace.org/display/DSDOC/AipBackupRestore
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5695 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-29 21:18:35 +00:00
Richard Rodgers
5b8791c30b [DS-730] Add administrative curation UI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5694 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-29 21:13:49 +00:00
Richard Rodgers
bd676d1d37 [DS-730] Add administrative curation UI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5693 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-29 21:11:43 +00:00
Tim Donohue
5bcea18404 RE: DS-729 (update-sequences.sql script errors out, as it refers to an old, obsolete 'dctyperegistry' table). I'm committing a 'database_schema_16-17.sql' upgrade script, to ensure this old obsolete sequence is removed from existing DSpace databases. It's probably better to remove it now, rather than let it continue to languish around in everyone's DB. This needs to be added as part of the DSpace 1.6 -> 1.7 Upgrade instructions.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5692 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-29 17:10:02 +00:00
Tim Donohue
87a85cea70 DS-712 : DSpace Fails to Check if a Handle is already assigned before assigning a new handle
The resolution to this problem is not to for DSpace to query all handles when assigning a new one (which can be taxing for large installs).  Rather this fix changes the 'update-sequences.sql' scripts (for both Postgres & Oracle) such that the Handle sequence number will always be updated to ensure DSpace will assign a unique handle on the next handle request.  I've also documented in the AIP backup/restore docs (DS-466) that update-sequence.sql script should always be run after a full AIP restore (which is the primary scenario where DSpace may encounter handle assignment issues).

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5691 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-29 16:50:15 +00:00
Ben Bosman
89e34d748f [DS-710] New Base Theme For DSpace 1.7.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5689 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-29 16:16:34 +00:00
Ben Bosman
d3487cf956 [DS-710] New Base Theme For DSpace 1.7.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5688 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-29 16:07:37 +00:00
Graham Triggs
52bc80982b Exclude ancient ehcache artifact from Cocoon, so that we can use newer versions packaged as ehcache-core
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5687 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-29 11:14:17 +00:00
Graham Triggs
055c666f05 [DS-707] Various fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5686 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 20:38:38 +00:00
Graham Triggs
9c267f8f72 [DS-707] Fix locking semantics from earlier check in
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5685 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 19:06:55 +00:00
Graham Triggs
a2221ebcba [DS-707] Clean up of error issues reported from static analysis
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5684 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 17:00:00 +00:00
Graham Triggs
0c92ab2541 [DSRV-10] Simplified version of services using only Spring (merge from simplified-prototype branch)
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5683 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 16:01:39 +00:00
Tim Donohue
3d8f98ffe4 DS-729 fix for both Postgres & Oracle: update-sequences.sql script errors out, as it refers to an old, obsolete 'dctyperegistry' table
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5682 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 15:52:41 +00:00
Tim Donohue
f4c45d85d0 AIP work (DS-466) cleanup. Only disseminate non-null values for EPeople into the 'DSPACE-ROLES' xml stream. This just ensures we keep the XML content a little bit smaller in size, and cuts down on empty XML tags.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5681 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 14:46:14 +00:00
Tim Donohue
6647d3cc3a AIP work (DS-466) bug fix. Ensure 'manifest-only' exports are valid METS files by building a non-null URL for Community/Collection logo bitstreams to be referenced. As Manifest-only exports don't include content files, we need to reference them by semi-stable URLs -- in this case, we'll reference logos via the '/retrieve/[id]' path, as that will work for both JSPUI and XMLUI.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5680 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 14:43:40 +00:00
Robin Taylor
18c72133c3 [DS-670] Relax performance tests in org.dspace.content.CommunityCollectionIntegrationTest.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5678 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 12:50:36 +00:00
Graham Triggs
a94934e22b [DS-707] Added handling of exceptional return codes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5677 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 11:41:48 +00:00
Graham Triggs
2b6b3ae680 [DS-707] Looping performance
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5676 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 11:24:17 +00:00
Richard Rodgers
bdf19d11d2 [DS-728] Add curation configuration files
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5675 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 00:13:23 +00:00
Richard Rodgers
5262078026 [DS-728] Add core curation code & workflow support
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5674 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-28 00:09:31 +00:00
Tim Donohue
708bd70f31 DS-727 : JSPUI-style Community and Collection logo URLs do not work in XMLUI. Adding a Cocoon redirect, so that JSPUI "/retrieve/*" URLs will redirect users to the proper location in XMLUI.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5673 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-27 22:18:06 +00:00
Tim Donohue
3bbcf228cb Minor bug fix to configurations for the new RoleCrosswalk (for AIP work, see DS-466). The RoleCrosswalk plugin was registered in dspace.cfg as both a DisseminationCrosswalk and a StreamDisseminationCrosswalk. It is only a valid DisseminationCrosswalk (not a Stream one), so the second config was removed.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5672 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-27 19:34:55 +00:00
Tim Donohue
00708ab323 Minor tweak to DS-636 fix. Uncomment the 'handle.prefix' entry in dspace.cfg again, so that it is explicitly set to 123456789. If it is commented out by default and you fail to uncomment it, your logs will quickly fill up with "ERROR" msgs saying "handle.prefix is not configured; using 123456789". The error message is good, but default settings should avoid having that error message appear frequently in the logs.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5671 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-27 19:24:25 +00:00
Tim Donohue
28ede8f2a1 Fix small bug in JSPUI RetrieveServlet accidentally caused by DS-426 patch. This patch modified RetrieveServlet to check which bundle a file is in before displaying it. This change was throwing an ArrayOutOfBoundsException for any logo bitstreams, as they have no bundles. Fixed the previous patch to work for logo bitstreams as well.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5670 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-27 18:33:35 +00:00
Graham Triggs
4392bca23f [DS-726] Rewritten as was failing tests and applications.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5669 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-27 10:47:00 +00:00
Peter Dietz
d6559fd4bc Fixing change caused by r5665, which dropped getProperty with default.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5668 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-27 03:46:42 +00:00
Graham Triggs
286f901c9c [DS-707] Fix missing curly braces
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5667 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 23:32:24 +00:00
Graham Triggs
df01a66951 [DS-707] Fix stream closure from previous checkin
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5666 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 23:30:46 +00:00
Richard Rodgers
1b1cc00a34 [DS-726] Add modular configuration
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5665 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 21:59:50 +00:00
Graham Triggs
cb80f0cad4 [DS-707] Remove useless methods
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5664 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 21:31:29 +00:00
Graham Triggs
2d065ced4f [DS-707] Remove useless methods
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5663 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 21:03:18 +00:00
Tim Donohue
10c9fb3cc9 Another small fix to commit r5659 -- forgot "final" in the RoleDisseminator Logger, and neglected to properly use 'exportMemberName' variable I had defined. Obviously, I committed that previous code a moment too soon :)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5662 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 20:54:28 +00:00
Graham Triggs
5a2be0346d [DS-707] Exception handling
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5661 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 20:50:52 +00:00
Tim Donohue
787b928fd5 Accidently removed "final" from the PackageUtils Logger in the previous commit (r5659)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5660 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 20:50:15 +00:00
Tim Donohue
1358e6ad3b AIP work (DS-466): Resolve a potential instability bug when exporting/restoring groups. We will never export groups which contain internal identifiers (e.g. COLLECTION_<ID>_ADMIN) to an AIP. If those groups' internal identifiers cannot be successfully translated to a Handle (external identifier), then they will not be exported in AIPs. The reason is that if they are ever re-imported they may cause conflicts with an existing group, or overwrite the members of an existing group. (NOTE: the only way in which these groups' internal IDs could not be translated to an external identifier would be if they Community or Collection they referred to was previously deleted from the system -- in which case the group should no longer be in use.) This commit also contains some minor code cleanup.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5659 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 20:43:14 +00:00
Graham Triggs
7b701c9be9 [DS-707] Exception handling
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5658 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 20:26:11 +00:00
Graham Triggs
409ea4b689 [DS-707] Empty while statement
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5657 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 19:19:14 +00:00
Graham Triggs
2e1b944087 [DS-707] Close stream
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5656 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 18:34:51 +00:00
Graham Triggs
68c18ef276 [DS-707] Method names
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5655 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 18:25:19 +00:00
Graham Triggs
d66c14848b [DS-707] Modifier order
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5654 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 18:11:31 +00:00
Graham Triggs
ea3df2cfa6 [DS-707] Problematic static arrays
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5653 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 16:30:48 +00:00
Graham Triggs
dc16a27a96 [DS-707] Exception handling
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5652 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 16:18:33 +00:00
Graham Triggs
0586738551 [DS-707] Bad practice fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5651 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 15:33:23 +00:00
Graham Triggs
8c8adbe7d5 [DS-707] Performance improvement (and avoids potential infinite loop)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5650 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 15:24:18 +00:00
Graham Triggs
fe32899977 [DS-707] Method naming
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5649 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 14:23:15 +00:00
Ben Bosman
82bec4d941 [DS-711] Discovery release for XMLUI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5648 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 14:18:26 +00:00
Graham Triggs
d0a010807a [DS-707] Malicious code vulnerabilities
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5647 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 11:31:44 +00:00
Graham Triggs
91362970b5 [DS-707] String concatenation
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5646 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 11:03:48 +00:00
Graham Triggs
047c315ce3 [DS-707] Malicious code vulnerabilities
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5645 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 10:42:55 +00:00
Graham Triggs
a35bf6ca6c [DS-707] Multithreaded correctness
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5644 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 10:20:33 +00:00
Graham Triggs
0cf92c1cf3 [DS-707] Malicious code vulnerabilities
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5643 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 09:48:15 +00:00
Graham Triggs
41fd35b4f1 [DS-707] Stream clean up
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5642 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 09:28:35 +00:00
Graham Triggs
1d9d92c619 [DS-707] Stream clean up
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5641 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 09:01:47 +00:00
Graham Triggs
a95a254bd2 [DS-707] Stream clean up
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5640 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 00:30:50 +00:00
Graham Triggs
010631fd59 [DS-707] Remove generic restriction on hasNamedPlugin
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5639 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-26 00:01:31 +00:00
Graham Triggs
47a6a93a92 [DS-707] Static field access
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5638 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-25 16:59:13 +00:00
Graham Triggs
4df08be320 [DS-707] Static field access
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5637 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-25 16:09:59 +00:00
Graham Triggs
f0515e4b34 [DS-707] Constructor calling overridable method
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5636 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-25 15:14:46 +00:00
Graham Triggs
d0e296d630 [DS-707] Multithreaded Correctness
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5635 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-25 13:23:08 +00:00
Graham Triggs
5fb2212272 [DS-707] Correctness
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5634 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-25 13:06:34 +00:00
Graham Triggs
5fa0e9deae [DS-707] Correctness
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5633 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-25 12:57:45 +00:00
Graham Triggs
c64399459f [DS-707] Malicious code vulnerabilities
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5632 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-25 12:19:30 +00:00
Graham Triggs
e64609e071 [DS-707] Null pointers
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5631 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-25 11:44:18 +00:00
Graham Triggs
da1f84750e [DS-707] Mailicious code vulnerabilities
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5630 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-25 11:41:25 +00:00
Graham Triggs
a730720857 [DS-707] Null pointer dereferences
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5629 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-25 10:21:38 +00:00
Graham Triggs
89e4d12e3d [DS-707] Unnecessary cast
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5628 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-25 06:53:55 +00:00
Graham Triggs
341fb452e8 [DS-707] Make constants final
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5627 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 23:52:50 +00:00
Graham Triggs
c3083acce9 [DS-707] JLS modifier order
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5626 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 23:41:08 +00:00
Graham Triggs
e5cc6f3adc [DS-707] Security fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5625 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 23:21:21 +00:00
Graham Triggs
7f5088d4df [DS-707] Convert unnecessary fields to local variables
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5624 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 22:27:20 +00:00
Graham Triggs
f5d84954b7 [DS-707] Unused imports
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5623 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 22:24:42 +00:00
Graham Triggs
60180f9f23 [DS-707] Simplify expressions
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5622 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 22:14:43 +00:00
Graham Triggs
fa7af795d1 [DS-707] Use entrySet for looping
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5621 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 22:00:47 +00:00
Graham Triggs
fc8727aa25 [DS-707] Loose coupling
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5620 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 21:53:54 +00:00
Graham Triggs
64b3478716 [DS-707] Remove unused imports / fields / private methods
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5619 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 21:24:24 +00:00
Graham Triggs
16e0851ef8 [DS-707] Remove unused imports / fields / private methods
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5618 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 21:22:32 +00:00
Mark Diggory
279b551426 [DSCR-14] Assure Facets can be rendered in Site, Community and Collection Fields for 1.7 release
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5617 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 21:10:50 +00:00
Mark Diggory
43c53cfdfc [DSCR-14] Assure Facets can be rendered in Site, Community and Collection Fields for 1.7 release
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5616 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 21:06:09 +00:00
Graham Triggs
9fd9b94e26 [DS-707] Generify Map usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5615 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 20:41:34 +00:00
Graham Triggs
4e808b6dac [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5614 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 20:29:37 +00:00
Graham Triggs
4a0d8fbd76 [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5613 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 20:26:00 +00:00
Graham Triggs
04d805020c [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5612 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 19:57:06 +00:00
Graham Triggs
0d126a6287 [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5611 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 19:43:28 +00:00
Graham Triggs
135da8769a [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5610 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 19:25:15 +00:00
Graham Triggs
8fe16d07db [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5609 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 18:46:38 +00:00
Graham Triggs
24c98d7ff3 [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5608 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 18:41:53 +00:00
Graham Triggs
d5f9a0b59b [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5607 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 18:20:54 +00:00
Graham Triggs
11d7edd2f2 [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5606 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 18:15:02 +00:00
Graham Triggs
094286fa87 [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5605 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 18:03:22 +00:00
Graham Triggs
2b36940850 [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5604 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 17:58:42 +00:00
Graham Triggs
f358b56ebf [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5603 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 17:45:58 +00:00
Graham Triggs
aa4a35650c [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5602 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 17:37:57 +00:00
Graham Triggs
77e834038b [DS-707] Generify List usage
NB: There is a potential issue in the obtaining of list values - where the authority code was added, it changed a List of Strings to a List of String arrays ( the value, and the authority). Some of the code that used these methods did not take into account that there was a String[] and would have thrown a classcastexception.

This has now been accounted for, but in doing so, it ignores the authority value component of the array. We need to consider if this needs to be updated, or possibly if that method should just be removed (doesn't appear to be used)

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5601 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 16:47:20 +00:00
Graham Triggs
f552805a50 [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5600 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 16:12:57 +00:00
Graham Triggs
7296ad119d [DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5599 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 16:09:10 +00:00
Graham Triggs
b8a35b4adf [DS-707] Generify Map usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5598 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 16:02:36 +00:00
Graham Triggs
24fd2e3d73 [DS-707] Generify Map usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5597 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 15:56:11 +00:00
Graham Triggs
3d6172b14f [DS-707] Generify Map usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5596 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 15:39:21 +00:00
Graham Triggs
03e1e7e9e6 [DS-707] Generify Map usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5595 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 15:35:49 +00:00
Graham Triggs
82e563e0f6 [DS-707] Generify Map usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5594 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 15:23:47 +00:00
Graham Triggs
2bae1a053c [DS-707] Generify Map usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5593 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 15:15:11 +00:00
Graham Triggs
28a338effc [DS-707] Generify Map usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5592 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 15:08:44 +00:00
Graham Triggs
c89dd45f7a [DS-707] Generify Map usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5591 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 15:04:41 +00:00
Graham Triggs
fe60b7cc79 [DS-707] Generify Map usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5590 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 14:59:49 +00:00
Graham Triggs
90025e961b [DS-707] Generify Map usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5589 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 14:50:46 +00:00
Graham Triggs
df7e3af37b [DS-707] Closing streams
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5588 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 14:18:31 +00:00
Graham Triggs
d838dc9069 [DS-707] Checking for exceptional conditions
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5587 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 14:09:30 +00:00
Graham Triggs
aa622e669e [DS-707] Corrected equals comparison
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5586 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 12:06:32 +00:00
Andrea Bollini
a44931df72 [DS-561] On login screen, keyboard input focus should be set to the first field (E-mail Address) so you don't have to use the mouse (JSPUI)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5585 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 11:57:39 +00:00
Graham Triggs
3dff1180db [DS-707] String comparison correctness
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5584 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 11:19:51 +00:00
Graham Triggs
e86539e0a1 [DS-707] Style / readability fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5583 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 11:12:50 +00:00
Graham Triggs
886216350c [DS-707] Style / readability fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5582 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 11:03:48 +00:00
Andrea Bollini
fb7b777742 [DS-704] Update pdfbox library to improve performance and out-of-box support for pdf extraction
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5581 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 10:59:19 +00:00
Andrea Bollini
610ecd89ad svn:ignore eclipse IDE configuration files and settings
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5580 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 10:55:40 +00:00
Graham Triggs
6f9d4e28ab [DS-707] Style / readability fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5579 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 09:06:59 +00:00
Graham Triggs
72e9793c81 [DS-707] Null handling
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5578 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-24 06:51:30 +00:00
Graham Triggs
5061e41c6c [DS-707] Replace printStackTrace()
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5577 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-23 22:33:38 +00:00
Mark Diggory
4563389c8c Commiting fixes to stop attempting to aquire access to DConfigurationManager in static code of a Service. This causes problems becuase its important to let the service get registered by spring prior to doing any configuration.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5576 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-23 22:24:27 +00:00
Graham Triggs
5f6b784ad4 [DS-707] Remove empty statements
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5575 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-23 22:10:53 +00:00
Graham Triggs
1647a1ca18 [DS-707] Style / readability fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5574 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-23 21:54:48 +00:00
Graham Triggs
85bb872979 [DS-707] Unused imports
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5573 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-23 20:52:36 +00:00
Graham Triggs
7c1588c232 [DS-707] Security fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5572 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-23 20:05:05 +00:00
Graham Triggs
026137eb76 [DS-707] Correctness
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5571 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-23 09:19:42 +00:00
Graham Triggs
86029a7b01 [DS-707] Correctness
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5570 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-23 09:15:51 +00:00
Graham Triggs
c931ecaa78 [DS-707] Style / readability fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5569 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-23 08:35:10 +00:00
Kim Shepherd
aee5e51a85 [DS-719] solr.statistics.logBots isn't documented in dspace.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5568 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-23 07:02:17 +00:00
Kim Shepherd
5843bebcde [DS-718] JSPUI redirect users to requested page after authentication
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5567 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-23 01:58:37 +00:00
Graham Triggs
b2c63240bb [DS-707] Fixes for correctness
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5566 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 23:52:43 +00:00
Graham Triggs
d032c565e0 [DS-707] Style / readability improvements
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5565 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 23:19:13 +00:00
Peter Dietz
56c6ca1f49 Added ordering to bitstreams when listing bundles in dspace-api that defaults to sequence_id ASC.
Previously there had been no ordering on order retrieved, and order was dependent on last modified.

UI will pick up on it unless it does an additional sorting afterwards.
Issue #DS-192 - Bitstreams should be returned ordered

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5564 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 23:09:41 +00:00
Graham Triggs
3d2b08842d [DS-707] String comparisons
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5563 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 22:31:38 +00:00
Graham Triggs
29ae4c27d8 [DS-707] Malicious code fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5562 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 22:26:22 +00:00
Graham Triggs
d8223310eb [DS-707] Design for extension
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5561 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 21:16:54 +00:00
Graham Triggs
08136eb33a [DS-707] Correctness fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5560 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 20:46:47 +00:00
Graham Triggs
d8f5455b25 [DS-707] Correctness fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5559 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 19:55:21 +00:00
Graham Triggs
89488c816d [DS-707] Remove fields that hide superclass fields
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5558 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 19:38:28 +00:00
Graham Triggs
03c756fad9 [DS-707] Object comparison
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5557 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 19:18:19 +00:00
Stuart Lewis
38db485523 [DS-713] dspace.log only logs remoteAddr, needs extending to include X-Forwarded-For
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5556 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 18:04:07 +00:00
Graham Triggs
bed5b7249f [DS-707] Style / readability improvements
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5555 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 16:49:20 +00:00
Graham Triggs
41e98d3730 [DS-707] Simplify boolean expressions
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5554 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 15:32:46 +00:00
Mark Wood
e4d07bc076 Eclipse validator calls out thousands of errors without this and,
strictly speaking, it *is* a dependency.


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5553 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 15:31:56 +00:00
Graham Triggs
f6d16fe023 [DS-707] Stack trace loss in exceptions
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5552 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 15:21:30 +00:00
Ben Bosman
b01b162175 [DS-711] Discovery release for XMLUI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5551 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 14:50:38 +00:00
Ben Bosman
872e6c88bc [DS-710] New Base Theme For DSpace 1.7.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5550 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 14:47:53 +00:00
Ben Bosman
2c4546bec2 [DS-710] New Base Theme For DSpace 1.7.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5549 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 14:43:12 +00:00
Ben Bosman
4a28f564d8 [DS-706] Alternative to dri2xhtml, with the goal to be more developer-friendly
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5548 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 14:29:33 +00:00
Ben Bosman
bb508a30c9 Plugin option for dspace services in spring
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5547 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 13:45:41 +00:00
Graham Triggs
5c512c123c [DS-707] Style / readability
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5546 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 12:53:50 +00:00
Graham Triggs
bc9b9e4cac [DS-707] Null handling
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5545 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 12:30:39 +00:00
Graham Triggs
9b3d8d7d8c [DS-707] Check for oddness doesn't work with negative numbers
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5544 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 12:23:00 +00:00
Graham Triggs
6850405028 [DS-707] Unnecessary toString()
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5543 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 11:17:24 +00:00
Graham Triggs
94ac7421c7 [DS-707] Integer construction
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5542 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 11:15:53 +00:00
Graham Triggs
2f74283221 [DS-707] Style / readability fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5541 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 11:06:38 +00:00
Claudia Juergen
9c9a289ab1 [DS-426] Item's submission license accessible without being configured to be public
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5540 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 10:19:28 +00:00
Claudia Juergen
7fe28250ba [DS-715] Unification of license treatment in xmlui and jspui
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5539 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 08:59:42 +00:00
Keith Gilbertson
6398ecb506 [DS-677] - xmlui BitstreamReader holds database connections open while large files download, exhausting connection pool
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5538 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 04:28:56 +00:00
Keith Gilbertson
ec451db2e1 [DS-714] - PowerPoint Text Extraction for DSpace Media Filters
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5537 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 04:08:02 +00:00
Graham Triggs
8e3e6dbe47 TEMPORARY FIX FOR NON-FUNCTIONING WEB APPLICATIONS
None of the web applications are working as of the r5529 Discovery check in. This is because of the spring-dspace-applicationContext.xml in the dspace-discovery-provider clashing with / overriding the one that is in dspace-services.

As a temporary measure, I've renamed this file, so that it doesn't clash / override the dspace-services one. This almost certainly means that DSpace Discovery won't function when enabled according to any instructions, but it does mean that all the web applications work (without going through all the poms and removing dspace-discovery-provider as a dependency - which would be equally problematic for using dspace-discovery).

Having multiple files with the same name / package path in the classpath (and moreover, the same ClassLoader) is highly dubious and unreliable behaviour.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5536 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-22 01:03:27 +00:00
Graham Triggs
e279dcbe3d [DS-707] Remove unused local variables
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5535 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 23:46:13 +00:00
Graham Triggs
170f945d0b [DS-707] Remove unused imports
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5534 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 21:25:53 +00:00
Graham Triggs
f11ad06000 [DS-707] Make session stored variables serializable (NB should we store CSV in Session)?
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5533 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 19:41:18 +00:00
Graham Triggs
328a7bed75 [DS-707] Remove unnecessary catch / throw
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5532 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 19:35:47 +00:00
Ben Bosman
d43e421669 [DS-710] New Base Theme For DSpace 1.7.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5531 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 17:14:52 +00:00
Graham Triggs
1ea64c3b31 [DS-707] Use character instead of string
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5530 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 16:46:54 +00:00
Ben Bosman
53084f0384 [DS-711] Discovery release for XMLUI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5529 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 16:28:37 +00:00
Graham Triggs
e725d78885 [DS-707] Static inner classes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5528 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 16:17:56 +00:00
Graham Triggs
1279619ecc [DS-707] Unnecessary object construction
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5527 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 15:51:31 +00:00
Graham Triggs
d37e8b9d3a [DS-707] Use append instead of String concatenation
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5526 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 15:28:52 +00:00
Ben Bosman
ca73e39a4e Renamed package and artifact name 2010-10-21 15:20:03 +00:00
Ben Bosman
0a2da1235a correction 2010-10-21 15:00:22 +00:00
Graham Triggs
8eacbc06de [DS-707] Use append instead of String concatenation
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5523 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 14:58:56 +00:00
Ben Bosman
664326eafb correction 2010-10-21 14:55:46 +00:00
Ben Bosman
ad6aa02e9b 2010-10-21 14:53:45 +00:00
Graham Triggs
feaaa79968 Fixed date test so that it only checks for current day (fragile test for millisecond accuracy)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5518 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 14:50:12 +00:00
Graham Triggs
419a91513c [DS-707] Loop efficiencies
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5517 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 14:44:55 +00:00
Graham Triggs
44c1fc84a2 [DS-707] Loop efficiencies
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5516 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 14:40:50 +00:00
Ben Bosman
6db29f04da Inclusion of LocalHostRestrictionFilter 2010-10-21 14:36:11 +00:00
Ben Bosman
6fed1ac82a Clean solr webapps commit 2010-10-21 14:33:37 +00:00
Ben Bosman
374721c891 Remove external 2010-10-21 14:31:37 +00:00
Graham Triggs
be485580a7 [DS-707] Clean up List/Map usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5512 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 12:02:20 +00:00
Graham Triggs
e0c560ea95 [DS-707] Code analysis efficiencies
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5511 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 10:47:13 +00:00
Graham Triggs
aa9709d630 [DS-707] Unnecessary Boolean construction
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5510 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 10:21:50 +00:00
Claudia Juergen
b462d9e910 [DS-709] ArrayIndexOutOfBoundsException when editing group roles
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5509 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 07:51:38 +00:00
Stuart Lewis
d06fe28bd3 Junit test for [DS-632] Batch Metadata Import needs to validate metadata fields specified in CSVs
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5508 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-21 00:01:44 +00:00
Graham Triggs
606ee2cc05 [DS-707] Integer valueOf
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5507 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 23:40:58 +00:00
Graham Triggs
fb93abcc33 [DS-707] Cleanup Map / List interface use
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5506 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 23:36:40 +00:00
Graham Triggs
59056cb8c2 [DS-707] Cleanup Map / List interface use
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5505 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 22:57:14 +00:00
Graham Triggs
5f57216279 [DS-707] Stream cleanups
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5504 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 22:42:11 +00:00
Graham Triggs
114b0aaf51 [DS-707] Implement hashCode for objects that override equals
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5503 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 22:34:54 +00:00
Graham Triggs
a29a4d0fcd [DS-707] Make Strings static
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5502 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 22:12:41 +00:00
Graham Triggs
b6d396b118 [DS-707] Replace tight loops
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5501 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 22:06:23 +00:00
Graham Triggs
a1d59de77b [DS-707] Use valueOf instead of Number constructor
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5500 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 22:01:15 +00:00
Graham Triggs
c17cbc0029 [DS-707] String concatenation
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5499 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 21:38:52 +00:00
Graham Triggs
703944d4bf Make getCurrent test check only that it is the same day
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5498 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 21:37:21 +00:00
Ben Bosman
c2944e3e30 [DS-710] New Base Theme For DSpace 1.7.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5497 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 21:06:10 +00:00
Graham Triggs
e47d96205a [DS-707] Boolean instantiations
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5496 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 20:29:49 +00:00
Graham Triggs
c28da30c35 [DS-707] Make final fields static
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5495 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 19:58:00 +00:00
Mark Wood
5c75f58773 [DS-707] Don't create unneeded boxed primitives. Accumulate strings
efficiently.  Don't use new String(String expression).


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5494 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 19:47:17 +00:00
Mark Wood
e43faeee60 [DS-707] Try to use cached instances of boxed primitives.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5493 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 18:24:00 +00:00
Mark Wood
5d87264e20 [DS-707] Use cast instead of box/unbox for coercion.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5492 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 17:51:20 +00:00
Mark Wood
3bbfa0abec String.trim() doesn't work that way; try to avoid unnecessary instances
of boxed primitives.


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5491 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 17:37:25 +00:00
Mark Wood
945e5cd50b [DS-707] Finalize constants, eliminate unnecessary boxed primitive.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5490 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 16:43:37 +00:00
Mark Wood
e3bba39e16 [DS-707] Don't instantiate a Boolean.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5489 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 16:42:10 +00:00
Graham Triggs
28a7aecf74 [DS-694] Fix writing of modification information to Item
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5488 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 16:37:03 +00:00
Graham Triggs
85b63acde8 [DS-707] Cleanup Vector / List use
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5487 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 16:31:27 +00:00
Mark Wood
3ea17470be [DS-707] Don't create an instance where a built-in constant will do.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5486 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 16:18:58 +00:00
Mark Wood
102613378e [DS-707] Replace inefficient boxed primitive construction.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5485 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 14:56:20 +00:00
Mark Wood
42b03b1e90 [DS-707] Improve type safety.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5484 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 14:28:45 +00:00
Mark Wood
f917e8de1b Manifest constant should be static.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5483 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 14:25:18 +00:00
Mark Wood
0bbf324591 [DS-707] Replace inefficient instantiation of boxed primitives.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5482 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 14:24:23 +00:00
Graham Triggs
b67fa3fbed [DS-707] Fix multithreading issues
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5481 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 14:05:34 +00:00
Graham Triggs
b19e893557 [DS-707] Fix threaded handling of DateFormatSymbols
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5480 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 13:19:11 +00:00
Graham Triggs
6a5b82371f [DS-707] More efficient String handling
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5479 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 11:01:06 +00:00
Stuart Lewis
314b3ed1ba [DS-588] Patch for SFX (OpenURL resolver)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5478 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 01:57:33 +00:00
Graham Triggs
d4a6ea6a1c [DS-707] Inefficient use of keySet iterators
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5477 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 23:12:35 +00:00
Graham Triggs
067f0a3cac Reorder test so that it doesn't break on a null pointer
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5476 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 22:48:34 +00:00
Stuart Lewis
87a29e8cc4 [DS-643] New testing framework (GSoC 2010) - Removing dspace-test module, and adding to dspace-api instead
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5475 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 22:18:58 +00:00
Graham Triggs
7c716b9e9b [DS-707] Inefficient use of keySet iterators
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5474 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 21:55:07 +00:00
Tim Donohue
5d22e55b48 DS-707 -- Resolving Unit Testing error accidently caused by r5461. That commit forgot to also fix spelling in name of the 'testTableExistence()' method in MockBrowseCreateDAOOracle
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5473 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 21:37:58 +00:00
Mark Wood
2f4a74091c [DS-707] Try to used cached instances of boxed primitive values.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5472 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 20:55:51 +00:00
Graham Triggs
4c3928d6b5 [DS-707] Make inner classes static
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5471 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 20:53:55 +00:00
Mark Wood
e1da11f5c2 [DS-707] Don't create instances of boxed primitives without need.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5470 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 20:52:36 +00:00
Mark Wood
4233ed1982 [DS-494] Treat SQL DECIMAL and NUMERIC as Long, not Integer.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5469 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 20:24:15 +00:00
Tim Donohue
14e1aeac50 RE: DS-708 (Deprecate & Remove old 'org.dspace.app.mets.METSExport' class, as it is obsolete), I'm officially marking METSExport as deprecated for DSpace 1.7.0. This class has been listed as deprecated in our System Administration Docs for a long time (http://www.dspace.org/1_6_2Documentation/ch08.html#N15F08), but now it is official. As this class is currently still utilized by the OAI-PMH interface, we should likely refrain from removing & replacing it until DSpace 1.8.0.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5465 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 17:04:47 +00:00
Graham Triggs
f1fc1f534c [DS-707] Remove pointless synchronization
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5464 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 16:42:57 +00:00
Graham Triggs
2a330a00c9 [DS-707] Fix array construction
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5463 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 16:41:09 +00:00
Graham Triggs
e1c120a439 [DS-707] Fix string comparisons
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5462 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 16:35:50 +00:00
Graham Triggs
b3f767eb36 [DS-707] Various typo fixes, including a bug in bitstream handling over the bundle THUMBNAIL (THUMBMNAIL)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5461 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 16:10:27 +00:00
Ben Bosman
c764ef0c38 [DS-603] Including a most used item list on the home page
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5459 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 09:34:45 +00:00
Ben Bosman
4dc36b91af [DS-603] Including a most used item list on the home page
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5458 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 09:33:35 +00:00
Graham Triggs
45d6e7dee4 [DS-697] Allow media filter plugins to register their input formats directly
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5457 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 00:32:45 +00:00
Graham Triggs
ab28ac1c6d [DS-695] DatabaseManager to use DataSource, allow for JNDI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5456 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 00:27:48 +00:00
Graham Triggs
77fdf71154 [DS-696] Reduce cost of browse pruning
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5455 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 00:19:19 +00:00
Kim Shepherd
5f743b5175 [DS-699] ChoiceAuthority plugin for old-style controlled vocabularies
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5454 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-18 21:24:10 +00:00
Tim Donohue
785ab61a19 [DS-387] Add ability for various Packager plugins to report their custom "options" via command line. Will close this issue after I update the 1.7.0 Wiki Docs so that they list this new option.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5453 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-18 20:01:09 +00:00
Mark Diggory
42372e24f6 [maven-release-plugin] prepare for next development iteration 2010-10-18 19:55:55 +00:00
Mark Diggory
376772f355 [maven-release-plugin] copy for tag dspace-solr-parent-1.4.1.0 2010-10-18 19:55:53 +00:00
Mark Diggory
59401322a0 [maven-release-plugin] prepare release dspace-solr-parent-1.4.1.0 2010-10-18 19:53:03 +00:00
Mark Diggory
23b159b21e [DSCR-13] Release DSpace Solr 1.4.1 webapplication overlay for discovery and statistics. 2010-10-18 19:51:11 +00:00
Mark Wood
c5d022f96b [DS-636] Replace all lookups of handle.prefix with calls to new
HandleManager.getPrefix() to get a guaranteed non-null value possibly 
defaulted to "123456789".  Handle.net currently recognizes the default 
as "unconfigured DSpace instance".


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5448 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-18 18:10:31 +00:00
Ben Bosman
7c0a0cb07e [DS-706] Alternative to dri2xhtml, with the goal to be more developer-friendly
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5447 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-18 17:23:34 +00:00
Robin Taylor
b1ef2c59c1 [DS-621] When exporting an item delete all old items, not just those related to the current user.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5444 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-18 14:13:22 +00:00
Ben Bosman
36408e2cf8 [DS-615] Optimize solr performance with solr.optimize and autocommit
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5443 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-18 13:37:26 +00:00
Ben Bosman
fd0baedc81 [DS-603] Including a most used item list on the home page
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5442 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-18 12:22:25 +00:00
Andrea Bollini
777150dc38 [DS-585] The Content Disposition configuration is ignored by unpublished items
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5441 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-17 14:26:33 +00:00
Andrea Bollini
f87eb0ba8c [DS-637] Browse index bug/fix ONLY for authority index: first "too low" confidence value stop current item metadata to be indexed in the autority index
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5440 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-17 14:03:31 +00:00
Andrea Bollini
d1f4075e2d svn:ignore eclipse IDE configuration files and settings
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5439 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-17 10:47:19 +00:00
Mark Wood
1c6ecd92b3 Tidy up unused imports, raw types, deprecated conversions of File to URL.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5437 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-15 17:41:55 +00:00
Mark Wood
9e7a63fcc0 Noted in passing: System.exit() called. Replaced to throw RuntimeException.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5436 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-15 14:28:13 +00:00
Robin Taylor
441ca7886b [DS-602] Add the Sword purl client library to dspace-sword-api project. One change required to the pom.xml for a new dependency.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5434 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-15 10:00:59 +00:00
Stuart Lewis
63988dfb5d [DS-550] Upgrade to latest Google Analytics tracking code
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5433 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-15 06:48:37 +00:00
Stuart Lewis
273415cfed [DS-646] Remove /bin scripts (replaced by 'dspace' command)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5432 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-15 03:41:48 +00:00
Stuart Lewis
4e8ea7c853 Correcting typo in success message
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5431 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-15 03:15:36 +00:00
Stuart Lewis
04f7054c44 Correct a javadoc parameter, and add space to email template between name and email address
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5430 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-15 03:12:04 +00:00
Stuart Lewis
5c42e27ce2 [DS-632] Batch Metadata Import needs to validate metadata fields specified in CSVs
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5429 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-15 02:53:20 +00:00
Ben Bosman
6501b2ea3f [DS-703] Making the OAI max amount of records configurable
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5428 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-14 12:36:11 +00:00
Tim Donohue
b1297358c4 Minor cleanup of comments in METSRightsCrosswalk class.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5427 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-13 19:39:48 +00:00
Tim Donohue
41342723f4 Fix small XML validation error in METSRightsCrosswalk -- because of a typo, was accidentally setting an invalid METSRights @CONTEXTCLASS attribute value.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5426 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-13 18:14:14 +00:00
Tim Donohue
15de1cc640 Resolving another small METS validation bug in AIP code. The METS @ID attribute doesn't allow a "/" (slash). Fixing the generated @ID value so that it instead includes the Handle with any slashes replaced with dashes. Also fixed a possible NullPointerException if Handle==null.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5425 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-13 17:59:35 +00:00
Mark Wood
baae889ed0 Clarify which Collection is which, in the item mapper pages.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5424 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-12 20:13:47 +00:00
Graham Triggs
0d8280ccb5 [DS-696] Reduce cost of browse pruning
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5423 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-12 10:46:23 +00:00
Graham Triggs
e713e7ea48 [DS-698] Clears any primary_bitstream_id referencing a bitstream being deleted (causes integrity violation in cleanup)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5422 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-12 09:49:01 +00:00
Graham Triggs
356b2ba892 [DS-698] Clears any primary_bitstream_id referencing a bitstream being deleted (causes integrity violation in cleanup)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5421 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-12 09:47:03 +00:00
Robin Taylor
32a8e76ffa [DS-639] Correctly recognise an attribute of 'URI' on an incoming identifier.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5420 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-12 08:51:23 +00:00
Kim Shepherd
b79448cf7d [DS-691] File size math in the mets:file template in General-Hander.xsl (XMLUI) is incorrect
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5419 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-12 04:45:19 +00:00
Tim Donohue
0724d54411 Resolving METS validation bug, located by Robin Taylor. The METS @ID attribute does not allow a colon (:) in its value. Previously, I had mistakenly added "hdl:" as part of the @ID attribute value during one of my AIP-based commits. This commit fixes that issue by removing the string "hdl:" from the @ID. The @ID now has a format of "Dspace-[objectType]-[objectHandle]".
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5411 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-08 15:06:34 +00:00
Mark Wood
d28f24841d Tidy up spelling distractions, unused private fields, type safety noted in passing
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5398 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-06 14:52:52 +00:00
Mark Wood
ba50e4fa87 Make Packager restore item mappings to non-owning Collections
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5397 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-06 14:46:30 +00:00
Kim Shepherd
99c1f44c68 [DS-689] DisplayStatisticsServlet throws NPE if requested handle is null, should throw 404
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5387 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-05 11:21:10 +00:00
Kim Shepherd
d56f07b3be [DS-688] AuthorizeManager.isAdmin(Context, DSpaceObject) throws exception when EPerson is null
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5386 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-05 10:25:16 +00:00
Stuart Lewis
938e1ad175 [DS-467] Consider making the JSPUI styles.css.jsp a static file
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5378 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-02 19:20:11 +00:00
Stuart Lewis
f4b18b477b [DS-686] Incorrect use of UTF8 in DSpaceCSV
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5377 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-01 19:50:11 +00:00
Mark Wood
b48457b2fc [DS-614] To represent submission step and page, replace abuse of 'double' with a structured value
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5375 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-09-30 19:05:46 +00:00
Tim Donohue
b07be64c06 Based on previous commit (which updated http://scm.dspace.org/svn/repo/licenses/LICENSE_HEADER), renaming the LICENSING_NOTICE.txt files to just NOTICE. Small modifications to README files (updated links, and added a link to online version of source code license). Copied the LICENSE file to the root source code directory (again per LICENSE_HEADER update).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5374 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-09-30 16:32:37 +00:00
Claudia Juergen
5d40527c19 [DS-628] Make the timeout for the extended resolver dnslookup configurable
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5372 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-09-30 13:35:38 +00:00
Mark Diggory
8b21e49228 Adjust Licensing.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5368 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-09-30 05:13:22 +00:00
Tim Donohue
db9cfcc17a AIP Work: Minor cleanup of dissemination of Groups/People to AIPs. Avoid 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
2010-09-24 15:25:38 +00:00
Tim Donohue
78631616b2 AIP Work: Minor bug fix in RoleDisseminator. Forgot to escape "_" character 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
2010-09-23 22:02:02 +00:00
Tim Donohue
9939c7232b 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
2010-09-23 21:50:57 +00:00
Tim Donohue
52dc464bcb 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
2010-09-23 17:10:31 +00:00
Tim Donohue
7c2c187e2d AIP Work -- Minor bug fixes. Fix possible NullPointerException in RoleDisseminator 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
2010-09-23 16:45:26 +00:00
Tim Donohue
147f2c4703 AIP Work -- Minor tweaks to AIP METS generation, so that METS manifest 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
2010-09-23 14:56:07 +00:00
Tim Donohue
a34b600548 AIP Work : Enhancements to restoring of Groups/EPeople/Policies -- seems 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
2010-09-22 17:52:57 +00:00
Mark Wood
3c6514aa7a HTML cleanup, spelling, and the like
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5349 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-09-20 14:37:57 +00:00
Pere Villega
7ffe2ba155 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
2010-09-17 13:11:58 +00:00
Peter Dietz
06e87bed17 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
2010-09-15 23:05:40 +00:00
Robin Taylor
55bb789f40 [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
2010-09-14 10:47:58 +00:00
Robin Taylor
51ca43e15b [DS-594] Change all the SimpleDateFormat's in DCDate to be instance rather 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
2010-09-13 14:09:29 +00:00
Tim Donohue
10ef4c179b AIP Work : Created RoleCrosswalk to wrap RoleIngester/Disseminator classes (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
2010-09-10 20:09:07 +00:00
Mark Wood
1d318ac861 Add package comments, tweak doc comments in classes for better formatting.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5342 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-09-09 15:03:57 +00:00
Robin Taylor
bba898a4e7 [DS-660] Tidy up DCDate and DCDateTest - initial commit, more to be done.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5340 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-09-07 13:33:02 +00:00
Keith Gilbertson
c241627da9 [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
2010-09-07 02:38:38 +00:00
Scott Phillips
753b5ac2b4 This bug fix prevents a Null Pointer Exception when a null value is added as an i18n parameter.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5338 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-09-06 16:53:23 +00:00
Scott Phillips
05015d87e5 Fixed a bug where simple search would lose it's scope (community or collection) when navigating between pagination.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5337 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-09-06 16:51:11 +00:00
Scott Phillips
b28bd22fd9 The dublin-core-metadata.xml schema file that is processed on fresh-installs 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
2010-09-06 16:49:47 +00:00
Scott Phillips
cb7e24c311 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
2010-09-06 16:46:15 +00:00
Scott Phillips
408474fd63 Sort import directories prior to processing. This enforces a predictable 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
2010-09-06 16:43:01 +00:00
Tim Donohue
4918db51ec AIP Export Work : Add a new METSRightsCrosswalk which can translate DSpace 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
2010-09-02 20:27:50 +00:00
Tim Donohue
0873776830 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
2010-09-02 19:48:18 +00:00
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
Mark Wood
57ef2cf01c Fight scroll blindness: fix many broken doc comments.
Also many small typos in comments.  Some small reformatting for 
readability.


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5124 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-16 18:52:33 +00:00
Mark Diggory
cdad467cf3 [maven-release-plugin] prepare for next development iteration 2010-06-16 17:32:14 +00:00
Mark Diggory
8573646810 [maven-release-plugin] copy for tag dspace-solr-parent-1.4.0.1 2010-06-16 17:32:10 +00:00
Mark Diggory
2fb65485ab [maven-release-plugin] prepare release dspace-solr-parent-1.4.0.1 2010-06-16 17:32:05 +00:00
Mark Wood
f79111c91e Add many doc comments, comment cleanup, minor reformatting for readability.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5120 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-16 13:42:59 +00:00
Jeffrey Trimble
22b16e68cc Update for 1.6.2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5104 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-13 12:01:23 +00:00
Jeffrey Trimble
1c9361a500 Update for 1.6.2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5103 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-13 12:01:15 +00:00
Jeffrey Trimble
54ac601d0b Update for 1.6.2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5102 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-13 12:00:04 +00:00
Jeffrey Trimble
b06eb8e1f5 Update for 1.6.2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5101 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-13 11:59:41 +00:00
Jeffrey Trimble
cb4c34b840 Update for 1.6.2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5100 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-13 11:59:26 +00:00
Jeffrey Trimble
2cfe23dc59 Update for 1.6.2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5099 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-13 11:59:17 +00:00
Stuart Lewis
d416e7ae3d Correcting CHANGES (encoding getting upset)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5097 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-12 04:45:21 +00:00
Stuart Lewis
9ac60e2d8a [DS-608] Batch metadata import missing item headers
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5096 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-12 04:43:05 +00:00
Claudia Juergen
7326deb25e just to document the addition of 1.6.0 Czech localization
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5094 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-11 10:40:54 +00:00
Stuart Lewis
9705269933 [DS-607] Invalid identifiers not escaped
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5086 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-10 21:33:32 +00:00
Robin Taylor
15d2a1d05e [DS-215] Allow mixed case metadata names.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5085 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-10 21:12:36 +00:00
Claudia Juergen
59fb198c63 Aligned the "alphabetical" order for sub-daily as suggested by Peter Dietz
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5083 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-10 14:35:13 +00:00
Stuart Lewis
eb6f7988d0 [DS-584] start-handle-server script broken - Error in launcher.xml: Invalid class name
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5080 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-09 22:20:26 +00:00
Tim Donohue
44f47bcbc3 Very minor change to pom.xml of DSpace Parent Project for both Trunk and 1.6.x Branch -- changed organization name to "DuraSpace"
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5073 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-08 17:51:43 +00:00
Mark Diggory
81e4ca8399 Add license headers.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5054 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-03 00:05:57 +00:00
Mark Diggory
179b6b0f85 Reduce dependency on parent pom and move javadoc into dspace-services-api jar.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5053 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-03 00:02:52 +00:00
Mark Wood
4108e67d6c Invent the INSTALL Event type, fired when an Item moves from Workspace/Workflow to Collection.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5049 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-06-01 15:12:37 +00:00
Mark Wood
448144dfd7 Correct and expand "how to get started"
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5022 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-26 16:57:13 +00:00
Mark Wood
fa388a002a Document where to begin using the Framework
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5021 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-26 13:58:20 +00:00
Mark Wood
d8d10ea50b Can you believe it? More Javadoc tweaking.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5019 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-25 16:08:08 +00:00
Mark Wood
28673de62e Yet more Javadoc fixup.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5018 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-24 16:40:50 +00:00
Mark Wood
cc45a003ba Still more Javadoc cleanup.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5017 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-24 14:00:31 +00:00
Mark Wood
7d5d9e8d44 Still more Javadoc cleanup.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@5016 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-24 13:59:23 +00:00
Jeffrey Trimble
4a24c5a792 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5012 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-05-21 17:26:43 +00:00
Jeffrey Trimble
8ffa2330f7 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5011 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-05-21 17:24:49 +00:00
Jeffrey Trimble
1c85a51654 Final Revisions for 1.6.1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5010 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-21 17:23:27 +00:00
Jeffrey Trimble
76fe1ce8d0 Dspace Version 1.6.1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5008 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-21 17:12:19 +00:00
Jeffrey Trimble
fc2bc1ab3e Final Revisions for 1.6.1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5005 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-21 16:45:25 +00:00
Jeffrey Trimble
a5ee2fc062 Final Revisions for 1.6.1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5003 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-21 16:39:45 +00:00
Jeffrey Trimble
0bd461646d Final Revisions for 1.6.1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5002 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-21 16:39:25 +00:00
Jeffrey Trimble
51a2c9e5b2 Final Revisions for 1.6.1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4997 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-21 16:36:48 +00:00
Jeffrey Trimble
84b21f4e23 Final Revisions for 1.6.1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4996 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-21 16:36:28 +00:00
Jeffrey Trimble
4c9801b71c Final Revisions for 1.6.1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4995 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-21 16:33:29 +00:00
Jeffrey Trimble
31f2d4216a Final Revisions for 1.6.1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4994 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-21 16:33:22 +00:00
Jeffrey Trimble
d24af806b3 Final Revisions for 1.6.1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4993 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-21 16:33:13 +00:00
Jeffrey Trimble
11c2d6b2a1 Final Revisions for 1.6.1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4992 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-21 16:33:06 +00:00
Jeffrey Trimble
4fdb7a8afe Final Revisions for 1.6.1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4991 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-21 16:32:40 +00:00
Jeffrey Trimble
401735e7d6 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4990 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-05-21 16:31:26 +00:00
Mark Wood
d49219b716 More Javadoc elaboration and cleanup
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4983 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-20 21:14:11 +00:00
Mark Wood
31dd9eaec2 More Javadoc elaboration and cleanup
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4982 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-20 17:42:25 +00:00
Jeffrey Trimble
103e5db8d2 Revisions for accuracy
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4975 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-20 15:04:23 +00:00
Jeffrey Trimble
2147904524 Added section for upgrade from 1.6 to 1.6.1 Adjusted 1.5 to reflect 1.5.to 1.6.x
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4974 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-20 15:04:09 +00:00
Mark Wood
90e529a6d2 Flesh out the Javadoc a bit, with an eye to the Big Picture.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4970 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-19 21:11:26 +00:00
Robin Taylor
ea0dfbb08e Trivial update to CHANGES file for DS-501.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4962 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-17 18:09:53 +00:00
Mark Diggory
d6b910fef7 [DS-556] Add Xalan to Solr pom.xml as dependency (and stop using dependency management from the rest of DSpace where it shouldn't be the case).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4961 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-15 05:41:29 +00:00
Mark Diggory
1eb28e143a [DS-577] Use modified Cocoon Servlet Service Impl in place of existing to support proper Cocoon Block addition.
[DS-239] java.net.MalformedURLException: unknown protocol: resource

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4960 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-15 05:33:35 +00:00
Mark Diggory
fdcfcd0dd3 Minor improvements to Statistics solr URL and Logging
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4959 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-15 05:22:06 +00:00
Mark Diggory
f475682d38 [DS-571] Upgrade DSpace Services to next release 2.0.1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4958 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-15 02:55:47 +00:00
Mark Diggory
f8d1c9b96e [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4957 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-15 02:37:15 +00:00
Mark Diggory
b5e3474e86 [maven-release-plugin] prepare release dspace-services-2.0.1
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4955 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-15 02:37:10 +00:00
Mark Diggory
d4140ee673 [DSRV-8] Correct errors when locating legacy configuration properties and files. Licensing and schema
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4954 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-15 02:12:29 +00:00
Jeffrey Trimble
9e87ef7b56 Updated Batch Edit
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4951 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-14 15:25:08 +00:00
Jeffrey Trimble
cde46c7f91 Typos Corrected
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4950 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-14 15:24:53 +00:00
Jeffrey Trimble
d6589bb4d0 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4949 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-05-14 14:56:40 +00:00
Jeffrey Trimble
2e2c83dc01 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4948 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-05-14 14:56:23 +00:00
Jeffrey Trimble
5bc1e9f85d git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4947 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-05-14 14:56:14 +00:00
Jeffrey Trimble
98a5f4faba git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4946 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-05-14 14:55:41 +00:00
Jeffrey Trimble
bab26382a4 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4945 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-05-14 14:55:31 +00:00
Jeffrey Trimble
d1fdd1ba66 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4944 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-05-14 14:55:12 +00:00
Kim Shepherd
258b69bdc6 Forgot CHANGES edit for DS-544
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4943 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-14 01:59:22 +00:00
Kim Shepherd
43315884ea [DS-544] Removal of mapped items can lead to NPE
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4941 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-14 01:54:20 +00:00
Mark Diggory
f258a9f40a [DSRV-8] Correct errors when locating legacy configuration properties and files.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4940 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-14 01:04:10 +00:00
Mark Diggory
d87ea87030 [DSRV-7] Adjust Service Activators to be able to start from Spring configuration
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4939 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-14 00:44:41 +00:00
Mark Diggory
e2983ec06c Documentation
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4938 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-14 00:41:21 +00:00
Mark Diggory
0502e346fd Documentation
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4937 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-14 00:34:16 +00:00
Kim Shepherd
ae725ce66f [DS-557] LC Authority Names - Lookup Feature - names w/o dates
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4936 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-13 23:40:04 +00:00
Andrea Bollini
393fe38c0a [DS-573] NPE resuming submission for item with an empty bundle original
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4934 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-13 23:02:34 +00:00
Andrea Bollini
a590be7e90 [DS-574] DSpaceMETSIngester creates empty original bundle
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4933 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-13 23:01:11 +00:00
Andrea Bollini
32ed76f83d [DS-581] DIDL doesn't respect the hidden fields and the oai_dc metadata section is different than the simple oai_dc implementation
[DS-580] DIDL format include HTML element if the item has no files

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4932 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-13 23:00:31 +00:00
Richard Rodgers
e41330b0d3 Add simple day table setter
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4928 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-13 15:20:22 +00:00
Richard Rodgers
3b89a7ca8d Expose open terms property to subclassing
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4927 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-13 15:17:40 +00:00
Mark Diggory
7b41b6452a Add Schema for validation
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4926 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-13 02:38:08 +00:00
Mark Diggory
cbb340ea3a Disable RMI Distributed Caching by default.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4925 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-13 02:37:38 +00:00
Peter Dietz
845c23be75 [DS-509] SOLR returns ArrayIndexOutOfBounds with non-existent country code OR when there is no view/download data. Added to trunk. contains i18n keys for country and continent, and performs check that they exist before trying to display. Also fixes a similar ArrayIOOB by adding a check.
Issue #DS-509 - Retrieving country names in SOLR can return ArrayIndexOutOfBounds when country code is unchecked

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4924 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-13 01:36:34 +00:00
Ben Bosman
88994cfc80 [DS-579] Required fields in submissions display wrong error message
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4921 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-12 21:38:30 +00:00
Kim Shepherd
a1ce30859c [DS-471] Accessing site-level 'mets.xml' in XMLUI doesn't work properly for handle prefixes with periods (e.g. 2010.1)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4918 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-12 02:49:56 +00:00
Robin Taylor
328789eb01 Change kubrick.xsl to check for the presence of a day and month before displaying - See Jira DS-501.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4914 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-11 16:32:08 +00:00
Mark Wood
acacb59ab1 Make installation less site-specific and thus (I hope) clearer.
Carried over from 1.6.1 branch, rev. 4910.


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4911 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-10 14:29:38 +00:00
Stuart Lewis
368630d582 [DS-572] Batch metadata editor fails to notice change of item's owning collection
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4908 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-10 09:55:34 +00:00
Stuart Lewis
c7910261af Correcting name
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4907 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-10 08:47:08 +00:00
Stuart Lewis
25ecccece2 [DS-242] Special groups shown for logged in user rather than for user being examined
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4904 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-10 08:34:53 +00:00
Kim Shepherd
260177005c [DS-566] Fixed for side bar menu dropping when there is license text in collection - DIM-Handler.xsl
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4900 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-10 04:25:46 +00:00
Kim Shepherd
442f877a8a [DS-565] Fixed for Empty description column in Itemview Page - General-Handler.xsl
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4899 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-10 04:24:19 +00:00
Mark Diggory
4ae137e48f [DSRV-6] Prepare new release. - Allow all addons to provide spring configuration on the classpath not just the first one.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4897 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-06 23:36:54 +00:00
Kim Shepherd
8bfe4997b3 [DS-548] Removing repeatable values in DescribeStep does not properly test for authority control
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4894 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-05 19:28:51 +00:00
Kim Shepherd
b5e97597b0 [DS-497] Date month and day get default values when user returns to describe form
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4893 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-05 19:22:51 +00:00
Kim Shepherd
79702c115b [DS-537] Malformed Japanese option values in the authority lookup window
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4890 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-05 19:13:30 +00:00
Kim Shepherd
3aa176ac1e [DS-527] - Withdrawn items not shown as deleted in OAI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4888 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-05 19:02:39 +00:00
Claudia Juergen
c853bee89d [DS-543] Harvest not internationalized
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4887 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-05 11:44:54 +00:00
Claudia Juergen
a34470a68f [DS-551] Export directories dspace.cfg and build.xml out of sync
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4885 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-05 07:56:02 +00:00
Peter Dietz
87047ffcf0 DS-542 Fixed SOLR log StatisticsImporter verbose mode to display the correct information about the line being processed, as opposed to previous entries value when it encounters a bot.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4883 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-05 02:11:24 +00:00
Keith Gilbertson
cf15d7d505 [DS-123] xmlui browse in empty collection displays "Now showing items 1-0" of 0 - incorrect numbering
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4881 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-05-04 18:53:21 +00:00
Claudia Juergen
9f7491d4ff [DS-547] Value for Recent Submissions is not workin in the XMLUI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4878 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-04-30 10:55:08 +00:00
Mark Diggory
bd45fed776 svn-ignore
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4876 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-04-29 02:08:08 +00:00
Claudia Juergen
934660b359 [DS-558] Error in update sequence script 1.5 to 1.6 Oracle
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4874 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-04-27 10:41:22 +00:00
Mark Diggory
e17c3c80f2 Update confluence docs off of docBook
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4872 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-04-24 16:56:12 +00:00
Claudia Juergen
7466de165f - [DS-500] Ukrainian for DSpace 1.6.0 has been comitted to api-lang
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4871 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-04-15 09:09:28 +00:00
Keith Gilbertson
99fa7af29a [DS-539] Misspelled attribute in MODS/METS output
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4869 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-04-13 20:32:16 +00:00
Ben Bosman
616665c12e [DS-493] Url in browser is incorrect after login
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4863 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-04-08 12:44:12 +00:00
Ben Bosman
25bf35fe80 [DS-538] restricted items are being returned in OAI GetRecord method while using harvest.includerestricted.oai
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4862 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-04-08 12:39:29 +00:00
Andrea Bollini
0853c34e17 [DS-513] Connection leak in SWORD authentication process
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4842 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-03-31 18:49:54 +00:00
Claudia Juergen
57a9f3c29a [DS-515] Czech localization of 1.5.2 - Messages_cs.properties submitted to api-lang module
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4838 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-03-30 10:47:41 +00:00
Stuart Lewis
d764a594bd [DS-526] ItemUpdate - script update
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4835 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-03-30 00:11:38 +00:00
Mark Wood
70b1d8ffc6 [DS-469] DCDate.displayDate display full date when granularity is TIME but time suppressed
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4834 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-03-29 18:41:38 +00:00
Stuart Lewis
d2380b0749 [DS-518] Duplicate listing of dependencies in dspace-sword/pom.xml
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4826 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-03-22 21:46:07 +00:00
Claudia Juergen
fc801cf298 Item import use "notify" instead of "notification" as long version of the option "-n" in compliance to the documentation and use of other actions like -a add
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4815 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-03-15 10:00:05 +00:00
Stuart Lewis
089fb54742 [DS-508] Attachment spelled as attachement in DailyReportEmailer
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4813 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-03-07 23:41:33 +00:00
Stuart Lewis
c33a53fa60 [DS-506] embargo-lifter command missing from launcher.xml
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4806 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-03-04 01:05:33 +00:00
Tim Donohue
858288464c Minor changes to the README and LICENSE files for the 1.6.0 release. These changes were accidentally missed before the release was cut. They will be copied out to the 'dspace-1.6.0' tag shortly to ensure they are a part of 1.6.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4798 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-03-02 18:26:14 +00:00
Tim Donohue
096133a3c1 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4797 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-03-02 17:48:48 +00:00
Tim Donohue
02af60c20a [maven-release-plugin] prepare release dspace-1.6.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4795 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-03-02 17:48:11 +00:00
Jeffrey Trimble
523abd162b Final Version for 1.6.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4794 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-03-02 17:02:36 +00:00
Jeffrey Trimble
4f55fd4144 Final changes for 1.6.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4793 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-03-02 17:02:04 +00:00
Jeffrey Trimble
5a12376f9a Final changes for 1.6.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4792 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-03-02 16:59:56 +00:00
Jeffrey Trimble
3b25a2c81e Final changes for 1.6.0
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4791 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-03-02 16:59:43 +00:00
Jeffrey Trimble
cbb9d449cf git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4790 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-03-02 02:35:56 +00:00
Jeffrey Trimble
1207bc9137 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4789 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-03-02 02:31:38 +00:00
Jeffrey Trimble
2eebb4ecbf git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4788 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-03-02 02:31:27 +00:00
Jeffrey Trimble
f090e896bd git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4787 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-03-02 02:31:17 +00:00
Jeffrey Trimble
586bd23e49 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4786 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-03-02 02:31:07 +00:00
Jeffrey Trimble
3ba97fcae3 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4785 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-03-02 02:30:32 +00:00
Stuart Lewis
676b8e157b Update to KNOWN_BUGS - link to list of 1.6 bugs in JIRA
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4784 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-28 22:33:45 +00:00
Stuart Lewis
e40f5152df Update KNOWN_BUGS in preparation for 1.6 final release.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4783 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-28 22:03:05 +00:00
Mark Diggory
d15ce96aa7 Tuning Up build process for dspace-solr, uses separate directories now for applying patches. 2010-02-25 13:18:46 +00:00
Ben Bosman
997d4e171c [DS-483] statistics.item.authorization.admin ignored by xmlui
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4780 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-22 09:44:00 +00:00
Kim Shepherd
85c9891115 [DS-468] - Fix for 'foreign characters broken in group names (XMLUI)'
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4779 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-18 02:08:39 +00:00
Kim Shepherd
1f6a9d76d8 [DS-474] - Added handle.canonical.prefix defaults and usage examples to dspace.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4778 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-18 01:08:42 +00:00
Mark Wood
e1eaac67d0 check whether bundle list for item is empty before dereferencing [0]
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4777 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-17 21:58:08 +00:00
Stuart Lewis
dab184d3de Update example db.url (remove '-services')
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4773 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-14 01:33:27 +00:00
Mark Diggory
50468a1af7 Drop old code from trunk 2010-02-12 19:18:49 +00:00
Mark Diggory
718c28e0ba Upgrade SLF4J to 1.5.6 2010-02-12 19:18:13 +00:00
Tim Donohue
b816380369 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4769 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-10 15:40:18 +00:00
Tim Donohue
c43d8763db [maven-release-plugin] prepare release dspace-1.6.0-rc2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4767 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-10 15:39:42 +00:00
Mark Wood
7aa34fa495 Remove old Manakin mailing list, add missing dspace-general, tidy a few distracting comment issues
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4766 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-10 14:50:24 +00:00
Jeffrey Trimble
5d757d4b29 Final 1.6-RC2 release after additional material was added
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4765 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-10 03:01:51 +00:00
Jeffrey Trimble
17a2ad5b27 Final 1.6-RC2 release after additional material was added
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4764 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-10 03:01:39 +00:00
Jeffrey Trimble
f576f19225 Final 1.6-RC2 release after additional material was added
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4763 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-10 03:01:12 +00:00
Jeffrey Trimble
ee354937b2 Additional material
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4762 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-10 02:59:57 +00:00
Mark Diggory
ce47431200 [DS-440] Add Launcher entry and adjust command names to be uniform for stats tools. Consolidate DownloadSpiderIPs into StatisticsClient.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4754 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-09 07:36:43 +00:00
Kim Shepherd
0cc539d981 [DS-418] - i18n and session invalidation fix for JSPUI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4753 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-08 21:48:34 +00:00
Mark Diggory
3a784d0a63 [DS-440] Adjust SolrLogger and rest of Statistics system to support processing multiple statistics files. Adding CLI class.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4752 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-08 05:12:44 +00:00
Jeffrey Trimble
f53325d272 New Generated files for DSpace 1-6-RC2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4751 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-08 02:00:45 +00:00
Jeffrey Trimble
ea94064877 Final changes for 1.6-RC2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4750 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-08 02:00:06 +00:00
Jeffrey Trimble
2554297bc1 Final changes for 1.6-RC2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4749 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-08 01:59:39 +00:00
Jeffrey Trimble
4ab4d71bdc Final changes for 1.6-RC2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4748 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-08 01:59:30 +00:00
Jeffrey Trimble
2da2c0787b Final changes for 1.6-RC2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4747 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-08 01:59:22 +00:00
Jeffrey Trimble
6ef0c0c8cc Final changes for 1.6-RC2
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4746 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-08 01:59:11 +00:00
Mark Diggory
73edd7a585 [DS-440] Adjust SolrLogger and rest of Statistics system to support processing multiple statistics files. Prempt logging spider IPs and prune spider IPs from Solr with utility methods.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4745 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-07 17:44:17 +00:00
Mark Diggory
a5beae59c2 [DS-440] Adjust SpiderDownloader to download multiple files in a "config/spiders" directory relative ${dspace.dir}
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4744 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-07 16:42:56 +00:00
Mark Diggory
3035d3a7c8 Handle Exeptions to eliminate issues when testing / debugging in IDE's and allow application to run with a default fversion if pom cannot be determined.,
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4743 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-07 00:35:14 +00:00
Graham Triggs
edf94a15f1 [DS-477] Fix LDAP authentication error by ensuring findByEmail lowercases the email to match the database storage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4742 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-05 12:11:05 +00:00
Stuart Lewis
fd0364dae0 Correct typos in error messages
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4740 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-04 22:46:57 +00:00
Jeffrey Trimble
aa464807aa Added Authority Control documentation from LCS
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4737 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-03 00:26:56 +00:00
Stuart Lewis
821c6849cb [DS-44] Monthly statistics skip first and last of month - fix stat-general
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4735 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-02-01 23:11:43 +00:00
Stuart Lewis
c279ab1b47 [DS-359] Add alternate file appender for log4j - swap to using 'dd' (day of month) rather than 'DD' (day of year)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4734 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-31 14:13:10 +00:00
Stuart Lewis
03168dc04a Correcting typo in API method name
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4733 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-30 19:07:06 +00:00
Stuart Lewis
716ee78cc3 Update (C) year in JSPUI footer
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4732 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-30 06:27:44 +00:00
Ben Bosman
7e527eea7a [DS-247] Contribution of @MIRE Solr Based Statistics Engine to DSpace
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4731 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-29 16:31:00 +00:00
Stuart Lewis
888c34be1c [DS-472] 'fresh_install' broken on a completely clean system
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4730 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-28 23:16:27 +00:00
Jeffrey Trimble
5fe0c7999f Added email testing and enhance the Checking your installation section.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4729 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-27 17:13:32 +00:00
Jeffrey Trimble
98f1b01a24 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4728 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-01-27 16:54:43 +00:00
Jeffrey Trimble
b9ab7d891c git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4727 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-01-27 16:54:32 +00:00
Jeffrey Trimble
5951cd4f90 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4726 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-01-27 16:54:21 +00:00
Tim Donohue
58b12f87ce Enable OAI-ORE dissemination via OAI-PMH by default in DSpace 1.6 (the setting was missing from oaicat.properties). Also added in exta comments in the oaicat.properties files to better explain some of these settings. Related to DS-289
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4725 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-26 22:17:18 +00:00
Tim Donohue
8d03869e53 Small modifications to dspace.cfg. Adding in the commented out default settings that were missing in the OAI Harvesting section of dspace.cfg. Again, this relates to DS-289
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4724 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-26 19:08:10 +00:00
Tim Donohue
5d4d06b6d2 Applying Toni Prieto's Oracle patch for DS-289 : OAI-PMH + OAI-ORE harvesting support. I just did a basic installation on Oracle 10g, and Toni's patches seem to fix collection harvesting for Oracle. Also tested these changes with a basic PostgreSQL install to ensure they didn't affect PostgreSQL.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4723 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-26 18:14:06 +00:00
Tim Donohue
5ef85a9ff0 Adding very basic provenance statement to 'dc.description.provenance' for OAI Harvested Items. See DS-289 and following email thread on dspace-devel for more information:
http://sourceforge.net/mailarchive/forum.php?thread_name=69f93bf71001221536s423b0acdr5cf4cc77b367e833%40mail.gmail.com&forum_name=dspace-devel

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4722 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-26 16:13:16 +00:00
Tim Donohue
346aa44a03 Minor reorganization of keys in dspace.cfg. The Authority Control Settings were under the OAI Harvesting section -- I moved them to the JSPUI & XMLUI Configs section. Also added a new section header for the SOLR stats section of this config file.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4721 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-22 20:31:49 +00:00
Tim Donohue
88c0c45b95 Minor update to CHANGES file. DS-423 is now fixed for both Postgres and Oracle. You can create all 1.6 tables by running 'ant setup_database' and clear them out again by running 'ant clean_database'.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4720 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-22 18:44:49 +00:00
Tim Donohue
9ff36ebfb7 Fixes to Oracle Schema scripts based on DS-289: OAI-PMH + OAI-ORE harvesting support.
These seem to create the tables properly in Oracle 10g (based on my limited testing with a local Oracle install), and they also help fix DS-423 for Oracle.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4719 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-22 18:37:13 +00:00
Tim Donohue
299eb9202b Fix for Postgres for DS-423: Ant target 'clean_database' doesn't drop all tables. A fix for Oracle will also be coming.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4718 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-21 20:28:22 +00:00
Ben Bosman
2c8fffb4a0 [DS-365] support for OAI gateways that do not use sets in harvester
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4717 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-21 16:58:55 +00:00
Ben Bosman
c6e422ab73 [DS-365] support for OAI gateways that do not use sets in harvester
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4716 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-21 16:57:40 +00:00
Richard Rodgers
6c3ca9bb4f [DS-427] Fix typo in last commit
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4713 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-20 04:28:03 +00:00
Richard Rodgers
99ad916454 [DS-427] License bundle display conditional on config property
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4712 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-20 04:23:25 +00:00
Richard Rodgers
5e5e286cbd [DS-422] Fix missing etc error, add deprecation warning
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4711 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-19 23:05:11 +00:00
Jeffrey Trimble
511297ae08 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4710 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-01-19 20:05:08 +00:00
Jeffrey Trimble
c628d0ade4 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4709 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-01-19 20:04:53 +00:00
Jeffrey Trimble
cec1c784e2 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4708 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2010-01-19 20:03:33 +00:00
Stuart Lewis
6a097bfa4d [DS-321] DSpace command launcher - fix error with stats scripts
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4701 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-16 08:59:24 +00:00
Stuart Lewis
3b1512de25 [DS-460] Change logging from RollingFileAppender to DailyFileAppender
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4700 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-16 08:20:46 +00:00
Stuart Lewis
690e63635c [DS-364] Script to convert legacy dspace.log stats into solr stats records
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4699 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-16 07:09:43 +00:00
Mark Diggory
39e118ebc2 Remove DTD to correct problems generating original documentation.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4698 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-15 21:15:07 +00:00
Mark Wood
3a7f4260d9 Remove log4j.xml, document change, small related doc cleanups
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4697 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-15 20:01:37 +00:00
Tim Donohue
f21cd59a82 Fix for DS-399 : Special characters in collection license lead to parse error (XMLUI). See DS-399 comments for more information.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4695 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-15 17:06:30 +00:00
Stuart Lewis
3ea82ecca5 [DS-364] Script to convert legacy dspace.log stats into solr stats records
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4693 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-14 19:58:17 +00:00
Mark Diggory
1f9ec08f89 [DS-241] DSpace Assembly Improvement
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4691 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-14 05:40:16 +00:00
Graham Triggs
5008cdee23 Allow LDAPHierarchicalAuthentication to work with an empty search_context
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4690 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-13 12:16:24 +00:00
Mark Diggory
3439498f3a Exclude UI Shared from output war modules in assembly.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4680 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-11 20:47:38 +00:00
Ben Bosman
f7cb262ff8 [DS-247] Update of contribution of @MIRE Solr Based Statistics Engine to DSpace.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4667 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-11 10:42:28 +00:00
Larry Stone
cf0e2ebaa7 [DS-400] Fix DCDate date formatting for display in JSPUI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4662 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-08 03:27:08 +00:00
Stuart Lewis
c40c9668fc [DS-295] CC License being assigned incorrect Mime Type during submission.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4660 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-07 01:57:33 +00:00
Stuart Lewis
523973b2de [DS-447] Email test script
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4659 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-06 21:37:39 +00:00
Stuart Lewis
b2570f59e5 [DS-446] New ant step - test_database
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4658 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-06 21:30:42 +00:00
Stuart Lewis
de65b78ca6 [DS-445] New Bitstream.findAll() method
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4657 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-06 21:12:51 +00:00
Mark Diggory
16acce7421 Remove Commit in wrong location
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4656 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-05 23:45:54 +00:00
Mark Diggory
3ea5eb0e27 Test
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4655 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-04 23:56:53 +00:00
Mark Diggory
e62d9645ff Test
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4654 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-04 23:55:41 +00:00
Ben Bosman
691e42ab8c [DS-247] Update of contribution of @MIRE Solr Based Statistics Engine to DSpace.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4653 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-04 15:39:37 +00:00
Mark Diggory
1ddd4193f5 Improved Confluence Documentation Generation using maven-xml-plugin instead of antrun plugin, utilizing Saxon for XSLT 2.0 capability and updating docBook xml file to include proper dtd and missing entity declarations.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4652 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-04 04:07:59 +00:00
Stuart Lewis
c1ec454cbc [DS-321] DSpace command launcher - update build.xml
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4651 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-03 08:11:05 +00:00
Mark Diggory
11612077f8 Adding docBook2confluence transformation of DSpace Manual.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4650 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-01-02 03:15:25 +00:00
Stuart Lewis
b40609ea80 [DS-442] Enable RSS feeds by default
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4649 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-26 09:44:25 +00:00
Tim Donohue
0b26060a57 Fix for DS-398 - Submission license displayed on collection and item homepage (XMLUI)
This was partially fixed by DS-217.  However, I've also disabled display of the Submission License on Item pages (it was also displayed there by default).  Copyright information (for collections/communities) and CC Licenses (for items) are still displayed by default in XMLUI.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4648 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-23 16:24:52 +00:00
Kim Shepherd
2a6f7e6652 Fix for [DS-414] - File downloads displayed in collection and community statistics
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4647 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-23 07:46:30 +00:00
Kim Shepherd
3bd148d0d6 [DS-406], [DS-409], [DS-425], [DS-438] fixes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4646 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-23 06:42:08 +00:00
Larry Stone
173401df7c [DS-284] alternate odd and even styles correctly on table rows in Item Summary view
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4645 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-23 02:25:34 +00:00
Andrea Bollini
e1d2da5f1b [DS-217] Hardcoded String in the license bitstream
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4644 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-22 21:10:30 +00:00
Stuart Lewis
96da9e0c34 [DS-321] DSpace command launcher
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4643 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-20 09:14:47 +00:00
Stuart Lewis
7768e62880 [DS-295] CC License being assigned incorrect Mime Type during submission.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4642 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-20 08:54:06 +00:00
Stuart Lewis
f4623e09e8 [DS-321] DSpace command launcher
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4641 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-20 08:42:28 +00:00
Stuart Lewis
a0ebcb1244 [DS-295] CC License being assigned incorrect Mime Type during submission.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4640 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-20 08:32:57 +00:00
Stuart Lewis
cb278553aa [DS-424] Export metadata button displayed in JSPUI Administration List of withdrawn items
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4639 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-20 08:20:35 +00:00
Andrea Bollini
0878efa463 [DS-415] Create groups via admin UI authorization denied
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4638 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-18 09:03:30 +00:00
Andrea Bollini
1fec2f71c0 [DS-436] SWORD Authenticator doesn't support the special groups infrastructure
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4637 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-17 11:47:00 +00:00
Larry Stone
ad598e34ed DS-437 remove unused artifacts from schema. also delete blank lines within CREATE TABLE statement that cause failure in SQL*Plus.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4636 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-17 00:03:28 +00:00
Larry Stone
2522b32016 DS-412 generate UTF-8 encoded text, improve error reporting
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4635 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-16 23:59:17 +00:00
Larry Stone
4078f157a2 DS-419, fix array exception for unqualified metadata field specified
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4634 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-16 21:10:55 +00:00
Claudia Juergen
dad1166917 Removed superfluous statistics configuration parameters from dspace.cfg as documented by Ben Bosman in http://wiki.dspace.org/index.php/StatisticsDocumentation
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4633 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-10 14:54:25 +00:00
Jeffrey Trimble
a798cafeff Typos corrected.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4632 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-04 19:12:07 +00:00
Jeffrey Trimble
76e6d46900 Typos corrected.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4631 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-04 18:47:52 +00:00
Jeffrey Trimble
a716d0fd2d git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4630 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2009-12-04 18:28:52 +00:00
Jeffrey Trimble
646ce616ca git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4629 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2009-12-04 18:28:32 +00:00
Jeffrey Trimble
32b0037d32 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4628 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2009-12-04 18:28:10 +00:00
Tim Donohue
5d486d8f3a Fix for DS-395 - DSpace Objects (communities, collections, items, bitstreams) only accessible to logged in users.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4627 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-04 18:16:01 +00:00
Larry Stone
cdd985b2c8 Revised xpdf install instructions and tested procedure
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4626 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-04 02:46:58 +00:00
Tim Donohue
c81b37a332 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4625 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 23:24:10 +00:00
Tim Donohue
4fb22388d7 [maven-release-plugin] prepare release dspace-1.6.0-rc1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4623 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 23:23:46 +00:00
Tim Donohue
c20be82bba Increment the language pack dependencies to require 1.6.0.0 release or above.
WARNING:  YOU WILL NOT BE ABLE TO BUILD TRUNK until http://repo2.maven.org/maven2/ updates itself, or unless you manually install the 1.6.0.0 tagged version of 'dspace-api-lang' and 'dspace-xmlui-lang' in your ~/.m2/ directory.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4622 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 21:15:59 +00:00
Tim Donohue
5eddf8d88a Adding a Maven property to force DSpace to always build using UTF-8 source encoding. Previously building DSpace on Windows used a Windows platform specific encoding.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4612 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 17:23:02 +00:00
Jeffrey Trimble
f297b45dce Minor changes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4611 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 15:11:29 +00:00
Jeffrey Trimble
32a15f6ec5 Minor changes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4610 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 15:11:09 +00:00
Jeffrey Trimble
a2ef7ac879 Minor changes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4609 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 15:10:41 +00:00
Jeffrey Trimble
5961638f96 Small cleanup before 1.6RC1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4608 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 14:57:59 +00:00
Jeffrey Trimble
c313c586fc Small cleanup before 1.6RC1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4607 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 14:57:48 +00:00
Jeffrey Trimble
60e45455a5 Small cleanup before 1.6RC1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4606 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 14:57:38 +00:00
Jeffrey Trimble
00c8c340ee Small cleanup before 1.6RC1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4605 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 14:57:27 +00:00
Jeffrey Trimble
715c2170c4 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4604 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2009-12-03 14:56:54 +00:00
Kim Shepherd
f6126decc1 [DS-363] - JSPUI statistics views
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4603 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 08:17:54 +00:00
Larry Stone
2a7d3bd10d [DS-393] Fix DCDate and submission timezone bugs that changed date on page reload
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4602 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 06:23:30 +00:00
Jeffrey Trimble
17700ff654 New images for documentation 1.6-rc1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4601 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 05:02:43 +00:00
Jeffrey Trimble
1b940cfe4c Final generation for 1.6-rc1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4600 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 05:02:09 +00:00
Jeffrey Trimble
beb775c904 Final generation for 1.6-rc1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4599 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 05:01:49 +00:00
Jeffrey Trimble
e15e0c6659 Final generation for 1.6-rc1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4598 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 05:01:25 +00:00
Jeffrey Trimble
0cd6154f72 Final generation for 1.6-rc1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4597 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 05:01:09 +00:00
Jeffrey Trimble
6ad002c36d Final inclusion for 1.6-rc1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4596 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 04:59:44 +00:00
Jeffrey Trimble
19dc97214a Final inclusion for 1.6-rc1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4595 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 04:58:08 +00:00
Jeffrey Trimble
9d65c23e03 Final inclusion for 1.6-rc1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4594 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 04:57:52 +00:00
Jeffrey Trimble
887b59d37d Changed styles to html.xsl and print.xsl. Change PDF name for 1.6-RC1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4593 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 02:22:08 +00:00
Jeffrey Trimble
5c8812c60e Preliminary preparation work for upgrades to 1.6 RC1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4592 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-03 01:42:52 +00:00
Richard Rodgers
2a77b3ffdc [DS-379] Fix for inability to retrieve description.xml from servlet
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4591 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-02 22:35:28 +00:00
Larry Stone
8f1d52a756 [DS-377] Add META tags identifying DSpace source version
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4589 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-02 19:21:44 +00:00
Jeffrey Trimble
a48ec2db96 Changes to reflect 1.6 RC1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4588 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-02 18:07:15 +00:00
Jeffrey Trimble
edb3db0593 Changes to reflect 1.6 RC1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4587 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-02 18:07:06 +00:00
Jeffrey Trimble
9ac64eacdb Changes to reflect 1.6 RC1
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4586 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-12-02 18:06:56 +00:00
Mark Diggory
09c9c0335c release management 2009-11-30 22:27:46 +00:00
Mark Diggory
20a0486d17 release management 2009-11-30 22:27:05 +00:00
Tim Donohue
68fba45c54 Applying patch [DS-386] "Allow user to specify which <dmdSec> is used by the METS Ingester when importing METS from Packager script"
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4575 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-30 21:37:44 +00:00
Mark Diggory
acd7076bfe Solr 1.4.0 release build process: Add Test dir 2009-11-30 21:19:32 +00:00
Mark Diggory
e02e0e8136 Solr 1.4.0 release build process: Process SCM locations 2009-11-30 20:53:54 +00:00
Mark Diggory
49f79d3a43 Solr 1.4.0 release build process: Process SCM locations 2009-11-30 20:48:57 +00:00
Mark Diggory
7bb5c88898 Solr 1.4.0 release build process: Add SVN externals 2009-11-30 20:28:42 +00:00
Mark Diggory
3734ded0fe Solr 1.4.0 release build process. 2009-11-30 20:13:59 +00:00
Mark Diggory
01a28b3198 Make room for new solr 1.4.0 build process. 2009-11-30 19:45:57 +00:00
Ben Bosman
170e7c6854 [DS-392] Error messages in the submission do not disappear if e.g. one of the two errors are solved
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4568 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-30 16:37:13 +00:00
Ben Bosman
a71786249c [DS-381] community and collection homepage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4567 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-30 16:31:29 +00:00
Stuart Lewis
9fb947f373 [DS-295] CC License being assigned incorrect Mime Type during submission.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4566 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-26 03:20:34 +00:00
Stuart Lewis
a411a99ae5 [DS-389] Misleading label: "Submit to This Collection"
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4565 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-26 03:09:09 +00:00
Mark Diggory
ea88f7e272 [DS-247] Access control on Statistics pages.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4564 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-25 19:24:00 +00:00
Stuart Lewis
4efbd22a5a [DS-388] Item importer - new option to enable workflow notification emails
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4563 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-21 03:01:30 +00:00
Mark Diggory
33b9fa0e43 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4562 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2009-11-21 00:58:25 +00:00
Tim Donohue
73739e2e67 Fix for [DS-385] Packager script is unable to import the same METS + DIM package that was exported
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4561 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-19 18:11:40 +00:00
Tim Donohue
358bfb3eca Adding 'dc.creator' to Author Browse index by default, as detailed in:
[DS-382] Proposal: Add 'dc.creator' to Author browse index by default


git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4560 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-19 17:05:16 +00:00
Mark Diggory
a8b2f1dc26 Begin porting to Solr 1.4.0. 2009-11-19 09:32:45 +00:00
Mark Diggory
c54ea6f3a6 Begin porting to Solr 1.4.0. 2009-11-19 09:30:56 +00:00
Mark Diggory
9ea4f1445d [DS-336] DSpace Services 2.0 Support / Reduce Logging events on Services API and Implementation
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4557 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-19 06:02:21 +00:00
Mark Diggory
e9f10eee28 [DS-336] DSpace Services 2.0 Support / Upgrade DSpace Services to full release.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4556 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-19 03:35:42 +00:00
Mark Diggory
5c6bce8d22 Correct LocalHost restriction filter behavior.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4555 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-19 03:24:49 +00:00
Mark Diggory
7bb8c1a050 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4554 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-19 01:19:20 +00:00
Mark Diggory
539f21970c [maven-release-plugin] prepare release dspace-services-2.0.0
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4552 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-19 01:19:13 +00:00
Mark Diggory
4f89b66f26 License Cleanup
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4551 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-19 01:11:37 +00:00
Mark Diggory
60c443934a Upgrade parent pom to provide release plugin.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4550 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-19 01:00:36 +00:00
Mark Diggory
5a6b223dd8 [DS-340] DSpace services log to the command line
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4545 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-19 00:38:34 +00:00
Mark Diggory
bfbfc86aee [DS-335] Minho Statistics Database Manager additions.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4544 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-18 23:34:23 +00:00
Stuart Lewis
aff90cd4f3 [DS-321] DSpace command launcher - fix parameter count problem in dspace.bat, and echo 'caused by' exception instead of root exception. Also print out full stack trace.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4543 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-18 22:57:51 +00:00
Stuart Lewis
5179b030fe [DS-321] DSpace command launcher - fix parameter count problem in dspace.bat, and echo 'caused by' exception instead of root exception. Also print out full stack trace.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4542 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-18 22:54:57 +00:00
Larry Stone
6cfaa2a46c [DS-373] Fix "Letter" link URLs in 2nd-stage Browse
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4541 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-18 22:37:43 +00:00
Claudia Juergen
570242be67 updated Russian translation comitted to dspace-api-lang DS-375
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4540 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-18 11:42:35 +00:00
Mark Diggory
8228d5ccff [maven-release-plugin] prepare for next development iteration 2009-11-18 01:09:15 +00:00
Mark Diggory
bda403706e [maven-release-plugin] prepare release dspace-solr-1.3.0.2 2009-11-18 01:09:07 +00:00
Mark Diggory
0adb89cc1f Use latest release plugin. 2009-11-18 01:07:57 +00:00
Mark Diggory
2dac260bd8 [maven-release-plugin] rollback the release of dspace-solr-1.3.0.2 2009-11-18 01:05:12 +00:00
Mark Diggory
6814266e65 [maven-release-plugin] prepare release dspace-solr-1.3.0.2 2009-11-18 01:01:39 +00:00
Mark Diggory
956304c1bb Change numbering scheme, focus on solr version primarily 2009-11-18 01:01:05 +00:00
Mark Diggory
6d4f4834be [maven-release-plugin] rollback the release of dspace-solr-1.3.0.1 2009-11-18 00:59:08 +00:00
Mark Diggory
83ab6f5f7f [maven-release-plugin] prepare release dspace-solr-1.3.0.1 2009-11-18 00:56:05 +00:00
Mark Diggory
7659edd3b7 [maven-release-plugin] rollback the release of dspace-solr-1.3.0.1 2009-11-18 00:54:27 +00:00
Mark Diggory
4aaf026783 [maven-release-plugin] prepare release dspace-solr-1.3.0.1 2009-11-18 00:53:42 +00:00
Mark Diggory
f238037bd1 Format License Text 2009-11-18 00:53:04 +00:00
Mark Diggory
0da56ecbbd Add return statement to stop further processinf of filter. 2009-11-18 00:46:31 +00:00
Mark Diggory
cfda8ac3a6 [DS-247] Additional Country and City Statistics. Externalize Strings.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4525 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-16 20:45:29 +00:00
Jeffrey Trimble
1d21beb31e Updated all sections to be consistent in format and style.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4524 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-14 20:24:08 +00:00
Jeffrey Trimble
845b88d575 Cleaned up typos
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4523 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-14 20:23:45 +00:00
Jeffrey Trimble
5c9853e05b Updated sections
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4522 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-14 20:23:29 +00:00
Jeffrey Trimble
5ea984354d Cleaned up typos and added new descriptions to new features.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4521 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-14 20:23:11 +00:00
Tim Donohue
a1c3d1b924 Fix for DS-378 : XMLUI Submission Interface messes up in IE7 after an empty <hint> in input_forms.xml
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4520 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-12 22:01:06 +00:00
Stuart Lewis
55cc25ba79 [DS-372] New verbose option for [dspace]/bin/dspace cleanup script
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4519 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-12 00:53:09 +00:00
Claudia Juergen
e520ce24d1 - [DS-372] New verbose option for [dspace]/bin/dspace cleanup script
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4518 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-11 12:57:07 +00:00
Larry Stone
56bee34544 [DS-294] Add preferred language setting to Edit Profile page in XMLUI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4517 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-10 22:57:37 +00:00
Andrea Bollini
d8fbcce62a DS-236 bug fix - wrong pagination links when browsing authored items
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4516 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-07 19:11:00 +00:00
Andrea Bollini
85e2b694a4 DS-236 bug fix - JSPUI need to set the contentType header
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4515 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-07 19:10:19 +00:00
Andrea Bollini
c2c56611a4 DS-236 bug fix - compatibility issues for lookup js in IE
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4514 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-07 17:41:20 +00:00
Andrea Bollini
b1f19c9405 DS-236 bug fix - authority keys are not stored in "normal" browse indexes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4513 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-07 17:39:53 +00:00
Andrea Bollini
7967f833fc DS-236 removed unused i18n keys
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4512 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-07 17:38:13 +00:00
Larry Stone
df26b2d178 DS-361, DS-369 refactor syndication feed generation, support all RSS and Atom formats in both feed and OpenSearch, also follow harvest.includerestricted.rss in both UIs.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4511 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-06 04:26:26 +00:00
Jeffrey Trimble
82c8a310a3 Assembled Checksum Checker documentation from wiki and 1.5.2 manual to new chapter.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4510 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-06 03:38:56 +00:00
Jeffrey Trimble
63d5c7a892 Revisions and additions of batch editing
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4509 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-06 00:14:52 +00:00
Jeffrey Trimble
bca06f96cf Correction of typos
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4508 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-06 00:13:18 +00:00
Jeffrey Trimble
b0ee58bee5 Inserted BulkEdit feature configuration.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4507 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-05 13:56:12 +00:00
Jeffrey Trimble
805d44e055 Corrected 4427 changes that were omitted and reformatted some text.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4506 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-05 13:54:16 +00:00
Claudia Juergen
8a4f51d6a3 Fix for [DS-370] E Mail Sent On Item Export Error Message and typo in email template
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4505 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-05 13:26:45 +00:00
Larry Stone
c93655d5a2 [DS-349] Admins can choose Internal BitstreamFormats in XMLUI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4504 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-05 03:24:44 +00:00
Larry Stone
39eb37bbae [DS-347] Add --quiet option to filter-media (MediaFilterManager) to disable progress messages
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4503 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-05 02:31:03 +00:00
Stuart Lewis
57b03571b9 [DS-354] Make-handle-server configuration fails. Using manual commands instead of script is successful: sub-task: Add to launcher.xml
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4502 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-05 00:07:16 +00:00
Mark Diggory
9f8eb52288 [DS-247] Contribution of @MIRE Solr Based Statistics Engine to DSpace. Move statistics to separate page. Externalize Strings.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4501 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-04 19:02:06 +00:00
Stuart Lewis
37441bd7ec [DS-320] java.util.NoSuchElementException: Timeout waiting for idle object
[DS-353] Missing commits in XMLUI server-side javascript code.

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4500 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-11-03 02:15:38 +00:00
Jeffrey Trimble
0eefcec595 Introduced a "For the Impatient" section (unsupported).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4499 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-31 16:00:07 +00:00
Jeffrey Trimble
8341b71c14 System administration (Section X.9x onward) has been placed into a new chapter "sys_admin.xml")
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4498 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-31 15:59:29 +00:00
Larry Stone
a2ae6fea2d fix browse of index type "authority", supply a default OrderFormat the same as for "text", so start-at will work for authority-controlled browse index.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4497 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-30 21:51:19 +00:00
Larry Stone
64ce96df31 fix to lookup of repeatable authority values; clear source input field(s) so trial value is not inadvertently added e.g. by Next button.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4496 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-30 20:30:02 +00:00
Jeffrey Trimble
234139e9ff Updates from DS-306, 308, 331
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4495 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-30 20:16:41 +00:00
Jeffrey Trimble
cd63f5893b New chapter. Separating out from Application Layer
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4494 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-30 20:15:45 +00:00
Jeffrey Trimble
b2eec9cbd1 Updated 2.8
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4493 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-30 19:51:09 +00:00
Graham Triggs
207a9c8d23 Add alternate file appender for log4j
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4492 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-30 13:05:27 +00:00
Kim Shepherd
378e358f0c [DS-331] Config property mismatch between DSpaceLocaleAction and dspace.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4491 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-29 23:13:36 +00:00
Stuart Lewis
97687b0989 Update to master pom - adding new developer, and updating existing developer information
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4490 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-29 01:59:31 +00:00
Stuart Lewis
0cbd6ea68f [DS-161] Bulk metadata editing - add new CSV test case (unbalanced quotes)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4489 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-29 01:16:25 +00:00
Kim Shepherd
953ffdb74a [DS-246] Fix configurable browse parameter encoding (XMLUI)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4488 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-29 00:43:43 +00:00
Jeffrey Trimble
a5bfb45ab2 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4487 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2009-10-28 00:41:40 +00:00
Jeffrey Trimble
f82ef5082d Updated with Delegated Admin configuration
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4486 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-28 00:40:38 +00:00
Larry Stone
fe620f5077 Add "order" parameter to OpenSearch request to control sort order; also fix bug in jspui version that breaks looking for the wrong i18nk keys for metadata names.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4485 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-27 02:00:15 +00:00
Jeffrey Trimble
9392fd3eb9 New image for docbook admonitions
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4472 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-25 23:32:45 +00:00
Jeffrey Trimble
1cf33e4d96 New image for docbook admonitions
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4471 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-25 23:32:36 +00:00
Jeffrey Trimble
87c09cf5ac New image for docbook admonitions
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4470 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-25 23:32:10 +00:00
Jeffrey Trimble
4989a9b2eb Cleaned up some docbook coding.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4469 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-25 23:31:18 +00:00
Jeffrey Trimble
84b6c70b50 Revised sections for clarity and changed Handle Server instructions. Prepared for 1.6 installation.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4468 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-25 23:27:07 +00:00
Jeffrey Trimble
d741bb538a Revised sections for clarity and changed Handle Server instructions. Prepared for 1.6 installation.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4467 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-25 23:20:28 +00:00
Jeffrey Trimble
7a1d90c3b0 Revised sections for clarity and changed Handle Server instructions. Prepared for 1.6 installation.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4466 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-25 23:19:11 +00:00
Larry Stone
592e70bd60 Fix bug introduced by DS-285 changes when accessing Bitstream without Item, i.e. /bitstream/id/NNN
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4465 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-24 02:46:21 +00:00
Richard Rodgers
ffd7c48153 [DS-323] Add check for null filter list in commandline processing
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4464 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-23 21:13:09 +00:00
Richard Rodgers
2f6e46a541 Fix mistaken escaped '>' which caused handle md field to not be stripped
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4463 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-23 20:17:49 +00:00
Graham Triggs
408d8ab750 [DS-356] Antispam for suggest item feature
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4462 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-22 22:53:26 +00:00
Stuart Lewis
7c163d3e24 [DS-251] Bulk Metadata Editing: XMLUI aspect and forms
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4461 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-20 02:42:11 +00:00
Jeffrey Trimble
9de11497a9 Added more customization specifically for PDF printing.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4460 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-18 01:14:29 +00:00
Jeffrey Trimble
f11d036f21 Added customizations for deeper layers
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4459 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-18 01:13:23 +00:00
Jeffrey Trimble
6d7cf24b00 Gutted and rewritten. JSPUI and Manakin separated out.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4458 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-18 01:12:08 +00:00
Jeffrey Trimble
c16956b4d5 New Chapter. Extracted from old Configuration and Customization Chapter.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4457 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-18 01:11:26 +00:00
Jeffrey Trimble
5cda653e46 New Chapter. Extracted from old Configuration and Customization Chapter.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4456 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-18 01:11:01 +00:00
Larry Stone
514c1efcdc Add explanatory text to AuthorizeException generated by feedback page permission failure (trivial change)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4455 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-16 20:56:44 +00:00
Larry Stone
cb102d4e62 use symbolic names of authority confidence values in configuration; make default minconfidence configurable; fix logic in building authority-controlled browse index.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4454 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-16 20:08:28 +00:00
Graham Triggs
61ebe0492a Add to CHANGES file - Fix problem where an apostrophe in the email address would stop the javascrpt function from selecting the eperson.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4453 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-15 12:35:37 +00:00
Graham Triggs
ea915e8ba2 Fix problem where an apostrophe in the email address would stop the javascrpt function from selecting the eperson.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4452 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-15 12:31:36 +00:00
Claudia Juergen
7802b4e0a9 just some grammatical error
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4450 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-15 10:29:58 +00:00
Stuart Lewis
4cef1d1dcc [DS-289] OAI-PMH + OAI-ORE harvesting support - add launcher config
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4449 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-13 03:06:10 +00:00
Mark Diggory
d90247447a svn:ignore
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4446 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-11 00:48:23 +00:00
Mark Diggory
eb3e726e00 [DS-247] Initial Check-in of StatisticsTransformer to view Community, Collection and Item page views.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4445 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-11 00:32:54 +00:00
Mark Diggory
a7944e89b8 svn:ignore
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4444 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-11 00:30:33 +00:00
Mark Diggory
e1c4f80511 svn:ignore
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4443 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-10 19:36:08 +00:00
Mark Diggory
47fac0d807 We need to use latest version of the maven-war-plugin to assure filtering and other capabilities are up to date.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4442 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-10 19:24:52 +00:00
Mark Diggory
f07d7f5a5a [DS-247] Wire stats into build process, webapp dependencies and Spring activations.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4441 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-10 19:06:08 +00:00
Mark Diggory
ca14de5eeb [DS-247] Cleanout further unnecessary code and import references.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4440 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-10 19:03:27 +00:00
Mark Diggory
5571f153ca [DS-247] Wire stats into build process, webapp dependencies and Spring activations.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4439 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-10 18:55:03 +00:00
Mark Diggory
b80b41c29b [DS-247] Moving dspace-stats to dspace 1.6.0 trunk to resolve cycles created when attempting to release
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4437 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-10 18:44:52 +00:00
Mark Diggory
e0b6a4c48d svn:ignore
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4431 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-10 17:24:18 +00:00
Mark Diggory
b1d9b5306a [DS-247] Adjust location of UsageEvents to not be part of old statistics package.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4430 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-10 17:21:30 +00:00
Mark Diggory
485cc48e2a [DS-247] Remove unused code.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4429 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-10 17:12:48 +00:00
Mark Diggory
d4ae6d94af [DS-247] Remove unused code.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4428 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-10 10:04:17 +00:00
Larry Stone
c49f1c8385 [DS-297] Move PostgreSQL-specific SQL into etc/postgres for greater clarity
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4427 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-09 22:42:19 +00:00
Mark Diggory
dd499261d4 svn:ignore
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4426 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-09 22:23:31 +00:00
Mark Diggory
11c8d9d39e Add shared-ui to addons profile for release. Adjust stale metadata for project.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4425 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-09 22:20:58 +00:00
Mark Diggory
0ce6172190 svn:ignore
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4424 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-09 22:11:03 +00:00
Mark Diggory
dc5a493ef7 Unnecessary
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4423 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-09 22:10:14 +00:00
Mark Diggory
9e557c16db Cleanup stray pom issues for release process, no web.xml required. Especially if it is empty.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4422 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-09 22:09:32 +00:00
Mark Diggory
ae443da02d Cleanup stray pom issues for release process (and minor spellings).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4421 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-09 22:02:28 +00:00
Larry Stone
e83033d198 [DS-338] Disable cache advice (Expires header) on Bitstream download that requires authorization (XMLUI)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4420 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-08 23:23:49 +00:00
Larry Stone
18ba104e00 [DS-236] fix typo in database update script.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4419 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-08 23:18:49 +00:00
Larry Stone
85ff1c403b [DS-285] Respond to If-Modified-Since request header in XMLUI, also provide Last-Modified response header for Bitstreams.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4417 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-07 23:09:53 +00:00
Stuart Lewis
fef8b7ae3d Adjust attributions
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4416 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-07 19:51:51 +00:00
Claudia Juergen
1c2a78fe58 fixed [DS-337] A bug related with adding new -EPersons
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4400 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-07 08:29:12 +00:00
Mark Diggory
c9291c834b [DS-247] LoggingUsageEventListener still used for BitstreamReader to reduce complexity in sitemap.xmap
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4394 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-07 03:23:46 +00:00
Mark Diggory
ea13e757e0 [DS-247] LoggingUsageEventListener and the UsageEventAction do all XMLUI logging now.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4393 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-07 03:16:28 +00:00
Mark Diggory
d4158e4909 further correct logging text.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4392 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-07 03:14:13 +00:00
Stuart Lewis
5a58000d3a Correct attributions to Mark
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4387 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-07 00:21:45 +00:00
Larry Stone
769f3f4eb9 [DS-288] Configurable option to hide metadata fields in public UIs and OAI-PMH
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4386 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-06 20:00:23 +00:00
Mark Diggory
36cff3417c [DS-247] License Cleanup in solrstatistics. 2009-10-06 19:49:24 +00:00
Mark Diggory
77f3494409 [DS-247] License Cleanup in solrstatistics. 2009-10-06 19:49:10 +00:00
Mark Diggory
0cd02aeaa6 [DS-247] License Cleanup in solrstatistics. 2009-10-06 19:48:36 +00:00
Mark Diggory
2dcf6e019a Complete Licensing Cleanup using Maven license plugin to filter licenses. Let maven pom point to canonical license file.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4379 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-06 19:31:26 +00:00
Mark Diggory
7856f178b2 Complete Licensing Cleanup using Maven license plugin to filter licenses. Let maven pom point to canonical license file.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4378 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-06 19:30:12 +00:00
Brad McLean
6369817dd7 Adjust licensing notices to reflect transfer from DSpace Foundation to
DuraSpace.



git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4368 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-06 13:45:01 +00:00
Larry Stone
bbe8a2a3d1 [DS-236] Authority control for metadata fields and Choice Authority plugin framework
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4365 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-05 23:52:42 +00:00
Mark Diggory
fa86734005 [DS-247] Add GeoCityLite installation (need to do this at install time because of licensing issues with redistribution of GeoCityLite database.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4364 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-05 23:01:31 +00:00
Mark Diggory
9edc76bd80 [DS-247] Add Solr statistics configuration and solr webapp overlay to trunk.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4363 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-05 22:59:14 +00:00
Mark Diggory
c33069e38c [DS-247] Add Solr statistics configuration and solr webapp overlay to trunk.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4362 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-05 22:57:56 +00:00
Mark Diggory
cc94816bc7 [DS-247] Add to modules as 2.0.0-alpha is now deployed in central repository
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4361 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-05 22:51:24 +00:00
Stuart Lewis
51010c269b [DS-247] Addition of DSpace Services to DSpace 1.6 - startup service manager in DSpace script launcher
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4360 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-05 22:14:51 +00:00
Mark Diggory
2d20e3b75b [DS-247] Add Solr statistics configuration and solr webapp overlay to trunk.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4359 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-05 21:48:04 +00:00
Mark Diggory
be93878df3 [maven-release-plugin] prepare for next development iteration 2009-10-05 21:41:11 +00:00
Mark Diggory
dd858eac35 [maven-release-plugin] prepare release dspace-solr-2.0.0-alpha 2009-10-05 21:41:05 +00:00
Mark Diggory
bcf0df5177 [DS-247] Cleanup Solr base webapp, simplify deployment. 2009-10-05 21:35:18 +00:00
Larry Stone
f0b2d6b817 [DS-128] fix repositioning on submission pages after add button is clicked, xmlui
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4354 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-05 19:28:27 +00:00
Stuart Lewis
d0dcd5a13f [DS-161] Bulk metadata editing - fix bug where item:owning_collection is not getting updated properly when moving items
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4353 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-04 23:49:22 +00:00
Mark Diggory
90ac19ee80 [DS-336] Use first official alpha release of dspace-services.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4352 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-04 19:31:03 +00:00
Mark Diggory
82e47b9040 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4350 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-04 04:35:57 +00:00
Mark Diggory
997ce9b959 [maven-release-plugin] prepare release dspace-services-2.0.0-alpha
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4348 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-04 04:35:39 +00:00
Mark Diggory
efc1b2df26 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4347 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-04 01:24:27 +00:00
Mark Diggory
a34a16f03c [maven-release-plugin] prepare release dspace-services-2.0.0
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4345 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-04 01:24:14 +00:00
Mark Diggory
f1d4897896 [maven-release-plugin] rollback the release of dspace-services-2.0.0
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4344 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-04 01:21:27 +00:00
Mark Diggory
8ac35d697f [maven-release-plugin] prepare release dspace-services-2.0.0
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4343 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-04 00:37:31 +00:00
Mark Diggory
6b974688fd revert failed release process: broken svn urls.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4342 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-04 00:33:15 +00:00
Mark Diggory
ed1bde203a [maven-release-plugin] rollback the release of dspace-services-2.0.0
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4341 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-04 00:27:04 +00:00
Mark Diggory
9998d9aae3 [maven-release-plugin] prepare release dspace-services-2.0.0
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4340 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-04 00:24:37 +00:00
Mark Diggory
56ece2ec5e revert failed release process
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4339 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-04 00:12:16 +00:00
Mark Diggory
ef0121d974 [maven-release-plugin] prepare release dspace-services-2.0.0
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4338 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-03 23:51:15 +00:00
Mark Diggory
4d09330a83 Use new and separate common parent pom.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4337 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-03 23:49:36 +00:00
Mark Diggory
adafd31d01 DSpace Services code Cleanup.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4325 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-03 22:51:07 +00:00
Mark Diggory
60b2c1d98a [DS-336] DSpace Service Support to be added to DSpace 1.6.0 XMLUI and JSPUI.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4324 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-03 09:28:18 +00:00
Mark Diggory
20dc303f66 [DS-336] DSpace Service Support to be added to DSpace 1.6.0 XMLUI and JSPUI.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4323 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-03 09:26:27 +00:00
Mark Diggory
390975fa6e [DS-336] DSpace Service Support to be added to DSpace 1.6.0 XMLUI and JSPUI.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4322 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-03 09:25:30 +00:00
Mark Diggory
49bdc7b14d MappingService is not present in this version.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4321 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-03 07:47:50 +00:00
Mark Diggory
4d2b890234 Add Listener and Interceptor examples.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4320 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-03 05:06:00 +00:00
Mark Diggory
1af5db5821 [DS-335] DatabaseManager additions from Minho statistics addon.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4316 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-03 02:30:56 +00:00
Mark Diggory
8e9d93bb76 Reduce unneeded dependencies and repositories.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4315 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-02 23:20:00 +00:00
Stuart Lewis
a7ff304f18 [DS-333] Adjust SWORD ingest crosswalk to store bibliographic citation
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4314 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-01 22:52:51 +00:00
Stuart Lewis
3c6f7bc9d7 [DS-330] Create new session on login / invalidate sessions on logout
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4313 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-01 20:11:23 +00:00
Stuart Lewis
fe88e442b8 Update JSPUI footer text from 'The DSpace Foundation' to 'Duraspace'
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4312 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-10-01 00:37:42 +00:00
Stuart Lewis
2cc0f7ad4d [DS-321] DSpace command launcher
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4311 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-30 22:02:09 +00:00
Andrea Bollini
d98a94fbcc [DS-270] added missing javadoc
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4310 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-30 19:56:38 +00:00
Andrea Bollini
98c8f11320 [DS-270] Make delegate admin permissions configurable
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4309 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-30 19:20:07 +00:00
Andrea Bollini
316408bb47 [DS-309] Shiboleth default roles are applied also to anonymous user and user logged-in with other methods
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4308 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-30 19:01:21 +00:00
Mark Diggory
104bf44e42 Reserve announcement of unimplemented scopes for event broadcast to just debugging.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4306 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-30 07:26:53 +00:00
Mark Diggory
92110a17cf Merge changes from DSpace 2.0 core work provided by AZ to reduce conflicting applicationContext.xml files.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4305 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-30 07:06:04 +00:00
Stuart Lewis
40559cdfd1 [DS-324] Add OpenSearch support (fix incorrectly closed generator tag)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4304 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 23:40:52 +00:00
Larry Stone
0a9b03fd7a [DS-317] fix DCDate usage to work with corrected DCDate behavior in embargo patch - submission describe page used local time instead of GMT
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4303 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 23:21:17 +00:00
Larry Stone
7546acdcc9 [DS-255] Protect submission from being lost if exception occurs in CompleteStep
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4302 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 23:00:05 +00:00
Larry Stone
6a69dd936b [DS-254] Fix response for authorization failure on Bitstream when user is logged-in, also item export
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4301 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 21:24:49 +00:00
Stuart Lewis
b2226a8a54 [DS-328] SWORD service documents do not include atom:generator element
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4300 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 21:16:26 +00:00
Richard Rodgers
501eb99b07 [DS-324] Fix package location
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4299 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 20:03:43 +00:00
Richard Rodgers
13744e07ab [DS-324] Add new dependencies and repo for OpenSearch
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4298 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 19:52:32 +00:00
Richard Rodgers
24355bba36 [DS-324] Add OpenSearch support
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4297 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 19:31:08 +00:00
Richard Rodgers
a04e7880ed [DS-324] Add OpenSearch support
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4296 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 19:21:37 +00:00
Richard Rodgers
463cbfbf9f [DS-324] Add OpenSearch support
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4295 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 19:16:31 +00:00
Richard Rodgers
33e8346ce3 [DS-324] Add OpenSearch servlet
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4294 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 19:15:14 +00:00
Richard Rodgers
36cb5c5010 Add new OpenSearch dependencies
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4293 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 19:10:14 +00:00
Richard Rodgers
535b5451ec [DS-324] Add OpenSearch support
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4292 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 19:09:34 +00:00
Richard Rodgers
a12cd001a2 [DS-324] OpenSearch configuration properties
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4291 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 18:45:01 +00:00
Larry Stone
179f3b6587 [DS-232] parse personal names correctly if there is no space after the comma, in DCPersonName
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4290 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 02:57:36 +00:00
Stuart Lewis
c56d85c7e1 [DS-327] SWORD temp upload directory missing trailling slash
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4289 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-29 02:42:55 +00:00
Stuart Lewis
afd54d17d5 [DS-234] Remove SSL setting (not required)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4287 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-24 23:37:16 +00:00
Richard Rodgers
a53e0f841d [DS-323] Add ItemUpdate - new feature (command-line application)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4282 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-23 23:43:42 +00:00
Richard Rodgers
00461dbdc1 [DS-317] Add configuration properties for Embargo function
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4279 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-22 21:38:25 +00:00
Richard Rodgers
a8267c587b [DS-317] Add support for Embargo function
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4278 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-22 21:31:14 +00:00
Richard Rodgers
ebbe09345a [DS-317] Add Support for Embargo function
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4277 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-22 21:27:54 +00:00
Stuart Lewis
d5a6ed482c [DS-319] - Replace '/dspace/bin/dsrun org.dspace.browse.ItemCounter' with /dspace/bin/itemcounter
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4275 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-22 02:34:47 +00:00
Stuart Lewis
816eec1261 [DS-318] JSPUI: Left over text in edit item about format
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4274 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-21 22:25:03 +00:00
Richard Rodgers
45dfd6740e test check-in embargo
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4273 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-21 20:03:50 +00:00
Stuart Lewis
3bbcaa6c46 [DS-315] Enhance readability of embedded metadata in html head
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4272 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-19 20:08:54 +00:00
Stuart Lewis
0e7299353c [DS-316] Make SWORD app:accepts configurable
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4271 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-19 20:04:33 +00:00
Ben Bosman
921958150d [DS-310] UTF-8 encoding in community and collection text
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4265 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-16 09:16:58 +00:00
Stuart Lewis
ac87493d64 [DS-279] XMLUI Item Mapper will map the same item more than one time
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4264 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-15 03:29:34 +00:00
Stuart Lewis
21ceb87476 [DS-303] Export migrate option incorrectly removes non-handle identifier.uris
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4263 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-15 02:51:47 +00:00
Mark Wood
2a2c4168d1 [DS-274] Larry Stone: Typo in XSL breaks rendering of dri:xref with class
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4262 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-14 19:34:03 +00:00
Ben Bosman
6b189db402 [DS-306] Option to disable mailserver
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4261 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-14 10:48:03 +00:00
Ben Bosman
ff81b39aaa [DS-307] Offer access in AbstractSearch to QueryResults for subclasses
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4260 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-14 10:29:24 +00:00
Ben Bosman
9a68321217 [DS-306] Option to disable mailserver
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4259 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-14 10:18:05 +00:00
Andrea Bollini
37e52ca6ff [DS-260] Template item some times has owningCollection filled and some times not
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4258 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-12 13:17:06 +00:00
Andrea Bollini
46a635c942 Add schema changes required by DS-289 to the postgres SQL update script
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4257 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-12 13:10:15 +00:00
Mark Diggory
748ad79bc0 DS-247 DS-243 Improved Solr Installation process. Retain dspace.dir parameterization. 2009-09-12 00:04:59 +00:00
Mark Diggory
b15cb71253 DS-247 DS-243 Improved Solr Installation process. 2009-09-12 00:02:15 +00:00
Stuart Lewis
b0714df50e [DS-280] build.xml fails for ant versions below 1.7
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4252 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-09 23:07:35 +00:00
Stuart Lewis
0de6fc39cf [DS-275] License files not listed on Item Summary page
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4251 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-09 23:01:10 +00:00
Graham Triggs
e1fe542237 [DS-265] Fix rare condition where if you had a 4 character value that contains a '-', it would use the length of the string to determine the padding, which would result in an attempt to use a 0 width specification.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4250 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-09 21:23:36 +00:00
Stuart Lewis
4e0ac8e702 [DS-25] SWORD Service Document fails if Collection is untitled
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4249 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-09 09:11:42 +00:00
Stuart Lewis
7f983557bc [DS-52] Factor out common webapp installation - ID: 2042160
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4246 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-04 19:15:53 +00:00
Mark Wood
0464bf3737 [DS-52] Factor common webapp installation tasks out of fresh_install, update targets in ant build.xml
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4245 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-04 13:47:12 +00:00
Stuart Lewis
386c143163 [DS-299] Allow long values to be specified for the max upload request (> 2GB uploads)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4244 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-02 21:10:49 +00:00
Graham Triggs
96bf084057 Allow long values to be specified for the max upload request (for uploading files greater than 2Gb)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4243 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-02 09:12:23 +00:00
Stuart Lewis
0c9663956e [DS-191] metadataschemaregistry_seq is not initialized correctly under Oracle
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4242 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-01 19:22:57 +00:00
Stuart Lewis
49732f2f4c [DS-234] Configurable passing of Javamail parameter settings
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4241 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-09-01 00:31:12 +00:00
Stuart Lewis
1da5764565 [DS-44] Monthly statistics skip first and last of month - SF ID: 2541435
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4240 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-08-31 22:10:12 +00:00
Stuart Lewis
c26daee063 [DS-291] README update for top level of dspace 1.6.0 package directory
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4236 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-08-26 21:17:17 +00:00
Stuart Lewis
551fcd54e7 Adjust path to documentation to reflect new layout
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4235 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-08-26 21:02:39 +00:00
Stuart Lewis
2d48ccca32 [DS-256] Item Export ignores metadata language qualifier
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4234 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-08-25 08:14:45 +00:00
Stuart Lewis
3b03befc60 [DS-161] Bulk metadata editing - report on number of changes made
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4233 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-08-25 04:25:20 +00:00
Stuart Lewis
4f5038673f [DS-161] Bulk metadata editing - remove some metadata from default exports (e.g. provenance information)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4232 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-08-25 03:28:22 +00:00
Stuart Lewis
ecb2a5988b [DS-161] Bulk metadata editing - remove some metadata from default exports (e.g. provenance information)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4231 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-08-25 03:17:33 +00:00
Stuart Lewis
698576c072 [DS-290] [dspace]/exports is not created during fresh install
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4230 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-08-25 01:25:16 +00:00
Scott Phillips
7058d92ab9 Updated change log for harvesting support. DS-289
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4229 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-08-24 21:42:10 +00:00
Scott Phillips
3dacc68256 (Alexey Maslov) OAI-PMH + OAI-ORE Harvesting Patch
http://jira.dspace.org/jira/browse/DS-289

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4228 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-08-24 21:18:09 +00:00
Stuart Lewis
57ea973114 [DS-271] Make the OAI DC crosswalk configurable
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4210 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-08-12 22:04:14 +00:00
Tim Donohue
3415aafade Fix for DS-281 : Invalide Link to "Go to DSpace Home" on Page Not Found (XMLUI). Essentially, a trailing slash was needed after the contextPath, so that the link URL did not end up empty for DSpace installs which run off the root context (e.g. http://my.dspace.edu/).
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4209 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-08-12 17:14:24 +00:00
Ben Bosman
1d5bf800c6 Some people still use ie6
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4197 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-08-07 13:28:26 +00:00
Andrea Bollini
0b3c7b9fa0 [DS-261] Community Admin JSPUI: porting of the DS-228 patch
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4196 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-08-06 13:29:46 +00:00
Claudia Juergen
7eae73c1d8 [DS-276] Patch to fix spelling error in Exception page
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4195 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-08-06 05:55:57 +00:00
Claudia Juergen
d40b9ee613 [DS-269] Oracle JDBC connection string wrong in dspace.cfg - ID: 2722093, just a documentation issue
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4171 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-29 12:11:00 +00:00
Claudia Juergen
7c60b49424 [DS-222] Email alerts due to internal errors are not sent, if context is missing
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4170 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-29 08:43:45 +00:00
Claudia Juergen
389c15bd3a [DS-114] Links not working due to trailing white space in dspace.url
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4155 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-28 10:35:54 +00:00
Jeffrey Trimble
4d547abd52 Added for tip icon to alert users in documentation.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4146 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-27 01:55:37 +00:00
Jeffrey Trimble
7e9d5a07b2 Corrected poorly formed table. Renovated typographical presentations.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4145 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-27 01:53:01 +00:00
Mark Diggory
3eb8f4c783 [DS-247] [DS-243] [DSB-37] Correct Errors in Solr directory initialization. 2009-07-25 20:51:44 +00:00
Mark Diggory
7f0a6a9c2d [DS-247] [DS-243] [DSB-37] Let errors propagate up container.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4115 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-24 10:20:04 +00:00
Mark Diggory
5708755312 [DS-247] [DS-243] [DSB-37] Allow for JNDI and Context Parameter Intialization of Configuration Service.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4112 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-24 07:41:39 +00:00
Mark Diggory
219b4c2291 [DS-247] [DS-243] [DSB-37] cleanup imports.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4111 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-23 23:16:17 +00:00
Mark Diggory
01da35f9d9 [DS-247] [DS-243] [DSB-37] extend functionality of ContextUtil so request object can be used as parameter.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4110 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-23 23:15:35 +00:00
Mark Diggory
c977bb78c4 [DS-247] [DS-243] [DSB-37] include SLF4J
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4109 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-23 18:51:56 +00:00
Mark Diggory
2974571709 svn:ignore
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4108 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-23 18:50:02 +00:00
Mark Diggory
40bbe67eee [DS-247] [DS-243] [DSB-37] Allow multiple default MBeans per ServletContainer, one per webapp, with randomly generated UUID.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4107 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-23 18:26:04 +00:00
Mark Diggory
65792db522 svn:ignore
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4101 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-22 23:56:33 +00:00
Mark Diggory
af425e130d [DS-247] [DS-243] [DSB-37] Extraction of complete DSpace 2.0 Kernel, RequestService, SessionService, EventService and CachingServices.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4100 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-22 23:54:41 +00:00
Stuart Lewis
54d6c52a3a [DS-262] Bug in DS-118, new patch included
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4099 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-22 04:11:16 +00:00
Stuart Lewis
fd19d29e5f [DS-258] Item View Thumbnails not displaying in XMLUI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4098 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-22 02:09:29 +00:00
Jeffrey Trimble
5b31d58967 Rev. 7.2 to reflect 1.5.2 changes in directory layout and add instructions.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4094 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-19 18:50:59 +00:00
Andrea Bollini
65e6ec3143 [DS-259] Community/collection admin should not to be able to delete their admin group
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4093 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-18 12:51:12 +00:00
Mark Diggory
c77edcd384 [#DS-247] Adding DSpace 2.0 EventService for EventListeners to be able to register with in 1.6.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4092 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-16 03:51:14 +00:00
Mark Diggory
9958796337 (DS-253) NullPointerException in HttpServletResponseBufferingWrapper (Cocoon bug?)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4090 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-16 00:28:40 +00:00
Claudia Juergen
ad688f0a0b Item Importer - documented the use of non-dc metadata during item import
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4089 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-15 10:30:53 +00:00
Claudia Juergen
fe332866bb [DS-197] Deleting a primary bitstream does not clear the primary_bitstream_id on the bundle table
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4088 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-14 11:18:24 +00:00
Jeffrey Trimble
d9668a6520 Minor typographical errors corrected
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4087 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-14 02:20:30 +00:00
Stuart Lewis
0464acbc7d Put back a change
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4086 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-14 01:47:10 +00:00
Stuart Lewis
7ff0c7d288 Correcting spelling mistakes
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4085 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-14 01:34:56 +00:00
Jeffrey Trimble
957bc58490 git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4084 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2009-07-14 01:00:20 +00:00
Stuart Lewis
b8e24c7954 [DS-252] Interpolate variables in the Subject: line of email templates as well
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4083 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-13 00:27:48 +00:00
Stuart Lewis
3b2d6d4fd3 [DS-161] Bulk metadata editing - fixed issue with invalid collection handles in the incoming csv file
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4082 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-13 00:17:10 +00:00
Stuart Lewis
974358fd98 [DS-249] sub-daily utility script does not pass arguments to Java
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4080 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-09 02:32:03 +00:00
Stuart Lewis
21266f105a [DS-250] Invalid identifers are not escaped
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4079 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-09 02:29:20 +00:00
Claudia Juergen
9e2d4b910c [DS-248] Missing admin column in community table in database-schema.sql and update - community admin patch
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4078 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-08 11:53:25 +00:00
Stuart Lewis
24ff8397c0 [DS-242] Special groups shown for logged in user rather than for user being examined - fix NPE
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4077 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-08 04:34:11 +00:00
Stuart Lewis
6312751e0a [DS-161] Bulk metadata editing - Export from browse screens
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4076 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-08 02:39:49 +00:00
Mark Diggory
871fffd8a4 svn:ignore
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4074 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-07 23:48:10 +00:00
Mark Diggory
ebe3f0c843 [#DS-247] Contribution of @MIRE Solr Based Statistics Engine to DSpace : Service Manager API with prototype legacy binding to Plugin Manager.
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4073 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-07 23:26:18 +00:00
Mark Diggory
9047b21f18 prematurely commit. 2009-07-07 22:54:20 +00:00
Mark Diggory
0c47cc5e8c [#DS-247] Contribution of @MIRE Solr Based Statistics Engine to DSpace. Restriction Filter to stop non-localhost access to Solr (can be disabled in web.xml). 2009-07-07 22:44:57 +00:00
Mark Diggory
25a3dcea6c [#DS-247] Contribution of @MIRE Solr Based Statistics Engine to DSpace : clean up project details. 2009-07-07 20:47:05 +00:00
Mark Diggory
2f988ac8b6 DSpace Solr: retain statistics specific configuration in statistics core 2009-07-07 06:53:58 +00:00
Mark Diggory
707c67f270 DSpace Solr: Initialize as multicore so as to support both general search and statistics in separate lucene instances. 2009-07-07 03:23:40 +00:00
Stuart Lewis
6da2593f00 [DS-161] Bulk metadata editing - Add configuration options to dspace.cfg
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4057 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-07 03:21:29 +00:00
Stuart Lewis
c703b33a2e [DS-242] Special groups shown for logged in user rather than for user being examined
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4056 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-07 00:28:44 +00:00
Stuart Lewis
f565c49775 [DS-161] Bulk metadata editing - export search results as csv
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4055 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-07 00:25:02 +00:00
Kim Shepherd
3a46d1d19d [DS-121] XMLUI Feedback form breaks with multiple hostnames
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4054 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-06 21:51:38 +00:00
Mark Diggory
795d0e8666 Drop JSON Query result example in to solr homepage. 2009-07-03 17:28:42 +00:00
Mark Diggory
2cd3daf78c Share project "dspace-services" into "https://scm.dspace.org/svn/repo"
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4022 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-03 08:35:13 +00:00
Mark Diggory
2a16493758 Share project "dspace-services" into "https://scm.dspace.org/svn/repo"
git-svn-id: http://scm.dspace.org/svn/repo/modules/dspace-services/trunk@4021 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-03 08:33:55 +00:00
Stuart Lewis
43e0afa931 Administer link wrongly active when edit profile is selected
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4020 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-03 03:55:39 +00:00
Mark Diggory
5127ecd90d [maven-release-plugin] prepare for next development iteration 2009-07-02 18:52:47 +00:00
Mark Diggory
9eacd2cf55 [maven-release-plugin] prepare release dspace-solr-1.0 2009-07-02 18:52:42 +00:00
Mark Diggory
842e95918f Test 2009-07-02 04:29:49 +00:00
Mark Diggory
d98b9d666f DSpace Solr: Correct SVN locations to do release of 1.0 2009-07-02 04:07:38 +00:00
Mark Diggory
b71fce0ba7 DSpace Solr: correct locations of home page and icon 2009-07-02 03:50:08 +00:00
Mark Diggory
f749ba90ee DSpace Solr: correct locations of home page and icon 2009-07-02 03:49:47 +00:00
Mark Diggory
9fe9cd8a52 svn:ignore 2009-07-02 03:45:47 +00:00
Mark Diggory
0031325b8b Sharing project "dspace-solr" into "https://scm.dspace.org/svn/repo/modules" 2009-07-02 03:44:12 +00:00
Mark Diggory
b0be4c2d45 Sharing project "dspace-solr" into "https://scm.dspace.org/svn/repo/modules" 2009-07-02 03:30:23 +00:00
Mark Diggory
2f4f434798 Sharing project "dspace-solr" into "https://scm.dspace.org/svn/repo/modules" 2009-07-02 03:28:55 +00:00
Stuart Lewis
caffe8ed07 [DS-219] Internal Server error - include login details of user
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3997 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-02 01:47:02 +00:00
Stuart Lewis
8c341b122a [DS-205] Creative Commons - option to set legal jurisdiction
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3996 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-01 23:36:04 +00:00
Kim Shepherd
517a221e3e Update trunk/dspace/CHANGES
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3995 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-01 23:20:35 +00:00
Kim Shepherd
a94d47df6f [DS-198] File descriptions can not be removed/cleared in XMLUI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3994 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-01 23:03:07 +00:00
Kim Shepherd
5b9872ee41 [DS-240] Item validityKey not complete
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3992 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-01 21:07:29 +00:00
Stuart Lewis
510d60ca25 [DS-225] dc.description.provenance - public display
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3991 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-07-01 04:30:47 +00:00
Stuart Lewis
9d23f14c1c [DS-213] IPAuthentication extended to allow negative matching
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3990 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-30 22:27:13 +00:00
Stuart Lewis
ee081784df [DS-238] Move item function in xmlui - updated CHANGES file
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3989 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-30 21:58:46 +00:00
Stuart Lewis
9b9d93e056 [DS-161] Bulk metadata editing - addition of [dspace]/bin/ scripts
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3988 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-30 21:53:47 +00:00
Tim Donohue
8d88babaa7 Adding missing flowscript & sitemap configs for DS-228 'Community Admin XMLUI: Delegated Admins' patch - These fully enable the Move Item functionality for XMLUI. Apologies for not getting this code in earlier...seems my NetBeans IDE was at fault and didn't commit these differences.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3987 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-30 16:09:39 +00:00
Graham Triggs
5c68d267fb Fix dspace:layout to use titlekey instead of title
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3986 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-30 14:22:06 +00:00
Stuart Lewis
1ec6725ae6 [DS-209] Context.java turnOffAuthorisationSystem() can throw a NPE
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3985 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-30 02:37:07 +00:00
Stuart Lewis
b9dba44bd7 [DS-204] New -zip option for item exporter and importer / [DS-216] Migrating items that use additional metadata schemas causes an NPE
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3984 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-30 02:33:25 +00:00
Stuart Lewis
dbce1cc890 [DS-161] Bulk metadata editing - remove debug line, and make use of escaped field separator when splitting strings
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3983 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-30 02:27:25 +00:00
Tim Donohue
c05d70a67c Applying second part of "Community Admin XMLUI: Delegated Admins Patch" (DS-228). For some reason not all of the 'dspace-xmlui-api' patch applied properly during the previous commit.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3981 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-29 14:37:47 +00:00
Tim Donohue
1c7affd37a Applying "Community Admin XMLUI: Delegated Admins Patch" (DS-228). This adds delegated Admin capabilities and specifically a Community Administrator role. See Jira issue DS-228 for more specific details, including documentation on the permissions of a System Admin vs. Community Admin vs. Collection Admin. [WARNING:] This patch adds a database_schema_15-16.sql (as it requires a new "admin" column on the 'collection' table). This patch also currently only fully works for the XMLUI (but should not break anything with JSPUI) - Andrea Bollini is working on porting it over to JSPUI.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3980 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-26 17:07:25 +00:00
Stuart Lewis
fd2be53602 [DS-161] Bulk metadata editing
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3954 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-25 03:15:28 +00:00
Claudia Juergen
287c0f079d [DS-231] Missig file (this is just some obsolete use of index-all in the current documentation, corrected the docs)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3884 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-16 14:56:56 +00:00
Graham Triggs
34bb8d4217 Added check so that null values don't cause page to crash
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3868 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-11 13:41:14 +00:00
Ben Bosman
20e896910c [DS-226] confirmation page of edit profile has an invalid link
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3867 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-11 09:53:02 +00:00
Andrea Bollini
caab45e57a [DS-227] Values with double apos doesn't work in dropdown and list input type
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3866 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-10 06:36:13 +00:00
Ben Bosman
a06056dc11 [DS-226] small bugfix
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3865 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-09 19:44:06 +00:00
Andrea Bollini
e2cfb903c5 [DS-223] Submission process show previous button in JSPUI also if the step is the first "visible" step
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3864 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-06 12:30:05 +00:00
Stuart Lewis
67f7f0c52e [DS-221] XMLUI 'current activity' recognises Google Chrome as Safari
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3833 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-02 01:57:28 +00:00
Tim Donohue
8a2b56f36b Fix for [DS-218] Cannot add/remove email subscriptions from Profile page in XMLUI
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3832 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-06-01 19:17:02 +00:00
Stuart Lewis
6ce5fb0767 [DS-212] NPE thrown during Harvest of non-items when visibility restriction is enabled
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3830 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-27 01:55:55 +00:00
Stuart Lewis
e0cf6cf505 [DS-212] NPE thrown during Harvest of non-items when visibility restriction is enabled
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3829 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-26 02:22:27 +00:00
Stuart Lewis
04ebdbf4a6 [DS-212] NPE thrown during Harvest of non-items when visibility restriction is enabled
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3828 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-26 00:55:19 +00:00
Andrea Bollini
e03c324b72 [DS-199] SWORD module doesn't accept X-No-Op header (dry run)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3825 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-22 09:53:50 +00:00
Stuart Lewis
8c74ad42b3 [DS-212] NPE thrown during Harvest of non-items when visibility restriction is enabled
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3824 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-21 00:10:19 +00:00
Andrea Bollini
04e3850ea6 [DS-206] Input form visibility restriction doesn't work properly
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3823 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-19 18:09:05 +00:00
Stuart Lewis
7c5d3b9061 Add new committers
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3797 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-13 03:20:02 +00:00
Mark Diggory
c7bd0838f7 Adjust Build environment to generate only one snapshot release per module and hardcode versions to reduce chances of overriding them by accident in module addons.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3796 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-13 00:13:33 +00:00
Mark Diggory
9eb48e8162 Adjust SVN repository locations for Maven release plugin.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3768 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-11 21:15:20 +00:00
Mark Diggory
e848bfb838 New location for DSpace Project
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@3767 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-11 19:57:57 +00:00
Claudia Juergen
47b2aad946 [DS-118] File preview link during submission leads to page not found
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3763 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-07 13:52:21 +00:00
Stuart Lewis
8b1d849838 Update code licence to The DSpace Foundation
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3762 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-07 04:36:47 +00:00
Stuart Lewis
45ca0fab09 Update code licence to The DSpace Foundation
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3761 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-07 04:18:02 +00:00
Stuart Lewis
dda551aa1e [DS-200] SWORD module requires the X-Packaging header
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3760 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-05 08:32:14 +00:00
Stuart Lewis
2e7398696b [DS-201] handle.jar upgraded to version 6.2
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3759 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-05-05 08:27:05 +00:00
Stuart Lewis
3a76e0b4bf [DS-156] File description not available in XMLUI
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3758 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-30 23:40:25 +00:00
Stuart Lewis
99d6d89079 [DS-195] Allow the primary bitstream to be set in the item importer
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3745 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-28 00:17:07 +00:00
Stuart Lewis
1f9cf8b18c [DS-196] METS exposed via OAI-PMH includes descritpion.provenance information
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3739 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-27 22:26:36 +00:00
Stuart Lewis
4b539b4292 Update code licence to The DSpace Foundation
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3738 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-24 04:32:12 +00:00
Stuart Lewis
7fcd6bce91 Update code licence to The DSpace Foundation
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3737 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-24 04:22:28 +00:00
Stuart Lewis
105700e1be Update code licence to The DSpace Foundation
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3736 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-24 04:16:22 +00:00
Stuart Lewis
827c639926 Update code licence to The DSpace Foundation
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3735 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-24 04:05:53 +00:00
Stuart Lewis
14f3d3b062 Update code licence to The DSpace Foundation
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3734 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-24 04:00:19 +00:00
Stuart Lewis
e3a5c35a54 Update code licence to The DSpace Foundation
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3733 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-24 03:52:11 +00:00
Stuart Lewis
15237bffc7 Update code licence to The DSpace Foundation
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3732 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-24 03:26:59 +00:00
Stuart Lewis
6a65114e79 Update code licence to The DSpace Foundation
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3731 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-24 03:20:45 +00:00
Stuart Lewis
a5bfc8774a Update code licence to The DSpace Foundation
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3730 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-24 03:11:14 +00:00
Brad McLean
5cdc504ce9 Update license to DSpace foundation for future use
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3729 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-23 12:52:12 +00:00
Stuart Lewis
2723669c7d [DS-193] OAI RDF crosswalk fails when DC value is null
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3728 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-23 04:00:26 +00:00
Stuart Lewis
80c1572fff [DS-194] Give METS ingester configuration option to make use of collection templates
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3727 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-23 03:34:04 +00:00
Stuart Lewis
218b1aab41 Update CHANGES for 1.6.0
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3726 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-23 03:26:24 +00:00
Stuart Lewis
00a2279d23 Adjust project poms to 1.6.0-SNAPSHOT, and changed location of svn repo from /branches/dspace-1_5_x/ to /trunk/
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3725 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-23 03:21:52 +00:00
Stuart Lewis
9e844c457c Copying DSpace 1.5.x branch to trunk to start development of v1.6
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3724 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-23 02:36:30 +00:00
Claudia Juergen
a68d37793d just forgot the name
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3722 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-17 13:49:44 +00:00
Claudia Juergen
5120187f32 [DS-190] Portuguese (pt_PT) translation Messages.properties JSP-UI v1.5.2
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3721 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-17 13:48:21 +00:00
Claudia Juergen
6a5c0710a0 just removed the umlaut
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3720 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-15 07:55:24 +00:00
Claudia Juergen
dbbd278775 Fix for [DS-188] Misspell exclude.type=indentifier in dstat.cfg
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3719 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-15 07:52:59 +00:00
Mark Diggory
594efc7903 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3718 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-13 21:06:26 +00:00
Mark Diggory
e990445a2e [maven-release-plugin] prepare release dspace-1.5.2
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3716 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-13 21:05:20 +00:00
Andrea Bollini
274baf4a47 missed entry in CHANGES file
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3715 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-13 20:52:17 +00:00
Andrea Bollini
8f96431398 added contributor to the Shibboleth patch
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3714 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-13 20:49:55 +00:00
Mark Diggory
4975bf1a67 [DS-48] shibboleth+dspace1.5.1 patch - ID: 2412723 Commiting dspace3688-ignoreScope-v3.patch (3 kB)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3713 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-13 20:22:35 +00:00
Brad McLean
3c99f49351 [DS-183] Apply XPDF Filter doc patches and rebuild docs
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3712 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-13 20:07:34 +00:00
Stuart Lewis
04ecb2c5e9 [DS-182] Speed up SWORD deposits
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3711 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-13 19:52:28 +00:00
Andrea Bollini
9df41d355d [DS-186] NPE during edit of eperson in XMLUI
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3710 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-13 15:17:56 +00:00
Andrea Bollini
f8c30a097f [DS-157] Ukrainian for DSpace 1.5.2 - JSPUI only (gone into google code)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3709 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-13 14:13:02 +00:00
Andrea Bollini
4d9f9d0ea0 added missed end tag profiles
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3708 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-13 12:51:34 +00:00
Mark Diggory
5e1374b4d6 Change issue management URL to JIRA
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3707 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-12 00:47:42 +00:00
Mark Diggory
106b9c0058 Change issue management URL to JIRA
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3706 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-12 00:33:24 +00:00
Mark Diggory
23cf0406dd [DS-183] XPDF support for filtering PDFs for text extraction/search
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3705 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-11 17:02:24 +00:00
Mark Diggory
47ebe88651 [DS-183] XPDF support for filtering PDFs for text extraction/search
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3704 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-10 03:36:38 +00:00
Mark Diggory
adc949bfd1 Set Keyword substitution across entire project.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3703 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-09 23:58:38 +00:00
Mark Diggory
71f966bce5 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3702 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-08 22:50:42 +00:00
Mark Diggory
eac7b7c887 [maven-release-plugin] prepare release dspace-1.5.2-rc2
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3700 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-08 22:40:47 +00:00
Andrea Bollini
5733504965 [maven-release-plugin] rollback the release of dspace-1.5.2-rc2
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3699 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-08 22:34:50 +00:00
Andrea Bollini
31f8b6aa0e [maven-release-plugin] prepare release dspace-1.5.2-rc2
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3698 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-08 22:31:54 +00:00
Andrea Bollini
aa829c7633 restore the "force the release:prepare goal to not attempt to build the site"
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3697 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-08 22:26:32 +00:00
Mark Diggory
6a82d5c0ff [maven-release-plugin] rollback the release of dspace-1_5_2-rc2
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3696 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-08 22:08:30 +00:00
Mark Diggory
c9fea90190 [maven-release-plugin] prepare release dspace-1_5_2-rc2
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3695 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-08 22:07:28 +00:00
Mark Diggory
8e6f764971 Drop profile activation
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3694 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-08 21:58:24 +00:00
Mark Diggory
6f10ca8cac [maven-release-plugin] rollback the release of dspace-1.5.2-rc2
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3693 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-08 21:54:38 +00:00
Mark Diggory
b30bfb488b [maven-release-plugin] prepare release dspace-1.5.2-rc2
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3692 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-08 21:52:06 +00:00
Andrea Bollini
641c37b3f2 [maven-release-plugin] rollback the release of dspace-1.5.2-rc2
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3691 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-08 21:33:37 +00:00
Andrea Bollini
64d6918173 [maven-release-plugin] prepare release dspace-1.5.2-rc2
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3690 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-08 21:12:48 +00:00
Andrea Bollini
5e2087c07e force the release:prepare goal to not attempt to build the site
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3689 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-08 20:58:08 +00:00
Mark Diggory
baa26befeb [DS-155] Maven war plugin changes cause war to include libraries as well
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3687 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-07 00:11:05 +00:00
Mark Diggory
49187ebe24 [DS-155] Maven war plugin changes cause war to include libraries as well
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3685 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-06 23:46:14 +00:00
Graham Triggs
65e064f0f5 Fix various critical bugs identified by Findbugs.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3684 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-06 22:52:38 +00:00
Mark Diggory
979bbdc026 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3683 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-06 22:15:05 +00:00
Mark Diggory
3032423006 [maven-release-plugin] prepare release dspace-parent-1.5.2-rc1
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3681 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-06 22:14:11 +00:00
Andrea Bollini
8fa1341264 add reference to JIRA to all CHANGES related to SF - for each issue, I have reported in the JIRA comments the revision where the patch was committed
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3680 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-06 19:32:47 +00:00
Brad McLean
ce7855934f Rename the html and pdf build script to be move obvious. Incorporate
1.5.2 documentation notes from Graham Triggs, Mark Diggory, Larry 
Stone.  Regenerate the html and pdf.



git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3679 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-06 14:38:41 +00:00
Mark Diggory
93abec17ef [DS-154] Make a backup of the config dir on Ant update
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3675 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-06 08:07:43 +00:00
Tim Donohue
09ca5ab0d6 Minor change to log4j.properties. The Checksum Checker log (checker.log) settings should not be additive. In other words, the checksum checker should only log to 'checker.log' and not also to the default 'dspace.log'.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3674 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-03 21:12:49 +00:00
Tim Donohue
321ed0f073 Applying fix for Jira [DS-120] "Cocoon 2.2 'hijacks' the dspace.log file". Essentially moving all Cocoon's log4j configurations into the normal DSpace log4j.properties file. This also adds a separate 'cocoon.log' file for the XMLUI for all logs generated by Apache Cocoon. It also doesn't seem to affect the JSPUI's normal logging. This change also fixes Jira [DS-85] "XMLUI Cocoon logs should not be stored under [xmlui-webapp]/WEB-INF/logs/"
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3673 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-03 20:54:50 +00:00
Graham Triggs
3014bcd75a DS-131 Fix title ordering to ignore leading non-alphanumeric characters
Now uses Marc 21 multi-lingual rules by default

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3672 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-04-01 10:40:35 +00:00
Tim Donohue
a9f75b1dba Applying fix for Jira [DS-132] XMLUI overall UTF-8 encoding is inconsistent and forms do not use UTF-8. This fix also resolves [DS-112] Scandinavian caharacters mess up Front page full text search.
Essentially, I'm adding a Cocoon Filter which forces UTF-8 encoding for all servlet requests.  This was based on recommendations on the Cocoon wiki: http://cocoon.apache.org/2.2/1366_1_1.html   This seems to resolve these issues so that I can now submit/search/browse/edit items which have Scandinavian (or other non-English) characters.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3664 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-31 15:34:29 +00:00
Brad McLean
faff36653d Update headings to 1.5.2, and fix most of the broken internal links.
More to follow.



git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3663 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-31 14:50:55 +00:00
Andrea Bollini
53a56e504a missed jira entries
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3662 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-31 11:18:12 +00:00
Andrea Bollini
6dff029575 [DS-99] Non-admin user and admin menu options (1.5.1 XMUI only) - ID: 2353606
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3661 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-31 09:55:29 +00:00
Andrea Bollini
efaa36dddf [DS-81] Subscription not sent correctly - ID: 2667590
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3660 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-31 08:12:52 +00:00
Andrea Bollini
e9c0e8a761 [DS-92] Bitstream access rights inheritenc, editing in_archive items - ID: 1993036
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3659 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-31 07:30:14 +00:00
Tim Donohue
d0c8954136 Fix for Jira [DS-130] XMLUI Browse by Author doesn't work for names with special characters (for example: é, è, ö, etc.)
Essentially, this just adds a new setting to Cocoon (org.apache.cocoon.containerencoding=UTF-8) which ensures the Cocoon Servlet Container encoding is set to UTF-8.  It also ensures that *all* XMLUI Sitemaps have 'encoding="UTF-8"' set.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3651 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-30 20:34:45 +00:00
Mark Diggory
39d5b11590 [DS-129] OpenURL support exposes dc.description.provenance information
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3650 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-30 18:52:55 +00:00
Andrea Bollini
05399aefae [DS-116] File description not correct
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3649 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-30 14:11:52 +00:00
Andrea Bollini
bd72f32938 [DS-122] Problems with repeatable metadata
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3648 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-30 08:21:36 +00:00
Andrea Bollini
99e6acab6b [DS-115] metadata not showed in verify step
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3647 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-29 17:51:22 +00:00
Andrea Bollini
1d58746e8b [DS-66] bitstream format registry, setting bitstream internal - ID: 1896055
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3646 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-27 10:54:40 +00:00
Andrea Bollini
4b881d9886 [DS-67] Impossible retry/resume after upload a file with internal format
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3645 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-27 10:39:26 +00:00
Andrea Bollini
a600a6eb16 [DS-126] Request to [dspace-base-url]/bitstream throw NPE
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3644 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-27 10:33:26 +00:00
Andrea Bollini
7f1c6b3372 credits for [DS-48] shibboleth+dspace1.5.1 patch - ID: 2412723
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3643 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-27 10:31:38 +00:00
Mark Diggory
b0bf22d495 [DS-48] shibboleth+dspace1.5.1 patch - ID: 2412723
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3642 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-27 04:53:11 +00:00
Mark Diggory
6c412317f7 [DS-64] xmlui selection of authentication method - ID: 2086673 Re-adjustment to use getLoginPage.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3641 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-27 03:31:29 +00:00
Stuart Lewis
3b63800d57 Fix for Jira [DS-127] Item exporter does not export bitsteam descriptions
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3640 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-26 23:37:16 +00:00
Stuart Lewis
4fadd4357b Correct the wrong message tag for migrate button, and move Edit button back to the top right corner
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3639 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-26 20:32:42 +00:00
Mark Diggory
5590b2412b Correct formatting errors introduced in last commit (Eclipse autoformat w/o dspace formatting template in place).
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3636 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-23 22:12:47 +00:00
Mark Diggory
0b3afa95cd Merge in getCacheSize from previous patch commit.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3635 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-23 22:04:40 +00:00
Mark Diggory
0ce2581f3f Recover Previous Revision History
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3634 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-23 21:58:21 +00:00
Mark Diggory
cbb3294107 Remove to prepare for recovery
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3633 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-23 21:57:29 +00:00
Stuart Lewis
b535879117 [2621423] Add method to instrument Context's cache usage
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3632 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-23 20:55:07 +00:00
Scott Phillips
d2a0842f53 (Scott Phillips) Removed some debuging statements I left in from my last commit, bad scott....
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3631 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-23 20:52:52 +00:00
Mark Diggory
262c081224 [DS-94] Verify Configuration Options are still applicable with the Cocoon User community.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3630 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-23 20:36:08 +00:00
Andrea Bollini
6b44909f39 [DS-106] Save & exit button doesn't properly work in workflow
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3629 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-23 20:22:31 +00:00
Andrea Bollini
a18832355b [DS-105] Initial Questions button in the progress bar doesn't work in workflow
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3628 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-23 20:21:19 +00:00
Claudia Juergen
f4b4e725c8 Just a typo
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3627 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-23 11:28:36 +00:00
Claudia Juergen
e891886632 Changed bug fix entry, my contribution wasn't that significant
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3626 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-23 11:26:17 +00:00
Andrea Bollini
ef01a162c6 [DS-102] Submission without file possible with the skip upload functionality disabled
[DS-103] Use of the Progress bar button don't save the current page modification
[DS-104] Cancel/save button during edit of a workflow item doesn't work

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3625 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-23 11:18:53 +00:00
Andrea Bollini
e4a8bfff87 [DS-46] Bug 1617889 Years < 1000 do not display in simple item view - ID: 2524083
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3624 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-23 09:28:09 +00:00
Andrea Bollini
30812021fa [DS-43] Manakin RSS feed generator cache timeout can't be adjusted - ID: 2593393
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3623 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-23 09:03:14 +00:00
Andrea Bollini
3a3090cd98 [DS-107] DIDL Crosswalk thrown NPE
overwrite previous wrong fix


git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3622 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-22 08:46:02 +00:00
Andrea Bollini
59768e8653 Added default value if no oai.didl.maxresponse property is defined
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3621 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-21 11:57:57 +00:00
Tim Donohue
1f59219b32 [1712125] Allow dsrun and dsrun.bat to use JAVA_OPTS. Previously all JVM options were hardcoded in dsrun scripts. This allows admin to specify JVM options for all command-line scripts using the JAVA_OPTS environment variable.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3620 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-20 20:46:37 +00:00
Tim Donohue
6b057525c4 Minor improvements to messages output by MediaFilterManager. Added item handle information to the "SKIPPED:" and "FILTERED:" messages. Without the item handle it's much more difficult to locate bitstreams which may be having problems filtering, etc.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3619 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-20 16:52:03 +00:00
Claudia Juergen
583273e624 Added missing blanks between label and text value in subsription email.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3618 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-20 09:45:22 +00:00
Claudia Juergen
fd7a9db6de Added missing blanks between label and text value in subsription email.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3617 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-20 09:41:46 +00:00
Andrea Bollini
051ba89fad fix typo in javadoc
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3616 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-20 09:19:44 +00:00
Stuart Lewis
ab70da0771 Adds new functionality to the export scripts: 'migrate' option that strips metadata that will be re-created in the same fashion as the dspace_migrate script. This can be invoked by using the -m or --migrate flag on the export cli script, or with the new JSPUI export (migrate) button. This patch also fixes DS-59.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3615 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-20 02:41:00 +00:00
Stuart Lewis
39bdc2a660 Adds new functionality to the export scripts: 'migrate' option that strips metadata that will be re-created in the same fashion as the dspace_migrate script. This can be invoked by using the -m or --migrate flag on the export cli script, or with the new JSPUI export (migrate) button. This patch also fixes DS-59.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3614 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-20 01:58:38 +00:00
Tim Donohue
fb68bf6f5b Minor Fix: Add an invisible link to the /htmlmap sitemap to the XMLUI footer by default. This allows search engines to be able to find that HTML sitemap link for the out-of-the-box XMLUI.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3613 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-19 19:31:45 +00:00
Andrea Bollini
bfdaa80994 fix wrong file header
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3612 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-19 17:10:10 +00:00
Andrea Bollini
2bfe661bd6 [DS-101] Impossible to complete Registration in JSPUI
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3611 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-19 09:37:57 +00:00
Mark Diggory
c1dca2dce5 [DS-100] XMLUI OpenURL support contributed by the National Evolutionary Synthsis Center (NESCent) and @mire.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3610 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-19 04:01:18 +00:00
Stuart Lewis
a9d518e263 Fix for Jira [DS-98] Key jsp.mydspace.request.export.community not set in Messages.properties
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3609 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-19 02:21:22 +00:00
Tim Donohue
67b74c7081 Fix for Jira [DS-97] XMLUI does not come with a robots.txt out-of-the-box. It also does not provide suggestions for loading global static content.
Added a default robots.txt file for XMLUI.  Also updated Docbook configuration documentation to document the basics on how to add additional global static content (esp. static HTML) to the newly created /src/main/webapp/static/ folder for XMLUI.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3605 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-17 20:24:59 +00:00
Tim Donohue
1fb610e594 Fix for Jira [DS-96] XMLUI Wing-Framework 'Radio' class doesn't support adding radio buttons which are unselected by default.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3604 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-17 19:17:27 +00:00
Tim Donohue
bf1fdd525e Minor fixes to look of XMLUI Submission process. In the review information for the DescribeStep, ensure that empty fields are not displayed when reviewing metadata (no reason to display fields that weren't filled out...plus they cause a very long review page). On the "Save or Remove" page, make sure all three buttons are in the same HTML <div>. This allows for easier styling of the buttons (otherwise it's nearly impossible to place them all on the same line).
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3603 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-17 19:03:58 +00:00
Tim Donohue
051dee3f9e Fix for Jira [DS-95] XMLUI: Visiting an item page with a trailing slash returns a 404 message
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3602 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-17 17:02:16 +00:00
Tim Donohue
e8a02edf71 Fix for Jira [DS-87] XMLUI file download links break in Google search results if file 'sequence' number changes.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3601 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-17 16:47:37 +00:00
Andrea Bollini
92f0e74c43 [DS-83] missed to comment the alternative SkipInitialQuestionsStep configuration
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3600 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-17 11:35:13 +00:00
Andrea Bollini
f8e72fd4c6 [DS-83] Hardcoded behaviour of Initial question step in the submission
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3596 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-17 07:05:13 +00:00
Andrea Bollini
a85d45b9f8 [DS-78] Italian translation xmlui - ID: 1984513 (gone into google code)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3594 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-17 06:29:31 +00:00
Andrea Bollini
86229ffb27 [DS-64] xmlui selection of authentication method - ID: 2086673
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3593 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-17 06:26:52 +00:00
Mark Diggory
ffbb51b3c7 [DS-93] Upgrade XMLUI to Cocoon 2.2
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3590 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-15 02:30:59 +00:00
Scott Phillips
f3fb9d4796 (Scott Phillips) Added the ability to stop or start recording anonymous or bot activity. With this patch it also removes viewing web continuations which are not needed now that you can view current activity on the site.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3589 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-13 22:01:01 +00:00
Scott Phillips
5e5d52d985 (Scott Phillips) Fixed a problem where importing/exporting items multiple times would result in duplicate identifier.uri metadata records being added each time. Now it will check to see if the metadata record exists before adding it.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3588 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-13 17:21:29 +00:00
Andrea Bollini
5d4b5c0b35 [DS-90] Workflow doesn't skipped if the wf group contains empty subgroups
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3587 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-13 10:21:46 +00:00
Andrea Bollini
eeb2621291 [DS-47] Add support for rendering DOI links in JSPUI (1.4, 1.5) - ID: 2521493
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3586 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-13 09:45:24 +00:00
Andrea Bollini
54619f00d3 [DS-88] Anonymous group don't works as subgroup - ID: 1688445
[DS-61] IP Authentication only works on logged in users - ID: 2088431

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3585 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-13 09:38:12 +00:00
Andrea Bollini
c14efdf798 fix wrong indent
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3584 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-13 09:26:47 +00:00
Andrea Bollini
ed6b7136f9 fix minor typo
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3583 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-13 09:25:40 +00:00
Tim Donohue
c356d6fd70 Fix for Jira bug [DS-86] XMLUI Feedback form does not include any protection from spamming. Basically just copied over the same logic that is used already in the JSPUI and tested that it works for XMLUI as well.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3582 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-12 19:09:31 +00:00
Tim Donohue
7b7f1a8a66 Fix for Jira bug [DS-86] XMLUI Feedback form does not include any protection from spamming. Basically just copied over the same logic that is used already in the JSPUI and tested that it works for XMLUI as well.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3581 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-12 19:05:26 +00:00
Andrea Bollini
e3f9025213 [DS-60] netid.toLowerCase() in different classes and methods - ID: 2458187
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3575 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-11 14:33:44 +00:00
Andrea Bollini
8e446e0a1a [DS-58] Double quote problem in some fields of JSPUI (continued) - ID: 2528065
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3574 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-11 13:42:18 +00:00
Andrea Bollini
ff0261284c [DS-84] Improve API for "IgnoreAuthorization" blocks - ID: 1687783
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3573 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-11 11:00:52 +00:00
Andrea Bollini
9b820c2367 [DS-62] Not right encoding for license and extracted texts - ID: 2234532
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3572 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-11 10:14:30 +00:00
Scott Phillips
97095bfe97 (Scott Phillips) Fixed two bugs.
1) Sometimes a null event would get into the event queue which would choke during sorting. I've added protected the sorting and event display from null pointers, and syncronized the event queue manipulation from getting null events into the queue. 

2) Fixed the i18n header from not displaying how many pages maximum its suppost to view, the paramater just wasn't being passed but the i18n tag was expecting it.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3545 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-09 15:02:31 +00:00
Scott Phillips
174edcfbc0 (James Creel) Fixed some minor display bugs on the submission form for initial questions.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3539 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-07 19:08:56 +00:00
Scott Phillips
a148e77720 (Scott Phillips) There is a bug where user supplied query strings that contain ":" were being written straight to the logs unescapped. This would cause the loganalyser to think in some cases that there we logging events of random strings. This patch ensures that all cases where search strings are being written to the logs are escaped to prevent this.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3538 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-07 19:04:20 +00:00
Richard Jones
a7fa86a9ed remove extraneous directory
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3529 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-05 22:46:27 +00:00
Richard Jones
542377fea9 SWORD version 1.3.1 supporting the sword standard version 1.3.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3528 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-05 22:42:52 +00:00
Richard Jones
fdb1c37023 Remove existing common sword code; This will temporarily break the build, but is necessary to smooth the path to including the new code...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3527 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-05 22:23:33 +00:00
Mark Diggory
d3d54747ad Artifactory considers this to be an incorrect format for Maven identifiers.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3526 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-05 17:41:05 +00:00
Stuart Lewis
f82ce8f974 SF Patch [2655052] Authors re-ordered when item edited
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3520 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-03-02 17:57:49 +00:00
Andrea Bollini
b344a1bbfe [DS-1] Controlled vocab:he URL http://localhost:8080/jspui/subject-search gives internal error and a stack trace in dspace.log
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3516 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-28 12:08:38 +00:00
Andrea Bollini
65aca5a1dd [DS-1] Controlled vocab:he URL http://localhost:8080/jspui/subject-search gives internal error and a stack trace in dspace.log
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3515 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-28 12:01:53 +00:00
Mark Wood
6aadbf53f3 DS-41 Small JSP cleanups
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3507 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-27 19:39:56 +00:00
Andrea Bollini
e851e9c11c [bug SF #2645754 ] SubmissionController is not thread safe
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3506 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-27 16:47:32 +00:00
Andrea Bollini
1ac61679b2 [bug SF #2645754 ] SubmissionController is not thread safe
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3505 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-27 16:45:43 +00:00
Andrea Bollini
2fa025942e [bug SF #2645754 ] SubmissionController is not thread safe
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3504 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-27 16:07:16 +00:00
Claudia Juergen
3a5990e575 moved the locale and supported locale settings in the jspui section as the mulitlingual support beyond mere language catalogues works only for jspui
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3503 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-27 13:18:02 +00:00
Claudia Juergen
492cd2eb9f SF patch [2636514] multilingual input-forms reenabled
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3496 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-25 11:37:07 +00:00
Claudia Juergen
5afaa20568 SF patch [2612034] Remove Edit/Delete Button for Special Groups
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3495 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-25 08:46:59 +00:00
Claudia Juergen
ca4b781586 Fix for SF Bug [2620307] 'ant init_configs' copies wrong dspace.cfg
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3489 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-23 10:18:18 +00:00
Claudia Juergen
2a66fb44e6 SF patch [2612341] Patch for SF Feature Request [2609564] group delete confirm
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3488 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-20 10:49:25 +00:00
Claudia Juergen
eca471a28e SF patch [2615647] Greek translation for xmlui version 1.5.1 submitted to Google code
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3487 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-20 08:15:18 +00:00
Scott Phillips
8b47239949 (Scott Phillips) This patch fixes a bug that occured when DSpace is configured to disallow users from editing their metadata (name, phone number, etc -- typically because shibboleth or LDAP is being used). When configured this way if a user editing their subscriptions they would see their metadata fields be in error because the submit side of the form had an error.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3485 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-18 22:43:03 +00:00
Scott Phillips
90d05abf7b (Scott Phillips) Added protection for displaying statistic reports when some data (almost always incorrect data) will be to long and blow up the page. This can not be fixed by CSS or HTML in the case where the data does not contain any spaces, dashes, periods or other breakable points for a browser to use. In these cases the HTML table may extend far off the page causing all sorts of display problem. This patch adds limits to the size of data being displayed.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3484 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-18 22:39:59 +00:00
Scott Phillips
c697542022 (Scott Phillips) Fixed a bug where each time a collection export was generated a database connection would be leaked.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3483 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-18 22:37:04 +00:00
Claudia Juergen
9021447430 added line feeds to xml sitemaps
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3482 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-17 13:29:28 +00:00
Claudia Juergen
ce6a4c88fc added line feed to avoid having too long lines and made tags lower case
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3481 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-17 12:59:59 +00:00
Claudia Juergen
1240178e0f missing start tag <li>
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3478 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-16 16:42:47 +00:00
Claudia Juergen
b49f2def0d listed a change under the wrong person
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3472 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-11 10:22:17 +00:00
Claudia Juergen
277383c20d SF patch [2560974] for SF feature request [2560839] Make sitemap directory configurable
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3471 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-11 09:54:23 +00:00
Stuart Lewis
c76ddaf003 Added anonymous authentication option to initial bind in LDAPHierarchicalAuthentication
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3448 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-10 09:46:42 +00:00
Robert Tansley
fd317b9bdf (Robert Tansley)
- Add generator metadata to every page to aid search engines in interpreting page and metadata

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3441 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-05 20:03:32 +00:00
Claudia Juergen
5fe1719fce SF Patch #2540683 jspui Thai translation for 1.5.1 (gone into google code)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3439 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-05 15:54:51 +00:00
Claudia Juergen
af83619237 SF Patch #2537799 updated Thai translation (gone into google code)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3438 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-05 15:48:07 +00:00
Robert Tansley
17cf83ab63 (Robert Tansley)
- Include meta tags in head element in XMLUI

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3435 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-04 21:06:54 +00:00
Robert Tansley
6183a396e5 Remove /browse pattern from default robots.txt disallow list, as this prevents any indexing of a DSpace installation by search engines.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3422 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-02 17:56:23 +00:00
Tim Donohue
101ce9c70d Fix for SF Bug [2557654] Search with "%" causes NullPointerException in XMLUI.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3421 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-02 17:35:20 +00:00
Tim Donohue
21edf0d4b7 Fix for SF Bug [2557654] Search with "%" causes NullPointerException in XMLUI.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3420 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-02-02 17:35:12 +00:00
Mark Wood
722fff1518 [2025998] Usage event (statistics) plugin hook
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3402 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-29 15:26:05 +00:00
Tim Donohue
78ac046cc9 Fix for SF bug [2543413] XMLUI Submission forms display validation errors on other fields during add/remove. This was a usability problem that came up in local usability testing of XMLUI, that I thought would be best to fix for 1.5.2.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3399 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-28 17:08:57 +00:00
Tim Donohue
b14f5aa54a Fix for SF bug [2543413] XMLUI Submission forms display validation errors on other fields during add/remove. This was a usability problem that came up in local usability testing of XMLUI, that I thought would be best to fix for 1.5.2.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3398 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-28 17:01:47 +00:00
Stuart Lewis
fa471e5fc6 Fix for SF bug [2155479] Submission verify page handles dc.identifier.* incorrectly
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3396 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-28 07:17:29 +00:00
Tim Donohue
d5654a0530 Fix for SF bug [2541285] Submission Forms don't preserve order of values
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3395 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-27 21:08:24 +00:00
Tim Donohue
8b7694be2d Fix for SF bug [2541285] Submission Forms don't preserve order of values
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3394 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-27 21:08:16 +00:00
Stuart Lewis
b5a010cd7d Inclusion of uketd_dc OAI-PMH crosswalk
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3393 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-27 12:30:15 +00:00
Mark Wood
1acef427b9 Fix SF bug #2002866: return 404, not 200, when page Not Found
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3387 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-21 20:49:47 +00:00
Claudia Juergen
c82ed09095 Fix for SF Bug #2411653 Export Item email as hardcoded strings in sources
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3385 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-21 14:13:38 +00:00
Claudia Juergen
cce4634c32 Fix for SF Bug 2512868 Double quote problem in some fields of JSPUI
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3384 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-21 13:11:30 +00:00
Claudia Juergen
41694b1477 SF Patch #2526153 Hardcoded String in jspui browse
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3383 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-21 13:00:39 +00:00
Claudia Juergen
f06d5feb68 Fix for SF Bug #2413800 Improper display of Umlauts / Encoding of messages_de.xml, the fix itself is in google code dspace-xmlui-lang
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3382 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-21 09:41:11 +00:00
Claudia Juergen
f2dde1768a Pure cosmetics, formatted using the dspace-format.xml
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3378 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-19 17:32:13 +00:00
Claudia Juergen
9cdebe49f6 Fix for SF Bug #1571645 NullPointerException possible in review.jsp
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3377 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-19 12:29:41 +00:00
Stuart Lewis
050dbe280f Fix for SF bug [2086481] xmlui Administrative log in as another eperson
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3376 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-19 07:50:32 +00:00
Stuart Lewis
b7b6d61cff Update (C) date in JSPUI footer from 2008 to 2009
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3375 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-18 21:42:07 +00:00
Stuart Lewis
f9061c2d9f [2513300] Fix for bug [1774958] Nested folders do not export correctly
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3374 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-18 21:35:22 +00:00
Stuart Lewis
0654064bd8 Fix for SF bug [1606439] Exception handling for deleting a metadata field
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3373 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-18 21:22:41 +00:00
Stuart Lewis
1058c7485a Update XMLUI Google Analytics code to match latest tracking code
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3372 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-17 08:06:56 +00:00
Tim Donohue
b05d3e7aac Messages.xml key fix. There was a typo in the name of the key "xmlui.administrative.registries.EditBitstreamFormat.mimetype_help". It caused the key to not be translated properly on the Edit Bitstream Format page in the XMLUI.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3371 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-13 19:53:02 +00:00
Tim Donohue
e0f460799b Messages.xml key fix. There was a typo in the name of the key "xmlui.administrative.registries.EditBitstreamFormat.mimetype_help". It caused the key to not be translated properly on the Edit Bitstream Format page in the XMLUI.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3370 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-13 19:52:58 +00:00
Tim Donohue
612e202a87 Minor bug fix. Had wrong MIME Types for OpenOffice.org formats when I previously applied SF patch #2433852: Add File Format Descriptions to XMLUI 1.5.x
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3369 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-13 19:47:52 +00:00
Tim Donohue
1cc69eb3fb Minor bug fix. Had wrong MIME Types for OpenOffice.org formats when I previously applied SF patch #2433852: Add File Format Descriptions to XMLUI 1.5.x
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3368 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-13 19:47:46 +00:00
Stuart Lewis
2213eb7e73 SF patch [2385187] Fix for toDate method in DCDateSF
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3367 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-09 20:12:18 +00:00
Claudia Juergen
232d477130 Fix for SF bug [2495728] 'My Account' disappears following exports
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3366 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-09 13:59:20 +00:00
Claudia Juergen
e86c32af81 Fix for SF Bug #1745573 Itemmap-browse.jsp throws Exception on items without date
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3364 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-09 08:42:41 +00:00
Claudia Juergen
9d58af96e9 Fix for SF Bug 2493794 Hardcoded Strings in DSQuery
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3363 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2009-01-08 13:43:36 +00:00
Tim Donohue
bb567d9349 Applying Patch #2477820: DSpace 1.5 XMLUI - Enable METS <amdSec> using crosswalks. Allows you to retrieve Item-level METS files with an <amdSec> section, and generate the administrative metadata using any crosswalk. By default, the <amdSec> is NOT generated, in order to keep METS files small. But, it can be enabled via parameters on querystring (so that it is available to Themes, etc.). See patch description for more information.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3361 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-30 22:56:47 +00:00
Tim Donohue
b0ff41a863 Minor bug fix to PREMISCrosswalk. It should report that it only can disseminate Bitstream objects (via canDisseminate(dso) method), as it currently throws a CrosswalkObjectNotSupported exception whenever it's given anything other than a Bitstream object.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3360 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-30 22:51:46 +00:00
Tim Donohue
581370f1b3 Minor bug fix to PREMISCrosswalk. It should report that it only can disseminate Bitstream objects (via canDisseminate(dso) method), as it currently throws a CrosswalkObjectNotSupported exception whenever it's given anything other than a Bitstream object.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3359 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-30 22:51:40 +00:00
Tim Donohue
8c65148fb5 Applying Patch #2477820: DSpace 1.5 XMLUI - Enable METS <amdSec> using crosswalks. Allows you to retrieve Item-level METS files with an <amdSec> section, and generate the administrative metadata using any crosswalk. By default, the <amdSec> is NOT generated, in order to keep METS files small. But, it can be enabled via parameters on querystring (so that it is available to Themes, etc.). See patch description for more information.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3358 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-30 22:46:36 +00:00
Tim Donohue
8e5d11bf1c Fixed small bug in XMLUI's org.dspace.app.xmlui.cocoon.DSpaceMETSGenerator which caused Repository-wide METS file to fail to generate.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3349 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-29 18:55:28 +00:00
Tim Donohue
a94687436c Fixed small bug in XMLUI's org.dspace.app.xmlui.cocoon.DSpaceMETSGenerator which caused Repository-wide METS file to fail to generate.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3348 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-29 18:55:20 +00:00
Stuart Lewis
690c2e0775 Patch for SF feature request [1587270] Implicit group for all registered users
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3347 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-24 07:35:14 +00:00
Stuart Lewis
09dcb5219b Fix for SF bug [1730606] Restricted Items metadata exposed via OAI
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3346 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-23 19:29:52 +00:00
Tim Donohue
a1675f13fa Applying SF patch #2462293 - Enable Google Sitemaps for XMLUI
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3345 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-23 18:43:38 +00:00
Tim Donohue
d4e558acef Applying SF patch #2462293 - Enable Google Sitemaps for XMLUI
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3344 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-23 18:31:56 +00:00
Stuart Lewis
494bc2e199 Add Mark H. Wood as commiter in master pom.xml
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3343 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-23 07:54:09 +00:00
Stuart Lewis
96bcde90ad Fix for SF bug [1951859] DSpace Home link style in breadcrumb trail
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3342 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-21 08:41:26 +00:00
Stuart Lewis
eda0fccd48 Fix for SF bug [1896225] HTML tags not stripped in statistics display
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3341 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-18 20:50:36 +00:00
Stuart Lewis
54fc94d9f3 Fix for SF Bug #1968082 SWORD Service Document fails if Collection is untitled
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3340 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-18 20:05:53 +00:00
Stuart Lewis
90071e2528 Patch for SF bug #2016130 checksum checker can not retrieve very large bitstream
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3339 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-18 20:04:31 +00:00
Claudia Juergen
4e59dd511c Fix for SF Bug #1725817 Error in authorization to submit when you add collection.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3338 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-18 09:41:48 +00:00
Claudia Juergen
d22e56554e Fix for SF Bug #2125833 News stored not language dependend
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3337 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-17 12:58:34 +00:00
Claudia Juergen
f5860ba883 Fix for SF Bug #2343849 DSQuery invalid check for empty query string
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3336 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-17 12:55:41 +00:00
Tim Donohue
74b04f63e7 Applying SF patch #2433852: Add File Format Descriptions to XMLUI 1.5.x
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3335 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-16 17:20:42 +00:00
Tim Donohue
68f190bd0c Applying SF patch #2433852: Add File Format Descriptions to XMLUI 1.5.x
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3334 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-16 16:53:42 +00:00
Claudia Juergen
a5f417dc32 Fixed hardcoded metadata language qualifier in DescribeStep to use default.language configuration parameter, this old bug had been reintroduced with the customizable submission system
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3333 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-16 12:45:09 +00:00
Stuart Lewis
5761df3bcc Patch for SF bug #2016130 checksum checker can not retrieve very large bitstream
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3332 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-15 16:51:13 +00:00
Claudia Juergen
fc3938ab18 Fix for SF bugs #2352146 and #1775059 Repeated execution of chooser.jsp exhausts db conn pool
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3331 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-15 14:49:11 +00:00
Andrea Bollini
a9f9d42ede added additionals info about Bollini
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3330 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-11 16:27:42 +00:00
Andrea Bollini
b82f387db4 added additionals info about Bollini
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3329 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-11 16:25:56 +00:00
Andrea Bollini
b7c09dab17 Patch for Bug # 2414062 Auth request delayed using RetrieveServlet
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3328 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-11 16:22:33 +00:00
Andrea Bollini
078d5e39e5 Patch for Bug # 2414062 Auth request delayed using RetrieveServlet
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3327 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-10 15:54:07 +00:00
Claudia Juergen
5b12e2f551 Fixed SF Bug 2225052 Hardcoded String in CollectionViewer
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3326 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-09 13:44:30 +00:00
Claudia Juergen
91bcf097c1 Fixed typo repositry -> repository in email text, nonetheless the text should not be hardcoded a resource bundle should be used.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3325 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-09 13:21:11 +00:00
Claudia Juergen
ecaf6c5591 Added missing header for Exported Ressources in the MyDSpace Page
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3324 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-09 13:14:59 +00:00
Stuart Lewis
4cdb9f49bc (Stuart Lewis) Fix for SF bug [2343281] XHTML Head Dissimination Crosswalk exposes provenance info
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3323 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-07 07:54:21 +00:00
Stuart Lewis
1edb073d20 [2041754] Feature Request #1896717 Registration notification missing information about instance
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3322 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-06 07:29:55 +00:00
Stuart Lewis
fd90f3c669 SF bug [2137425] DSpace 1.5.1(XMLUI) Wrong dir usage of StatisticsLoader
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3321 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-06 07:10:12 +00:00
Stuart Lewis
835c3b8838 Correct small logic error concerning LDAP accounts and email addresses, and removed unused variable
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3317 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-01 20:18:08 +00:00
Stuart Lewis
7341cc5a12 (Stuart Lewis) Fix for SF bug [2164955] DSpace1.5.1(XML) problem with Login to restricted bitstreams
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3316 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-12-01 19:57:08 +00:00
Scott Phillips
f4ac318e25 (ScottPhillips) Fixed bug where collection administrator were not able to edit the roles associated with their collection (i.e. submitters or a workflow step). This was because the function checking permissions relied on the name of the group which was not initialized at the begining of the editing loop properly.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3315 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-11-21 22:23:21 +00:00
Scott Phillips
e26b1bc2c7 (ScottPhillips) Fixed bug where collection administrator were not able to edit the roles associated with their collection (i.e. submitters or a workflow step). This was because the function checking permissions relied on the name of the group which was not initialized at the begining of the editing loop properly.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3314 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-11-21 22:18:46 +00:00
Graham Triggs
65c9da9bea Add an extra index to the metadata (distinct) tables for better scalability.
Add option for 'case-insensitive' metadata browse tables, as a way to avoid the problems of duplicate entries.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3216 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-10-17 14:42:30 +00:00
Stuart Lewis
7269fe86e1 Removing duplicated dsrun
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3215 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-10-17 05:53:48 +00:00
Claudia Juergen
f292545ed4 Fixed xmlui.administrative.ItemExport.item.success
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3209 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-10-16 09:15:19 +00:00
Claudia Juergen
d4aa8e5b08 xhtml compliance missing end /
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3207 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-10-16 07:00:48 +00:00
Claudia Juergen
2442f26569 xhmtl compliance POST to "post"
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3206 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-10-16 06:44:42 +00:00
Claudia Juergen
3fe700ca91 xhtml compliance, removed superfluos <tr><td>
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3205 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-10-16 06:37:03 +00:00
Claudia Juergen
83bb0cab80 xhtml compliance, closed some tags
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3176 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-10-13 11:03:41 +00:00
Stuart Lewis
f03447bd2f Correcting small spelling mistake
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3171 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-10-09 05:46:02 +00:00
Claudia Juergen
dc01e2df95 Removed non en log info from old test
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3165 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-10-07 08:30:56 +00:00
Claudia Juergen
41242a96b0 fixed i18n mulitlingual getting and setting of default license
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3160 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-10-06 12:55:42 +00:00
Claudia Juergen
b9e5f2e2dd Corrected some XHTML issue
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3153 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-10-01 08:42:50 +00:00
Claudia Juergen
a8f72c8847 Corrected some XHTML issues
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3152 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-10-01 08:40:08 +00:00
Claudia Juergen
8eb575eefe Corrected missing end / in input-type for xhtml compliance
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3151 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-24 09:28:24 +00:00
Claudia Juergen
d5deb225b7 added missing start <tr> for xhtml compliance
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3150 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-23 11:24:03 +00:00
Claudia Juergen
98828cdef6 replaced & with entitiy for xhtml compliance
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3149 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-23 11:01:02 +00:00
Stuart Lewis
583df36a42 (Yin Latt) - SF bug [1931796] DSpace 1.5 Controlled Vocab (edit-metadata.jsp) not working on first box in twobox
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3148 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-22 13:20:49 +00:00
Stuart Lewis
8eb186cf98 (Stuart Lewis) - Changed scope of ldapGroup variable as it didn't need to be a class variable.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3147 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-22 09:57:38 +00:00
Stuart Lewis
2e31496215 (Stuart Lewis) - Enable ldap.login.specialgroup special group for all LDAP users
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3146 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-22 09:35:25 +00:00
Stuart Lewis
a0722e0f7b (Stuart Lewis) - Remove 'new Context()' where there is already one to use.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3145 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-19 15:32:43 +00:00
Stuart Lewis
899c0108f0 (Stuart Lewis) - Fix issue where users are not getting added to the ldap special group correctly, and adjusted some of the logging levels
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3144 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-19 15:26:33 +00:00
Stuart Lewis
11fcb5f3cf (Stuart Lewis) - Fix issue where users without a netid (users not authenticated via LDAP) can't login because an NPE is thrown in the getSpecialGroups method of the LDAPHierarchicalAuthentication class
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3143 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-19 07:03:49 +00:00
Stuart Lewis
fa16865ae3 (Stuart Lewis / Chris Yates / Flavio Botelho / Alex Barbieri / Reuben Pasquini) - [2057378] Hierarchical LDAP support
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3132 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-17 22:40:54 +00:00
Stuart Lewis
8fb92b9f66 [2057231] Refactor LDAPServlet to use Stackable Authentication
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3131 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-17 15:26:25 +00:00
Graham Triggs
45b6af64a3 Fix compilation errors from merge
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3130 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-12 10:30:32 +00:00
Graham Triggs
0a78f6aa64 integrated from branch 1.5
Add missing close() calls to use of TableRowIterator, also add close() to ItemIterator (to close underlying TableRowIterator)


git-svn-id: http://scm.dspace.org/svn/repo/trunk@3129 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-11 16:19:47 +00:00
Graham Triggs
722216d312 integrated from branch 1.5
Fix build problem from missing imports

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3128 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-11 15:15:38 +00:00
Graham Triggs
a84ccd5705 integrated from branch 1.5
Fix various problems with resources potentially not being freed, and other minor fixes suggested by FindBugs

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3127 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-11 15:06:38 +00:00
Mark Diggory
7c71068375 Correct to be pronoun, not contraction.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3126 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-11 01:18:03 +00:00
Mark Diggory
05bb88b693 Publish maven docs to the appropriate location
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3125 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-10 22:57:49 +00:00
Mark Diggory
095c7eb020 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3123 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-10 17:48:21 +00:00
Mark Diggory
36ce082b42 [maven-release-plugin] prepare release dspace-1_5_1
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3121 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-10 17:35:43 +00:00
Mark Diggory
6719669555 [ 2102617 ] Sands Fish - Correct version of code. X509Authentication fails to assign appropriate special groups
http://sourceforge.net/tracker/index.php?func=detail&aid=2102617&group_id=19984&atid=319984

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3120 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-10 16:30:20 +00:00
Graham Triggs
0e87da2bdd integrated from branch 1.5
Replace URLEncoder with StringEscapeUtils for better fix of escaping the hidden query field

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3119 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-10 16:12:05 +00:00
Graham Triggs
76b2fb8827 integrated from branch 1.5
Fix #2034372 - Resorting in JSPUI gives no results

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3118 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-10 15:55:35 +00:00
Brad McLean
d1578931d8 Update documentation to say 1.5.1 instead of 1.5.1Beta
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3117 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-10 13:51:21 +00:00
Mark Diggory
a094d67ebd Additional Documentation of Changes
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3116 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 21:23:27 +00:00
Mark Diggory
79761b7a59 Additional Documentation of Changes
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3115 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 21:09:59 +00:00
Mark Diggory
3c3526419e [ 2102617 ] Sands Fish - X509Authentication fails to assign appropriate special groups
http://sourceforge.net/tracker/index.php?func=detail&aid=2102617&group_id=19984&atid=319984

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3114 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 20:37:55 +00:00
Mark Diggory
1fe7487263 [ 2102580 ] William Hays: Duplicate Handle exception when replacing bitstreams
http://sourceforge.net/tracker/index.php?func=detail&aid=2102580&group_id=19984&atid=119984

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3113 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 20:12:24 +00:00
Mark Diggory
aa6776c2cf [ 2102580 ] William Hays: Duplicate Handle exception when replacing bitstreams
http://sourceforge.net/tracker/index.php?func=detail&aid=2102580&group_id=19984&atid=119984

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3112 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 20:09:45 +00:00
Graham Triggs
33e11c7a5d integrated from branch 1.5
Fix #1714851 - set eperson.subscription.onlynew in dspace.cfg to only include items that are new to the repository, otherwise any modified items will be included

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3111 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 13:45:44 +00:00
Graham Triggs
ce786d09b3 Fix compilation errors from previous merges
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3110 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 13:36:38 +00:00
Graham Triggs
9b0cde4139 integrated from branch 1.5
Fix issue where the browse and search indexes will not be updated correctly if you move an Item, and the Collection you are moving it from is not the owning collection.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3109 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 13:30:33 +00:00
Graham Triggs
1360111a12 integrated from branch 1.5
Fix problem with SWORD not accepting multiple concurrent submissions
- DSpaceSWORDServer as originally written was not re-entrant (DSpace Context was stored as a member variable)

As the deposit / servicedocument servlets maintained a handle to an *instance* of the DSpaceSWORDServer as a private member,
this had the effect of making all concurrent requests use the same instance of DSpaceSWORDServer.

Each attempt to get the servicedocument or make a deposit would therefore overwrite the Context,
so requests currently processing would be attempting to use the wrong Context insance.

This revision moves the Context to variables within the servicedocument / deposit methods.
These are passed as parameters to the called private methods, making this class re-entrant.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@3108 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 13:23:03 +00:00
Graham Triggs
e7c125c5ab integrated from branch 1.5
Add missing key org.dspace.eperson.Subscribe.authors (subscriptions where the items have authors are broken otherwise)

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3107 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 13:15:06 +00:00
Graham Triggs
e8c60a8efc integrated from branch 1.5
Fixed ambiguous column usage

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3106 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 13:12:08 +00:00
Graham Triggs
205e368e8f integrated from branch 1.5
Fix #1963060 Authors listed in reverse order

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3105 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 13:07:19 +00:00
Graham Triggs
bd7406f458 integrated from branch 1.5
Fix #1970852 - XMLUI: Browse by Issue Date "Type in Year" doesn't work

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3104 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 13:03:32 +00:00
Graham Triggs
afd1da316c Fixed compilation errors from branch merge
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3103 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 12:58:04 +00:00
Graham Triggs
e2985e2ecd integrated from branch 1.5
Statistics viewer for XMLUI, based on existing DStat. Note that this generates the view from the analysis files (.dat), does not require HTML report generation.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3102 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 12:45:34 +00:00
Graham Triggs
c95de97f0a integrated from branch 1.5
Make RequestInfo Serializable as it is stored in the current session - otherwise prevents clustering

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3101 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 11:17:33 +00:00
Graham Triggs
e8fde1ea46 integrated from branch1.5
Fixed incorrect downloading of bitstream on withdrawn item
Fixed caching of browse pages
Added addtional logging (JSP compatible)

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3100 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 10:54:18 +00:00
Graham Triggs
c3fab8eaff Add JSPUI compatible log messages to XMLUI transformers
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3099 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 10:25:48 +00:00
Mark Diggory
3905221423 This will get confusing it has a version number in its name.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3098 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-09 04:06:22 +00:00
Tim Donohue
ce13d65459 Applying previous 1.5.x branch commit to Trunk:
Fix for SF bug #2095402 - Non-interactive Submission Steps don't work in JSPUI 1.5

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3094 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-05 17:20:51 +00:00
Tim Donohue
43bdd9d7a7 Fix for SF bug #2095402 - Non-interactive Submission Steps don't work in JSPUI 1.5
(also added some previous SF bugs I fixed since 1.5 to our "CHANGES" document)

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3093 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-05 17:13:40 +00:00
Claudia Juergen
1820c54cde Fix for SF bug #2078324 xmlui hardcoded strings used in UI in General-Handler.xsl
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3092 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-05 11:48:51 +00:00
Claudia Juergen
6fde55594d Applied SF patch #2076066 Review in jspui submission non-dc metadata
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3086 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-04 14:16:42 +00:00
Claudia Juergen
03dd139957 Added the latest bug fixes to the list
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3085 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-04 14:00:11 +00:00
Claudia Juergen
e4301b5549 Fix for SF Bug #2081930 xmlui hardcoded strings in EditGroupForm.java
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3084 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-04 13:43:35 +00:00
Claudia Juergen
fd8fd7686c Fix for SF Bug #2080319 jspui hardcoded strings in browse
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3083 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-04 13:35:17 +00:00
Claudia Juergen
c6b262ac4a Patch for SF bug #2078305 xmlui hardcoded strings used in UI in xmlui-api
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3082 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-04 09:31:52 +00:00
Claudia Juergen
c487e5885d Fix for SF Bug #2090761 Statistics wrong use of dspace.dir for log location
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3081 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-03 09:24:29 +00:00
Aaron Zeckoski
dbaf557eb8 Removed DS2 profile and code from DS1 trunk and moved over to DS2 location
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3072 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-02 09:51:58 +00:00
Aaron Zeckoski
17ddc52fd7 Moving ds2 trunk over
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3071 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-02 09:48:43 +00:00
Aaron Zeckoski
d599b2cfc4 git-svn-id: http://scm.dspace.org/svn/repo/trunk@3069 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2008-09-02 09:46:25 +00:00
Aaron Zeckoski
bb4f2789f8 git-svn-id: http://scm.dspace.org/svn/repo/trunk@3068 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2008-09-02 09:45:43 +00:00
Aaron Zeckoski
20522df276 git-svn-id: http://scm.dspace.org/svn/repo/trunk@3067 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2008-09-02 09:44:43 +00:00
Aaron Zeckoski
5d8d07f92d git-svn-id: http://scm.dspace.org/svn/repo/trunk@3066 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2008-09-02 09:44:04 +00:00
Aaron Zeckoski
cdac38b557 git-svn-id: http://scm.dspace.org/svn/repo/trunk@3065 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2008-09-02 09:43:39 +00:00
Aaron Zeckoski
6afd409e9d dSpace2
Added basic utils and added in initial services
No implementations or tests yet

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3064 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-01 18:17:40 +00:00
Aaron Zeckoski
34be59daf0 dSpace2
Added the basic structure and played around with the POMs some
Added a new 2.0 profile to the base POM

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3063 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-01 11:52:46 +00:00
Aaron Zeckoski
ec6f2fd91f dSpace2
Adding in the initial folder and pom

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3062 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-09-01 10:13:58 +00:00
Mark Diggory
e94e382518 Fix problem with CLI caused in previous commit
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3061 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-29 22:34:50 +00:00
Mark Diggory
ed154a9de9 Fix problem with CLI caused in previous commit
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3061 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-29 22:34:50 +00:00
Mark Diggory
0cec7ea317 Move DSpace Initialization Code to Share DSpaceContextListener in dspace-api. add deprecation to Existing InitServlets and remove obsolete initialization cases from web.xml. (Missed configurationManager changes).
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3060 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-29 17:40:28 +00:00
Mark Diggory
e70f544b11 Need to rely on dspace-api-lang to deliver Messages.properties. This was just an example of how to overide it.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3059 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-29 04:18:29 +00:00
Mark Diggory
413329f93c svn ignore
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3058 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-29 03:41:31 +00:00
Mark Diggory
586a141187 Move DSpace Initialization Code to Share DSpaceContextListener in dspace-api. add deprecation to Existing InitServlets and remove obsolete initialization cases from web.xml.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3057 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-29 03:40:24 +00:00
Mark Diggory
0689928801 Switch container encoding to ISO-8859-1 per requirements of the servlet specification.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3056 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-29 03:12:05 +00:00
Mark Diggory
b7439f253c Move DSpace Initialization Code to Share DSpaceContextListener in dspace-api. add deprecation to Existing InitServlets and remove obsolete initialization cases from web.xml.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3055 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-29 03:03:15 +00:00
Mark Diggory
70023eb3dd Reduce issues with getting new updates from snapshot repository.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3054 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-20 00:14:00 +00:00
Brad McLean
f9baf5b5d0 Integrate doc changes from foundation's webmaster@dspace.org backlog
of submissions, and regenerate the docbook, html, and pdf.



git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3053 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-19 13:18:56 +00:00
Stuart Lewis
7ced108cef (Stuart Lewis) Fix for SF bug #2055941 LDAP authentication fails for new users in SWORD and Manakin
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3052 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-17 14:13:19 +00:00
Stuart Lewis
160adab1c9 (Stuart Lewis) Fix for SF bug #2055941 LDAP authentication fails for new users in SWORD and Manakin
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3051 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-17 14:11:20 +00:00
Mark Diggory
8b192d2665 Need more concrete references to these images within the generated content or it fails to render properly on non-unix and web viewvc systems
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3050 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-15 20:53:47 +00:00
Mark Diggory
07988fbcca Need more concrete references to these images within the generated content.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3049 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-15 20:48:48 +00:00
Mark Diggory
5a9287f40a set mime-types on html documentation
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3048 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-15 19:59:52 +00:00
Mark Diggory
b5c880176a [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3047 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-15 04:59:05 +00:00
Mark Diggory
d487cb194c [maven-release-plugin] prepare release dspace-1_5_1-beta
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3045 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-15 04:57:05 +00:00
Brad McLean
147c2e5fcb Update the docbook conversion script. Move the legacy html to a
subdirectory.  Prepare for 1.5.1Beta release.



git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3044 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-13 17:54:00 +00:00
Claudia Juergen
5f7fc9e333 Corrected missing escape of quotations in localized help links
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3043 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-13 14:20:51 +00:00
Brad McLean
2e853aee50 An initial conversion of the html documents to docbook, the script
to do that conversion, and the resulting html and pdf documents.
All of the work is done in subdirectories.
This is for review, comment, and adjustment.  Still to be done:
- Integrate the docbook to html and pdf into the Maven build.
- Merge changes from the Foundation version of docs into HTML.
- Remove the legacy HTML source.
- Remove the generated html and pdf once the build does it.
- Various small formatting cleanups.


git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3042 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-12 12:39:05 +00:00
Claudia Juergen
4f2868a901 Changed Copyright notice in default footer from MIT and HP to DSpace Foundation
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3041 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-12 11:26:23 +00:00
Brad McLean
4256c1fa81 Prepare a location for docbook version of documentation.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3040 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-10 19:44:17 +00:00
Claudia Juergen
1a3d20ecfa Added missing tags for item and collection export
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3039 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-08 09:15:29 +00:00
Graham Triggs
3f3d806ad5 Add missing close() calls to use of TableRowIterator, also add close() to ItemIterator (to close underlying TableRowIterator)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3038 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-07 09:21:47 +00:00
Graham Triggs
6e611d8750 Fix build problem from missing imports
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3037 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-07 07:00:10 +00:00
Graham Triggs
9ae95a94e7 Fix various problems with resources potentially not being freed, and other minor fixes suggested by FindBugs
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3036 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-06 15:52:30 +00:00
Mark Diggory
44cdd859a8 Added better debugging/logging capabilities, option to allow test runs, and correct bug in retrieval of date accessioned metadata value.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3035 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-05 22:39:14 +00:00
Mark Diggory
d8b31e66dd Added better debugging/logging capabilities, option to allow test runs, and correct bug in retrieval of date accessioned metadata value.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3034 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-05 22:39:04 +00:00
Graham Triggs
fd35b68315 Replace URLEncoder with StringEscapeUtils for better fix of escaping the hidden query field
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3033 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-04 09:30:00 +00:00
Mark Diggory
378409fd73 (Sands Fish) Add "Select Primary Bitstream" functionality to submission workflow and fix typos and file formating in messages.xml.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3032 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-01 22:45:03 +00:00
Mark Diggory
d74ba12beb (Sands Fish) Add "Select Primary Bitstream" functionality to submission workflow and fix typos and file formating in messages.xml.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3031 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-01 22:44:50 +00:00
Mark Diggory
e6fa9f7459 (Sands Fish) Add "Select Primary Bitstream" functionality to submission workflow and fix typos and file formating in messages.xml.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3030 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-01 22:44:23 +00:00
Claudia Juergen
75e6bc7c5c SF Bug #1983859 added Foreign Lucene Analyzers to poms
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3029 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-01 10:51:19 +00:00
Claudia Juergen
fdbaca84c9 SF Bug #1989916 - missing LDAP authentication key
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3028 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-01 08:55:39 +00:00
Graham Triggs
a55003b268 Fix #2034372 - Resorting in JSPUI gives no results
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3027 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-08-01 05:31:18 +00:00
Mark Diggory
810b2dc5cc Undo trim on getMetadata in Community that slipped into last commit. Return values need to represent what is truly in database.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3026 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-31 23:27:07 +00:00
Mark Diggory
5f22cda143 Guard against Community/Collection metadata having only whitespace characters and eliminate cases where null pointer exceptions would be thrown. Improve Collection in trunk to use metadata hashtable for license.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3025 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-31 23:23:32 +00:00
Mark Diggory
77cb5d313d Guard against Community/Collection metadata having only whitespace characters and eliminate cases where null pointer exceptions would be thrown.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3024 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-31 23:23:06 +00:00
Tim Donohue
a8de2d395b Fix to Bug #2015988 - Configurable Submission bug in SubmissionController
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3023 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-31 20:59:03 +00:00
Tim Donohue
8d93f1d810 Fix to Bug #2015988 - Configurable Submission bug in SubmissionController
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3022 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-31 20:58:42 +00:00
Tim Donohue
d64392faa8 Bug Fix for SF# 2013921 - Movement in Submission Workflow Causes Skipped Steps
THIS PATCH WAS ONLY TESTED ON 1.5.x BRANCH.  However, I've updated it for Trunk to hopefully support the new "resource/*" in the URL of the XMLUI submission process.  It's untested, as I couldn't get Trunk's XMLUI to work.

This changes the Submission workflow to use URLs of the form resource/$/submit/*.continue (where the final part is the continuation id).  In addition, the submission process also makes use of Cocoon's Page Local functionality to save the state of individual pages in the submission process.  This ensures that if the user clicks the browser "back button", previous state information can be reloaded (so the flow no longer gets confused as to the current state).

git-svn-id: http://scm.dspace.org/svn/repo/trunk@3021 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-31 20:00:44 +00:00
Tim Donohue
0ee9d6b926 Bug Fix for SF# 2013921 - Movement in Submission Workflow Causes Skipped Steps
This changes the Submission workflow to use URLs of the form handle/*/*/submit/*.continue (where the final part is the continuation id).  In addition, the submission process also makes use of Cocoon's Page Local functionality to save the state of individual pages in the submission process.  This ensures that if the user clicks the browser "back button", previous state information can be reloaded (so the flow no longer gets confused as to the current state).

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3020 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-31 19:56:48 +00:00
Tim Donohue
d6a929d784 Modified XMLUI DIM-Handler to display Collection/Community strengths if they exist within the DIM section of the METS document.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3019 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-31 15:41:24 +00:00
Tim Donohue
94708485eb Modified XMLUI DIM-Handler to display Collection/Community strengths if they exist within the DIM section of the METS document.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3019 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-31 15:41:24 +00:00
Tim Donohue
aa50995881 Fixing Java 6 specific IOException constructor in previous commit.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3018 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-30 22:03:08 +00:00
Tim Donohue
01ce2b2378 Fixing Java 6 specific IOException constructor in previous commit.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3017 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-30 22:02:47 +00:00
Tim Donohue
3755fac3b3 Enabling Community/Collection Item Counts (i.e. strengths) for XMLUI. These counts are stored in the "dc.format.extent" DIM field of the METS document generated for Communities/Collections. By default these counts are NOT displayed by the out-of-the-box themes. However, now they are available for custom themes. After talking with Scott Phillips, it was decided they should only be enabled when the "webui.strengths.cache" flag is enabled in dspace.cfg. Added a note to dspace.cfg to document this.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3016 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-30 21:49:25 +00:00
Tim Donohue
e54b36429c Updates to Community/Collection Item Counts (i.e. strengths) for XMLUI. After talking with Scott Phillips, it was decided they should only be enabled when the "webui.strengths.cache" flag is enabled in dspace.cfg. Added a note to dspace.cfg to document this..
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3015 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-30 21:35:42 +00:00
Tim Donohue
ecaece7399 Enabling Community/Collection Item Counts (i.e. strengths) for XMLUI. These counts are stored in the "dc.format.extent" DIM field of the METS document generated for Communities/Collections. By default these counts are NOT displayed by the out-of-the-box themes. However, now they are available for custom themes.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3014 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-30 20:58:34 +00:00
Mark Diggory
c489a2241f Improve DSIndexer logic in both branches to support removal of items from index when withdrawn from repository. Remove decision making logic in SearchConsumer to allow DSIndexer to make the decisions where its more appropriate.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3013 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-30 16:02:47 +00:00
Mark Diggory
a673d62f75 Improve DSIndexer logic in both branches to support removal of items from index when withdrawn from repository. Remove decision making logic in SearchConsumer to allow DSIndexer to make the decisions where its more appropriate.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3012 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-30 16:02:20 +00:00
Mark Diggory
700b9df036 Improve debug logging and correct null pointer errors in Browse and Search Consumers.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3011 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-30 05:58:25 +00:00
Mark Diggory
11f50df64a Improve debug logging and correct null pointer errors in Browse and Search Consumers.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3010 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-30 05:55:06 +00:00
Mark Diggory
5920b3bb9f Improve debug logging and correct null pointer errors in Browse and Search Consumers.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3009 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-30 05:54:54 +00:00
James Rutherford
3cc6980155 Committed SF patch #2031532 (with minor modifications) from Peter Coetzee to cache DAOs in the Context object cache. The patch also added generics to Context#fromCache(); unnecessary casts elsewhere in the code can now be removed.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3008 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-29 15:00:22 +00:00
Mark Diggory
c061eaf4df (Sands Fish) Provides fix for AuthenticationUtil where users ID's are not properly compared. As corrects issue with logged in user not having appropriate rights to be in this particular flowscript once logged in as. Eliminates need for user to do "double-logout".
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3007 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-24 21:58:58 +00:00
Mark Diggory
23acebe943 (Sands Fish) Provides fix for AuthenticationUtil where users ID's are not properly compared. As corrects issue with logged in user not having appropriate rights to be in this particular flowscript once logged in as. Eliminates need for user to do "double-logout".
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3006 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-24 21:58:42 +00:00
Mark Diggory
29ff58270c Correct Copy/Paste error in configuration.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3005 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-23 16:40:55 +00:00
Mark Diggory
9af315076e Correct Copy/Paste error in configuration.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3004 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-23 16:40:47 +00:00
Mark Diggory
bb92c12537 Correct Problems where Search and Browse Consumers do not properly update Indexes when Items are Added or Removed from Collections. (force reindexing).
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3003 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-17 22:27:29 +00:00
Mark Diggory
5f38f530e5 Correct Problems where Search and Browse Consumers do not properly update Indexes when Items are Added or Removed from Collections.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3002 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-17 22:24:53 +00:00
Mark Diggory
ecc74dade7 Correct Problems where Search and Browse Consumers do not properly update Indexes when Items are Added or Removed from Collections.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@3001 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-17 22:24:31 +00:00
Mark Diggory
27ca5f780b Correct Problems where Search and Browse Consumers do not properly update Indexes when Items are Added or Removed from Collections.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3000 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-17 22:24:03 +00:00
Mark Diggory
5a1c544c33 Correct documentation on PDFBox temp file contents.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2999 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-17 03:09:24 +00:00
Mark Diggory
00749dd0b2 Correct documentation on PDFBox temp file contents.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2998 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-17 03:09:15 +00:00
Mark Diggory
1e84e08c91 Fix NullPointerException cause by nullified Context object in LNI map item to new collection.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2997 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-17 03:06:03 +00:00
Mark Diggory
036ed9fa0e Fix NullPointerException cause by nullified Context object in LNI map item to new collection.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2996 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-17 03:05:52 +00:00
Graham Triggs
8424f0ccb4 Fix #1714851 - set eperson.subscription.onlynew in dspace.cfg to only include items that are new to the repository, otherwise any modified items will be included
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2995 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-15 08:19:31 +00:00
Stuart Lewis
e2b80cc4a2 (Stuart Lewis) Updated upgrade instructions to include step for copying the new registration email
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2994 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-10 08:14:53 +00:00
Mark Diggory
05db166e63 Printing out the Stacktrace should always be done... Its nice to know why and where there was an exception.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2993 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-10 04:13:53 +00:00
Mark Diggory
a2afc286cd 1.) Adjust Logging in DAVServlet so that errors can actually be seen in the server logs.
2.) Remove throws ServletException from DAVResource API where it is never ever thrown.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2992 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-10 04:12:56 +00:00
Mark Diggory
b5c7928e81 1.) Adjust Logging in DAVServlet so that errors can actually be seen in the server logs.
2.) Remove throws ServletException from DAVResource API where it is never ever thrown.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2991 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-09 23:51:24 +00:00
Mark Diggory
7ceeacd0fc Printing out the Stacktrace should always be done... Its nice to know why and where there was an exception.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2990 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-09 21:52:42 +00:00
Mark Diggory
0d603e5216 Block Basic Authentication "details" from being exposed in dspace logs.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2989 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-09 17:41:06 +00:00
Mark Diggory
d3b3024439 Block Basic Authentication "details" from being exposed in dspace logs.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2988 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-09 17:40:58 +00:00
Mark Diggory
2cfd2c689b Block Basic Authentication "details" from being exposed in dspace logs.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2987 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-09 17:40:37 +00:00
Graham Triggs
fbfe1c2471 Fix issue where the browse and search indexes will not be updated correctly if you move an Item, and the Collection you are moving it from is not the owning collection.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2986 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-09 15:40:29 +00:00
Scott Phillips
c785add656 (Scott Phillips) Fixed bug where users could not finish registering nor reset their password because the authentication method signatures were changed. This patch has only been tested against 1.5 branch.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2985 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-08 16:05:34 +00:00
Scott Phillips
18eb47b96d (Scott Phillips) Fixed bug where users could not finish registering nor reset their password because the authentication method signatures were changed. This patch has only been tested against 1.5 branch.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2984 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-08 16:04:56 +00:00
Stuart Lewis
0c057e80c7 (Stuart Lewis / Claudia Juergen) Updated installation and configuration documents for new statistics scripts, and removed references to Perl
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2983 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-08 13:56:44 +00:00
Mark Diggory
366b09a70f Making search field descriptions more specific to Communities and Collections.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2982 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-08 04:53:45 +00:00
Mark Diggory
8516caead8 (Bill Hays, Mark Diggory -MIT Libraries) Close InputStreamReaders explicitly to release any file handles back to OS. Originally based on patch provided by Bill Hays.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2981 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-07 23:47:02 +00:00
Mark Diggory
473d19fac9 (Bill Hays, Mark Diggory -MIT Libraries) Close InputStreamReaders explicitly to release any file handles back to OS. Originally based on patch provided by Bill Hays.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2980 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-07 23:46:56 +00:00
James Rutherford
61ba0de4ea Cleaned up the exception handling a bit (removed remnants of debugging code that shouldn't have made it into trunk).
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2979 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-07 10:22:18 +00:00
Mark Diggory
58525d9be1 Use urn:uuid: where more appropriate.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2978 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-05 06:15:19 +00:00
Mark Diggory
e19e380e98 Adding ability to get all ResourcePolicies independent of Group or Action ID.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2977 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-04 19:21:05 +00:00
Graham Triggs
ff790eb38a Fix problem with SWORD not accepting multiple concurrent submissions
- DSpaceSWORDServer as originally written was not re-entrant (DSpace Context was stored as a member variable)

As the deposit / servicedocument servlets maintained a handle to an *instance* of the DSpaceSWORDServer as a private member,
this had the effect of making all concurrent requests use the same instance of DSpaceSWORDServer.

Each attempt to get the servicedocument or make a deposit would therefore overwrite the Context,
so requests currently processing would be attempting to use the wrong Context insance.

This revision moves the Context to variables within the servicedocument / deposit methods.
These are passed as parameters to the called private methods, making this class re-entrant.


git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2976 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-07-02 13:03:48 +00:00
Stuart Lewis
c67034d6d4 (Stuart Lewis) Changed SWORD config key from server-class to sword-server-class to bring it in line with the master SWORD code in the SWORD-APP SVN repository.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2975 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-26 05:51:57 +00:00
Scott Phillips
5fd5a9ff1c Jay Paz (SF#1898241) Additional fixes to patch to enable reuse of methods.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2974 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-25 19:31:06 +00:00
Scott Phillips
bbf15f17b5 Jay Paz (SF#1898241) Additional fixes to patch to enable reuse of methods.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2973 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-25 19:30:18 +00:00
Scott Phillips
f9e13057a3 (ScottPhillips) Added the ability to manage sessions with site wide alerts to prevent users from authenticating. This will help administrators when the system requires maintaince. They can leave the site up and functioning while restricting logins to ensure that no items are submitted or other state changes. (This patch has only been tested on the 1.5 branch)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2972 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-25 00:26:41 +00:00
Scott Phillips
c3ba3294be (ScottPhillips) Added the ability to manage sessions with site wide alerts to prevent users from authenticating. This will help administrators when the system requires maintaince. They can leave the site up and functioning while restricting logins to ensure that no items are submitted or other state changes.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2971 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-25 00:25:56 +00:00
Scott Phillips
59e4c326cf ScottPhillips: Fixes a bug where the ability to edit an item durring workflow step 2 is not displayed.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2970 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-24 21:31:50 +00:00
Scott Phillips
f1a495552a ScottPhillips: Fixes a bug where the ability to edit an item durring workflow step 2 is not displayed.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2969 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-24 21:31:06 +00:00
Scott Phillips
eb717aa6e1 Jay Paz (SF#1898241) Add item Export from jspui and xmlui.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2968 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-24 21:08:28 +00:00
Scott Phillips
0292f77157 ScottPhillips: Fixes a bug where community and collection logos do not appear because they do not have names.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2967 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-24 21:06:12 +00:00
Scott Phillips
f7e0c054b9 Jay Paz (SF#1898241) Add item Export from jspui and xmlui. I can't say everything works as not everything on trunk works, but it works on 1.5
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2966 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-24 21:02:04 +00:00
Scott Phillips
7858eb3bf1 ScottPhillips: Fixes a problem where community and collection logos do not appear.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2965 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-24 20:58:54 +00:00
Stuart Lewis
5d58d5500d (Stuart Lewis) Corrected one line of upgrade instructions (incorrect path for stat files to copy)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2964 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-17 14:12:24 +00:00
Graham Triggs
b62b05f189 Add missing key org.dspace.eperson.Subscribe.authors (subscriptions where the items have authors are broken otherwise)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2963 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-17 13:23:57 +00:00
Mark Diggory
2f3b41e795 correct linking on pages when xmlui is the ROOT webapplication
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2962 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-12 00:21:52 +00:00
Mark Diggory
edaa197096 correct linking on pages when xmlui is the ROOT webapplication
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2961 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-12 00:20:28 +00:00
Stuart Lewis
d82d24c3ba (Zuki Ebetsu / Stuart Lewis) [1990660] SWORD Service Document are malformed / Corrected Atom publishing MIME types
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2960 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-11 11:11:05 +00:00
Stuart Lewis
aa2df4c39b Stuart Lewis - [ 1947036 ] Patch for SF Bug1896960 SWORD authentication and LDAP + [ 1989874 ] LDAPAuthentication pluggable method broken for current users
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2959 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-11 09:40:51 +00:00
Graham Triggs
40984350a4 Fixed ambiguous column usage
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2958 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-09 10:05:29 +00:00
Graham Triggs
07069e8d0f Fix #1963060 Authors listed in reverse order
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2957 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-07 20:59:20 +00:00
Graham Triggs
2d4b527b99 Fix #1970852 - XMLUI: Browse by Issue Date "Type in Year" doesn't work
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2956 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-06 14:05:39 +00:00
Graham Triggs
d4e859fcd3 Statistics viewer for XMLUI, based on existing DStat.
Note that this generates the view from the analysis files (.dat), does not require HTML report generation.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2955 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-06 11:06:09 +00:00
Stuart Lewis
11b9a0b588 Stuart Lewis - Fixed issue reported by Gary Browne relating to old messages still appearing in the stat scripts.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2954 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-06 05:16:12 +00:00
Mark Diggory
d7ca0b0fb7 correct issue with sitemap redirection of mydspace uri. Better solution, move up into webapp sitemap where it can be caught and issued prior to aspect activation. Placing in aspects is effected by aspect ordering. Its not possible to predictably redirect from within aspect pipelines.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2953 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-05 23:03:51 +00:00
Mark Diggory
9388fd95a9 correct issue with sitemap redirection of mydspace uri. Better solution, move up into webapp sitemap where it can be caught and issued prior to aspect activation. Placing in aspects is effected by aspect ordering. Its not possible to predictably redirect from within aspect pipelines.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2953 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-05 23:03:51 +00:00
Mark Diggory
2e7da0836b correct issue with sitemap redirection of mydspace uri.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2952 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-05 22:34:27 +00:00
Mark Diggory
1de52672f6 correct issue with sitemap redirection of mydspace uri.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2952 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-06-05 22:34:27 +00:00
Graham Triggs
cc604e0ed3 Added cleanup listeners. Updated Fileupload and IO dependencies to fix occassional upload problems, and improve application cleanup.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2951 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-28 15:22:31 +00:00
Tim Donohue
7e209122af Removing HREFs in Update documentation that accidentally reference Scott's filesystem.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2950 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-28 14:49:49 +00:00
Tim Donohue
a2515132de 1.5 upgrade instructions were missing Metadata Registry updates necessary to support SWORD.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2949 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-27 21:47:54 +00:00
Graham Triggs
6ae60a3954 Fixed incorrect downloading of bitstream on withdrawn item
Fixed caching of browse pages
Added addtional logging (JSP compatible)

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2948 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-25 20:51:47 +00:00
Mark Diggory
c2ddaf2e61 To be consistent with JSPUI Only show top level communities at top level search.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2947 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-24 05:44:15 +00:00
Mark Diggory
5b54e5a9ec To be consistent with JSPUI Only show top level communities at top level search.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2947 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-24 05:44:15 +00:00
Graham Triggs
6d124c10ca Add JSPUI compatible log messages to XMLUI transformers
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2946 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-23 22:49:36 +00:00
Mark Diggory
29981a8134 Add serlet-api to overlay wars to reduce compile time errors when adding classes
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2945 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-23 05:59:11 +00:00
Mark Diggory
883655d818 Add serlet-api to overlay wars to reduce compile time errors when adding classes
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2944 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-23 05:55:15 +00:00
Mark Diggory
0000cabb00 Add serlet-api to overlay wars to reduce compile time errors when adding classes
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2944 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-23 05:55:15 +00:00
Mark Diggory
7a3def94c5 Drop the use of pluginRepository from 1.5.x Branch to eliminate warning in build process.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2943 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-22 23:45:53 +00:00
Graham Triggs
b3392e1d32 Make RequestInfo Serializable as it is stored in the current session - otherwise prevents clustering
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2942 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-20 15:19:21 +00:00
Graham Triggs
17cd67dd93 Make RequestInfo Serializable as it is stored in the current session - otherwise prevents clustering
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2941 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-20 15:18:41 +00:00
Graham Triggs
071bee15c6 Make config Serializable as it is stored in the current session - otherwise prevents clustering
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2940 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-19 15:15:13 +00:00
Graham Triggs
94a897d12a Make config Serializable as it is stored in the current session - otherwise prevents clustering
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2939 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-19 15:14:27 +00:00
Mark Diggory
16b350833d Correct issues in feed generation where description value is overwritten and only the first instance of a field is included in the description.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2938 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-18 18:25:28 +00:00
Mark Diggory
60d3e6ce59 Correct issues in feed generation where description value is overwritten and only the first instance of a field is included in the description.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2938 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-18 18:25:28 +00:00
Mark Diggory
dcff318d76 redirect mydspace to submissions if encountered (approval notices from workflow still contain this path).
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2937 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-16 17:09:44 +00:00
Mark Diggory
58f35ee427 redirect mydspace to submissions if encountered (approval notices from workflow still contain this path).
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2937 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-16 17:09:44 +00:00
Mark Diggory
8e5d718bba Adjust Advanced Search to use search properties from dspace.cfg for determining terms available to users. Add common Messages for some commonly used search indexes.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2936 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-15 20:48:08 +00:00
Mark Diggory
e12dfd5c7c Adjust Advanced Search to use search properties from dspace.cfg for determining terms available to users. Add common Messages for some commonly used search indexes.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2936 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-15 20:48:08 +00:00
Mark Diggory
a5b1a8b937 add to svn:ignore
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2935 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-14 23:21:45 +00:00
Mark Diggory
835e337206 add to svn:ignore
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2934 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-14 23:21:24 +00:00
Mark Diggory
7099fc2fe0 Protect against null pointer when bitstream has no name. See:
http://sourceforge.net/tracker/index.php?func=detail&aid=1939278&group_id=19984&atid=119984

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2933 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-14 18:23:33 +00:00
Mark Diggory
d98d07e898 PRotect against null pointer when bitstrema has no name. See:
http://sourceforge.net/tracker/index.php?func=detail&aid=1939278&group_id=19984&atid=119984

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2932 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-14 18:17:48 +00:00
Graham Triggs
3c6969572d Update db dependencies to remove problem with Thread creation / locking in -pool
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2931 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-14 11:51:30 +00:00
Graham Triggs
901ff568e1 Update db dependencies to remove problem with Thread creation / locking in -pool
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2930 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-14 11:48:41 +00:00
Graham Triggs
7b84dc8874 Slight cleanup of how DBCP driver is referenced
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2929 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-08 11:30:18 +00:00
Graham Triggs
ce557ac337 Slight cleanup of how DBCP driver is referenced
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2928 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-08 11:29:44 +00:00
Graham Triggs
d8fe136cce Improved cleanup of database resources when web application is unloaded
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2927 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-07 16:17:04 +00:00
Graham Triggs
b3f63045a8 Improved cleanup of database resources when web application is unloaded
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2926 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-07 16:15:51 +00:00
Graham Triggs
0294d58997 Clean up use of ThreadLocal with finally block in DSpaceCocoonServlet and more recent revision of logkit
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2925 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-07 10:19:52 +00:00
Graham Triggs
ba898acd29 Clean up use of ThreadLocal with finally block in DSpaceCocoonServlet and more recent revision of logkit
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2924 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-05-07 10:19:19 +00:00
Tim Donohue
af9ae0cde6 Copying recent dspace.cfg change from 1.5.x branch to Trunk:
Despite being available configs in 1.5, these two 'pdffilter.' configurations were missing from the 1.5 dspace.cfg file.   I've added them, but they are commented out by default.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2923 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-23 17:15:59 +00:00
Tim Donohue
7cc9047c60 Despite being available configs in 1.5, these two 'pdffilter.' configurations were missing from the 1.5 dspace.cfg file. I've added them, but they are commented out by default.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2922 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-23 15:18:21 +00:00
Richard Jones
5c9cda751d minor modifications to group membership analysis so that it actually works
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2921 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-17 16:54:18 +00:00
Richard Jones
5f79aa75a3 enable the sword overlay module
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2920 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-17 14:52:23 +00:00
Richard Jones
3d5d1a8029 minor re-jigging of sword module pom to line up with other module poms
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2919 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-17 10:11:06 +00:00
Mark Diggory
a331296927 Add back in more difficult changes left out of previous merge from 1.5.x branch
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2918 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-17 06:07:40 +00:00
Mark Diggory
de52d398bd Block out these methods until the dspace-api merge issues can be properly resolved.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2917 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-17 06:05:27 +00:00
Mark Diggory
e46f93dab1 Block out these methods until the dspace-api merge issues can be properly resolved.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2916 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-17 06:04:52 +00:00
Mark Diggory
caa5061308 Correct Checker where I18N was removed.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2915 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-16 14:59:25 +00:00
Mark Diggory
300d029b78 Fix merged handle cases and odd merge placements.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2914 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-16 14:47:20 +00:00
Mark Diggory
03d73999e4 change method exposure and remove unused I18N class.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2913 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-16 14:46:11 +00:00
Richard Jones
f914bcd7fa modify the poms to enable sword (which now compiles, but is as yet untested) and disable xmlui (which currently doesn't build)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2912 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-16 14:39:04 +00:00
Richard Jones
4ea0b2f94c changes to bring SWORD into line with current working practices on the trunk
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2911 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-16 14:32:35 +00:00
Richard Jones
9c3f4c2dc3 add an identifier service to allow identifiers with arbitrary base urls to be created which override the default configuration set urls
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2910 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-16 14:28:39 +00:00
Mark Diggory
4eef061ac2 Fix merge errors in pom files.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2909 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-16 13:47:18 +00:00
Richard Jones
8b8b1b573c introduce basic PURL Partial Redirect identifier service to DSpace. Currently I have left this and Handles activated simultaneously so that every item will get a handle and a purl as well as its usual UUID. Purls are currently set as preferred URL namespace. For the Purls to actually work you will need to register your purl.partial-redirect.prefix with purl.org.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2908 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-16 10:48:43 +00:00
Richard Jones
2558743436 fix jspui display bug for multiple external identifiers
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2907 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-16 10:30:36 +00:00
Richard Jones
d0d385b44d fix UUID resolving bug introduced during refactoring
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2906 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-16 10:29:31 +00:00
Mark Diggory
e34a1eb008 Merge back from 1.5.x branch to trunk for LNI
r10061@mark-diggorys-computer-2 (orig r2798):  mdiggory | 2008-03-10 16:45:36 -0700
 1.) Moving language-packs to dspace-sandbox. See:  http://dspace-sandbox.googlecode.com/svn/modules/dspace-api-lang/trunk/
 2.) Adjusting dependencies and dspace-api-lang project name
 3.) Cleaning up versioning in poms, removing uneccessary dependencies and version tag
 4.) consolidating wars generated so that dspace-xxx-webapp wars are skinny by default.
 r10064@mark-diggorys-computer-2 (orig r2801):  ScottPhillips | 2008-03-10 18:59:40 -0700
 [maven-release-plugin] prepare release dspace-1.5-beta2
 r10066@mark-diggorys-computer-2 (orig r2803):  ScottPhillips | 2008-03-10 19:00:23 -0700
 [maven-release-plugin] prepare for next development iteration
 r10087@mark-diggorys-computer-2 (orig r2809):  tdonohue | 2008-03-11 14:34:43 -0700
 Force assembly to use 2.2-beta-1, so that everything works on Maven 2.0.8
 r10193@mark-diggorys-computer-2 (orig r2855):  ScottPhillips | 2008-03-18 11:48:27 -0700
 [maven-release-plugin] prepare release dspace-1_5-rc1
 r10195@mark-diggorys-computer-2 (orig r2857):  ScottPhillips | 2008-03-18 11:51:15 -0700
 [maven-release-plugin] prepare for next development iteration
 r10229@mark-diggorys-computer-2 (orig r2867):  ScottPhillips | 2008-03-24 19:25:48 -0700
 [maven-release-plugin] prepare release dspace-1_5
 r10231@mark-diggorys-computer-2 (orig r2869):  ScottPhillips | 2008-03-24 19:26:55 -0700
 [maven-release-plugin] prepare for next development iteration


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2905 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-16 00:00:43 +00:00
Mark Diggory
ada9d1d904 Merge back from 1.5.x branch
r10061@mark-diggorys-computer-2 (orig r2798):  mdiggory | 2008-03-10 16:45:36 -0700
 1.) Moving language-packs to dspace-sandbox. See:  http://dspace-sandbox.googlecode.com/svn/modules/dspace-api-lang/trunk/
 2.) Adjusting dependencies and dspace-api-lang project name
 3.) Cleaning up versioning in poms, removing uneccessary dependencies and version tag
 4.) consolidating wars generated so that dspace-xxx-webapp wars are skinny by default.
 r10062@mark-diggorys-computer-2 (orig r2799):  mdiggory | 2008-03-10 17:36:45 -0700
 getting project name consistent with other module projects.
 r10064@mark-diggorys-computer-2 (orig r2801):  ScottPhillips | 2008-03-10 18:59:40 -0700
 [maven-release-plugin] prepare release dspace-1.5-beta2
 r10066@mark-diggorys-computer-2 (orig r2803):  ScottPhillips | 2008-03-10 19:00:23 -0700
 [maven-release-plugin] prepare for next development iteration
 r10193@mark-diggorys-computer-2 (orig r2855):  ScottPhillips | 2008-03-18 11:48:27 -0700
 [maven-release-plugin] prepare release dspace-1_5-rc1
 r10195@mark-diggorys-computer-2 (orig r2857):  ScottPhillips | 2008-03-18 11:51:15 -0700
 [maven-release-plugin] prepare for next development iteration
 r10229@mark-diggorys-computer-2 (orig r2867):  ScottPhillips | 2008-03-24 19:25:48 -0700
 [maven-release-plugin] prepare release dspace-1_5
 r10231@mark-diggorys-computer-2 (orig r2869):  ScottPhillips | 2008-03-24 19:26:55 -0700
 [maven-release-plugin] prepare for next development iteration


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2904 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-15 23:58:53 +00:00
Mark Diggory
78f5211cd5 Merging changes from 1.5.x to trunk for "dspace" project
r9930@mark-diggorys-computer-2 (orig r2763):  mdiggory | 2008-02-28 12:40:47 -0800
 Needs to look for SNAPSHOT version as well until released.
 r9931@mark-diggorys-computer-2 (orig r2764):  mdiggory | 2008-02-28 12:57:28 -0800
 Qualifying the location with ${basedir} assures that build will work in both top level and inside the dspace directory.
 r9932@mark-diggorys-computer-2 (orig r2765):  mdiggory | 2008-02-28 15:33:29 -0800
 Undo previous commit and adjust release management profiles.  We cannot currently build whole project from top level.
 r9968@mark-diggorys-computer-2 (orig r2772):  mdiggory | 2008-02-29 13:49:42 -0800
 fix rpoject version until release can be figured out.
 r9986@mark-diggorys-computer-2 (orig r2781):  ScottPhillips | 2008-03-03 16:46:49 -0800
 (Scott Phillips) Removed useless common problem.
 r9987@mark-diggorys-computer-2 (orig r2782):  ScottPhillips | 2008-03-03 17:41:06 -0800
 (Scott Phillips) SF#1896186 - mail.charset not documented in dspace.cfg
 r9988@mark-diggorys-computer-2 (orig r2783):  ScottPhillips | 2008-03-03 19:20:21 -0800
 (Scott Phillips) webui.content_disposition_threshold -> xmlui.content_disposition_threshold 
 r9993@mark-diggorys-computer-2 (orig r2788):  ScottPhillips | 2008-03-03 21:48:48 -0800
 (Scott Phillips) Added support for xmlui.supported.locales parameter so that an administrator can choose which languages to deploy Manakin in.
 r10033@mark-diggorys-computer-2 (orig r2791):  grahamtriggs | 2008-03-07 04:04:08 -0800
 Fix Oracle upgrade script
 r10035@mark-diggorys-computer-2 (orig r2793):  ScottPhillips | 2008-03-07 09:33:32 -0800
 (Scott Phillips) SF#1908952 - Office 2007 formats cannot be added to FormatRegistry
 r10036@mark-diggorys-computer-2 (orig r2794):  ScottPhillips | 2008-03-07 11:53:12 -0800
 (Scott Phillips) Added OpenOffice document formats to the default format registry.
 r10037@mark-diggorys-computer-2 (orig r2795):  mdiggory | 2008-03-07 15:16:10 -0800
 rename generated webapps and force assembly to use 2.2-beta-1
 r10061@mark-diggorys-computer-2 (orig r2798):  mdiggory | 2008-03-10 16:45:36 -0700
 1.) Moving language-packs to dspace-sandbox. See:  http://dspace-sandbox.googlecode.com/svn/modules/dspace-api-lang/trunk/
 2.) Adjusting dependencies and dspace-api-lang project name
 3.) Cleaning up versioning in poms, removing uneccessary dependencies and version tag
 4.) consolidating wars generated so that dspace-xxx-webapp wars are skinny by default.
 r10064@mark-diggorys-computer-2 (orig r2801):  ScottPhillips | 2008-03-10 18:59:40 -0700
 [maven-release-plugin] prepare release dspace-1.5-beta2
 r10066@mark-diggorys-computer-2 (orig r2803):  ScottPhillips | 2008-03-10 19:00:23 -0700
 [maven-release-plugin] prepare for next development iteration
 r10084@mark-diggorys-computer-2 (orig r2806):  mdiggory | 2008-03-11 08:16:09 -0700
 don't use version in war plugin.
 
 r10085@mark-diggorys-computer-2 (orig r2807):  mdiggory | 2008-03-11 08:22:24 -0700
 add trailing slashes to complete uri for webapps to be created correctly.
 r10086@mark-diggorys-computer-2 (orig r2808):  tdonohue | 2008-03-11 11:00:59 -0700
 Fix for [ SF# 1896466 ] 1.5 install breaks in Windows with spaces in path names
 
 The file path arguments in ANT should have single quotes (' ') around them, to ensure that filepaths with spaces are passed properly to the Load Registry scripts.
 r10088@mark-diggorys-computer-2 (orig r2810):  ScottPhillips | 2008-03-11 17:32:34 -0700
 (Scott Phillips) Split the update task into two: update_code and update_webapps. Also added the "-Dwars=true" switch to create war files.
 r10093@mark-diggorys-computer-2 (orig r2815):  ScottPhillips | 2008-03-11 23:01:29 -0700
 (Scott Phillips) Added shibboleth options to disable editing of metadata and registration of new users if desired.
 r10094@mark-diggorys-computer-2 (orig r2816):  ScottPhillips | 2008-03-11 23:02:28 -0700
 (Scott Phillips) Corrected target description.
 r10108@mark-diggorys-computer-2 (orig r2817):  grahamtriggs | 2008-03-12 05:08:19 -0700
 Corrections to Oracle schema
 r10111@mark-diggorys-computer-2 (orig r2820):  tdonohue | 2008-03-12 10:19:54 -0700
 Minor changes to documentation...added 'dspace-sword' to directories listing.
 r10112@mark-diggorys-computer-2 (orig r2821):  ScottPhillips | 2008-03-12 13:18:05 -0700
 (Scott Phillips) Add DRI Schema Reference to the DSpace manual
 r10113@mark-diggorys-computer-2 (orig r2822):  tdonohue | 2008-03-12 14:09:18 -0700
 Updates to the DRI Schema version 1.1 from Scott Phillips.
 r10119@mark-diggorys-computer-2 (orig r2828):  ScottPhillips | 2008-03-12 19:55:12 -0700
 (Scott Phillips) Added xmlui.user.loginredirect to determine where a user should go after logging into the system.
 r10120@mark-diggorys-computer-2 (orig r2829):  mdiggory | 2008-03-12 21:48:34 -0700
 Adjust xml declaration and include dspace-api-lang into build process if present.
 r10139@mark-diggorys-computer-2 (orig r2830):  tdonohue | 2008-03-13 08:08:06 -0700
 Cleaned up the 1.5 Windows Install instructions.  It previously contained a lot of Unix commands and Unix-specific language.
 r10140@mark-diggorys-computer-2 (orig r2831):  grahamtriggs | 2008-03-13 09:19:15 -0700
 Fixed problem with thumbnails appearing multiple times if you include multiple dates in your list columns.
 Also provides for a more attractive display, and faster table rendering.
 r10143@mark-diggorys-computer-2 (orig r2834):  tdonohue | 2008-03-13 12:15:32 -0700
 Removed references to the old 'history' directory, and the 'history.dir' param from dspace.cfg
 r10144@mark-diggorys-computer-2 (orig r2835):  tdonohue | 2008-03-13 12:18:32 -0700
 minor updates to Windows install instructions
 r10146@mark-diggorys-computer-2 (orig r2837):  tdonohue | 2008-03-13 13:57:30 -0700
 MAJOR reorg of the 'dspace.cfg' file.  Created sections to separate out "general configurations" (i.e. API-layer), XMLUI-specific, JSPUI-specific and ones that work in both those interfaces.  (Oh, and obviously a section for SWORD & OAI)
 r10147@mark-diggorys-computer-2 (orig r2838):  ScottPhillips | 2008-03-13 14:14:32 -0700
 (Scott Phillips) Recent submissions effects both interfaces.
 r10149@mark-diggorys-computer-2 (orig r2840):  ScottPhillips | 2008-03-13 15:44:19 -0700
 (Scott Phillips) Added a DTD for the xmlui.xconf
 r10150@mark-diggorys-computer-2 (orig r2841):  mdiggory | 2008-03-13 21:55:34 -0700
 correct id of snapshot repository.
 r10173@mark-diggorys-computer-2 (orig r2846):  mdiggory | 2008-03-17 14:15:17 -0700
 Adjust all modules to be under a simpler naming convention so that rebranding does not have to be of the war/webapp names themselves.
 r10174@mark-diggorys-computer-2 (orig r2847):  mdiggory | 2008-03-17 14:26:36 -0700
 Adjust all modules to be under a simpler naming convention so that rebranding does not have to be of the war/webapp names themselves.
 r10176@mark-diggorys-computer-2 (orig r2849):  ScottPhillips | 2008-03-17 22:23:13 -0700
 (Scott Phillips) Fixed a bug where the new.xml file was not being read. I changed the file to news-xmlui.xml so that it lists well with the other news files for the jspui. I also have supplied a default version of this file.
 r10193@mark-diggorys-computer-2 (orig r2855):  ScottPhillips | 2008-03-18 11:48:27 -0700
 [maven-release-plugin] prepare release dspace-1_5-rc1
 r10195@mark-diggorys-computer-2 (orig r2857):  ScottPhillips | 2008-03-18 11:51:15 -0700
 [maven-release-plugin] prepare for next development iteration
 r10223@mark-diggorys-computer-2 (orig r2863):  mdiggory | 2008-03-21 14:22:31 -0700
 Asure handle server logs to its own log and dspace is not in control of logging.
 r10227@mark-diggorys-computer-2 (orig r2865):  ScottPhillips | 2008-03-24 08:20:28 -0700
 (Scott Phillips) Added a licensing notice stating the copyright has transfered from HP+MIT to DSpace
 r10228@mark-diggorys-computer-2 (orig r2866):  ScottPhillips | 2008-03-24 08:20:57 -0700
 (Scott Phillips) Updated known bugs
 r10229@mark-diggorys-computer-2 (orig r2867):  ScottPhillips | 2008-03-24 19:25:48 -0700
 [maven-release-plugin] prepare release dspace-1_5
 r10231@mark-diggorys-computer-2 (orig r2869):  ScottPhillips | 2008-03-24 19:26:55 -0700
 [maven-release-plugin] prepare for next development iteration
 r10240@mark-diggorys-computer-2 (orig r2871):  mdiggory | 2008-03-28 07:13:29 -0700
 Correct issue with libraries being excluded
 r10296@mark-diggorys-computer-2 (orig r2895):  ScottPhillips | 2008-04-14 10:58:15 -0700
 (Scott Phillips) Added the ability for super admins to login as other users. This is controled by the parameter xmlui.user.assumelogin, default value is false.
 r10297@mark-diggorys-computer-2 (orig r2896):  ScottPhillips | 2008-04-14 11:37:31 -0700
 (Scott Phillips) Added easy support for google analytics statistics, if you want to use analytics simple provide your key in the parameter "xmlui.google.analytics.key".
 r10298@mark-diggorys-computer-2 (orig r2897):  ScottPhillips | 2008-04-14 21:14:43 -0700
 (Scott Phillips) Added an activity viewer to the Control Panel showing the current user activity on the repository.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2903 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-15 23:57:13 +00:00
Mark Diggory
692cabc55d The following merge back from the 1.5.x brnach to trunk may include any of the following changes in dspace-xmlui...
(Scott Phillips) SF#1896732 - Primary Bitstream flag no effect on bitstream display
 (Scott Phililps) SF#1899958 - User appears logged in when not logged in
 (Scott Phillips) patch to prevent cocoon's cache from filling up your tomcat work directory with caches that will never be used.
 (Scott Phillips) Added protection against communities and collections which have a null value title.
 (Scott Phillips) SF#1896183 - Special characters in xmlui
 (Scott Phillips) SF#1897804 - non-administrator unable to create subcommunity
 (Scott Phillips) SF#1896521 - Manakin XMLUI ignores content disposition threshold
 (Scott Phillips) webui.content_disposition_threshold -> xmlui.content_disposition_threshold 
 (Scott Phillips) Added support for xmlui.supported.locales parameter so that an administrator can choose which languages to deploy Manakin in.
 (Scott Phillips) Reduce the number of duplicate language tags for common strings such as Next, Save, Confirm, Delete, etc...
 1.) Moving language-packs to dspace-sandbox. See:  http://dspace-sandbox.googlecode.com/svn/modules/dspace-api-lang/trunk/
 2.) Adjusting dependencies and dspace-api-lang project name
 3.) Cleaning up versioning in poms, removing uneccessary dependencies and version tag
 4.) consolidating wars generated so that dspace-xxx-webapp wars are skinny by default.
 [maven-release-plugin] prepare release dspace-1.5-beta2
 [maven-release-plugin] prepare for next development iteration
 (Scott Phillips) Added the missing general Untitled tag
 (Scott Phillips) Added protection for untitled communities or collections - the api no longer returns the string "untitled" if none exists.
 (Scott Phillips) Fixes display bug in IE6&7 on the submission submit buttons.
 (Scott Phillips) Removed hidden form item, replaced with a hidden field on the division. This resulted in a blank item being placed in the form.
 (Scott Phillips) Added shibboleth options to disable editing of metadata and registration of new users if desired.
 (Scott Phillips) SF#1912952 - XMLUI: Cannot add Person to Group with auto-generated name
 Fix for SF Bug # [ 1904131 ] <visibility>workflow</visibility> doesn't work in manakin
 (Scott Phillips) SF#1913091 - JSPUI & XMLUI: Problem deleting Collection-associated groups
 (Scott Phillips) SF#1898915 - Exception displayed on delete of ePerson that has submitted
 (Scott Phillips) Added xmlui.user.loginredirect to determine where a user should go after logging into the system.
 (Scott Phillips) SF#1913521 Scoped searching (like scoped browsing)
 (Scott Phillips) SupportedLocales now defaults to accept all locales if not defined.
 (Scott Phillips) Fixed bug when browsing by authors using non-ascii characters the link was not properly being decoded.
 (Scott Phillips) Added a DTD for the xmlui.xconf
 (Scott Phillips) Fixed an i18n character encoding issues when search queries used special characters the next/previous links were not being encoded/decoded properly. I also change it so that search uses GET instead of POST. The reason is that this exposes the url so researchers can prepare queries then save a link to their query.
 (Scott Phillips) Fixed a bug where the new.xml file was not being read. I changed the file to news-xmlui.xml so that it lists well with the other news files for the jspui. I also have supplied a default version of this file.
 (Scott Phillips) Added protection against NPEs during authentication.
 (Scott Phillips) Added support for aspects to have their own i18n files automaticaly added.
 (Scott Phillips) fixed a display issues where the alphabet list would break to two lines.
 (Scott Phillips) Community names were being doubled in the bread crumbtrail, this has been fixed.
 [maven-release-plugin] prepare release dspace-1_5-rc1
 [maven-release-plugin] prepare for next development iteration
 (Scott Phillips) Removed system.out.println
 (Scott Phillips) Removed check for email & password to be null, this breaks shibboleth. Instead if either email or password is null we'll set it to a "" value.
 Use authentication fall-through similar to shibboleth for certificate based auth with x509
 (Scott Phillips) Fixed i18n issues with URLencoding. Changing this parameter brigs Manakin in-line with the encoding that the JSPUI uses. This also requires that your servlet container be configured to use UTF-8 for URIs or otherwise parameters encoded in the URL will not be properly handled. For tomcat follow the steps outlined in the manual to set your connector's URIencoding parameter to UTF-8
 [maven-release-plugin] prepare release dspace-1_5
 [maven-release-plugin] prepare for next development iteration
 Correct bug in Body.toSAX where startElement is called instead of end element.
 (Scott Phillips) Added the ability for super admins to login as other users. This is controled by the parameter xmlui.user.assumelogin, default value is false.
 (Scott Phillips) Added easy support for google analytics statistics, if you want to use analytics simple provide your key in the parameter "xmlui.google.analytics.key".
 (Scott Phillips) Added an activity viewer to the Control Panel showing the current user activity on the repository.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2902 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-15 19:56:41 +00:00
Richard Jones
1b4e99c5ff Refactoring of Handle implementation, which includes the javadocs, proper exception handling, and initial Oracle support. This, then, includes all the non-identifier stuff which also needed to be updated, plus a change in the configuration to acknowledge a new class implementing the IdentifierAssigner and IdentifierResolver interfaces
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2901 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-15 16:26:31 +00:00
Richard Jones
d710c87479 Fix method name clash
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2900 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-15 15:42:15 +00:00
Richard Jones
8827f20d9d add initial (untested) oracle support, and build in the hooks in the Factories to select the appropriate DAO implementation in the identifiers storage code. Some further exception handling and its propagation through the rest of the code.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2899 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-15 15:31:28 +00:00
Richard Jones
d1fdea11f0 lots of javadocs and refactoring for the storage layer of identifiers. This includes a complete treatment of the exception handling processes, so that now the Identifier code is consistent and does not throw spurious or quick and dirty exceptions. This has resulted in changes to exception handling throughout the codebase, but due to the brokenness of DSpace exception handing, on many occasions these are in the form of RuntimeExceptions.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2898 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-15 13:54:45 +00:00
Scott Phillips
b55360719d (Scott Phillips) Added an activity viewer to the Control Panel showing the current user activity on the repository.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2897 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-15 04:14:43 +00:00
Scott Phillips
616a4f0221 (Scott Phillips) Added easy support for google analytics statistics, if you want to use analytics simple provide your key in the parameter "xmlui.google.analytics.key".
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2896 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-14 18:37:31 +00:00
Scott Phillips
3f0d3639c7 (Scott Phillips) Added the ability for super admins to login as other users. This is controled by the parameter xmlui.user.assumelogin, default value is false.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2895 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-14 17:58:15 +00:00
Richard Jones
3355532f3b Javadocs and refactoring for the remainder of the identifier code. This includes a change to the name of the ObjectIdentifierMint to ObjectIdentifierService.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2894 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-14 16:08:57 +00:00
Richard Jones
ed30d9de7a API changes for resolving objects through the IdentifierService, rather than through the ObjectIdentifier.getObject method. This is propagated through refactoring in classes which relied on this mechanism. There is some additional neatening and improvements in javadocs scattered through the code.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2893 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-14 15:45:58 +00:00
Richard Jones
58f7ca3a5c update configurable submission to use collection-uri attribute
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2892 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-14 12:42:47 +00:00
Richard Jones
0bba958e46 add identifier kit required metadata fields to default metadata registry
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2891 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-14 12:39:19 +00:00
Richard Jones
e96385c9ef re-introduce erroneously lost changes to external identifier module's JSPUI messages
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2890 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-14 11:18:05 +00:00
Mark Diggory
05a5a75697 svn ignore target directory
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2889 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-11 19:10:50 +00:00
Mark Diggory
55a03de793 Remove pluginRepositories as it is deprecated.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2888 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-11 19:04:50 +00:00
Mark Diggory
f334bdddb5 Disable sword in assembly build
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2887 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-11 15:31:00 +00:00
Mark Diggory
b67876764b disable sword until compilation errors are fixed
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2886 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-11 15:20:21 +00:00
Mark Diggory
425fceb646 Change svn and version to trunk
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2885 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-11 15:08:48 +00:00
Mark Diggory
46aa70c038 Merging dspace-sword to trunk
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2884 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-11 15:06:14 +00:00
Mark Diggory
5584c687fd New directory to merge dspace-sword from branch into
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2883 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-11 15:00:18 +00:00
Mark Diggory
1e3432c63e merge 1.5.1 Build/Assembly process changes
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2882 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-11 14:53:38 +00:00
Mark Diggory
0c733299de 1.) Remove language-packs its now in sandbox
2.) merge POM differences from 1.5

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2881 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-11 14:51:45 +00:00
Mark Diggory
7eec0ab11d refactor model directory names.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2880 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-11 14:38:09 +00:00
Graham Triggs
a1bbecaeb9 Fix potential server error in FeedServlet with invalid XML characters
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2879 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-10 15:23:20 +00:00
Graham Triggs
b9b1bb1e08 Fix potential server error in FeedServlet with invalid XML characters
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2878 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-10 15:22:59 +00:00
James Rutherford
3f111932d5 FIxed version numbers in POM files.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2877 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-10 10:06:08 +00:00
Graham Triggs
7dde170a4c Fix potential server error when incorrect parameters are passed
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2876 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-09 16:04:09 +00:00
Graham Triggs
0ad0b7e06d Fix JDOM error with invalid characters in the metadata
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2875 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-09 13:42:19 +00:00
Graham Triggs
78fb63038c Stop JDOM errors if we try to output metadata with illegal characters
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2874 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-09 12:46:22 +00:00
Graham Triggs
1d9720b01c Fix bug #1931799 - duplicate "FROM metadatavalue"
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2873 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-04-06 22:49:41 +00:00
Mark Diggory
713b81a7df Correct bug in Body.toSAX where startElement is called instead of end element.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2872 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-28 19:57:20 +00:00
Mark Diggory
a21bd7ac7a Correct issue with libraries being excluded
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2871 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-28 14:13:29 +00:00
Graham Triggs
18fbbe5f7a Fixed Oracle bugs with ILIKE operators and LIMIT/OFFSET clauses
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2870 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-25 22:36:45 +00:00
Scott Phillips
5e7cdaf467 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2869 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-25 02:26:55 +00:00
Scott Phillips
7961f0676b [maven-release-plugin] prepare release dspace-1_5
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2867 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-25 02:25:48 +00:00
Scott Phillips
287f18b7bd (Scott Phillips) Updated known bugs
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2866 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-24 15:20:57 +00:00
Scott Phillips
7a6d57eab7 (Scott Phillips) Added a licensing notice stating the copyright has transfered from HP+MIT to DSpace
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2865 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-24 15:20:28 +00:00
Scott Phillips
c802b0e07b (Scott Phillips) Fixed i18n issues with URLencoding. Changing this parameter brigs Manakin in-line with the encoding that the JSPUI uses. This also requires that your servlet container be configured to use UTF-8 for URIs or otherwise parameters encoded in the URL will not be properly handled. For tomcat follow the steps outlined in the manual to set your connector's URIencoding parameter to UTF-8
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2864 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-22 19:38:54 +00:00
Mark Diggory
0680bac6cb Asure handle server logs to its own log and dspace is not in control of logging.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2863 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-21 21:22:31 +00:00
Mark Diggory
5896a03b93 Use authentication fall-through similar to shibboleth for certificate based auth with x509
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2862 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-21 06:03:42 +00:00
Graham Triggs
79753e0968 Fix bug #1872213 - getNumItems fails with Oracle
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2861 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-20 11:01:10 +00:00
Scott Phillips
3531fdcd1b (Scott Phillips) Removed check for email & password to be null, this breaks shibboleth. Instead if either email or password is null we'll set it to a "" value.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2860 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-19 19:48:31 +00:00
Scott Phillips
7cd56ee896 (Scott Phillips) Removed system.out.println
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2859 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-19 17:46:36 +00:00
Graham Triggs
3b3022dec7 Missing key: jsp.dspace-admin.workflow-abort-confirm.button
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2858 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-19 14:55:44 +00:00
Scott Phillips
c4328172a9 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2857 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-18 18:51:15 +00:00
Scott Phillips
6d3b14a693 [maven-release-plugin] prepare release dspace-1_5-rc1
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2855 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-18 18:48:27 +00:00
Scott Phillips
30708a3cd2 (Scott Phillips) Community names were being doubled in the bread crumbtrail, this has been fixed.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2854 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-18 18:28:00 +00:00
Scott Phillips
4ff60c2671 (Scott Phillips) fixed a display issues where the alphabet list would break to two lines.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2853 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-18 07:02:22 +00:00
Scott Phillips
0effc6858c (Scott Phillips) Added support for aspects to have their own i18n files automaticaly added.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2852 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-18 05:27:15 +00:00
Scott Phillips
d72aafe3e4 (Scott Phillips) Added protection against NPEs during authentication.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2851 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-18 05:26:07 +00:00
Scott Phillips
e5c8802032 (Scott Phillips) Added two configuration parameters to support multiple ways of using the handle server.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2850 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-18 05:25:07 +00:00
Scott Phillips
7be6116ae9 (Scott Phillips) Fixed a bug where the new.xml file was not being read. I changed the file to news-xmlui.xml so that it lists well with the other news files for the jspui. I also have supplied a default version of this file.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2849 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-18 05:23:13 +00:00
Scott Phillips
2ccd24fdeb (Scott Phillips) Fixed an i18n character encoding issues when search queries used special characters the next/previous links were not being encoded/decoded properly. I also change it so that search uses GET instead of POST. The reason is that this exposes the url so researchers can prepare queries then save a link to their query.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2848 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-18 05:21:16 +00:00
Mark Diggory
f8a793fd5d Adjust all modules to be under a simpler naming convention so that rebranding does not have to be of the war/webapp names themselves.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2847 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-17 21:26:36 +00:00
Mark Diggory
1cad5fdf30 Adjust all modules to be under a simpler naming convention so that rebranding does not have to be of the war/webapp names themselves.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2846 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-17 21:15:17 +00:00
Mark Diggory
a1c7729e2b Adjust all modules to be under a simpler naming convention so that rebranding does not have to be of the war/webapp names themselves.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2845 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-17 21:14:40 +00:00
Tim Donohue
05bc786cc5 Closed a TableRowIterator which was potentially left open in the Harvester...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2844 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-17 15:27:55 +00:00
Mark Diggory
a3591d4cc9 svn:ignores
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2843 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-14 21:49:46 +00:00
Mark Diggory
092d628beb svn:ignores
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2842 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-14 21:49:40 +00:00
Mark Diggory
f137aa9173 correct id of snapshot repository.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2841 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-14 04:55:34 +00:00
Scott Phillips
0750151652 (Scott Phillips) Added a DTD for the xmlui.xconf
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2840 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-13 22:44:19 +00:00
Scott Phillips
c38fa39894 (Scott Phillips) Fixed bug when browsing by authors using non-ascii characters the link was not properly being decoded.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2839 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-13 22:22:21 +00:00
Scott Phillips
233c1389f4 (Scott Phillips) Recent submissions effects both interfaces.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2838 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-13 21:14:32 +00:00
Tim Donohue
f113ef749a MAJOR reorg of the 'dspace.cfg' file. Created sections to separate out "general configurations" (i.e. API-layer), XMLUI-specific, JSPUI-specific and ones that work in both those interfaces. (Oh, and obviously a section for SWORD & OAI)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2837 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-13 20:57:30 +00:00
Scott Phillips
5cdc5a6ca9 (Scott Phillips) SupportedLocales now defaults to accept all locales if not defined.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2836 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-13 20:47:13 +00:00
Tim Donohue
2eb9eaf4fc minor updates to Windows install instructions
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2835 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-13 19:18:32 +00:00
Tim Donohue
777dd8261d Removed references to the old 'history' directory, and the 'history.dir' param from dspace.cfg
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2834 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-13 19:15:32 +00:00
Scott Phillips
604cd20193 (Scott Phillips) SF#1913521 Scoped searching (like scoped browsing)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2833 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-13 18:01:54 +00:00
Graham Triggs
f536bcbe3b Fixed bug with the wrong operator used (&& instead of ||)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2832 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-13 17:21:59 +00:00
Graham Triggs
7d47d443ae Fixed problem with thumbnails appearing multiple times if you include multiple dates in your list columns.
Also provides for a more attractive display, and faster table rendering.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2831 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-13 16:19:15 +00:00
Tim Donohue
5c16cd85f2 Cleaned up the 1.5 Windows Install instructions. It previously contained a lot of Unix commands and Unix-specific language.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2830 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-13 15:08:06 +00:00
Mark Diggory
7947ae4400 Adjust xml declaration and include dspace-api-lang into build process if present.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2829 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-13 04:48:34 +00:00
Scott Phillips
39c94cf8ec (Scott Phillips) Added xmlui.user.loginredirect to determine where a user should go after logging into the system.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2828 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-13 02:55:12 +00:00
Scott Phillips
1726023d8f (Scott Phillips) SF#1898915 - Exception displayed on delete of ePerson that has submitted
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2827 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-13 02:00:37 +00:00
Scott Phillips
8b13f10354 (Scott Phillips) SF#1913091 - JSPUI & XMLUI: Problem deleting Collection-associated groups
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2826 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 23:02:30 +00:00
Tim Donohue
7f1ba494b7 Fix for SF Bug # [ 1904131 ] <visibility>workflow</visibility> doesn't work in manakin
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2825 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 22:07:02 +00:00
Scott Phillips
ba37b8c9d8 (Scott Phillips) Print out more information when a bitstream fails to be "filtered"
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2824 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 21:45:01 +00:00
Scott Phillips
846383002d (Scott Phillips) SF#1912952 - XMLUI: Cannot add Person to Group with auto-generated name
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2823 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 21:14:43 +00:00
Tim Donohue
eccff05471 Updates to the DRI Schema version 1.1 from Scott Phillips.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2822 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 21:09:18 +00:00
Scott Phillips
96cb5dc8f4 (Scott Phillips) Add DRI Schema Reference to the DSpace manual
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2821 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 20:18:05 +00:00
Tim Donohue
e08b93f22b Minor changes to documentation...added 'dspace-sword' to directories listing.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2820 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 17:19:54 +00:00
Graham Triggs
1b12c9b411 Restructured to allow incremental display of the table (useful if you are rendering 100 items on a page!)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2819 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 16:09:15 +00:00
Graham Triggs
1f6a946296 Corrections to the Oracle schema
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2818 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 12:09:16 +00:00
Graham Triggs
917dc06608 Corrections to Oracle schema
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2817 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 12:08:19 +00:00
Scott Phillips
09745a7f2a (Scott Phillips) Corrected target description.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2816 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 06:02:28 +00:00
Scott Phillips
c999a0e4a3 (Scott Phillips) Added shibboleth options to disable editing of metadata and registration of new users if desired.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2815 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 06:01:29 +00:00
Scott Phillips
e6de46f8fc (Scott Phillips) Removed hidden form item, replaced with a hidden field on the division. This resulted in a blank item being placed in the form.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2814 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 05:59:57 +00:00
Scott Phillips
d9562fa135 (Scott Phillips) Fixes display bug in IE6&7 on the submission submit buttons.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2813 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 05:58:58 +00:00
Scott Phillips
d27e6c5495 (Scott Phillips) Added protection for untitled communities or collections - the api no longer returns the string "untitled" if none exists.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2812 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 01:10:21 +00:00
Scott Phillips
b9df351a05 (Scott Phillips) Added the missing general Untitled tag
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2811 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 01:09:32 +00:00
Scott Phillips
2159ed015c (Scott Phillips) Split the update task into two: update_code and update_webapps. Also added the "-Dwars=true" switch to create war files.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2810 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-12 00:32:34 +00:00
Tim Donohue
91182585b8 Force assembly to use 2.2-beta-1, so that everything works on Maven 2.0.8
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2809 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-11 21:34:43 +00:00
Tim Donohue
bc2eb357e0 Fix for [ SF# 1896466 ] 1.5 install breaks in Windows with spaces in path names
The file path arguments in ANT should have single quotes (' ') around them, to ensure that filepaths with spaces are passed properly to the Load Registry scripts.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2808 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-11 18:00:59 +00:00
Mark Diggory
92fce7009a add trailing slashes to complete uri for webapps to be created correctly.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2807 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-11 15:22:24 +00:00
Mark Diggory
c5dd9a1d59 don't use version in war plugin.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2806 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-11 15:16:09 +00:00
Scott Phillips
fe4a46e112 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2803 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-11 02:00:23 +00:00
Scott Phillips
4b9822844a [maven-release-plugin] prepare release dspace-1.5-beta2
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2801 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-11 01:59:40 +00:00
Mark Diggory
4da43dc226 Releases of language packs completed. Now using version ranges [1.5.0.0-1.6.0.0) to support resolution of these dependencies.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2800 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-11 01:13:14 +00:00
Mark Diggory
4d72aa9765 getting project name consistent with other module projects.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2799 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-11 00:36:45 +00:00
Mark Diggory
ada9621329 1.) Moving language-packs to dspace-sandbox. See: http://dspace-sandbox.googlecode.com/svn/modules/dspace-api-lang/trunk/
2.) Adjusting dependencies and dspace-api-lang project name
3.) Cleaning up versioning in poms, removing uneccessary dependencies and version tag
4.) consolidating wars generated so that dspace-xxx-webapp wars are skinny by default.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2798 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-10 23:45:36 +00:00
Mark Diggory
57969f1c1a Do likewise for war files. However, overlays will not include dependent wars META-INF directories.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2797 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-08 00:31:13 +00:00
Mark Diggory
9362ba7dfe Add Maven metadata to Manifests.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2796 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-08 00:23:13 +00:00
Mark Diggory
b9c3558290 rename generated webapps and force assembly to use 2.2-beta-1
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2795 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-07 23:16:10 +00:00
Scott Phillips
2f8a587158 (Scott Phillips) Added OpenOffice document formats to the default format registry.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2794 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-07 19:53:12 +00:00
Scott Phillips
87e777afe0 (Scott Phillips) SF#1908952 - Office 2007 formats cannot be added to FormatRegistry
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2793 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-07 17:33:32 +00:00
Graham Triggs
659b113224 Fix Oracle upgrade script
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2792 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-07 12:17:35 +00:00
Graham Triggs
e2d567bb2b Fix Oracle upgrade script
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2791 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-07 12:04:08 +00:00
Scott Phillips
2e734699d7 (Scott Phillips) Reduce the number of duplicate language tags for common strings such as Next, Save, Confirm, Delete, etc...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2790 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-05 00:26:11 +00:00
James Rutherford
19e84aed9a Removed duplicate XML declaration from Classic.xsl.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2789 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-04 11:18:33 +00:00
Scott Phillips
40d62f2e59 (Scott Phillips) Added support for xmlui.supported.locales parameter so that an administrator can choose which languages to deploy Manakin in.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2788 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-04 05:48:48 +00:00
Mark Diggory
a2bfa070e5 remove files accidentally commited.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2787 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-04 05:03:36 +00:00
Mark Diggory
ce1c3df0f3 remove tools.jar dependency
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2786 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-04 05:02:18 +00:00
Mark Diggory
4c399d476f Commit properties generated from native2ascii
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2785 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-04 05:01:29 +00:00
Mark Diggory
c4bd8d7b09 remove i18n transformation because it doesn't work easily on all platforms. Reserve UTF* native2ascii functionality to profiles for those who wish to use it to assist in editing.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2784 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-04 04:57:59 +00:00
Scott Phillips
e5ab31db62 (Scott Phillips) webui.content_disposition_threshold -> xmlui.content_disposition_threshold
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2783 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-04 03:20:21 +00:00
Scott Phillips
bb435de720 (Scott Phillips) SF#1896186 - mail.charset not documented in dspace.cfg
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2782 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-04 01:41:06 +00:00
Scott Phillips
78cbab2532 (Scott Phillips) Removed useless common problem.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2781 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-04 00:46:49 +00:00
Scott Phillips
f3875f0f4c (Scott Phillips) SF#1896521 - Manakin XMLUI ignores content disposition threshold
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2780 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-04 00:35:58 +00:00
Scott Phillips
5bda6eef92 (Scott Phillips) SF#1897804 - non-administrator unable to create subcommunity
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2779 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-03 23:29:56 +00:00
Scott Phillips
62c5ef4ae2 (Scott Phillips) SF#1896183 - Special characters in xmlui
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2778 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-03 22:09:07 +00:00
Scott Phillips
96855565e0 (Scott Phillips) Added protection against communities and collections which have a null value title.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2777 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-03 22:07:45 +00:00
Scott Phillips
0cb094ebd6 (Scott Phillips) patch to prevent cocoon's cache from filling up your tomcat work directory with caches that will never be used.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2776 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-03 22:06:44 +00:00
Mark Diggory
c95a485973 Use snapshot version for development.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2775 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-03 18:55:28 +00:00
Mark Diggory
14cfa60686 remove until we have a better solution
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2774 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-03 17:43:47 +00:00
Scott Phillips
da996aa6e1 (Scott Phililps) SF#1899958 - User appears logged in when not logged in
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2773 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-03-03 00:54:57 +00:00
Mark Diggory
9eeb44d604 fix rpoject version until release can be figured out.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2772 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-29 21:49:42 +00:00
Mark Diggory
12671885ad Make "all" active by default.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2771 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-29 21:15:11 +00:00
Mark Diggory
1e6b140f79 Release Management Steps are now Maven based. See wiki http://wiki.dspace.org/index.php/ReleaseProcedure
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2770 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-29 18:06:04 +00:00
Graham Triggs
5152d0e65d Remove security problem with returning last-modified headers when logged in
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2769 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-29 15:29:43 +00:00
Graham Triggs
f25634e45f Remove security problem with returning last-modified headers when logged in
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2768 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-29 15:29:19 +00:00
Scott Phillips
32d1549800 (Scott Phillips) SF#1896732 - Primary Bitstream flag no effect on bitstream display
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2767 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-29 00:46:31 +00:00
Mark Diggory
5a797e83c2 Undo previous commit and adjust release management profiles. We cannot currently build whole project from top level.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2766 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 23:45:58 +00:00
Mark Diggory
d6f727d22c Undo previous commit and adjust release management profiles. We cannot currently build whole project from top level.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2765 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 23:33:29 +00:00
Mark Diggory
dff6c4fc06 Qualifying the location with ${basedir} assures that build will work in both top level and inside the dspace directory.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2764 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 20:57:28 +00:00
Mark Diggory
7117f2a57b Needs to look for SNAPSHOT version as well until released.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2763 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 20:40:47 +00:00
Mark Diggory
be236dc6aa Merging recent changes from 1.5 branch
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2762 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 18:39:50 +00:00
Mark Diggory
df9296ce5c Exclude UTF-8 files from resulting jar.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2761 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 18:38:09 +00:00
Mark Diggory
ab48f68713 Detect Sun as vendor and look for tools jar appropriately.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2760 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 18:32:47 +00:00
Mark Diggory
fd44192d14 cleanup imports on MetadataExporter.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2759 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 18:13:04 +00:00
Mark Diggory
943960bc11 Correct BrowseItem vs Item iterations in recentSubmissions and DSpaceObjectManager so xmlui compiles properly.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2758 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 18:11:56 +00:00
Mark Diggory
aebe6dbdbf Correct BrowseItem vs Item iterations in recentSubmissions and DSpaceObjectManager so xmlui compiles properly.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2757 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 18:11:35 +00:00
Mark Diggory
a88c11eaca Restore IdentifierUtils after merge.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2756 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 15:49:54 +00:00
Mark Diggory
4625ae2195 Merging 1.5 differences in dspace-xmlui project back to trunk
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2755 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 15:44:23 +00:00
Mark Diggory
e4a673f6aa Merging 1.5 differences in dspace project back to trunk
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2754 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 15:27:51 +00:00
Mark Diggory
b2dbab4cb8 Merging differences between language-packs from 1.5 branch to trunk
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2753 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 15:26:56 +00:00
Mark Diggory
62bb59178c Replace all Windows linefeeds found in source with unix linefeeds.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2752 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 15:23:41 +00:00
Mark Diggory
9b624b53be Replace all Windows linefeeds found in source with unix linefeeds.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2751 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 15:06:48 +00:00
Graham Triggs
f93c9fcb98 Fix JDOM error if a metadatavalue is null
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2750 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 11:28:34 +00:00
Graham Triggs
1507867370 Fix JDOM error if a metadatavalue is null
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2749 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 11:26:01 +00:00
Scott Phillips
fcac2f33e1 (Scott Phillips) Removed hardcoding of the bundle list out into the dspace.cfg parameter.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2748 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 06:58:30 +00:00
Scott Phillips
d15ec68fd8 (Scott Phillips) SF#1896265 - Browse result counts incorrect in xmlui
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2747 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 06:28:08 +00:00
Scott Phillips
17a8a62b0c (Scott Phillips) SF#1897647 - For a logged in user the submit button is allways displayed
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2746 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 05:01:46 +00:00
Mark Diggory
8ad4b8385a Merge and correct changes in POM files.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2745 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 04:56:38 +00:00
Mark Diggory
d628ca4cc3 Merging 1.5 differences in language-packs project back to trunk
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2744 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 04:54:31 +00:00
Mark Diggory
94a35b7c62 Merge and correct changes in POM files.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2743 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 04:48:25 +00:00
Scott Phillips
8ce735f415 (Scott Phillips) SF#1896943 - Manakin search glitch
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2742 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 04:47:23 +00:00
Mark Diggory
a6832e521a restore original changes in trunk without windows linefeeds.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2741 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 04:43:05 +00:00
Mark Diggory
f7be403683 Merging 1.5 differences in dspace-xmlui project back to trunk
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2740 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 04:18:47 +00:00
Mark Diggory
4f4f1aba40 Merging 1.5 differences in dspacei-oai project back to trunk
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2739 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 03:53:32 +00:00
Mark Diggory
5b0be33a0d Hand merge difference in POM files.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2738 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 03:44:40 +00:00
Mark Diggory
9cad36a595 Merging 1.5 differences in dspace-lni project back to trunk
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2737 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 03:40:12 +00:00
Scott Phillips
f4e90c9ffb (Scott Phillips) XMLUI will now allways lowercase your email address when checking to see if one allready exists. This caused problems when users tried to register accounts with different cases the API would fail later in the processes.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2736 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 03:38:23 +00:00
Mark Diggory
9e4cb4b0d0 Restore modules section lost in merge
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2735 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 03:36:02 +00:00
Mark Diggory
adbbb84ec4 Correcting some problems with the last commit.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2734 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 03:34:05 +00:00
Mark Diggory
56abf37d1f Merging 1.5 differences in dspace project back to trunk
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2733 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 03:25:54 +00:00
Scott Phillips
d74916e5ff (Scott Phillips) SF#1897998 'This collection' search label missing when using browse
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2732 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 02:59:32 +00:00
Scott Phillips
132791a9bd (Scott Phillips) SF#1898195 - Browse by pages are missing the 0-9 link.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2731 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 02:48:48 +00:00
Mark Diggory
3bd07d6e70 Merge statistics changes.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2730 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 01:38:35 +00:00
Scott Phillips
1fdba83734 (Scott Phillips) SF#1899214 - The submission complete page did not have a trail or title which caused the theme to blow up when viewed in IE. I've added default trail and title for any submission page that dosn't have it allready and fixed it so that the theme dosn't blow up if there is not a trail or title.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2729 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 01:17:23 +00:00
Scott Phillips
66a3a72a94 (Scott Phillips) SF#1898491 The item summary-view page doesn't handle multiple metadata entries very well. Now it will:
title: one per line
authors: in one line but separated by semicolons.
abstract: entries seperated by a line
description: entries seperated by a line
URI: one per line
Date: one per line

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2728 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-28 00:19:06 +00:00
Mark Diggory
6d86806ae4 git-svn-id: http://scm.dspace.org/svn/repo/trunk@2727 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2008-02-27 23:54:38 +00:00
Mark Diggory
eae0d643b1 Watch those line delimiters Tim... Correcting windows line feeds in files.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2726 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-27 23:47:41 +00:00
Scott Phillips
89f707bbe2 (Scott Phillips) SF#1899170 Submission labeling error.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2725 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-27 23:24:07 +00:00
Scott Phillips
cdd0407efe (Scott Phillips) I broke messages.xml on my last commit, this fixes it.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2724 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-27 23:01:11 +00:00
Mark Diggory
bdeccb92d7 Build dspace-xmlui-lang if checked out into project workspace.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2723 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-27 22:50:19 +00:00
Mark Diggory
0e11e9929f Build dspace-xmlui-lang if checked out into project workspace.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2722 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-27 22:44:05 +00:00
Scott Phillips
7e751bc165 (Scott Phillips) SF#1899213 - Spelling error in "authorizations".
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2721 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-27 22:43:28 +00:00
Scott Phillips
e97ec51866 (Scott Phillips) SF#1899781 - Submission language save/cancel --> save & exit
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2720 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-27 22:31:26 +00:00
Mark Diggory
c0ad8911a0 Addining example for appassembler plugin.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2719 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-27 21:31:50 +00:00
Scott Phillips
6dd6bdfc72 (Scott Phillips) SF#1896110 - Long metadata fields cause problems in the workflow task/pool submission system. Added protection for these cases.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2718 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-27 21:31:21 +00:00
Scott Phillips
d521181881 (Scott Phillips) This is a collection of fixes to the base dri2xhtml style display.
SF#1896726 - if dates don't exist for the item don't put in ()
  SF#1895967 - don't display labels for fields that don't exist
  SF#1896039 - display the metadata schema
  SF#1896025 - display the new section for communities and collections
  SF#1896129 - show a message if an item has no files.
  SF#1896981 - full item display dosen't list the files.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2717 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-27 21:28:24 +00:00
Mark Diggory
2e4644afb5 Remove unneccessary dependency on lni-core and make a executable jar with all the dependencies.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2716 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-27 21:19:33 +00:00
Graham Triggs
0a4f58cdfc Fix long standing bug with date validation in resource policy
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2715 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-27 14:25:56 +00:00
Graham Triggs
b9fc33ec64 Fix long standing bug with checking the dates on a resource policy
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2714 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-27 14:23:45 +00:00
Scott Phillips
43e335b3f2 (ScottPhillips) Removed unused tags.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2713 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-26 18:22:29 +00:00
Mark Diggory
e7965570a7 changes
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2712 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-23 00:56:44 +00:00
Mark Diggory
b7d40e3cf9 Place Messages.properties appropriately in resources and adjust documentation.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2711 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-23 00:54:26 +00:00
Mark Diggory
01ea1632e2 remove old directories
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2710 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-23 00:27:10 +00:00
Mark Diggory
61f8b077c7 Reorganize Language file to support easier editing, processing and management
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2709 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-23 00:25:30 +00:00
Mark Diggory
03c322c64c new proper location for properties files.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2708 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-22 23:42:35 +00:00
Tim Donohue
890a2ee33c Fixed Bug: SF #1899748 Comments box in feedback form display problem
Changed FeedbackForm aspect to no longer specify a size for the "comment" textarea.  That way the size can be controlled in your XMLUI theme.  So, right now, it defaults to a smaller size and looks better in Firefox & I.E.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2707 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-22 18:06:28 +00:00
Tim Donohue
1a6c18fbf8 Fixed bug: SF#1899717 - Forced back to beginning of submission process
Changed the XMLUI to disable submitting forms when 'enter' is pressed, when the user is submitting a new item to DSpace.  This same logic already existed for the JSPUI.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2706 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-22 17:48:06 +00:00
Scott Phillips
f9aa8b801b (Scott Phillips) Fixed language tags in the restricted item code that were not translatable into other languages because "item", "community", "collection" were being passed in as parameters to the string.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2705 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-21 18:01:06 +00:00
Claudia Juergen
68defbecef Update of German jspui language pack.
Status: compliant to 1.5beta1

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2704 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-21 12:33:09 +00:00
Tim Donohue
d946e8c23f Fixed bug SF#1897293 - Submission field Series/Report No. is ignored.
Changed the dc.relation.ispartofseries (Series/Report field) to the "series" input-type in input-forms.xml.  Added documentation around the "series" input type (which was strangely missing).  A few other small fixes to get JSP-UI & XML-UI to work the same for series.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2703 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-20 22:46:41 +00:00
Mark Diggory
dfd8595b59 Adjust RSS feed location to be consistent with JSPUI https://sourceforge.net/tracker/index.php?func=detail&aid=1760739&group_id=19984&atid=119984
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2702 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-20 22:08:55 +00:00
Mark Diggory
236afd120e Adjust RSS feed location to be consistent with JSPUI https://sourceforge.net/tracker/index.php?func=detail&aid=1760739&group_id=19984&atid=119984
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2701 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-20 22:08:46 +00:00
Scott Phillips
e23a975e55 (Scott Phillips) SF#1895992 - No README at top level of src
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2700 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-20 21:05:04 +00:00
Scott Phillips
6656ea5543 (Scott Phillips) SF#1895881 - missing tag in language pack
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2699 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-20 20:55:29 +00:00
Scott Phillips
bca7af0390 (Scott Phillips) SF#1895858 - unable to send feedback email.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2698 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-20 20:50:09 +00:00
Tim Donohue
ac5809a9f6 Adding back in links to Submission Configuration documentation (in /docs/submission.html). They must've been accidentally removed before the 1.5 beta1 release.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2697 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-20 19:03:17 +00:00
Tim Donohue
7ad7ebb6b2 Very minor changes to install docs
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2696 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-20 17:57:08 +00:00
Tim Donohue
35a82face2 Fix to bug SF#1897927 - Checksum checker does not work. The ConfigurationManager was failing to load the default configuration file when "getProperties()" was called from Checksum checker.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2695 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-20 17:41:17 +00:00
Mark Diggory
a2438160c8 Adding SortOption.DESCENDING to correct issue with sort order. https://sourceforge.net/tracker/?func=detail&atid=119984&aid=1897968&group_id=19984
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2694 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-20 16:26:14 +00:00
Mark Diggory
5ac0d297ca Removing someones typo...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2693 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-20 16:05:53 +00:00
Stuart Lewis
23c854e74e (Stuart Lewis) Updated upgrade instructions to include new crosswalk files for SWORD and metadata in html head
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2692 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-20 09:34:19 +00:00
Mark Diggory
36f31fe3ff Fix for https://sourceforge.net/tracker/?func=detail&atid=119984&aid=1896468&group_id=19984
Adding in missing tables that were recently added to dsatabase-schema.sql

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2691 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-20 00:31:24 +00:00
Mark Diggory
41acdb8e42 Add in dtd and input-forms to update directions. https://sourceforge.net/tracker/?func=detail&atid=119984&aid=1897039&group_id=19984
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2690 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-19 22:48:24 +00:00
Scott Phillips
dec9d3d458 (Scott Phillips) SF#1867394 Enable the option to include the xmlui.xconf inside the webapp's WEB-INF folder. If no configuration is found there then it will fall back to looking in the dspace/config directory.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2689 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-19 17:42:52 +00:00
Mark Diggory
edb3d434b0 Adjustments to layout
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2688 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-19 04:59:00 +00:00
Mark Diggory
ffe2255213 Updates to the documentation based on feedback from the test-a-thon.
Corrections to Maven based build and installation on Windows. 
Changed Copyright to be under The DSpace Foundation.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2687 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-19 04:48:26 +00:00
Mark Diggory
0a677d7b03 svn ignore
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2686 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-16 17:13:22 +00:00
Mark Diggory
8293cad4e4 svn ignore
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2685 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-16 17:13:18 +00:00
Graham Triggs
d92276f5e1 Fix jump to for descending browse lists and date indexes
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2684 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-15 23:58:32 +00:00
Scott Phillips
c4354d213d (Scott Phillips) Fixed compile error in LogAnalyser.java - a miss typed method name.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2683 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-15 18:53:03 +00:00
Graham Triggs
e1b2c3b014 Port of new browse pagination code from 1.5 branch
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2682 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-15 15:40:02 +00:00
Graham Triggs
45360e6341 Fix problem with unique metadata browses
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2681 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-15 15:30:34 +00:00
Stuart Lewis
9d7502c90d (Stuart Lewis) Updates to the stats scripts. (1) Better error reporting. (2) Adding the ability to enter start dates - these had been removed with the Java replacements for the previous Perl scripts. (3) Added upgrade instructions. (4) Tidied up dstat.cfg. (5) Hostname and service name now taken from dspace.cfg rather than dstat.cfg.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2680 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-15 15:07:39 +00:00
Graham Triggs
85c5a11771 Fix issue with the new pagination code when the browse tables are empty
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2679 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-15 14:54:48 +00:00
Graham Triggs
4829eda0b7 Fix pagination issues by using offsets
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2678 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-14 22:46:41 +00:00
Scott Phillips
e0db2d669a (Scott Phillips) Removed the indication that item mapper only searches authors when it actually searches any field.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2677 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-14 16:34:28 +00:00
Scott Phillips
bd18e7b1f3 (Dustin Slater) Updates to improve the visual style of the classic theme.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2676 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-14 16:05:10 +00:00
Scott Phillips
c077d8332f (Scott Phillips) SF#1893334 Fixed the missing trail not being displayed when browsing.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2675 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-14 16:03:51 +00:00
Stuart Lewis
4abd038cdd SWORD metadata registry - updated to make it 'complete', so it can standalone without the main dspace DC metadata registry.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2674 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-14 13:54:16 +00:00
Mark Diggory
49d92a70bd Adjust names of profiles so they make more sense.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2673 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-14 00:09:31 +00:00
Mark Diggory
365e6b8758 Use dspace-assembly-plugin version 1.1 in these projects.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2672 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-14 00:03:45 +00:00
Scott Phillips
4c0a043933 [maven-release-plugin] prepare for next development iteration
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2671 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 21:36:32 +00:00
Scott Phillips
96fd10b9bb [maven-release-plugin] prepare release dspace-1_5-beta1
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2669 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 21:35:51 +00:00
Mark Diggory
ac737c3c5d Make modules dir always on.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2668 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 20:50:37 +00:00
Mark Diggory
04ec225b77 include dspace for packaging and release, but not for deployment
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2667 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 20:48:38 +00:00
Mark Diggory
853e938c32 regenerate wsdl and code only whe -Dregenerate-wsdl=true is designated as a parameter.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2666 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 19:50:11 +00:00
Mark Diggory
f16f5129bd Correct some reporitory settings in POM so the dspace and snapshot repos are not always consulted.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2665 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 19:22:07 +00:00
Mark Diggory
a7d6b07c86 Use full version release of plugins now.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2664 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 19:09:27 +00:00
Graham Triggs
4e59bbf78e Rewrote query for selecting distinct values scoped to comm/coll due to deficiency in Postgres
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2663 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 16:29:20 +00:00
Graham Triggs
901c669991 Added missing DISTINCT on view for distinct query
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2662 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 16:24:47 +00:00
Graham Triggs
54b6e7b54b Changed the way browsing metadata indexes works when comm/coll scoped due to Postgres deficiency
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2661 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 16:20:19 +00:00
Graham Triggs
d78e5a3fc1 Make metadatavalue updates kinder to the database by only writing / deleting the difference between the current DB values and the in-memory values
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2660 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 06:41:18 +00:00
Mark Diggory
53d1247a63 Wait to make full release until its present in central repo. Build breaks otherwise.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2659 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 04:50:32 +00:00
Scott Phillips
9ce8ccd6c5 (Scott Phillips) Updated upgrade documentation to include item-submission.xml
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2658 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 03:33:59 +00:00
Scott Phillips
ac1bf1175c (Scott Phillips) Fixed an NPE where when attempting to URL encode a null string.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2657 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 02:07:12 +00:00
Scott Phillips
4d16a7b6e4 (Scott Phillips) Fixed an NPE in the withdrawn item that was preventing the page from loading.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2656 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 02:05:29 +00:00
Mark Diggory
0bef9480d2 Use locally release versions under org.dspace for Maven plugins, these are maintained at dspace-sandbox.googlecode.com
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2655 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-13 00:29:34 +00:00
Mark Diggory
a05f7e33bc Use official released i18n report plugin under org.dspace group id.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2654 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 23:31:18 +00:00
Graham Triggs
4f5478b05e getMetadata now returns an empty array rather than null
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2653 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 22:58:21 +00:00
Mark Diggory
2f5341b9d5 Assembly not properly creating webapp directories, they need to be expanded for web.xml to be properly filtered during the ant build.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2652 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 22:32:57 +00:00
Graham Triggs
b7a081a39a Add indexes to foreign key columns to avoid database contention
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2651 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 21:40:22 +00:00
Scott Phillips
e4b54d178e (Scott Phillips) Updated release script to build binary packages.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2650 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 20:46:31 +00:00
Scott Phillips
7ebeaf1358 (Elliot Metsger) SF# 1867408 Fixed errors where paragraphs were being translated into the DRI document out of order.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2649 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 19:56:25 +00:00
Scott Phillips
a7110ecb16 git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2648 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2008-02-12 19:54:19 +00:00
Scott Phillips
e4812dbac5 (Jay Paz) Fixed a bug in the accessability of forms. Some fields were not having <labels> associated with them which makes it hard for screen readers or other alternative browsers to understand a form.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2647 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 18:30:29 +00:00
Scott Phillips
dad83eee50 (Scott Phillips) Fixed bug where the XMLTest aspect had the wrong default location, they were moved to the resource bundle.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2646 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 18:29:10 +00:00
Scott Phillips
f664232287 (Jay Paz) Fix to bug where lists where being wrapped within a paragraph thus creating an invalid dri and html documents.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2645 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 18:28:23 +00:00
Graham Triggs
02a1297bc7 Fix problem with null browse index (can be null for browsing withdrawn items - will be set later)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2644 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 14:59:38 +00:00
Graham Triggs
fb506433d5 Fix problem with null browse index (can be null for browsing withdrawn items - will be set later)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2643 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 14:54:57 +00:00
Graham Triggs
175176c0e9 Eliminate unnecessary item.update()
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2642 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 05:07:57 +00:00
Scott Phillips
1ebf74f9b6 (JamesCreel) The Kubrick theme, an generic non-university branded theme. This is an example theme provided with the base of dspace providing some examples on how to construct a theme using seperate style sheets, and XSL.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2641 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 00:16:09 +00:00
Graham Triggs
64c801a760 Eliminate most unnecessary changes to the database when values haven't been altered (reduces contention, and unnecessary constraint validation)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2640 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 00:03:28 +00:00
Graham Triggs
95ce6e31bc Eliminate most unnecessary changes to the database when values haven't been altered (reduces contention, and unnecessary constraint validation)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2639 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-12 00:03:08 +00:00
Tim Donohue
05253c036b Updated 1.5 Documentation based on decision on path names in DSpace 1.5. [dspace-source] will refer to the source of either the 'dspace-1.5.tar.gz' or the 'dspace-1.5-src.tar.gz' (which will be the two distribution options via sourceforge). Also a few other smaller documentation changes.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2638 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-11 20:29:39 +00:00
Mark Diggory
07de727e27 Adjust release descriptors
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2637 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-11 19:55:23 +00:00
Scott Phillips
93521b35ff (ScottPhillips) Added a switch to enable the themepath parameter to an HTTP request directing which theme to load. This can be turned on via the xmlui.themes.allowoverrides configuration parameter which defaults to off.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2636 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-11 18:20:01 +00:00
Stuart Lewis
2cd82e602d SWORD metadata registry
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2635 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-11 16:31:27 +00:00
Graham Triggs
debbfcc0c4 Fix problem mapping distinct metadata values to items
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2634 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-11 12:23:52 +00:00
Graham Triggs
6a4967c492 Fix problem mapping distinct metadata values to items
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2633 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-11 12:23:22 +00:00
Graham Triggs
800e2142c9 Fix problem searching by author in item mapping. Remove even more database contention (when editing / mapping items)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2632 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-10 20:48:37 +00:00
Graham Triggs
4fe54b6079 Fix problem searching by author in item mapping. Remove even more database contention (when editing / mapping items)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2631 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-10 20:46:27 +00:00
Stuart Lewis
be03336a63 (Chris Yates) SF Patch #1888652 Statistics Rewritten In Java
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2630 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-10 19:09:14 +00:00
Graham Triggs
8ab178f623 Further reduce db contention when an item is updated
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2629 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-10 17:23:01 +00:00
Graham Triggs
1050b4f54f Further reduce db contention when an item is updated
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2628 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-10 17:22:28 +00:00
Graham Triggs
60c869ace5 Remove unused parts of the API, reduce db contention when an item is updated
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2627 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-10 16:51:36 +00:00
Graham Triggs
5462c12830 Remove unused parts of the API, reduce db contention when an item is updated
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2626 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-10 16:51:01 +00:00
Graham Triggs
ad0851eddd Ensure item_count tables are correctly defined, including primary keys
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2625 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-09 22:48:17 +00:00
Graham Triggs
684da8831d Ensure item_count tables are correctly defined, including primary keys
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2624 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-09 22:47:41 +00:00
Graham Triggs
4f118f56bc Bring itemRemoved() in line with trunk
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2623 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-09 22:23:57 +00:00
Graham Triggs
e894a2875d Fix problems with port of code from 1.5 branch
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2622 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-09 22:22:56 +00:00
Graham Triggs
e76a6a09c2 Add indexes to foreign key constraints to avoid table locking issues. Clean up some of the API for the browse tables.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2621 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-09 00:59:15 +00:00
Graham Triggs
f1a0135638 Add indexes to foreign key constraints to avoid table locking issues. Clean up some of the API for the browse tables.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2620 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-09 00:58:44 +00:00
Graham Triggs
6ba6658d41 Fix reversion of efficient index pruning
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2619 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-09 00:01:04 +00:00
Graham Triggs
59306488a0 Updated efficiency and clarity of browse code. Much faster indexing at slight cost of lookup. Fix to normalisation code.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2618 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-08 23:47:56 +00:00
Scott Phillips
5f03b20dcc (ScottPhillips) Updated the usage of [dspace-source] to be in-line with that used in directories.html
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2617 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-08 02:53:53 +00:00
Scott Phillips
a2a02166cf (ScottPhillips) Minor updates to the directory descriptions.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2616 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-08 02:53:15 +00:00
Scott Phillips
142639ea24 (Scott Phillips)
Added upgrade instructions for DSpace 1.4.2 to DSpace 1.5

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2615 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-08 02:36:07 +00:00
Scott Phillips
fba8c514fa (Scott Phillips)
Split index-all into index-init and index-update. index-init is run to re-initalize after a configuration change while index-update will just update the index for all items. This simplifies upgrading an existing DSpace by having one easy indexing command to run after the upgrade.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2614 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-08 02:35:01 +00:00
Graham Triggs
f1549c6460 Updated efficiency and clarity of browse code. Much faster indexing at slight cost of lookup. Fix to normalisation code.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2613 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-08 00:56:30 +00:00
Mark Diggory
e27161bbca Remove I18N : Eliminate I18N class from core and adjust the only two locations it is still used in ChecksumChecker to use I18nUtil.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2612 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-08 00:02:37 +00:00
Tim Donohue
eafc594282 minor edits/fixes
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2611 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-07 21:34:27 +00:00
Tim Donohue
34e7fb245f Updated 'directories.html' with new 1.5 directory structure. Also added a section describing directory structure of the XML-UI web app.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2610 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-07 21:22:09 +00:00
Tim Donohue
2bbe5d8e65 Changed documented paths in configure.html as to where to customize Messages.properties
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2609 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-07 21:21:03 +00:00
Mark Diggory
1be495683d Copy of Messages.properties for customization purposes.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2608 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-07 20:35:28 +00:00
Mark Diggory
0881d201eb New home for customized i18n files
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2607 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-07 20:33:54 +00:00
Tim Donohue
a9d85fda04 Updated configuration instructions to detail how to now customize JSPs.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2606 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-07 19:30:35 +00:00
Tim Donohue
0d24be11b1 Updated install instructions based on the newest build architecture.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2605 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-07 19:15:34 +00:00
Richard Jones
ce332ac1f5 further refactoring to core identifier classes. Just comments and neater code.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2604 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-07 19:09:43 +00:00
Mark Diggory
729af4b97c correct pom inheritance and dependency management
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2603 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-07 18:29:03 +00:00
Mark Diggory
257094f3e9 svn:ignore
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2602 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-07 18:14:50 +00:00
Mark Diggory
6de23b1860 Add dspace-sword overlay
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2601 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-07 18:14:15 +00:00
Mark Diggory
5b18028aef filter out dspace-sword-webapp so its not placed in webapps (overlay is placed there instead)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2600 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-07 18:13:27 +00:00
Mark Diggory
ac9129535d Add skinny war generation to dspace-sword-webapp to support overlays
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2599 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-07 18:12:19 +00:00
Richard Jones
f2c42fea07 Add the new SWORD module to the 1.5.x branch. This includes the SWORD code, re-structured to meet the standards already laid out for the 1.5 release (top level project, with sub api and webapp projects). In addition to this the following additions have been made to the main part of DSpace, which will need to be removed again if SWORD is modularised out again:
- sword-swap-ingest.xsl has been included into config/crosswalks
- sword configuration has been added to dspace.cfg
- loading of the required fields for swap ingest has been added to the main build.xml
- references to dspace-sword have been added to all the relevant pom.xml files in the main for DSpace

Furthermore, this commit includes the source code for the common sword libraries.  These need really to be in the main maven repository, which I will work on as soon as possible before the 1.5 beta release.

This module has been tested to work previously, so it has not been extensively tested again.  Dependency issues in the build system may remain, which have notyet been discovered.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2598 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-07 14:04:21 +00:00
Richard Jones
04cb4c5ed5 Core URI system refactoring, including javadocs, better modularity, and the change of IdentifierFactory to IdentifierService, in line with other naming conventions
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2597 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-06 17:57:52 +00:00
Graham Triggs
f0dc55127b Make the browse indexing more robust to suspect data
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2596 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-06 16:57:17 +00:00
Graham Triggs
6a4f72cb39 Make the browse indexing more robust to suspect data
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2595 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-06 16:56:52 +00:00
Richard Jones
c258dcd32a a whole pile of changes, some of which work, and some of which don't ;) Mostly this big commit is to include the latest changes to manakin, which currently aren't functional, along with some refactoring, commenting and general tidying up of the core set of identifier classes
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2594 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-04 18:19:07 +00:00
Graham Triggs
ebbb8d7bce Fix issue with second level browse (ie items for a particular subject) not allowing you to use the page controls
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2593 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-04 15:02:28 +00:00
Graham Triggs
16c0d1599e Fix issue with second level browse (ie items for a particular subject) not allowing you to use the page controls
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2592 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-04 15:01:35 +00:00
Scott Phillips
33749b9ca8 (ScottPhillips) Documentation updates and the addition of Manakin.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2591 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-02-04 12:40:49 +00:00
Richard Jones
3ee8048868 basic working features of storing identifiers as metadata fields. This is integrated with the submission system to a large degree, although there is still a known issue that identifiers are being generated and discarded unnecessarily during workflow. The whole process of identifiers for in-submission items needs to be looked at.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2590 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-31 17:45:32 +00:00
Graham Triggs
c323833651 Small fix to indexing of dates
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2589 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-31 16:52:34 +00:00
Graham Triggs
ab71001443 Small fix to indexing of dates
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2588 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-31 16:52:09 +00:00
Richard Jones
1e7af72a76 re-enable xml-ui with rudimentary identifier support. This involves having fitted a new resolving mechanism to work with the xmlui way of obtaining DSpaceObjects, and decoupling the handle specific dependencies. This has appeared to be successful with regard to communities and collections, but it is not currently possible to submit items through the UI.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2587 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-30 16:53:34 +00:00
Mark Diggory
d20b75b75b Add in profile for building source and bootstrap release. Use it via 'mvn -Prelease package'
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2586 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-30 14:30:29 +00:00
Mark Diggory
97fc12b70c Ignore project targets.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2585 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-29 23:44:35 +00:00
Mark Diggory
eb606228b6 Importing the changes from the binary build prototype (mis-named). Provides example overlays where customization can occur.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2584 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-29 23:43:58 +00:00
Richard Jones
d378aef30f mass commit of broken code for identifiers. Fixes coming up over the next couple of weeks.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2583 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-29 14:28:53 +00:00
Graham Triggs
eb4879f342 PDF Filter can optionally extract text into a temporary file instead of memory (useful for very large PDFs)
PDF Filter can optionally skip bitstream extraction when an OutOfMemoryException is thrown (workaround to PDFBox error)
PDFBox version bumped to 0.7.3 to be in line with previous DSpace distributions
Lucene bumped to version 2.3.0 - no source changes required, compatible with existing indexes, indexing has up to 8x performance improvement

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2582 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 22:01:54 +00:00
Graham Triggs
07f131cebf PDF Filter can optionally extract text into a temporary file instead of memory (useful for very large PDFs)
PDF Filter can optionally skip bitstream extraction when an OutOfMemoryException is thrown (workaround to PDFBox error)
PDFBox version bumped to 0.7.3 to be in line with previous DSpace distributions
Lucene bumped to version 2.3.0 - no source changes required, compatible with existing indexes, indexing has up to 8x performance improvement

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2581 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 22:01:22 +00:00
Mark Diggory
e4a098926f Complete JSPUI reorganization. Remove empty directories.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2580 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 02:55:27 +00:00
Mark Diggory
2c34bf1bf8 Complete JSPUI reorganization. Merge changes from 1.5 including java and webapp relocations and pom edits.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2579 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 02:52:17 +00:00
Mark Diggory
d4c59b332f Complete JSPUI reorganization. Create initial directory structure.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2578 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 02:37:58 +00:00
Mark Diggory
0b5dece2da svn-ignore changes
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2577 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 02:13:44 +00:00
Mark Diggory
18015db26b svn ignore target and project files
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2576 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 02:05:05 +00:00
Mark Diggory
265a5e074c Complete JSPUI reorganization. Exclude OAI and JSPUI jars from showing in dspace/lib
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2575 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 01:37:53 +00:00
Mark Diggory
ae92d58737 Complete JSPUI reorganization. Adjust modules in dspace/pom.xml to reflect new jspui projects.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2574 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 01:35:20 +00:00
Mark Diggory
3aaaf4df55 Use SNAPSHOT for dspace-assembly-plugin
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2573 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 01:29:08 +00:00
Mark Diggory
97fefa48fa Complete JSPUI reorganization. Delete empty directories
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2572 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 01:28:23 +00:00
Mark Diggory
a598fba1b7 Complete JSPUI reorganization. Make required directory moves.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2571 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 01:26:50 +00:00
Mark Diggory
03a615480e Complete JSPUI reorganization. Make POM adjustments in parents.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2570 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 01:25:03 +00:00
Mark Diggory
02a619ae81 Complete JSPUI reorganization.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2569 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-27 01:24:08 +00:00
Graham Triggs
380a9f02ac Minor corrections following the generalisation of sort ordering
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2568 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-25 16:09:21 +00:00
Graham Triggs
2e21feaaf8 Minor corrections following the generalisation of sort ordering
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2567 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-25 16:06:40 +00:00
Richard Jones
af7ef46521 add legacy url support for handles. This means all urls of the form [dspace-url]/handle/<handle> will still work (as they may have been bookmarked through the browse address bar). It does also mean that handles with the new formulation in the url (resource/hdl/<handle>) can also be resolved through the old mechanism.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2566 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-23 15:57:42 +00:00
Graham Triggs
18b7f3462a Add email validation to FeedbackServlet (Fix SF bug 1827579)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2565 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-22 22:44:55 +00:00
Graham Triggs
0e2a014641 Add email validation to FeedbackServlet (Fix SF bug 1827579)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2564 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-22 22:41:19 +00:00
Richard Jones
f2f2569022 fix title display of item on jsp-ui
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2563 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-22 15:39:59 +00:00
Graham Triggs
fa9917a311 Fixed erroneous comment text
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2562 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-22 15:35:14 +00:00
Graham Triggs
443083b140 Add search ordering controls to Manakin
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2561 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-18 05:36:21 +00:00
Graham Triggs
3159fd2457 Add search ordering controls to Manakin
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2560 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-17 23:13:20 +00:00
Graham Triggs
5c64a51dc1 Completed search reordering controls, made ItemListTag equivalent to BrowseListTag
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2559 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 21:55:24 +00:00
Tim Donohue
d69626c9ce Fixing order of copy processes in 'ant update'. Previously it was overwriting everything in [dspace]/etc, and *then* backing that up to [dspace]/etc.bak-{build.date}. Fixed it to perform backup of /etc first!
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2558 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 20:30:51 +00:00
Tim Donohue
80de1bdeed Fixing order of copy processes in 'ant update'. Previously it was overwriting everything in [dspace]/etc, and *then* backing that up to [dspace]/etc.back-{build.date}. Fixed it to perform backup of /etc first!
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2557 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 20:29:31 +00:00
Tim Donohue
72a7e39505 Adding 'target' directory to svn:ignore for both dspace-oai-api and dspace-oai-webapp
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2556 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 17:34:05 +00:00
Tim Donohue
04dd8f3a2d Adding 'target' directory to svn:ignore for both dspace-oai-api and dspace-oai-webapp
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2555 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 17:29:25 +00:00
Tim Donohue
622f9cbdb9 Added .settings (Eclipse Settings folder) and .tomcatplugin (Eclipse Tomcat Plugin settings) to svn:ignore
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2554 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 17:23:28 +00:00
Graham Triggs
86883adad0 Completed search reordering controls, made ItemListTag equivalent to BrowseListTag
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2553 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 16:46:44 +00:00
Graham Triggs
e382daaa1c Replace internal Sun Base64 encoder with Commons-codec
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2552 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 10:51:30 +00:00
Graham Triggs
e74ee7391c Replace internal Sun Base64 encoder with Commons-codec
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2551 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 10:50:38 +00:00
Graham Triggs
46bfab5efb Added distinct year indexing for dates
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2550 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 10:25:52 +00:00
Graham Triggs
c816a34268 Added distinct year indexing for dates
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2549 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-16 10:25:16 +00:00
Mark Diggory
b4eb8eb806 Merge across branch and trunk so that history is consistent and conflicts no longer exist.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2548 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 23:39:24 +00:00
Mark Diggory
835a79a4f4 This directory is no longer used.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2547 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 23:34:36 +00:00
Mark Diggory
c4c468d9fc Merge changes to trunk: Reorganize dspace-oai plugin to be structured identically to dspace-xmlui and dspace-lni plugins.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2546 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 23:32:30 +00:00
Mark Diggory
64670b0d4e minor correction in parent
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2545 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 22:41:57 +00:00
Mark Diggory
62500276c6 This directory is no longer used.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2544 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 22:39:48 +00:00
Mark Diggory
83f5fa4991 Reorganize dspace-oai plugin to be structured identically to dspace-xmlui and dspace-lni plugins.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2543 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 22:36:36 +00:00
Tim Donohue
fe152ed100 Updated 'echo' comments that are returned when running 'ant update' or 'ant fresh_install'. The comments had not been fully updated for the 1.5 build/install process.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2542 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 22:29:12 +00:00
Graham Triggs
2c79734f13 Fix ordering of community/collection/item, and add controls to alter number of results per page and sorting in search
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2541 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 21:43:15 +00:00
Graham Triggs
d6f05c84b0 Missing order parameter from page links
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2540 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 21:42:38 +00:00
Graham Triggs
f0238b980c Updated to use new index fields
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2539 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 21:34:38 +00:00
Graham Triggs
7c41217e92 Fix ordering of community/collection/item, and add controls to alter number of results per page and sorting in search
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2538 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 21:26:35 +00:00
Mark Diggory
dbd1629978 Remove vestigial History tables from database schema and add DROP TABLE in update schemas.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2537 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 19:58:25 +00:00
Mark Diggory
5e5cd8cf4f Remove vestigial History tables from database schema and add DROP TABLE in update schemas.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2536 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 19:58:12 +00:00
Tim Donohue
8a6ae1c449 Updated 'echo' comments that are returned when running 'ant update' or 'ant fresh_install'. The comments had not been fully updated for the 1.5 build/install process.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2535 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 18:28:32 +00:00
Graham Triggs
1b0797b4ec Make default search sorting Relevance in DESCENDING order (most relevant first), allows resorting to Relevance ASCENDING, and other options
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2534 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 16:44:52 +00:00
Graham Triggs
4f540ea77b Make default search sorting Relevance in DESCENDING order (most relevant first), allows resorting to Relevance ASCENDING, and other options
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2533 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 16:44:17 +00:00
Graham Triggs
00f7b2b8cf Fix problem with ordering community / collection / items
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2532 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 15:59:53 +00:00
Graham Triggs
327349224c Fix problem with ordering community / collection / items
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2531 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 15:59:29 +00:00
Graham Triggs
1c068b2132 Fix problem with DatabaseManager retrieving column information if the database contains multiple schemas
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2530 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 13:50:15 +00:00
Graham Triggs
501398ec1d Fix problem with DatabaseManager retrieving column information if the database contains multiple schemas
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2529 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 13:49:52 +00:00
Graham Triggs
42fca0e90c Fix quote parsing, remove oro dependency
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2528 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 13:37:06 +00:00
Graham Triggs
be1878ae64 Fix quote parsing, remove oro dependency
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2527 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 13:36:30 +00:00
Graham Triggs
1a5d6859cc Fix incorrectly thrown IOException
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2526 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-14 20:21:25 +00:00
Stuart Lewis
d725244ffd (Stuart Lewis) SF Patch #1642563 bin/update-handle-prefix rewritten in Java
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2525 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-14 16:40:45 +00:00
Tim Donohue
e03e592c8e Upgrade instructions in 1.5.x branch were missing the latest instructions to upgrade from 1.4.x to 1.4.2
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2524 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-14 15:48:18 +00:00
Graham Triggs
5a8b211d44 Disabled unnecessary Lucene workaround
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2523 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-14 15:08:59 +00:00
Graham Triggs
1720f60664 Disabled unnecessary Lucene workaround
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2522 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-14 15:06:54 +00:00
Graham Triggs
a2f335d697 Improved resilience of query object when index is lacking necessary information, improve efficiency of search results by not using handles if the resource ID is available
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2521 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-13 19:19:19 +00:00
Graham Triggs
089d3cc9c2 Moved AbstractTextFilterOFD from browse to sort package
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2520 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-13 16:15:35 +00:00
Graham Triggs
654462dbe0 Moved AbstractTextFilter to sort from browse
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2519 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-13 16:01:52 +00:00
Stuart Lewis
6d374b3a5b (Stuart Lewis) SF Patch #1642563 bin/update-handle-prefix rewritten in Java
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2518 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-12 15:51:04 +00:00
Tim Donohue
4beb0fa2bf An initial stab at updated installation instructions for DSpace 1.5. If there are details you see missing, feel free to add to it.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2517 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-11 22:41:04 +00:00
Mark Diggory
ed7d1af3b1 Fix missing ConfigurationLoad class.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2516 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-11 18:33:24 +00:00
Mark Diggory
f3f982b69a Fix missing ConfigurationLoad class.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2515 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-11 18:33:19 +00:00
Mark Diggory
7a966171ac Corrected compilation error
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2514 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-10 23:58:04 +00:00
Mark Diggory
68d057a2fd Corrected compilation error
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2513 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-10 23:44:33 +00:00
Mark Diggory
ffebcd417c bring along etc directory into install so that any sql upgrade code can be run from either dspace.home or from target/dspace-./
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2512 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-10 22:11:28 +00:00
Mark Diggory
e199e7f17e bring along etc directory into install so that any sql upgrade code can be run from either dspace.home or from target/dspace-./
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2511 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-10 22:07:32 +00:00
Graham Triggs
6d898a5e19 First part of search update - reduce search size, add in fields for sorting content, lessen dependency on handles
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2510 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-10 14:25:26 +00:00
Graham Triggs
20f921b7c8 First part of search update - reduce search size, add in fields for sorting content, lessen dependency on handles
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2509 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-10 14:04:16 +00:00
Graham Triggs
d86af20a5a First part of search update - reduce search size, add in fields for sorting content, lessen dependency on handles
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2508 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-10 14:03:36 +00:00
Richard Jones
e56e75648c add group resolution to getObject
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2507 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-10 10:20:48 +00:00
Richard Jones
071e1d2b9c extend identification mechanism to include Group objects. These could now technically be made resolvable through the UI using a unique URL.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2506 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-10 08:43:50 +00:00
Richard Jones
68f8572e8a extend identification mechanism to include EPerson objects. These could now technically be made resolvable through the UI using a unique URL.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2505 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-09 17:54:36 +00:00
Richard Jones
d8cfa7304c extend identification mechanism to non-DSpaceObject objects. This introduces a SimpleIdentifier which offers a basic wrapper for UUIDs, which is in turn extended by ObjectIdentifier to allow DSpaceObjects to take advantage of this type heirarchy. DSpaceIdentifier has been renamed ResolvableIdentifier which ObjectIdentifier and ExternalIdentifier now implement, so that it is clear that objects can be obtained from identifiers implementing this interface, but not from the SimpleIdentifier. With the addition of an Identifiable interface, we can now tag classes to be identifiable, with their choice of exactly which identifier mechanisms they wish to support. There is also the beginning of formal exception handling.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2504 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-09 11:47:36 +00:00
Mark Diggory
bc468a3047 Adding missing import statement to UploadStep.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2503 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-09 00:37:35 +00:00
Mark Diggory
2b945729f4 Merge from 1.5.x branch:
If the Auth Method href or title key is null, do not show it in the list of options.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2502 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-09 00:28:37 +00:00
Mark Diggory
062a102c51 Merge to trunk:
Reordering Submission Aspect after EPerson Aspect corrects bug where "My Account" title disappears when logged in. Unsure why bug occurs.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2501 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-09 00:09:48 +00:00
Mark Diggory
4b4828ef0e Reordering Submission Aspect after EPerson Aspect corrects bug where "My Account" title disappears when logged in. Unsure why bug occurs.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2500 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-09 00:04:54 +00:00
Mark Diggory
9a2b9a68ea Do not include Item either if case is true.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2499 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 23:39:28 +00:00
Mark Diggory
063dc1ffd7 If the Auth Method href or title key is null, do not show it in the list of options.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2498 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 23:21:47 +00:00
Tim Donohue
f83ebc1dd4 Fixes to DTD based on merged version of the item-submission.xml
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2497 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 22:50:29 +00:00
Tim Donohue
bdcd65d78c Fixes to DTD based on merged version of the item-submission.xml
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2496 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 22:50:05 +00:00
Tim Donohue
65d56b57bb Merging recent Config Submission changes from 1.5.x Branch into Trunk:
(From earlier today)
Small bug fix to allow JSPUI and XMLUI to both allow skipping file upload during submission, if it is enabled in the dspace.cfg.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2495 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 20:06:57 +00:00
Tim Donohue
49386c1c5d Merging recent Config Submission changes from 1.5.x Branch into Trunk:
(From earlier today)
Merged 'item-submission-JSPUI.xml' and 'item-submission-XMLUI.xml' files into a single 'item-submission.xml' configuration file (based on suggestions from Graham Triggs).  

Small updates throughout API for Configurable Submission to support this merged configuration file (majority of changes in dspace-api and dspace-jspui modules).   Also includes updates to Configurable Submission documentation and small updates to I18N to make the XMLUI and JSPUI keys more parallel.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2494 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 20:02:59 +00:00
Tim Donohue
50cbccfd26 Merging recent Config Submission changes from 1.5.x Branch into Trunk:
(From Jan 4)
Various bug fixes to JSP-UI file upload step:
Fixed NPE when no file selected to upload.  Fixed small bug in processing of upload-error.jsp (was not returning to file upload screen).  Fixed ability to enable *skipping* uploading a file during JSPUI submission (some of the code never made it into 1.5 codebase during my original Config Submission patch, so this feature was not working properly).

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2493 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 19:45:52 +00:00
Tim Donohue
cf734f6bfd Small bug fix to allow JSPUI and XMLUI to both allow skipping file upload during submission, if it is enabled in the dspace.cfg.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2492 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 18:56:45 +00:00
Tim Donohue
80356f5c2e Merged 'item-submission-JSPUI.xml' and 'item-submission-XMLUI.xml' files into a single 'item-submission.xml' configuration file (based on suggestions from Graham Triggs).
Small updates throughout API for Configurable Submission to support this merged configuration file (majority of changes in dspace-api and dspace-jspui modules).   Also includes updates to Configurable Submission documentation and small updates to I18N to make the XMLUI and JSPUI keys more parallel.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2491 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 17:53:25 +00:00
Graham Triggs
cec1b19e54 Fix feed generation to use descending order (so most recent items come first)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2490 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 12:18:53 +00:00
Graham Triggs
0b8f5dc31c Fix feed generation to use descending order (so most recent items come first)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2489 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 12:16:33 +00:00
James Rutherford
c6599aafcb Moved all database creation SQL into the main database_schema.sql, removing the old DAO-specific file. Updated the build.xml to reflect changes.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2488 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 11:04:41 +00:00
Graham Triggs
eb10adb3e3 Make it possible to specify multiple metadata fields to be used in a 'unique metadata' index - ie. dc.contributor.author,dc.contributor.advisor for the author list
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2487 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-07 15:52:55 +00:00
Graham Triggs
007081224a Make it possible to specify multiple metadata fields to be used in a 'unique metadata' index - ie. dc.contributor.author,dc.contributor.advisor for the author list
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2486 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-07 15:52:27 +00:00
Richard Jones
1e73ff0119 add external identifier assignment to all DSpaceObjects through their *DAOCore classes. This now extends the assignment of external identifiers to bundles and bitstreams too. It could be left up to the external identifier implementation to decide which object types it actually assignes identifiers to (e.g. the Handle mechanism could decide not to assign handles if the object type is Bundle or Bitstream). I have not implemented this selectiveness, though, and intend to leave identifier assignment throughout the entire DSpaceObject hierarchy for consistency unless convinced otherwise.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2485 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-07 15:50:50 +00:00
Richard Jones
bc51fa9c16 fix bug with resolution of canonical form identifiers resulting in infinite recursion to stack overflow
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2484 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-07 15:22:42 +00:00
Richard Jones
ae540b120a propagate API changes for URL generation throughout source code. Now all cases where URLs are required should use IdentifierFactory.getURL(DSpaceObject), which will generate the appropriate URL as specified by configuration. It also means that where the appropriate URL cannot be generated, it can fall back to the internal UUID based URL. Note that there may be copy-and-paste bugs in this code, but so far no errors have been observed. Keep your eyes peeled.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2483 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-07 14:30:51 +00:00
Graham Triggs
d1f8015bb5 Added missing copyright messages
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2482 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-05 06:31:33 +00:00
Tim Donohue
7301b832db Various bug fixes to JSP-UI file upload step:
Fixed NPE when no file selected to upload.  Fixed small bug in processing of upload-error.jsp (was not returning to file upload screen).  Fixed ability to enable *skipping* uploading a file during JSPUI submission (some of the code never made it into 1.5 codebase during my original Config Submission patch, so this feature was not working properly).

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2481 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-04 22:45:19 +00:00
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
Tim Donohue
faa1749a25 Ack...sorry, I updated the wrong SVN...my mistake!
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2473 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-03 18:19:46 +00:00
Tim Donohue
7aae860821 test update
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2472 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-03 18:18:22 +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
5ed6765f73 Centralise Thumbnail logic, and improve DB efficiency in generating thumbnail links on item lists (in testing, at least 4x better)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2470 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-02 09:30:40 +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
ada69cdad8 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/branches/dspace-1_5_x@2468 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-29 22:19:26 +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
Graham Triggs
8ed598e202 Fix SF Bug: 1744488 - Mapped items listed multiple times in feeds / recent submissions
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2466 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-25 22:45:23 +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
Andrea Bollini
a581adcec6 [ 1856368 ] Patch for Bug #1856364 Wrong label for First/Last name
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2462 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-22 12:43:21 +00:00
Andrea Bollini
f0dad44126 [ 1856368 ] Patch for Bug #1856364 Wrong label for First/Last name
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2461 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-22 12:43:08 +00:00
Andrea Bollini
833bdef713 [ 1856368 ] Patch for Bug #1856364 Wrong label for First/Last name
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2460 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-22 12:42:46 +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
Graham Triggs
9237c9e5ef 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/branches/dspace-1_5_x@2456 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-20 18:22:51 +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
Scott Phillips
1001bb887a (Conal Tuohy) SF# 1769052 fix URI-parsing bug in AspectGenerator
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2453 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-18 00:14:42 +00:00
Scott Phillips
b98479ab30 (Scott Phillips) Added top level target directory (and eclipse tomcat plugin generated directory 'work') to the ignored list.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2452 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-17 23:53:42 +00:00
Scott Phillips
d062e0db04 (Samu Viita) Added JSPUI-like logging of bitstreams downloads.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2451 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-17 23:37:29 +00:00
Scott Phillips
49e047fff4 (Scott Phillips) Cleaned up import directives
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2450 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-17 23:20:15 +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
Graham Triggs
3b4e9a778e 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 Harvest 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/branches/dspace-1_5_x@2447 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-16 22:41:40 +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
Mark Diggory
1b2178a688 Add in X509 Auth Key for xmlui
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2438 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-14 02:59:51 +00:00
Graham Triggs
bac57b5e0c Improved efficiency of scoped browsing by replacing an IN with an EXISTS
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2437 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 23:48:50 +00:00
Graham Triggs
08a038b17d Improve efficiency of pruning excess information from browse tables
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2436 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 23:04:59 +00:00
Mark Diggory
f7f8500155 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/branches/dspace-1_5_x@2435 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 19:26:33 +00:00
Graham Triggs
7bd52205f6 *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/branches/dspace-1_5_x@2434 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 17:37:59 +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
Graham Triggs
ef4151816e 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/branches/dspace-1_5_x@2432 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 15:33:53 +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
Mark Diggory
97694bf58a Enable METS OAI Crosswalk by default.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2421 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-10 21:34:12 +00:00
Mark Diggory
d3e0e07a58 correct dateCreated and dateIssued mappings in mods-submission xsl
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2420 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-10 21:31:39 +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
Graham Triggs
1f32543a19 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/branches/dspace-1_5_x@2414 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-03 14:30:56 +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
Graham Triggs
65ceafe5e2 Updated schema to remove the old browse tables that are no longer used
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2412 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-01 11:17:19 +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
Tim Donohue
e891212fdf 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/branches/dspace-1_5_x@2410 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-30 18:14:41 +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
Tim Donohue
6e377ffd94 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/branches/dspace-1_5_x@2407 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-29 17:55:45 +00:00
Graham Triggs
603b82a006 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/branches/dspace-1_5_x@2406 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-29 11:58:05 +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
Mark Diggory
820e9a6a94 r8652@libaxis1 (orig r2398): mdiggory | 2007-11-28 16:07:34 -0500
New options for ItemImporter to support bitstream permissions and descriptions


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2403 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-29 05:00:44 +00:00
Mark Diggory
7658488c18 r8651@libaxis1 (orig r2397): grahamtriggs | 2007-11-28 12:53:16 -0500
Fixed missing contexts to ItemCounter constructors


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2402 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-29 05:00:34 +00:00
Mark Diggory
20842da442 r8650@libaxis1 (orig r2396): tdonohue | 2007-11-28 11:06:58 -0500
Removed comments which had "UIUC" in them...whoops!


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2401 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-29 05:00:25 +00:00
Graham Triggs
68bc714dfd Changed getBrowseIndices to respect order in dspace.cfg
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2400 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-28 22:34:57 +00:00
Mark Diggory
c88190c161 Add capability to filter bitstream which match a specific name.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2399 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-28 21:27:02 +00:00
Mark Diggory
25e83a7b0e New options for ItemImporter to support bitstream permissions and descriptions
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2398 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-28 21:07:34 +00:00
Graham Triggs
6c401c9e55 Fixed missing contexts to ItemCounter constructors
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2397 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-28 17:53:16 +00:00
Tim Donohue
055a30715f Removed comments which had "UIUC" in them...whoops!
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2396 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-28 16:06:58 +00:00
Mark Diggory
cea5f6f57c r8625@libaxis1 (orig r2393): tdonohue | 2007-11-27 17:03:24 -0500
Applying SF patch #1589429 - "Self-Named" Media Filters (i.e. MediaFilter Plugins!)
 [This original patch was modified slightly to leave the existing MediaFilter abstract class intact, 
 and instead create a new FormatFilter interface which MediaFilter now implements]


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2395 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-28 05:35:58 +00:00
Mark Diggory
5cc08f3b6e r8624@libaxis1 (orig r2392): stuartlewis | 2007-11-27 05:02:09 -0500
(Richard Jones) S.F. Patch 1659868 Improved database level debugging


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2394 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-28 05:35:39 +00:00
Tim Donohue
2afd7ffefa Applying SF patch #1589429 - "Self-Named" Media Filters (i.e. MediaFilter Plugins!)
[This original patch was modified slightly to leave the existing MediaFilter abstract class intact, 
and instead create a new FormatFilter interface which MediaFilter now implements]

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2393 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-27 22:03:24 +00:00
Stuart Lewis
133de48176 (Richard Jones) S.F. Patch 1659868 Improved database level debugging
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2392 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-27 10:02:09 +00:00
Stuart Lewis
4cf8e13002 (Richard Jones) SF Patch 1659868 - improved database level debugging
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2391 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-27 09:37:01 +00:00
Mark Diggory
03f1939833 r8505@libaxis1 (orig r2369): mdiggory | 2007-11-26 15:21:28 -0500
add in missing language-packs


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2390 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:29:13 +00:00
Mark Diggory
54072fbddf r8504@libaxis1 (orig r2368): tdonohue | 2007-11-26 13:02:40 -0500
Fixed bug in Manakin Configurable Submission flow - It was causing an infinite loop, if your first submission step was a non-interactive (i.e. no-UI) step.  Also fixed a small bug to ensure that clicking "Previous" button will always bring you back to the last step you completed which had a UI.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2389 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:29:08 +00:00
Mark Diggory
fd02be6284 r8502@libaxis1 (orig r2367): grahamtriggs | 2007-11-26 08:46:35 -0500
Solve problem with 404 pages leaking contexts / connections due to not being run under a servlet


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2388 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:29:01 +00:00
Mark Diggory
a106e7b3ab r8501@libaxis1 (orig r2366): grahamtriggs | 2007-11-26 06:03:40 -0500
Fixed connection / context leak in ItemCounter


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2387 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:28:52 +00:00
Mark Diggory
293b1f3538 r8500@libaxis1 (orig r2365): grahamtriggs | 2007-11-26 05:24:51 -0500
And the update script - changed 'number' column to 'count' as number is a reserved word in Oracle


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2386 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:28:44 +00:00
Mark Diggory
d09592f42f r8499@libaxis1 (orig r2364): grahamtriggs | 2007-11-26 05:21:46 -0500
Changed 'number' column to 'count' as number is a reserved word in Oracle


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2385 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:28:33 +00:00
Mark Diggory
3669cfcdbc r8498@libaxis1 (orig r2363): grahamtriggs | 2007-11-26 04:51:43 -0500
Fix problems with strength counter (SQLException doesn't nest Throwable, incorrect cast of Community dso)


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2384 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:28:26 +00:00
Mark Diggory
d1725ea785 r8497@libaxis1 (orig r2362): grahamtriggs | 2007-11-26 04:10:39 -0500
More Oracle compatibility fixes - date truncation


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2383 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:28:18 +00:00
Mark Diggory
fb80ff2d2a r8490@libaxis1 (orig r2361): grahamtriggs | 2007-11-25 17:24:26 -0500
Fix Oracle compatibility - must supply sequence value on insert


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2382 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:28:05 +00:00
Mark Diggory
9a5065452d r8488@libaxis1 (orig r2359): grahamtriggs | 2007-11-25 12:25:41 -0500
Add BMP to the default list of formats read by the JPEGFilter, as it is supported in Java 5


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2381 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:27:56 +00:00
Mark Diggory
c485143eed r8487@libaxis1 (orig r2358): grahamtriggs | 2007-11-25 08:29:44 -0500
Renamed recent.submissions.index to recent.submissions.sort-option
 This is to avoid confusion with index names and sort options - also updated configuration documentation to correctly refer to sort-option and not index


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2380 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:27:49 +00:00
Mark Diggory
0d31c38ba6 r8485@libaxis1 (orig r2357): grahamtriggs | 2007-11-24 18:08:54 -0500
Removed authorlinks and subjectlinks configuration, as they were no longer used following Andrea's update


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2379 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:27:31 +00:00
Mark Diggory
bee6adc4f5 r8483@libaxis1 (orig r2356): grahamtriggs | 2007-11-23 09:14:12 -0500
Fixed missing localizations in help links


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2378 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:27:24 +00:00
Mark Diggory
aba19a44ea r8479@libaxis1 (orig r2355): grahamtriggs | 2007-11-22 05:22:56 -0500
Add ability to customise the item list display for different browse indexes and sort options


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2377 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:27:12 +00:00
Mark Diggory
a8801282b8 r8475@libaxis1 (orig r2354): grahamtriggs | 2007-11-21 07:39:54 -0500
Fixed browsing of authors in Item Mapper so that you only need to specify a partial name


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2376 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:27:02 +00:00
Mark Diggory
1228d50de5 r8444@libaxis1 (orig r2352): mdiggory | 2007-11-19 23:27:03 -0500
Use full release versions.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2375 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:26:48 +00:00
Mark Diggory
ce61b36b4e r8442@libaxis1 (orig r2350): mdiggory | 2007-11-19 20:56:07 -0500
Correction to bug discovered by Larry Stone (81906): https://webmail.mit.edu/horde/services/go.php?url=https%3A%2F%2Fsourceforge.net%2Ftracker%2F%3Ffunc%3Ddetail%26atid%3D319984%26aid%3D1834865%26group_id%3D19984


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2374 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:26:43 +00:00
Mark Diggory
c6278b0fd8 r8430@libaxis1 (orig r2348): mdiggory | 2007-11-15 18:00:44 -0500
move resolution of dspace-assembly-plugin into parent pom, correcting issues downstream in build process where it cannot be resolved.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2373 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:26:38 +00:00
Mark Diggory
0b67f72e52 r8384@libaxis1 (orig r2346): mdiggory | 2007-11-14 12:35:10 -0500
Reinitialize Browse tables anytime IntializeDatabase is called.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2372 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:26:28 +00:00
Mark Diggory
77d2093a82 r8374@libaxis1 (orig r2345): mdiggory | 2007-11-13 13:46:35 -0500
attach assembly back into package phase.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2371 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:26:20 +00:00
Mark Diggory
e415222b21 r8342@libaxis1 (orig r2343): mdiggory | 2007-11-12 20:29:37 -0500
Adjust scm location to be in the branch.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2370 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:26:10 +00:00
Mark Diggory
db254d753b add in missing language-packs
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2369 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:21:28 +00:00
Tim Donohue
0bfdc89689 Fixed bug in Manakin Configurable Submission flow - It was causing an infinite loop, if your first submission step was a non-interactive (i.e. no-UI) step. Also fixed a small bug to ensure that clicking "Previous" button will always bring you back to the last step you completed which had a UI.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2368 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 18:02:40 +00:00
Graham Triggs
3b9a53bba7 Solve problem with 404 pages leaking contexts / connections due to not being run under a servlet
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2367 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 13:46:35 +00:00
Graham Triggs
9f382c3438 Fixed connection / context leak in ItemCounter
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2366 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 11:03:40 +00:00
Graham Triggs
6326ffae55 And the update script - changed 'number' column to 'count' as number is a reserved word in Oracle
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2365 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 10:24:51 +00:00
Graham Triggs
54058b0aff Changed 'number' column to 'count' as number is a reserved word in Oracle
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2364 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 10:21:46 +00:00
Graham Triggs
3ddbccad9b Fix problems with strength counter (SQLException doesn't nest Throwable, incorrect cast of Community dso)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2363 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 09:51:43 +00:00
Graham Triggs
105c772e57 More Oracle compatibility fixes - date truncation
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2362 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 09:10:39 +00:00
Graham Triggs
e807a057de Fix Oracle compatibility - must supply sequence value on insert
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2361 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-25 22:24:26 +00:00
Stuart Lewis
9529cf5899 (Richard Jones) SF Patch 1659868 - improved database level debugging
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2360 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-25 22:12:01 +00:00
Graham Triggs
80e9508ff9 Add BMP to the default list of formats read by the JPEGFilter, as it is supported in Java 5
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2359 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-25 17:25:41 +00:00
Graham Triggs
378291b327 Renamed recent.submissions.index to recent.submissions.sort-option
This is to avoid confusion with index names and sort options - also updated configuration documentation to correctly refer to sort-option and not index

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2358 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-25 13:29:44 +00:00
Graham Triggs
5aac8da542 Removed authorlinks and subjectlinks configuration, as they were no longer used following Andrea's update
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2357 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-24 23:08:54 +00:00
Graham Triggs
571351dcfd Fixed missing localizations in help links
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2356 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-23 14:14:12 +00:00
Graham Triggs
ac26ef5b64 Add ability to customise the item list display for different browse indexes and sort options
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2355 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-22 10:22:56 +00:00
Graham Triggs
a7cfd21ed1 Fixed browsing of authors in Item Mapper so that you only need to specify a partial name
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2354 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-21 12:39:54 +00:00
Mark Diggory
cff493c639 Use full release versions.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2353 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-20 04:27:51 +00:00
Mark Diggory
1642fd3bf7 Use full release versions.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2352 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-20 04:27:03 +00:00
Mark Diggory
5f594f20bc Correction to bug discovered by Larry Stone (81906): https://webmail.mit.edu/horde/services/go.php?url=https%3A%2F%2Fsourceforge.net%2Ftracker%2F%3Ffunc%3Ddetail%26atid%3D319984%26aid%3D1834865%26group_id%3D19984
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2351 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-20 01:58:42 +00:00
Mark Diggory
8b6d99a327 Correction to bug discovered by Larry Stone (81906): https://webmail.mit.edu/horde/services/go.php?url=https%3A%2F%2Fsourceforge.net%2Ftracker%2F%3Ffunc%3Ddetail%26atid%3D319984%26aid%3D1834865%26group_id%3D19984
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2350 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-20 01:56:07 +00:00
Mark Diggory
db797f1379 Again attach assembly of directory to package phase.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2349 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-19 16:16:01 +00:00
Mark Diggory
0d532b146b move resolution of dspace-assembly-plugin into parent pom, correcting issues downstream in build process where it cannot be resolved.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2348 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-15 23:00:44 +00:00
Mark Diggory
ed5ab3198f move resolution of dspace-assembly-plugin into parent pom, correcting issues downstream in build process where it cannot be resolved.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2347 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-15 22:48:54 +00:00
Mark Diggory
08ac88062e Reinitialize Browse tables anytime IntializeDatabase is called.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2346 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-14 17:35:10 +00:00
Mark Diggory
a96e2d97f2 attach assembly back into package phase.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2345 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-13 18:46:35 +00:00
Mark Diggory
287304ff9b typo
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2344 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-13 02:10:44 +00:00
Mark Diggory
a0e8586ed7 Adjust scm location to be in the branch.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2343 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-13 01:29:37 +00:00
Mark Diggory
8aa7904dfd 1.) Adjust scm location to be in the trunk.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2342 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-13 01:20:19 +00:00
Mark Diggory
a6ee92f761 1.) Adjust version to be SNAPSHOT, the version for any dspace project module in the trunk.
2.) Adjust scm location to be in the trunk.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2341 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-13 01:06:00 +00:00
Mark Diggory
ed0bc8eaf3 Merge back to trunk from dspace-1_5_x branch
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2340 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 23:49:18 +00:00
Mark Diggory
2001749ce0 Wrap SQLExceptions in ItemCounter with ItemCountExceptions and wrap ItemCountExceptions in Collection and Community in RuntimeExceptions.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2339 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 23:39:13 +00:00
Richard Jones
29aa8314fc add missing import statements in Community and Collection for item counter
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2338 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 16:11:01 +00:00
Richard Jones
813ca2b557 add missing import statements in Community and Collection for item counter
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2337 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 16:09:33 +00:00
Mark Diggory
8fc1889d77 Add snapshot repository details to all poms so that parents can be properly resolved when individual projects are checked out.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2336 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 15:54:32 +00:00
Mark Diggory
a22fc9ae8d Add snapshot repository details to all poms so that parents can be properly resolved when individual projects are checked out.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2335 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 15:54:27 +00:00
Mark Diggory
384bdd11d2 Add snapshot repository details to all poms so that parents can be properly resolved when individual projects are checked out.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2334 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 15:54:24 +00:00
Mark Diggory
04eb99c09d Add snapshot repository details to all poms so that parents can be properly resolved when individual projects are checked out.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2333 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 15:54:18 +00:00
Mark Diggory
6fd1e2f241 Add snapshot repository details to all poms so that parents can be properly resolved when individual projects are checked out.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2332 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 15:54:13 +00:00
Mark Diggory
35405b8c30 Add snapshot repository details to all poms so that parents can be properly resolved when individual projects are checked out.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2331 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 15:54:06 +00:00
Mark Diggory
6b337b8fe1 Add snapshot repository details to all poms so that parents can be properly resolved when individual projects are checked out.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2330 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 15:53:58 +00:00
Richard Jones
242d43a696 Option to generate community and collection "strength" as a batch job
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2329 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 12:00:32 +00:00
Richard Jones
8d7b59f45d Option to generate community and collection "strength" as a batch job
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2328 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 11:59:47 +00:00
Graham Triggs
8a7e41a5fe Moved CreativeCommons xsl files from java directory to resources so that they are correctly added to the JAR
(otherwise, CreativeCommons class can't be created due to missing resources in static initialisation)

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2327 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 10:20:27 +00:00
Mark Diggory
c966ccc19a Phase 2 of build process refactoring:
Remove obsolete dspace-pom project.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2326 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-11 05:43:31 +00:00
Mark Diggory
bdfb2db765 Phase 2 of build process refactoring: Add capability to produce skinny wars as secondary artifacts of webapp projects.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2325 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-11 05:34:31 +00:00
Mark Diggory
661cec65f7 Adjusting generated maven website locations.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2324 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-10 22:23:21 +00:00
Mark Diggory
51cf0347e5 Phase 1 of build process refactoring.
1.) move parent pom to top level directory and change name to dspace-parent
2.) adjust parents of all weapps to be module in next directory up instead of dspace/pom.xml
3.) add in db driver selection and dspace.config selection into webapp poms.
4.) Add all child projects as modules in dspace-parent.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2323 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-10 21:21:23 +00:00
Mark Diggory
8c970ff63e Adjust versions so build will work until these get into the central repository.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2322 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-07 22:28:38 +00:00
Scott Phillips
e82de9cb24 (Scott Phillips) Removed the geronimo java mail library which is allready explicitly provided. This prevent any action that resulted in mail being sent, such as registering a new user or submitting an item.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2321 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-07 20:21:33 +00:00
Tim Donohue
977d3cc8fb More fixes to spelling & grammar within Manakin's messages.xml.
Some of these were suggested by Dorothea Salo (U of Wisconsin).

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2320 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-07 18:25:56 +00:00
Mark Diggory
dd4473d449 license
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2319 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-07 17:31:46 +00:00
Tim Donohue
13a4855053 Fixes to spelling & grammar within Manakin's messages.xml
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2318 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-07 16:39:06 +00:00
Tim Donohue
72ad21bd50 Fixed misspelled template "standardAttribues". Renamed to "standardAttributes", and fixed all references to it.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2317 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-07 15:39:31 +00:00
Mark Diggory
24867750c9 dropping excess info logging.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2316 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-06 22:44:39 +00:00
Mark Diggory
b1df1f0d68 CreativeCommons RDF processing based on XSL Transform.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2315 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-06 22:33:58 +00:00
Mark Diggory
c305b3bbf0 CreativeCommons RDF processing based on XSL Transform.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2314 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-06 22:28:48 +00:00
Mark Diggory
e570f0bc39 CreativeCommons license cleanup CLI
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2313 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-06 22:27:50 +00:00
Graham Triggs
c46b3d9d3b Fixed generation of the Creative Commons RDF, including the parsing change for the cc namespace.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2312 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-06 12:43:56 +00:00
Mark Diggory
c5c4049a99 Merging formating changes back from branch.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2311 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-05 18:58:36 +00:00
Mark Diggory
acfcf672f1 Correcting poor formatting in poms...
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2310 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-05 18:52:06 +00:00
Mark Diggory
6c059873da Merging differences back to trunk.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2309 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-05 18:47:18 +00:00
Mark Diggory
a7b6b492ac r7979@libaxis1 (orig r2276): tdonohue | 2007-10-29 11:16:11 -0400
Small bug fix to Pluggable Style Selection.  If an item is still an InProgressSubmission, it will not yet have an "owning collection".
 This was causing errors when attempting to preview or remove an InProgressSubmission in JSPUI.
 


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2308 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-05 18:30:31 +00:00
Mark Diggory
edf376a79e r7758@libaxis1 (orig r2273): mdiggory | 2007-10-25 14:10:22 -0400
Adjusting versioning to 1.5-alpha


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2307 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-05 18:30:24 +00:00
Mark Diggory
eed1641525 r7757@libaxis1 (orig r2272): mdiggory | 2007-10-25 14:10:16 -0400
Adjusting versioning to 1.5-alpha


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2306 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-05 18:29:09 +00:00
Mark Diggory
e721b8c7f4 r7756@libaxis1 (orig r2271): mdiggory | 2007-10-25 14:10:13 -0400
Adjusting versioning to 1.5-alpha


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2305 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-05 18:28:50 +00:00
Mark Diggory
fc57cf6355 r7755@libaxis1 (orig r2270): mdiggory | 2007-10-25 14:09:59 -0400
Adjusting versioning to 1.5-alpha


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2304 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-05 18:27:22 +00:00
Mark Diggory
65d1e27286 r7754@libaxis1 (orig r2269): mdiggory | 2007-10-25 14:09:55 -0400
Adjusting versioning to 1.5-alpha


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2303 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-05 18:26:57 +00:00
Mark Diggory
0574003c81 r7753@libaxis1 (orig r2268): mdiggory | 2007-10-25 14:09:51 -0400
Adjusting versioning to 1.5-alpha


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2302 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-05 18:26:33 +00:00
Mark Diggory
0802d795f1 r7752@libaxis1 (orig r2267): mdiggory | 2007-10-25 14:09:48 -0400
Adjusting versioning to 1.5-alpha


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2301 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-05 18:25:06 +00:00
Mark Diggory
fab8e8c42e r7751@libaxis1 (orig r2266): mdiggory | 2007-10-25 14:09:45 -0400
Adjusting versioning to 1.5-alpha


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2300 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-05 18:24:42 +00:00
Mark Diggory
3fe78f4e88 Move back to maven.dspace.org - deployment and removal of release repo def (central repo now used).
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2299 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-05 18:16:24 +00:00
Mark Diggory
e362deb21a Move back to maven.dspace.org
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2298 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-05 18:04:38 +00:00
Scott Phillips
1b9c6949c3 (Scott Phillips) Setting the .tomcat-plugin file and work/ directories used by eclipse to ignored.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2297 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-01 02:24:13 +00:00
Scott Phillips
0ccf16a338 (Scott Phillips) Setting the .tomcat-plugin file and work/ directories used by eclipse to ignored.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2296 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-01 02:24:10 +00:00
Scott Phillips
457b4419ab (Scott Phillips) Setting the .tomcat-plugin file and work/ directories used by eclipse to ignored.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2295 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-01 02:24:07 +00:00
Scott Phillips
de10d39b0b (Scott Phillips) Setting the .tomcat-plugin file used by eclipse to ignored.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2294 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-01 01:44:10 +00:00
Scott Phillips
0183c6374b (Scott Phillips) Setting the .settings directory used by eclipse to ignored.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2293 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-01 01:25:11 +00:00
Scott Phillips
12f08b2ffe (Scott Phillips) Setting the .settings directory used by eclipse to ignored.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2292 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-01 01:24:42 +00:00
Scott Phillips
d307a5bc8f (Scott Phillips) Setting the .settings directory used by eclipse to ignored.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2291 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-01 01:23:57 +00:00
Mark Diggory
dcfcad3640 Correcting "machine error" that created this folder.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2290 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-01 01:01:38 +00:00
Mark Diggory
b41463e2d4 Share project 'dspace-1_5_x' into 'https://dspace.svn.sourceforge.net/svnroot/dspace'
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2289 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-01 00:55:25 +00:00
Scott Phillips
11d58113c5 (Scott Phillips) Setting the target directory to ignored.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2288 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-31 21:55:10 +00:00
Scott Phillips
032d9ecdb5 (Scott Phillips) Setting .settings, used by eclipse, to ignored.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2287 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-31 21:54:35 +00:00
Mark Diggory
b47c404580 Correct identifier issues with repositories and switch over to using S.F. location for snapshot and release.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2286 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-30 20:20:14 +00:00
Mark Diggory
15a4f59cdd Correct identifier issues with repositories and switch over to using S.F. location for snapshot and release.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2285 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-30 19:40:55 +00:00
Mark Diggory
e99f6e5f4a adjust location of scm in dspace 1.5 branch.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2284 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-30 02:43:34 +00:00
Mark Diggory
735670adaa Adjust pluginRepositories to new locations.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2283 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-30 02:35:01 +00:00
Mark Diggory
fb35b49079 Adjust pluginRepositories to new locations.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2283 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-30 02:35:01 +00:00
Mark Diggory
38576313d8 Adjust versioning and snapshot location.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2282 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-30 02:19:02 +00:00
Mark Diggory
b0e84b5186 typo
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2281 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-29 22:09:56 +00:00
Mark Diggory
a117130eca Keep snapshot over scp for continuum.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2280 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-29 20:39:00 +00:00
Mark Diggory
bb7247c334 uniqueVersion = false to reduce number of snapshot copies.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2279 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-29 20:20:23 +00:00
Mark Diggory
a6cee54fd6 1.) Use strictly just "SNAPSHOT" for trunk with no version number.
2.) use local directory/svn sandbox for snapshot release.
3.) adjust versioning info in README

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2278 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-29 20:19:38 +00:00
Mark Diggory
27b2335cc4 Commiting adjustments to handle next "version"
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2277 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-29 19:40:58 +00:00
Tim Donohue
134852de5d Small bug fix to Pluggable Style Selection. If an item is still an InProgressSubmission, it will not yet have an "owning collection".
This was causing errors when attempting to preview or remove an InProgressSubmission in JSPUI.


git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2276 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-29 15:16:11 +00:00
Mark Diggory
6737f2158d Adjusting versioning to 1.5-alpha
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2273 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-25 18:10:22 +00:00
Mark Diggory
c5bae35cd9 Adjusting versioning to 1.5-alpha
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2272 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-25 18:10:16 +00:00
Mark Diggory
e20553e792 Adjusting versioning to 1.5-alpha
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2271 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-25 18:10:13 +00:00
Mark Diggory
f9fbf6a09c Adjusting versioning to 1.5-alpha
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2270 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-25 18:09:59 +00:00
Mark Diggory
f846f9bbf7 Adjusting versioning to 1.5-alpha
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2269 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-25 18:09:55 +00:00
Mark Diggory
3e5f37c74c Adjusting versioning to 1.5-alpha
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2268 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-25 18:09:51 +00:00
Mark Diggory
2540cebcaf Adjusting versioning to 1.5-alpha
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2267 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-25 18:09:48 +00:00
Mark Diggory
ded661235e Adjusting versioning to 1.5-alpha
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2266 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-25 18:09:45 +00:00
Mark Diggory
b9d2d57e27 Testing SVK smerge from branch to trunk.
r7715@libaxis1 (orig r2260):  ScottPhillips | 2007-10-24 12:02:30 -0400
 (Scott Phillips) Branch for DSpace 1.5.X set of releases
 r7736@libaxis1 (orig r2263):  bollini | 2007-10-25 08:39:31 -0400
 [1818000] Pluggable Style Selection strategy for item display
 r7737@libaxis1 (orig r2264):  bollini | 2007-10-25 08:41:44 -0400
 [1818000] Pluggable Style Selection strategy for item display


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2265 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-25 15:32:28 +00:00
Andrea Bollini
f7a83f2a02 [1818000] Pluggable Style Selection strategy for item display
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2264 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-25 12:41:44 +00:00
Andrea Bollini
58b2bcac44 [1818000] Pluggable Style Selection strategy for item display
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2263 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-25 12:39:31 +00:00
Andrea Bollini
4746c74340 [1818000] Pluggable Style Selection strategy for item display
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2262 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-25 12:24:58 +00:00
Andrea Bollini
7c9ca505f5 [1818000] Pluggable Style Selection strategy for item display
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2261 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-25 12:21:41 +00:00
Scott Phillips
e757a57b5b (Scott Phillips) Branch for DSpace 1.5.X set of releases
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2260 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-24 16:02:30 +00:00
Graham Triggs
8c2692ea7d Add the capability to define in which order the index should be listed by default (ascending or descending)
Also, removed two uses of 'magic' strings - replaced with static values from SortOption

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2259 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-24 11:47:31 +00:00
Graham Triggs
024ba53adf Defensive coding to avoid a FeedException when there is no description
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2258 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-23 10:34:47 +00:00
Graham Triggs
30c3a05a38 Added SQL to bring Oracle schema inline with Postgres updates
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2257 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-22 14:41:10 +00:00
Andrea Bollini
8c3b4ead62 display item page use the same configuration then browse system
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2256 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-22 14:16:33 +00:00
Richard Jones
4d1706b383 (Andre Bollini)
add null checks to dc metadata lookups in BrowseItem

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2255 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-22 12:12:51 +00:00
Andrea Bollini
1db6ad8882 more info in Exception message
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2254 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-19 16:42:53 +00:00
Andrea Bollini
140c9f25e6 added an initial configuration for webui.content_disposition_threshold (8Mb) and some info about
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2253 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-15 13:46:58 +00:00
Andrea Bollini
8d2b38eead added missed review initial question code
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2252 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-14 20:40:07 +00:00
Scott Phillips
8c12c74796 (Scott Phillips) Modify artifact preview to be more general than just thumbnails. This allows the possibility for themes to override the template to provide any icon it can for an items.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2251 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-12 22:21:37 +00:00
Stuart Lewis
5f35de8ebd (Robert Tansley) SF Patch #1566572 Item metadata in XHTML head <meta> elements
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2250 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-11 15:55:37 +00:00
James Rutherford
e303e57762 Fixed a minor bug in QDC.properties.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2249 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-11 10:53:17 +00:00
Graham Triggs
6c40b8a3b2 Fix Oracle sequence resetting
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2248 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-05 16:01:40 +00:00
Graham Triggs
2eab772d8f Corrected population of checksum_history
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2247 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-04 09:37:20 +00:00
Scott Phillips
a6d36acfcb (Scott Phillips) Setting default Manakin configuration paramaters.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2246 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-03 16:59:37 +00:00
Mark Diggory
e13f47b984 change parameter names to avoid risk of infinite loop
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2245 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-03 16:24:01 +00:00
Mark Diggory
9dcd497c56 change parameter names to avoid risk of infinite loop
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2244 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-03 16:22:42 +00:00
Mark Diggory
2d62e0fbf6 Remove dependency on Jena as the history system went away.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2243 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-03 15:30:33 +00:00
Mark Diggory
79edaa9f19 Removing bouncycastle, changing location of tm-extractors
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2242 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-03 15:08:27 +00:00
Graham Triggs
6d458762fc Corrected timestamp insertion in most_recent_checksum
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2241 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-03 14:52:24 +00:00
Graham Triggs
5a21e42fa5 Fixed definition of checksum_results
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2240 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-03 14:35:06 +00:00
Mark Diggory
fbfe181584 Use official Lucene jars in Maven repository.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2239 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-03 11:39:07 +00:00
Scott Phillips
4e5e1d0eb2 (Scott Phillips) Added a unique theme ID, which will be used by the feathers theme engine to provide easier theme development.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2238 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-03 03:15:55 +00:00
Scott Phillips
8cc1f28f56 (Scott Phillips) Added the rend attribute to xrefs, at it says they should have in the DRI schema.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2237 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-03 01:20:57 +00:00
Scott Phillips
b6bd305149 (Scott Phillips) Added the rend attribute to xrefs, at it says they should have in the DRI schema.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2236 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-03 01:17:32 +00:00
Scott Phillips
5d64526285 (Scott Phillips) Added the rend attribute to xrefs, at it says they should have in the DRI schema.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2235 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-03 01:16:11 +00:00
Scott Phillips
886ef957d6 (Scott Phillips) Fixed bug where if forced SSL for authenticated sessions is turned on and multiple authentication mechansms are installed the user would not be redirected to the proper authentication mechanisms if they were allready on a secure connection.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2234 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-03 00:42:30 +00:00
Scott Phillips
ca7d4defc9 (Scott Phillips) If a bitstream has access is restricted and the user is allready logged in instead of asking them to login again display an error page that tells the user they do not have suffecient priveleges to access the bitstream.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2233 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-03 00:13:58 +00:00
Scott Phillips
5fb0c5bbde (Scott Phillips) Tweaked default caching parameters based upon testing under live conditions at the TDL repository. The problem with the previous repository is that under even normal conditions components (i.e. transformers, generators, etc) would not be released from the cache and eventualy would suck all the available memory out of the JVM unless you had absolutely obsene amounts of available memory. Thse pramaters tweak the JVM to preform with just 64 megabytes of available memory and will always expire items from the cache after 24 hours or sooner.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2232 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-02 23:33:13 +00:00
Scott Phillips
b3d228444b (Scott Phillips) Remove the bitstream bitrange feature from downloading bitstreams. Adding this header causes some problems on the windows-based PDF viewers.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2231 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-02 23:15:23 +00:00
Scott Phillips
dc7bee8347 (Scott Phillips) Modified ItemImport so that when testing, i.e. the -t flag, each metadata field that is being added is check to see if it exists. If the field does not exist then an error message is printed, and the test continues.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2230 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-02 23:06:56 +00:00
Scott Phillips
bf971ddca1 (Scott Phillips) Removed the DSpaceResourceManager as a specific transformer to manage the opening and closing of DSpace context. Sometimes under high loads cocoon will not complete the lifecycle of transformers which would creat contitions where DSpace contexts / database connections would be leaked. To fix this the cocoon servlet wrapper is modified to handle closing ony open DSpace contexts when the servlet exits.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2229 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-02 22:26:31 +00:00
Mark Diggory
82c6717dfa sql.dir no longer a used property.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2228 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-02 20:59:22 +00:00
Mark Diggory
ecddeec8e5 Make servlet-api provided here as well.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2227 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-02 20:58:20 +00:00
Mark Diggory
16e4d90cce creating separate repositories for release and snapshot dspace dependencies.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2226 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-02 20:47:40 +00:00
Mark Diggory
05d74ee438 Adding servlet api to dspace-lni-client now that its designated as provided.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2225 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-02 17:24:34 +00:00
Mark Diggory
c4babb5a7d Adding servlet api to dspace-lni now that its designated as provided.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2224 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-02 17:10:15 +00:00
Mark Diggory
9f89b31db3 Adding servlet api to dspace-oai now that its designated as provided.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2223 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-02 17:08:27 +00:00
Graham Triggs
72cceaf478 Mark servlet-api dependency as provided (by application container)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2222 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-29 20:43:22 +00:00
Graham Triggs
f9bdb78071 Added initialisation code to avoid file locking problems on windows
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2221 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-29 20:42:25 +00:00
Graham Triggs
a85b083e75 Added servlet-api dependency to resolve compilation problem
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2220 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-29 20:34:44 +00:00
Graham Triggs
4a194fa770 Fixed compilation error
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2219 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-29 20:19:28 +00:00
James Rutherford
6e35504357 (Chris yates)
- SF Patch #1759438 Multilingualism Language Switch - DSpace Header (updated to be compatible with new browse & submission systems).

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2218 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-28 13:17:04 +00:00
Claudia Juergen
fe2b7fd5d0 Removed reference to TxSpace
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2217 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-27 10:41:51 +00:00
Claudia Juergen
e7ce357377 Typo in xmlui.dri2xhtml.structural.contact-link
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2216 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-27 09:24:59 +00:00
James Rutherford
9ead74b923 Fixed a bug in RDFCrosswalk (it threw an NPE if an item didn't have any thumbnails).
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2215 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-26 09:44:36 +00:00
Graham Triggs
961d03ea33 Fix itemRemoved method to correctly clear entries from the general item / withdrawn item tables.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2214 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-24 20:35:21 +00:00
Graham Triggs
c39aa5b780 Always make item removal update the browse tables (may have entries in 'admin' tables).
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2213 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-24 20:17:11 +00:00
Stuart Lewis
e42cb88744 (Stuart Lewis) SF Patch #1799575 New EPersonConsumer event consumer
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2212 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-21 13:48:48 +00:00
Graham Triggs
aeab047b6e Repaired invalid character from i18n patch
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2211 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-21 04:32:57 +00:00
Graham Triggs
74dbc81a42 Fixed include of authentication classes following package move
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2210 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-20 22:01:22 +00:00
Stuart Lewis
567a726316 git-svn-id: http://scm.dspace.org/svn/repo/trunk@2209 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2007-09-20 15:24:32 +00:00
Claudia Juergen
4a85015b9c (Brian Helm)
SF Patch 1794700  Bug fix for stat-monthly and stat-report-monthly

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2208 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-19 14:46:50 +00:00
Claudia Juergen
93e46412bb (Brian Helm)
SF Patch 1794700  Bug fix for stat-monthly and stat-report-monthly

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2207 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-19 14:45:54 +00:00
Claudia Juergen
70ddde04db Galician Translation of Messages.properties based on DSpace 1.4.2
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2206 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-19 12:02:55 +00:00
Graham Triggs
bcf7cc64a5 Fix a 'starts with' browsing bug
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2205 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-18 16:13:17 +00:00
Mark Diggory
bf4d523f18 These projects will become available in 1.6 and will not be used in 1.5.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2204 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-18 15:56:01 +00:00
Mark Diggory
84589147ff restore "file:" scheme on log4j prarameters.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2203 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-18 04:17:21 +00:00
Mark Diggory
a66fd04fb5 typo
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2202 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-18 03:35:40 +00:00
Mark Diggory
a01d03d89f disable logging so log4j can log to console properly.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2201 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-17 18:56:23 +00:00
Mark Diggory
08d4b0c908 Hardwire initialization and destruction of Browse tables into IntializeDatabase.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2200 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-17 18:44:55 +00:00
Mark Diggory
c9561398b0 .Use current Ant/Java approach for database initialization and registry creation
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2199 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-17 18:43:32 +00:00
Graham Triggs
a9225f6022 Added ability to specify a character set to be used when sending an email. Can be set as a default value in dspace.cfg, or (overridden) by an email template by specifying a charset: line.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2198 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-17 15:39:36 +00:00
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
fb1e307117 Correct issues with invalid mods content generation.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2195 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-10 20:59:26 +00:00
Mark Diggory
ea52e2c1e0 reinsert assembly:assembly call
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2194 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-10 03:02:36 +00:00
Mark Diggory
d720a48c32 correct postgres dependency
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2193 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-08 16:46:29 +00:00
Mark Diggory
912516b126 Reinsert dspace/pom.xml into dependency hierarchy and move database dependencies downstream.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2192 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-08 14:26:30 +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
Mark Diggory
f98c875d14 More reasonable defaults for testing.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2190 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-07 19:09:49 +00:00
Mark Diggory
0a051502aa Minor name change.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2189 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-07 19:04:04 +00:00
Mark Diggory
99e5a0b313 Moving database driver config and dspace config downstream to dspace/pom.xml
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2188 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-07 16:26:50 +00:00
Mark Diggory
2f5fd4bfd3 package hierarchy for sql files
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2187 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-07 16:02:15 +00:00
Mark Diggory
5bb74802a6 Correct artifact name.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2186 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-06 19:08:26 +00:00
Mark Diggory
89b4fe7ced Initial checkin of the dspace-storage-oracle addon to support all things Oracle
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2185 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-06 18:57:36 +00:00
Mark Diggory
28dc14ef02 Share project 'dspace-storage-oracle' into 'https://dspace.svn.sourceforge.net/svnroot/dspace'
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2184 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-06 18:56:37 +00:00
Mark Diggory
6705365605 Initial checkin of the dspace-postgres-storage addon to support all things Postgres.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2183 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-06 18:55:59 +00:00
Mark Diggory
51d19e12c6 Share project 'dspace-storage-postgres' into 'https://dspace.svn.sourceforge.net/svnroot/dspace'
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2182 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-06 18:54:20 +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
Claudia Juergen
90796abf55 Updated German Translation to revision 2171 of Messages.properties
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2180 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-06 13:39:50 +00:00
Mark Diggory
a90289e324 Add in jdbc driver url
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2179 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-04 03:22:29 +00:00
Mark Diggory
5813c372e9 Correcting web.xml in xmlui to support initializing DSpace in the application.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2178 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-04 02:44:49 +00:00
Mark Diggory
729bfb9a86 Correcting web.xml in xmlui to support initializing DSpace in the application.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2177 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-04 02:44:24 +00:00
Mark Diggory
7fedefef06 correcting some minor mistakes in previous commit.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2176 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-31 05:17:56 +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
Graham Triggs
4b3599386c Added copyright comments.
(that's the problem with code folding them out of the way - you don't notice when they are missing

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2173 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-28 15:59:28 +00:00
Stuart Lewis
c5d0ca8979 SF Patch 1743188 Patch for Request #1145499 - Move Items - fixing small code formating mistake
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2172 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-28 15:54:08 +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
Stuart Lewis
d7de5c47fa Updated configure help doc to reflect new package (org.dspace.authenticate)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2169 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-28 06:25:27 +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
0b1664c114 remove usage of apache snapshot repository.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2167 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-26 03:20:07 +00:00
Mark Diggory
3dd9ca2fe7 1.) Add in filtering by dspace.config (inherited by all children of the parent pom).
2.) open repostory updates to be once daily.
3.) Add documentation about various configurations.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2166 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-25 20:46:52 +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
Mark Diggory
b3cc5dffd2 Removing Async configuration which will be provided in addon.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2162 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-24 22:40:26 +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
Claudia Juergen
ce93f942cb Welsh language pack
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2159 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-24 10:01:23 +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
c2a5c1f564 SF Patch #1720105 Add SMTP port as configurable parameter
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2157 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-23 13:00:25 +00:00
Stuart Lewis
a87167901f Updated with two recent patches - #1737792 #1724330
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2156 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-23 12:33:27 +00:00
Stuart Lewis
6c2a7ff2c1 [ 1724330 ] Removes "null" being displayed in community-home.jsp
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2155 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-23 11:18:26 +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
Stuart Lewis
172b421ef9 [ 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@2152 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-23 10:54:42 +00:00
Mark Diggory
fb7d827091 Correct log4j typo.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2151 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-22 20:17:09 +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
fe1b824f6a adjust parent project so its source resolves in continuum.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2148 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-21 03:15:55 +00:00
Graham Triggs
83d64cf139 Improve functionality/layout of withdrawn items list
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2147 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-20 23:06:09 +00:00
Mark Diggory
44e4a632d6 Correcting mistake in earlier commit
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2146 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-20 18:43:33 +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
009e066a5f If the projects parent is only gotten from the repo, need to include the repo location to resolve it.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2143 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-16 19:26:09 +00:00
Mark Diggory
e99104f554 use classpath resources instead of old method.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2142 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-16 00:16:20 +00:00
Mark Diggory
81a1b6fc68 Add example xmlui.xconf file to configuration.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2141 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-16 00:09:09 +00:00
Mark Diggory
fd282cbfa1 svn-ignore .classpath and .project
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2140 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-15 20:21:20 +00:00
Mark Diggory
8ff63e9eaf Adding generated LNI classes so that application can compile in Eclipse on first checkout.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2139 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-15 20:17:00 +00:00
Mark Diggory
5135f56945 Adding generated LNI classes so that application can compile in Eclipse on first checkout.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2138 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-15 20:15:54 +00:00
Mark Diggory
4c5da605d8 git-svn-id: http://scm.dspace.org/svn/repo/trunk@2137 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2007-08-15 20:12:18 +00:00
Mark Diggory
a17c147851 svn-ignore .classpath and .project
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2136 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-15 20:09:53 +00:00
Mark Diggory
95dafaf596 Use dspace-pom for parent, without relative reference.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2135 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-15 20:08:19 +00:00
Mark Diggory
5d4bb55fc6 Use dspace-pom for parent, without relative reference.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2134 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-15 20:04:47 +00:00
Mark Diggory
ec7deb7bc9 Correct assembly of wars.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2133 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-15 20:01:04 +00:00
Mark Diggory
a69e83693d Adding in support to build submodules of XMLUI and LNI when checked out at same level as other modules (I.E. to support Eclipse).
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2132 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-15 15:39:31 +00:00
Mark Diggory
f83a3bb0f9 Correct line delimiters.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2130 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-10 16:16:29 +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
44d011344f Correct line delimiters.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2128 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-10 16:02:30 +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
401df0ec30 SF Patch 1740579 - Patch for bug 1740454 (Concurrency)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2124 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-07 23:22:09 +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
Mark Diggory
b881c7e13a Adding in validation against dtd for submission configuration files. Correcting inputforms.dtd to support schema and vocabulary.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2121 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-06 17:31:12 +00:00
Mark Diggory
ad59c4bcca Move support for log4j console and dtds out of etc. These are better off being next to the other similar files and/or made available to xml editors.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2120 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-06 17:16:59 +00:00
Mark Diggory
5b69ba619c Move support for log4j console and dtds out of etc. These are better off being next to the other similar files and/or made available to xml editors.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2119 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-06 17:16:19 +00:00
Mark Diggory
aac785370a Move support for log4j console and dtds out of etc. These are better off being next to the other similar files and/or made available to xml editors.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2118 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-06 17:16:03 +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
Graham Triggs
abd590081f Removed processing / postProcessing call from doPreProcessing (caused two Items to be created per submission)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2115 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-06 13:53:21 +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
Graham Triggs
bbde6d286b Added missing page_reached column for Configurable Submission
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2113 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-03 12:19:33 +00:00
Mark Diggory
162ec97882 Use stable version of assembly plugin, some users having problems resolving snapshots.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2110 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-31 16:35:20 +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
Graham Triggs
d889cec26c Fixed profile activation, split for all modules, updated comments
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2107 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-28 18:42:43 +00:00
Graham Triggs
8070702d22 Remove leftover property activations that sometimes cause problems
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2106 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-27 20:56:28 +00:00
Graham Triggs
2d7156ef18 Changes to profile activation, and initial effort to move legacy ant tasks into Maven
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2105 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-27 16:11:19 +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
adbdf9cf54 Removing accidental commit of dspace.cfg.initial
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2101 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-27 12:03:42 +00:00
Graham Triggs
288b8648f4 Added Graham Triggs to developer list
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2100 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-27 10:50:47 +00:00
Mark Diggory
335f9511f8 changes.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2098 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-25 17:20:04 +00:00
Mark Diggory
2834ce7642 Guard against output invalid unqualified Dublin Core.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2095 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-25 16:54:48 +00:00
Graham Triggs
98fc9b8786 S.F. Patch 1679972 OAIDCCrosswalk NPE and invalid character fix
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2094 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-25 16:09:22 +00:00
Graham Triggs
aadd02c274 S.F. Patch 1679972 OAIDCCrosswalk NPE and invalid character fix
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2093 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-25 16:03:57 +00:00
Graham Triggs
17913eb318 git-svn-id: http://scm.dspace.org/svn/repo/trunk@2092 9c30dcfa-912a-0410-8fc2-9e0234be79fd 2007-07-25 13:49:01 +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
806ad1b131 SF Patch 1749196 Oracle compatibility for Bitstream Checker
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2089 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-24 15:11:41 +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
bba752c819 I realized I forgot to update the CHANGES document last week when I added the Configurable Submission to trunk :)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2087 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-24 14:16:54 +00:00
Scott Phillips
a510d007a8 (Scott Phillips) Removing un-used package/directory
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2086 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-23 14:42:51 +00:00
Scott Phillips
8b6c0fc219 (Scott Phillips) Removed un-used DIMDisseminationCrosswalk. This was used in previous version of Manakin, and it is still usefull because it is a SAX-based crosswalk which that scales nicely. Perhaps later it could be refactored back into standard crosswalks mechanism for DSpace if DSpace ever sports SAX based crosswalks.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2085 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-23 14:41:30 +00:00
Scott Phillips
b56678be8c (Scott Phillips) Removed un-used DIMDisseminationCrosswalk. This was used in previous version of Manakin, and it is still usefull because it is a SAX-based crosswalk which that scales nicely. Perhaps later it could be refactored back into standard crosswalks mechanism for DSpace if DSpace ever sports SAX based crosswalks.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2084 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-23 14:40:00 +00:00
Scott Phillips
60fa6de7d5 (Jay Paz) Fixed incorrect import's for EPerson related classes.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2083 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-23 13:59:57 +00:00
Tim Donohue
574da36a0b Updated XML-UI with Configurable Submission code:
- Updated the existing Submission Aspect so that it supports the Configurable Submission
- Updated all of the existing Submission Step Transformers to work with Configurable Submission

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2082 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-20 20:54:39 +00:00
Tim Donohue
5630e097e6 Added JSP-UI changes for the Configurable Submission:
- Updated all submit/ JSPs
- Removed old SubmitServlet
- Added a new SubmissionController to manage submission process
- Added JSP specific processing classes to org.dspace.app.webui.submit.step.*

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2081 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-20 20:52:58 +00:00
Tim Donohue
58eba9f179 Added the Configurable Submission configuration file and docs:
- New configuration files: item-submission.xml (JSP-UI) and item-submission-XMLUI.xml (XML-UI)
- Updated the database schema
- Updated documentation for the Configurable Submission (esp. submission.html)


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2080 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-20 20:50:41 +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
1bbebf4026 [ 1633596 ] Event System for DSpace 1.5 CHANGES
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2077 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-20 16:12:17 +00:00
Mark Diggory
cc2313bd3c Merging in DSpace Event Mechanism Branch
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2076 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-19 19:40:48 +00:00
Mark Diggory
9871cadf7e Merging in DSpace Event Mechanism Branch
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2075 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-19 19:40:27 +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
e8b21b6760 Chages addapted from: S.F. Patch 1751638 Set http disposition header to force download of large bitstreams
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2073 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-19 16:45:10 +00:00
Mark Diggory
710781b796 Comments and Formating corrections.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2072 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-19 16:08:14 +00:00
Mark Diggory
d33dae1210 activate all profiles by default, if you want to exclude a feature, select the profiles you wish to have active with 'mvn -Poai,jspui,your_profile_here package'
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2071 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-17 23:21:47 +00:00
Mark Diggory
c289644ce4 Add in our new DSpace I18N report plugin to generate an I18N report on the Messages.properties in the site documentation.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2069 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-13 21:18:54 +00:00
Mark Diggory
76f2e1df07 DSpace Logo and Add XMLUI and LNI into Navigation.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2068 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-13 16:06:32 +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
36fae591f1 Restoring ASCII properties files from svn history.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2066 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-12 19:59:07 +00:00
Mark Diggory
5a4d85ce36 example default vhost configuration file for Tomcat 5.5 or greater.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2065 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 19:00:57 +00:00
Mark Diggory
711e5ebe40 svn:ignore .classpath and .project files
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2064 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 18:59:19 +00:00
Mark Diggory
91c5d7d6f2 restore dependencies that are required to package a wing distribution as it is not dependent on dspace-api (but this still uses dependencyManagement upstream in dspace-pom to determine versions).
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2063 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 18:57:35 +00:00
Mark Diggory
b1c4e6421c correct for presence of lang, which is absent as a dependency due to the fact that this addon has no dependency on dspace-api
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2062 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 18:50:58 +00:00
Mark Diggory
ad19d3e86c Add dspace.dir into web.xml for later filtering.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2061 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 07:16:18 +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
f0bbed9424 Remove configuration from assembly stage. Provide configuration filtering of web.xml's and dspace.dir/config in a ant build.xml for the time being.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2059 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 07:02:26 +00:00
Mark Diggory
94b3f8eb59 provide configuration filtering of web.xml's and dspace.dir/config in a ant build.xml for the time being.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2058 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 06:59:15 +00:00
Scott Phillips
969ae84461 (Alexey Maslov)
- Updated the metadata handlers
  * MODS and DC now can handle the virtual object store changes
  * XSL templates across all handlers have been broken down into smaller components
  * Created a generic handler for all METS sections that are metadata-agnostic (like the fileSec secion)

- Refactored the themes according to recommended best practices for theme development  

- Fixed a bug in the item and container adapters to handle non-DIM metadata types

- Added the XSI namespace declaration to the abstract adapter

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2057 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 01:53:54 +00:00
Scott Phillips
5b0a13bd73 (Alexey Maslov)
- Updated the metadata handlers
  * MODS and DC now can handle the virtual object store changes
  * XSL templates across all handlers have been broken down into smaller components
  * Created a generic handler for all METS sections that are metadata-agnostic (like the fileSec secion)

- Refactored the themes according to recommended best practices for theme development  

- Fixed a bug in the item and container adapters to handle non-DIM metadata types

- Added the XSI namespace declaration to the abstract adapter

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2056 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 01:52:46 +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
Mark Diggory
6ea6175b13 Adjust site deployment and scm locations.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2054 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 00:13:04 +00:00
Mark Diggory
33577af1b3 1.) rename project slightly
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2053 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 00:07:42 +00:00
Mark Diggory
d105e74102 1.) rename project slightly
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2052 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 00:05:41 +00:00
Mark Diggory
4454dd570c 1.) correct parent inheritance
2.) rename project slightly

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2051 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 00:03:51 +00:00
Mark Diggory
4b2d88b874 1.) remove odd rename of war file (doesn't commute to name of war in packager).
2.) rename project slightly

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2050 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-11 00:01:06 +00:00
Scott Phillips
4eb0e5615d (Scott Phillips) Set Maven's target directories to be ignored for each of the Manakin projects.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2049 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-09 21:19:58 +00:00
Robert Tansley
5d3ea7fae4 Commented out Disallow: /browse-title; if an installation does not use sitemaps, they would not get indexed at all.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2048 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-09 17:05:24 +00:00
Richard Jones
c3bda443e3 update web.xml to use oai specific configuration loader
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2047 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-09 16:38:07 +00:00
Richard Jones
f9a93bc655 oai specific configuration loader; just a wrapper for the usual config loader for this web app
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2046 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-09 16:37:36 +00:00
Scott Phillips
fde5c09d41 (Scott Phillips) Adding Manakin, version 1.1, to DSpace. This new cocoon-based interface utilizes XML and XSLT to provide interface themability for specific community and collections while also providing interface level modularity thruogh the use of Manakin aspects.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2045 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-07 00:02:39 +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
2f8b96b94d Templates are transformed at compile time in Maven.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2040 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-07-02 20:41:19 +00:00
Mark Diggory
09a9c7f99a Bringing LNI service into the trunk
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2039 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-28 02:46:33 +00:00
Mark Diggory
de4a138b38 Correct paths to scm and project website
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2038 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-27 17:09:27 +00:00
Mark Diggory
14f42f898c further tuning assembly to support transitive evaluation of dependencies and correct issue with war extension and deployment.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2037 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-27 17:07:37 +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
10f515f173 Correct paths to scm and project website
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2035 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-27 17:04:16 +00:00
Mark Diggory
0f546fb2f7 Correct paths to scm and project website
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2034 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-27 17:02:18 +00:00
Mark Diggory
2ef9ebcacf Correct paths to scm and project website
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2033 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-27 17:01:27 +00:00
Mark Diggory
4b923302a5 Maven Site Generation Improvements.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2032 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-27 16:39:04 +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
f6a4425e9d Build.xml is now under src/main/config and deployed into the generated distribution by the maven assembly.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2029 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-26 21:06:11 +00:00
Mark Diggory
785d21ddc1 Placing build.xml here where it will be deployed into the generated distribution.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2028 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-26 02:11:38 +00:00
Mark Diggory
90a490b836 new location distribution build.xml
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2027 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-26 02:10:14 +00:00
Mark Diggory
7d89510d37 Retract previous commit of Eclipse project files.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2026 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-21 19:33:17 +00:00
Mark Diggory
695f1a1470 Retract previous commit of Eclipse project files.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2025 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-21 19:32:23 +00:00
Mark Diggory
67456258f3 Retract previous commit of Eclipse project files.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2024 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-21 19:31:09 +00:00
Mark Diggory
0f0d154df4 Retract previous commit of Eclipse project files.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2023 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-21 19:29: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
Mark Diggory
abf16cc00b Retract previous commit of Eclipse project files.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2021 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-21 19:26:13 +00:00
Mark Diggory
3dba86e80f Configuration filtering is now completed in Maven "Assembly" packaging.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2019 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-18 17:26:04 +00:00
Mark Diggory
57670aadd0 Assemble in appropriate dspace config designated in configuration.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2018 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-18 17:19:58 +00:00
Mark Diggory
57312a97ce Adding project files to ease developer setup in Eclipse.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2017 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-18 17:08:17 +00:00
Mark Diggory
11c67cdfa1 Remove unused imports.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2016 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-18 16:57:48 +00:00
Claudia Juergen
78f9f47048 (Jordi Prats)
- SF patch 1693412
Corrected some faults in the Spanish Messages 

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2015 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-18 07:36:15 +00:00
Mark Diggory
df2442adba UIUtil package name error
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2014 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-14 19:18:21 +00:00
Mark Diggory
82ae5ccdfd RDF Crosswalk supplied by patch: [ 1638892 ] OAI Crosswalk for DWell UI. (this does not include the dwell ui)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2013 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-14 19:00:31 +00:00
James Rutherford
4c4b57d172 (James Rutherford)
- SF Patch #1620700 Add Community and Sub-Community to OAI Sets


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2012 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-13 08:23:34 +00:00
James Rutherford
d415f88751 (James Rutherford)
- SF Patch #1638569 for SF Bug #1638565 Database Upgrade 12 to 13 missing content on new colums


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2011 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-13 07:54:39 +00:00
James Rutherford
e6921c0343 (James Rutherford)
- Fixed SF bug #1614546 get rid of unused mets_bitstream_id column

Fresh installs will no longer create this unused column, and the 1.4 -> 1.5
updater script will remove the column if it exists.



git-svn-id: http://scm.dspace.org/svn/repo/trunk@2009 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-12 18:13:51 +00:00
Mark Diggory
740e9e5319 remove lang pack tasks from script
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2008 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-08 16:16:59 +00:00
Mark Diggory
440a1e2ed9 really need to maintain relative location of dspace-pom parent.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2007 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-08 12:38:10 +00:00
Mark Diggory
a3af7aee9b add maven.dspace.org as a plugin repo
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2006 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-08 12:34:26 +00:00
Mark Diggory
e72970423a really need to maintain relative location of dspace-pom parent.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2005 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-08 12:26:19 +00:00
Mark Diggory
fd58d0133d Share project 'dspace-pom' into 'https://dspace.svn.sourceforge.net/svnroot/dspace'
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2004 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-08 12:24:43 +00:00
Mark Diggory
2672caf7d8 Share project 'dspace-pom' into 'https://dspace.svn.sourceforge.net/svnroot/dspace'
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2003 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-08 12:24:18 +00:00
Mark Diggory
42ac93ec02 Adjust POM to support template filtering of properties files and separate dspace-pom project (currently resolved via maven repo) for dspace maven build defaults.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2002 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-08 04:09:17 +00:00
Mark Diggory
b20259e13d Comments on changes to language-packs
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2001 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-08 04:06:31 +00:00
Mark Diggory
145ce2d48f Returning to usage of dspace/pom.xml as parent for DSpace Maven Projects / Addons.
Filter dspace.dir in web.xml on construction of the war.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2000 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-07 20:33:57 +00:00
Mark Diggory
4dd0fcdeb4 Filter dspace.dir in web.xml on construction of the war.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1999 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-07 20:33:03 +00:00
Mark Diggory
de536de99d Returning to usage of dspace/pom.xml as parent for DSpace Maven Projects / Addons.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1998 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-07 20:32:10 +00:00
Mark Diggory
08b8d4e4ef Returning to usage of dspace/pom.xml as parent for DSpace Maven Projects / Addons
Language Packs can be compiled into your dspace distro via the addition of '-P lang' to the active profiles, they are inactive by default. This profile resides in the dspace-api pom.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1997 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-07 20:31:27 +00:00
Mark Diggory
c7709e7451 Returning to usage of dspace/pom.xml as parent for DSpace Maven Projects / Addons
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1996 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-07 20:30:09 +00:00
Mark Diggory
698d543bce Language Packs are now a DSpace Addon. They can be compiled into your dspace distro via the addition of '-P lang' to the active profiles, they are inactive by default. IF a UTF-8 properties file exists, then the non-UTF-* file has been removed, the Maven build process supports native2ascii conversion on packaging of the Jar.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1995 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-07 20:17:46 +00:00
James Rutherford
c961fb0f6a Fixed SF bug #1727034 Method MetadataField.unique() is incorrect for null values
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1994 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-07 11:43:11 +00:00
Claudia Juergen
3d16b52fe7 Updated to Messages.properties revision 1990
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1993 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-05 13:33:32 +00:00
Claudia Juergen
60a0dac75e (Elin Stangeland)
Updated Norwegian Messages files for DSpace 1.4.2

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1992 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-05 13:09:26 +00:00
Mark Diggory
70d5880e71 Lets loose a directory level here.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1991 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-01 20:49:00 +00:00
Mark Diggory
da04d66c4f Moving Messages.properties into dspace-api/src/main/resources where it will automatically be compiled into dspace-api.jar for deployment into WARs and CLI application.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1990 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-01 16:40:29 +00:00
Mark Diggory
e04d5ac4c2 Add resource to support moving Messages.properties.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1989 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-01 16:31:32 +00:00
Mark Diggory
830260647c failonerror="no"
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1988 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-31 16:06:45 +00:00
Mark Diggory
f69689a454 Reintroduce functionality available via "install_code" target
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1987 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-31 15:57:56 +00:00
James Rutherford
2f07826c94 Fixed a minor typo.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1986 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-31 10:33:27 +00:00
Mark Diggory
1735ec79a4 Adjusted paths to produce new source distribution properly.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1985 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-30 20:48:08 +00:00
Mark Diggory
1e39acb5b2 "make-release-package" will be to produce a source distribution of specific Addons in the trunk. We will move it up to trunk and change paths to produce the releases.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1984 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-30 20:32:43 +00:00
Mark Diggory
fbcb26ced5 Change to be "bin" instead of postgres-assembly (which its not).
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1983 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-30 20:28:54 +00:00
Mark Diggory
69d0431d78 Use Maven Repositories to resolve Dependencies. If we ever want to have an Ant analog to Maven in the future, it is more than likely that it will use similar dependency resolution.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1982 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-30 19:57:00 +00:00
Mark Diggory
1124e684bb Use Maven Repositories to resolve Dependencies. If we ever want to have an Ant analog to Maven in the future, it is more than likely that it will use similar dependency resolution.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1981 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-30 19:56:37 +00:00
Mark Diggory
1edfd2b0fa Use Maven Repositories to resolve Dependencies. If we ever want to have an Ant analog to Maven in the future, it is more than likely that it will use similar dependency resolution.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1980 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-30 19:55:43 +00:00
Mark Diggory
53d932e003 Add in assembly to package phase so that "assembly:assembly" can be left off the command-line
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1979 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-30 19:37:39 +00:00
Mark Diggory
a8b10a9ce0 Shorten jar and war names to be more conventional.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1978 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-30 19:31:13 +00:00
Mark Diggory
13b2188e47 Changes to date.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1977 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-30 18:22:39 +00:00
Mark Diggory
bb92d22f08 Removing build stages from build.xml until further notice
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1976 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-30 18:18:53 +00:00
James Rutherford
aef4abaf94 fixed line endings
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1975 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-30 09:20:24 +00:00
Mark Diggory
adbc332aad Include release assembly that builds archives (tar.gz, tar.bz2, zip), correct issue with selecting postgres or oracle profile to build.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1974 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-29 17:45:11 +00:00
Mark Diggory
87d828a6f6 Include release assembly that builds archives (tar.gz, tar.bz2, zip), correct issue with selecting postgres or oracle profile to build.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1973 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-29 17:43:30 +00:00
Mark Diggory
46dbdccf99 dspace-maven plugin shouldn't have been included in build process yet.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1972 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-29 17:11:11 +00:00
Mark Diggory
ee973b5a5f Remove parent inheritance
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1971 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-29 15:02:07 +00:00
Mark Diggory
da8b996f80 Remove parent inheritance
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1970 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-29 15:01:22 +00:00
Mark Diggory
776e9c74f6 Remove parent inheritance
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1969 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-29 15:00:30 +00:00
Mark Diggory
e6e52487d1 Improved assembly that is not "profile" dependent.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1968 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-29 14:57:09 +00:00
Mark Diggory
3b8894c14d Add Maven Project descriptors and svn-ignores
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1963 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-23 18:51:02 +00:00
Mark Diggory
22e15ada14 Refactor AccountManager to remove dependency on webapp.util.UIUtil.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1962 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-23 18:36:35 +00:00
Mark Diggory
9e96b0dfdb Move DSpace Kernel Dependencies to dspace-api AddOn
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1961 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-23 16:42:11 +00:00
Mark Diggory
b82e5a019b Move Webapp dependencies out to Webapp Addons
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1960 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-23 16:24:54 +00:00
Mark Diggory
346a90f58f Move web.xml configurations to webapps.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1959 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-23 16:24:24 +00:00
Mark Diggory
808c79776c Move JSPUI Webapp resources to webapp.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1958 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-23 16:23:52 +00:00
Mark Diggory
ba4e7f6b9e Move DSpace kernel codebase to dspace-api
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1957 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-23 16:23:06 +00:00
Mark Diggory
faa66ba48c Move Webapp sources out to addons
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1956 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-23 16:22:17 +00:00
Mark Diggory
54ef740be8 New modular AddOn directory structure.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1955 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-23 16:21:15 +00:00
Mark Diggory
b2eedf6ebf First Stage of Reorganization: Refactoring of UIUtil to support separation of webui from kernel. See:
http://wiki.dspace.org/index.php/SimpleAddonMechanism/CodeReorganization#Preparation

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1954 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-23 15:57:40 +00:00
Claudia Juergen
b1a8866440 - Corrected month name display for Chinese and Japanese month
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1951 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-22 08:45:29 +00:00
Claudia Juergen
3efb8a396d (Claudia Juergen)
SF Patch #1722557 for SF Bug #1549290 Suggest Features uses hard coded strings

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1950 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-21 11:18:52 +00:00
Claudia Juergen
027b66733d (Claudia Juergen)
SF Patch #1722557 for SF Bug #1549290 Suggest Features uses hard coded strings

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1949 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-21 11:16:57 +00:00
Claudia Juergen
24422f5a05 SF Patch 1450491 i18n configurable multilingualism support
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1947 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-18 13:50:29 +00:00
Mark Diggory
3235a26b57 Organize imports to eliminate unused dependencies.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1946 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-17 03:35:52 +00:00
James Rutherford
6dbaf9293c Fixed a couple of minor bugs in TableRowIterator.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1941 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-15 09:23:25 +00:00
Mark Diggory
fc1367e9ec Merging the following 1.4.x branch changes back to trunk.
r2514@libaxis1 (orig r1874):  cjuergen | 2007-04-25 07:58:05 -0400
 Error in jsp.tools.confirm-delete-community.confirm
 Referred to collection instead of community.
 r2561@libaxis1 (orig r1878):  mdiggory | 2007-04-30 23:23:52 -0400
 1.) Correct issues with InstallItem by double-checking handle if its null in Item.getHandle(); 
 2.) Change createIndex to index preemptively, same as updateIndex.
 r2562@libaxis1 (orig r1879):  stuartlewis | 2007-05-03 10:06:08 -0400
 SF Patch #1711982 Updates to short_description (null) field when editing/creat


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1880 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-03 19:15:14 +00:00
Claudia Juergen
b1b099cee8 Error in jsp.tools.confirm-delete-community.confirm
Referred to collection instead of community.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1877 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-25 12:23:56 +00:00
Claudia Juergen
161053571d Error in jsp.tools.confirm-delete-community.confirm
Referred to collection instead of community.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1876 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-25 12:04:22 +00:00
Claudia Juergen
fc8ec5d367 Error in jsp.tools.confirm-delete-community.confirm
Referred to collection instead of community.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1875 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-25 12:00:44 +00:00
Claudia Juergen
9ff7741375 Error in jsp.tools.confirm-delete-community.confirm
Referred to collection instead of community.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1873 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-25 11:54:33 +00:00
James Rutherford
3071413e10 added some deprecation warnings
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1872 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-25 09:23:46 +00:00
Claudia Juergen
db8948ee19 Updated Bouncy Castle Package to jdk15 bouncy castle version 1.36
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1871 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-24 07:32:15 +00:00
Mark Diggory
ca7bd0428e Upgrading BouncyCastle jars to jdk-1.5 versions.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1869 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-23 19:13:10 +00:00
Mark Diggory
8d36d4dbd5 Restoring the work of the following patches (note this includes the file restorations on the previous commit 1867):
- SF Patch #1659868 Improved database level debugging
- SF Patch #1659901 Import community and collection structure
- SF Patch #1659837 ItemIterator now deals with item ids also
- SF Patch #1659796 Create administrator wtih command line options
- SF Patch #1659841 Add option to clear context object cache

(Stuart Lewis)
- SF Patch #1641678 [dspace]/bin scripts for import and export
- SF Patch #1642336 Restrict domains of self-registered users
- SF Patch #1587225 Google and html sitemap generator

(Dorothea Salo)
- SF Patch #1557948 Link subjects and authors on item pages

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1868 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-23 18:11:16 +00:00
Mark Diggory
89566dec3d Restore files deleted (on 1.4.x branch) in merge, this is also restoring history on these files.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1867 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-23 17:11:06 +00:00
Mark Diggory
f548bd0d58 Merging revisions upto 1.4.2-beta back to trunk. Below is a list of the revisions included in this merge.
r2271@libaxis1 (orig r1780):  jrutherford | 2007-04-10 09:41:17 -0400
 Branching for 1.4.x development.
 
 r2272@libaxis1 (orig r1781):  jrutherford | 2007-04-10 12:31:50 -0400
 Removed the following patches:
 =========
 (Andrea Bollini)
 - SF Patch #1687815 Search function for select eperson JSPUI
 
 (Richard Jones)
 - SF Patch #1659868 Improved database level debugging
 - SF Patch #1659901 Import community and collection structure
 - SF Patch #1659837 ItemIterator now deals with item ids also
 - SF Patch #1659796 Create administrator wtih command line options
 - SF Patch #1659841 Add option to clear context object cache
 
 (Stuart Lewis)
 - SF Patch #1641678 [dspace]/bin scripts for import and export
 - SF Patch #1642336 Restrict domains of self-registered users
 - SF Patch #1587225 Google and html sitemap generator
 
 (Monika Mevenkamp)
 - SF Patch #1654466 dsprop convenience script
 
 (Dorothea Salo)
 - SF Patch #1557948 Link subjects and authors on item pages
 
 r2276@libaxis1 (orig r1785):  cjuergen | 2007-04-11 08:09:26 -0400
 (James Rutherford)
 - SF Patch #1695702 Update SubmitServlet to use default.language instead of "en" for SF bug 1636792 default.language not applied to new submissions
 r2277@libaxis1 (orig r1786):  cjuergen | 2007-04-11 08:13:24 -0400
 updated year in copyright statement
 r2280@libaxis1 (orig r1789):  mdiggory | 2007-04-11 15:39:28 -0400
 (Mark Diggory/Graham Triggs)
 - SF Patch 1655583 Fixes issues with FilterMedia, the UI and Index locking, includes 
   a lucene upgrade to support better management of index locking.
 r2281@libaxis1 (orig r1790):  jrutherford | 2007-04-12 04:40:31 -0400
 Fixed a bug in DSIndexer where there was a Long/long mixup.
 
 r2284@libaxis1 (orig r1793):  jrutherford | 2007-04-12 06:36:23 -0400
 updated to reflect the removal of lucene-sandbox.jar and the update of
 lucene.jar
 
 r2285@libaxis1 (orig r1794):  mdiggory | 2007-04-12 12:57:15 -0400
 Missing file for  [ 1655583 ] Avoid index lock with filter-media
 r2286@libaxis1 (orig r1795):  mdiggory | 2007-04-12 16:44:29 -0400
 rolling back DSpaceServletContextListener to previous revision.
 r2287@libaxis1 (orig r1796):  jrutherford | 2007-04-14 08:02:09 -0400
 (James Rutherford)
 - SF Patch #1699903 for SF Bug #1695692 make-release-package still uses CVS commands
 
 
 r2288@libaxis1 (orig r1797):  mdiggory | 2007-04-14 23:04:59 -0400
  [ 1655583 ] Avoid index lock with filter-media: More internal solution for orphaned file handles in Microsoft Windows. Close any open IndexSearcher on finalization, works in Servlet Engine or CLI.  Removed IndexReader from DSIndexer, get it from DSQuery so it can be managed there likewise.
 r2289@libaxis1 (orig r1798):  mdiggory | 2007-04-14 23:15:34 -0400
  [ 1655583 ] Correct small logic error introduced in last commit.
 r2290@libaxis1 (orig r1799):  jrutherford | 2007-04-17 08:15:58 -0400
 (Flavio Botelho)
 - SF Patch #1601946 for SF Bug #1601875 - Makes javascript idependent to form position
 
 r2455@libaxis1 (orig r1856):  jrutherford | 2007-04-20 06:40:41 -0400
 (Claudia Juergen)
 - SF Patch #1702177 For SF bug #1638605 bin/cleanup fails on deleted primary bitstream
 
 
 r2456@libaxis1 (orig r1857):  stuartlewis | 2007-04-20 08:33:26 -0400
 SF Patch #1445573 Stats not working in Oracle
 r2457@libaxis1 (orig r1858):  stuartlewis | 2007-04-20 08:36:01 -0400
 SF Patch #1445573 Stats not working in Oracle
 r2458@libaxis1 (orig r1859):  cjuergen | 2007-04-20 09:02:19 -0400
 Bouncy Castle libs required by the current pdfbox.jar for text extraction of encrypted pdf's
 r2459@libaxis1 (orig r1860):  cjuergen | 2007-04-20 09:02:49 -0400
 Bouncy Castle libs required by the current pdfbox.jar for text extraction of encrypted pdf's
 r2460@libaxis1 (orig r1861):  cjuergen | 2007-04-20 09:03:14 -0400
 License for Bouncy Castle libs required by the current pdfbox.jar for text extraction of encrypted pdf's
 r2461@libaxis1 (orig r1862):  cjuergen | 2007-04-20 09:03:29 -0400
 License for Bouncy Castle libs required by the current pdfbox.jar for text extraction of encrypted pdf's


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1866 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-23 14:20:41 +00:00
James Rutherford
d714758e92 Switched some method calls to use varargs properly (should eliminate all
compile-time warnings about varargs).


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1865 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-23 10:28:41 +00:00
James Rutherford
81bd334582 Switched to using the varargs versions of various methods.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1864 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-23 10:20:16 +00:00
James Rutherford
de0fcf4781 Added a 'help' target to the build file. Now it is possible to run 'ant help'
to get a list of all available targets with short descriptions.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1855 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-19 13:22:25 +00:00
James Rutherford
603d4d0d76 Changed source and target to 1.5; trunk now requires JDK 1.5 or greater.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1800 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-18 13:37:10 +00:00
Claudia Juergen
230405a1bf Removed references to UPC
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1792 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-12 10:26:24 +00:00
Claudia Juergen
399251be86 updated year in copyright statement
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1784 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-11 11:27:52 +00:00
Claudia Juergen
6cae9d556a (Grupo de Usuarios de DSpace de España (GUDE))
Spanish language pack for DSpace 1.4.1

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1783 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-11 09:07:52 +00:00
Claudia Juergen
86c16ad09f (Grupo de Usuarios de DSpace de España (GUDE))
Catalan language pack for DSpace 1.4.1

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1782 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-11 09:07:14 +00:00
James Rutherford
99751294c9 (Stuart Lewis)
- SF Patch #1587225 Google and html sitemap generator


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1779 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-09 12:06:58 +00:00
James Rutherford
00d924f0db (Stuart Lewis)
- SF Patch #1587225 Google and html sitemap generator

Note that this patch was modified to work with jdk 1.4. Once we are using jdk
1.5 or higher, the annotations can go back in.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1778 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-09 12:03:14 +00:00
James Rutherford
6e5a54f707 (Richard Jones)
- SF Patch #1659841 Add option to clear context object cache


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1777 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-09 10:51:02 +00:00
James Rutherford
15db86801e (Richard Jones)
- SF Patch #1659796 Create administrator wtih command line options

Also updated create-adminstrator script and simplified dsprop script.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1776 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-09 10:47:06 +00:00
James Rutherford
2d02aa4e2b (Monika Mevenkamp)
- SF Patch #1654466 dsprop convenience script


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1775 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-09 10:14:48 +00:00
Stuart Lewis
a64dbf8e37 Corrected typo in comment
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1768 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-06 20:16:10 +00:00
James Rutherford
1e64faade1 (Monika Mevenkamp)
- SF Patch #1654469 stat scripts always return exit code 1


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1767 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-06 16:45:17 +00:00
James Rutherford
8091277eb7 (Stuart Lewis)
- SF Patch #1642336 Restrict domains of self-registered users


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1766 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-06 14:51:06 +00:00
James Rutherford
236951fa78 (Stuart Lewis)
- SF Patch #1670110 for SF Bug #1670106 Onebox and textarea fail when visibility set to workflow
- SF Patch #1628889 Improve file size descriptions in ItemTag
- SF Patch #1641678 [dspace]/bin scripts for import and export


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1765 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-06 14:15:48 +00:00
Andrea Bollini
e24d27cf74 SF Patch #1687815 Search function for select eperson JSPUI
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1764 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-06 09:09:52 +00:00
Andrea Bollini
e35be80261 (Andrea Bollini)
SF Patch #1689150 improvement of ControlledVocabulary

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1763 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-06 09:03:14 +00:00
Robert Tansley
f0c5ceec69 (Robert Tansley)
- Fixes to QueryArgs and RegisterServlet that cause NullPointerExceptions on
  invalid input


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1762 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-05 22:35:52 +00:00
Stuart Lewis
9b6c5729e4 SF Patch #1665400 Oracle schema changes for CLOB columns
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1761 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-05 15:35:38 +00:00
Robert Tansley
5d4033bae9 Adding svn:ignore for local/ directory
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1760 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-05 15:31:47 +00:00
Stuart Lewis
e027147bc2 SF Patch #1660752 Workaround Numeric/Integer handling in Oracle
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1759 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-05 15:26:37 +00:00
James Rutherford
2708a082d6 (James Rutherford)
- SF Patch #1694943 for SF feature request #1691277 Importing: Workaround for ext3 subdirectory limitation


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1758 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-05 14:01:44 +00:00
Stuart Lewis
cd3468fba3 SF Patch #1688523 Bug fix - OAI harvest and Oracle
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1757 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-05 13:31:47 +00:00
James Rutherford
979b743325 (Richard Jones)
- SF Patch #1659837 ItemIterator now deals with item ids also


git-svn-id: http://scm.dspace.org/svn/repo/trunk@1756 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-05 11:09:16 +00:00
Claudia Juergen
a4c2a78300 (Claudia Juergen)
Fix for SF Bug #1690573 dspace-admin, edit item trailing white spaces

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1755 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-04 11:40:55 +00:00
Robert Tansley
8a8b87ecd7 Setting svn:ignore to ignore postgresql JDBC driver jar
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1754 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-03 20:47:04 +00:00
Robert Tansley
7586d842ff Updated svn:ignore to ignore Eclipse project files and build/
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1753 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-03 20:26:21 +00:00
Robert Tansley
1373ad370c Updated svn:ignore to ignore Eclipse project files and build/
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1752 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-04-03 20:24:35 +00:00
Stuart Lewis
d5cb57a50a SF Patch #1659901 Import community and collection structure
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1751 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-03-30 12:37:40 +00:00
Stuart Lewis
b8f91d989a SF Patch #1659901 Import community and collection structure
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1750 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-03-30 11:12:17 +00:00
Claudia Juergen
80c7f6bc48 (Stuart Lewis)
- SF Patch #1628889 Improve file size descriptions in ItemTag

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1749 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-03-30 09:19:12 +00:00
Stuart Lewis
e6e7c5a0ca SF Patch 1676370 Bug #1648070 Statistics does not use navbar="admin"
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1737 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-03-12 13:47:23 +00:00
Stuart Lewis
dd9e736e6e SF Patch #1659868 Improved database level debugging
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1736 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-03-12 13:20:41 +00:00
Stuart Lewis
0ebb61bd12 SF Patch #1659868 Improved database level debugging
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1735 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-03-12 13:20:16 +00:00
Mark Diggory
0c48621b3b Correcting typo in mods/mets crosswalk (causes errors in OAI). Have to point out storing xml as values of a java properties file not only unvalidatable but also not horrible to internationalize. This should seriously be considered for replacement/rearchitecture.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1734 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-03-10 03:20:54 +00:00
Claudia Juergen
fb8f13300e (Claudia Juergen)
Fix for SF Bug #1653151 Checker file shows filter-media (just a typo in header)
Fixed bin/index-all similar typo

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1733 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-03-05 16:08:44 +00:00
Claudia Juergen
ec71506205 (StuartLewis)
SF Patch #1670110 for SF Bug #1670106 Onebox and textarea fail when visibility set to workflow

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1732 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-03-05 15:59:46 +00:00
Claudia Juergen
1ede94f58c French Messages.properties compliant to DSpace 1.4.1
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1729 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-03-05 14:32:37 +00:00
3601 changed files with 567077 additions and 149276 deletions

14
.gitattributes vendored Normal file
View File

@@ -0,0 +1,14 @@
# Auto detect text files and perform LF normalization
* text=auto
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain

31
.gitignore vendored Normal file
View File

@@ -0,0 +1,31 @@
## Ignore the MVN compiled output directories from version tracking
target/
## Ignore project files created by Eclipse
.settings/
.project
.classpath
## Ignore project files created by IntelliJ IDEA
*.iml
*.ipr
*.iws
.idea/
overlays/
## Ignore project files created by NetBeans
nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml
META-INF/
## Ignore all *.properties file in root folder, EXCEPT build.properties (the default)
/*.properties
!/build.properties
##Mac noise
.DS_Store

45
.travis.yml Normal file
View File

@@ -0,0 +1,45 @@
language: java
env:
# Give Maven 1GB of memory to work with
- MAVEN_OPTS=-Xmx1024M
# Install prerequisites for building Mirage2 more rapidly
before_install:
# Install latest Node.js 0.10.x & print version info
- nvm install 0.10
- node --version
# Install Bower
- npm install -g bower
# Install Grunt & print version info
- npm install -g grunt && npm install -g grunt-cli
- grunt --version
# Print ruby version info (should be installed)
- ruby -v
# Install Sass & print version info
- gem install sass
- sass -v
# Install Compass & print version info
- gem install compass
- compass version
# Skip install stage, as we'll do it below
install: "echo 'Skipping install stage, dependencies will be downloaded during build and test stages.'"
# Two stage Build and Test
# 1. Install & Unit Test APIs
# 2. Assemble DSpace
script:
# 1. [Install & Unit Test] Check source code licenses and run source code Unit Tests
# (This explicitly skips building the 'dspace' assembly module, since we only want to do that ONCE.)
# license:check => Validate all source code license headers
# -Dmaven.test.skip=false => Enable DSpace Unit Tests
# -P !dspace => SKIP full DSpace assembly (will do below)
# -B => Maven batch/non-interactive mode (recommended for CI)
# -V => Display Maven version info before build
- "mvn clean install license:check -Dmaven.test.skip=false -P !dspace -B -V"
# 2. [Assemble DSpace] Ensure assembly process works (from [src]/dspace/), including Mirage 2
# -Dmirage2.on=true => Build Mirage2
# -Dmirage2.deps.included=false => Don't include Mirage2 build dependencies (We installed them in before_install)
# -P !assembly => SKIP the actual building of [src]/dspace/dspace-installer (as it can be memory intensive)
- "cd dspace && mvn package -Dmirage2.on=true -Dmirage2.deps.included=false -P !assembly -B -V"

40
LICENSE Normal file
View File

@@ -0,0 +1,40 @@
DSpace source code license:
Copyright (c) 2002-2013, DuraSpace. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- Neither the name DuraSpace nor the name of the DSpace Foundation
nor the names of its contributors may be used to endorse or promote
products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
DSpace uses third-party libraries which may be distributed under
different licenses to the above. Information about these licenses
is detailed in the LICENSES_THIRD_PARTY file at the root of the source
tree. You must agree to the terms of these licenses, in addition to
the above DSpace source code license, in order to use this software.

393
LICENSES_THIRD_PARTY Normal file
View File

@@ -0,0 +1,393 @@
DSpace uses third-party libraries which may be distributed under different
licenses. We have listed all of these third party libraries and their licenses
below. This file can be regenerated at any time by simply running:
mvn clean verify -Dthird.party.licenses=true
You must agree to the terms of these licenses, in addition to the DSpace
source code license, in order to use this software.
---------------------------------------------------
Third party Java libraries listed by License type.
PLEASE NOTE: Some dependencies may be listed under multiple licenses if they
are dual-licensed. This is especially true of anything listed as
"GNU General Public Library" below, as DSpace actually does NOT allow for any
dependencies that are solely released under GPL terms. For more info see:
https://wiki.duraspace.org/display/DSPACE/Code+Contribution+Guidelines
---------------------------------------------------
Apache Software License, Version 2.0:
* Ant-Contrib Tasks (ant-contrib:ant-contrib:1.0b3 - http://ant-contrib.sourceforge.net)
* Code Generation Library (cglib:cglib:3.1 - http://cglib.sourceforge.net/)
* HPPC Collections (com.carrotsearch:hppc:0.5.2 - http://labs.carrotsearch.com/hppc.html/hppc)
* metadata-extractor (com.drewnoakes:metadata-extractor:2.6.2 - http://code.google.com/p/metadata-extractor/)
* Jackson-annotations (com.fasterxml.jackson.core:jackson-annotations:2.3.0 - http://wiki.fasterxml.com/JacksonHome)
* Jackson-core (com.fasterxml.jackson.core:jackson-core:2.1.3 - http://wiki.fasterxml.com/JacksonHome)
* Jackson-core (com.fasterxml.jackson.core:jackson-core:2.3.3 - http://wiki.fasterxml.com/JacksonHome)
* jackson-databind (com.fasterxml.jackson.core:jackson-databind:2.3.3 - http://wiki.fasterxml.com/JacksonHome)
* Google APIs Client Library for Java (com.google.api-client:google-api-client:1.19.0 - http://code.google.com/p/google-api-java-client/google-api-client/)
* Google Analytics API v3-rev103-1.19.0 (com.google.apis:google-api-services-analytics:v3-rev103-1.19.0 - http://nexus.sonatype.org/oss-repository-hosting.html/google-api-services-analytics)
* FindBugs-jsr305 (com.google.code.findbugs:jsr305:3.0.0 - http://findbugs.sourceforge.net/)
* Gson (com.google.code.gson:gson:2.2.1 - http://code.google.com/p/google-gson/)
* Guava: Google Core Libraries for Java (com.google.guava:guava:13.0 - http://code.google.com/p/guava-libraries/guava)
* Guava: Google Core Libraries for Java (com.google.guava:guava:14.0.1 - http://code.google.com/p/guava-libraries/guava)
* Guava: Google Core Libraries for Java (com.google.guava:guava:18.0 - http://code.google.com/p/guava-libraries/guava)
* Guava: Google Core Libraries for Java (com.google.guava:guava-jdk5:13.0 - http://code.google.com/p/guava-libraries/guava-jdk5)
* Google HTTP Client Library for Java (com.google.http-client:google-http-client:1.19.0 - http://code.google.com/p/google-http-java-client/google-http-client/)
* Jackson 2 extensions to the Google HTTP Client Library for Java. (com.google.http-client:google-http-client-jackson2:1.19.0 - http://code.google.com/p/google-http-java-client/google-http-client-jackson2/)
* Google OAuth Client Library for Java (com.google.oauth-client:google-oauth-client:1.19.0 - http://code.google.com/p/google-oauth-java-client/google-oauth-client/)
* Java 6 (and higher) extensions to the Google OAuth Client Library for Java. (com.google.oauth-client:google-oauth-client-java6:1.19.0 - http://code.google.com/p/google-oauth-java-client/google-oauth-client-java6/)
* Jetty extensions to the Google OAuth Client Library for Java. (com.google.oauth-client:google-oauth-client-jetty:1.19.0 - http://code.google.com/p/google-oauth-java-client/google-oauth-client-jetty/)
* ConcurrentLinkedHashMap (com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.2 - http://code.google.com/p/concurrentlinkedhashmap)
* FORESITE :: Object Reuse and Exchange library (com.googlecode.foresite-toolkit:foresite:0.9 - http://www.openarchives.org/ore)
* ISO Parser (com.googlecode.mp4parser:isoparser:1.0-RC-1 - http://code.google.com/p/mp4parser/)
* builder-commons (com.lyncode:builder-commons:1.0.2 - http://nexus.sonatype.org/oss-repository-hosting.html/builder-commons)
* Jtwig Core (com.lyncode:jtwig-core:2.0.1 - http://www.lyncode.com/jtwig-core)
* Jtwig Core Functions (com.lyncode:jtwig-functions:2.0.1 - http://www.lyncode.com/jtwig-functions)
* Jtwig Spring (com.lyncode:jtwig-spring:2.0.1 - http://www.lyncode.com/jtwig-spring)
* Test Support (com.lyncode:test-support:1.0.3 - http://nexus.sonatype.org/oss-repository-hosting.html/test-support)
* XOAI : OAI-PMH Java Toolkit (com.lyncode:xoai:3.2.9 - http://www.lyncode.com)
* Spatial4J (com.spatial4j:spatial4j:0.4.1 - https://github.com/spatial4j/spatial4j)
* Commons BeanUtils (commons-beanutils:commons-beanutils:1.8.3 - http://commons.apache.org/beanutils/)
* Commons CLI (commons-cli:commons-cli:1.2 - http://commons.apache.org/cli/)
* Apache Commons Codec (commons-codec:commons-codec:1.9 - http://commons.apache.org/proper/commons-codec/)
* Collections (commons-collections:commons-collections:3.2 - http://jakarta.apache.org/commons/collections/)
* Commons Configuration (commons-configuration:commons-configuration:1.6 - http://commons.apache.org/${pom.artifactId.substring(8)}/)
* Commons Configuration (commons-configuration:commons-configuration:1.8 - http://commons.apache.org/configuration/)
* Commons DBCP (commons-dbcp:commons-dbcp:1.4 - http://commons.apache.org/dbcp/)
* Digester (commons-digester:commons-digester:1.8 - http://jakarta.apache.org/commons/digester/)
* Commons FileUpload (commons-fileupload:commons-fileupload:1.2.1 - http://commons.apache.org/fileupload/)
* HttpClient (commons-httpclient:commons-httpclient:3.1 - http://jakarta.apache.org/httpcomponents/httpclient-3.x/)
* Commons IO (commons-io:commons-io:2.3 - http://commons.apache.org/io/)
* commons-jexl (commons-jexl:commons-jexl:1.0 - no url defined)
* Commons JXPath (commons-jxpath:commons-jxpath:1.3 - http://commons.apache.org/jxpath/)
* Commons Lang (commons-lang:commons-lang:2.6 - http://commons.apache.org/lang/)
* Commons Logging (commons-logging:commons-logging:1.1.1 - http://commons.apache.org/logging)
* Commons Pool (commons-pool:commons-pool:1.4 - http://commons.apache.org/pool/)
* Commons Validator (commons-validator:commons-validator:1.4.0 - http://commons.apache.org/validator/)
* Boilerpipe -- Boilerplate Removal and Fulltext Extraction from HTML pages (de.l3s.boilerpipe:boilerpipe:1.1.0 - http://code.google.com/p/boilerpipe/)
* jakarta-regexp (jakarta-regexp:jakarta-regexp:1.4 - no url defined)
* javax.inject (javax.inject:javax.inject:1 - http://code.google.com/p/atinject/)
* jdbm (jdbm:jdbm:1.0 - no url defined)
* Joda time (joda-time:joda-time:2.2 - http://joda-time.sourceforge.net)
* Joda-Time (joda-time:joda-time:2.3 - http://www.joda.org/joda-time/)
* Apache Log4j (log4j:log4j:1.2.16 - http://logging.apache.org/log4j/1.2/)
* Apache Log4j (log4j:log4j:1.2.17 - http://logging.apache.org/log4j/1.2/)
* Ehcache Core (net.sf.ehcache:ehcache-core:1.7.2 - http://ehcache.sf.net/ehcache-core)
* opencsv (net.sf.opencsv:opencsv:2.0 - http://opencsv.sf.net)
* opencsv (net.sf.opencsv:opencsv:2.3 - http://opencsv.sf.net)
* Abdera Client (org.apache.abdera:abdera-client:1.1.1 - http://abdera.apache.org/abdera-client)
* Abdera Core (org.apache.abdera:abdera-core:1.1.1 - http://abdera.apache.org/abdera-core)
* I18N Libraries (org.apache.abdera:abdera-i18n:1.1.1 - http://abdera.apache.org)
* Abdera Parser (org.apache.abdera:abdera-parser:1.1.1 - http://abdera.apache.org/abdera-parser)
* org.apache.tools.ant (org.apache.ant:ant:1.7.0 - http://ant.apache.org/ant/)
* ant-launcher (org.apache.ant:ant-launcher:1.7.0 - http://ant.apache.org/ant-launcher/)
* Avalon Framework API (org.apache.avalon.framework:avalon-framework-api:4.3.1 - http://www.apache.org/excalibur/avalon-framework/avalon-framework-api/)
* Avalon Framework Implementation (org.apache.avalon.framework:avalon-framework-impl:4.3.1 - http://www.apache.org/excalibur/avalon-framework/avalon-framework-impl/)
* Cocoon Configuration API (org.apache.cocoon:cocoon-configuration-api:1.0.2 - http://cocoon.apache.org/subprojects/configuration/1.0/configuration-api/1.0/)
* Cocoon Core (org.apache.cocoon:cocoon-core:2.2.0 - http://cocoon.apache.org/2.2/core-modules/core/2.2/)
* Cocoon Expression Language API (org.apache.cocoon:cocoon-expression-language-api:1.0.0 - http://cocoon.apache.org/2.2/core-modules/expression-language-api/1.0/)
* Cocoon Expression Language Implementation. (org.apache.cocoon:cocoon-expression-language-impl:1.0.0 - http://cocoon.apache.org/2.2/core-modules/expression-language-impl/1.0/)
* Cocoon Flowscript Block Implementation (org.apache.cocoon:cocoon-flowscript-impl:1.0.0 - http://cocoon.apache.org/2.2/blocks/flowscript/1.0/)
* Cocoon Linkrewriter Block Implementation (org.apache.cocoon:cocoon-linkrewriter-impl:1.0.0 - http://cocoon.apache.org/2.2/blocks/linkrewriter/1.0/)
* Cocoon Pipeline API (org.apache.cocoon:cocoon-pipeline-api:1.0.0 - http://cocoon.apache.org/2.2/core-modules/pipeline-api/1.0/)
* Cocoon Pipeline Components (org.apache.cocoon:cocoon-pipeline-components:1.0.0 - http://cocoon.apache.org/2.2/core-modules/pipeline-components/1.0/)
* Cocoon Pipeline Implementation (org.apache.cocoon:cocoon-pipeline-impl:1.0.0 - http://cocoon.apache.org/2.2/core-modules/pipeline-impl/1.0/)
* Cocoon Servlet Service Components (org.apache.cocoon:cocoon-servlet-service-components:1.0.0 - http://cocoon.apache.org/subprojects/servlet-service/1.0/servlet-service-components/1.0/)
* Cocoon Sitemap API (org.apache.cocoon:cocoon-sitemap-api:1.0.0 - http://cocoon.apache.org/2.2/core-modules/sitemap-api/1.0/)
* Cocoon Sitemap Components (org.apache.cocoon:cocoon-sitemap-components:1.0.0 - http://cocoon.apache.org/2.2/core-modules/sitemap-components/1.0/)
* Cocoon Sitemap Implementation (org.apache.cocoon:cocoon-sitemap-impl:1.0.0 - http://cocoon.apache.org/2.2/core-modules/sitemap-impl/1.0/)
* Cocoon Spring Configurator (org.apache.cocoon:cocoon-spring-configurator:1.0.2 - http://cocoon.apache.org/cocoon-spring-configurator)
* Cocoon Store Implementation (org.apache.cocoon:cocoon-store-impl:1.0.0 - http://cocoon.apache.org/2.2/core-modules/store-impl/1.0/)
* Cocoon Template Framework Block Implementation (org.apache.cocoon:cocoon-template-impl:1.1.0 - http://cocoon.apache.org/2.2/blocks/template/1.0/)
* Cocoon Thread API (org.apache.cocoon:cocoon-thread-api:1.0.0 - http://cocoon.apache.org/2.2/core-modules/thread-api/1.0/)
* Cocoon Thread Implementation (org.apache.cocoon:cocoon-thread-impl:1.0.0 - http://cocoon.apache.org/2.2/core-modules/thread-impl/1.0/)
* Cocoon Util (org.apache.cocoon:cocoon-util:1.0.0 - http://cocoon.apache.org/2.2/core-modules/util/1.0/)
* Cocoon XML API (org.apache.cocoon:cocoon-xml-api:1.0.0 - http://cocoon.apache.org/2.2/core-modules/xml-api/1.0/)
* Cocoon XML Implementation (org.apache.cocoon:cocoon-xml-impl:1.0.0 - http://cocoon.apache.org/2.2/core-modules/xml-impl/1.0/)
* Cocoon XML Resolver (org.apache.cocoon:cocoon-xml-resolver:1.0.0 - http://cocoon.apache.org/2.2/core-modules/xml-resolver/1.0/)
* Cocoon XML Utilities (org.apache.cocoon:cocoon-xml-util:1.0.0 - http://cocoon.apache.org/2.2/core-modules/xml-util/1.0/)
* Apache Commons Compress (org.apache.commons:commons-compress:1.7 - http://commons.apache.org/proper/commons-compress/)
* Commons Lang (org.apache.commons:commons-lang3:3.1 - http://commons.apache.org/lang/)
* Excalibur Pool API (org.apache.excalibur.components:excalibur-pool-api:2.2.1 - http://www.apache.org/excalibur/excalibur-components-modules/excalibur-pool-modules/excalibur-pool-api/)
* Excalibur Sourceresolve (org.apache.excalibur.components:excalibur-sourceresolve:2.2.3 - http://www.apache.org/excalibur/excalibur-sourceresolve/)
* Excalibur Store (org.apache.excalibur.components:excalibur-store:2.2.1 - http://www.apache.org/excalibur/excalibur-components-modules/excalibur-store/)
* Excalibur XML Utilities (org.apache.excalibur.components:excalibur-xmlutil:2.2.1 - http://www.apache.org/excalibur/excalibur-components-modules/excalibur-xmlutil/)
* Excalibur Instrument API (org.apache.excalibur.containerkit:excalibur-instrument-api:2.2.1 - http://www.apache.org/excalibur/excalibur-containerkit/excalibur-instrument-modules/excalibur-instrument-api/)
* Excalibur Logger (org.apache.excalibur.containerkit:excalibur-logger:2.2.1 - http://www.apache.org/excalibur/excalibur-containerkit/excalibur-logger/)
* Activation (org.apache.geronimo.specs:geronimo-activation_1.0.2_spec:1.1 - http://geronimo.apache.org/geronimo-activation_1.0.2_spec)
* Activation 1.1 (org.apache.geronimo.specs:geronimo-activation_1.1_spec:1.0.2 - http://geronimo.apache.org/specs/geronimo-activation_1.1_spec)
* JavaMail 1.4 (org.apache.geronimo.specs:geronimo-javamail_1.4_spec:1.6 - http://geronimo.apache.org/maven/specs/geronimo-javamail_1.4_spec/1.6)
* Streaming API for XML (STAX API 1.0) (org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:1.0 - http://geronimo.apache.org/specs/geronimo-stax-api_1.0_spec)
* Streaming API for XML (STAX API 1.0) (org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:1.0.1 - http://geronimo.apache.org/specs/geronimo-stax-api_1.0_spec)
* Apache Hadoop Annotations (org.apache.hadoop:hadoop-annotations:2.2.0 - no url defined)
* Apache Hadoop Auth (org.apache.hadoop:hadoop-auth:2.2.0 - no url defined)
* Apache Hadoop Common (org.apache.hadoop:hadoop-common:2.2.0 - no url defined)
* Apache Hadoop HDFS (org.apache.hadoop:hadoop-hdfs:2.2.0 - no url defined)
* Apache HttpClient (org.apache.httpcomponents:httpclient:4.3.5 - http://hc.apache.org/httpcomponents-client)
* Apache HttpClient Cache (org.apache.httpcomponents:httpclient-cache:4.2.6 - http://hc.apache.org/httpcomponents-client)
* Apache HttpCore (org.apache.httpcomponents:httpcore:4.3.2 - http://hc.apache.org/httpcomponents-core-ga)
* Apache HttpClient Mime (org.apache.httpcomponents:httpmime:4.3.1 - http://hc.apache.org/httpcomponents-client)
* Apache JAMES Mime4j (Core) (org.apache.james:apache-mime4j-core:0.7.2 - http://james.apache.org/mime4j/apache-mime4j-core)
* Apache JAMES Mime4j (DOM) (org.apache.james:apache-mime4j-dom:0.7.2 - http://james.apache.org/mime4j/apache-mime4j-dom)
* Apache Jena - Libraries POM (org.apache.jena:apache-jena-libs:2.12.0 - http://jena.apache.org/apache-jena-libs/)
* Apache Jena - ARQ (SPARQL 1.1 Query Engine) (org.apache.jena:jena-arq:2.12.0 - http://jena.apache.org/jena-arq/)
* Apache Jena - Core (org.apache.jena:jena-core:2.12.0 - http://jena.apache.org/jena-core/)
* Apache Jena - IRI (org.apache.jena:jena-iri:1.1.0 - http://jena.apache.org/jena-iri/)
* Apache Jena - TDB (Native Triple Store) (org.apache.jena:jena-tdb:1.1.0 - http://jena.apache.org/jena-tdb/)
* Lucene Common Analyzers (org.apache.lucene:lucene-analyzers-common:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-analyzers-common)
* Lucene ICU Analysis Components (org.apache.lucene:lucene-analyzers-icu:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-analyzers-icu)
* Lucene Kuromoji Japanese Morphological Analyzer (org.apache.lucene:lucene-analyzers-kuromoji:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-analyzers-kuromoji)
* Lucene Morfologik Polish Lemmatizer (org.apache.lucene:lucene-analyzers-morfologik:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-analyzers-morfologik)
* Lucene Phonetic Filters (org.apache.lucene:lucene-analyzers-phonetic:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-analyzers-phonetic)
* Lucene Smart Chinese Analyzer (org.apache.lucene:lucene-analyzers-smartcn:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-analyzers-smartcn)
* Lucene Stempel Analyzer (org.apache.lucene:lucene-analyzers-stempel:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-analyzers-stempel)
* Lucene codecs (org.apache.lucene:lucene-codecs:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-codecs)
* Lucene Core (org.apache.lucene:lucene-core:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-core)
* Lucene Expressions (org.apache.lucene:lucene-expressions:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-expressions)
* Lucene Grouping (org.apache.lucene:lucene-grouping:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-grouping)
* Lucene Highlighter (org.apache.lucene:lucene-highlighter:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-highlighter)
* Lucene Join (org.apache.lucene:lucene-join:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-join)
* Lucene Memory (org.apache.lucene:lucene-memory:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-memory)
* Lucene Miscellaneous (org.apache.lucene:lucene-misc:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-misc)
* Lucene Queries (org.apache.lucene:lucene-queries:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-queries)
* Lucene QueryParsers (org.apache.lucene:lucene-queryparser:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-queryparser)
* Lucene Sandbox (org.apache.lucene:lucene-sandbox:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-sandbox)
* Lucene Spatial (org.apache.lucene:lucene-spatial:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-spatial)
* Lucene Suggest (org.apache.lucene:lucene-suggest:4.10.2 - http://lucene.apache.org/lucene-parent/lucene-suggest)
* Apache FontBox (org.apache.pdfbox:fontbox:1.8.7 - http://pdfbox.apache.org/)
* Apache JempBox (org.apache.pdfbox:jempbox:1.8.7 - http://www.apache.org/pdfbox-parent/jempbox/)
* Apache PDFBox (org.apache.pdfbox:pdfbox:1.8.7 - http://www.apache.org/pdfbox-parent/pdfbox/)
* Apache POI (org.apache.poi:poi:3.6 - http://poi.apache.org/)
* Apache POI (org.apache.poi:poi-ooxml:3.6 - http://poi.apache.org/)
* Apache POI (org.apache.poi:poi-ooxml-schemas:3.10.1 - http://poi.apache.org/)
* Apache POI (org.apache.poi:poi-ooxml-schemas:3.6 - http://poi.apache.org/)
* Apache POI (org.apache.poi:poi-scratchpad:3.6 - http://poi.apache.org/)
* Apache Solr Search Server (org.apache.solr:solr:4.10.2 - http://lucene.apache.org/solr-parent/solr)
* Apache Solr Analysis Extras (org.apache.solr:solr-analysis-extras:4.10.2 - http://lucene.apache.org/solr-parent/solr-analysis-extras)
* Apache Solr Content Extraction Library (org.apache.solr:solr-cell:4.10.2 - http://lucene.apache.org/solr-parent/solr-cell)
* Apache Solr Core (org.apache.solr:solr-core:4.10.2 - http://lucene.apache.org/solr-parent/solr-core)
* Apache Solr Solrj (org.apache.solr:solr-solrj:4.10.2 - http://lucene.apache.org/solr-parent/solr-solrj)
* Apache Tika core (org.apache.tika:tika-core:1.5 - http://tika.apache.org/)
* Apache Tika parsers (org.apache.tika:tika-parsers:1.5 - http://tika.apache.org/)
* Apache Tika XMP (org.apache.tika:tika-xmp:1.5 - http://tika.apache.org/)
* Axiom API (org.apache.ws.commons.axiom:axiom-api:1.2.10 - http://ws.apache.org/axiom/axiom-api/)
* Axiom Impl (org.apache.ws.commons.axiom:axiom-impl:1.2.10 - http://ws.apache.org/axiom/axiom-impl/)
* XmlBeans (org.apache.xmlbeans:xmlbeans:2.3.0 - http://xmlbeans.apache.org)
* XmlBeans (org.apache.xmlbeans:xmlbeans:2.6.0 - http://xmlbeans.apache.org)
* zookeeper (org.apache.zookeeper:zookeeper:3.4.6 - no url defined)
* Evo Inflector (org.atteo:evo-inflector:1.0.1 - http://atteo.org/static/evo-inflector)
* TagSoup (org.ccil.cowan.tagsoup:tagsoup:1.2.1 - http://home.ccil.org/~cowan/XML/tagsoup/)
* Jackson (org.codehaus.jackson:jackson-core-asl:1.9.13 - http://jackson.codehaus.org)
* Jackson (org.codehaus.jackson:jackson-core-asl:1.9.2 - http://jackson.codehaus.org)
* JAX-RS provider for JSON content type (org.codehaus.jackson:jackson-jaxrs:1.9.2 - http://jackson.codehaus.org)
* Data Mapper for Jackson (org.codehaus.jackson:jackson-mapper-asl:1.9.13 - http://jackson.codehaus.org)
* Data Mapper for Jackson (org.codehaus.jackson:jackson-mapper-asl:1.9.2 - http://jackson.codehaus.org)
* Xml Compatibility extensions for Jackson (org.codehaus.jackson:jackson-xc:1.9.2 - http://jackson.codehaus.org)
* Jettison (org.codehaus.jettison:jettison:1.1 - no url defined)
* Woodstox (org.codehaus.woodstox:wstx-asl:3.2.0 - http://woodstox.codehaus.org)
* Woodstox (org.codehaus.woodstox:wstx-asl:3.2.7 - http://woodstox.codehaus.org)
* databene ContiPerf (org.databene:contiperf:2.2.0 - http://databene.org/contiperf)
* elasticsearch (org.elasticsearch:elasticsearch:1.4.0 - http://nexus.sonatype.org/oss-repository-hosting.html/elasticsearch)
* flyway-core (org.flywaydb:flyway-core:3.0 - http://flywaydb.org/flyway-core)
* Ogg and Vorbis for Java, Core (org.gagravarr:vorbis-java-core:0.1 - https://github.com/Gagravarr/VorbisJava)
* Apache Tika plugin for Ogg, Vorbis and FLAC (org.gagravarr:vorbis-java-tika:0.1 - https://github.com/Gagravarr/VorbisJava)
* Javassist (org.javassist:javassist:3.16.1-GA - http://www.javassist.org/)
* Jetty Server (org.mortbay.jetty:jetty:6.1.14 - http://jetty.mortbay.org/project/modules/jetty)
* Jetty Server (org.mortbay.jetty:jetty:6.1.26 - http://www.eclipse.org/jetty/jetty-parent/project/modules/jetty)
* Jetty Servlet Tester (org.mortbay.jetty:jetty-servlet-tester:6.1.14 - http://jetty.mortbay.org/project/jetty-servlet-tester)
* Jetty Utilities (org.mortbay.jetty:jetty-util:6.1.14 - http://jetty.mortbay.org/project/jetty-util)
* Jetty Utilities (org.mortbay.jetty:jetty-util:6.1.26 - http://www.eclipse.org/jetty/jetty-parent/project/jetty-util)
* Servlet Specification API (org.mortbay.jetty:servlet-api:2.5-20081211 - http://jetty.mortbay.org/servlet-api)
* Noggit (org.noggit:noggit:0.5 - http://noggit.org)
* parboiled-core (org.parboiled:parboiled-core:1.1.6 - http://parboiled.org)
* parboiled-java (org.parboiled:parboiled-java:1.1.6 - http://parboiled.org)
* Restlet Core - API and Engine (org.restlet.jee:org.restlet:2.1.1 - http://www.restlet.org/org.restlet)
* Restlet Extension - Servlet (org.restlet.jee:org.restlet.ext.servlet:2.1.1 - http://www.restlet.org/org.restlet.ext.servlet)
* rome-modules (org.rometools:rome-modules:1.0 - http://www.rometools.org)
* spring-aop (org.springframework:spring-aop:3.1.1.RELEASE - no url defined)
* Spring AOP (org.springframework:spring-aop:3.2.5.RELEASE - https://github.com/SpringSource/spring-framework)
* spring-asm (org.springframework:spring-asm:3.1.1.RELEASE - no url defined)
* spring-beans (org.springframework:spring-beans:3.1.1.RELEASE - no url defined)
* Spring Beans (org.springframework:spring-beans:3.2.5.RELEASE - https://github.com/SpringSource/spring-framework)
* spring-context (org.springframework:spring-context:3.1.1.RELEASE - no url defined)
* Spring Context (org.springframework:spring-context:3.2.5.RELEASE - https://github.com/SpringSource/spring-framework)
* spring-context-support (org.springframework:spring-context-support:3.1.1.RELEASE - no url defined)
* spring-core (org.springframework:spring-core:3.1.1.RELEASE - no url defined)
* Spring Core (org.springframework:spring-core:3.2.5.RELEASE - https://github.com/SpringSource/spring-framework)
* spring-expression (org.springframework:spring-expression:3.1.1.RELEASE - no url defined)
* Spring Expression Language (SpEL) (org.springframework:spring-expression:3.2.5.RELEASE - https://github.com/SpringSource/spring-framework)
* spring-jdbc (org.springframework:spring-jdbc:3.1.1.RELEASE - no url defined)
* Spring Framework: Mock (org.springframework:spring-mock:2.0.8 - http://www.springframework.org)
* Spring TestContext Framework (org.springframework:spring-test:3.2.5.RELEASE - https://github.com/SpringSource/spring-framework)
* spring-tx (org.springframework:spring-tx:3.1.1.RELEASE - no url defined)
* spring-web (org.springframework:spring-web:3.1.1.RELEASE - no url defined)
* Spring Web (org.springframework:spring-web:3.2.5.RELEASE - https://github.com/SpringSource/spring-framework)
* spring-webmvc (org.springframework:spring-webmvc:3.1.1.RELEASE - no url defined)
* Spring Web MVC (org.springframework:spring-webmvc:3.2.5.RELEASE - https://github.com/SpringSource/spring-framework)
* SWORD Java API, GUI and CLI (org.swordapp:sword-common:1.1 - http://nexus.sonatype.org/oss-repository-hosting.html/sword-common)
* SWORD v2 :: Common Server Library (org.swordapp:sword2-server:1.0 - http://www.swordapp.org/)
* xml-matchers (org.xmlmatchers:xml-matchers:0.10 - http://code.google.com/p/xml-matchers/)
* oro (oro:oro:2.0.8 - no url defined)
* JUnitParams (pl.pragmatists:JUnitParams:1.0.2 - http://junitparams.googlecode.com)
* Rome A9 OpenSearch (rome:opensearch:0.1 - http://wiki.java.net/bin/view/Javawsxml/OpenSearch)
* ROME, RSS and atOM utilitiEs for Java (rome:rome:1.0 - https://rome.dev.java.net/)
* oai4j (se.kb:oai4j:0.6b1 - http://oai4j-client.sourceforge.net/)
* StAX API (stax:stax-api:1.0.1 - http://stax.codehaus.org/)
* standard (taglibs:standard:1.1.2 - no url defined)
* xalan (xalan:xalan:2.7.0 - no url defined)
* Xerces2 Java Parser (xerces:xercesImpl:2.8.1 - http://xerces.apache.org/xerces2-j/)
* xmlParserAPIs (xerces:xmlParserAPIs:2.6.2 - no url defined)
* XML Commons External Components XML APIs (xml-apis:xml-apis:1.0.b2 - http://xml.apache.org/commons/#external)
* xml-apis (xml-apis:xml-apis:1.3.02 - http://xml.apache.org/commons/#external)
* xmlParserAPIs (xml-apis:xmlParserAPIs:2.0.2 - no url defined)
* XML Commons Resolver Component (xml-resolver:xml-resolver:1.2 - http://xml.apache.org/commons/components/resolver/)
BSD License:
* ASM Core (asm:asm:3.1 - http://asm.objectweb.org/asm/)
* XMP Library for Java (com.adobe.xmp:xmpcore:5.1.2 - http://www.adobe.com/devnet/xmp.html)
* coverity-escapers (com.coverity.security:coverity-escapers:1.1.1 - http://coverity.com/security)
* JSONLD Java :: Core (com.github.jsonld-java:jsonld-java:0.5.0 - http://github.com/jsonld-java/jsonld-java/jsonld-java/)
* Protocol Buffer Java API (com.google.protobuf:protobuf-java:2.5.0 - http://code.google.com/p/protobuf)
* Jena IRI (com.hp.hpl.jena:iri:0.8 - http://jena.sf.net/iri)
* Jena (com.hp.hpl.jena:jena:2.6.4 - http://www.openjena.org/)
* yui compressor (com.yahoo.platform.yui:yuicompressor:2.3.6 - http://developer.yahoo.com/yui/compressor/)
* dnsjava (dnsjava:dnsjava:2.1.1 - http://www.dnsjava.org)
* dom4j (dom4j:dom4j:1.6.1 - http://dom4j.org)
* Biblio Transformation Engine :: Core (gr.ekt.bte:bte-core:0.9.3.5 - http://github.com/EKT/Biblio-Transformation-Engine/bte-core)
* Biblio Transformation Engine :: Input/Output (gr.ekt.bte:bte-io:0.9.3.5 - http://github.com/EKT/Biblio-Transformation-Engine/bte-io)
* jaxen (jaxen:jaxen:1.1 - http://jaxen.codehaus.org/)
* ANTLR 3 Runtime (org.antlr:antlr-runtime:3.5 - http://www.antlr.org)
* Morfologik FSA (org.carrot2:morfologik-fsa:1.7.1 - http://morfologik.blogspot.com/morfologik-fsa/)
* Morfologik Stemming Dictionary for Polish (org.carrot2:morfologik-polish:1.7.1 - http://morfologik.blogspot.com/morfologik-polish/)
* Morfologik Stemming APIs (org.carrot2:morfologik-stemming:1.7.1 - http://morfologik.blogspot.com/morfologik-stemming/)
* databene ContiPerf (org.databene:contiperf:2.2.0 - http://databene.org/contiperf)
* DSpace Kernel :: API and Implementation (org.dspace:dspace-api:5.0-rc4-SNAPSHOT - https://github.com/dspace/DSpace/dspace-api)
* DSpace JSP-UI (org.dspace:dspace-jspui:5.0-rc4-SNAPSHOT - https://github.com/dspace/DSpace/dspace-jspui)
* DSpace OAI-PMH (org.dspace:dspace-oai:5.0-rc4-SNAPSHOT - https://github.com/dspace/DSpace/dspace-oai)
* DSpace RDF (org.dspace:dspace-rdf:5.0-rc4-SNAPSHOT - https://github.com/dspace/DSpace/dspace-rdf)
* DSpace REST :: API and Implementation (org.dspace:dspace-rest:5.0-rc4-SNAPSHOT - http://demo.dspace.org)
* DSpace Services Framework :: API and Implementation (org.dspace:dspace-services:5.0-rc4-SNAPSHOT - https://github.com/dspace/DSpace/dspace-services)
* Apache Solr Webapp (org.dspace:dspace-solr:5.0-rc4-SNAPSHOT - https://github.com/dspace/DSpace/dspace-solr)
* DSpace SWORD (org.dspace:dspace-sword:5.0-rc4-SNAPSHOT - https://github.com/dspace/DSpace/dspace-sword)
* DSpace SWORD v2 (org.dspace:dspace-swordv2:5.0-rc4-SNAPSHOT - https://github.com/dspace/DSpace/dspace-swordv2)
* DSpace XML-UI (Manakin) (org.dspace:dspace-xmlui:5.0-rc4-SNAPSHOT - https://github.com/dspace/DSpace/dspace-xmlui)
* handle (org.dspace:handle:6.2 - no url defined)
* jargon (org.dspace:jargon:1.4.25 - no url defined)
* mets (org.dspace:mets:1.5.2 - no url defined)
* oclc-harvester2 (org.dspace:oclc-harvester2:0.1.12 - no url defined)
* Repackaged Cocoon Servlet Service Implementation (org.dspace.dependencies.cocoon:dspace-cocoon-servlet-service-impl:1.0.3 - http://projects.dspace.org/dspace-pom/dspace-cocoon-servlet-service-impl)
* DSpace Kernel :: Additions and Local Customizations (org.dspace.modules:additions:5.0-rc4-SNAPSHOT - https://github.com/dspace/DSpace/modules/additions)
* Hamcrest All (org.hamcrest:hamcrest-all:1.3 - https://github.com/hamcrest/JavaHamcrest/hamcrest-all)
* Hamcrest Core (org.hamcrest:hamcrest-core:1.3 - https://github.com/hamcrest/JavaHamcrest/hamcrest-core)
* JBibTeX (org.jbibtex:jbibtex:1.0.10 - http://www.jbibtex.org)
* ASM Core (org.ow2.asm:asm:4.1 - http://asm.objectweb.org/asm/)
* ASM Core (org.ow2.asm:asm:4.2 - http://asm.objectweb.org/asm/)
* ASM Analysis (org.ow2.asm:asm-analysis:4.1 - http://asm.objectweb.org/asm-analysis/)
* ASM Commons (org.ow2.asm:asm-commons:4.1 - http://asm.objectweb.org/asm-commons/)
* ASM Tree (org.ow2.asm:asm-tree:4.1 - http://asm.objectweb.org/asm-tree/)
* ASM Util (org.ow2.asm:asm-util:4.1 - http://asm.objectweb.org/asm-util/)
* PostgreSQL JDBC Driver (postgresql:postgresql:9.1-901-1.jdbc4 - http://jdbc.postgresql.org)
* XMLUnit for Java (xmlunit:xmlunit:1.1 - http://xmlunit.sourceforge.net/)
* XMLUnit for Java (xmlunit:xmlunit:1.3 - http://xmlunit.sourceforge.net/)
Common Development and Distribution License (CDDL):
* jersey-core (com.sun.jersey:jersey-core:1.17.1 - https://jersey.java.net/jersey-core/)
* jersey-json (com.sun.jersey:jersey-json:1.17.1 - https://jersey.java.net/jersey-json/)
* jersey-server (com.sun.jersey:jersey-server:1.17.1 - https://jersey.java.net/jersey-server/)
* jersey-servlet (com.sun.jersey:jersey-servlet:1.17.1 - https://jersey.java.net/jersey-servlet/)
* jersey-spring (com.sun.jersey.contribs:jersey-spring:1.8 - http://maven.apache.org)
* JAXB RI (com.sun.xml.bind:jaxb-impl:2.2.3-1 - http://jaxb.java.net/)
* JAXB Reference Implementation (com.sun.xml.bind:jaxb-impl:2.2.5 - http://jaxb.java.net/)
* JHighlight (com.uwyn:jhighlight:1.0 - https://jhighlight.dev.java.net/)
* JavaBeans Activation Framework (JAF) (javax.activation:activation:1.1 - http://java.sun.com/products/javabeans/jaf/index.jsp)
* JavaMail API (javax.mail:mail:1.4 - https://glassfish.dev.java.net/javaee5/mail/)
* Java Servlet API (javax.servlet:javax.servlet-api:3.1.0 - http://servlet-spec.java.net)
* jsp-api (javax.servlet:jsp-api:2.0 - no url defined)
* jstl (javax.servlet:jstl:1.1.2 - no url defined)
* servlet-api (javax.servlet:servlet-api:2.5 - no url defined)
* JAXB API bundle for GlassFish V3 (javax.xml.bind:jaxb-api:2.2.2 - https://jaxb.dev.java.net/)
* Streaming API for XML (javax.xml.stream:stax-api:1.0-2 - no url defined)
* Servlet Specification 2.5 API (org.mortbay.jetty:servlet-api-2.5:6.1.14 - http://jetty.mortbay.org/project/modules/servlet-api-2.5)
* Restlet Core - API and Engine (org.restlet.jee:org.restlet:2.1.1 - http://www.restlet.org/org.restlet)
* Restlet Extension - Servlet (org.restlet.jee:org.restlet.ext.servlet:2.1.1 - http://www.restlet.org/org.restlet.ext.servlet)
Eclipse Public License:
* JUnit (junit:junit:4.11 - http://junit.org)
* AspectJ runtime (org.aspectj:aspectjrt:1.6.11 - http://www.aspectj.org)
* databene ContiPerf (org.databene:contiperf:2.2.0 - http://databene.org/contiperf)
* Jetty Server (org.mortbay.jetty:jetty:6.1.26 - http://www.eclipse.org/jetty/jetty-parent/project/modules/jetty)
* Jetty Utilities (org.mortbay.jetty:jetty-util:6.1.26 - http://www.eclipse.org/jetty/jetty-parent/project/jetty-util)
* Restlet Core - API and Engine (org.restlet.jee:org.restlet:2.1.1 - http://www.restlet.org/org.restlet)
* Restlet Extension - Servlet (org.restlet.jee:org.restlet.ext.servlet:2.1.1 - http://www.restlet.org/org.restlet.ext.servlet)
GNU General Public Library:
* Streaming API for XML (javax.xml.stream:stax-api:1.0-2 - no url defined)
GNU Lesser General Public License (LGPL):
* Jackson-annotations (com.fasterxml.jackson.core:jackson-annotations:2.3.0 - http://wiki.fasterxml.com/JacksonHome)
* Jackson-core (com.fasterxml.jackson.core:jackson-core:2.3.3 - http://wiki.fasterxml.com/JacksonHome)
* jackson-databind (com.fasterxml.jackson.core:jackson-databind:2.3.3 - http://wiki.fasterxml.com/JacksonHome)
* FindBugs-Annotations (com.google.code.findbugs:annotations:3.0.0 - http://findbugs.sourceforge.net/)
* MaxMind GeoIP API (com.maxmind.geoip:geoip-api:1.2.11 - https://github.com/maxmind/geoip-api-java)
* JHighlight (com.uwyn:jhighlight:1.0 - https://jhighlight.dev.java.net/)
* JAX-RS provider for JSON content type (org.codehaus.jackson:jackson-jaxrs:1.9.2 - http://jackson.codehaus.org)
* Xml Compatibility extensions for Jackson (org.codehaus.jackson:jackson-xc:1.9.2 - http://jackson.codehaus.org)
* databene ContiPerf (org.databene:contiperf:2.2.0 - http://databene.org/contiperf)
* DSpace TM-Extractors Dependency (org.dspace.dependencies:dspace-tm-extractors:1.0.1 - http://projects.dspace.org/dspace-pom/dspace-tm-extractors)
* im4java (org.im4java:im4java:1.4.0 - http://sourceforge.net/projects/im4java/)
* Javassist (org.javassist:javassist:3.16.1-GA - http://www.javassist.org/)
* org.jdesktop - Swing Worker (org.jdesktop:swing-worker:1.1 - no url defined)
* Restlet Core - API and Engine (org.restlet.jee:org.restlet:2.1.1 - http://www.restlet.org/org.restlet)
* Restlet Extension - Servlet (org.restlet.jee:org.restlet.ext.servlet:2.1.1 - http://www.restlet.org/org.restlet.ext.servlet)
* xom (xom:xom:1.1 - http://www.xom.nu)
ICU License:
* ICU4J (com.ibm.icu:icu4j:51.1 - http://icu-project.org/)
JDOM License:
* jdom (jdom:jdom:1.0 - no url defined)
MIT License:
* Bouncy Castle CMS and S/MIME API (org.bouncycastle:bcmail-jdk15:1.44 - http://www.bouncycastle.org/java.html)
* Bouncy Castle Provider (org.bouncycastle:bcprov-jdk15:1.44 - http://www.bouncycastle.org/java.html)
* Main (org.jmockit:jmockit:1.10 - http://www.jmockit.org)
* OpenCloud (org.mcavallo:opencloud:0.3 - http://opencloud.mcavallo.org/)
* Mockito (org.mockito:mockito-all:1.9.5 - http://www.mockito.org)
* Mockito (org.mockito:mockito-core:1.9.5 - http://www.mockito.org)
* Objenesis (org.objenesis:objenesis:1.0 - http://objenesis.googlecode.com/svn/docs/index.html)
* JCL 1.1.1 implemented over SLF4J (org.slf4j:jcl-over-slf4j:1.6.1 - http://www.slf4j.org)
* JUL to SLF4J bridge (org.slf4j:jul-to-slf4j:1.6.1 - http://www.slf4j.org)
* SLF4J API Module (org.slf4j:slf4j-api:1.6.1 - http://www.slf4j.org)
* SLF4J JDK14 Binding (org.slf4j:slf4j-jdk14:1.6.1 - http://www.slf4j.org)
* SLF4J LOG4J-12 Binding (org.slf4j:slf4j-log4j12:1.6.1 - http://www.slf4j.org)
Mozilla Public License:
* juniversalchardet (com.googlecode.juniversalchardet:juniversalchardet:1.0.3 - http://juniversalchardet.googlecode.com/)
* H2 Database Engine (com.h2database:h2:1.4.180 - http://www.h2database.com)
* Javassist (org.javassist:javassist:3.16.1-GA - http://www.javassist.org/)
* Rhino (rhino:js:1.6R7 - http://www.mozilla.org/rhino/)
Public Domain:
* AOP alliance (aopalliance:aopalliance:1.0 - http://aopalliance.sourceforge.net)
* Dough Lea's util.concurrent package (concurrent:concurrent:1.3.4 - no url defined)
* Reflections (org.reflections:reflections:0.9.9-RC1 - http://code.google.com/p/reflections/reflections/)
* XZ for Java (org.tukaani:xz:1.4 - http://tukaani.org/xz/java.html)
Unknown license:
* DSpace I18N :: Language Packs (org.dspace:dspace-api-lang:5.0.2 - http://nexus.sonatype.org/oss-repository-hosting.html/dspace-api-lang)
* DSpace XML-UI (Manakin) I18N :: Language Packs (org.dspace:dspace-xmlui-lang:5.0.2 - http://nexus.sonatype.org/oss-repository-hosting.html/dspace-xmlui-lang)

5
LICENSE_HEADER Normal file
View File

@@ -0,0 +1,5 @@
The contents of this file are subject to the license and copyright
detailed in the LICENSE and NOTICE files at the root of the source
tree and available online at
http://www.dspace.org/license/

15
NOTICE Normal file
View File

@@ -0,0 +1,15 @@
Licensing Notice
Fedora Commons joined with the DSpace Foundation and began operating under
the new name DuraSpace in July 2009. DuraSpace holds the copyrights of
the DSpace Foundation, Inc.
The DSpace Foundation, Inc. is a 501(c)3 corporation established in July 2007
with a mission to promote and advance the dspace platform enabling management,
access and preservation of digital works. The Foundation was able to transfer
the legal copyright from Hewlett-Packard Company (HP) and Massachusetts
Institute of Technology (MIT) to the DSpace Foundation in October 2007. Many
of the files in the source code may contain a copyright statement stating HP
and MIT possess the copyright, in these instances please note that the copy
right has transferred to the DSpace foundation, and subsequently to DuraSpace.

54
README Normal file
View File

@@ -0,0 +1,54 @@
DSpace version information can be viewed online at
- https://wiki.duraspace.org/display/DSDOC/
Documentation for the most recent stable release(s) may be downloaded
or viewed online at
- http://www.dspace.org/latest-release/
- https://wiki.duraspace.org/display/DSDOC/
- http://sourceforge.net/projects/dspace/files/DSpace%20Stable/
(select a version and read DSpace-Manual.pdf)
Installation instructions are to be found in that documentation.
In addition, a listing of all known contributors to DSpace software can be
found online at:
https://wiki.duraspace.org/display/DSPACE/DSpaceContributors
Installation instructions for other versions may be different, so you
are encouraged to obtain the appropriate version of the Documentation
from the links above.
To obtain files from the repository and build, please see:
- https://github.com/DSpace/DSpace/
or just:
- git clone git://github.com/DSpace/DSpace.git
Please refer any further problems to the dspace-tech@lists.sourceforge.net
mailing list.
- http://sourceforge.net/mail/?group_id=19984
Detailed Issue Tracking for DSpace is done on our JIRA Issue Tracker
- https://jira.duraspace.org/browse/DS
To contribute to DSpace, please see:
- https://wiki.duraspace.org/display/DSPACE/How+to+Contribute+to+DSpace
For more details about DSpace, including a list of service providers,
places to seek help, news articles and lists of other users, please see:
- http://www.dspace.org/
DSpace source code licensing information available online at:
- http://www.dspace.org/license/
Copyright (c) 2002-2015, DuraSpace. All rights reserved.

173
build.properties Normal file
View File

@@ -0,0 +1,173 @@
# DSpace build.properties
# This file should be customised to suit your build environment.
# Note that not all configuration is handled here, only the most common
# properties that tend to differ between build environments.
# For adjusting global settings or more complex settings, edit the relevant config file.
#
# IMPORTANT: Do not remove or comment out settings in build.properties
# When you edit the "build.properties" file (or a custom *.properties file),
# take care not to remove or comment out any settings. Doing so, may cause
# your final "dspace.cfg" file to be misconfigured with regards to that
# particular setting. Instead, if you wish to remove/disable a particular
# setting, just clear out its value. For example, if you don't want to be
# notified of new user registrations, ensure the "mail.registration.notify"
# setting has no value, e.g. "mail.registration.notify="
#
##########################
# SERVER CONFIGURATION #
##########################
# DSpace installation directory. This is the location where you want
# to install DSpace. NOTE: this value will be copied over to the
# "dspace.dir" setting in the final "dspace.cfg" file. It can be
# modified later on in your "dspace.cfg", if needed.
dspace.install.dir=/dspace
# DSpace host name - should match base URL. Do not include port number
dspace.hostname = localhost
# DSpace base host URL. Include port number etc.
dspace.baseUrl = http://localhost:8080
# The user interface you will be using for DSpace. Common usage is either xmlui or jspui
dspace.ui = xmlui
# Full link your end users will use to access DSpace. In most cases, this will be the baseurl followed by
# the context path to the UI you are using.
#
# Alternatively, you can use a url redirect or deploy the web application under the servlet container root.
# In this case, make sure to remove the /${dspace.ui} from the dspace.url property.
dspace.url = ${dspace.baseUrl}/${dspace.ui}
# Name of the site
dspace.name = DSpace at My University
# Solr server
solr.server=http://localhost:8080/solr
# Default language for metadata values
default.language = en_US
##########################
# DATABASE CONFIGURATION #
##########################
# Uncomment the appropriate block below for your database.
# postgres
db.driver=org.postgresql.Driver
db.url=jdbc:postgresql://localhost:5432/dspace
db.username=dspace
db.password=dspace
# oracle
#db.driver= oracle.jdbc.OracleDriver
#db.url=jdbc:oracle:thin:@//localhost:1521/xe
#db.username=dspace
#db.password=dspace
# Schema name - if your database contains multiple schemas, you can avoid problems with
# retrieving the definitions of duplicate object names by specifying
# the schema name here that is used for DSpace by uncommenting the following entry
# NOTE: this configuration option is for PostgreSQL only. For Oracle, schema is equivalent
# to user name. DSpace depends on the PostgreSQL understanding of schema. If you are using
# Oracle, just leave this this value blank.
db.schema =
# Maximum number of DB connections in pool
db.maxconnections = 30
# Maximum time to wait before giving up if all connections in pool are busy (milliseconds)
db.maxwait = 5000
# Maximum number of idle connections in pool (-1 = unlimited)
db.maxidle = -1
# Determine if prepared statement should be cached. (default is true)
db.statementpool = true
# Specify a name for the connection pool (useful if you have multiple applications sharing Tomcat's dbcp)
# If not specified, defaults to 'dspacepool'
db.poolname = dspacepool
#######################
# EMAIL CONFIGURATION #
#######################
# SMTP mail server
mail.server = smtp.example.com
# SMTP mail server authentication username and password (if required)
# mail.server.username = myusername
# mail.server.password = mypassword
mail.server.username=
mail.server.password=
# SMTP mail server alternate port (defaults to 25)
mail.server.port = 25
# From address for mail
mail.from.address = dspace-noreply@myu.edu
# Currently limited to one recipient!
mail.feedback.recipient = dspace-help@myu.edu
# General site administration (Webmaster) e-mail
mail.admin = dspace-help@myu.edu
# Recipient for server errors and alerts
#mail.alert.recipient = email-address-here
mail.alert.recipient=
# Recipient for new user registration emails
#mail.registration.notify = email-address-here
mail.registration.notify=
########################
# HANDLE CONFIGURATION #
########################
# Canonical Handle URL prefix
#
# By default, DSpace is configured to use http://hdl.handle.net/
# as the canonical URL prefix when generating dc.identifier.uri
# during submission, and in the 'identifier' displayed in JSPUI
# item record pages.
#
# If you do not subscribe to CNRI's handle service, you can change this
# to match the persistent URL service you use, or you can force DSpace
# to use your site's URL, eg.
#handle.canonical.prefix = ${dspace.url}/handle/
#
# Note that this will not alter dc.identifer.uri metadata for existing
# items (only for subsequent submissions), but it will alter the URL
# in JSPUI's 'identifier' message on item record pages for existing items.
#
# If omitted, the canonical URL prefix will be http://hdl.handle.net/
handle.canonical.prefix = http://hdl.handle.net/
# CNRI Handle prefix
handle.prefix = 123456789
#######################
# PROXY CONFIGURATION #
#######################
# uncomment and specify both properties if proxy server required
# proxy server for external http requests - use regular hostname without port number
http.proxy.host =
# port number of proxy server
http.proxy.port =
#####################
# LOGLEVEL SETTINGS #
#####################
loglevel.other = INFO
# loglevel.other: Log level for other third-party tools/APIs used by DSpace
# Possible values (from most to least info): DEBUG, INFO, WARN, ERROR, FATAL
loglevel.dspace = INFO
# loglevel.dspace: Log level for all DSpace-specific code (org.dspace.*)
# Possible values (from most to least info): DEBUG, INFO, WARN, ERROR, FATAL

636
dspace-api/pom.xml Normal file
View File

@@ -0,0 +1,636 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.dspace</groupId>
<artifactId>dspace-api</artifactId>
<name>DSpace Kernel :: API and Implementation</name>
<description>DSpace core data model and service APIs.</description>
<!--
A Parent POM that Maven inherits DSpace Defaults
POM attributes from.
-->
<parent>
<groupId>org.dspace</groupId>
<artifactId>dspace-parent</artifactId>
<version>5.0</version>
<relativePath>..</relativePath>
</parent>
<properties>
<!-- This is the path to the root [dspace-src] directory. -->
<root.basedir>${basedir}/..</root.basedir>
</properties>
<!--
Runtime and Compile Time dependencies for DSpace.
-->
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>maven.properties</include>
<include>scm.properties</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>maven.properties</exclude>
<exclude>scm.properties</exclude>
</excludes>
<filtering>false</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<debug>true</debug>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Verify OS license headers for all source code files -->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/src/test/resources/**</exclude>
<exclude>**/src/test/data/**</exclude>
<exclude>**/.gitignore</exclude>
<exclude>src/test/data/dspaceFolder/config/spiders/**</exclude>
<exclude>src/main/java/org/apache/solr/handler/extraction/ExtractingParams.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.9</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>maven-version</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>findbugs</id>
<activation>
<activeByDefault>false</activeByDefault>
<!-- property>
<name>maven.test.skip</name>
<value>false</value>
</property -->
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<!-- If Unit Testing is enabled, then setup the Unit Test Environment.
See also the 'skiptests' profile in Parent POM. -->
<profile>
<id>test-environment</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>maven.test.skip</name>
<value>false</value>
</property>
</activation>
<build>
<plugins>
<!-- Unit/Integration Testing setup: This plugin unzips the
'testEnvironment.zip' file (created by dspace-parent POM), into
the 'target/testing/' folder, to essentially create a test
install of DSpace, against which Tests can be run. -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
<executions>
<execution>
<id>setupTestEnvironment</id>
<phase>generate-test-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/testing</outputDirectory>
<artifactItems>
<artifactItem>
<groupId>org.dspace</groupId>
<artifactId>dspace-parent</artifactId>
<version>${project.version}</version>
<type>zip</type>
<classifier>testEnvironment</classifier>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<!-- This plugin allows us to run a Groovy script in our Maven POM
(see: http://gmaven.codehaus.org/Executing+Groovy+Code )
We are generating a OS-agnostic version (agnostic.build.dir) of
the ${project.build.directory} property (full path of target dir).
This is needed by the FileWeaver & Surefire plugins (see below)
to initialize the Unit Test environment's dspace.cfg file.
Otherwise, the Unit Test Framework will not work on Windows OS.
This Groovy code was mostly borrowed from:
http://stackoverflow.com/questions/3872355/how-to-convert-file-separator-in-maven
-->
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>groovy-maven-plugin</artifactId>
<version>2.0</version>
<executions>
<execution>
<id>setproperty</id>
<phase>generate-test-resources</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<source>
project.properties['agnostic.build.dir']=project.build.directory.replace(File.separator,'/');
println("Initializing Maven property 'agnostic.build.dir' to: " + project.properties['agnostic.build.dir']);
</source>
</configuration>
</execution>
</executions>
</plugin>
<!-- FileWeaver plugin is in charge of initializing & "weaving" together
the dspace.cfg file to be used by the Unit Testing environment.
It weaves two files, the default 'dspace.cfg' and 'dspace.cfg.more',
both of which are included in the testEnvironment.zip. -->
<plugin>
<groupId>edu.iu.ul.maven.plugins</groupId>
<artifactId>fileweaver</artifactId>
<version>1.0</version>
<configuration>
<outputs>
<output>
<outputPath>${agnostic.build.dir}/testing</outputPath>
<name>dspace.cfg.woven</name>
<parts>
<part>
<path>${agnostic.build.dir}/testing/dspace/config/dspace.cfg</path>
</part>
<part>
<path>${agnostic.build.dir}/testing/dspace.cfg.more</path>
</part>
</parts>
<properties>
<dspace.install.dir>${agnostic.build.dir}/testing/dspace</dspace.install.dir>
</properties>
</output>
</outputs>
</configuration>
<executions>
<execution>
<id>edit-dspace-cfg</id>
<phase>process-test-resources</phase>
<goals>
<goal>weave</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- The ant plugin below ensures that the final "woven" dspace.cfg
ends up in the /target/testing/dspace/ directory. This becomes
our final dspace.cfg for the Unit Testing environment. The dspace
service manager needs this "woven" configuration file when it starts.-->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>process-test-resources</phase>
<configuration>
<target>
<copy file="${agnostic.build.dir}/testing/dspace.cfg.woven" tofile="${agnostic.build.dir}/testing/dspace/config/dspace.cfg" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Run Unit/Integration Testing! This plugin just kicks off the tests (when enabled). -->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<!-- Specify the dspace.cfg file to use for test environment -->
<dspace.configuration>${agnostic.build.dir}/testing/dspace/config/dspace.cfg</dspace.configuration>
<!-- Turn off any DSpace logging -->
<dspace.log.init.disable>true</dspace.log.init.disable>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>handle</artifactId>
</dependency>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>jargon</artifactId>
</dependency>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>mets</artifactId>
</dependency>
<dependency>
<groupId>org.dspace.dependencies</groupId>
<artifactId>dspace-tm-extractors</artifactId>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-analyzers-common</artifactId>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-queryparser</artifactId>
</dependency>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>apache-jena-libs</artifactId>
<type>pom</type>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
</dependency>
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jaxen</groupId>
<artifactId>jaxen</artifactId>
<exclusions>
<exclusion>
<artifactId>xom</artifactId>
<groupId>xom</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>jdom</groupId>
<artifactId>jdom</artifactId>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
<dependency>
<groupId>oro</groupId>
<artifactId>oro</artifactId>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>fontbox</artifactId>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>jempbox</artifactId>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15</artifactId>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcmail-jdk15</artifactId>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-scratchpad</artifactId>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
</dependency>
<dependency>
<groupId>rome</groupId>
<artifactId>rome</artifactId>
</dependency>
<dependency>
<groupId>rome</groupId>
<artifactId>opensearch</artifactId>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xmlParserAPIs</artifactId>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
</dependency>
<dependency>
<groupId>com.ibm.icu</groupId>
<artifactId>icu4j</artifactId>
</dependency>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>oclc-harvester2</artifactId>
</dependency>
<dependency>
<groupId>org.dspace</groupId>
<artifactId>dspace-services</artifactId>
</dependency>
<dependency> <!-- Keep jmockit before junit -->
<groupId>org.jmockit</groupId>
<artifactId>jmockit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.databene</groupId>
<artifactId>contiperf</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.rometools</groupId>
<artifactId>rome-modules</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>gr.ekt.bte</groupId>
<artifactId>bte-core</artifactId>
<version>0.9.3.5</version>
</dependency>
<dependency>
<groupId>gr.ekt.bte</groupId>
<artifactId>bte-io</artifactId>
<version>0.9.3.5</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-solrj</artifactId>
<version>${solr.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-configuration</groupId>
<artifactId>commons-configuration</artifactId>
<version>1.8</version>
</dependency>
<dependency>
<groupId>com.maxmind.geoip</groupId>
<artifactId>geoip-api</artifactId>
<version>1.2.11</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
</dependency>
<dependency>
<groupId>dnsjava</groupId>
<artifactId>dnsjava</artifactId>
<version>2.1.1</version>
</dependency>
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>1.4.0</version>
</dependency>
<dependency>
<groupId>com.coverity.security</groupId>
<artifactId>coverity-escapers</artifactId>
<version>1.1.1</version>
</dependency>
<!-- Gson: Java to Json conversion -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>18.0</version>
</dependency>
<dependency>
<groupId>postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>jdbm</groupId>
<artifactId>jdbm</artifactId>
<version>1.0</version>
</dependency>
<!-- For ImageMagick MediaFilters -->
<dependency>
<groupId>org.im4java</groupId>
<artifactId>im4java</artifactId>
<version>1.4.0</version>
</dependency>
<!-- Flyway DB API (flywaydb.org) is used to manage DB upgrades automatically. -->
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<version>3.0</version>
</dependency>
<!-- Google Analytics -->
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-analytics</artifactId>
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-jackson2</artifactId>
</dependency>
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-jetty</artifactId>
</dependency>
<!-- FindBugs -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.3</version>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>1</version>
<type>jar</type>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,165 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.solr.handler.extraction;
/**
* The various Solr Parameters names to use when extracting content.
*
**/
public interface ExtractingParams {
/**
* Map all generated attribute names to field names with lowercase and underscores.
*/
public static final String LOWERNAMES = "lowernames";
/**
* if true, ignore TikaException (give up to extract text but index meta data)
*/
public static final String IGNORE_TIKA_EXCEPTION = "ignoreTikaException";
/**
* The param prefix for mapping Tika metadata to Solr fields.
* <p/>
* To map a field, add a name like:
* <pre>fmap.title=solr.title</pre>
*
* In this example, the tika "title" metadata value will be added to a Solr field named "solr.title"
*
*
*/
public static final String MAP_PREFIX = "fmap.";
/**
* The boost value for the name of the field. The boost can be specified by a name mapping.
* <p/>
* For example
* <pre>
* map.title=solr.title
* boost.solr.title=2.5
* </pre>
* will boost the solr.title field for this document by 2.5
*
*/
public static final String BOOST_PREFIX = "boost.";
/**
* Pass in literal values to be added to the document, as in
* <pre>
* literal.myField=Foo
* </pre>
*
*/
public static final String LITERALS_PREFIX = "literal.";
/**
* Restrict the extracted parts of a document to be indexed
* by passing in an XPath expression. All content that satisfies the XPath expr.
* will be passed to the {@link SolrContentHandler}.
* <p/>
* See Tika's docs for what the extracted document looks like.
* <p/>
* @see #CAPTURE_ELEMENTS
*/
public static final String XPATH_EXPRESSION = "xpath";
/**
* Only extract and return the content, do not index it.
*/
public static final String EXTRACT_ONLY = "extractOnly";
/**
* Content output format if extractOnly is true. Default is "xml", alternative is "text".
*/
public static final String EXTRACT_FORMAT = "extractFormat";
/**
* Capture attributes separately according to the name of the element, instead of just adding them to the string buffer
*/
public static final String CAPTURE_ATTRIBUTES = "captureAttr";
/**
* Literal field values will by default override other values such as metadata and content. Set this to false to revert to pre-4.0 behaviour
*/
public static final String LITERALS_OVERRIDE = "literalsOverride";
/**
* Capture the specified fields (and everything included below it that isn't capture by some other capture field) separately from the default. This is different
* then the case of passing in an XPath expression.
* <p/>
* The Capture field is based on the localName returned to the {@link SolrContentHandler}
* by Tika, not to be confused by the mapped field. The field name can then
* be mapped into the index schema.
* <p/>
* For instance, a Tika document may look like:
* <pre>
* &lt;html&gt;
* ...
* &lt;body&gt;
* &lt;p&gt;some text here. &lt;div&gt;more text&lt;/div&gt;&lt;/p&gt;
* Some more text
* &lt;/body&gt;
* </pre>
* By passing in the p tag, you could capture all P tags separately from the rest of the t
* Thus, in the example, the capture of the P tag would be: "some text here. more text"
*
*/
public static final String CAPTURE_ELEMENTS = "capture";
/**
* The type of the stream. If not specified, Tika will use mime type detection.
*/
public static final String STREAM_TYPE = "stream.type";
/**
* Optional. The file name. If specified, Tika can take this into account while
* guessing the MIME type.
*/
public static final String RESOURCE_NAME = "resource.name";
/**
* Optional. The password for this resource. Will be used instead of the rule based password lookup mechanisms
*/
public static final String RESOURCE_PASSWORD = "resource.password";
/**
* Optional. If specified, the prefix will be prepended to all Metadata, such that it would be possible
* to setup a dynamic field to automatically capture it
*/
public static final String UNKNOWN_FIELD_PREFIX = "uprefix";
/**
* Optional. If specified and the name of a potential field cannot be determined, the default Field specified
* will be used instead.
*/
public static final String DEFAULT_FIELD = "defaultField";
/**
* Optional. If specified, loads the file as a source for password lookups for Tika encrypted documents.
* <p>
* File format is Java properties format with one key=value per line.
* The key is evaluated as a regex against the file name, and the value is the password
* The rules are evaluated top-bottom, i.e. the first match will be used
* If you want a fallback password to be always used, supply a .*=&lt;defaultmypassword&gt; at the end
*/
public static final String PASSWORD_MAP_FILE = "passwordsFile";
}

View File

@@ -1,41 +1,9 @@
/*
* CommunityFiliator.java
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* Version: $Revision$
*
* Date: $Date$
*
* Copyright (c) 2002-2005, Hewlett-Packard Company and Massachusetts
* Institute of Technology. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* - Neither the name of the Hewlett-Packard Company nor the name of the
* Massachusetts Institute of Technology nor the names of their
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
* http://www.dspace.org/license/
*/
package org.dspace.administer;
@@ -127,19 +95,17 @@ public class CommunityFiliator
System.exit(1);
}
if (command.equals("set") || command.equals("remove"))
if ("set".equals(command) || "remove".equals(command))
{
if (parentID == null)
{
System.out
.println("Error - a parentID must be specified (run with -h flag for details)");
System.out.println("Error - a parentID must be specified (run with -h flag for details)");
System.exit(1);
}
if (childID == null)
{
System.out
.println("Error - a childID must be specified (run with -h flag for details)");
System.out.println("Error - a childID must be specified (run with -h flag for details)");
System.exit(1);
}
}
@@ -170,7 +136,7 @@ public class CommunityFiliator
System.exit(1);
}
if (command.equals("set"))
if ("set".equals(command))
{
filiator.filiate(c, parent, child);
}

View File

@@ -0,0 +1,268 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.administer;
import java.io.Console;
import java.util.Arrays;
import java.util.Locale;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.PosixParser;
import org.apache.commons.lang.StringUtils;
import org.dspace.core.ConfigurationManager;
import org.dspace.core.Context;
import org.dspace.core.I18nUtil;
import org.dspace.eperson.EPerson;
import org.dspace.eperson.Group;
/**
* A command-line tool for creating an initial administrator for setting up a
* DSpace site. Prompts for an e-mail address, last name, first name and
* password from standard input. An administrator group is then created and the
* data passed in used to create an e-person in that group.
* <P>
* Alternatively, it can be used to take the email, first name, last name and
* desired password as arguments thus:
*
* CreateAdministrator -e [email] -f [first name] -l [last name] -p [password]
*
* This is particularly convenient for automated deploy scripts that require an
* initial administrator, for example, before deployment can be completed
*
* @author Robert Tansley
* @author Richard Jones
*
* @version $Revision$
*/
public final class CreateAdministrator
{
/** DSpace Context object */
private final Context context;
/**
* For invoking via the command line. If called with no command line arguments,
* it will negotiate with the user for the administrator details
*
* @param argv
* command-line arguments
*/
public static void main(String[] argv)
throws Exception
{
CommandLineParser parser = new PosixParser();
Options options = new Options();
CreateAdministrator ca = new CreateAdministrator();
options.addOption("e", "email", true, "administrator email address");
options.addOption("f", "first", true, "administrator first name");
options.addOption("l", "last", true, "administrator last name");
options.addOption("c", "language", true, "administrator language");
options.addOption("p", "password", true, "administrator password");
CommandLine line = parser.parse(options, argv);
if (line.hasOption("e") && line.hasOption("f") && line.hasOption("l") &&
line.hasOption("c") && line.hasOption("p"))
{
ca.createAdministrator(line.getOptionValue("e"),
line.getOptionValue("f"), line.getOptionValue("l"),
line.getOptionValue("c"), line.getOptionValue("p"));
}
else
{
ca.negotiateAdministratorDetails();
}
}
/**
* constructor, which just creates and object with a ready context
*
* @throws Exception
*/
private CreateAdministrator()
throws Exception
{
context = new Context();
}
/**
* Method which will negotiate with the user via the command line to
* obtain the administrator's details
*
* @throws Exception
*/
private void negotiateAdministratorDetails()
throws Exception
{
Console console = System.console();
System.out.println("Creating an initial administrator account");
boolean dataOK = false;
String email = null;
String firstName = null;
String lastName = null;
char[] password1 = null;
char[] password2 = null;
String language = I18nUtil.DEFAULTLOCALE.getLanguage();
while (!dataOK)
{
System.out.print("E-mail address: ");
System.out.flush();
email = console.readLine();
if (!StringUtils.isBlank(email))
{
email = email.trim();
}
else
{
System.out.println("Please provide an email address.");
continue;
}
System.out.print("First name: ");
System.out.flush();
firstName = console.readLine();
if (firstName != null)
{
firstName = firstName.trim();
}
System.out.print("Last name: ");
System.out.flush();
lastName = console.readLine();
if (lastName != null)
{
lastName = lastName.trim();
}
if (ConfigurationManager.getProperty("webui.supported.locales") != null)
{
System.out.println("Select one of the following languages: " + ConfigurationManager.getProperty("webui.supported.locales"));
System.out.print("Language: ");
System.out.flush();
language = console.readLine();
if (language != null)
{
language = language.trim();
language = I18nUtil.getSupportedLocale(new Locale(language)).getLanguage();
}
}
System.out.println("Password will not display on screen.");
System.out.print("Password: ");
System.out.flush();
password1 = console.readPassword();
System.out.print("Again to confirm: ");
System.out.flush();
password2 = console.readPassword();
//TODO real password validation
if (password1.length > 1 && Arrays.equals(password1, password2))
{
// password OK
System.out.print("Is the above data correct? (y or n): ");
System.out.flush();
String s = console.readLine();
if (s != null)
{
s = s.trim();
if (s.toLowerCase().startsWith("y"))
{
dataOK = true;
}
}
}
else
{
System.out.println("Passwords don't match");
}
}
// if we make it to here, we are ready to create an administrator
createAdministrator(email, firstName, lastName, language, String.valueOf(password1));
//Cleaning arrays that held password
Arrays.fill(password1, ' ');
Arrays.fill(password2, ' ');
}
/**
* Create the administrator with the given details. If the user
* already exists then they are simply upped to administrator status
*
* @param email the email for the user
* @param first user's first name
* @param last user's last name
* @param language preferred language
* @param pw desired password
*
* @throws Exception
*/
private void createAdministrator(String email, String first, String last,
String language, String pw)
throws Exception
{
// Of course we aren't an administrator yet so we need to
// circumvent authorisation
context.setIgnoreAuthorization(true);
// Find administrator group
Group admins = Group.find(context, 1);
if (admins == null)
{
throw new IllegalStateException("Error, no admin group (group 1) found");
}
// Create the administrator e-person
EPerson eperson = EPerson.findByEmail(context,email);
// check if the email belongs to a registered user,
// if not create a new user with this email
if (eperson == null)
{
eperson = EPerson.create(context);
eperson.setEmail(email);
eperson.setCanLogIn(true);
eperson.setRequireCertificate(false);
eperson.setSelfRegistered(false);
}
eperson.setLastName(last);
eperson.setFirstName(first);
eperson.setLanguage(language);
eperson.setPassword(pw);
eperson.update();
admins.addMember(eperson);
admins.update();
context.complete();
System.out.println("Administrator account created");
}
}

View File

@@ -1,48 +1,15 @@
/*
* DCType.java
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* Version: $Revision$
*
* Date: $Date$
*
* Copyright (c) 2002-2005, Hewlett-Packard Company and Massachusetts
* Institute of Technology. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* - Neither the name of the Hewlett-Packard Company nor the name of the
* Massachusetts Institute of Technology nor the names of their
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
* http://www.dspace.org/license/
*/
package org.dspace.administer;
import java.io.IOException;
import java.sql.SQLException;
import org.apache.log4j.Logger;
import org.dspace.authorize.AuthorizeException;
import org.dspace.content.MetadataField;
import org.dspace.content.MetadataSchema;
@@ -67,9 +34,6 @@ import org.dspace.core.Context;
*/
public class DCType
{
/** log4j logger */
private static Logger log = Logger.getLogger(DCType.class);
/** Our context */
private Context ourContext;

View File

@@ -0,0 +1,325 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.administer;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import org.apache.commons.cli.PosixParser;
import org.apache.xml.serialize.Method;
import org.apache.xml.serialize.OutputFormat;
import org.apache.xml.serialize.XMLSerializer;
import org.dspace.content.MetadataField;
import org.dspace.content.MetadataSchema;
import org.dspace.core.Context;
import org.xml.sax.SAXException;
/**
* @author Graham Triggs
*
* This class creates an xml document as passed in the arguments and
* from the metadata schemas for the repository.
*
* The form of the XML is as follows
*
* <metadata-schemas>
* <schema>
* <name>dc</name>
* <namespace>http://dublincore.org/documents/dcmi-terms/</namespace>
* </schema>
* </metadata-schemas>
*/
public class MetadataExporter
{
/**
* @param args
* @throws ParseException
* @throws SAXException
* @throws IOException
* @throws SQLException
* @throws RegistryExportException
*/
public static void main(String[] args) throws ParseException, SQLException, IOException, SAXException, RegistryExportException
{
// create an options object and populate it
CommandLineParser parser = new PosixParser();
Options options = new Options();
options.addOption("f", "file", true, "output xml file for registry");
options.addOption("s", "schema", true, "the name of the schema to export");
CommandLine line = parser.parse(options, args);
String file = null;
String schema = null;
if (line.hasOption('f'))
{
file = line.getOptionValue('f');
}
else
{
usage();
System.exit(0);
}
if (line.hasOption('s'))
{
schema = line.getOptionValue('s');
}
saveRegistry(file, schema);
}
public static void saveRegistry(String file, String schema) throws SQLException, IOException, SAXException, RegistryExportException
{
// create a context
Context context = new Context();
context.setIgnoreAuthorization(true);
OutputFormat xmlFormat = new OutputFormat(Method.XML, "UTF-8", true);
xmlFormat.setLineWidth(120);
xmlFormat.setIndent(4);
XMLSerializer xmlSerializer = new XMLSerializer(new BufferedWriter(new FileWriter(file)), xmlFormat);
// XMLSerializer xmlSerializer = new XMLSerializer(System.out, xmlFormat);
xmlSerializer.startDocument();
xmlSerializer.startElement("dspace-dc-types", null);
// Save the schema definition(s)
saveSchema(context, xmlSerializer, schema);
MetadataField[] mdFields = null;
// If a single schema has been specified
if (schema != null && !"".equals(schema))
{
// Get the id of that schema
MetadataSchema mdSchema = MetadataSchema.find(context, schema);
if (mdSchema == null)
{
throw new RegistryExportException("no schema to export");
}
// Get the metadata fields only for the specified schema
mdFields = MetadataField.findAllInSchema(context, mdSchema.getSchemaID());
}
else
{
// Get the metadata fields for all the schemas
mdFields = MetadataField.findAll(context);
}
// Output the metadata fields
for (MetadataField mdField : mdFields)
{
saveType(context, xmlSerializer, mdField);
}
xmlSerializer.endElement("dspace-dc-types");
xmlSerializer.endDocument();
// abort the context, as we shouldn't have changed it!!
context.abort();
}
/**
* Serialize the schema registry. If the parameter 'schema' is null or empty, save all schemas
* @param context
* @param xmlSerializer
* @param schema
* @throws SQLException
* @throws SAXException
* @throws RegistryExportException
*/
public static void saveSchema(Context context, XMLSerializer xmlSerializer, String schema) throws SQLException, SAXException, RegistryExportException
{
if (schema != null && !"".equals(schema))
{
// Find a single named schema
MetadataSchema mdSchema = MetadataSchema.find(context, schema);
saveSchema(xmlSerializer, mdSchema);
}
else
{
// Find all schemas
MetadataSchema[] mdSchemas = MetadataSchema.findAll(context);
for (MetadataSchema mdSchema : mdSchemas)
{
saveSchema(xmlSerializer, mdSchema);
}
}
}
/**
* Serialize a single schema (namespace) registry entry
*
* @param xmlSerializer
* @param mdSchema
* @throws SAXException
* @throws RegistryExportException
*/
private static void saveSchema(XMLSerializer xmlSerializer, MetadataSchema mdSchema) throws SAXException, RegistryExportException
{
// If we haven't got a schema, it's an error
if (mdSchema == null)
{
throw new RegistryExportException("no schema to export");
}
String name = mdSchema.getName();
String namespace = mdSchema.getNamespace();
if (name == null || "".equals(name))
{
System.out.println("name is null, skipping");
return;
}
if (namespace == null || "".equals(namespace))
{
System.out.println("namespace is null, skipping");
return;
}
// Output the parent tag
xmlSerializer.startElement("dc-schema", null);
// Output the schema name
xmlSerializer.startElement("name", null);
xmlSerializer.characters(name.toCharArray(), 0, name.length());
xmlSerializer.endElement("name");
// Output the schema namespace
xmlSerializer.startElement("namespace", null);
xmlSerializer.characters(namespace.toCharArray(), 0, namespace.length());
xmlSerializer.endElement("namespace");
xmlSerializer.endElement("dc-schema");
}
/**
* Serialize a single metadata field registry entry to xml
*
* @param context
* @param xmlSerializer
* @param mdField
* @throws SAXException
* @throws RegistryExportException
* @throws SQLException
* @throws IOException
*/
private static void saveType(Context context, XMLSerializer xmlSerializer, MetadataField mdField) throws SAXException, RegistryExportException, SQLException, IOException
{
// If we haven't been given a field, it's an error
if (mdField == null)
{
throw new RegistryExportException("no field to export");
}
// Get the data from the metadata field
String schemaName = getSchemaName(context, mdField);
String element = mdField.getElement();
String qualifier = mdField.getQualifier();
String scopeNote = mdField.getScopeNote();
// We must have a schema and element
if (schemaName == null || element == null)
{
throw new RegistryExportException("incomplete field information");
}
// Output the parent tag
xmlSerializer.startElement("dc-type", null);
// Output the schema name
xmlSerializer.startElement("schema", null);
xmlSerializer.characters(schemaName.toCharArray(), 0, schemaName.length());
xmlSerializer.endElement("schema");
// Output the element
xmlSerializer.startElement("element", null);
xmlSerializer.characters(element.toCharArray(), 0, element.length());
xmlSerializer.endElement("element");
// Output the qualifier, if present
if (qualifier != null)
{
xmlSerializer.startElement("qualifier", null);
xmlSerializer.characters(qualifier.toCharArray(), 0, qualifier.length());
xmlSerializer.endElement("qualifier");
}
else
{
xmlSerializer.comment("unqualified");
}
// Output the scope note, if present
if (scopeNote != null)
{
xmlSerializer.startElement("scope_note", null);
xmlSerializer.characters(scopeNote.toCharArray(), 0, scopeNote.length());
xmlSerializer.endElement("scope_note");
}
else
{
xmlSerializer.comment("no scope note");
}
xmlSerializer.endElement("dc-type");
}
/**
* Helper method to retrieve a schema name for the field.
* Caches the name after looking up the id.
*/
static Map<Integer, String> schemaMap = new HashMap<Integer, String>();
private static String getSchemaName(Context context, MetadataField mdField) throws SQLException, RegistryExportException
{
// Get name from cache
String name = schemaMap.get(Integer.valueOf(mdField.getSchemaID()));
if (name == null)
{
// Name not retrieved before, so get the schema now
MetadataSchema mdSchema = MetadataSchema.find(context, mdField.getSchemaID());
if (mdSchema != null)
{
name = mdSchema.getName();
schemaMap.put(Integer.valueOf(mdSchema.getSchemaID()), name);
}
else
{
// Can't find the schema
throw new RegistryExportException("Can't get schema name for field");
}
}
return name;
}
/**
* Print the usage message to stdout
*/
public static void usage()
{
String usage = "Use this class with the following options:\n" +
" -f <xml output file> : specify the output file for the schemas\n" +
" -s <schema> : name of the schema to export\n";
System.out.println(usage);
}
}

View File

@@ -0,0 +1,276 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.administer;
import java.io.IOException;
import java.sql.SQLException;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerException;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import org.apache.commons.cli.PosixParser;
import org.apache.xpath.XPathAPI;
import org.dspace.authorize.AuthorizeException;
import org.dspace.content.MetadataField;
import org.dspace.content.MetadataSchema;
import org.dspace.content.NonUniqueMetadataException;
import org.dspace.core.Context;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
/**
* @author Richard Jones
*
* This class takes an xml document as passed in the arguments and
* uses it to create metadata elements in the Metadata Registry if
* they do not already exist
*
* The format of the XML file is as follows:
*
* <dspace-dc-types>
* <dc-type>
* <schema>icadmin</schema>
* <element>status</element>
* <qualifier>dateset</qualifier>
* <scope_note>the workflow status of an item</scope_note>
* </dc-type>
*
* [....]
*
* </dspace-dc-types>
*/
public class MetadataImporter
{
/** logging category */
private static final Logger log = LoggerFactory.getLogger(MetadataImporter.class);
/**
* main method for reading user input from the command line
*/
public static void main(String[] args)
throws ParseException, SQLException, IOException, TransformerException,
ParserConfigurationException, AuthorizeException, SAXException,
NonUniqueMetadataException, RegistryImportException
{
boolean forceUpdate = false;
// create an options object and populate it
CommandLineParser parser = new PosixParser();
Options options = new Options();
options.addOption("f", "file", true, "source xml file for DC fields");
options.addOption("u", "update", false, "update an existing schema");
CommandLine line = parser.parse(options, args);
String file = null;
if (line.hasOption('f'))
{
file = line.getOptionValue('f');
}
else
{
usage();
System.exit(0);
}
forceUpdate = line.hasOption('u');
loadRegistry(file, forceUpdate);
}
/**
* Load the data from the specified file path into the database
*
* @param file the file path containing the source data
*/
public static void loadRegistry(String file, boolean forceUpdate)
throws SQLException, IOException, TransformerException, ParserConfigurationException,
AuthorizeException, SAXException, NonUniqueMetadataException, RegistryImportException
{
Context context = null;
try
{
// create a context
context = new Context();
context.turnOffAuthorisationSystem();
// read the XML
Document document = RegistryImporter.loadXML(file);
// Get the nodes corresponding to types
NodeList schemaNodes = XPathAPI.selectNodeList(document, "/dspace-dc-types/dc-schema");
// Add each one as a new format to the registry
for (int i = 0; i < schemaNodes.getLength(); i++)
{
Node n = schemaNodes.item(i);
loadSchema(context, n, forceUpdate);
}
// Get the nodes corresponding to types
NodeList typeNodes = XPathAPI.selectNodeList(document, "/dspace-dc-types/dc-type");
// Add each one as a new format to the registry
for (int i = 0; i < typeNodes.getLength(); i++)
{
Node n = typeNodes.item(i);
loadType(context, n);
}
context.restoreAuthSystemState();
context.complete();
}
finally
{
// Clean up our context, if it still exists & it was never completed
if(context!=null && context.isValid())
context.abort();
}
}
/**
* Process a node in the metadata registry XML file. If the
* schema already exists, it will not be recreated
*
* @param context
* DSpace context object
* @param node
* the node in the DOM tree
* @throws NonUniqueMetadataException
*/
private static void loadSchema(Context context, Node node, boolean updateExisting)
throws SQLException, IOException, TransformerException,
AuthorizeException, NonUniqueMetadataException, RegistryImportException
{
// Get the values
String name = RegistryImporter.getElementData(node, "name");
String namespace = RegistryImporter.getElementData(node, "namespace");
if (name == null || "".equals(name))
{
throw new RegistryImportException("Name of schema must be supplied");
}
if (namespace == null || "".equals(namespace))
{
throw new RegistryImportException("Namespace of schema must be supplied");
}
// check to see if the schema already exists
MetadataSchema s = MetadataSchema.find(context, name);
if (s == null)
{
// Schema does not exist - create
log.info("Registering Schema " + name + " (" + namespace + ")");
MetadataSchema schema = new MetadataSchema(namespace, name);
schema.create(context);
}
else
{
// Schema exists - if it's the same namespace, allow the type imports to continue
if (s.getNamespace().equals(namespace))
{
// This schema already exists with this namespace, skipping it
return;
}
// It's a different namespace - have we been told to update?
if (updateExisting)
{
// Update the existing schema namespace and continue to type import
log.info("Updating Schema " + name + ": New namespace " + namespace);
s.setNamespace(namespace);
s.update(context);
}
else
{
throw new RegistryImportException("Schema " + name + " already registered with different namespace " + namespace + ". Rerun with 'update' option enabled if you wish to update this schema.");
}
}
}
/**
* Process a node in the metadata registry XML file. The node must
* be a "dc-type" node. If the type already exists, then it
* will not be reimported
*
* @param context
* DSpace context object
* @param node
* the node in the DOM tree
* @throws NonUniqueMetadataException
*/
private static void loadType(Context context, Node node)
throws SQLException, IOException, TransformerException,
AuthorizeException, NonUniqueMetadataException, RegistryImportException
{
// Get the values
String schema = RegistryImporter.getElementData(node, "schema");
String element = RegistryImporter.getElementData(node, "element");
String qualifier = RegistryImporter.getElementData(node, "qualifier");
String scopeNote = RegistryImporter.getElementData(node, "scope_note");
// If the schema is not provided default to DC
if (schema == null)
{
schema = MetadataSchema.DC_SCHEMA;
}
// Find the matching schema object
MetadataSchema schemaObj = MetadataSchema.find(context, schema);
if (schemaObj == null)
{
throw new RegistryImportException("Schema '" + schema + "' is not registered and does not exist.");
}
MetadataField mf = MetadataField.findByElement(context, schemaObj.getSchemaID(), element, qualifier);
if (mf != null)
{
// Metadata field already exists, skipping it
return;
}
// Actually create this metadata field as it doesn't yet exist
String fieldName = schema + "." + element + "." + qualifier;
if(qualifier==null)
fieldName = schema + "." + element;
log.info("Registering metadata field " + fieldName);
MetadataField field = new MetadataField();
field.setSchemaID(schemaObj.getSchemaID());
field.setElement(element);
field.setQualifier(qualifier);
field.setScopeNote(scopeNote);
field.create(context);
}
/**
* Print the usage message to stdout
*/
public static void usage()
{
String usage = "Use this class with the following option:\n" +
" -f <xml source file> : specify which xml source file " +
"contains the DC fields to import.\n";
System.out.println(usage);
}
}

View File

@@ -0,0 +1,56 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.administer;
/**
* @author Graham Triggs
*
* An exception to report any problems with registry exports
*/
public class RegistryExportException extends Exception
{
/**
* Create an empty authorize exception
*/
public RegistryExportException()
{
super();
}
/**
* create an exception with only a message
*
* @param message
*/
public RegistryExportException(String message)
{
super(message);
}
/**
* create an exception with an inner exception and a message
*
* @param message
* @param e
*/
public RegistryExportException(String message, Throwable e)
{
super(message, e);
}
/**
* create an exception with an inner exception
*
* @param e
*/
public RegistryExportException(Throwable e)
{
super(e);
}
}

View File

@@ -0,0 +1,56 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.administer;
/**
* @author Richard Jones
*
* An exception to report any problems with registry imports
*/
public class RegistryImportException extends Exception
{
/**
* Create an empty authorize exception
*/
public RegistryImportException()
{
super();
}
/**
* create an exception with only a message
*
* @param message
*/
public RegistryImportException(String message)
{
super(message);
}
/**
* create an exception with an inner exception and a message
*
* @param message
* @param e
*/
public RegistryImportException(String message, Throwable e)
{
super(message, e);
}
/**
* create an exception with an inner exception
*
* @param e
*/
public RegistryImportException(Throwable e)
{
super(e);
}
}

View File

@@ -0,0 +1,141 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.administer;
import java.io.File;
import java.io.IOException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerException;
import org.apache.xpath.XPathAPI;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
/**
* @author Richard Jones
*
* This class provides the tools that registry importers might need to
* use. Basically some utility methods. And actually, although it says
* I am the author, really I ripped these methods off from other
* classes
*/
public class RegistryImporter
{
/**
* Load in the XML from file.
*
* @param filename
* the filename to load from
*
* @return the DOM representation of the XML file
*/
public static Document loadXML(String filename)
throws IOException, ParserConfigurationException, SAXException
{
DocumentBuilder builder = DocumentBuilderFactory.newInstance()
.newDocumentBuilder();
Document document = builder.parse(new File(filename));
return document;
}
/**
* Get the CDATA of a particular element. For example, if the XML document
* contains:
* <P>
* <code>
* &lt;foo&gt;&lt;mimetype&gt;application/pdf&lt;/mimetype&gt;&lt;/foo&gt;
* </code>
* passing this the <code>foo</code> node and <code>mimetype</code> will
* return <code>application/pdf</code>.
* </P>
* Why this isn't a core part of the XML API I do not know...
*
* @param parentElement
* the element, whose child element you want the CDATA from
* @param childName
* the name of the element you want the CDATA from
*
* @return the CDATA as a <code>String</code>
*/
public static String getElementData(Node parentElement, String childName)
throws TransformerException
{
// Grab the child node
Node childNode = XPathAPI.selectSingleNode(parentElement, childName);
if (childNode == null)
{
// No child node, so no values
return null;
}
// Get the #text
Node dataNode = childNode.getFirstChild();
if (dataNode == null)
{
return null;
}
// Get the data
String value = dataNode.getNodeValue().trim();
return value;
}
/**
* Get repeated CDATA for a particular element. For example, if the XML
* document contains:
* <P>
* <code>
* &lt;foo&gt;
* &lt;bar&gt;val1&lt;/bar&gt;
* &lt;bar&gt;val2&lt;/bar&gt;
* &lt;/foo&gt;
* </code>
* passing this the <code>foo</code> node and <code>bar</code> will
* return <code>val1</code> and <code>val2</code>.
* </P>
* Why this also isn't a core part of the XML API I do not know...
*
* @param parentElement
* the element, whose child element you want the CDATA from
* @param childName
* the name of the element you want the CDATA from
*
* @return the CDATA as a <code>String</code>
*/
public static String[] getRepeatedElementData(Node parentElement,
String childName) throws TransformerException
{
// Grab the child node
NodeList childNodes = XPathAPI.selectNodeList(parentElement, childName);
String[] data = new String[childNodes.getLength()];
for (int i = 0; i < childNodes.getLength(); i++)
{
// Get the #text node
Node dataNode = childNodes.item(i).getFirstChild();
// Get the data
data[i] = dataNode.getNodeValue().trim();
}
return data;
}
}

View File

@@ -0,0 +1,302 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.administer;
import java.io.File;
import java.io.IOException;
import java.sql.SQLException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerException;
import org.apache.log4j.Logger;
import org.apache.xpath.XPathAPI;
import org.dspace.authorize.AuthorizeException;
import org.dspace.content.BitstreamFormat;
import org.dspace.content.MetadataField;
import org.dspace.content.MetadataSchema;
import org.dspace.content.NonUniqueMetadataException;
import org.dspace.core.Context;
import org.dspace.core.LogManager;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
/**
* Loads the bitstream format and Dublin Core type registries into the database.
* Intended for use as a command-line tool.
* <P>
* Example usage:
* <P>
* <code>RegistryLoader -bitstream bitstream-formats.xml</code>
* <P>
* <code>RegistryLoader -dc dc-types.xml</code>
*
* @author Robert Tansley
* @version $Revision$
*/
public class RegistryLoader
{
/** log4j category */
private static Logger log = Logger.getLogger(RegistryLoader.class);
/**
* For invoking via the command line
*
* @param argv
* command-line arguments
*/
public static void main(String[] argv) throws Exception
{
String usage = "Usage: " + RegistryLoader.class.getName()
+ " (-bitstream | -metadata) registry-file.xml";
Context context = null;
try
{
context = new Context();
// Can't update registries anonymously, so we need to turn off
// authorisation
context.turnOffAuthorisationSystem();
// Work out what we're loading
if (argv[0].equalsIgnoreCase("-bitstream"))
{
RegistryLoader.loadBitstreamFormats(context, argv[1]);
}
else if (argv[0].equalsIgnoreCase("-metadata"))
{
// Call MetadataImporter, as it handles Metadata schema updates
MetadataImporter.loadRegistry(argv[1], true);
}
else
{
System.err.println(usage);
}
// Commit changes and close Context
context.complete();
System.exit(0);
}
catch (ArrayIndexOutOfBoundsException ae)
{
System.err.println(usage);
System.exit(1);
}
catch (Exception e)
{
log.fatal(LogManager.getHeader(context, "error_loading_registries",
""), e);
System.err.println("Error: \n - " + e.getMessage());
System.exit(1);
}
finally
{
// Clean up our context, if it still exists & it was never completed
if(context!=null && context.isValid())
context.abort();
}
}
/**
* Load Bitstream Format metadata
*
* @param context
* DSpace context object
* @param filename
* the filename of the XML file to load
*/
public static void loadBitstreamFormats(Context context, String filename)
throws SQLException, IOException, ParserConfigurationException,
SAXException, TransformerException, AuthorizeException
{
Document document = loadXML(filename);
// Get the nodes corresponding to formats
NodeList typeNodes = XPathAPI.selectNodeList(document,
"dspace-bitstream-types/bitstream-type");
// Add each one as a new format to the registry
for (int i = 0; i < typeNodes.getLength(); i++)
{
Node n = typeNodes.item(i);
loadFormat(context, n);
}
log.info(LogManager.getHeader(context, "load_bitstream_formats",
"number_loaded=" + typeNodes.getLength()));
}
/**
* Process a node in the bitstream format registry XML file. The node must
* be a "bitstream-type" node
*
* @param context
* DSpace context object
* @param node
* the node in the DOM tree
*/
private static void loadFormat(Context context, Node node)
throws SQLException, IOException, TransformerException,
AuthorizeException
{
// Get the values
String mimeType = getElementData(node, "mimetype");
String shortDesc = getElementData(node, "short_description");
String desc = getElementData(node, "description");
String supportLevelString = getElementData(node, "support_level");
int supportLevel = Integer.parseInt(supportLevelString);
String internalString = getElementData(node, "internal");
boolean internal = Boolean.valueOf(internalString).booleanValue();
String[] extensions = getRepeatedElementData(node, "extension");
// Check if this format already exists in our registry (by mime type)
BitstreamFormat exists = BitstreamFormat.findByMIMEType(context, mimeType);
// If not found by mimeType, check by short description (since this must also be unique)
if(exists==null)
{
exists = BitstreamFormat.findByShortDescription(context, shortDesc);
}
// If it doesn't exist, create it..otherwise skip it.
if(exists==null)
{
// Create the format object
BitstreamFormat format = BitstreamFormat.create(context);
// Fill it out with the values
format.setMIMEType(mimeType);
format.setShortDescription(shortDesc);
format.setDescription(desc);
format.setSupportLevel(supportLevel);
format.setInternal(internal);
format.setExtensions(extensions);
// Write to database
format.update();
}
}
// ===================== XML Utility Methods =========================
/**
* Load in the XML from file.
*
* @param filename
* the filename to load from
*
* @return the DOM representation of the XML file
*/
private static Document loadXML(String filename) throws IOException,
ParserConfigurationException, SAXException
{
DocumentBuilder builder = DocumentBuilderFactory.newInstance()
.newDocumentBuilder();
return builder.parse(new File(filename));
}
/**
* Get the CDATA of a particular element. For example, if the XML document
* contains:
* <P>
* <code>
* &lt;foo&gt;&lt;mimetype&gt;application/pdf&lt;/mimetype&gt;&lt;/foo&gt;
* </code>
* passing this the <code>foo</code> node and <code>mimetype</code> will
* return <code>application/pdf</code>.
* </P>
* Why this isn't a core part of the XML API I do not know...
*
* @param parentElement
* the element, whose child element you want the CDATA from
* @param childName
* the name of the element you want the CDATA from
*
* @return the CDATA as a <code>String</code>
*/
private static String getElementData(Node parentElement, String childName)
throws TransformerException
{
// Grab the child node
Node childNode = XPathAPI.selectSingleNode(parentElement, childName);
if (childNode == null)
{
// No child node, so no values
return null;
}
// Get the #text
Node dataNode = childNode.getFirstChild();
if (dataNode == null)
{
return null;
}
// Get the data
String value = dataNode.getNodeValue().trim();
return value;
}
/**
* Get repeated CDATA for a particular element. For example, if the XML
* document contains:
* <P>
* <code>
* &lt;foo&gt;
* &lt;bar&gt;val1&lt;/bar&gt;
* &lt;bar&gt;val2&lt;/bar&gt;
* &lt;/foo&gt;
* </code>
* passing this the <code>foo</code> node and <code>bar</code> will
* return <code>val1</code> and <code>val2</code>.
* </P>
* Why this also isn't a core part of the XML API I do not know...
*
* @param parentElement
* the element, whose child element you want the CDATA from
* @param childName
* the name of the element you want the CDATA from
*
* @return the CDATA as a <code>String</code>
*/
private static String[] getRepeatedElementData(Node parentElement,
String childName) throws TransformerException
{
// Grab the child node
NodeList childNodes = XPathAPI.selectNodeList(parentElement, childName);
String[] data = new String[childNodes.getLength()];
for (int i = 0; i < childNodes.getLength(); i++)
{
// Get the #text node
Node dataNode = childNodes.item(i).getFirstChild();
// Get the data
data[i] = dataNode.getNodeValue().trim();
}
return data;
}
}

View File

@@ -0,0 +1,581 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.administer;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Map;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerException;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.PosixParser;
import org.apache.xpath.XPathAPI;
import org.dspace.authorize.AuthorizeException;
import org.dspace.content.Collection;
import org.dspace.content.Community;
import org.dspace.core.Context;
import org.dspace.eperson.EPerson;
import org.jdom.Element;
import org.jdom.output.XMLOutputter;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
/**
* This class deals with importing community and collection structures from
* an XML file.
*
* The XML file structure needs to be:
*
* <import_structure>
* <community>
* <name>....</name>
* <community>...</community>
* <collection>
* <name>....</name>
* </collection>
* </community>
* </import_structure>
*
* it can be arbitrarily deep, and supports all the metadata elements
* that make up the community and collection metadata. See the system
* documentation for more details
*
* @author Richard Jones
*
*/
public class StructBuilder
{
/** the output xml document which will contain updated information about the
* imported structure
*/
private static org.jdom.Document xmlOutput = new org.jdom.Document(new Element("imported_structure"));
/** a hashtable to hold metadata for the collection being worked on */
private static Map<String, String> collectionMap = new HashMap<String, String>();
/** a hashtable to hold metadata for the community being worked on */
private static Map<String, String> communityMap = new HashMap<String, String>();
/**
* Main method to be run from the command line to import a structure into
* DSpace
*
* This is of the form:
*
* StructBuilder -f [xml source] -e [administrator email] -o [output file]
*
* The output file will contain exactly the same as the source xml document, but
* with the handle for each imported item added as an attribute.
*/
public static void main(String[] argv)
throws Exception
{
CommandLineParser parser = new PosixParser();
Options options = new Options();
options.addOption( "f", "file", true, "file");
options.addOption( "e", "eperson", true, "eperson");
options.addOption("o", "output", true, "output");
CommandLine line = parser.parse( options, argv );
String file = null;
String eperson = null;
String output = null;
if (line.hasOption('f'))
{
file = line.getOptionValue('f');
}
if (line.hasOption('e'))
{
eperson = line.getOptionValue('e');
}
if (line.hasOption('o'))
{
output = line.getOptionValue('o');
}
if (output == null || eperson == null || file == null)
{
usage();
System.exit(0);
}
// create a context
Context context = new Context();
// set the context
context.setCurrentUser(EPerson.findByEmail(context, eperson));
// load the XML
Document document = loadXML(file);
// run the preliminary validation, to be sure that the the XML document
// is properly structured
validate(document);
// load the mappings into the member variable hashmaps
communityMap.put("name", "name");
communityMap.put("description", "short_description");
communityMap.put("intro", "introductory_text");
communityMap.put("copyright", "copyright_text");
communityMap.put("sidebar", "side_bar_text");
collectionMap.put("name", "name");
collectionMap.put("description", "short_description");
collectionMap.put("intro", "introductory_text");
collectionMap.put("copyright", "copyright_text");
collectionMap.put("sidebar", "side_bar_text");
collectionMap.put("license", "license");
collectionMap.put("provenance", "provenance_description");
// get the top level community list
NodeList first = XPathAPI.selectNodeList(document, "/import_structure/community");
// run the import starting with the top level communities
Element[] elements = handleCommunities(context, first, null);
// generate the output
Element root = xmlOutput.getRootElement();
for (int i = 0; i < elements.length; i++)
{
root.addContent(elements[i]);
}
// finally write the string into the output file
try
{
BufferedWriter out = new BufferedWriter(new FileWriter(output));
out.write(new XMLOutputter().outputString(xmlOutput));
out.close();
}
catch (IOException e)
{
System.out.println("Unable to write to output file " + output);
System.exit(0);
}
context.complete();
}
/**
* Output the usage information
*/
private static void usage()
{
System.out.println("Usage: java StructBuilder -f <source XML file> -o <output file> -e <eperson email>");
System.out.println("Communities will be created from the top level, and a map of communities to handles will be returned in the output file");
return;
}
/**
* Validate the XML document. This method does not return, but if validation
* fails it generates an error and ceases execution
*
* @param document the XML document object
* @throws TransformerException
*
*/
private static void validate(org.w3c.dom.Document document)
throws TransformerException
{
StringBuffer err = new StringBuffer();
boolean trip = false;
err.append("The following errors were encountered parsing the source XML\n");
err.append("No changes have been made to the DSpace instance\n\n");
NodeList first = XPathAPI.selectNodeList(document, "/import_structure/community");
if (first.getLength() == 0)
{
err.append("-There are no top level communities in the source document");
System.out.println(err.toString());
System.exit(0);
}
String errs = validateCommunities(first, 1);
if (errs != null)
{
err.append(errs);
trip = true;
}
if (trip)
{
System.out.println(err.toString());
System.exit(0);
}
}
/**
* Validate the communities section of the XML document. This returns a string
* containing any errors encountered, or null if there were no errors
*
* @param communities the NodeList of communities to validate
* @param level the level in the XML document that we are at, for the purposes
* of error reporting
*
* @return the errors that need to be generated by the calling method, or null if
* no errors.
*/
private static String validateCommunities(NodeList communities, int level)
throws TransformerException
{
StringBuffer err = new StringBuffer();
boolean trip = false;
String errs = null;
for (int i = 0; i < communities.getLength(); i++)
{
Node n = communities.item(i);
NodeList name = XPathAPI.selectNodeList(n, "name");
if (name.getLength() != 1)
{
String pos = Integer.toString(i + 1);
err.append("-The level " + level + " community in position " + pos);
err.append(" does not contain exactly one name field\n");
trip = true;
}
// validate sub communities
NodeList subCommunities = XPathAPI.selectNodeList(n, "community");
String comErrs = validateCommunities(subCommunities, level + 1);
if (comErrs != null)
{
err.append(comErrs);
trip = true;
}
// validate collections
NodeList collections = XPathAPI.selectNodeList(n, "collection");
String colErrs = validateCollections(collections, level + 1);
if (colErrs != null)
{
err.append(colErrs);
trip = true;
}
}
if (trip)
{
errs = err.toString();
}
return errs;
}
/**
* validate the collection section of the XML document. This generates a
* string containing any errors encountered, or returns null if no errors
*
* @param collections a NodeList of collections to validate
* @param level the level in the XML document for the purposes of error reporting
*
* @return the errors to be generated by the calling method, or null if none
*/
private static String validateCollections(NodeList collections, int level)
throws TransformerException
{
StringBuffer err = new StringBuffer();
boolean trip = false;
String errs = null;
for (int i = 0; i < collections.getLength(); i++)
{
Node n = collections.item(i);
NodeList name = XPathAPI.selectNodeList(n, "name");
if (name.getLength() != 1)
{
String pos = Integer.toString(i + 1);
err.append("-The level " + level + " collection in position " + pos);
err.append(" does not contain exactly one name field\n");
trip = true;
}
}
if (trip)
{
errs = err.toString();
}
return errs;
}
/**
* Load in the XML from file.
*
* @param filename
* the filename to load from
*
* @return the DOM representation of the XML file
*/
private static org.w3c.dom.Document loadXML(String filename)
throws IOException, ParserConfigurationException, SAXException
{
DocumentBuilder builder = DocumentBuilderFactory.newInstance()
.newDocumentBuilder();
org.w3c.dom.Document document = builder.parse(new File(filename));
return document;
}
/**
* Return the String value of a Node
*
* @param node the node from which we want to extract the string value
*
* @return the string value of the node
*/
public static String getStringValue(Node node)
{
String value = node.getNodeValue();
if (node.hasChildNodes())
{
Node first = node.getFirstChild();
if (first.getNodeType() == Node.TEXT_NODE)
{
return first.getNodeValue().trim();
}
}
return value;
}
/**
* Take a node list of communities and build the structure from them, delegating
* to the relevant methods in this class for sub-communities and collections
*
* @param context the context of the request
* @param communities a nodelist of communities to create along with their sub-structures
* @param parent the parent community of the nodelist of communities to create
*
* @return an element array containing additional information regarding the
* created communities (e.g. the handles they have been assigned)
*/
private static Element[] handleCommunities(Context context, NodeList communities, Community parent)
throws TransformerException, SQLException, Exception
{
Element[] elements = new Element[communities.getLength()];
for (int i = 0; i < communities.getLength(); i++)
{
Community community;
Element element = new Element("community");
// create the community or sub community
if (parent != null)
{
community = parent.createSubcommunity();
}
else
{
community = Community.create(null, context);
}
// default the short description to be an empty string
community.setMetadata("short_description", " ");
// now update the metadata
Node tn = communities.item(i);
for (Map.Entry<String, String> entry : communityMap.entrySet())
{
NodeList nl = XPathAPI.selectNodeList(tn, entry.getKey());
if (nl.getLength() == 1)
{
community.setMetadata(entry.getValue(), getStringValue(nl.item(0)));
}
}
// FIXME: at the moment, if the community already exists by name
// then this will throw a PSQLException on a duplicate key
// violation
// Ideally we'd skip this row and continue to create sub
// communities
// and so forth where they don't exist, but it's proving
// difficult
// to isolate the community that already exists without hitting
// the database directly.
community.update();
// build the element with the handle that identifies the new
// community
// along with all the information that we imported here
// This looks like a lot of repetition of getting information
// from above
// but it's here to keep it separate from the create process in
// case
// we want to move it or make it switchable later
element.setAttribute("identifier", community.getHandle());
Element nameElement = new Element("name");
nameElement.setText(community.getMetadata("name"));
element.addContent(nameElement);
if (community.getMetadata("short_description") != null)
{
Element descriptionElement = new Element("description");
descriptionElement.setText(community.getMetadata("short_description"));
element.addContent(descriptionElement);
}
if (community.getMetadata("introductory_text") != null)
{
Element introElement = new Element("intro");
introElement.setText(community.getMetadata("introductory_text"));
element.addContent(introElement);
}
if (community.getMetadata("copyright_text") != null)
{
Element copyrightElement = new Element("copyright");
copyrightElement.setText(community.getMetadata("copyright_text"));
element.addContent(copyrightElement);
}
if (community.getMetadata("side_bar_text") != null)
{
Element sidebarElement = new Element("sidebar");
sidebarElement.setText(community.getMetadata("side_bar_text"));
element.addContent(sidebarElement);
}
// handle sub communities
NodeList subCommunities = XPathAPI.selectNodeList(tn, "community");
Element[] subCommunityElements = handleCommunities(context, subCommunities, community);
// handle collections
NodeList collections = XPathAPI.selectNodeList(tn, "collection");
Element[] collectionElements = handleCollections(context, collections, community);
int j;
for (j = 0; j < subCommunityElements.length; j++)
{
element.addContent(subCommunityElements[j]);
}
for (j = 0; j < collectionElements.length; j++)
{
element.addContent(collectionElements[j]);
}
elements[i] = element;
}
return elements;
}
/**
* Take a node list of collections and create the structure from them
*
* @param context the context of the request
* @param collections the node list of collections to be created
* @param parent the parent community to whom the collections belong
*
* @return an Element array containing additional information about the
* created collections (e.g. the handle)
*/
private static Element[] handleCollections(Context context, NodeList collections, Community parent)
throws TransformerException, SQLException, AuthorizeException, IOException, Exception
{
Element[] elements = new Element[collections.getLength()];
for (int i = 0; i < collections.getLength(); i++)
{
Element element = new Element("collection");
Collection collection = parent.createCollection();
// default the short description to the empty string
collection.setMetadata("short_description", " ");
// import the rest of the metadata
Node tn = collections.item(i);
for (Map.Entry<String, String> entry : collectionMap.entrySet())
{
NodeList nl = XPathAPI.selectNodeList(tn, entry.getKey());
if (nl.getLength() == 1)
{
collection.setMetadata(entry.getValue(), getStringValue(nl.item(0)));
}
}
collection.update();
element.setAttribute("identifier", collection.getHandle());
Element nameElement = new Element("name");
nameElement.setText(collection.getMetadata("name"));
element.addContent(nameElement);
if (collection.getMetadata("short_description") != null)
{
Element descriptionElement = new Element("description");
descriptionElement.setText(collection.getMetadata("short_description"));
element.addContent(descriptionElement);
}
if (collection.getMetadata("introductory_text") != null)
{
Element introElement = new Element("intro");
introElement.setText(collection.getMetadata("introductory_text"));
element.addContent(introElement);
}
if (collection.getMetadata("copyright_text") != null)
{
Element copyrightElement = new Element("copyright");
copyrightElement.setText(collection.getMetadata("copyright_text"));
element.addContent(copyrightElement);
}
if (collection.getMetadata("side_bar_text") != null)
{
Element sidebarElement = new Element("sidebar");
sidebarElement.setText(collection.getMetadata("side_bar_text"));
element.addContent(sidebarElement);
}
if (collection.getMetadata("license") != null)
{
Element sidebarElement = new Element("license");
sidebarElement.setText(collection.getMetadata("license"));
element.addContent(sidebarElement);
}
if (collection.getMetadata("provenance_description") != null)
{
Element sidebarElement = new Element("provenance");
sidebarElement.setText(collection.getMetadata("provenance_description"));
element.addContent(sidebarElement);
}
elements[i] = element;
}
return elements;
}
}

View File

@@ -0,0 +1,23 @@
<!--
The contents of this file are subject to the license and copyright
detailed in the LICENSE and NOTICE files at the root of the source
tree and available online at
http://www.dspace.org/license/
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!--
Author: Robert Tansley
Version: $Revision$
Date: $Date$
-->
</head>
<body bgcolor="white">
Provides classes and methods for administrative functions that fall outside
the regular use of other subsystems.
</body>
</html>

View File

@@ -0,0 +1,407 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.bulkedit;
import org.dspace.content.Item;
import org.dspace.content.Metadatum;
import org.dspace.content.Collection;
import java.util.ArrayList;
import java.util.List;
/**
* Utility class to store changes to item that may occur during a batch edit.
*
* @author Stuart Lewis
*/
public class BulkEditChange
{
/** The item these changes relate to */
private Item item;
/** The List of hashtables with the new elements */
private List<Metadatum> adds;
/** The List of hashtables with the removed elements */
private List<Metadatum> removes;
/** The List of hashtables with the unchanged elements */
private List<Metadatum> constant;
/** The List of the complete set of new values (constant + adds) */
private List<Metadatum> complete;
/** The list of old collections the item used to be mapped to */
private List<Collection> oldMappedCollections;
/** The list of new collections the item has been mapped into */
private List<Collection> newMappedCollections;
/** The old owning collection */
private Collection oldOwningCollection;
/** The new owning collection */
private Collection newOwningCollection;
/** Is this a new item */
private boolean newItem;
/** Has this item been deleted? */
private boolean deleted;
/** Has this item been withdrawn? */
private boolean withdrawn;
/** Has this item been reinstated? */
private boolean reinstated;
/** Have any changes actually been made? */
private boolean empty;
/**
* Initialise a change holder for a new item
*/
public BulkEditChange()
{
// Set the item to be null
item = null;
newItem = true;
empty = true;
oldOwningCollection = null;
newOwningCollection = null;
// Initialise the arrays
adds = new ArrayList<Metadatum>();
removes = new ArrayList<Metadatum>();
constant = new ArrayList<Metadatum>();
complete = new ArrayList<Metadatum>();
oldMappedCollections = new ArrayList<Collection>();
newMappedCollections = new ArrayList<Collection>();
}
/**
* Initialise a new change holder for an existing item
*
* @param i The Item to store
*/
public BulkEditChange(Item i)
{
// Store the item
item = i;
newItem = false;
empty = true;
// Initialise the arrays
adds = new ArrayList<Metadatum>();
removes = new ArrayList<Metadatum>();
constant = new ArrayList<Metadatum>();
complete = new ArrayList<Metadatum>();
oldMappedCollections = new ArrayList<Collection>();
newMappedCollections = new ArrayList<Collection>();
}
/**
* Store the item - used when a new item is created
*
* @param i The item
*/
public void setItem(Item i)
{
// Store the item
item = i;
}
/**
* Add an added metadata value
*
* @param dcv The value to add
*/
public void registerAdd(Metadatum dcv)
{
// Add the added value
adds.add(dcv);
complete.add(dcv);
empty = false;
}
/**
* Add a removed metadata value
*
* @param dcv The value to remove
*/
public void registerRemove(Metadatum dcv)
{
// Add the removed value
removes.add(dcv);
empty = false;
}
/**
* Add an unchanged metadata value
*
* @param dcv The value to keep unchanged
*/
public void registerConstant(Metadatum dcv)
{
// Add the removed value
constant.add(dcv);
complete.add(dcv);
}
/**
* Add a new mapped Collection
*
* @param c The new mapped Collection
*/
public void registerNewMappedCollection(Collection c)
{
// Add the new owning Collection
newMappedCollections.add(c);
empty = false;
}
/**
* Add an old mapped Collection
*
* @param c The old mapped Collection
*/
public void registerOldMappedCollection(Collection c)
{
// Add the old owning Collection (if it isn't there already, or is an old collection)
boolean found = false;
if ((this.getOldOwningCollection() != null) &&
(this.getOldOwningCollection().getHandle().equals(c.getHandle())))
{
found = true;
}
for (Collection collection : oldMappedCollections)
{
if (collection.getHandle().equals(c.getHandle()))
{
found = true;
}
}
if (!found)
{
oldMappedCollections.add(c);
empty = false;
}
}
/**
* Register a change to the owning collection
*
* @param oldC The old owning collection
* @param newC The new owning collection
*/
public void changeOwningCollection(Collection oldC, Collection newC)
{
// Store the old owning collection
oldOwningCollection = oldC;
// Store the new owning collection
newOwningCollection = newC;
empty = false;
}
/**
* Set the owning collection of an item
*
* @param newC The new owning collection
*/
public void setOwningCollection(Collection newC)
{
// Store the new owning collection
newOwningCollection = newC;
//empty = false;
}
/**
* Get the DSpace Item that these changes are applicable to.
*
* @return The item
*/
public Item getItem()
{
// Return the item
return item;
}
/**
* Get the list of elements and their values that have been added.
*
* @return the list of elements and their values that have been added.
*/
public List<Metadatum> getAdds()
{
// Return the array
return adds;
}
/**
* Get the list of elements and their values that have been removed.
*
* @return the list of elements and their values that have been removed.
*/
public List<Metadatum> getRemoves()
{
// Return the array
return removes;
}
/**
* Get the list of unchanged values
*
* @return the list of unchanged values
*/
public List<Metadatum> getConstant()
{
// Return the array
return constant;
}
/**
* Get the list of all values
*
* @return the list of all values
*/
public List<Metadatum> getComplete()
{
// Return the array
return complete;
}
/**
* Get the list of new mapped Collections
*
* @return the list of new mapped collections
*/
public List<Collection> getNewMappedCollections()
{
// Return the array
return newMappedCollections;
}
/**
* Get the list of old mapped Collections
*
* @return the list of old mapped collections
*/
public List<Collection> getOldMappedCollections()
{
// Return the array
return oldMappedCollections;
}
/**
* Get the old owning collection
*
* @return the old owning collection
*/
public Collection getOldOwningCollection()
{
// Return the old owning collection
return oldOwningCollection;
}
/**
* Get the new owning collection
*
* @return the new owning collection
*/
public Collection getNewOwningCollection()
{
// Return the new owning collection
return newOwningCollection;
}
/**
* Does this change object represent a new item?
*
* @return Whether or not this is for a new item
*/
public boolean isNewItem()
{
// Return the new item status
return newItem;
}
/**
* Does this change object represent a deleted item?
*
* @return Whether or not this is for a deleted item
*/
public boolean isDeleted()
{
// Return the new item status
return deleted;
}
/**
* Set that this item has been deleted
*/
public void setDeleted() {
// Store the setting
deleted = true;
empty = false;
}
/**
* Does this change object represent a withdrawn item?
*
* @return Whether or not this is for a withdrawn item
*/
public boolean isWithdrawn()
{
// Return the new item status
return withdrawn;
}
/**
* Set that this item has been withdrawn
*/
public void setWithdrawn() {
// Store the setting
withdrawn = true;
empty = false;
}
/**
* Does this change object represent a reinstated item?
*
* @return Whether or not this is for a reinstated item
*/
public boolean isReinstated()
{
// Return the new item status
return reinstated;
}
/**
* Set that this item has been deleted
*/
public void setReinstated() {
// Store the setting
reinstated = true;
empty = false;
}
/**
* Have any changes actually been recorded, or is this empty?
*
* @return Whether or not changes have been made
*/
public boolean hasChanges()
{
return !empty;
}
}

View File

@@ -0,0 +1,703 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.bulkedit;
import org.apache.commons.lang3.StringUtils;
import org.dspace.authority.AuthorityValue;
import org.dspace.app.bulkedit.DSpaceCSVLine;
import org.dspace.app.bulkedit.MetadataImport;
import org.dspace.app.bulkedit.MetadataImportInvalidHeadingException;
import org.dspace.content.Collection;
import org.dspace.content.*;
import org.dspace.content.Collection;
import org.dspace.content.authority.Choices;
import org.dspace.core.ConfigurationManager;
import org.dspace.core.Context;
import java.util.*;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
import java.io.*;
/**
* Utility class to read and write CSV files
*
* **************
* Important Note
* **************
*
* This class has been made serializable, as it is stored in a Session.
* Is it wise to:
* a) be putting this into a user's session?
* b) holding an entire CSV upload in memory?
*
* @author Stuart Lewis
*/
public class DSpaceCSV implements Serializable
{
/** The headings of the CSV file */
private List<String> headings;
/** An array list of CSV lines */
private List<DSpaceCSVLine> lines;
/** A counter of how many CSV lines this object holds */
private int counter;
/** The value separator (defaults to double pipe '||') */
protected static String valueSeparator;
/** The value separator in an escaped form for using in regexes */
protected static String escapedValueSeparator;
/** The field separator (defaults to comma) */
protected static String fieldSeparator;
/** The field separator in an escaped form for using in regexes */
protected static String escapedFieldSeparator;
/** The authority separator (defaults to double colon '::') */
protected static String authoritySeparator;
/** The authority separator in an escaped form for using in regexes */
protected static String escapedAuthoritySeparator;
/** Whether to export all metadata such as handles and provenance information */
private boolean exportAll;
/** A list of metadata elements to ignore */
private Map<String, String> ignore;
/**
* Create a new instance of a CSV line holder
*
* @param exportAll Whether to export all metadata such as handles and provenance information
*/
public DSpaceCSV(boolean exportAll)
{
// Initialise the class
init();
// Store the exportAll setting
this.exportAll = exportAll;
}
/**
* Create a new instance, reading the lines in from file
*
* @param f The file to read from
* @param c The DSpace Context
*
* @throws Exception thrown if there is an error reading or processing the file
*/
public DSpaceCSV(File f, Context c) throws Exception
{
// Initialise the class
init();
// Open the CSV file
BufferedReader input = null;
try
{
input = new BufferedReader(new InputStreamReader(new FileInputStream(f),"UTF-8"));
// Read the heading line
String head = input.readLine();
String[] headingElements = head.split(escapedFieldSeparator);
int columnCounter = 0;
for (String element : headingElements)
{
columnCounter++;
// Remove surrounding quotes if there are any
if ((element.startsWith("\"")) && (element.endsWith("\"")))
{
element = element.substring(1, element.length() - 1);
}
// Store the heading
if ("collection".equals(element))
{
// Store the heading
headings.add(element);
}
// Store the action
else if ("action".equals(element))
{
// Store the heading
headings.add(element);
}
else if (!"id".equals(element))
{
String authorityPrefix = "";
AuthorityValue authorityValueType = MetadataImport.getAuthorityValueType(element);
if (authorityValueType != null) {
String authorityType = authorityValueType.getAuthorityType();
authorityPrefix = element.substring(0, authorityType.length() + 1);
element = element.substring(authorityPrefix.length());
}
// Verify that the heading is valid in the metadata registry
String[] clean = element.split("\\[");
String[] parts = clean[0].split("\\.");
if (parts.length < 2) {
throw new MetadataImportInvalidHeadingException(element,
MetadataImportInvalidHeadingException.ENTRY,
columnCounter);
}
String metadataSchema = parts[0];
String metadataElement = parts[1];
String metadataQualifier = null;
if (parts.length > 2) {
metadataQualifier = parts[2];
}
// Check that the scheme exists
MetadataSchema foundSchema = MetadataSchema.find(c, metadataSchema);
if (foundSchema == null) {
throw new MetadataImportInvalidHeadingException(clean[0],
MetadataImportInvalidHeadingException.SCHEMA,
columnCounter);
}
// Check that the metadata element exists in the schema
int schemaID = foundSchema.getSchemaID();
MetadataField foundField = MetadataField.findByElement(c, schemaID, metadataElement, metadataQualifier);
if (foundField == null) {
throw new MetadataImportInvalidHeadingException(clean[0],
MetadataImportInvalidHeadingException.ELEMENT,
columnCounter);
}
// Store the heading
headings.add(authorityPrefix + element);
}
}
// Read each subsequent line
StringBuilder lineBuilder = new StringBuilder();
String lineRead;
while (StringUtils.isNotBlank(lineRead = input.readLine()))
{
if (lineBuilder.length() > 0) {
// Already have a previously read value - add this line
lineBuilder.append("\n").append(lineRead);
// Count the number of quotes in the buffer
int quoteCount = 0;
for (int pos = 0; pos < lineBuilder.length(); pos++) {
if (lineBuilder.charAt(pos) == '"') {
quoteCount++;
}
}
if (quoteCount % 2 == 0) {
// Number of quotes is a multiple of 2, add the item
addItem(lineBuilder.toString());
lineBuilder = new StringBuilder();
}
} else if (lineRead.indexOf('"') > -1) {
// Get the number of quotes in the line
int quoteCount = 0;
for (int pos = 0; pos < lineRead.length(); pos++) {
if (lineRead.charAt(pos) == '"') {
quoteCount++;
}
}
if (quoteCount % 2 == 0) {
// Number of quotes is a multiple of 2, add the item
addItem(lineRead);
} else {
// Uneven quotes - add to the buffer and leave for later
lineBuilder.append(lineRead);
}
} else {
// No previously read line, and no quotes in the line - add item
addItem(lineRead);
}
}
}
finally
{
if (input != null)
{
input.close();
}
}
}
/**
* Initialise this class with values from dspace.cfg
*/
private void init()
{
// Set the value separator
setValueSeparator();
// Set the field separator
setFieldSeparator();
// Set the authority separator
setAuthoritySeparator();
// Create the headings
headings = new ArrayList<String>();
// Create the blank list of items
lines = new ArrayList<DSpaceCSVLine>();
// Initialise the counter
counter = 0;
// Set the metadata fields to ignore
ignore = new HashMap<String, String>();
String toIgnore = ConfigurationManager.getProperty("bulkedit", "ignore-on-export");
if ((toIgnore == null) || ("".equals(toIgnore.trim())))
{
// Set a default value
toIgnore = "dc.date.accessioned, dc.date.available, " +
"dc.date.updated, dc.description.provenance";
}
String[] toIgnoreArray = toIgnore.split(",");
for (String toIgnoreString : toIgnoreArray)
{
if (!"".equals(toIgnoreString.trim()))
{
ignore.put(toIgnoreString.trim(), toIgnoreString.trim());
}
}
}
/**
* Decide if this CSV file has an 'action' (case-dependent!) header.
*
* @return Whether or not there is an 'action' header
*/
public boolean hasActions() {
// Look for a heading called 'action'
for (String header : headings) {
if (header.equals("action")) {
return true;
}
}
return false;
}
/**
* Set the value separator for multiple values stored in one csv value.
*
* Is set in bulkedit.cfg as valueseparator
*
* If not set, defaults to double pipe '||'
*/
private void setValueSeparator()
{
// Get the value separator
valueSeparator = ConfigurationManager.getProperty("bulkedit", "valueseparator");
if ((valueSeparator != null) && (!"".equals(valueSeparator.trim())))
{
valueSeparator = valueSeparator.trim();
}
else
{
valueSeparator = "||";
}
// Now store the escaped version
Pattern spchars = Pattern.compile("([\\\\*+\\[\\](){}\\$.?\\^|])");
Matcher match = spchars.matcher(valueSeparator);
escapedValueSeparator = match.replaceAll("\\\\$1");
}
/**
* Set the field separator use to separate fields in the csv.
*
* Is set in bulkedit.cfg as fieldseparator
*
* If not set, defaults to comma ','.
*
* Special values are 'tab', 'hash' and 'semicolon' which will
* get substituted from the text to the value.
*/
private void setFieldSeparator()
{
// Get the value separator
fieldSeparator = ConfigurationManager.getProperty("bulkedit", "fieldseparator");
if ((fieldSeparator != null) && (!"".equals(fieldSeparator.trim())))
{
fieldSeparator = fieldSeparator.trim();
if ("tab".equals(fieldSeparator))
{
fieldSeparator = "\t";
}
else if ("semicolon".equals(fieldSeparator))
{
fieldSeparator = ";";
}
else if ("hash".equals(fieldSeparator))
{
fieldSeparator = "#";
}
else
{
fieldSeparator = fieldSeparator.trim();
}
}
else
{
fieldSeparator = ",";
}
// Now store the escaped version
Pattern spchars = Pattern.compile("([\\\\*+\\[\\](){}\\$.?\\^|])");
Matcher match = spchars.matcher(fieldSeparator);
escapedFieldSeparator = match.replaceAll("\\\\$1");
}
/**
* Set the authority separator for value with authority data.
*
* Is set in dspace.cfg as bulkedit.authorityseparator
*
* If not set, defaults to double colon '::'
*/
private void setAuthoritySeparator()
{
// Get the value separator
authoritySeparator = ConfigurationManager.getProperty("bulkedit", "authorityseparator");
if ((authoritySeparator != null) && (!"".equals(authoritySeparator.trim())))
{
authoritySeparator = authoritySeparator.trim();
}
else
{
authoritySeparator = "::";
}
// Now store the escaped version
Pattern spchars = Pattern.compile("([\\\\*+\\[\\](){}\\$.?\\^|])");
Matcher match = spchars.matcher(authoritySeparator);
escapedAuthoritySeparator = match.replaceAll("\\\\$1");
}
/**
* Add a DSpace item to the CSV file
*
* @param i The DSpace item
*
* @throws Exception if something goes wrong with adding the Item
*/
public final void addItem(Item i) throws Exception
{
// If the item does not have an "owningCollection" the the below "getHandle()" call will fail
// This should not happen but is here for safety.
if (i.getOwningCollection() == null) {
return;
}
// Create the CSV line
DSpaceCSVLine line = new DSpaceCSVLine(i.getID());
// Add in owning collection
String owningCollectionHandle = i.getOwningCollection().getHandle();
line.add("collection", owningCollectionHandle);
// Add in any mapped collections
Collection[] collections = i.getCollections();
for (Collection c : collections)
{
// Only add if it is not the owning collection
if (!c.getHandle().equals(owningCollectionHandle))
{
line.add("collection", c.getHandle());
}
}
// Populate it
Metadatum md[] = i.getMetadata(Item.ANY, Item.ANY, Item.ANY, Item.ANY);
for (Metadatum value : md)
{
// Get the key (schema.element)
String key = value.schema + "." + value.element;
// Add the qualifier if there is one (schema.element.qualifier)
if (value.qualifier != null)
{
key = key + "." + value.qualifier;
}
// Add the language if there is one (schema.element.qualifier[langauge])
//if ((value.language != null) && (!"".equals(value.language)))
if (value.language != null)
{
key = key + "[" + value.language + "]";
}
// Store the item
if (exportAll || okToExport(value))
{
// Add authority and confidence if authority is not null
String mdValue = value.value;
if (value.authority != null && !"".equals(value.authority))
{
mdValue += authoritySeparator + value.authority + authoritySeparator + (value.confidence != -1 ? value.confidence : Choices.CF_ACCEPTED);
}
line.add(key, mdValue);
if (!headings.contains(key))
{
headings.add(key);
}
}
}
lines.add(line);
counter++;
}
/**
* Add an item to the CSV file, from a CSV line of elements
*
* @param line The line of elements
* @throws Exception Thrown if an error occurs when adding the item
*/
public final void addItem(String line) throws Exception
{
// Check to see if the last character is a field separator, which hides the last empty column
boolean last = false;
if (line.endsWith(fieldSeparator))
{
// Add a space to the end, then remove it later
last = true;
line += " ";
}
// Split up on field separator
String[] parts = line.split(escapedFieldSeparator);
ArrayList<String> bits = new ArrayList<String>();
bits.addAll(Arrays.asList(parts));
// Merge parts with embedded separators
boolean alldone = false;
while (!alldone)
{
boolean found = false;
int i = 0;
for (String part : bits)
{
int bitcounter = part.length() - part.replaceAll("\"", "").length();
if ((part.startsWith("\"")) && ((!part.endsWith("\"")) || ((bitcounter & 1) == 1)))
{
found = true;
String add = bits.get(i) + fieldSeparator + bits.get(i + 1);
bits.remove(i);
bits.add(i, add);
bits.remove(i + 1);
break;
}
i++;
}
alldone = !found;
}
// Deal with quotes around the elements
int i = 0;
for (String part : bits)
{
if ((part.startsWith("\"")) && (part.endsWith("\"")))
{
part = part.substring(1, part.length() - 1);
bits.set(i, part);
}
i++;
}
// Remove embedded quotes
i = 0;
for (String part : bits)
{
if (part.contains("\"\""))
{
part = part.replaceAll("\"\"", "\"");
bits.set(i, part);
}
i++;
}
// Add elements to a DSpaceCSVLine
String id = parts[0].replaceAll("\"", "");
DSpaceCSVLine csvLine;
// Is this an existing item, or a new item (where id = '+')
if ("+".equals(id))
{
csvLine = new DSpaceCSVLine();
}
else
{
try
{
csvLine = new DSpaceCSVLine(Integer.parseInt(id));
}
catch (NumberFormatException nfe)
{
System.err.println("Invalid item identifier: " + id);
System.err.println("Please check your CSV file for information. " +
"Item id must be numeric, or a '+' to add a new item");
throw(nfe);
}
}
// Add the rest of the parts
i = 0;
for (String part : bits)
{
if (i > 0)
{
// Is this a last empty item?
if ((last) && (i == headings.size()))
{
part = "";
}
// Make sure we register that this column was there
if (headings.size() < i) {
throw new MetadataImportInvalidHeadingException("",
MetadataImportInvalidHeadingException.MISSING,
i + 1);
}
csvLine.add(headings.get(i - 1), null);
String[] elements = part.split(escapedValueSeparator);
for (String element : elements)
{
if ((element != null) && (!"".equals(element)))
{
csvLine.add(headings.get(i - 1), element);
}
}
}
i++;
}
lines.add(csvLine);
counter++;
}
/**
* Get the lines in CSV holders
*
* @return The lines
*/
public final List<DSpaceCSVLine> getCSVLines()
{
// Return the lines
return lines;
}
/**
* Get the CSV lines as an array of CSV formatted strings
*
* @return the array of CSV formatted Strings
*/
public final String[] getCSVLinesAsStringArray()
{
// Create the headings line
String[] csvLines = new String[counter + 1];
csvLines[0] = "id" + fieldSeparator + "collection";
List<String> headingsCopy = new ArrayList<String>(headings);
Collections.sort(headingsCopy);
for (String value : headingsCopy)
{
csvLines[0] = csvLines[0] + fieldSeparator + value;
}
Iterator<DSpaceCSVLine> i = lines.iterator();
int c = 1;
while (i.hasNext())
{
csvLines[c++] = i.next().toCSV(headingsCopy);
}
return csvLines;
}
/**
* Save the CSV file to the given filename
*
* @param filename The filename to save the CSV file to
*
* @throws IOException Thrown if an error occurs when writing the file
*/
public final void save(String filename) throws IOException
{
// Save the file
BufferedWriter out = new BufferedWriter(
new OutputStreamWriter(
new FileOutputStream(filename), "UTF-8"));
for (String csvLine : getCSVLinesAsStringArray()) {
out.write(csvLine + "\n");
}
out.flush();
out.close();
}
/**
* Is it Ok to export this value? When exportAll is set to false, we don't export
* some of the metadata elements.
*
* The list can be configured via the key ignore-on-export in bulkedit.cfg
*
* @param md The Metadatum to examine
* @return Whether or not it is OK to export this element
*/
private final boolean okToExport(Metadatum md)
{
// Now compare with the list to ignore
String key = md.schema + "." + md.element;
if (md.qualifier != null)
{
key += "." + md.qualifier;
}
if (ignore.get(key) != null) {
return false;
}
// Must be OK, so don't ignore
return true;
}
/**
* Get the headings used in this CSV file
*
* @return The headings
*/
public List<String> getHeadings()
{
return headings;
}
/**
* Return the csv file as one long formatted string
*
* @return The formatted String as a csv
*/
public final String toString()
{
// Return the csv as one long string
StringBuffer csvLines = new StringBuffer();
String[] lines = this.getCSVLinesAsStringArray();
for (String line : lines)
{
csvLines.append(line).append("\n");
}
return csvLines.toString();
}
}

View File

@@ -0,0 +1,216 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.bulkedit;
import org.dspace.authority.AuthorityValue;
import java.io.Serializable;
import java.util.*;
/**
* Utility class to store a line from a CSV file
*
* @author Stuart Lewis
*/
public class DSpaceCSVLine implements Serializable
{
/** The item id of the item represented by this line. -1 is for a new item */
private int id;
/** The elements in this line in a hashtable, keyed by the metadata type */
private Map<String, ArrayList> items;
/** ensuring that the order-sensible columns of the csv are processed in the correct order */
private final Comparator<? super String> headerComparator = new Comparator<String>() {
@Override
public int compare(String md1, String md2) {
// The metadata coming from an external source should be processed after the others
AuthorityValue source1 = MetadataImport.getAuthorityValueType(md1);
AuthorityValue source2 = MetadataImport.getAuthorityValueType(md2);
int compare;
if (source1 == null && source2 != null) {
compare = -1;
}
else if (source1 != null && source2 == null) {
compare = 1;
} else {
// the order of the rest does not matter
compare = md1.compareTo(md2);
}
return compare;
}
};
/**
* Create a new CSV line
*
* @param itemId The item ID of the line
*/
public DSpaceCSVLine(int itemId)
{
// Store the ID + separator, and initialise the hashtable
this.id = itemId;
items = new TreeMap<String, ArrayList>(headerComparator);
// this.items = new HashMap<String, ArrayList>();
}
/**
* Create a new CSV line for a new item
*/
public DSpaceCSVLine()
{
// Set the ID to be -1, and initialise the hashtable
this.id = -1;
this.items = new TreeMap<String, ArrayList>(headerComparator);
// this.items = new HashMap<String, ArrayList>();
}
/**
* Get the item ID that this line represents
*
* @return The item ID
*/
public int getID()
{
// Return the ID
return id;
}
/**
* Add a new metadata value to this line
*
* @param key The metadata key (e.g. dc.contributor.author)
* @param value The metadata value
*/
public void add(String key, String value)
{
// Create the array list if we need to
if (items.get(key) == null)
{
items.put(key, new ArrayList<String>());
}
// Store the item if it is not null
if (value != null)
{
items.get(key).add(value);
}
}
/**
* Get all the values that match the given metadata key. Will be null if none exist.
*
* @param key The metadata key
* @return All the elements that match
*/
public List<String> get(String key)
{
// Return any relevant values
return items.get(key);
}
/**
* Get any action associated with this line
*
* @return The action (may be blank, 'withdraw', 'reinstate' or 'delete')
*/
public String getAction()
{
if (items.containsKey("action")) {
ArrayList actions = items.get("action");
if (actions.size() > 0) {
return ((String)actions.get(0)).trim();
}
}
return "";
}
/**
* Get all the metadata keys that are represented in this line
*
* @return An enumeration of all the keys
*/
public Set<String> keys()
{
// Return the keys
return items.keySet();
}
/**
* Write this line out as a CSV formatted string, in the order given by the headings provided
*
* @param headings The headings which define the order the elements must be presented in
* @return The CSV formatted String
*/
protected String toCSV(List<String> headings)
{
StringBuilder bits = new StringBuilder();
// Add the id
bits.append("\"").append(id).append("\"").append(DSpaceCSV.fieldSeparator);
bits.append(valueToCSV(items.get("collection")));
// Add the rest of the elements
for (String heading : headings)
{
bits.append(DSpaceCSV.fieldSeparator);
List<String> values = items.get(heading);
if (values != null && !"collection".equals(heading))
{
bits.append(valueToCSV(values));
}
}
return bits.toString();
}
/**
* Internal method to create a CSV formatted String joining a given set of elements
*
* @param values The values to create the string from
* @return The line as a CSV formatted String
*/
protected String valueToCSV(List<String> values)
{
// Check there is some content
if (values == null)
{
return "";
}
// Get on with the work
String s;
if (values.size() == 1)
{
s = values.get(0);
}
else
{
// Concatenate any fields together
StringBuilder str = new StringBuilder();
for (String value : values)
{
if (str.length() > 0)
{
str.append(DSpaceCSV.valueSeparator);
}
str.append(value);
}
s = str.toString();
}
// Replace internal quotes with two sets of quotes
return "\"" + s.replaceAll("\"", "\"\"") + "\"";
}
}

View File

@@ -0,0 +1,269 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.bulkedit;
import org.apache.commons.cli.*;
import org.dspace.content.*;
import org.dspace.core.Constants;
import org.dspace.core.Context;
import org.dspace.handle.HandleManager;
import java.util.ArrayList;
import java.sql.SQLException;
import java.util.List;
/**
* Metadata exporter to allow the batch export of metadata into a file
*
* @author Stuart Lewis
*/
public class MetadataExport
{
/** The items to export */
private ItemIterator toExport;
/** Whether to export all metadata, or just normally edited metadata */
private boolean exportAll;
/**
* Set up a new metadata export
*
* @param c The Context
* @param toExport The ItemIterator of items to export
* @param exportAll whether to export all metadata or not (include handle, provenance etc)
*/
public MetadataExport(Context c, ItemIterator toExport, boolean exportAll)
{
// Store the export settings
this.toExport = toExport;
this.exportAll = exportAll;
}
/**
* Method to export a community (and sub-communities and collections)
*
* @param c The Context
* @param toExport The Community to export
* @param exportAll whether to export all metadata or not (include handle, provenance etc)
*/
public MetadataExport(Context c, Community toExport, boolean exportAll)
{
try
{
// Try to export the community
this.toExport = new ItemIterator(c, buildFromCommunity(toExport, new ArrayList<Integer>(), 0));
this.exportAll = exportAll;
}
catch (SQLException sqle)
{
// Something went wrong...
System.err.println("Error running exporter:");
sqle.printStackTrace(System.err);
System.exit(1);
}
}
/**
* Build an array list of item ids that are in a community (include sub-communities and collections)
*
* @param community The community to build from
* @param itemIDs The itemID (used for recursion - use an empty ArrayList)
* @param indent How many spaces to use when writing out the names of items added
* @return The list of item ids
* @throws SQLException
*/
private List<Integer> buildFromCommunity(Community community, List<Integer> itemIDs, int indent)
throws SQLException
{
// Add all the collections
Collection[] collections = community.getCollections();
for (Collection collection : collections)
{
for (int i = 0; i < indent; i++)
{
System.out.print(" ");
}
ItemIterator items = collection.getAllItems();
while (items.hasNext())
{
int id = items.next().getID();
// Only add if not already included (so mapped items only appear once)
if (!itemIDs.contains(id))
{
itemIDs.add(id);
}
}
}
// Add all the sub-communities
Community[] communities = community.getSubcommunities();
for (Community subCommunity : communities)
{
for (int i = 0; i < indent; i++)
{
System.out.print(" ");
}
buildFromCommunity(subCommunity, itemIDs, indent + 1);
}
return itemIDs;
}
/**
* Run the export
*
* @return the exported CSV lines
*/
public DSpaceCSV export()
{
try
{
// Process each item
DSpaceCSV csv = new DSpaceCSV(exportAll);
while (toExport.hasNext())
{
csv.addItem(toExport.next());
}
// Return the results
return csv;
}
catch (Exception e)
{
// Something went wrong...
System.err.println("Error exporting to CSV:");
e.printStackTrace();
return null;
}
}
/**
* Print the help message
*
* @param options The command line options the user gave
* @param exitCode the system exit code to use
*/
private static void printHelp(Options options, int exitCode)
{
// print the help message
HelpFormatter myhelp = new HelpFormatter();
myhelp.printHelp("MetadataExport\n", options);
System.out.println("\nfull export: metadataexport -f filename");
System.out.println("partial export: metadataexport -i handle -f filename");
System.exit(exitCode);
}
/**
* main method to run the metadata exporter
*
* @param argv the command line arguments given
*/
public static void main(String[] argv) throws Exception
{
// Create an options object and populate it
CommandLineParser parser = new PosixParser();
Options options = new Options();
options.addOption("i", "id", true, "ID or handle of thing to export (item, collection, or community)");
options.addOption("f", "file", true, "destination where you want file written");
options.addOption("a", "all", false, "include all metadata fields that are not normally changed (e.g. provenance)");
options.addOption("h", "help", false, "help");
CommandLine line = null;
try
{
line = parser.parse(options, argv);
}
catch (ParseException pe)
{
System.err.println("Error with commands.");
printHelp(options, 1);
System.exit(0);
}
if (line.hasOption('h'))
{
printHelp(options, 0);
}
// Check a filename is given
if (!line.hasOption('f'))
{
System.err.println("Required parameter -f missing!");
printHelp(options, 1);
}
String filename = line.getOptionValue('f');
// Create a context
Context c = new Context();
c.turnOffAuthorisationSystem();
// The things we'll export
ItemIterator toExport = null;
MetadataExport exporter = null;
// Export everything?
boolean exportAll = line.hasOption('a');
// Check we have an item OK
if (!line.hasOption('i'))
{
System.out.println("Exporting whole repository WARNING: May take some time!");
exporter = new MetadataExport(c, Item.findAll(c), exportAll);
}
else
{
String handle = line.getOptionValue('i');
DSpaceObject dso = HandleManager.resolveToObject(c, handle);
if (dso == null)
{
System.err.println("Item '" + handle + "' does not resolve to an item in your repository!");
printHelp(options, 1);
}
if (dso.getType() == Constants.ITEM)
{
System.out.println("Exporting item '" + dso.getName() + "' (" + handle + ")");
List<Integer> item = new ArrayList<Integer>();
item.add(dso.getID());
exporter = new MetadataExport(c, new ItemIterator(c, item), exportAll);
}
else if (dso.getType() == Constants.COLLECTION)
{
System.out.println("Exporting collection '" + dso.getName() + "' (" + handle + ")");
Collection collection = (Collection)dso;
toExport = collection.getAllItems();
exporter = new MetadataExport(c, toExport, exportAll);
}
else if (dso.getType() == Constants.COMMUNITY)
{
System.out.println("Exporting community '" + dso.getName() + "' (" + handle + ")");
exporter = new MetadataExport(c, (Community)dso, exportAll);
}
else
{
System.err.println("Error identifying '" + handle + "'");
System.exit(1);
}
}
// Perform the export
DSpaceCSV csv = exporter.export();
// Save the files to the file
csv.save(filename);
// Finish off and tidy up
c.restoreAuthSystemState();
c.complete();
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,37 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.bulkedit;
/**
* Metadata importer exception
*
* @author Stuart Lewis
*/
public class MetadataImportException extends Exception
{
/**
* Instantiate a new MetadataImportException
*
* @param message the error message
*/
public MetadataImportException(String message)
{
super(message);
}
/**
* Instantiate a new MetadataImportException
*
* @param message the error message
* @param exception the root cause
*/
public MetadataImportException(String message, Exception exception)
{
super(message, exception);
}
}

View File

@@ -0,0 +1,104 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.bulkedit;
/**
* Metadata importer exception
*
* @author Stuart Lewis
*/
public class MetadataImportInvalidHeadingException extends Exception
{
/** The type of error (schema or element) */
private int type;
/** The bad heading */
private String badHeading;
/** The column number */
private int column;
/** Error with the schema */
public static final int SCHEMA = 0;
/** Error with the element */
public static final int ELEMENT = 1;
/** Error with a missing header */
public static final int MISSING = 98;
/** Error with the whole entry */
public static final int ENTRY = 99;
/**
* Instantiate a new MetadataImportInvalidHeadingException
*
* @param message the error message
* @param theType the type of the error
*/
public MetadataImportInvalidHeadingException(String message, int theType, int theColumn)
{
super(message);
badHeading = message;
type = theType;
column = theColumn;
}
/**
* Get the type of the exception
*
* @return the type of the exception
*/
public String getType()
{
return "" + type;
}
/**
* Get the heading that was invalid
*
* @return the invalid heading
*/
public String getBadHeader()
{
return badHeading;
}
/**
* Get the column number that was invalid
*
* @return the invalid column number
*/
public int getColumn()
{
return column;
}
/**
* Get the exception message
*
* @return The exception message
*/
public String getMessage()
{
if (type == SCHEMA)
{
return "Unknown metadata schema in row " + column + ": " + badHeading;
} else if (type == ELEMENT)
{
return "Unknown metadata element in row " + column + ": " + badHeading;
} else if (type == MISSING)
{
return "Row with missing header: Row " + column;
} else
{
return "Bad metadata declaration in row " + column + ": " + badHeading;
}
}
}

View File

@@ -0,0 +1,22 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
/**
* <p>The DSpace Batch Metadata Editor, which uses a CSV file to export/import
* item metadata.</p>
* <p>
* <ul>
* <li>works on items, communities, collections or the whole site</li>
* <li>can also create new items, delete items and withdraw/restore them</li>
* <li>cannot export/import bitstreams</li>
* </ul>
*/
package org.dspace.app.bulkedit;

View File

@@ -1,39 +1,14 @@
/*
* Copyright (c) 2004-2005, Hewlett-Packard Company and Massachusetts
* Institute of Technology. All rights reserved.
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* - Neither the name of the Hewlett-Packard Company nor the name of the
* Massachusetts Institute of Technology nor the names of their
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
* http://www.dspace.org/license/
*/
package org.dspace.app.checker;
import java.io.FileNotFoundException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
@@ -58,6 +33,7 @@ import org.dspace.checker.ListDispatcher;
import org.dspace.checker.ResultsLogger;
import org.dspace.checker.ResultsPruner;
import org.dspace.checker.SimpleDispatcher;
import org.dspace.core.Context;
import org.dspace.core.Utils;
/**
@@ -68,7 +44,7 @@ import org.dspace.core.Utils;
* @author Grace Carpenter
* @author Nathan Sarr
*/
public class ChecksumChecker
public final class ChecksumChecker
{
private static final Logger LOG = Logger.getLogger(ChecksumChecker.class);
@@ -79,7 +55,6 @@ public class ChecksumChecker
*/
private ChecksumChecker()
{
;
}
/**
@@ -105,8 +80,7 @@ public class ChecksumChecker
* <dd>Don't prune results before running checker</dd>
* </dl>
*/
public static void main(String[] args)
{
public static void main(String[] args) throws SQLException {
// set up command line parser
CommandLineParser parser = new PosixParser();
CommandLine line = null;
@@ -166,7 +140,7 @@ public class ChecksumChecker
}
catch (FileNotFoundException e)
{
e.printStackTrace();
LOG.error("File not found", e);
System.exit(1);
}
int count = rp.prune();
@@ -192,13 +166,13 @@ public class ChecksumChecker
{
// check only specified bitstream(s)
String[] ids = line.getOptionValues('b');
List idList = new ArrayList(ids.length);
List<Integer> idList = new ArrayList<Integer>(ids.length);
for (int i = 0; i < ids.length; i++)
{
try
{
idList.add(new Integer(ids[i]));
idList.add(Integer.valueOf(ids[i]));
}
catch (NumberFormatException nfe)
{
@@ -234,7 +208,7 @@ public class ChecksumChecker
}
else if (line.hasOption('c'))
{
int count = new Integer(line.getOptionValue('c')).intValue();
int count = Integer.valueOf(line.getOptionValue('c')).intValue();
// run checker process for specified number of bitstreams
dispatcher = new LimitedCountDispatcher(new SimpleDispatcher(
@@ -257,7 +231,14 @@ public class ChecksumChecker
checker.setProcessStartDate(processStart);
checker.setDispatcher(dispatcher);
checker.setCollector(logger);
checker.process();
Context context = new Context();
try {
checker.process(context);
} finally {
context.commit();
context.complete();
}
System.exit(0);
}
/**

View File

@@ -0,0 +1,19 @@
<!--
The contents of this file are subject to the license and copyright
detailed in the LICENSE and NOTICE files at the root of the source
tree and available online at
http://www.dspace.org/license/
-->
<html>
<head>
<title>org.dspace.app.checker Package Documentation</title>
</head>
<body>
<p>org.dspace.app.checker provides user interfaces to the org.dspace.checker
package. Command line options are detailed in the ChecksumChecker javadoc.
</p>
</body>
</html>

View File

@@ -0,0 +1,40 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.configuration;
import org.dspace.kernel.config.SpringLoader;
import org.dspace.services.ConfigurationService;
import java.io.File;
import java.net.MalformedURLException;
/**
* @author Kevin Van de Velde (kevin at atmire dot com)
*/
public class APISpringLoader implements SpringLoader {
@Override
public String[] getResourcePaths(ConfigurationService configurationService) {
StringBuffer filePath = new StringBuffer();
filePath.append(configurationService.getProperty("dspace.dir"));
filePath.append(File.separator);
filePath.append("config");
filePath.append(File.separator);
filePath.append("spring");
filePath.append(File.separator);
filePath.append("api");
filePath.append(File.separator);
try {
return new String[]{new File(filePath.toString()).toURI().toURL().toString() + XML_SUFFIX};
} catch (MalformedURLException e) {
return new String[0];
}
}
}

View File

@@ -0,0 +1,516 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.harvest;
import java.io.IOException;
import java.sql.SQLException;
import java.util.List;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.HelpFormatter;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.PosixParser;
import org.dspace.authorize.AuthorizeException;
import org.dspace.browse.IndexBrowse;
import org.dspace.content.Collection;
import org.dspace.content.DSpaceObject;
import org.dspace.harvest.HarvestedCollection;
import org.dspace.content.Item;
import org.dspace.content.ItemIterator;
import org.dspace.harvest.OAIHarvester;
import org.dspace.harvest.OAIHarvester.HarvestingException;
import org.dspace.core.Constants;
import org.dspace.core.Context;
import org.dspace.eperson.EPerson;
import org.dspace.handle.HandleManager;
/**
* Test class for harvested collections.
*
* @author Alexey Maslov
*/
public class Harvest
{
private static Context context;
public static void main(String[] argv) throws Exception
{
// create an options object and populate it
CommandLineParser parser = new PosixParser();
Options options = new Options();
options.addOption("p", "purge", false, "delete all items in the collection");
options.addOption("r", "run", false, "run the standard harvest procedure");
options.addOption("g", "ping", false, "test the OAI server and set");
options.addOption("o", "once", false, "run the harvest procedure with specified parameters");
options.addOption("s", "setup", false, "Set the collection up for harvesting");
options.addOption("S", "start", false, "start the harvest loop");
options.addOption("R", "reset", false, "reset harvest status on all collections");
options.addOption("P", "purge", false, "purge all harvestable collections");
options.addOption("e", "eperson", true, "eperson");
options.addOption("c", "collection", true, "harvesting collection (handle or id)");
options.addOption("t", "type", true, "type of harvesting (0 for none)");
options.addOption("a", "address", true, "address of the OAI-PMH server");
options.addOption("i", "oai_set_id", true, "id of the PMH set representing the harvested collection");
options.addOption("m", "metadata_format", true, "the name of the desired metadata format for harvesting, resolved to namespace and crosswalk in dspace.cfg");
options.addOption("h", "help", false, "help");
CommandLine line = parser.parse(options, argv);
String command = null;
String eperson = null;
String collection = null;
String oaiSource = null;
String oaiSetID = null;
String metadataKey = null;
int harvestType = 0;
if (line.hasOption('h'))
{
HelpFormatter myhelp = new HelpFormatter();
myhelp.printHelp("Harvest\n", options);
System.out
.println("\nPING OAI server: Harvest -g -s oai_source -i oai_set_id");
System.out
.println("RUNONCE harvest with arbitrary options: Harvest -o -e eperson -c collection -t harvest_type -a oai_source -i oai_set_id -m metadata_format");
System.out
.println("SETUP a collection for harvesting: Harvest -s -c collection -t harvest_type -a oai_source -i oai_set_id -m metadata_format");
System.out
.println("RUN harvest once: Harvest -r -e eperson -c collection");
System.out
.println("START harvest scheduler: Harvest -S");
System.out
.println("RESET all harvest status: Harvest -R");
System.out
.println("PURGE a collection of items and settings: Harvest -p -e eperson -c collection");
System.out
.println("PURGE all harvestable collections: Harvest -P -e eperson");
System.exit(0);
}
if (line.hasOption('s')) {
command = "config";
}
if (line.hasOption('p')) {
command = "purge";
}
if (line.hasOption('r')) {
command = "run";
}
if (line.hasOption('g')) {
command = "ping";
}
if (line.hasOption('o')) {
command = "runOnce";
}
if (line.hasOption('S')) {
command = "start";
}
if (line.hasOption('R')) {
command = "reset";
}
if (line.hasOption('P')) {
command = "purgeAll";
}
if (line.hasOption('e')) {
eperson = line.getOptionValue('e');
}
if (line.hasOption('c')) {
collection = line.getOptionValue('c');
}
if (line.hasOption('t')) {
harvestType = Integer.parseInt(line.getOptionValue('t'));
} else {
harvestType = 0;
}
if (line.hasOption('a')) {
oaiSource = line.getOptionValue('a');
}
if (line.hasOption('i')) {
oaiSetID = line.getOptionValue('i');
}
if (line.hasOption('m')) {
metadataKey = line.getOptionValue('m');
}
// Instantiate our class
Harvest harvester = new Harvest();
harvester.context = new Context();
// Check our options
if (command == null)
{
System.out
.println("Error - no parameters specified (run with -h flag for details)");
System.exit(1);
}
// Run a single harvest cycle on a collection using saved settings.
else if ("run".equals(command))
{
if (collection == null || eperson == null)
{
System.out
.println("Error - a target collection and eperson must be provided");
System.out.println(" (run with -h flag for details)");
System.exit(1);
}
harvester.runHarvest(collection, eperson);
}
// start the harvest loop
else if ("start".equals(command))
{
startHarvester();
}
// reset harvesting status
else if ("reset".equals(command))
{
resetHarvesting();
}
// purge all collections that are set up for harvesting (obviously for testing purposes only)
else if ("purgeAll".equals(command))
{
if (eperson == null)
{
System.out
.println("Error - an eperson must be provided");
System.out.println(" (run with -h flag for details)");
System.exit(1);
}
List<Integer> cids = HarvestedCollection.findAll(context);
System.out.println("Purging the following collections (deleting items and resetting harvest status): " + cids.toString());
for (Integer cid : cids)
{
harvester.purgeCollection(cid.toString(), eperson);
}
context.complete();
}
// Delete all items in a collection. Useful for testing fresh harvests.
else if ("purge".equals(command))
{
if (collection == null || eperson == null)
{
System.out
.println("Error - a target collection and eperson must be provided");
System.out.println(" (run with -h flag for details)");
System.exit(1);
}
harvester.purgeCollection(collection, eperson);
context.complete();
//TODO: implement this... remove all items and remember to unset "last-harvested" settings
}
// Configure a collection with the three main settings
else if ("config".equals(command))
{
if (collection == null)
{
System.out.println("Error - a target collection must be provided");
System.out.println(" (run with -h flag for details)");
System.exit(1);
}
if (oaiSource == null || oaiSetID == null)
{
System.out.println("Error - both the OAI server address and OAI set id must be specified");
System.out.println(" (run with -h flag for details)");
System.exit(1);
}
if (metadataKey == null)
{
System.out.println("Error - a metadata key (commonly the prefix) must be specified for this collection");
System.out.println(" (run with -h flag for details)");
System.exit(1);
}
harvester.configureCollection(collection, harvestType, oaiSource, oaiSetID, metadataKey);
}
else if ("ping".equals(command))
{
if (oaiSource == null || oaiSetID == null)
{
System.out.println("Error - both the OAI server address and OAI set id must be specified");
System.out.println(" (run with -h flag for details)");
System.exit(1);
}
pingResponder(oaiSource, oaiSetID, metadataKey);
}
}
/*
* Resolve the ID into a collection and check to see if its harvesting options are set. If so, return
* the collection, if not, bail out.
*/
private Collection resolveCollection(String collectionID) {
DSpaceObject dso;
Collection targetCollection = null;
try {
// is the ID a handle?
if (collectionID != null)
{
if (collectionID.indexOf('/') != -1)
{
// string has a / so it must be a handle - try and resolve it
dso = HandleManager.resolveToObject(context, collectionID);
// resolved, now make sure it's a collection
if (dso == null || dso.getType() != Constants.COLLECTION)
{
targetCollection = null;
}
else
{
targetCollection = (Collection) dso;
}
}
// not a handle, try and treat it as an integer collection
// database ID
else
{
System.out.println("Looking up by id: " + collectionID + ", parsed as '" + Integer.parseInt(collectionID) + "', " + "in context: " + context);
targetCollection = Collection.find(context, Integer.parseInt(collectionID));
}
}
// was the collection valid?
if (targetCollection == null)
{
System.out.println("Cannot resolve " + collectionID + " to collection");
System.exit(1);
}
}
catch (SQLException se) {
se.printStackTrace();
}
return targetCollection;
}
private void configureCollection(String collectionID, int type, String oaiSource, String oaiSetId, String mdConfigId) {
System.out.println("Running: configure collection");
Collection collection = resolveCollection(collectionID);
System.out.println(collection.getID());
try {
HarvestedCollection hc = HarvestedCollection.find(context, collection.getID());
if (hc == null) {
hc = HarvestedCollection.create(context, collection.getID());
}
context.turnOffAuthorisationSystem();
hc.setHarvestParams(type, oaiSource, oaiSetId, mdConfigId);
hc.setHarvestStatus(HarvestedCollection.STATUS_READY);
hc.update();
context.restoreAuthSystemState();
context.complete();
}
catch (Exception e) {
System.out.println("Changes could not be committed");
e.printStackTrace();
System.exit(1);
}
finally {
if (context != null)
{
context.restoreAuthSystemState();
}
}
}
/**
* Purges a collection of all harvest-related data and settings. All items in the collection will be deleted.
*
* @param collectionID
* @param email
*/
private void purgeCollection(String collectionID, String email) {
System.out.println("Purging collection of all items and resetting last_harvested and harvest_message: " + collectionID);
Collection collection = resolveCollection(collectionID);
try
{
EPerson eperson = EPerson.findByEmail(context, email);
context.setCurrentUser(eperson);
context.turnOffAuthorisationSystem();
ItemIterator it = collection.getAllItems();
IndexBrowse ib = new IndexBrowse(context);
int i=0;
while (it.hasNext()) {
i++;
Item item = it.next();
System.out.println("Deleting: " + item.getHandle());
ib.itemRemoved(item);
collection.removeItem(item);
// commit every 50 items
if (i%50 == 0) {
context.commit();
i=0;
}
}
HarvestedCollection hc = HarvestedCollection.find(context, collection.getID());
if (hc != null) {
hc.setHarvestResult(null,"");
hc.setHarvestStatus(HarvestedCollection.STATUS_READY);
hc.setHarvestStartTime(null);
hc.update();
}
context.restoreAuthSystemState();
context.commit();
}
catch (Exception e) {
System.out.println("Changes could not be committed");
e.printStackTrace();
System.exit(1);
}
finally {
context.restoreAuthSystemState();
}
}
/**
* Run a single harvest cycle on the specified collection under the authorization of the supplied EPerson
*/
private void runHarvest(String collectionID, String email) {
System.out.println("Running: a harvest cycle on " + collectionID);
System.out.print("Initializing the harvester... ");
OAIHarvester harvester = null;
try {
Collection collection = resolveCollection(collectionID);
HarvestedCollection hc = HarvestedCollection.find(context, collection.getID());
harvester = new OAIHarvester(context, collection, hc);
System.out.println("success. ");
}
catch (HarvestingException hex) {
System.out.print("failed. ");
System.out.println(hex.getMessage());
throw new IllegalStateException("Unable to harvest", hex);
} catch (SQLException se) {
System.out.print("failed. ");
System.out.println(se.getMessage());
throw new IllegalStateException("Unable to access database", se);
}
try {
// Harvest will not work for an anonymous user
EPerson eperson = EPerson.findByEmail(context, email);
System.out.println("Harvest started... ");
context.setCurrentUser(eperson);
harvester.runHarvest();
context.complete();
}
catch (SQLException e) {
throw new IllegalStateException("Failed to run harvester", e);
}
catch (AuthorizeException e) {
throw new IllegalStateException("Failed to run harvester", e);
}
catch (IOException e) {
throw new IllegalStateException("Failed to run harvester", e);
}
System.out.println("Harvest complete. ");
}
/**
* Resets harvest_status and harvest_start_time flags for all collections that have a row in the harvested_collections table
*/
private static void resetHarvesting() {
System.out.print("Resetting harvest status flag on all collections... ");
try
{
List<Integer> cids = HarvestedCollection.findAll(context);
for (Integer cid : cids)
{
HarvestedCollection hc = HarvestedCollection.find(context, cid);
//hc.setHarvestResult(null,"");
hc.setHarvestStartTime(null);
hc.setHarvestStatus(HarvestedCollection.STATUS_READY);
hc.update();
}
context.commit();
System.out.println("success. ");
}
catch (Exception ex) {
System.out.println("failed. ");
ex.printStackTrace();
}
}
/**
* Starts up the harvest scheduler. Terminating this process will stop the scheduler.
*/
private static void startHarvester()
{
try
{
System.out.print("Starting harvest loop... ");
OAIHarvester.startNewScheduler();
System.out.println("running. ");
}
catch (Exception ex) {
ex.printStackTrace();
}
}
/**
* See if the responder is alive and working.
*
* @param server address of the responder's host.
* @param set name of an item set.
* @param metadataFormat local prefix name, or null for "dc".
*/
private static void pingResponder(String server, String set, String metadataFormat)
{
List<String> errors;
System.out.print("Testing basic PMH access: ");
errors = OAIHarvester.verifyOAIharvester(server, set,
(null != metadataFormat) ? metadataFormat : "dc", false);
if (errors.isEmpty())
System.out.println("OK");
else
{
for (String error : errors)
System.err.println(error);
}
System.out.print("Testing ORE support: ");
errors = OAIHarvester.verifyOAIharvester(server, set,
(null != metadataFormat) ? metadataFormat : "dc", true);
if (errors.isEmpty())
System.out.println("OK");
else
{
for (String error : errors)
System.err.println(error);
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,29 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemexport;
/**
* An exception that can be thrown when error occur during item export
*/
public class ItemExportException extends Exception
{
public static final int EXPORT_TOO_LARGE = 0;
private int reason;
public ItemExportException(int r, String message)
{
super(message);
reason = r;
}
public int getReason()
{
return reason;
}
}

View File

@@ -0,0 +1,93 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemimport;
import gr.ekt.bte.core.DataLoader;
import gr.ekt.bte.core.TransformationEngine;
import gr.ekt.bte.dataloader.FileDataLoader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* This class acts as a Service in the procedure ot batch import using the Biblio-Transformation-Engine
*/
public class BTEBatchImportService
{
TransformationEngine transformationEngine;
Map<String, DataLoader> dataLoaders = new HashMap<String, DataLoader>();
Map<String, String> outputMap = new HashMap<String,String>();
/**
* Default constructor
*/
public BTEBatchImportService()
{
super();
}
/**
* Setter method for dataLoaders parameter
* @param dataLoaders
*/
public void setDataLoaders(Map<String, DataLoader> dataLoaders)
{
this.dataLoaders = dataLoaders;
}
/**
*
* @return the map of DataLoaders
*/
public Map<String, DataLoader> getDataLoaders()
{
return dataLoaders;
}
/**
*
* @return the outputMapping
*/
public Map<String, String> getOutputMap() {
return outputMap;
}
/**
* Setter method for the outputMapping
* @param outputMapping
*/
public void setOutputMap(Map<String, String> outputMap) {
this.outputMap = outputMap;
}
public TransformationEngine getTransformationEngine() {
return transformationEngine;
}
public void setTransformationEngine(TransformationEngine transformationEngine) {
this.transformationEngine = transformationEngine;
}
public List<String> getFileDataLoaders(){
List<String> result = new ArrayList<String>();
for (String key : dataLoaders.keySet()){
DataLoader dl = dataLoaders.get(key);
if (dl instanceof FileDataLoader){
result.add(key);
}
}
return result;
}
}

View File

@@ -0,0 +1,165 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemimport;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.LineNumberReader;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.Scanner;
/**
* @author kstamatis
*
*/
public class BatchUpload {
private Date date;
private File dir;
private boolean successful;
private int itemsImported;
private int totalItems = 0;
private List<String> handlesImported = new ArrayList<String>();
private String errorMsg = "";
private String errorMsgHTML = "";
/**
*
*/
public BatchUpload(String dirPath) {
this.initializeWithFile(new File(dirPath));
}
public BatchUpload(File dir) {
this.initializeWithFile(dir);
}
private void initializeWithFile(File dir){
this.dir = dir;
String dirName = dir.getName();
long timeMillis = Long.parseLong(dirName);
Calendar calendar = new GregorianCalendar();
calendar.setTimeInMillis(timeMillis);
this.date = calendar.getTime();
try {
this.itemsImported = countLines(dir + File.separator + "mapfile");
} catch (IOException e) {
e.printStackTrace();
}
for (File file : dir.listFiles()){
if (file.isDirectory()){
this.totalItems = file.list().length;
}
}
this.successful = this.totalItems == this.itemsImported;
//Parse possible error message
File errorFile = new File(dir + File.separator + "error.txt");
if (errorFile.exists()){
try {
readFile(dir + File.separator + "error.txt");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
private int countLines(String filename) throws IOException {
LineNumberReader reader = new LineNumberReader(new FileReader(filename));
int cnt = 0;
String lineRead = "";
while ((lineRead = reader.readLine()) != null) {
String[] parts = lineRead.split(" ");
if (parts.length > 1)
handlesImported.add(parts[1].trim());
else
handlesImported.add(lineRead);
}
cnt = reader.getLineNumber();
reader.close();
return cnt;
}
private void readFile(String filename) throws IOException {
LineNumberReader reader = new LineNumberReader(new FileReader(filename));
String lineRead = "";
while ((lineRead = reader.readLine()) != null) {
this.errorMsg += lineRead + "\n";
if (lineRead.startsWith("\tat ")){
this.errorMsgHTML += "<span class=\"batchimport-error-tab\">" + lineRead + "</span><br/>";
}
else if (lineRead.startsWith("Caused by")){
this.errorMsgHTML += "<span class=\"batchimport-error-caused\">" + lineRead + "</span><br/>";
}
else {
this.errorMsgHTML += lineRead + "<br/>";
}
}
reader.close();
}
public Date getDate() {
return date;
}
public File getDir() {
return dir;
}
public boolean isSuccessful() {
return successful;
}
public int getItemsImported() {
return itemsImported;
}
public int getTotalItems() {
return totalItems;
}
public String getDateFormatted(){
SimpleDateFormat df = new SimpleDateFormat("dd/MM/yyyy - HH:mm");
return df.format(date);
}
public List<String> getHandlesImported() {
return handlesImported;
}
public String getErrorMsg() {
return errorMsg;
}
public String getErrorMsgHTML() {
return errorMsgHTML;
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,91 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemmarking;
import java.io.UnsupportedEncodingException;
import java.sql.SQLException;
import org.dspace.app.util.Util;
import org.dspace.content.Bitstream;
import org.dspace.content.Bundle;
import org.dspace.content.Item;
import org.dspace.core.Constants;
import org.dspace.core.Context;
/**
* This is an item marking Strategy class that tries to mark an item availability
* based on the existence of bitstreams within the ORIGINAL bundle.
*
* @author Kostas Stamatis
*
*/
public class ItemMarkingAvailabilityBitstreamStrategy implements ItemMarkingExtractor {
private String availableImageName;
private String nonAvailableImageName;
public ItemMarkingAvailabilityBitstreamStrategy() {
}
@Override
public ItemMarkingInfo getItemMarkingInfo(Context context, Item item)
throws SQLException {
Bundle[] bundles = item.getBundles("ORIGINAL");
if (bundles.length == 0){
ItemMarkingInfo markInfo = new ItemMarkingInfo();
markInfo.setImageName(nonAvailableImageName);
return markInfo;
}
else {
Bundle originalBundle = bundles[0];
if (originalBundle.getBitstreams().length == 0){
ItemMarkingInfo markInfo = new ItemMarkingInfo();
markInfo.setImageName(nonAvailableImageName);
return markInfo;
}
else {
Bitstream bitstream = originalBundle.getBitstreams()[0];
ItemMarkingInfo signInfo = new ItemMarkingInfo();
signInfo.setImageName(availableImageName);
signInfo.setTooltip(bitstream.getName());
String bsLink = "";
bsLink = bsLink + "bitstream/"
+ item.getHandle() + "/"
+ bitstream.getSequenceID() + "/";
try {
bsLink = bsLink + Util.encodeBitstreamName(bitstream.getName(), Constants.DEFAULT_ENCODING);
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
signInfo.setLink(bsLink);
return signInfo;
}
}
}
public void setAvailableImageName(String availableImageName) {
this.availableImageName = availableImageName;
}
public void setNonAvailableImageName(String nonAvailableImageName) {
this.nonAvailableImageName = nonAvailableImageName;
}
}

View File

@@ -0,0 +1,50 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemmarking;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Map;
import org.dspace.content.Collection;
import org.dspace.content.Item;
import org.dspace.core.Context;
/**
* This is an item marking Strategy class that tries to mark an item
* based on the collection the items belong to
*
* @author Kostas Stamatis
*
*/
public class ItemMarkingCollectionStrategy implements ItemMarkingExtractor {
Map<String, ItemMarkingInfo> mapping = new HashMap<String, ItemMarkingInfo>();
public ItemMarkingCollectionStrategy() {
}
@Override
public ItemMarkingInfo getItemMarkingInfo(Context context, Item item)
throws SQLException {
if (mapping!=null){
for (Collection collection : item.getCollections()){
if (mapping.containsKey(collection.getHandle())){
return mapping.get(collection.getHandle());
}
}
}
return null;
}
public void setMapping(Map<String, ItemMarkingInfo> mapping) {
this.mapping = mapping;
}
}

View File

@@ -0,0 +1,24 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemmarking;
import java.sql.SQLException;
import org.dspace.content.Item;
import org.dspace.core.Context;
/**
* Interface to abstract the strategy for item signing
*
* @author Kostas Stamatis
*
*/
public interface ItemMarkingExtractor {
public ItemMarkingInfo getItemMarkingInfo(Context context, Item item)
throws SQLException;
}

View File

@@ -0,0 +1,57 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemmarking;
/**
* Simple DTO to transfer data about the marking info for an item
*
* @author Kostas Stamatis
*
*/
public class ItemMarkingInfo {
private String imageName;
private String classInfo;
private String tooltip;
private String link;
public ItemMarkingInfo() {
super();
}
public String getImageName() {
return imageName;
}
public void setImageName(String imageName) {
this.imageName = imageName;
}
public String getTooltip() {
return tooltip;
}
public void setTooltip(String tooltip) {
this.tooltip = tooltip;
}
public String getLink() {
return link;
}
public void setLink(String link) {
this.link = link;
}
public String getClassInfo() {
return classInfo;
}
public void setClassInfo(String classInfo) {
this.classInfo = classInfo;
}
}

View File

@@ -0,0 +1,61 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemmarking;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Map;
import org.dspace.content.Item;
import org.dspace.content.Metadatum;
import org.dspace.core.Context;
/**
* This is an item marking Strategy class that tries to mark an item
* based on the existence of a specific value within the values of a specific
* metadata field
*
* @author Kostas Stamatis
*
*/
public class ItemMarkingMetadataStrategy implements ItemMarkingExtractor {
private String metadataField;
Map<String, ItemMarkingInfo> mapping = new HashMap<String, ItemMarkingInfo>();
public ItemMarkingMetadataStrategy() {
}
@Override
public ItemMarkingInfo getItemMarkingInfo(Context context, Item item)
throws SQLException {
if (metadataField != null && mapping!=null)
{
Metadatum[] vals = item.getMetadataByMetadataString(metadataField);
if (vals.length > 0)
{
for (Metadatum value : vals){
String type = value.value;
if (mapping.containsKey(type)){
return mapping.get(type);
}
}
}
}
return null;
}
public void setMetadataField(String metadataField) {
this.metadataField = metadataField;
}
public void setMapping(Map<String, ItemMarkingInfo> mapping) {
this.mapping = mapping;
}
}

View File

@@ -0,0 +1,80 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
/**
* Container for UpdateActions
* Order of actions is very import for correct processing. This implementation
* supports an iterator that returns the actions in the order in which they are
* put in. Adding the same action a second time has no effect on this order.
*
*
*/
public class ActionManager implements Iterable<UpdateAction> {
private Map<Class<? extends UpdateAction>, UpdateAction> registry
= new LinkedHashMap<Class<? extends UpdateAction>, UpdateAction>();
public UpdateAction getUpdateAction(Class<? extends UpdateAction> actionClass)
throws InstantiationException, IllegalAccessException
{
UpdateAction action = registry.get(actionClass);
if (action == null)
{
action = actionClass.newInstance();
registry.put(actionClass, action);
}
return action;
}
/**
*
* @return whether any actions have been registered with this manager
*/
public boolean hasActions()
{
return !registry.isEmpty();
}
/**
* This implementation guarantees the iterator order is the same as the order
* in which updateActions have been added
*
* @return iterator for UpdateActions
*/
public Iterator<UpdateAction> iterator()
{
return new Iterator<UpdateAction>()
{
private Iterator<Class<? extends UpdateAction>> itr = registry.keySet().iterator();
public boolean hasNext()
{
return itr.hasNext();
}
public UpdateAction next()
{
return registry.get(itr.next());
}
//not supported
public void remove()
{
throw new UnsupportedOperationException();
}
};
}
}

View File

@@ -0,0 +1,212 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.sql.SQLException;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import org.dspace.authorize.AuthorizeException;
import org.dspace.authorize.AuthorizeManager;
import org.dspace.authorize.ResourcePolicy;
import org.dspace.content.Bitstream;
import org.dspace.content.BitstreamFormat;
import org.dspace.content.Bundle;
import org.dspace.content.DCDate;
import org.dspace.content.FormatIdentifier;
import org.dspace.content.InstallItem;
import org.dspace.content.Item;
import org.dspace.core.Context;
import org.dspace.eperson.Group;
/**
* Action to add bitstreams listed in item contents file to the item in DSpace
*
*
*/
public class AddBitstreamsAction extends UpdateBitstreamsAction {
public AddBitstreamsAction()
{
//empty
}
/**
* Adds bitstreams from the archive as listed in the contents file.
*
* @param context
* @param itarch
* @param isTest
* @param suppressUndo
* @throws IllegalArgumentException
* @throws ParseException
* @throws IOException
* @throws AuthorizeException
* @throws SQLException
*/
public void execute(Context context, ItemArchive itarch, boolean isTest,
boolean suppressUndo) throws IllegalArgumentException,
ParseException, IOException, AuthorizeException, SQLException
{
Item item = itarch.getItem();
File dir = itarch.getDirectory();
List<ContentsEntry> contents = MetadataUtilities.readContentsFile(new File(dir, ItemUpdate.CONTENTS_FILE));
if (contents.isEmpty())
{
ItemUpdate.pr("Contents is empty - no bitstreams to add");
return;
}
ItemUpdate.pr("Contents bitstream count: " + contents.size());
String[] files = dir.list(ItemUpdate.fileFilter);
List<String> fileList = new ArrayList<String>();
for (String filename : files)
{
fileList.add(filename);
ItemUpdate.pr("file: " + filename);
}
for (ContentsEntry ce : contents)
{
//validate match to existing file in archive
if (!fileList.contains(ce.filename))
{
throw new IllegalArgumentException("File listed in contents is missing: " + ce.filename);
}
}
int bitstream_bundles_updated = 0;
//now okay to add
for (ContentsEntry ce : contents)
{
String targetBundleName = addBitstream(context, itarch, item, dir, ce, suppressUndo, isTest);
if (!targetBundleName.equals("")
&& !targetBundleName.equals("THUMBNAIL")
&& !targetBundleName.equals("TEXT"))
{
bitstream_bundles_updated++;
}
}
if (alterProvenance && bitstream_bundles_updated > 0)
{
DtoMetadata dtom = DtoMetadata.create("dc.description.provenance", "en", "");
String append = ". Added " + Integer.toString(bitstream_bundles_updated)
+ " bitstream(s) on " + DCDate.getCurrent() + " : "
+ InstallItem.getBitstreamProvenanceMessage(item);
MetadataUtilities.appendMetadata(item, dtom, false, append);
}
}
private String addBitstream(Context context, ItemArchive itarch, Item item, File dir,
ContentsEntry ce, boolean suppressUndo, boolean isTest)
throws IOException, IllegalArgumentException, SQLException, AuthorizeException, ParseException
{
ItemUpdate.pr("contents entry for bitstream: " + ce.toString());
File f = new File(dir, ce.filename);
// get an input stream
BufferedInputStream bis = new BufferedInputStream(new FileInputStream(f));
Bitstream bs = null;
String newBundleName = ce.bundlename;
if (ce.bundlename == null) // should be required but default convention established
{
if (ce.filename.equals("license.txt"))
{
newBundleName = "LICENSE";
}
else
{
newBundleName = "ORIGINAL";
}
}
ItemUpdate.pr(" Bitstream " + ce.filename + " to be added to bundle: " + newBundleName);
if (!isTest)
{
// find the bundle
Bundle[] bundles = item.getBundles(newBundleName);
Bundle targetBundle = null;
if (bundles.length < 1)
{
// not found, create a new one
targetBundle = item.createBundle(newBundleName);
}
else
{
//verify bundle + name are not duplicates
for (Bundle b : bundles)
{
Bitstream[] bitstreams = b.getBitstreams();
for (Bitstream bsm : bitstreams)
{
if (bsm.getName().equals(ce.filename))
{
throw new IllegalArgumentException("Duplicate bundle + filename cannot be added: "
+ b.getName() + " + " + bsm.getName());
}
}
}
// select first bundle
targetBundle = bundles[0];
}
bs = targetBundle.createBitstream(bis);
bs.setName(ce.filename);
// Identify the format
// FIXME - guessing format guesses license.txt incorrectly as a text file format!
BitstreamFormat fmt = FormatIdentifier.guessFormat(context, bs);
bs.setFormat(fmt);
if (ce.description != null)
{
bs.setDescription(ce.description);
}
if ((ce.permissionsActionId != -1) && (ce.permissionsGroupName != null))
{
Group group = Group.findByName(context, ce.permissionsGroupName);
if (group != null)
{
AuthorizeManager.removeAllPolicies(context, bs); // remove the default policy
ResourcePolicy rp = ResourcePolicy.create(context);
rp.setResource(bs);
rp.setAction(ce.permissionsActionId);
rp.setGroup(group);
rp.update();
}
}
//update after all changes are applied
bs.update();
if (!suppressUndo)
{
itarch.addUndoDeleteContents(bs.getID());
}
return targetBundle.getName();
}
return "";
}
}

View File

@@ -0,0 +1,120 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.sql.SQLException;
import org.dspace.authorize.AuthorizeException;
import org.dspace.content.Metadatum;
import org.dspace.content.Item;
import org.dspace.content.MetadataField;
import org.dspace.content.MetadataSchema;
import org.dspace.core.Context;
/**
* Action to add metadata to item
*
*/
public class AddMetadataAction extends UpdateMetadataAction {
/**
* Adds metadata specified in the source archive
*
* @param context
* @param itarch
* @param isTest
* @param suppressUndo
* @throws AuthorizeException
* @throws SQLException
*/
public void execute(Context context, ItemArchive itarch, boolean isTest,
boolean suppressUndo) throws AuthorizeException, SQLException
{
Item item = itarch.getItem();
String dirname = itarch.getDirectoryName();
for (DtoMetadata dtom : itarch.getMetadataFields())
{
for (String f : targetFields)
{
if (dtom.matches(f, false))
{
// match against metadata for this field/value in repository
// qualifier must be strictly matched, possibly null
Metadatum[] ardcv = null;
ardcv = item.getMetadata(dtom.schema, dtom.element, dtom.qualifier, Item.ANY);
boolean found = false;
for (Metadatum dcv : ardcv)
{
if (dcv.value.equals(dtom.value))
{
found = true;
break;
}
}
if (found)
{
ItemUpdate.pr("Warning: No new metadata found to add to item " + dirname
+ " for element " + f);
}
else
{
if (isTest)
{
ItemUpdate.pr("Metadata to add: " + dtom.toString());
//validity tests that would occur in actual processing
// If we're just test the import, let's check that the actual metadata field exists.
MetadataSchema foundSchema = MetadataSchema.find(context, dtom.schema);
if (foundSchema == null)
{
ItemUpdate.pr("ERROR: schema '"
+ dtom.schema + "' was not found in the registry; found on item " + dirname);
}
else
{
int schemaID = foundSchema.getSchemaID();
MetadataField foundField = MetadataField.findByElement(context, schemaID, dtom.element, dtom.qualifier);
if (foundField == null)
{
ItemUpdate.pr("ERROR: Metadata field: '" + dtom.schema + "." + dtom.element + "."
+ dtom.qualifier + "' not found in registry; found on item " + dirname);
}
}
}
else
{
item.addMetadata(dtom.schema, dtom.element, dtom.qualifier, dtom.language, dtom.value);
ItemUpdate.pr("Metadata added: " + dtom.toString());
if (!suppressUndo)
{
//itarch.addUndoDtom(dtom);
//ItemUpdate.pr("Undo metadata: " + dtom);
// add all as a replace record to be preceded by delete
for (Metadatum dcval : ardcv)
{
itarch.addUndoMetadataField(DtoMetadata.create(dcval.schema, dcval.element,
dcval.qualifier, dcval.language, dcval.value));
}
}
}
}
break; // don't need to check if this field matches any other target fields
}
}
}
}
}

View File

@@ -0,0 +1,61 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.io.IOException;
import java.util.Properties;
import java.io.InputStream;
import java.io.FileInputStream;
import org.dspace.content.Bitstream;
/**
* Filter interface to be used by ItemUpdate
* to determine which bitstreams in an Item
* acceptable for removal.
*
*/
public abstract class BitstreamFilter {
protected Properties props = null;
/**
* The filter method
*
* @param bitstream
* @return whether the bitstream matches the criteria
* @throws BitstreamFilterException
*/
public abstract boolean accept(Bitstream bitstream) throws BitstreamFilterException;
/**
*
* @param filepath - The complete path for the properties file
* @throws IOException
*/
public void initProperties(String filepath)
throws IOException
{
props = new Properties();
InputStream in = null;
try
{
in = new FileInputStream(filepath);
props.load(in);
}
finally
{
if (in != null)
{
in.close();
}
}
}
}

View File

@@ -0,0 +1,66 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.sql.SQLException;
import org.dspace.content.Bitstream;
import org.dspace.content.Bundle;
/**
* BitstreamFilter implementation to filter by bundle name
*
*/
public class BitstreamFilterByBundleName extends BitstreamFilter {
protected String bundleName;
public BitstreamFilterByBundleName()
{
//empty
}
/**
* Filter bitstream based on bundle name found in properties file
*
* @param bitstream
* @throws BitstreamFilterException
* @return whether bitstream is in bundle
*
*/
public boolean accept(Bitstream bitstream)
throws BitstreamFilterException
{
if (bundleName == null)
{
bundleName = props.getProperty("bundle");
if (bundleName == null)
{
throw new BitstreamFilterException("Property 'bundle' not found.");
}
}
try
{
Bundle[] bundles = bitstream.getBundles();
for (Bundle b : bundles)
{
if (b.getName().equals(bundleName))
{
return true;
}
}
}
catch(SQLException e)
{
throw new BitstreamFilterException(e);
}
return false;
}
}

View File

@@ -0,0 +1,50 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.util.regex.*;
import org.dspace.content.Bitstream;
/**
* BitstreamFilter implementation to filter by filename pattern
*
*/
public class BitstreamFilterByFilename extends BitstreamFilter {
private Pattern pattern;
private String filenameRegex;
public BitstreamFilterByFilename()
{
//empty
}
/**
* Tests bitstream by matching the regular expression in the
* properties against the bitstream name
*
* @return whether bitstream name matches the regular expression
*/
public boolean accept(Bitstream bitstream) throws BitstreamFilterException
{
if (filenameRegex == null)
{
filenameRegex = props.getProperty("filename");
if (filenameRegex == null)
{
throw new BitstreamFilterException("BitstreamFilter property 'filename' not found.");
}
pattern = Pattern.compile(filenameRegex);
}
Matcher m = pattern.matcher(bitstream.getName());
return m.matches();
}
}

View File

@@ -0,0 +1,29 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
/**
* Exception class for BitstreamFilters
*
*/
public class BitstreamFilterException extends Exception
{
private static final long serialVersionUID = 1L;
public BitstreamFilterException() {}
public BitstreamFilterException(String msg)
{
super(msg);
}
public BitstreamFilterException(Exception e)
{
super(e);
}
}

View File

@@ -0,0 +1,153 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.text.ParseException;
import java.util.regex.*;
import org.dspace.core.Constants;
/**
* Holds the elements of a line in the Contents Entry file
*
* Based on private methods in ItemImport
*
* Lacking a spec or full documentation for the file format,
* it looks from the source code that the ordering or elements is not fixed
*
* e.g.:
* 48217870-MIT.pdf\tbundle: bundlename\tpermissions: -r 'MIT Users'\tdescription: Full printable version (MIT only)
* permissions: -[r|w] ['group name']
* description: <the description of the file>
*
*
*/
public class ContentsEntry
{
public static final String HDR_BUNDLE = "bundle:";
public static final String HDR_PERMISSIONS = "permissions:";
public static final String HDR_DESCRIPTION = "description:";
public static final Pattern permissionsPattern = Pattern.compile("-([rw])\\s*'?([^']+)'?");
final String filename;
final String bundlename;
final String permissionsGroupName;
final int permissionsActionId;
final String description;
private ContentsEntry(String filename,
String bundlename,
int permissionsActionId,
String permissionsGroupName,
String description)
{
this.filename = filename;
this.bundlename = bundlename;
this.permissionsActionId = permissionsActionId;
this.permissionsGroupName = permissionsGroupName;
this.description = description;
}
/**
* Factory method parses a line from the Contents Entry file
*
* @param line
* @return the parsed ContentsEntry object
* @throws ParseException
*/
public static ContentsEntry parse(String line)
throws ParseException
{
String[] ar = line.split("\t");
ItemUpdate.pr("ce line split: " + ar.length);
String[] arp = new String[4];
arp[0] = ar[0]; //bitstream name doesn't have header and is always first
String groupName = null;
int actionId = -1;
if (ar.length > 1)
{
for (int i=1; i < ar.length; i++)
{
ItemUpdate.pr("ce " + i + " : " + ar[i]);
if (ar[i].startsWith(HDR_BUNDLE))
{
arp[1] = ar[i].substring(HDR_BUNDLE.length()).trim();
}
else if (ar[i].startsWith(HDR_PERMISSIONS))
{
arp[2] = ar[i].substring(HDR_PERMISSIONS.length()).trim();
// parse into actionId and group name
Matcher m = permissionsPattern.matcher(arp[2]);
if (m.matches())
{
String action = m.group(1); //
if (action.equals("r"))
{
actionId = Constants.READ;
}
else if (action.equals("w"))
{
actionId = Constants.WRITE;
}
groupName = m.group(2).trim();
}
}
else if (ar[i].startsWith(HDR_DESCRIPTION))
{
arp[3] = ar[i].substring(HDR_DESCRIPTION.length()).trim();
}
else
{
throw new ParseException("Unknown text in contents file: " + ar[i], 0);
}
}
}
return new ContentsEntry(arp[0], arp[1], actionId, groupName, arp[3]);
}
public String toString()
{
StringBuilder sb = new StringBuilder(filename);
if (bundlename != null)
{
sb.append(HDR_BUNDLE).append(" ").append(bundlename);
}
if (permissionsGroupName != null)
{
sb.append(HDR_PERMISSIONS);
if (permissionsActionId == Constants.READ)
{
sb.append(" -r ");
}
else if (permissionsActionId == Constants.WRITE)
{
sb.append(" -w ");
}
sb.append(permissionsGroupName);
}
if (description != null)
{
sb.append(HDR_DESCRIPTION).append(" ").append(description);
}
return sb.toString();
}
}

View File

@@ -0,0 +1,114 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.io.File;
import java.io.IOException;
import java.sql.SQLException;
import java.text.ParseException;
import java.util.List;
import org.dspace.authorize.AuthorizeException;
import org.dspace.content.Bitstream;
import org.dspace.content.Bundle;
import org.dspace.content.DCDate;
import org.dspace.content.Item;
import org.dspace.core.Context;
/**
* Action to delete bitstreams
*
* Undo not supported for this UpdateAction
*
* Derivatives of the bitstream to be deleted are not also deleted
*
*/
public class DeleteBitstreamsAction extends UpdateBitstreamsAction
{
/**
* Delete bitstream from item
*
* @param context
* @param itarch
* @param isTest
* @param suppressUndo
* @throws IllegalArgumentException
* @throws ParseException
* @throws IOException
* @throws AuthorizeException
* @throws SQLException
*/
public void execute(Context context, ItemArchive itarch, boolean isTest,
boolean suppressUndo) throws IllegalArgumentException, IOException,
SQLException, AuthorizeException, ParseException
{
File f = new File(itarch.getDirectory(), ItemUpdate.DELETE_CONTENTS_FILE);
if (!f.exists())
{
ItemUpdate.pr("Warning: Delete_contents file for item " + itarch.getDirectoryName() + " not found.");
}
else
{
List<Integer> list = MetadataUtilities.readDeleteContentsFile(f);
if (list.isEmpty())
{
ItemUpdate.pr("Warning: empty delete_contents file for item " + itarch.getDirectoryName() );
}
else
{
for (int id : list)
{
try
{
Bitstream bs = Bitstream.find(context, id);
if (bs == null)
{
ItemUpdate.pr("Bitstream not found by id: " + id);
}
else
{
Bundle[] bundles = bs.getBundles();
for (Bundle b : bundles)
{
if (isTest)
{
ItemUpdate.pr("Delete bitstream with id = " + id);
}
else
{
b.removeBitstream(bs);
ItemUpdate.pr("Deleted bitstream with id = " + id);
}
}
if (alterProvenance)
{
DtoMetadata dtom = DtoMetadata.create("dc.description.provenance", "en", "");
String append = "Bitstream " + bs.getName() + " deleted on " + DCDate.getCurrent() + "; ";
Item item = bundles[0].getItems()[0];
ItemUpdate.pr("Append provenance with: " + append);
if (!isTest)
{
MetadataUtilities.appendMetadata(item, dtom, false, append);
}
}
}
}
catch(SQLException e)
{
ItemUpdate.pr("Error finding bitstream from id: " + id + " : " + e.toString());
}
}
}
}
}
}

View File

@@ -0,0 +1,130 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.io.IOException;
import java.sql.SQLException;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import org.dspace.authorize.AuthorizeException;
import org.dspace.content.Bitstream;
import org.dspace.content.Bundle;
import org.dspace.content.DCDate;
import org.dspace.content.Item;
import org.dspace.core.Context;
/**
* Action to delete bitstreams using a specified filter implementing BitstreamFilter
* Derivatives for the target bitstreams are not deleted.
*
* The dc.description.provenance field is amended to reflect the deletions
*
* Note: Multiple filters are impractical if trying to manage multiple properties files
* in a commandline environment
*
*
*/
public class DeleteBitstreamsByFilterAction extends UpdateBitstreamsAction {
private BitstreamFilter filter;
/**
* Set filter
*
* @param filter
*/
public void setBitstreamFilter(BitstreamFilter filter)
{
this.filter = filter;
}
/**
* Get filter
* @return filter
*/
public BitstreamFilter getBitstreamFilter()
{
return filter;
}
/**
* Delete bitstream
*
* @param context
* @param itarch
* @param isTest
* @param suppressUndo
* @throws IllegalArgumentException
* @throws ParseException
* @throws IOException
* @throws AuthorizeException
* @throws SQLException
*/
public void execute(Context context, ItemArchive itarch, boolean isTest,
boolean suppressUndo) throws AuthorizeException,
BitstreamFilterException, IOException, ParseException, SQLException
{
List<String> deleted = new ArrayList<String>();
Item item = itarch.getItem();
Bundle[] bundles = item.getBundles();
for (Bundle b : bundles)
{
Bitstream[] bitstreams = b.getBitstreams();
String bundleName = b.getName();
for (Bitstream bs : bitstreams)
{
if (filter.accept(bs))
{
if (isTest)
{
ItemUpdate.pr("Delete from bundle " + bundleName + " bitstream " + bs.getName()
+ " with id = " + bs.getID());
}
else
{
//provenance is not maintained for derivative bitstreams
if (!bundleName.equals("THUMBNAIL") && !bundleName.equals("TEXT"))
{
deleted.add(bs.getName());
}
b.removeBitstream(bs);
ItemUpdate.pr("Deleted " + bundleName + " bitstream " + bs.getName()
+ " with id = " + bs.getID());
}
}
}
}
if (alterProvenance && !deleted.isEmpty())
{
StringBuilder sb = new StringBuilder(" Bitstreams deleted on ");
sb.append(DCDate.getCurrent()).append(": ");
for (String s : deleted)
{
sb.append(s).append(", ");
}
DtoMetadata dtom = DtoMetadata.create("dc.description.provenance", "en", "");
ItemUpdate.pr("Append provenance with: " + sb.toString());
if (!isTest)
{
MetadataUtilities.appendMetadata(item, dtom, false, sb.toString());
}
}
}
}

View File

@@ -0,0 +1,64 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.text.ParseException;
import org.dspace.authorize.AuthorizeException;
import org.dspace.content.Metadatum;
import org.dspace.content.Item;
import org.dspace.core.Context;
/**
* Action to delete metadata
*
*
*/
public class DeleteMetadataAction extends UpdateMetadataAction {
/**
* Delete metadata from item
*
* @param context
* @param itarch
* @param isTest
* @param suppressUndo
* @throws ParseException
* @throws AuthorizeException
*/
public void execute(Context context, ItemArchive itarch, boolean isTest,
boolean suppressUndo) throws AuthorizeException, ParseException
{
Item item = itarch.getItem();
for (String f : targetFields)
{
DtoMetadata dummy = DtoMetadata.create(f, Item.ANY, "");
Metadatum[] ardcv = item.getMetadataByMetadataString(f);
ItemUpdate.pr("Metadata to be deleted: ");
for (Metadatum dcv : ardcv)
{
ItemUpdate.pr(" " + MetadataUtilities.getDCValueString(dcv));
}
if (!isTest)
{
if (!suppressUndo)
{
for (Metadatum dcv : ardcv)
{
itarch.addUndoMetadataField(DtoMetadata.create(dcv.schema, dcv.element,
dcv.qualifier, dcv.language, dcv.value));
}
}
item.clearMetadata(dummy.schema, dummy.element, dummy.qualifier, Item.ANY);
}
}
}
}

View File

@@ -0,0 +1,24 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.util.Properties;
/**
* Bitstream filter to delete from TEXT bundle
*
*/
public class DerivativeTextBitstreamFilter extends BitstreamFilterByBundleName {
public DerivativeTextBitstreamFilter()
{
props = new Properties();
props.setProperty("bundle", "TEXT");
}
}

View File

@@ -0,0 +1,156 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.text.ParseException;
import org.dspace.content.Item;
/**
* A data transfer object class enhancement of org.dspace.content.DCValue, which is deprecated
* Name intended to not conflict with DSpace API classes for similar concepts but not usable in this context
*
* Adds some utility methods
*
* Really not at all general enough but supports Dublin Core and the compound form notation <schema>.<element>[.<qualifier>]
*
* Does not support wildcard for qualifier
*
*
*/
class DtoMetadata
{
final String schema;
final String element;
final String qualifier;
final String language;
final String value;
private DtoMetadata(String schema, String element, String qualifier, String language, String value)
{
this.schema = schema;
this.element = element;
this.qualifier = qualifier;
this.language = language;
this.value = value;
}
/**
* Factory method
*
*
* @param schema not null, not empty - 'dc' is the standard case
* @param element not null, not empty
* @param qualifier null; don't allow empty string or * indicating 'any'
* @param language null or empty
* @param value
* @return DtoMetadata object
*/
public static DtoMetadata create(String schema,
String element,
String qualifier,
String language,
String value)
throws IllegalArgumentException
{
if ((qualifier != null) && (qualifier.equals(Item.ANY) || qualifier.equals("")))
{
throw new IllegalArgumentException("Invalid qualifier: " + qualifier);
}
return new DtoMetadata(schema, element, qualifier, language, value);
}
/**
* Factory method to create metadata object
*
*
* @param compoundForm of the form <schema>.<element>[.<qualifier>]
* @param language null or empty
* @param value
*/
public static DtoMetadata create(String compoundForm, String language, String value)
throws ParseException, IllegalArgumentException
{
String[] ar = MetadataUtilities.parseCompoundForm(compoundForm);
String qual = null;
if (ar.length > 2)
{
qual = ar[2];
}
return create(ar[0], ar[1], qual, language, value);
}
/**
* Determine if this metadata field matches the specified type:
* schema.element or schema.element.qualifier
*
*
* @param compoundForm of the form <schema>.<element>[.<qualifier>|.*]
* @param wildcard allow wildcards in compoundForm param
* @return whether matches
*/
public boolean matches(String compoundForm, boolean wildcard)
{
String[] ar = compoundForm.split("\\s*\\.\\s*"); //MetadataUtilities.parseCompoundForm(compoundForm);
if ((ar.length < 2) || (ar.length > 3))
{
return false;
}
if (!this.schema.equals(ar[0]) || !this.element.equals(ar[1]))
{
return false;
}
if (ar.length == 2)
{
if (this.qualifier != null)
{
return false;
}
}
if (ar.length == 3)
{
if (this.qualifier == null)
{
return false;
}
if (wildcard && ar[2].equals(Item.ANY))
{
return true;
}
if (!this.qualifier.equals(ar[2]))
{
return false;
}
}
return true;
}
public String toString()
{
String s = "\tSchema: " + schema + " Element: " + element;
if (qualifier != null)
{
s+= " Qualifier: " + qualifier;
}
s+= " Language: " + ((language == null) ? "[null]" : language);
s += " Value: " + value;
return s;
}
public String getValue()
{
return value;
}
}

View File

@@ -0,0 +1,348 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerException;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.TransformerConfigurationException;
import org.apache.log4j.Logger;
import org.dspace.content.ItemIterator;
import org.dspace.authorize.AuthorizeException;
import org.dspace.content.DSpaceObject;
import org.dspace.content.Item;
import org.dspace.core.Context;
import org.dspace.handle.HandleManager;
import org.w3c.dom.Document;
/**
* Encapsulates the Item in the context of the DSpace Archive Format
*
*/
public class ItemArchive {
private static final Logger log = Logger.getLogger(ItemArchive.class);
public static final String DUBLIN_CORE_XML = "dublin_core.xml";
private static DocumentBuilder builder = null;
private static Transformer transformer = null;
private List<DtoMetadata> dtomList = null;
private List<DtoMetadata> undoDtomList = new ArrayList<DtoMetadata>();
private List<Integer> undoAddContents = new ArrayList<Integer>(); // for undo of add
private Item item;
private File dir; // directory name in source archive for this item
private String dirname; //convenience
//constructors
private ItemArchive()
{
// nothing
}
/** factory method
*
* Minimal requirements for dublin_core.xml for this application
* is the presence of dc.identifier.uri
* which must contain the handle for the item
*
* @param context - The DSpace context
* @param dir - The directory File in the source archive
* @param itemField - The metadata field in which the Item identifier is located
* if null, the default is the handle in the dc.identifier.uri field
*
*/
public static ItemArchive create(Context context, File dir, String itemField)
throws Exception
{
ItemArchive itarch = new ItemArchive();
itarch.dir = dir;
itarch.dirname = dir.getName();
InputStream is = null;
try
{
is = new FileInputStream(new File(dir, DUBLIN_CORE_XML));
itarch.dtomList = MetadataUtilities.loadDublinCore(getDocumentBuilder(), is);
}
finally
{
if (is != null)
{
is.close();
}
}
ItemUpdate.pr("Loaded metadata with " + itarch.dtomList.size() + " fields");
if (itemField == null)
{
itarch.item = itarch.itemFromHandleInput(context); // sets the item instance var and seeds the undo list
}
else
{
itarch.item = itarch.itemFromMetadataField(context, itemField);
}
if (itarch.item == null)
{
throw new Exception("Item not instantiated: " + itarch.dirname);
}
ItemUpdate.prv("item instantiated: " + itarch.item.getHandle());
return itarch;
}
private static DocumentBuilder getDocumentBuilder()
throws ParserConfigurationException
{
if (builder == null)
{
builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
}
return builder;
}
private static Transformer getTransformer()
throws TransformerConfigurationException
{
if (transformer == null)
{
transformer = TransformerFactory.newInstance().newTransformer();
}
return transformer;
}
/**
* Getter for the DSpace item referenced in the archive
* @return DSpace item
*/
public Item getItem()
{
return item;
}
/**
* Getter for directory in archive on disk
* @return directory in archive
*/
public File getDirectory()
{
return dir;
}
/**
* Getter for directory name in archive
* @return directory name in archive
*/
public String getDirectoryName()
{
return dirname;
}
/**
* Add metadata field to undo list
* @param dtom
*/
public void addUndoMetadataField(DtoMetadata dtom)
{
this.undoDtomList.add(dtom);
}
/**
* Getter for list of metadata fields
* @return list of metadata fields
*/
public List<DtoMetadata> getMetadataFields()
{
return dtomList;
}
/**
* Add bitstream id to delete contents file
* @param bitstreamId
*/
public void addUndoDeleteContents(int bitstreamId)
{
this.undoAddContents.add(bitstreamId);
}
/**
* Obtain item from DSpace based on handle
* This is the default implementation
* that uses the dc.identifier.uri metadatafield
* that contains the item handle as its value
*
*/
private Item itemFromHandleInput(Context context)
throws SQLException, Exception
{
DtoMetadata dtom = getMetadataField("dc.identifier.uri");
if (dtom == null)
{
throw new Exception("No dc.identier.uri field found for handle");
}
this.addUndoMetadataField(dtom); //seed the undo list with the uri
String uri = dtom.value;
if (!uri.startsWith(ItemUpdate.HANDLE_PREFIX))
{
throw new Exception("dc.identifier.uri for item " + uri
+ " does not begin with prefix: " + ItemUpdate.HANDLE_PREFIX);
}
String handle = uri.substring(ItemUpdate.HANDLE_PREFIX.length());
DSpaceObject dso = HandleManager.resolveToObject(context, handle);
if (dso instanceof Item)
{
item = (Item) dso;
}
else
{
ItemUpdate.pr("Warning: item not instantiated");
throw new IllegalArgumentException("Item " + handle + " not instantiated.");
}
return item;
}
/**
* Find and instantiate Item from the dublin_core.xml based
* on the specified itemField for the item identifier,
*
*
* @param context - the DSpace context
* @param itemField - the compound form of the metadata element <schema>.<element>.<qualifier>
* @throws SQLException
* @throws Exception
*/
private Item itemFromMetadataField(Context context, String itemField)
throws SQLException, AuthorizeException, Exception
{
DtoMetadata dtom = getMetadataField(itemField);
Item item = null;
if (dtom == null)
{
throw new IllegalArgumentException("No field found for item identifier field: " + itemField);
}
ItemUpdate.prv("Metadata field to match for item: " + dtom.toString());
this.addUndoMetadataField(dtom); //seed the undo list with the identifier field
ItemIterator itr = Item.findByMetadataField(context, dtom.schema, dtom.element, dtom.qualifier, dtom.value);
int count = 0;
while (itr.hasNext())
{
item = itr.next();
count++;
}
itr.close();
ItemUpdate.prv("items matching = " + count );
if (count != 1)
{
throw new Exception ("" + count + " items matching item identifier: " + dtom.value);
}
return item;
}
private DtoMetadata getMetadataField(String compoundForm)
{
for (DtoMetadata dtom : dtomList)
{
if (dtom.matches(compoundForm, false))
{
return dtom;
}
}
return null;
}
/**
* write undo directory and files to Disk in archive format
*
*
* @param undoDir - the root directory of the undo archive
*/
public void writeUndo(File undoDir)
throws IOException, ParserConfigurationException, TransformerConfigurationException,
TransformerException, FileNotFoundException
{
// create directory for item
File dir = new File(undoDir, dirname);
if (!dir.exists() && !dir.mkdir())
{
log.error("Unable to create undo directory");
}
OutputStream out = null;
try
{
out = new FileOutputStream(new File(dir, "dublin_core.xml"));
Document doc = MetadataUtilities.writeDublinCore(getDocumentBuilder(), undoDtomList);
MetadataUtilities.writeDocument(doc, getTransformer(), out);
// if undo has delete bitstream
if (undoAddContents.size() > 0)
{
PrintWriter pw = null;
try
{
File f = new File(dir, ItemUpdate.DELETE_CONTENTS_FILE);
pw = new PrintWriter(new BufferedWriter(new FileWriter(f)));
for (Integer i : undoAddContents)
{
pw.println(i);
}
}
finally
{
pw.close();
}
}
}
finally
{
if (out != null)
{
out.close();
}
}
}
} //end class

View File

@@ -0,0 +1,610 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FilenameFilter;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.HelpFormatter;
import org.apache.commons.cli.Option;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.PosixParser;
import org.dspace.content.Item;
import org.dspace.core.ConfigurationManager;
import org.dspace.core.Context;
import org.dspace.eperson.EPerson;
/**
*
* Provides some batch editing capabilities for items in DSpace:
* Metadata fields - Add, Delete
* Bitstreams - Add, Delete
*
* The design has been for compatibility with ItemImporter
* in the use of the DSpace archive format which is used to
* specify changes on a per item basis. The directory names
* to correspond to each item are arbitrary and will only be
* used for logging purposes. The reference to the item is
* from a required dc.identifier with the item handle to be
* included in the dublin_core.xml (or similar metadata) file.
*
* Any combination of these actions is permitted in a single run of this class
* The order of actions is important when used in combination.
* It is the responsibility of the calling class (here, ItemUpdate)
* to register UpdateAction classes in the order to which they are
* to be performed.
*
*
* It is unfortunate that so much code needs to be borrowed
* from ItemImport as it is not reusable in private methods, etc.
* Some of this has been placed into the MetadataUtilities class
* for possible reuse elsewhere.
*
*
* @author W. Hays based on a conceptual design by R. Rodgers
*
*/
public class ItemUpdate {
public static final String SUPPRESS_UNDO_FILENAME = "suppress_undo";
public static final String CONTENTS_FILE = "contents";
public static final String DELETE_CONTENTS_FILE = "delete_contents";
public static String HANDLE_PREFIX = null;
public static final Map<String, String> filterAliases = new HashMap<String, String>();
public static boolean verbose = false;
static
{
filterAliases.put("ORIGINAL", "org.dspace.app.itemupdate.OriginalBitstreamFilter");
filterAliases.put("ORIGINAL_AND_DERIVATIVES", "org.dspace.app.itemupdate.OriginalWithDerivativesBitstreamFilter");
filterAliases.put("TEXT", "org.dspace.app.itemupdate.DerivativeTextBitstreamFilter");
filterAliases.put("THUMBNAIL", "org.dspace.app.itemupdate.ThumbnailBitstreamFilter");
}
// File listing filter to check for folders
static FilenameFilter directoryFilter = new FilenameFilter()
{
public boolean accept(File dir, String n)
{
File f = new File(dir.getAbsolutePath() + File.separatorChar + n);
return f.isDirectory();
}
};
// File listing filter to check for files (not directories)
static FilenameFilter fileFilter = new FilenameFilter()
{
public boolean accept(File dir, String n)
{
File f = new File(dir.getAbsolutePath() + File.separatorChar + n);
return (f.isFile());
}
};
// instance variables
private ActionManager actionMgr = new ActionManager();
private List<String> undoActionList = new ArrayList<String>();
private String eperson;
/**
*
* @param argv
*/
public static void main(String[] argv)
{
// create an options object and populate it
CommandLineParser parser = new PosixParser();
Options options = new Options();
//processing basis for determining items
//item-specific changes with metadata in source directory with dublin_core.xml files
options.addOption("s", "source", true, "root directory of source dspace archive ");
//actions on items
options.addOption("a", "addmetadata", true, "add metadata specified for each item; multiples separated by semicolon ';'");
options.addOption("d", "deletemetadata", true, "delete metadata specified for each item");
options.addOption("A", "addbitstreams", false, "add bitstreams as specified for each item");
// extra work to get optional argument
Option delBitstreamOption = new Option("D", "deletebitstreams", true, "delete bitstreams as specified for each item");
delBitstreamOption.setOptionalArg(true);
delBitstreamOption.setArgName("BitstreamFilter");
options.addOption(delBitstreamOption);
//other params
options.addOption("e", "eperson", true, "email of eperson doing the update");
options.addOption("i", "itemfield", true, "optional metadata field that containing item identifier; default is dc.identifier.uri");
options.addOption("F", "filter-properties", true, "filter class name; only for deleting bitstream");
options.addOption("v", "verbose", false, "verbose logging");
//special run states
options.addOption("t", "test", false, "test run - do not actually import items");
options.addOption("P", "provenance", false, "suppress altering provenance field for bitstream changes");
options.addOption("h", "help", false, "help");
int status = 0;
boolean isTest = false;
boolean alterProvenance = true;
String itemField = null;
String metadataIndexName = null;
Context context = null;
ItemUpdate iu = new ItemUpdate();
try
{
CommandLine line = parser.parse(options, argv);
if (line.hasOption('h'))
{
HelpFormatter myhelp = new HelpFormatter();
myhelp.printHelp("ItemUpdate", options);
pr("");
pr("Examples:");
pr(" adding metadata: ItemUpdate -e jsmith@mit.edu -s sourcedir -a dc.contributor -a dc.subject ");
pr(" deleting metadata: ItemUpdate -e jsmith@mit.edu -s sourcedir -d dc.description.other");
pr(" adding bitstreams: ItemUpdate -e jsmith@mit.edu -s sourcedir -A -i dc.identifier");
pr(" deleting bitstreams: ItemUpdate -e jsmith@mit.edu -s sourcedir -D ORIGINAL ");
pr("");
System.exit(0);
}
if (line.hasOption('v'))
{
verbose = true;
}
if (line.hasOption('P'))
{
alterProvenance = false;
pr("Suppressing changes to Provenance field option");
}
iu.eperson = line.getOptionValue('e'); // db ID or email
if (!line.hasOption('s')) // item specific changes from archive dir
{
pr("Missing source archive option");
System.exit(1);
}
String sourcedir = line.getOptionValue('s');
if (line.hasOption('t')) //test
{
isTest = true;
pr("**Test Run** - not actually updating items.");
}
if (line.hasOption('i'))
{
itemField = line.getOptionValue('i');
}
if (line.hasOption('d'))
{
String[] targetFields = line.getOptionValues('d');
DeleteMetadataAction delMetadataAction = (DeleteMetadataAction) iu.actionMgr.getUpdateAction(DeleteMetadataAction.class);
delMetadataAction.addTargetFields(targetFields);
//undo is an add
for (String field : targetFields)
{
iu.undoActionList.add(" -a " + field + " ");
}
pr("Delete metadata for fields: ");
for (String s : targetFields)
{
pr(" " + s);
}
}
if (line.hasOption('a'))
{
String[] targetFields = line.getOptionValues('a');
AddMetadataAction addMetadataAction = (AddMetadataAction) iu.actionMgr.getUpdateAction(AddMetadataAction.class);
addMetadataAction.addTargetFields(targetFields);
//undo is a delete followed by an add of a replace record for target fields
for (String field : targetFields)
{
iu.undoActionList.add(" -d " + field + " ");
}
for (String field : targetFields)
{
iu.undoActionList.add(" -a " + field + " ");
}
pr("Add metadata for fields: ");
for (String s : targetFields)
{
pr(" " + s);
}
}
if (line.hasOption('D')) // undo not supported
{
pr("Delete bitstreams ");
String[] filterNames = line.getOptionValues('D');
if ((filterNames != null) && (filterNames.length > 1))
{
pr("Error: Only one filter can be a used at a time.");
System.exit(1);
}
String filterName = line.getOptionValue('D');
pr("Filter argument: " + filterName);
if (filterName == null) // indicates using delete_contents files
{
DeleteBitstreamsAction delAction = (DeleteBitstreamsAction) iu.actionMgr.getUpdateAction(DeleteBitstreamsAction.class);
delAction.setAlterProvenance(alterProvenance);
}
else
{
// check if param is on ALIAS list
String filterClassname = filterAliases.get(filterName);
if (filterClassname == null)
{
filterClassname = filterName;
}
BitstreamFilter filter = null;
try
{
Class<?> cfilter = Class.forName(filterClassname);
pr("BitstreamFilter class to instantiate: " + cfilter.toString());
filter = (BitstreamFilter) cfilter.newInstance(); //unfortunate cast, an erasure consequence
}
catch(Exception e)
{
pr("Error: Failure instantiating bitstream filter class: " + filterClassname);
System.exit(1);
}
String filterPropertiesName = line.getOptionValue('F');
if (filterPropertiesName != null) //not always required
{
try
{
// TODO try multiple relative locations, e.g. source dir
if (!filterPropertiesName.startsWith("/"))
{
filterPropertiesName = sourcedir + File.separator + filterPropertiesName;
}
filter.initProperties(filterPropertiesName);
}
catch(Exception e)
{
pr("Error: Failure finding properties file for bitstream filter class: " + filterPropertiesName);
System.exit(1);
}
}
DeleteBitstreamsByFilterAction delAction =
(DeleteBitstreamsByFilterAction) iu.actionMgr.getUpdateAction(DeleteBitstreamsByFilterAction.class);
delAction.setAlterProvenance(alterProvenance);
delAction.setBitstreamFilter(filter);
//undo not supported
}
}
if (line.hasOption('A'))
{
pr("Add bitstreams ");
AddBitstreamsAction addAction = (AddBitstreamsAction) iu.actionMgr.getUpdateAction(AddBitstreamsAction.class);
addAction.setAlterProvenance(alterProvenance);
iu.undoActionList.add(" -D "); // delete_contents file will be written, no arg required
}
if (!iu.actionMgr.hasActions())
{
pr("Error - an action must be specified");
System.exit(1);
}
else
{
pr("Actions to be performed: ");
for (UpdateAction ua : iu.actionMgr)
{
pr(" " + ua.getClass().getName());
}
}
pr("ItemUpdate - initializing run on " + (new Date()).toString());
context = new Context();
iu.setEPerson(context, iu.eperson);
context.setIgnoreAuthorization(true);
HANDLE_PREFIX = ConfigurationManager.getProperty("handle.canonical.prefix");
if (HANDLE_PREFIX == null || HANDLE_PREFIX.length() == 0)
{
HANDLE_PREFIX = "http://hdl.handle.net/";
}
iu.processArchive(context, sourcedir, itemField, metadataIndexName, alterProvenance, isTest);
context.complete(); // complete all transactions
context.setIgnoreAuthorization(false);
}
catch (Exception e)
{
if (context != null && context.isValid())
{
context.abort();
context.setIgnoreAuthorization(false);
}
e.printStackTrace();
pr(e.toString());
status = 1;
}
if (isTest)
{
pr("***End of Test Run***");
}
else
{
pr("End.");
}
System.exit(status);
}
private void processArchive(Context context, String sourceDirPath, String itemField,
String metadataIndexName, boolean alterProvenance, boolean isTest)
throws Exception
{
// open and process the source directory
File sourceDir = new File(sourceDirPath);
if ((sourceDir == null) || !sourceDir.exists() || !sourceDir.isDirectory())
{
pr("Error, cannot open archive source directory " + sourceDirPath);
throw new Exception("error with archive source directory " + sourceDirPath);
}
String[] dircontents = sourceDir.list(directoryFilter); //just the names, not the path
Arrays.sort(dircontents);
//Undo is suppressed to prevent undo of undo
boolean suppressUndo = false;
File fSuppressUndo = new File(sourceDir, SUPPRESS_UNDO_FILENAME);
if (fSuppressUndo.exists())
{
suppressUndo = true;
}
File undoDir = null; //sibling directory of source archive
if (!suppressUndo && !isTest)
{
undoDir = initUndoArchive(sourceDir);
}
int itemCount = 0;
int successItemCount = 0;
for (String dirname : dircontents)
{
itemCount++;
pr("");
pr("processing item " + dirname);
try
{
ItemArchive itarch = ItemArchive.create(context, new File(sourceDir, dirname), itemField);
for (UpdateAction action : actionMgr)
{
pr("action: " + action.getClass().getName());
action.execute(context, itarch, isTest, suppressUndo);
if (!isTest && !suppressUndo)
{
itarch.writeUndo(undoDir);
}
}
if (!isTest)
{
Item item = itarch.getItem();
item.update(); //need to update before commit
context.commit();
item.decache();
}
ItemUpdate.pr("Item " + dirname + " completed");
successItemCount++;
}
catch(Exception e)
{
pr("Exception processing item " + dirname + ": " + e.toString());
e.printStackTrace();
}
}
if (!suppressUndo && !isTest)
{
StringBuilder sb = new StringBuilder("dsrun org.dspace.app.itemupdate.ItemUpdate ");
sb.append(" -e ").append(this.eperson);
sb.append(" -s ").append(undoDir);
if (itemField != null)
{
sb.append(" -i ").append(itemField);
}
if (!alterProvenance)
{
sb.append(" -P ");
}
if (isTest)
{
sb.append(" -t ");
}
for (String actionOption : undoActionList)
{
sb.append(actionOption);
}
PrintWriter pw = null;
try
{
File cmdFile = new File (undoDir.getParent(), undoDir.getName() + "_command.sh");
pw = new PrintWriter(new BufferedWriter(new FileWriter(cmdFile)));
pw.println(sb.toString());
}
finally
{
pw.close();
}
}
pr("");
pr("Done processing. Successful items: " + successItemCount + " of " + itemCount + " items in source archive");
pr("");
}
/**
*
* to avoid overwriting the undo source tree on repeated processing
* sequence numbers are added and checked
*
* @param sourceDir - the original source directory
* @return the directory of the undo archive
* @throws FileNotFoundException
* @throws IOException
*/
private File initUndoArchive(File sourceDir)
throws FileNotFoundException, IOException
{
File parentDir = sourceDir.getCanonicalFile().getParentFile();
if (parentDir == null)
{
throw new FileNotFoundException("Parent directory of archive directory not found; unable to write UndoArchive; no processing performed");
}
String sourceDirName = sourceDir.getName();
int seqNo = 1;
File undoDir = new File(parentDir, "undo_" + sourceDirName + "_" + seqNo);
while (undoDir.exists())
{
undoDir = new File(parentDir, "undo_" + sourceDirName+ "_" + ++seqNo); //increment
}
// create root directory
if (!undoDir.mkdir())
{
pr("ERROR creating Undo Archive directory " + undoDir.getCanonicalPath());
throw new IOException("ERROR creating Undo Archive directory " + undoDir.getCanonicalPath());
}
//Undo is suppressed to prevent undo of undo
File fSuppressUndo = new File(undoDir, ItemUpdate.SUPPRESS_UNDO_FILENAME);
try
{
fSuppressUndo.createNewFile();
}
catch(IOException e)
{
pr("ERROR creating Suppress Undo File " + e.toString());
throw e;
}
return undoDir;
}
//private void write
private void setEPerson(Context context, String eperson)
throws Exception
{
if (eperson == null)
{
pr("Error - an eperson to do the importing must be specified");
pr(" (run with -h flag for details)");
throw new Exception("EPerson not specified."); }
EPerson myEPerson = null;
if (eperson.indexOf('@') != -1)
{
// @ sign, must be an email
myEPerson = EPerson.findByEmail(context, eperson);
}
else
{
myEPerson = EPerson.find(context, Integer.parseInt(eperson));
}
if (myEPerson == null)
{
pr("Error, eperson cannot be found: " + eperson);
throw new Exception("Invalid EPerson");
}
context.setCurrentUser(myEPerson);
}
/**
* poor man's logging
* As with ItemImport, API logging goes through log4j to the DSpace.log files
* whereas the batch logging goes to the console to be captured there.
* @param s
*/
static void pr(String s)
{
System.out.println(s);
}
/**
* print if verbose flag is set
* @param s
*/
static void prv(String s)
{
if (verbose)
{
System.out.println(s);
}
}
} //end of class

View File

@@ -0,0 +1,529 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.InputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.sql.SQLException;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Result;
import javax.xml.transform.Source;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerConfigurationException;
import javax.xml.transform.TransformerException;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.apache.commons.lang.StringUtils;
import org.apache.xpath.XPathAPI;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
import org.dspace.authorize.AuthorizeException;
import org.dspace.content.Metadatum;
import org.dspace.content.Item;
import org.dspace.content.MetadataSchema;
import org.dspace.core.ConfigurationManager;
/**
* Miscellaneous methods for metadata handling that build on the API
* which might have general utility outside of the specific use
* in context in ItemUpdate.
*
* The XML methods were based on those in ItemImport
*
*
*/
public class MetadataUtilities {
/**
*
* Working around Item API to delete a value-specific Metadatum
For a given element/qualifier/lang:
get all DCValues
clear (i.e. delete) all of these DCValues
* add them back, minus the one to actually delete
*
*
* @param item
* @param dtom
* @param isLanguageStrict -
*
* @return true if metadata field is found with matching value and was deleted
*/
public static boolean deleteMetadataByValue(Item item, DtoMetadata dtom, boolean isLanguageStrict)
{
Metadatum[] ar = null;
if (isLanguageStrict)
{ // get all for given type
ar = item.getMetadata(dtom.schema, dtom.element, dtom.qualifier, dtom.language);
}
else
{
ar = item.getMetadata(dtom.schema, dtom.element, dtom.qualifier, Item.ANY);
}
boolean found = false;
//build new set minus the one to delete
List<String> vals = new ArrayList<String>();
for (Metadatum dcv : ar)
{
if (dcv.value.equals(dtom.value))
{
found = true;
}
else
{
vals.add(dcv.value);
}
}
if (found) //remove all for given type ??synchronize this block??
{
if (isLanguageStrict)
{
item.clearMetadata(dtom.schema, dtom.element, dtom.qualifier, dtom.language);
}
else
{
item.clearMetadata(dtom.schema, dtom.element, dtom.qualifier, Item.ANY);
}
item.addMetadata(dtom.schema, dtom.element, dtom.qualifier, dtom.language, vals.toArray(new String[vals.size()]));
}
return found;
}
/**
* Append text to value metadata field to item
*
* @param item
* @param dtom
* @param isLanguageStrict
* @param textToAppend
* @throws IllegalArgumentException - When target metadata field is not found
*/
public static void appendMetadata(Item item, DtoMetadata dtom, boolean isLanguageStrict,
String textToAppend)
throws IllegalArgumentException
{
Metadatum[] ar = null;
// get all values for given element/qualifier
if (isLanguageStrict) // get all for given element/qualifier
{
ar = item.getMetadata(dtom.schema, dtom.element, dtom.qualifier, dtom.language);
}
else
{
ar = item.getMetadata(dtom.schema, dtom.element, dtom.qualifier, Item.ANY);
}
if (ar.length == 0)
{
throw new IllegalArgumentException("Metadata to append to not found");
}
int idx = 0; //index of field to change
if (ar.length > 1) //need to pick one, can't be sure it's the last one
{
// TODO maybe get highest id ?
}
//build new set minus the one to delete
List<String> vals = new ArrayList<String>();
for (int i=0; i < ar.length; i++)
{
if (i == idx)
{
vals.add(ar[i].value + textToAppend);
}
else
{
vals.add(ar[i].value);
}
}
if (isLanguageStrict)
{
item.clearMetadata(dtom.schema, dtom.element, dtom.qualifier, dtom.language);
}
else
{
item.clearMetadata(dtom.schema, dtom.element, dtom.qualifier, Item.ANY);
}
item.addMetadata(dtom.schema, dtom.element, dtom.qualifier, dtom.language, vals.toArray(new String[vals.size()]));
}
/**
* Modification of method from ItemImporter.loadDublinCore
* as a Factory method
*
* @param docBuilder -
* @param is - InputStream of dublin_core.xml
* @return list of DtoMetadata representing the metadata fields relating to an Item
* @throws SQLException
* @throws IOException
* @throws ParserConfigurationException
* @throws SAXException
* @throws TransformerException
* @throws AuthorizeException
*/
public static List<DtoMetadata> loadDublinCore(DocumentBuilder docBuilder, InputStream is)
throws SQLException, IOException, ParserConfigurationException,
SAXException, TransformerException, AuthorizeException
{
Document document = docBuilder.parse(is);
List<DtoMetadata> dtomList = new ArrayList<DtoMetadata>();
// Get the schema, for backward compatibility we will default to the
// dublin core schema if the schema name is not available in the import file
String schema = null;
NodeList metadata = XPathAPI.selectNodeList(document, "/dublin_core");
Node schemaAttr = metadata.item(0).getAttributes().getNamedItem("schema");
if (schemaAttr == null)
{
schema = MetadataSchema.DC_SCHEMA;
}
else
{
schema = schemaAttr.getNodeValue();
}
// Get the nodes corresponding to formats
NodeList dcNodes = XPathAPI.selectNodeList(document, "/dublin_core/dcvalue");
for (int i = 0; i < dcNodes.getLength(); i++)
{
Node n = dcNodes.item(i);
String value = getStringValue(n).trim();
// compensate for empty value getting read as "null", which won't display
if (value == null)
{
value = "";
}
String element = getAttributeValue(n, "element");
if (element != null)
{
element = element.trim();
}
String qualifier = getAttributeValue(n, "qualifier");
if (qualifier != null)
{
qualifier = qualifier.trim();
}
String language = getAttributeValue(n, "language");
if (language != null)
{
language = language.trim();
}
if ("none".equals(qualifier) || "".equals(qualifier))
{
qualifier = null;
}
// a goofy default, but consistent with DSpace treatment elsewhere
if (language == null)
{
language = "en";
}
else if ("".equals(language))
{
language = ConfigurationManager.getProperty("default.language");
}
DtoMetadata dtom = DtoMetadata.create(schema, element, qualifier, language, value);
ItemUpdate.pr(dtom.toString());
dtomList.add(dtom);
}
return dtomList;
}
/**
* Write dublin_core.xml
*
* @param docBuilder
* @param dtomList
* @return xml document
* @throws ParserConfigurationException
* @throws TransformerConfigurationException
* @throws TransformerException
*/
public static Document writeDublinCore(DocumentBuilder docBuilder, List<DtoMetadata> dtomList)
throws ParserConfigurationException, TransformerConfigurationException, TransformerException
{
Document doc = docBuilder.newDocument();
Element root = doc.createElement("dublin_core");
doc.appendChild(root);
for (DtoMetadata dtom : dtomList)
{
Element mel = doc.createElement("dcvalue");
mel.setAttribute("element", dtom.element);
if (dtom.qualifier == null)
{
mel.setAttribute("qualifier", "none");
}
else
{
mel.setAttribute("qualifier", dtom.qualifier);
}
if (StringUtils.isEmpty(dtom.language))
{
mel.setAttribute("language", "en");
}
else
{
mel.setAttribute("language", dtom.language);
}
mel.setTextContent(dtom.value);
root.appendChild(mel);
}
return doc;
}
/**
* write xml document to output stream
* @param doc
* @param transformer
* @param out
* @throws IOException
* @throws TransformerException
*/
public static void writeDocument(Document doc, Transformer transformer, OutputStream out)
throws IOException, TransformerException
{
Source src = new DOMSource(doc);
Result dest = new StreamResult(out);
transformer.transform(src, dest);
}
// XML utility methods
/**
* Lookup an attribute from a DOM node.
* @param n
* @param name
* @return
*/
private static String getAttributeValue(Node n, String name)
{
NamedNodeMap nm = n.getAttributes();
for (int i = 0; i < nm.getLength(); i++)
{
Node node = nm.item(i);
if (name.equals(node.getNodeName()))
{
return node.getNodeValue();
}
}
return "";
}
/**
* Return the String value of a Node.
* @param node
* @return
*/
private static String getStringValue(Node node)
{
String value = node.getNodeValue();
if (node.hasChildNodes())
{
Node first = node.getFirstChild();
if (first.getNodeType() == Node.TEXT_NODE)
{
return first.getNodeValue();
}
}
return value;
}
/**
* Rewrite of ItemImport's functionality
* but just the parsing of the file, not the processing of its elements.
*
* @validate flag to verify matching files in tree
*/
public static List<ContentsEntry> readContentsFile(File f)
throws FileNotFoundException, IOException, ParseException
{
List<ContentsEntry> list = new ArrayList<ContentsEntry>();
BufferedReader in = null;
try
{
in = new BufferedReader(new FileReader(f));
String line = null;
while ((line = in.readLine()) != null)
{
line = line.trim();
if ("".equals(line))
{
continue;
}
ItemUpdate.pr("Contents entry: " + line);
list.add(ContentsEntry.parse(line));
}
}
finally
{
try
{
in.close();
}
catch(IOException e)
{
//skip
}
}
return list;
}
/**
*
* @param f
* @throws FileNotFoundException
* @throws IOException
*/
public static List<Integer> readDeleteContentsFile(File f)
throws FileNotFoundException, IOException
{
List<Integer> list = new ArrayList<Integer>();
BufferedReader in = null;
try
{
in = new BufferedReader(new FileReader(f));
String line = null;
while ((line = in.readLine()) != null)
{
line = line.trim();
if ("".equals(line))
{
continue;
}
int n = 0;
try
{
n = Integer.parseInt(line);
list.add(n);
}
catch(NumberFormatException e)
{
ItemUpdate.pr("Error reading delete contents line:" + e.toString());
}
}
}
finally
{
try
{
in.close();
}
catch(IOException e)
{
//skip
}
}
return list;
}
/**
* Get display of Metadatum
*
* @param dcv
* @return string displaying elements of the Metadatum
*/
public static String getDCValueString(Metadatum dcv)
{
return "schema: " + dcv.schema + "; element: " + dcv.element + "; qualifier: " + dcv.qualifier +
"; language: " + dcv.language + "; value: " + dcv.value;
}
/**
*
* @return a String representation of the two- or three-part form of a metadata element
* e.g. dc.identifier.uri
*/
public static String getCompoundForm(String schema, String element, String qualifier)
{
StringBuilder sb = new StringBuilder();
sb.append(schema).append(".").append(element);
if (qualifier != null)
{
sb.append(".").append(qualifier);
}
return sb.toString();
}
/**
* Parses metadata field given in the form <schema>.<element>[.<qualifier>|.*]
* checks for correct number of elements (2 or 3) and for empty strings
*
* @return String Array
* @throws ParseException if validity checks fail
*
*/
public static String[] parseCompoundForm(String compoundForm)
throws ParseException
{
String[] ar = compoundForm.split("\\s*\\.\\s*"); //trim ends
if ("".equals(ar[0]))
{
throw new ParseException("schema is empty string: " + compoundForm, 0);
}
if ((ar.length < 2) || (ar.length > 3) || "".equals(ar[1]))
{
throw new ParseException("element is malformed or empty string: " + compoundForm, 0);
}
return ar;
}
}

View File

@@ -0,0 +1,55 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.sql.SQLException;
import org.dspace.content.Bitstream;
import org.dspace.content.Bundle;
/**
* Filter all bitstreams in the ORIGINAL bundle
* Also delete all derivative bitstreams, i.e.
* all bitstreams in the TEXT and THUMBNAIL bundles
*/
public class OriginalBitstreamFilter extends BitstreamFilterByBundleName
{
public OriginalBitstreamFilter()
{
//empty
}
/**
* Tests bitstreams for containment in an ORIGINAL bundle
*
* @return true if the bitstream is in the ORIGINAL bundle
*
* @throws BitstreamFilterException
*/
public boolean accept(Bitstream bitstream)
throws BitstreamFilterException
{
try
{
Bundle[] bundles = bitstream.getBundles();
for (Bundle b : bundles)
{
if (b.getName().equals("ORIGINAL"))
{
return true;
}
}
}
catch(SQLException e)
{
throw new BitstreamFilterException(e);
}
return false;
}
}

View File

@@ -0,0 +1,59 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.sql.SQLException;
import org.dspace.content.Bitstream;
import org.dspace.content.Bundle;
/**
* Filter all bitstreams in the ORIGINAL bundle
* Also delete all derivative bitstreams, i.e.
* all bitstreams in the TEXT and THUMBNAIL bundles
*/
public class OriginalWithDerivativesBitstreamFilter extends BitstreamFilter
{
private String[] bundlesToEmpty = { "ORIGINAL", "TEXT", "THUMBNAIL" };
public OriginalWithDerivativesBitstreamFilter()
{
//empty
}
/**
* Tests bitstream for membership in specified bundles (ORIGINAL, TEXT, THUMBNAIL)
*
* @param bitstream
* @throws BitstreamFilterException
* @return true if bitstream is in specified bundles
*/
public boolean accept(Bitstream bitstream)
throws BitstreamFilterException
{
try
{
Bundle[] bundles = bitstream.getBundles();
for (Bundle b : bundles)
{
for (String bn : bundlesToEmpty)
{
if (b.getName().equals(bn))
{
return true;
}
}
}
}
catch(SQLException e)
{
throw new BitstreamFilterException(e);
}
return false;
}
}

View File

@@ -0,0 +1,24 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.util.Properties;
/**
* Bitstream filter targetting the THUMBNAIL bundle
*
*/
public class ThumbnailBitstreamFilter extends BitstreamFilterByBundleName {
public ThumbnailBitstreamFilter()
{
props = new Properties();
props.setProperty("bundle", "THUMBNAIL");
}
}

View File

@@ -0,0 +1,30 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import org.dspace.core.Context;
/**
* Interface for actions to update an item
*
*/
public interface UpdateAction
{
/**
* Action to update item
*
* @param context
* @param itarch
* @param isTest
* @param suppressUndo
* @throws Exception
*/
public void execute(Context context, ItemArchive itarch, boolean isTest, boolean suppressUndo)
throws Exception;
}

View File

@@ -0,0 +1,39 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
/**
* Base class for Bitstream actions
*
*
*/
public abstract class UpdateBitstreamsAction implements UpdateAction {
protected boolean alterProvenance = true;
/**
* Set variable to indicate that the dc.description.provenance field may
* be changed as a result of Bitstream changes by ItemUpdate
* @param alterProvenance
*/
public void setAlterProvenance(boolean alterProvenance)
{
this.alterProvenance = alterProvenance;
}
/**
*
* @return boolean value to indicate whether the dc.description.provenance field may
* be changed as a result of Bitstream changes by ItemUpdate
*/
public boolean getAlterProvenance()
{
return alterProvenance;
}
}

View File

@@ -0,0 +1,70 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.itemupdate;
import java.util.HashSet;
import java.util.Set;
/**
* This abstract subclass for metadata actions
* maintains a collection for the target metadata fields
* expressed as a string in the compound notation ( <schema>.<element>.<qualifier> )
* on which to apply the action when the method execute is called.
*
* Implemented as a Set to avoid problems with duplicates
*
*
*/
public abstract class UpdateMetadataAction implements UpdateAction {
protected Set<String> targetFields = new HashSet<String>();
/**
* Get target fields
*
* @return set of fields to update
*/
public Set<String> getTargetFields() {
return targetFields;
}
/**
* Set target fields
*
* @param targetFields
*/
public void addTargetFields(Set<String> targetFields) {
for (String tf : targetFields)
{
this.targetFields.add(tf);
}
}
/**
* Add array of target fields to update
* @param targetFields
*/
public void addTargetFields(String[] targetFields) {
for (String tf : targetFields)
{
this.targetFields.add(tf);
}
}
/**
* Add single field to update
*
* @param targetField
*/
public void addTargetField(String targetField) {
this.targetFields.add(targetField);
}
}

View File

@@ -0,0 +1,107 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.launcher;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.io.StreamTokenizer;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author mwood
*/
public class CommandRunner
{
public static void main(String[] args)
throws FileNotFoundException, IOException
{
if (args.length > 0)
{
runManyCommands(args[0]);
}
else
{
runManyCommands("-");
}
// There is no sensible way to use the status returned by runManyCommands().
// If called from the command line then we would want to return it
// through System.exit(). But if called (normally) from ScriptLauncher,
// there is no way to return it and we don't want to interrupt
// ScriptLauncher.
//
// "'tis a puzzlement." -- the King of Siam
}
/**
* Read a file of command lines and execute each in turn.
*
* @param doc details of recognized commands.
* @param script the file of command lines to be executed.
* @return
* @throws FileNotFoundException
* @throws IOException
*/
static int runManyCommands(String script)
throws FileNotFoundException, IOException
{
Reader input;
if ("-".equals(script))
{
input = new InputStreamReader(System.in);
}
else
{
input = new FileReader(script);
}
StreamTokenizer tokenizer = new StreamTokenizer(input);
tokenizer.eolIsSignificant(true);
tokenizer.ordinaryChar('-');
tokenizer.wordChars('-', '-');
tokenizer.ordinaryChars('0', '9');
tokenizer.wordChars('0', '9');
tokenizer.ordinaryChar('.');
tokenizer.wordChars('.', '.');
tokenizer.ordinaryChar('@');
tokenizer.wordChars('@', '@');
int status = 0;
List<String> tokens = new ArrayList<String>();
while (StreamTokenizer.TT_EOF != tokenizer.nextToken())
{
if (StreamTokenizer.TT_EOL == tokenizer.ttype)
{
if (tokens.size() > 0)
{
status = ScriptLauncher.runOneCommand(tokens.toArray(new String[tokens.size()]));
if (status > 0)
{
break;
}
tokens.clear();
}
}
else
{
tokens.add(tokenizer.sval);
}
}
return status;
}
}

View File

@@ -0,0 +1,286 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.launcher;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.lang.reflect.Method;
import java.util.List;
import org.dspace.core.ConfigurationManager;
import org.dspace.servicemanager.DSpaceKernelImpl;
import org.dspace.servicemanager.DSpaceKernelInit;
import org.dspace.services.RequestService;
import org.jdom.Document;
import org.jdom.Element;
import org.jdom.input.SAXBuilder;
/**
* A DSpace script launcher.
*
* @author Stuart Lewis
* @author Mark Diggory
*/
public class ScriptLauncher
{
/** The service manager kernel */
private static transient DSpaceKernelImpl kernelImpl;
/** Definitions of all commands. */
private static final Document commandConfigs = getConfig();
/**
* Execute the DSpace script launcher
*
* @param args Any parameters required to be passed to the scripts it executes
*/
public static void main(String[] args)
throws FileNotFoundException, IOException
{
// Check that there is at least one argument
if (args.length < 1)
{
System.err.println("You must provide at least one command argument");
display();
System.exit(1);
}
// Initialise the service manager kernel
try {
kernelImpl = DSpaceKernelInit.getKernel(null);
if (!kernelImpl.isRunning())
{
kernelImpl.start(ConfigurationManager.getProperty("dspace.dir"));
}
} catch (Exception e)
{
// Failed to start so destroy it and log and throw an exception
try
{
kernelImpl.destroy();
}
catch (Exception e1)
{
// Nothing to do
}
String message = "Failure during filter init: " + e.getMessage();
System.err.println(message + ":" + e);
throw new IllegalStateException(message, e);
}
// Look up command in the configuration, and execute.
int status;
status = runOneCommand(args);
// Destroy the service kernel if it is still alive
if (kernelImpl != null)
{
kernelImpl.destroy();
kernelImpl = null;
}
System.exit(status);
}
/**
* Recognize and execute a single command.
* @param doc
* @param args
*/
static int runOneCommand(String[] args)
{
String request = args[0];
Element root = commandConfigs.getRootElement();
List<Element> commands = root.getChildren("command");
Element command = null;
for (Element candidate : commands)
{
if (request.equalsIgnoreCase(candidate.getChild("name").getValue()))
{
command = candidate;
break;
}
}
if (null == command)
{
// The command wasn't found
System.err.println("Command not found: " + args[0]);
display();
return 1;
}
// Run each step
List<Element> steps = command.getChildren("step");
for (Element step : steps)
{
// Instantiate the class
Class target = null;
// Is it the special case 'dsrun' where the user provides the class name?
String className;
if ("dsrun".equals(request))
{
if (args.length < 2)
{
System.err.println("Error in launcher.xml: Missing class name");
return 1;
}
className = args[1];
}
else {
className = step.getChild("class").getValue();
}
try
{
target = Class.forName(className,
true,
Thread.currentThread().getContextClassLoader());
}
catch (ClassNotFoundException e)
{
System.err.println("Error in launcher.xml: Invalid class name: " + className);
return 1;
}
// Strip the leading argument from the args, and add the arguments
// Set <passargs>false</passargs> if the arguments should not be passed on
String[] useargs = args.clone();
Class[] argTypes = {useargs.getClass()};
boolean passargs = true;
if ((step.getAttribute("passuserargs") != null) &&
("false".equalsIgnoreCase(step.getAttribute("passuserargs").getValue())))
{
passargs = false;
}
if ((args.length == 1) || (("dsrun".equals(request)) && (args.length == 2)) || (!passargs))
{
useargs = new String[0];
}
else
{
// The number of arguments to ignore
// If dsrun is the command, ignore the next, as it is the class name not an arg
int x = 1;
if ("dsrun".equals(request))
{
x = 2;
}
String[] argsnew = new String[useargs.length - x];
for (int i = x; i < useargs.length; i++)
{
argsnew[i - x] = useargs[i];
}
useargs = argsnew;
}
// Add any extra properties
List<Element> bits = step.getChildren("argument");
if (step.getChild("argument") != null)
{
String[] argsnew = new String[useargs.length + bits.size()];
int i = 0;
for (Element arg : bits)
{
argsnew[i++] = arg.getValue();
}
for (; i < bits.size() + useargs.length; i++)
{
argsnew[i] = useargs[i - bits.size()];
}
useargs = argsnew;
}
// Establish the request service startup
RequestService requestService = kernelImpl.getServiceManager().getServiceByName(
RequestService.class.getName(), RequestService.class);
if (requestService == null)
{
throw new IllegalStateException(
"Could not get the DSpace RequestService to start the request transaction");
}
// Establish a request related to the current session
// that will trigger the various request listeners
requestService.startRequest();
// Run the main() method
try
{
Object[] arguments = {useargs};
// Useful for debugging, so left in the code...
/**System.out.print("About to execute: " + className);
for (String param : useargs)
{
System.out.print(" " + param);
}
System.out.println("");**/
Method main = target.getMethod("main", argTypes);
main.invoke(null, arguments);
// ensure we close out the request (happy request)
requestService.endRequest(null);
}
catch (Exception e)
{
// Failure occurred in the request so we destroy it
requestService.endRequest(e);
// Exceptions from the script are reported as a 'cause'
Throwable cause = e.getCause();
System.err.println("Exception: " + cause.getMessage());
cause.printStackTrace();
return 1;
}
}
// Everything completed OK
return 0;
}
/**
* Load the launcher configuration file
*
* @return The XML configuration file Document
*/
private static Document getConfig()
{
// Load the launcher configuration file
String config = ConfigurationManager.getProperty("dspace.dir") +
System.getProperty("file.separator") + "config" +
System.getProperty("file.separator") + "launcher.xml";
SAXBuilder saxBuilder = new SAXBuilder();
Document doc = null;
try
{
doc = saxBuilder.build(config);
}
catch (Exception e)
{
System.err.println("Unable to load the launcher configuration file: [dspace]/config/launcher.xml");
System.err.println(e.getMessage());
System.exit(1);
}
return doc;
}
/**
* Display the commands that the current launcher config file knows about
*/
private static void display()
{
List<Element> commands = commandConfigs.getRootElement().getChildren("command");
System.out.println("Usage: dspace [command-name] {parameters}");
for (Element command : commands)
{
System.out.println(" - " + command.getChild("name").getValue() +
": " + command.getChild("description").getValue());
}
}
}

View File

@@ -0,0 +1,162 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
import java.awt.image.BufferedImage;
import java.awt.Color;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics2D;
import java.awt.Rectangle;
/**
* Class to attach a footer to an image using ImageMagick.
* Thanks Ninh Nguyen from the National Library of Australia for providing the source code.
* This version of the code is basically Ninh's but reorganised a little. Used with permission.
*/
public class Brand
{
private int brandWidth;
private int brandHeight;
private Font font;
private int xOffset;
/**
* Constructor to set up footer image attributes.
*
* @param brandWidth length of the footer in pixels
* @param brandHeight height of the footer in pixels
* @param font font to use for text on the footer
* @param xOffset number of pixels text should be indented from left-hand side of footer
*
*/
public Brand(int brandWidth,
int brandHeight,
Font font,
int xOffset)
{
this.brandWidth = brandWidth;
this.brandHeight = brandHeight;
this.font = font;
this.xOffset = xOffset;
}
/**
* Create the brand image
*
* @param brandLeftText text that should appear in the bottom left of the image
* @param shortLeftText abbreviated form of brandLeftText that will be substituted if
* the image is resized such that brandLeftText will not fit. <code>null</code> if not
* required
* @param brandRightText text that should appear in the bottom right of the image
*
* @return BufferedImage a BufferedImage object describing the brand image file
*/
public BufferedImage create(String brandLeftText,
String shortLeftText,
String brandRightText)
{
BrandText[] allBrandText = null;
BufferedImage brandImage =
new BufferedImage(brandWidth, brandHeight, BufferedImage.TYPE_INT_RGB);
if (brandWidth >= 350)
{
allBrandText = new BrandText[]
{
new BrandText(BrandText.BL, brandLeftText),
new BrandText(BrandText.BR, brandRightText)
};
}
else if (brandWidth >= 190)
{
allBrandText = new BrandText[]
{
new BrandText(BrandText.BL, shortLeftText),
new BrandText(BrandText.BR, brandRightText)
};
}
else
{
allBrandText = new BrandText[]
{
new BrandText(BrandText.BR, brandRightText)
};
}
if (allBrandText != null && allBrandText.length > 0)
{
for (int i = 0; i < allBrandText.length; ++i)
{
drawImage(brandImage, allBrandText[i]);
}
}
return brandImage;
}
/**
* do the text placements and preparatory work for the brand image generation
*
* @param brandImage a BufferedImage object where the image is created
* @param identifier and Identifier object describing what text is to be placed in what
* position within the brand
*/
private void drawImage(BufferedImage brandImage,
BrandText brandText)
{
int imgWidth = brandImage.getWidth();
int imgHeight = brandImage.getHeight();
int bx, by, tx, ty, bWidth, bHeight;
Graphics2D g2 = brandImage.createGraphics();
g2.setFont(font);
FontMetrics fm = g2.getFontMetrics();
bWidth = fm.stringWidth(brandText.getText()) + xOffset * 2 + 1;
bHeight = fm.getHeight();
bx = 0;
by = 0;
if (brandText.getLocation().equals(BrandText.TL))
{
bx = 0;
by = 0;
}
else if (brandText.getLocation().equals(BrandText.TR))
{
bx = imgWidth - bWidth;
by = 0;
}
else if (brandText.getLocation().equals(BrandText.BL))
{
bx = 0;
by = imgHeight - bHeight;
}
else if (brandText.getLocation().equals(BrandText.BR))
{
bx = imgWidth - bWidth;
by = imgHeight - bHeight;
}
Rectangle box = new Rectangle(bx, by, bWidth, bHeight);
tx = bx + xOffset;
ty = by + fm.getAscent();
g2.setColor(Color.black);
g2.fill(box);
g2.setColor(Color.white);
g2.drawString(brandText.getText(), tx, ty);
}
}

View File

@@ -0,0 +1,85 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
/**
* Identifier class, holding a single item of text and its location
* within a rectangular areas. Allowable locations are any of the four corners.
* This is a copy of Picture Australia's PiObj class re-organised with methods.
* Thanks to Ninh Nguyen at the National Library for providing the original source.
*/
class BrandText
{
/** Bottom Left */
public static final String BL = "bl";
/** Bottom Right */
public static final String BR = "br";
/** Top Left */
public static final String TL = "tl";
/** Top Right */
public static final String TR = "tr";
private String location;
private String text;
/**
* Constructor for an Identifier object containing a text string and
* its location within a rectangular area.
*
* @param location one of the class location constants e.g. <code>Identifier.BL</code>
* @param the text associated with the location
*/
public BrandText(String location, String text)
{
this.location = location;
this.text = text;
}
/**
* get the location the text of the Identifier object is associated with
*
* @return String one the class location constants e.g. <code>Identifier.BL</code>
*/
public String getLocation()
{
return location;
}
/**
* get the text associated with the Identifier object
*
* @return String the text associated with the Identifier object
*/
public String getText()
{
return text;
}
/**
* set the location associated with the Identifier object
*
* @param location one of the class location constants
*/
public void setLocation(String location)
{
this.location = location;
}
/**
* set the text associated with the Identifier object
*
* @param text any text string (typically a branding or identifier)
*/
public void setText(String text)
{
this.text = text;
}
}

View File

@@ -0,0 +1,296 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
import java.awt.Graphics2D;
import java.awt.Color;
import java.awt.image.*;
import java.awt.RenderingHints;
import java.awt.Transparency;
import java.awt.Font;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import javax.imageio.ImageIO;
import org.dspace.core.ConfigurationManager;
/**
* Filter image bitstreams, scaling the image to be within the bounds of
* thumbnail.maxwidth, thumbnail.maxheight, the size we want our thumbnail to be
* no bigger than. Creates only JPEGs.
*
* @author Jason Sherman <jsherman@usao.edu>
*/
public class BrandedPreviewJPEGFilter extends MediaFilter
{
public String getFilteredName(String oldFilename)
{
return oldFilename + ".preview.jpg";
}
/**
* @return String bundle name
*
*/
public String getBundleName()
{
return "BRANDED_PREVIEW";
}
/**
* @return String bitstreamformat
*/
public String getFormatString()
{
return "JPEG";
}
/**
* @return String description
*/
public String getDescription()
{
return "Generated Branded Preview";
}
/**
* @param source
* source input stream
*
* @return InputStream the resulting input stream
*/
public InputStream getDestinationStream(InputStream source)
throws Exception
{
// read in bitstream's image
BufferedImage buf = ImageIO.read(source);
// get config params
float xmax = (float) ConfigurationManager
.getIntProperty("webui.preview.maxwidth");
float ymax = (float) ConfigurationManager
.getIntProperty("webui.preview.maxheight");
boolean blurring = (boolean) ConfigurationManager
.getBooleanProperty("webui.preview.blurring");
boolean hqscaling = (boolean) ConfigurationManager
.getBooleanProperty("webui.preview.hqscaling");
int brandHeight = ConfigurationManager.getIntProperty("webui.preview.brand.height");
String brandFont = ConfigurationManager.getProperty("webui.preview.brand.font");
int brandFontPoint = ConfigurationManager.getIntProperty("webui.preview.brand.fontpoint");
// now get the image dimensions
float xsize = (float) buf.getWidth(null);
float ysize = (float) buf.getHeight(null);
// if verbose flag is set, print out dimensions
// to STDOUT
if (MediaFilterManager.isVerbose)
{
System.out.println("original size: " + xsize + "," + ysize);
}
// scale by x first if needed
if (xsize > xmax)
{
// calculate scaling factor so that xsize * scale = new size (max)
float scaleFactor = xmax / xsize;
// if verbose flag is set, print out extracted text
// to STDOUT
if (MediaFilterManager.isVerbose)
{
System.out.println("x scale factor: " + scaleFactor);
}
// now reduce x size
// and y size
xsize = xsize * scaleFactor;
ysize = ysize * scaleFactor;
// if verbose flag is set, print out extracted text
// to STDOUT
if (MediaFilterManager.isVerbose)
{
System.out.println("new size: " + xsize + "," + ysize);
}
}
// scale by y if needed
if (ysize > ymax)
{
float scaleFactor = ymax / ysize;
// now reduce x size
// and y size
xsize = xsize * scaleFactor;
ysize = ysize * scaleFactor;
}
// if verbose flag is set, print details to STDOUT
if (MediaFilterManager.isVerbose)
{
System.out.println("created thumbnail size: " + xsize + ", "
+ ysize);
}
// create an image buffer for the preview with the new xsize, ysize
// we add
BufferedImage branded = new BufferedImage((int) xsize, (int) ysize + brandHeight,
BufferedImage.TYPE_INT_RGB);
// Use blurring if selected in config.
// a little blur before scaling does wonders for keeping moire in check.
if (blurring)
{
// send the buffered image off to get blurred.
buf = getBlurredInstance((BufferedImage) buf);
}
// Use high quality scaling method if selected in config.
// this has a definite performance penalty.
if (hqscaling)
{
// send the buffered image off to get an HQ downscale.
buf = getScaledInstance((BufferedImage) buf, (int) xsize, (int) ysize,
(Object) RenderingHints.VALUE_INTERPOLATION_BICUBIC, (boolean) true);
}
// now render the image into the preview buffer
Graphics2D g2d = branded.createGraphics();
g2d.drawImage(buf, 0, 0, (int) xsize, (int) ysize, null);
Brand brand = new Brand((int) xsize, brandHeight, new Font(brandFont, Font.PLAIN, brandFontPoint), 5);
BufferedImage brandImage = brand.create(ConfigurationManager.getProperty("webui.preview.brand"),
ConfigurationManager.getProperty("webui.preview.brand.abbrev"),
MediaFilterManager.getCurrentItem() == null ? "" : "hdl:" + MediaFilterManager.getCurrentItem().getHandle());
g2d.drawImage(brandImage, (int)0, (int)ysize, (int) xsize, (int) 20, null);
// now create an input stream for the thumbnail buffer and return it
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ImageIO.write(branded, "jpeg", baos);
// now get the array
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
return bais; // hope this gets written out before its garbage collected!
}
public BufferedImage getNormalizedInstance(BufferedImage buf)
{
int type = (buf.getTransparency() == Transparency.OPAQUE) ?
BufferedImage.TYPE_INT_RGB : BufferedImage.TYPE_INT_ARGB_PRE;
int w, h;
w = buf.getWidth();
h = buf.getHeight();
BufferedImage normal = new BufferedImage(w, h, type);
Graphics2D g2d = normal.createGraphics();
g2d.drawImage(buf, 0, 0, w, h, Color.WHITE, null);
g2d.dispose();
return normal;
}
public BufferedImage getBlurredInstance(BufferedImage buf)
{
/**
* Convenience method that returns a blurred instance of the
* provided {@code BufferedImage}.
*
*/
buf = getNormalizedInstance(buf);
// kernel for blur op
float[] matrix = {
0.111f, 0.111f, 0.111f,
0.111f, 0.111f, 0.111f,
0.111f, 0.111f, 0.111f,
};
// perform the blur and return the blurred version.
BufferedImageOp blur = new ConvolveOp( new Kernel(3, 3, matrix) );
BufferedImage blurbuf = blur.filter(buf, null);
return blurbuf;
}
/**
* Convenience method that returns a scaled instance of the
* provided {@code BufferedImage}.
*
* @param buf the original image to be scaled
* @param targetWidth the desired width of the scaled instance,
* in pixels
* @param targetHeight the desired height of the scaled instance,
* in pixels
* @param hint one of the rendering hints that corresponds to
* {@code RenderingHints.KEY_INTERPOLATION} (e.g.
* {@code RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR},
* {@code RenderingHints.VALUE_INTERPOLATION_BILINEAR},
* {@code RenderingHints.VALUE_INTERPOLATION_BICUBIC})
* @param higherQuality if true, this method will use a multi-step
* scaling technique that provides higher quality than the usual
* one-step technique (only useful in downscaling cases, where
* {@code targetWidth} or {@code targetHeight} is
* smaller than the original dimensions, and generally only when
* the {@code BILINEAR} hint is specified)
* @return a scaled version of the original {@code BufferedImage}
*/
public BufferedImage getScaledInstance(BufferedImage buf,
int targetWidth,
int targetHeight,
Object hint,
boolean higherQuality)
{
int type = (buf.getTransparency() == Transparency.OPAQUE) ?
BufferedImage.TYPE_INT_RGB : BufferedImage.TYPE_INT_ARGB;
BufferedImage scalebuf = (BufferedImage)buf;
int w, h;
if (higherQuality) {
// Use multi-step technique: start with original size, then
// scale down in multiple passes with drawImage()
// until the target size is reached
w = buf.getWidth();
h = buf.getHeight();
} else {
// Use one-step technique: scale directly from original
// size to target size with a single drawImage() call
w = targetWidth;
h = targetHeight;
}
do {
if (higherQuality && w > targetWidth) {
w /= 2;
if (w < targetWidth) {
w = targetWidth;
}
}
if (higherQuality && h > targetHeight) {
h /= 2;
if (h < targetHeight) {
h = targetHeight;
}
}
BufferedImage tmp = new BufferedImage(w, h, type);
Graphics2D g2d = tmp.createGraphics();
g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION, hint);
g2d.drawImage(scalebuf, 0, 0, w, h, Color.WHITE, null);
g2d.dispose();
scalebuf = tmp;
} while (w != targetWidth || h != targetHeight);
return scalebuf;
}
}

View File

@@ -0,0 +1,103 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
import java.io.InputStream;
import org.dspace.content.Bitstream;
import org.dspace.content.Item;
import org.dspace.core.Context;
/**
* Public interface for any class which transforms or converts content/bitstreams
* from one format to another. This interface should be implemented by any class
* which defines a "filter" to be run by the MediaFilterManager.
*/
public interface FormatFilter
{
/**
* Get a filename for a newly created filtered bitstream
*
* @param sourceName
* name of source bitstream
* @return filename generated by the filter - for example, document.pdf
* becomes document.pdf.txt
*/
public String getFilteredName(String sourceName);
/**
* @return name of the bundle this filter will stick its generated
* Bitstreams
*/
public String getBundleName();
/**
* @return name of the bitstream format (say "HTML" or "Microsoft Word")
* returned by this filter look in the bitstream format registry or
* mediafilter.cfg for valid format strings.
*/
public String getFormatString();
/**
* @return string to describe the newly-generated Bitstream's - how it was
* produced is a good idea
*/
public String getDescription();
/**
* @param source
* input stream
*
* @return result of filter's transformation, written out to a bitstream
*/
public InputStream getDestinationStream(InputStream source)
throws Exception;
/**
* Perform any pre-processing of the source bitstream *before* the actual
* filtering takes place in MediaFilterManager.processBitstream().
* <p>
* Return true if pre-processing is successful (or no pre-processing
* is necessary). Return false if bitstream should be skipped
* for any reason.
*
*
* @param c
* context
* @param item
* item containing bitstream to process
* @param source
* source bitstream to be processed
*
* @return true if bitstream processing should continue,
* false if this bitstream should be skipped
*/
public boolean preProcessBitstream(Context c, Item item, Bitstream source)
throws Exception;
/**
* Perform any post-processing of the generated bitstream *after* this
* filter has already been run.
* <p>
* Return true if pre-processing is successful (or no pre-processing
* is necessary). Return false if bitstream should be skipped
* for some reason.
*
*
* @param c
* context
* @param item
* item containing bitstream to process
* @param generatedBitstream
* the bitstream which was generated by
* this filter.
*/
public void postProcessBitstream(Context c, Item item, Bitstream generatedBitstream)
throws Exception;
}

View File

@@ -0,0 +1,81 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import javax.swing.text.Document;
import javax.swing.text.html.HTMLEditorKit;
/*
*
* to do: helpful error messages - can't find mediafilter.cfg - can't
* instantiate filter - bitstream format doesn't exist
*
*/
public class HTMLFilter extends MediaFilter
{
public String getFilteredName(String oldFilename)
{
return oldFilename + ".txt";
}
/**
* @return String bundle name
*
*/
public String getBundleName()
{
return "TEXT";
}
/**
* @return String bitstreamformat
*/
public String getFormatString()
{
return "Text";
}
/**
* @return String description
*/
public String getDescription()
{
return "Extracted text";
}
/**
* @param source
* source input stream
*
* @return InputStream the resulting input stream
*/
public InputStream getDestinationStream(InputStream source)
throws Exception
{
// try and read the document - set to ignore character set directive,
// assuming that the input stream is already set properly (I hope)
HTMLEditorKit kit = new HTMLEditorKit();
Document doc = kit.createDefaultDocument();
doc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);
kit.read(source, doc, 0);
String extractedText = doc.getText(0, doc.getLength());
// generate an input stream with the extracted text
byte[] textBytes = extractedText.getBytes();
ByteArrayInputStream bais = new ByteArrayInputStream(textBytes);
return bais; // will this work? or will the byte array be out of scope?
}
}

View File

@@ -0,0 +1,38 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
/**
* Filter image bitstreams, scaling the image to be within the bounds of
* thumbnail.maxwidth, thumbnail.maxheight, the size we want our thumbnail to be
* no bigger than. Creates only JPEGs.
*/
public class ImageMagickImageThumbnailFilter extends ImageMagickThumbnailFilter
{
/**
* @param source
* source input stream
*
* @return InputStream the resulting input stream
*/
public InputStream getDestinationStream(InputStream source)
throws Exception
{
File f = inputStreamToTempFile(source, "imthumb", ".tmp");
File f2 = getThumbnailFile(f);
return new FileInputStream(f2);
}
}

View File

@@ -0,0 +1,30 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
public class ImageMagickPdfThumbnailFilter extends ImageMagickThumbnailFilter {
public InputStream getDestinationStream(InputStream source)
throws Exception
{
File f = inputStreamToTempFile(source, "impdfthumb", ".pdf");
File f2 = getImageFile(f, 0);
File f3 = getThumbnailFile(f2);
return new FileInputStream(f3);
}
public static final String[] PDF = {"Adobe PDF"};
public String[] getInputMIMETypes()
{
return PDF;
}
}

View File

@@ -0,0 +1,194 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.regex.Pattern;
import java.util.regex.PatternSyntaxException;
import javax.imageio.ImageIO;
import org.dspace.app.mediafilter.MediaFilter;
import org.dspace.app.mediafilter.SelfRegisterInputFormats;
import org.dspace.content.Bitstream;
import org.dspace.content.Bundle;
import org.dspace.content.Item;
import org.dspace.core.Context;
import org.im4java.core.ConvertCmd;
import org.im4java.core.IM4JavaException;
import org.im4java.core.IMOperation;
import org.im4java.process.ProcessStarter;
import org.dspace.core.ConfigurationManager;
/**
* Filter image bitstreams, scaling the image to be within the bounds of
* thumbnail.maxwidth, thumbnail.maxheight, the size we want our thumbnail to be
* no bigger than. Creates only JPEGs.
*/
public abstract class ImageMagickThumbnailFilter extends MediaFilter implements SelfRegisterInputFormats
{
private static int width = 180;
private static int height = 120;
static String bitstreamDescription = "IM Thumbnail";
static final String defaultPattern = "Generated Thumbnail";
static Pattern replaceRegex = Pattern.compile(defaultPattern);
static {
String pre = ImageMagickThumbnailFilter.class.getName();
String s = ConfigurationManager.getProperty(pre + ".ProcessStarter");
ProcessStarter.setGlobalSearchPath(s);
width = ConfigurationManager.getIntProperty("thumbnail.maxwidth", width);
height = ConfigurationManager.getIntProperty("thumbnail.maxheight", height);
String description = ConfigurationManager.getProperty(pre + ".bitstreamDescription");
if (description != null) {
bitstreamDescription = description;
}
try {
String patt = ConfigurationManager.getProperty(pre + ".replaceRegex");
replaceRegex = Pattern.compile(patt == null ? defaultPattern : patt);
} catch(PatternSyntaxException e) {
System.err.println("Invalid thumbnail replacement pattern: "+e.getMessage());
}
}
public ImageMagickThumbnailFilter() {
}
public String getFilteredName(String oldFilename)
{
return oldFilename + ".jpg";
}
/**
* @return String bundle name
*
*/
public String getBundleName()
{
return "THUMBNAIL";
}
/**
* @return String bitstreamformat
*/
public String getFormatString()
{
return "JPEG";
}
/**
* @return String bitstreamDescription
*/
public String getDescription()
{
return bitstreamDescription;
}
public static File inputStreamToTempFile(InputStream source, String prefix, String suffix) throws IOException {
File f = File.createTempFile(prefix, suffix);
f.deleteOnExit();
FileOutputStream fos = new FileOutputStream(f);
byte[] buffer = new byte[1024];
int len = source.read(buffer);
while (len != -1) {
fos.write(buffer, 0, len);
len = source.read(buffer);
}
fos.close();
return f;
}
public static File getThumbnailFile(File f) throws IOException, InterruptedException, IM4JavaException {
File f2 = new File(f.getParentFile(), f.getName() + ".jpg");
f2.deleteOnExit();
ConvertCmd cmd = new ConvertCmd();
IMOperation op = new IMOperation();
op.addImage(f.getAbsolutePath());
op.thumbnail(width, height);
op.addImage(f2.getAbsolutePath());
if (MediaFilterManager.isVerbose) {
System.out.println("IM Thumbnail Param: "+op);
}
cmd.run(op);
return f2;
}
public static File getImageFile(File f, int page) throws IOException, InterruptedException, IM4JavaException {
File f2 = new File(f.getParentFile(), f.getName() + ".jpg");
f2.deleteOnExit();
ConvertCmd cmd = new ConvertCmd();
IMOperation op = new IMOperation();
String s = "[" + page + "]";
op.addImage(f.getAbsolutePath()+s);
op.addImage(f2.getAbsolutePath());
if (MediaFilterManager.isVerbose) {
System.out.println("IM Image Param: "+op);
}
cmd.run(op);
return f2;
}
public boolean preProcessBitstream(Context c, Item item, Bitstream source)
throws Exception
{
String nsrc = source.getName();
for(Bundle b: item.getBundles("THUMBNAIL")) {
for(Bitstream bit: b.getBitstreams()) {
String n = bit.getName();
if (n != null) {
if (nsrc != null) {
if (!n.startsWith(nsrc)) continue;
}
}
String description = bit.getDescription();
//If anything other than a generated thumbnail is found, halt processing
if (description != null) {
if (replaceRegex.matcher(description).matches()) {
if (MediaFilterManager.isVerbose) {
System.out.println(description + " " + nsrc + " matches pattern and is replacable.");
}
continue;
}
if (description.equals(bitstreamDescription)) {
if (MediaFilterManager.isVerbose) {
System.out.println(bitstreamDescription + " " + nsrc + " is replacable.");
}
continue;
}
}
System.out.println("Custom Thumbnail exists for " + nsrc + " for item " + item.getHandle() + ". Thumbnail will not be generated. ");
return false;
}
}
return true; //assume that the thumbnail is a custom one
}
public String[] getInputMIMETypes()
{
return ImageIO.getReaderMIMETypes();
}
public String[] getInputDescriptions()
{
return null;
}
public String[] getInputExtensions()
{
return ImageIO.getReaderFileSuffixes();
}
}

View File

@@ -0,0 +1,301 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
import java.awt.Graphics2D;
import java.awt.Color;
import java.awt.image.*;
import java.awt.RenderingHints;
import java.awt.Transparency;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import javax.imageio.ImageIO;
import org.dspace.core.ConfigurationManager;
/**
* Filter image bitstreams, scaling the image to be within the bounds of
* thumbnail.maxwidth, thumbnail.maxheight, the size we want our thumbnail to be
* no bigger than. Creates only JPEGs.
*
* @author Jason Sherman <jsherman@usao.edu>
*/
public class JPEGFilter extends MediaFilter implements SelfRegisterInputFormats
{
public String getFilteredName(String oldFilename)
{
return oldFilename + ".jpg";
}
/**
* @return String bundle name
*
*/
public String getBundleName()
{
return "THUMBNAIL";
}
/**
* @return String bitstreamformat
*/
public String getFormatString()
{
return "JPEG";
}
/**
* @return String description
*/
public String getDescription()
{
return "Generated Thumbnail";
}
/**
* @param source
* source input stream
*
* @return InputStream the resulting input stream
*/
public InputStream getDestinationStream(InputStream source)
throws Exception
{
// read in bitstream's image
BufferedImage buf = ImageIO.read(source);
// get config params
float xmax = (float) ConfigurationManager
.getIntProperty("thumbnail.maxwidth");
float ymax = (float) ConfigurationManager
.getIntProperty("thumbnail.maxheight");
boolean blurring = (boolean) ConfigurationManager
.getBooleanProperty("thumbnail.blurring");
boolean hqscaling = (boolean) ConfigurationManager
.getBooleanProperty("thumbnail.hqscaling");
// now get the image dimensions
float xsize = (float) buf.getWidth(null);
float ysize = (float) buf.getHeight(null);
// if verbose flag is set, print out dimensions
// to STDOUT
if (MediaFilterManager.isVerbose)
{
System.out.println("original size: " + xsize + "," + ysize);
}
// scale by x first if needed
if (xsize > xmax)
{
// calculate scaling factor so that xsize * scale = new size (max)
float scale_factor = xmax / xsize;
// if verbose flag is set, print out extracted text
// to STDOUT
if (MediaFilterManager.isVerbose)
{
System.out.println("x scale factor: " + scale_factor);
}
// now reduce x size
// and y size
xsize = xsize * scale_factor;
ysize = ysize * scale_factor;
// if verbose flag is set, print out extracted text
// to STDOUT
if (MediaFilterManager.isVerbose)
{
System.out.println("new size: " + xsize + "," + ysize);
}
}
// scale by y if needed
if (ysize > ymax)
{
float scale_factor = ymax / ysize;
// now reduce x size
// and y size
xsize = xsize * scale_factor;
ysize = ysize * scale_factor;
}
// if verbose flag is set, print details to STDOUT
if (MediaFilterManager.isVerbose)
{
System.out.println("created thumbnail size: " + xsize + ", "
+ ysize);
}
// create an image buffer for the thumbnail with the new xsize, ysize
BufferedImage thumbnail = new BufferedImage((int) xsize, (int) ysize,
BufferedImage.TYPE_INT_RGB);
// Use blurring if selected in config.
// a little blur before scaling does wonders for keeping moire in check.
if (blurring)
{
// send the buffered image off to get blurred.
buf = getBlurredInstance((BufferedImage) buf);
}
// Use high quality scaling method if selected in config.
// this has a definite performance penalty.
if (hqscaling)
{
// send the buffered image off to get an HQ downscale.
buf = getScaledInstance((BufferedImage) buf, (int) xsize, (int) ysize,
(Object) RenderingHints.VALUE_INTERPOLATION_BICUBIC, (boolean) true);
}
// now render the image into the thumbnail buffer
Graphics2D g2d = thumbnail.createGraphics();
g2d.drawImage(buf, 0, 0, (int) xsize, (int) ysize, null);
// now create an input stream for the thumbnail buffer and return it
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ImageIO.write(thumbnail, "jpeg", baos);
// now get the array
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
return bais; // hope this gets written out before its garbage collected!
}
public String[] getInputMIMETypes()
{
return ImageIO.getReaderMIMETypes();
}
public String[] getInputDescriptions()
{
return null;
}
public String[] getInputExtensions()
{
// Temporarily disabled as JDK 1.6 only
// return ImageIO.getReaderFileSuffixes();
return null;
}
public BufferedImage getNormalizedInstance(BufferedImage buf)
{
int type = (buf.getTransparency() == Transparency.OPAQUE) ?
BufferedImage.TYPE_INT_RGB : BufferedImage.TYPE_INT_ARGB_PRE;
int w, h;
w = buf.getWidth();
h = buf.getHeight();
BufferedImage normal = new BufferedImage(w, h, type);
Graphics2D g2d = normal.createGraphics();
g2d.drawImage(buf, 0, 0, w, h, Color.WHITE, null);
g2d.dispose();
return normal;
}
public BufferedImage getBlurredInstance(BufferedImage buf)
{
/**
* Convenience method that returns a blurred instance of the
* provided {@code BufferedImage}.
*
*/
buf = getNormalizedInstance(buf);
// kernel for blur op
float[] matrix = {
0.111f, 0.111f, 0.111f,
0.111f, 0.111f, 0.111f,
0.111f, 0.111f, 0.111f,
};
// perform the blur and return the blurred version.
BufferedImageOp blur = new ConvolveOp( new Kernel(3, 3, matrix) );
BufferedImage blurbuf = blur.filter(buf, null);
return blurbuf;
}
/**
* Convenience method that returns a scaled instance of the
* provided {@code BufferedImage}.
*
* @param buf the original image to be scaled
* @param targetWidth the desired width of the scaled instance,
* in pixels
* @param targetHeight the desired height of the scaled instance,
* in pixels
* @param hint one of the rendering hints that corresponds to
* {@code RenderingHints.KEY_INTERPOLATION} (e.g.
* {@code RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR},
* {@code RenderingHints.VALUE_INTERPOLATION_BILINEAR},
* {@code RenderingHints.VALUE_INTERPOLATION_BICUBIC})
* @param higherQuality if true, this method will use a multi-step
* scaling technique that provides higher quality than the usual
* one-step technique (only useful in downscaling cases, where
* {@code targetWidth} or {@code targetHeight} is
* smaller than the original dimensions, and generally only when
* the {@code BILINEAR} hint is specified)
* @return a scaled version of the original {@code BufferedImage}
*/
public BufferedImage getScaledInstance(BufferedImage buf,
int targetWidth,
int targetHeight,
Object hint,
boolean higherQuality)
{
int type = (buf.getTransparency() == Transparency.OPAQUE) ?
BufferedImage.TYPE_INT_RGB : BufferedImage.TYPE_INT_ARGB;
BufferedImage scalebuf = (BufferedImage)buf;
int w, h;
if (higherQuality) {
// Use multi-step technique: start with original size, then
// scale down in multiple passes with drawImage()
// until the target size is reached
w = buf.getWidth();
h = buf.getHeight();
} else {
// Use one-step technique: scale directly from original
// size to target size with a single drawImage() call
w = targetWidth;
h = targetHeight;
}
do {
if (higherQuality && w > targetWidth) {
w /= 2;
if (w < targetWidth) {
w = targetWidth;
}
}
if (higherQuality && h > targetHeight) {
h /= 2;
if (h < targetHeight) {
h = targetHeight;
}
}
BufferedImage tmp = new BufferedImage(w, h, type);
Graphics2D g2d = tmp.createGraphics();
g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION, hint);
g2d.drawImage(scalebuf, 0, 0, w, h, Color.WHITE, null);
g2d.dispose();
scalebuf = tmp;
} while (w != targetWidth || h != targetHeight);
return scalebuf;
}
}

View File

@@ -0,0 +1,70 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
import org.dspace.content.Bitstream;
import org.dspace.content.Item;
import org.dspace.core.Context;
/**
* Abstract class which defines the default settings for a *simple* Media or Format Filter.
* This class may be extended by any class which wishes to define a simple filter to be run
* by the MediaFilterManager. More complex filters should likely implement the FormatFilter
* interface directly, so that they can define their own pre/postProcessing methods.
*/
public abstract class MediaFilter implements FormatFilter
{
/**
* Perform any pre-processing of the source bitstream *before* the actual
* filtering takes place in MediaFilterManager.processBitstream().
* <p>
* Return true if pre-processing is successful (or no pre-processing
* is necessary). Return false if bitstream should be skipped
* for any reason.
*
*
* @param c
* context
* @param item
* item containing bitstream to process
* @param source
* source bitstream to be processed
*
* @return true if bitstream processing should continue,
* false if this bitstream should be skipped
*/
public boolean preProcessBitstream(Context c, Item item, Bitstream source)
throws Exception
{
return true; //default to no pre-processing
}
/**
* Perform any post-processing of the generated bitstream *after* this
* filter has already been run.
* <p>
* Return true if pre-processing is successful (or no pre-processing
* is necessary). Return false if bitstream should be skipped
* for some reason.
*
*
* @param c
* context
* @param item
* item containing bitstream to process
* @param generatedBitstream
* the bitstream which was generated by
* this filter.
*/
public void postProcessBitstream(Context c, Item item, Bitstream generatedBitstream)
throws Exception
{
//default to no post-processing necessary
}
}

View File

@@ -0,0 +1,850 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.List;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.HelpFormatter;
import org.apache.commons.cli.MissingArgumentException;
import org.apache.commons.cli.Option;
import org.apache.commons.cli.OptionBuilder;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.PosixParser;
import org.apache.commons.lang.ArrayUtils;
import org.apache.log4j.Logger;
import org.dspace.authorize.AuthorizeManager;
import org.dspace.content.Bitstream;
import org.dspace.content.BitstreamFormat;
import org.dspace.content.Bundle;
import org.dspace.content.Collection;
import org.dspace.content.Community;
import org.dspace.content.DCDate;
import org.dspace.content.DSpaceObject;
import org.dspace.content.Item;
import org.dspace.content.ItemIterator;
import org.dspace.core.ConfigurationManager;
import org.dspace.core.Constants;
import org.dspace.core.Context;
import org.dspace.core.PluginManager;
import org.dspace.core.SelfNamedPlugin;
import org.dspace.eperson.Group;
import org.dspace.handle.HandleManager;
import org.dspace.search.DSIndexer;
/**
* MediaFilterManager is the class that invokes the media/format filters over the
* repository's content. A few command line flags affect the operation of the
* MFM: -v verbose outputs all extracted text to STDOUT; -f force forces all
* bitstreams to be processed, even if they have been before; -n noindex does not
* recreate index after processing bitstreams; -i [identifier] limits processing
* scope to a community, collection or item; and -m [max] limits processing to a
* maximum number of items.
*/
public class MediaFilterManager
{
private static final Logger log = Logger.getLogger(MediaFilterManager.class);
//key (in dspace.cfg) which lists all enabled filters by name
public static final String MEDIA_FILTER_PLUGINS_KEY = "filter.plugins";
//prefix (in dspace.cfg) for all filter properties
public static final String FILTER_PREFIX = "filter";
//suffix (in dspace.cfg) for input formats supported by each filter
public static final String INPUT_FORMATS_SUFFIX = "inputFormats";
static boolean isVerbose = false; // default to not verbose
static boolean isQuiet = false; // default is noisy
static boolean isForce = false; // default to not forced
static String identifier = null; // object scope limiter
static int max2Process = Integer.MAX_VALUE; // maximum number items to process
static int processed = 0; // number items processed
private static Item currentItem = null; // current item being processed
private static FormatFilter[] filterClasses = null;
private static final Map<String, List<String>> filterFormats = new HashMap<>();
private static List<String> skipList = null; //list of identifiers to skip during processing
private static final List<String> publicFiltersClasses = new ArrayList<>();
//separator in filterFormats Map between a filter class name and a plugin name,
//for MediaFilters which extend SelfNamedPlugin (\034 is "file separator" char)
public static final String FILTER_PLUGIN_SEPARATOR = "\034";
static {
String publicPermissionFilters = ConfigurationManager.getProperty("filter.org.dspace.app.mediafilter.publicPermission");
if(publicPermissionFilters != null) {
String[] publicPermisionFiltersArray = publicPermissionFilters.split(",");
for(String filter : publicPermisionFiltersArray) {
publicFiltersClasses.add(filter.trim());
}
}
}
public static void main(String[] argv) throws Exception
{
// set headless for non-gui workstations
System.setProperty("java.awt.headless", "true");
// create an options object and populate it
CommandLineParser parser = new PosixParser();
int status = 0;
Options options = new Options();
options.addOption("v", "verbose", false,
"print all extracted text and other details to STDOUT");
options.addOption("q", "quiet", false,
"do not print anything except in the event of errors.");
options.addOption("f", "force", false,
"force all bitstreams to be processed");
options.addOption("i", "identifier", true,
"ONLY process bitstreams belonging to identifier");
options.addOption("m", "maximum", true,
"process no more than maximum items");
options.addOption("h", "help", false, "help");
//create a "plugin" option (to specify specific MediaFilter plugins to run)
OptionBuilder.withLongOpt("plugins");
OptionBuilder.withValueSeparator(',');
OptionBuilder.withDescription(
"ONLY run the specified Media Filter plugin(s)\n" +
"listed from '" + MEDIA_FILTER_PLUGINS_KEY + "' in dspace.cfg.\n" +
"Separate multiple with a comma (,)\n" +
"(e.g. MediaFilterManager -p \n\"Word Text Extractor\",\"PDF Text Extractor\")");
Option pluginOption = OptionBuilder.create('p');
pluginOption.setArgs(Option.UNLIMITED_VALUES); //unlimited number of args
options.addOption(pluginOption);
//create a "skip" option (to specify communities/collections/items to skip)
OptionBuilder.withLongOpt("skip");
OptionBuilder.withValueSeparator(',');
OptionBuilder.withDescription(
"SKIP the bitstreams belonging to identifier\n" +
"Separate multiple identifiers with a comma (,)\n" +
"(e.g. MediaFilterManager -s \n 123456789/34,123456789/323)");
Option skipOption = OptionBuilder.create('s');
skipOption.setArgs(Option.UNLIMITED_VALUES); //unlimited number of args
options.addOption(skipOption);
CommandLine line = null;
try
{
line = parser.parse(options, argv);
}
catch(MissingArgumentException e)
{
System.out.println("ERROR: " + e.getMessage());
HelpFormatter myhelp = new HelpFormatter();
myhelp.printHelp("MediaFilterManager\n", options);
System.exit(1);
}
if (line.hasOption('h'))
{
HelpFormatter myhelp = new HelpFormatter();
myhelp.printHelp("MediaFilterManager\n", options);
System.exit(0);
}
if (line.hasOption('v'))
{
isVerbose = true;
}
isQuiet = line.hasOption('q');
if (line.hasOption('f'))
{
isForce = true;
}
if (line.hasOption('i'))
{
identifier = line.getOptionValue('i');
}
if (line.hasOption('m'))
{
max2Process = Integer.parseInt(line.getOptionValue('m'));
if (max2Process <= 1)
{
System.out.println("Invalid maximum value '" +
line.getOptionValue('m') + "' - ignoring");
max2Process = Integer.MAX_VALUE;
}
}
String filterNames[] = null;
if(line.hasOption('p'))
{
//specified which media filter plugins we are using
filterNames = line.getOptionValues('p');
if(filterNames==null || filterNames.length==0)
{ //display error, since no plugins specified
System.err.println("\nERROR: -p (-plugin) option requires at least one plugin to be specified.\n" +
"(e.g. MediaFilterManager -p \"Word Text Extractor\",\"PDF Text Extractor\")\n");
HelpFormatter myhelp = new HelpFormatter();
myhelp.printHelp("MediaFilterManager\n", options);
System.exit(1);
}
}
else
{
//retrieve list of all enabled media filter plugins!
String enabledPlugins = ConfigurationManager.getProperty(MEDIA_FILTER_PLUGINS_KEY);
filterNames = enabledPlugins.split(",\\s*");
}
//initialize an array of our enabled filters
List<FormatFilter> filterList = new ArrayList<FormatFilter>();
//set up each filter
for(int i=0; i< filterNames.length; i++)
{
//get filter of this name & add to list of filters
FormatFilter filter = (FormatFilter) PluginManager.getNamedPlugin(FormatFilter.class, filterNames[i]);
if(filter==null)
{
System.err.println("\nERROR: Unknown MediaFilter specified (either from command-line or in dspace.cfg): '" + filterNames[i] + "'");
System.exit(1);
}
else
{
filterList.add(filter);
String filterClassName = filter.getClass().getName();
String pluginName = null;
//If this filter is a SelfNamedPlugin,
//then the input formats it accepts may differ for
//each "named" plugin that it defines.
//So, we have to look for every key that fits the
//following format: filter.<class-name>.<plugin-name>.inputFormats
if( SelfNamedPlugin.class.isAssignableFrom(filter.getClass()) )
{
//Get the plugin instance name for this class
pluginName = ((SelfNamedPlugin) filter).getPluginInstanceName();
}
//Retrieve our list of supported formats from dspace.cfg
//For SelfNamedPlugins, format of key is:
// filter.<class-name>.<plugin-name>.inputFormats
//For other MediaFilters, format of key is:
// filter.<class-name>.inputFormats
String formats = ConfigurationManager.getProperty(
FILTER_PREFIX + "." + filterClassName +
(pluginName!=null ? "." + pluginName : "") +
"." + INPUT_FORMATS_SUFFIX);
//add to internal map of filters to supported formats
if (formats != null)
{
//For SelfNamedPlugins, map key is:
// <class-name><separator><plugin-name>
//For other MediaFilters, map key is just:
// <class-name>
filterFormats.put(filterClassName +
(pluginName!=null ? FILTER_PLUGIN_SEPARATOR + pluginName : ""),
Arrays.asList(formats.split(",[\\s]*")));
}
}//end if filter!=null
}//end for
//If verbose, print out loaded mediafilter info
if(isVerbose)
{
System.out.println("The following MediaFilters are enabled: ");
Iterator<String> i = filterFormats.keySet().iterator();
while(i.hasNext())
{
String filterName = i.next();
System.out.println("Full Filter Name: " + filterName);
String pluginName = null;
if(filterName.contains(FILTER_PLUGIN_SEPARATOR))
{
String[] fields = filterName.split(FILTER_PLUGIN_SEPARATOR);
filterName=fields[0];
pluginName=fields[1];
}
System.out.println(filterName +
(pluginName!=null? " (Plugin: " + pluginName + ")": ""));
}
}
//store our filter list into an internal array
filterClasses = (FormatFilter[]) filterList.toArray(new FormatFilter[filterList.size()]);
//Retrieve list of identifiers to skip (if any)
String skipIds[] = null;
if(line.hasOption('s'))
{
//specified which identifiers to skip when processing
skipIds = line.getOptionValues('s');
if(skipIds==null || skipIds.length==0)
{ //display error, since no identifiers specified to skip
System.err.println("\nERROR: -s (-skip) option requires at least one identifier to SKIP.\n" +
"Make sure to separate multiple identifiers with a comma!\n" +
"(e.g. MediaFilterManager -s 123456789/34,123456789/323)\n");
HelpFormatter myhelp = new HelpFormatter();
myhelp.printHelp("MediaFilterManager\n", options);
System.exit(0);
}
//save to a global skip list
skipList = Arrays.asList(skipIds);
}
Context c = null;
try
{
c = new Context();
// have to be super-user to do the filtering
c.turnOffAuthorisationSystem();
// now apply the filters
if (identifier == null)
{
applyFiltersAllItems(c);
}
else // restrict application scope to identifier
{
DSpaceObject dso = HandleManager.resolveToObject(c, identifier);
if (dso == null)
{
throw new IllegalArgumentException("Cannot resolve "
+ identifier + " to a DSpace object");
}
switch (dso.getType())
{
case Constants.COMMUNITY:
applyFiltersCommunity(c, (Community)dso);
break;
case Constants.COLLECTION:
applyFiltersCollection(c, (Collection)dso);
break;
case Constants.ITEM:
applyFiltersItem(c, (Item)dso);
break;
}
}
c.complete();
c = null;
}
catch (Exception e)
{
status = 1;
}
finally
{
if (c != null)
{
c.abort();
}
}
System.exit(status);
}
public static void applyFiltersAllItems(Context c) throws Exception
{
if(skipList!=null)
{
//if a skip-list exists, we need to filter community-by-community
//so we can respect what is in the skip-list
Community[] topLevelCommunities = Community.findAllTop(c);
for(int i=0; i<topLevelCommunities.length; i++)
{
applyFiltersCommunity(c, topLevelCommunities[i]);
}
}
else
{
//otherwise, just find every item and process
ItemIterator i = Item.findAll(c);
try
{
while (i.hasNext() && processed < max2Process)
{
applyFiltersItem(c, i.next());
}
}
finally
{
if (i != null)
{
i.close();
}
}
}
}
public static void applyFiltersCommunity(Context c, Community community)
throws Exception
{ //only apply filters if community not in skip-list
if(!inSkipList(community.getHandle()))
{
Community[] subcommunities = community.getSubcommunities();
for (int i = 0; i < subcommunities.length; i++)
{
applyFiltersCommunity(c, subcommunities[i]);
}
Collection[] collections = community.getCollections();
for (int j = 0; j < collections.length; j++)
{
applyFiltersCollection(c, collections[j]);
}
}
}
public static void applyFiltersCollection(Context c, Collection collection)
throws Exception
{
//only apply filters if collection not in skip-list
if(!inSkipList(collection.getHandle()))
{
ItemIterator i = collection.getItems();
try
{
while (i.hasNext() && processed < max2Process)
{
applyFiltersItem(c, i.next());
}
}
finally
{
if (i != null)
{
i.close();
}
}
}
}
public static void applyFiltersItem(Context c, Item item) throws Exception
{
//only apply filters if item not in skip-list
if(!inSkipList(item.getHandle()))
{
//cache this item in MediaFilterManager
//so it can be accessed by MediaFilters as necessary
currentItem = item;
if (filterItem(c, item))
{
// commit changes after each filtered item
c.commit();
// increment processed count
++processed;
}
// clear item objects from context cache and internal cache
item.decache();
currentItem = null;
}
}
/**
* Iterate through the item's bitstreams in the ORIGINAL bundle, applying
* filters if possible.
*
* @return true if any bitstreams processed,
* false if none
*/
public static boolean filterItem(Context c, Item myItem) throws Exception
{
// get 'original' bundles
Bundle[] myBundles = myItem.getBundles("ORIGINAL");
boolean done = false;
for (int i = 0; i < myBundles.length; i++)
{
// now look at all of the bitstreams
Bitstream[] myBitstreams = myBundles[i].getBitstreams();
for (int k = 0; k < myBitstreams.length; k++)
{
done |= filterBitstream(c, myItem, myBitstreams[k]);
}
}
return done;
}
/**
* Attempt to filter a bitstream.
*
* An exception will be thrown if the media filter class cannot be
* instantiated. Exceptions from filtering will be logged to STDOUT and
* swallowed.
*
* @return true if bitstream processed,
* false if no applicable filter or already processed
*/
public static boolean filterBitstream(Context c, Item myItem,
Bitstream myBitstream) throws Exception
{
boolean filtered = false;
// iterate through filter classes. A single format may be actioned
// by more than one filter
for (int i = 0; i < filterClasses.length; i++)
{
//List fmts = (List)filterFormats.get(filterClasses[i].getClass().getName());
String pluginName = null;
//if this filter class is a SelfNamedPlugin,
//its list of supported formats is different for
//differently named "plugin"
if( SelfNamedPlugin.class.isAssignableFrom(filterClasses[i].getClass()) )
{
//get plugin instance name for this media filter
pluginName = ((SelfNamedPlugin)filterClasses[i]).getPluginInstanceName();
}
//Get list of supported formats for the filter (and possibly named plugin)
//For SelfNamedPlugins, map key is:
// <class-name><separator><plugin-name>
//For other MediaFilters, map key is just:
// <class-name>
List<String> fmts = filterFormats.get(filterClasses[i].getClass().getName() +
(pluginName!=null ? FILTER_PLUGIN_SEPARATOR + pluginName : ""));
if (fmts.contains(myBitstream.getFormat().getShortDescription()))
{
try
{
// only update item if bitstream not skipped
if (processBitstream(c, myItem, myBitstream, filterClasses[i]))
{
myItem.update(); // Make sure new bitstream has a sequence
// number
filtered = true;
}
}
catch (Exception e)
{
String handle = myItem.getHandle();
Bundle[] bundles = myBitstream.getBundles();
long size = myBitstream.getSize();
String checksum = myBitstream.getChecksum() + " ("+myBitstream.getChecksumAlgorithm()+")";
int assetstore = myBitstream.getStoreNumber();
// Printout helpful information to find the errored bitstream.
System.out.println("ERROR filtering, skipping bitstream:\n");
System.out.println("\tItem Handle: "+ handle);
for (Bundle bundle : bundles)
{
System.out.println("\tBundle Name: " + bundle.getName());
}
System.out.println("\tFile Size: " + size);
System.out.println("\tChecksum: " + checksum);
System.out.println("\tAsset Store: " + assetstore);
System.out.println(e);
e.printStackTrace();
}
}
else if (filterClasses[i] instanceof SelfRegisterInputFormats)
{
// Filter implements self registration, so check to see if it should be applied
// given the formats it claims to support
SelfRegisterInputFormats srif = (SelfRegisterInputFormats)filterClasses[i];
boolean applyFilter = false;
// Check MIME type
String[] mimeTypes = srif.getInputMIMETypes();
if (mimeTypes != null)
{
for (String mimeType : mimeTypes)
{
if (mimeType.equalsIgnoreCase(myBitstream.getFormat().getMIMEType()))
{
applyFilter = true;
}
}
}
// Check description
if (!applyFilter)
{
String[] descriptions = srif.getInputDescriptions();
if (descriptions != null)
{
for (String desc : descriptions)
{
if (desc.equalsIgnoreCase(myBitstream.getFormat().getShortDescription()))
{
applyFilter = true;
}
}
}
}
// Check extensions
if (!applyFilter)
{
String[] extensions = srif.getInputExtensions();
if (extensions != null)
{
for (String ext : extensions)
{
String[] formatExtensions = myBitstream.getFormat().getExtensions();
if (formatExtensions != null && ArrayUtils.contains(formatExtensions, ext))
{
applyFilter = true;
}
}
}
}
// Filter claims to handle this type of file, so attempt to apply it
if (applyFilter)
{
try
{
// only update item if bitstream not skipped
if (processBitstream(c, myItem, myBitstream, filterClasses[i]))
{
myItem.update(); // Make sure new bitstream has a sequence
// number
filtered = true;
}
}
catch (Exception e)
{
System.out.println("ERROR filtering, skipping bitstream #"
+ myBitstream.getID() + " " + e);
e.printStackTrace();
}
}
}
}
return filtered;
}
/**
* A utility class that calls the virtual methods
* from the current MediaFilter class.
* It scans the bitstreams in an item, and decides if a bitstream has
* already been filtered, and if not or if overWrite is set, invokes the
* filter.
*
* @param c
* context
* @param item
* item containing bitstream to process
* @param source
* source bitstream to process
* @param formatFilter
* FormatFilter to perform filtering
*
* @return true if new rendition is created, false if rendition already
* exists and overWrite is not set
*/
public static boolean processBitstream(Context c, Item item, Bitstream source, FormatFilter formatFilter)
throws Exception
{
//do pre-processing of this bitstream, and if it fails, skip this bitstream!
if(!formatFilter.preProcessBitstream(c, item, source))
{
return false;
}
boolean overWrite = MediaFilterManager.isForce;
// get bitstream filename, calculate destination filename
String newName = formatFilter.getFilteredName(source.getName());
Bitstream existingBitstream = null; // is there an existing rendition?
Bundle targetBundle = null; // bundle we're modifying
Bundle[] bundles = item.getBundles(formatFilter.getBundleName());
// check if destination bitstream exists
if (bundles.length > 0)
{
// only finds the last match (FIXME?)
for (int i = 0; i < bundles.length; i++)
{
Bitstream[] bitstreams = bundles[i].getBitstreams();
for (int j = 0; j < bitstreams.length; j++)
{
if (bitstreams[j].getName().equals(newName))
{
targetBundle = bundles[i];
existingBitstream = bitstreams[j];
}
}
}
}
// if exists and overwrite = false, exit
if (!overWrite && (existingBitstream != null))
{
if (!isQuiet)
{
System.out.println("SKIPPED: bitstream " + source.getID()
+ " (item: " + item.getHandle() + ") because '" + newName + "' already exists");
}
return false;
}
if(isVerbose) {
System.out.println("PROCESSING: bitstream " + source.getID()
+ " (item: " + item.getHandle() + ")");
}
InputStream destStream;
try {
System.out.println("File: " + newName);
destStream = formatFilter.getDestinationStream(source.retrieve());
if (destStream == null)
{
if (!isQuiet)
{
System.out.println("SKIPPED: bitstream " + source.getID()
+ " (item: " + item.getHandle() + ") because filtering was unsuccessful");
}
return false;
}
}
catch (OutOfMemoryError oome)
{
System.out.println("!!! OutOfMemoryError !!!");
return false;
}
// create new bundle if needed
if (bundles.length < 1)
{
targetBundle = item.createBundle(formatFilter.getBundleName());
}
else
{
// take the first match
targetBundle = bundles[0];
}
Bitstream b = targetBundle.createBitstream(destStream);
// Now set the format and name of the bitstream
b.setName(newName);
b.setSource("Written by FormatFilter " + formatFilter.getClass().getName() +
" on " + DCDate.getCurrent() + " (GMT).");
b.setDescription(formatFilter.getDescription());
// Find the proper format
BitstreamFormat bf = BitstreamFormat.findByShortDescription(c,
formatFilter.getFormatString());
b.setFormat(bf);
b.update();
//Set permissions on the derivative bitstream
//- First remove any existing policies
AuthorizeManager.removeAllPolicies(c, b);
//- Determine if this is a public-derivative format
if(publicFiltersClasses.contains(formatFilter.getClass().getSimpleName())) {
//- Set derivative bitstream to be publicly accessible
Group anonymous = Group.find(c, 0);
AuthorizeManager.addPolicy(c, b, Constants.READ, anonymous);
} else {
//- Inherit policies from the source bitstream
AuthorizeManager.inheritPolicies(c, source, b);
}
// fixme - set date?
// we are overwriting, so remove old bitstream
if (existingBitstream != null)
{
targetBundle.removeBitstream(existingBitstream);
}
if (!isQuiet)
{
System.out.println("FILTERED: bitstream " + source.getID()
+ " (item: " + item.getHandle() + ") and created '" + newName + "'");
}
//do post-processing of the generated bitstream
formatFilter.postProcessBitstream(c, item, b);
return true;
}
/**
* Return the item that is currently being processed/filtered
* by the MediaFilterManager.
* <p>
* This allows FormatFilters to retrieve the Item object
* in case they need access to item-level information for their format
* transformations/conversions.
*
* @return current Item being processed by MediaFilterManager
*/
public static Item getCurrentItem()
{
return currentItem;
}
/**
* Check whether or not to skip processing the given identifier.
*
* @param identifier
* identifier (handle) of a community, collection or item
*
* @return true if this community, collection or item should be skipped
* during processing. Otherwise, return false.
*/
public static boolean inSkipList(String identifier)
{
if(skipList!=null && skipList.contains(identifier))
{
if (!isQuiet)
{
System.out.println("SKIP-LIST: skipped bitstreams within identifier " + identifier);
}
return true;
}
else
{
return false;
}
}
}

View File

@@ -0,0 +1,148 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStreamWriter;
import java.io.Writer;
import org.apache.log4j.Logger;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.util.PDFTextStripper;
import org.dspace.core.ConfigurationManager;
/*
*
* to do: helpful error messages - can't find mediafilter.cfg - can't
* instantiate filter - bitstream format doesn't exist
*
*/
public class PDFFilter extends MediaFilter
{
private static Logger log = Logger.getLogger(PDFFilter.class);
public String getFilteredName(String oldFilename)
{
return oldFilename + ".txt";
}
/**
* @return String bundle name
*
*/
public String getBundleName()
{
return "TEXT";
}
/**
* @return String bitstreamformat
*/
public String getFormatString()
{
return "Text";
}
/**
* @return String description
*/
public String getDescription()
{
return "Extracted text";
}
/**
* @param source
* source input stream
*
* @return InputStream the resulting input stream
*/
public InputStream getDestinationStream(InputStream source)
throws Exception
{
try
{
boolean useTemporaryFile = ConfigurationManager.getBooleanProperty("pdffilter.largepdfs", false);
// get input stream from bitstream
// pass to filter, get string back
PDFTextStripper pts = new PDFTextStripper();
PDDocument pdfDoc = null;
Writer writer = null;
File tempTextFile = null;
ByteArrayOutputStream byteStream = null;
if (useTemporaryFile)
{
tempTextFile = File.createTempFile("dspacepdfextract" + source.hashCode(), ".txt");
tempTextFile.deleteOnExit();
writer = new OutputStreamWriter(new FileOutputStream(tempTextFile));
}
else
{
byteStream = new ByteArrayOutputStream();
writer = new OutputStreamWriter(byteStream);
}
try
{
pdfDoc = PDDocument.load(source);
pts.writeText(pdfDoc, writer);
}
finally
{
try
{
if (pdfDoc != null)
{
pdfDoc.close();
}
}
catch(Exception e)
{
log.error("Error closing PDF file: " + e.getMessage(), e);
}
try
{
writer.close();
}
catch(Exception e)
{
log.error("Error closing temporary extract file: " + e.getMessage(), e);
}
}
if (useTemporaryFile)
{
return new FileInputStream(tempTextFile);
}
else
{
byte[] bytes = byteStream.toByteArray();
return new ByteArrayInputStream(bytes);
}
}
catch (OutOfMemoryError oome)
{
log.error("Error parsing PDF document " + oome.getMessage(), oome);
if (!ConfigurationManager.getBooleanProperty("pdffilter.skiponmemoryexception", false))
{
throw oome;
}
}
return null;
}
}

View File

@@ -0,0 +1,124 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import org.apache.poi.extractor.ExtractorFactory;
import org.apache.poi.xslf.extractor.XSLFPowerPointExtractor;
import org.apache.poi.hslf.extractor.PowerPointExtractor;
import org.apache.poi.POITextExtractor;
import org.apache.log4j.Logger;
/*
* TODO: Allow user to configure extraction of only text or only notes
*
*/
public class PowerPointFilter extends MediaFilter
{
private static Logger log = Logger.getLogger(PowerPointFilter.class);
public String getFilteredName(String oldFilename)
{
return oldFilename + ".txt";
}
/**
* @return String bundle name
*
*/
public String getBundleName()
{
return "TEXT";
}
/**
* @return String bitstream format
*
* TODO: Check that this is correct
*/
public String getFormatString()
{
return "Text";
}
/**
* @return String description
*/
public String getDescription()
{
return "Extracted text";
}
/**
* @param source
* source input stream
*
* @return InputStream the resulting input stream
*/
public InputStream getDestinationStream(InputStream source)
throws Exception
{
try
{
String extractedText = null;
new ExtractorFactory();
POITextExtractor pptExtractor = ExtractorFactory
.createExtractor(source);
// PowerPoint XML files and legacy format PowerPoint files
// require different classes and APIs for text extraction
// If this is a PowerPoint XML file, extract accordingly
if (pptExtractor instanceof XSLFPowerPointExtractor)
{
// The true method arguments indicate that text from
// the slides and the notes is desired
extractedText = ((XSLFPowerPointExtractor) pptExtractor)
.getText(true, true);
}
// Legacy PowerPoint files
else if (pptExtractor instanceof PowerPointExtractor)
{
extractedText = ((PowerPointExtractor) pptExtractor).getText()
+ " " + ((PowerPointExtractor) pptExtractor).getNotes();
}
if (extractedText != null)
{
// if verbose flag is set, print out extracted text
// to STDOUT
if (MediaFilterManager.isVerbose)
{
System.out.println(extractedText);
}
// generate an input stream with the extracted text
byte[] textBytes = extractedText.getBytes();
ByteArrayInputStream bais = new ByteArrayInputStream(textBytes);
return bais;
}
}
catch (Exception e)
{
log.error("Error filtering bitstream: " + e.getMessage(), e);
throw e;
}
return null;
}
}

View File

@@ -0,0 +1,21 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
/**
* Interface to allow filters to register the input formats they handle
* (useful for exposing underlying capabilities of libraries used)
*/
public interface SelfRegisterInputFormats
{
public String[] getInputMIMETypes();
public String[] getInputDescriptions();
public String[] getInputExtensions();
}

View File

@@ -0,0 +1,98 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.io.IOException;
import org.apache.log4j.Logger;
import org.textmining.extraction.TextExtractor;
import org.textmining.extraction.word.WordTextExtractorFactory;
/*
*
* to do: helpful error messages - can't find mediafilter.cfg - can't
* instantiate filter - bitstream format doesn't exist.
*
*/
public class WordFilter extends MediaFilter
{
private static Logger log = Logger.getLogger(WordFilter.class);
public String getFilteredName(String oldFilename)
{
return oldFilename + ".txt";
}
/**
* @return String bundle name
*
*/
public String getBundleName()
{
return "TEXT";
}
/**
* @return String bitstreamformat
*/
public String getFormatString()
{
return "Text";
}
/**
* @return String description
*/
public String getDescription()
{
return "Extracted text";
}
/**
* @param source
* source input stream
*
* @return InputStream the resulting input stream
*/
public InputStream getDestinationStream(InputStream source)
throws Exception
{
// get input stream from bitstream
// pass to filter, get string back
try
{
WordTextExtractorFactory factory = new WordTextExtractorFactory();
TextExtractor e = factory.textExtractor(source);
String extractedText = e.getText();
// if verbose flag is set, print out extracted text
// to STDOUT
if (MediaFilterManager.isVerbose)
{
System.out.println(extractedText);
}
// generate an input stream with the extracted text
byte[] textBytes = extractedText.getBytes();
ByteArrayInputStream bais = new ByteArrayInputStream(textBytes);
return bais; // will this work? or will the byte array be out of scope?
}
catch (IOException ioe)
{
System.out.println("Invalid Word Format");
log.error("Error detected - Word File format not recognized: "
+ ioe.getMessage(), ioe);
throw ioe;
}
}
}

View File

@@ -0,0 +1,160 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Arrays;
import org.apache.log4j.Logger;
import org.dspace.core.ConfigurationManager;
import org.dspace.core.Utils;
/**
* Text MediaFilter for PDF sources
*
* This filter produces extracted text suitable for building an index,
* but not for display to end users.
* It forks a process running the "pdftotext" program from the
* XPdf suite -- see http://www.foolabs.com/xpdf/
* This is a suite of open-source PDF tools that has been widely ported
* to Unix platforms and the ones we use (pdftoppm, pdftotext) even
* run on Win32.
*
* This was written for the FACADE project but it is not directly connected
* to any of the other FACADE-specific software. The FACADE UI expects
* to find thumbnail images for 3D PDFs generated by this filter.
*
* Requires DSpace config properties keys:
*
* xpdf.path.pdftotext -- path to "pdftotext" executable (required!)
*
* @author Larry Stone
* @see org.dspace.app.mediafilter.MediaFilter
*/
public class XPDF2Text extends MediaFilter
{
private static Logger log = Logger.getLogger(XPDF2Text.class);
// Command to get text from pdf; @infile@, @COMMAND@ are placeholders
private static final String XPDF_PDFTOTEXT_COMMAND[] =
{
"@COMMAND@", "-q", "-enc", "UTF-8", "@infile@", "-"
};
// executable path that comes from DSpace config at runtime.
private String pdftotextPath = null;
public String getFilteredName(String oldFilename)
{
return oldFilename + ".txt";
}
public String getBundleName()
{
return "TEXT";
}
public String getFormatString()
{
return "Text";
}
public String getDescription()
{
return "Extracted Text";
}
public InputStream getDestinationStream(InputStream sourceStream)
throws Exception
{
// get configured value for path to XPDF command:
if (pdftotextPath == null)
{
pdftotextPath = ConfigurationManager.getProperty("xpdf.path.pdftotext");
if (pdftotextPath == null)
{
throw new IllegalStateException("No value for key \"xpdf.path.pdftotext\" in DSpace configuration! Should be path to XPDF pdftotext executable.");
}
}
File sourceTmp = File.createTempFile("DSfilt",".pdf");
sourceTmp.deleteOnExit(); // extra insurance, we'll delete it here.
int status = -1;
try
{
// make local temp copy of source PDF since PDF tools
// require a file for random access.
// XXX fixme could optimize if we ever get an interface to grab asset *files*
OutputStream sto = new FileOutputStream(sourceTmp);
Utils.copy(sourceStream, sto);
sto.close();
sourceStream.close();
String pdfCmd[] = XPDF_PDFTOTEXT_COMMAND.clone();
pdfCmd[0] = pdftotextPath;
pdfCmd[4] = sourceTmp.toString();
log.debug("Running command: "+Arrays.deepToString(pdfCmd));
Process pdfProc = Runtime.getRuntime().exec(pdfCmd);
InputStream stdout = pdfProc.getInputStream();
ByteArrayOutputStream baos = new ByteArrayOutputStream();
Utils.copy(new BufferedInputStream(stdout), baos);
stdout.close();
baos.close();
status = pdfProc.waitFor();
String msg = null;
if (status == 1)
{
msg = "pdftotext failed opening input: file=" + sourceTmp.toString();
}
else if (status == 3)
{
msg = "pdftotext permission failure (perhaps copying of text from this document is not allowed - check PDF file's internal permissions): file=" + sourceTmp.toString();
}
else if (status != 0)
{
msg = "pdftotext failed, maybe corrupt PDF? status=" + String.valueOf(status);
}
if (msg != null)
{
log.error(msg);
throw new IOException(msg);
}
return new ByteArrayInputStream(baos.toByteArray());
}
catch (InterruptedException e)
{
log.error("Failed in pdftotext subprocess: ",e);
throw e;
}
finally
{
if (!sourceTmp.delete())
{
log.error("Unable to delete temporary file");
}
if (status != 0)
{
log.error("PDF conversion proc failed, returns=" + status + ", file=" + sourceTmp);
}
}
}
}

View File

@@ -0,0 +1,514 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.mediafilter;
import java.awt.Graphics2D;
import java.awt.Color;
import java.awt.image.*;
import java.awt.RenderingHints;
import java.awt.Transparency;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.util.Arrays;
import java.util.regex.MatchResult;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.imageio.ImageIO;
import org.apache.log4j.Logger;
import org.dspace.core.ConfigurationManager;
import org.dspace.core.Utils;
/**
* Thumbnail MediaFilter for PDF sources
*
* This filter generates thumbnail images for PDF documents, _including_
* 3D PDF documents with 2D "poster" images. Since the PDFBox library
* does not understand these, and fails to render a lot of other PDFs,
* this filter forks a process running the "pdftoppm" program from the
* XPdf suite -- see http://www.foolabs.com/xpdf/
* This is a suite of open-source PDF tools that has been widely ported
* to Unix platforms and the ones we use (pdftoppm, pdfinfo) even
* run on Win32.
*
* This was written for the FACADE project but it is not directly connected
* to any of the other FACADE-specific software. The FACADE UI expects
* to find thumbnail images for 3D PDFs generated by this filter.
*
* Requires DSpace config properties keys:
*
* xpdf.path.pdftoppm -- absolute path to "pdftoppm" executable (required!)
* xpdf.path.pdfinfo -- absolute path to "pdfinfo" executable (required!)
* thumbnail.maxwidth -- borrowed from thumbnails, max dim of generated image
*
* @author Larry Stone
* @see org.dspace.app.mediafilter.MediaFilter
*/
public class XPDF2Thumbnail extends MediaFilter
{
private static Logger log = Logger.getLogger(XPDF2Thumbnail.class);
// maximum size of either preview image dimension
private static final int MAX_PX = 800;
// maxium DPI - use common screen res, 100dpi.
private static final int MAX_DPI = 100;
// command to get image from PDF; @FILE@, @OUTPUT@ are placeholders
private static final String XPDF_PDFTOPPM_COMMAND[] =
{
"@COMMAND@", "-q", "-f", "1", "-l", "1",
"-r", "@DPI@", "@FILE@", "@OUTPUTFILE@"
};
// command to get image from PDF; @FILE@, @OUTPUT@ are placeholders
private static final String XPDF_PDFINFO_COMMAND[] =
{
"@COMMAND@", "-f", "1", "-l", "1", "-box", "@FILE@"
};
// executable path for "pdftoppm", comes from DSpace config at runtime.
private String pdftoppmPath = null;
// executable path for "pdfinfo", comes from DSpace config at runtime.
private String pdfinfoPath = null;
// match line in pdfinfo output that describes file's MediaBox
private static final Pattern MEDIABOX_PATT = Pattern.compile(
"^Page\\s+\\d+\\s+MediaBox:\\s+([\\.\\d-]+)\\s+([\\.\\d-]+)\\s+([\\.\\d-]+)\\s+([\\.\\d-]+)");
// also from thumbnail.maxwidth in config
private int xmax = 0;
// backup default for size, on the large side.
private static final int DEFAULT_XMAX = 500;
public String getFilteredName(String oldFilename)
{
return oldFilename + ".jpg";
}
public String getBundleName()
{
return "THUMBNAIL";
}
public String getFormatString()
{
return "JPEG";
}
public String getDescription()
{
return "Generated Thumbnail";
}
// canonical MediaFilter method to generate the thumbnail as stream.
public InputStream getDestinationStream(InputStream sourceStream)
throws Exception
{
// get config params
float xmax = (float) ConfigurationManager
.getIntProperty("thumbnail.maxwidth");
float ymax = (float) ConfigurationManager
.getIntProperty("thumbnail.maxheight");
boolean blurring = (boolean) ConfigurationManager
.getBooleanProperty("thumbnail.blurring");
boolean hqscaling = (boolean) ConfigurationManager
.getBooleanProperty("thumbnail.hqscaling");
// sanity check: xpdf paths are required. can cache since it won't change
if (pdftoppmPath == null || pdfinfoPath == null)
{
pdftoppmPath = ConfigurationManager.getProperty("xpdf.path.pdftoppm");
pdfinfoPath = ConfigurationManager.getProperty("xpdf.path.pdfinfo");
if (pdftoppmPath == null)
{
throw new IllegalStateException("No value for key \"xpdf.path.pdftoppm\" in DSpace configuration! Should be path to XPDF pdftoppm executable.");
}
if (pdfinfoPath == null)
{
throw new IllegalStateException("No value for key \"xpdf.path.pdfinfo\" in DSpace configuration! Should be path to XPDF pdfinfo executable.");
}
if (xmax == 0)
{
xmax = DEFAULT_XMAX;
}
}
// make local file copy of source PDF since the PDF tools
// require a file for random access.
// XXX fixme would be nice to optimize this if we ever get
// XXX a DSpace method to access (optionally!) the _file_ of
// a Bitstream in the asset store, only when there is one of course.
File sourceTmp = File.createTempFile("DSfilt",".pdf");
sourceTmp.deleteOnExit();
int status = 0;
BufferedImage source = null;
try
{
OutputStream sto = new FileOutputStream(sourceTmp);
Utils.copy(sourceStream, sto);
sto.close();
sourceStream.close();
// First get max physical dim of bounding box of first page
// to compute the DPI to ask for.. otherwise some AutoCAD
// drawings can produce enormous files even at 75dpi, for
// 48" drawings..
// run pdfinfo, look for MediaBox description in the output, e.g.
// "Page 1 MediaBox: 0.00 0.00 612.00 792.00"
//
int dpi = 0;
String pdfinfoCmd[] = XPDF_PDFINFO_COMMAND.clone();
pdfinfoCmd[0] = pdfinfoPath;
pdfinfoCmd[pdfinfoCmd.length-1] = sourceTmp.toString();
BufferedReader lr = null;
try
{
MatchResult mediaBox = null;
Process pdfProc = Runtime.getRuntime().exec(pdfinfoCmd);
lr = new BufferedReader(new InputStreamReader(pdfProc.getInputStream()));
String line;
for (line = lr.readLine(); line != null; line = lr.readLine())
{
// if (line.matches(MEDIABOX_PATT))
Matcher mm = MEDIABOX_PATT.matcher(line);
if (mm.matches())
{
mediaBox = mm.toMatchResult();
}
}
int istatus = pdfProc.waitFor();
if (istatus != 0)
{
log.error("XPDF pdfinfo proc failed, exit status=" + istatus + ", file=" + sourceTmp);
}
if (mediaBox == null)
{
log.error("Sanity check: Did not find \"MediaBox\" line in output of XPDF pdfinfo, file="+sourceTmp);
throw new IllegalArgumentException("Failed to get MediaBox of PDF with pdfinfo, cannot compute thumbnail.");
}
else
{
double x0 = Double.parseDouble(mediaBox.group(1));
double y0 = Double.parseDouble(mediaBox.group(2));
double x1 = Double.parseDouble(mediaBox.group(3));
double y1 = Double.parseDouble(mediaBox.group(4));
int maxdim = (int)Math.max(Math.abs(x1 - x0), Math.abs(y1 - y0));
dpi = Math.min(MAX_DPI, (MAX_PX * 72 / maxdim));
log.debug("DPI: pdfinfo method got dpi="+dpi+" for max dim="+maxdim+" (points, 1/72\")");
}
}
catch (InterruptedException e)
{
log.error("Failed transforming file for preview: ",e);
throw new IllegalArgumentException("Failed transforming file for thumbnail: ",e);
}
catch (NumberFormatException e)
{
log.error("Failed interpreting pdfinfo results, check regexp: ",e);
throw new IllegalArgumentException("Failed transforming file for thumbnail: ",e);
}
finally
{
if (lr != null)
{
lr.close();
}
}
// Render page 1 using xpdf's pdftoppm
// Requires Sun JAI imageio additions to read ppm directly.
// this will get "-000001.ppm" appended to it by pdftoppm
File outPrefixF = File.createTempFile("prevu","out");
String outPrefix = outPrefixF.toString();
if (!outPrefixF.delete())
{
log.error("Unable to delete output file");
}
String pdfCmd[] = XPDF_PDFTOPPM_COMMAND.clone();
pdfCmd[0] = pdftoppmPath;
pdfCmd[pdfCmd.length-3] = String.valueOf(dpi);
pdfCmd[pdfCmd.length-2] = sourceTmp.toString();
pdfCmd[pdfCmd.length-1] = outPrefix;
File outf = new File(outPrefix+"-000001.ppm");
log.debug("Running xpdf command: "+Arrays.deepToString(pdfCmd));
try
{
Process pdfProc = Runtime.getRuntime().exec(pdfCmd);
status = pdfProc.waitFor();
if (!outf.exists()) outf = new File(outPrefix+"-00001.ppm");
if (!outf.exists()) outf = new File(outPrefix+"-0001.ppm");
if (!outf.exists()) outf = new File(outPrefix+"-001.ppm");
if (!outf.exists()) outf = new File(outPrefix+"-01.ppm");
if (!outf.exists()) outf = new File(outPrefix+"-1.ppm");
log.debug("PDFTOPPM output is: "+outf+", exists="+outf.exists());
source = ImageIO.read(outf);
}
catch (InterruptedException e)
{
log.error("Failed transforming file for preview: ",e);
throw new IllegalArgumentException("Failed transforming file for preview: ",e);
}
finally
{
if (!outf.delete())
{
log.error("Unable to delete file");
}
}
}
finally
{
if (!sourceTmp.delete())
{
log.error("Unable to delete temporary source");
}
if (status != 0)
{
log.error("PDF conversion proc failed, exit status=" + status + ", file=" + sourceTmp);
}
}
if (source == null)
{
throw new IOException("Unknown failure while transforming file to preview: no image produced.");
}
// read in bitstream's image
BufferedImage buf = source;
// now get the image dimensions
float xsize = (float) buf.getWidth(null);
float ysize = (float) buf.getHeight(null);
// if verbose flag is set, print out dimensions
// to STDOUT
if (MediaFilterManager.isVerbose)
{
System.out.println("original size: " + xsize + "," + ysize);
}
// scale by x first if needed
if (xsize > xmax)
{
// calculate scaling factor so that xsize * scale = new size (max)
float scale_factor = xmax / xsize;
// if verbose flag is set, print out extracted text
// to STDOUT
if (MediaFilterManager.isVerbose)
{
System.out.println("x scale factor: " + scale_factor);
}
// now reduce x size
// and y size
xsize = xsize * scale_factor;
ysize = ysize * scale_factor;
// if verbose flag is set, print out extracted text
// to STDOUT
if (MediaFilterManager.isVerbose)
{
System.out.println("new size: " + xsize + "," + ysize);
}
}
// scale by y if needed
if (ysize > ymax)
{
float scale_factor = ymax / ysize;
// now reduce x size
// and y size
xsize = xsize * scale_factor;
ysize = ysize * scale_factor;
}
// if verbose flag is set, print details to STDOUT
if (MediaFilterManager.isVerbose)
{
System.out.println("created thumbnail size: " + xsize + ", "
+ ysize);
}
// create an image buffer for the thumbnail with the new xsize, ysize
BufferedImage thumbnail = new BufferedImage((int) xsize, (int) ysize,
BufferedImage.TYPE_INT_RGB);
// Use blurring if selected in config.
// a little blur before scaling does wonders for keeping moire in check.
if (blurring)
{
// send the buffered image off to get blurred.
buf = getBlurredInstance((BufferedImage) buf);
}
// Use high quality scaling method if selected in config.
// this has a definite performance penalty.
if (hqscaling)
{
// send the buffered image off to get an HQ downscale.
buf = getScaledInstance((BufferedImage) buf, (int) xsize, (int) ysize,
(Object) RenderingHints.VALUE_INTERPOLATION_BICUBIC, (boolean) true);
}
// now render the image into the thumbnail buffer
Graphics2D g2d = thumbnail.createGraphics();
g2d.drawImage(buf, 0, 0, (int) xsize, (int) ysize, null);
// now create an input stream for the thumbnail buffer and return it
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ImageIO.write(thumbnail, "jpeg", baos);
// now get the array
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
return bais; // hope this gets written out before its garbage collected!
}
public String[] getInputMIMETypes()
{
return ImageIO.getReaderMIMETypes();
}
public String[] getInputDescriptions()
{
return null;
}
public String[] getInputExtensions()
{
// Temporarily disabled as JDK 1.6 only
// return ImageIO.getReaderFileSuffixes();
return null;
}
public BufferedImage getNormalizedInstance(BufferedImage buf)
{
int type = (buf.getTransparency() == Transparency.OPAQUE) ?
BufferedImage.TYPE_INT_RGB : BufferedImage.TYPE_INT_ARGB_PRE;
int w, h;
w = buf.getWidth();
h = buf.getHeight();
BufferedImage normal = new BufferedImage(w, h, type);
Graphics2D g2d = normal.createGraphics();
g2d.drawImage(buf, 0, 0, w, h, Color.WHITE, null);
g2d.dispose();
return normal;
}
public BufferedImage getBlurredInstance(BufferedImage buf)
{
/**
* Convenience method that returns a blurred instance of the
* provided {@code BufferedImage}.
*
*/
buf = getNormalizedInstance(buf);
// kernel for blur op
float[] matrix = {
0.111f, 0.111f, 0.111f,
0.111f, 0.111f, 0.111f,
0.111f, 0.111f, 0.111f,
};
// perform the blur and return the blurred version.
BufferedImageOp blur = new ConvolveOp( new Kernel(3, 3, matrix) );
BufferedImage blurbuf = blur.filter(buf, null);
return blurbuf;
}
/**
* Convenience method that returns a scaled instance of the
* provided {@code BufferedImage}.
*
* @param buf the original image to be scaled
* @param targetWidth the desired width of the scaled instance,
* in pixels
* @param targetHeight the desired height of the scaled instance,
* in pixels
* @param hint one of the rendering hints that corresponds to
* {@code RenderingHints.KEY_INTERPOLATION} (e.g.
* {@code RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR},
* {@code RenderingHints.VALUE_INTERPOLATION_BILINEAR},
* {@code RenderingHints.VALUE_INTERPOLATION_BICUBIC})
* @param higherQuality if true, this method will use a multi-step
* scaling technique that provides higher quality than the usual
* one-step technique (only useful in downscaling cases, where
* {@code targetWidth} or {@code targetHeight} is
* smaller than the original dimensions, and generally only when
* the {@code BILINEAR} hint is specified)
* @return a scaled version of the original {@code BufferedImage}
*/
public BufferedImage getScaledInstance(BufferedImage buf,
int targetWidth,
int targetHeight,
Object hint,
boolean higherQuality)
{
int type = (buf.getTransparency() == Transparency.OPAQUE) ?
BufferedImage.TYPE_INT_RGB : BufferedImage.TYPE_INT_ARGB;
BufferedImage scalebuf = (BufferedImage)buf;
int w, h;
if (higherQuality) {
// Use multi-step technique: start with original size, then
// scale down in multiple passes with drawImage()
// until the target size is reached
w = buf.getWidth();
h = buf.getHeight();
} else {
// Use one-step technique: scale directly from original
// size to target size with a single drawImage() call
w = targetWidth;
h = targetHeight;
}
do {
if (higherQuality && w > targetWidth) {
w /= 2;
if (w < targetWidth) {
w = targetWidth;
}
}
if (higherQuality && h > targetHeight) {
h /= 2;
if (h < targetHeight) {
h = targetHeight;
}
}
BufferedImage tmp = new BufferedImage(w, h, type);
Graphics2D g2d = tmp.createGraphics();
g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION, hint);
g2d.drawImage(scalebuf, 0, 0, w, h, Color.WHITE, null);
g2d.dispose();
scalebuf = tmp;
} while (w != targetWidth || h != targetHeight);
return scalebuf;
}
}

View File

@@ -0,0 +1,786 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.packager;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.sql.SQLException;
import java.util.List;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.HelpFormatter;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.PosixParser;
import org.dspace.authorize.AuthorizeException;
import org.dspace.content.DSpaceObject;
import org.dspace.content.crosswalk.CrosswalkException;
import org.dspace.content.packager.PackageDisseminator;
import org.dspace.content.packager.PackageException;
import org.dspace.content.packager.PackageParameters;
import org.dspace.content.packager.PackageIngester;
import org.dspace.core.Constants;
import org.dspace.core.Context;
import org.dspace.core.PluginManager;
import org.dspace.eperson.EPerson;
import org.dspace.handle.HandleManager;
/**
* Command-line interface to the Packager plugin.
* <p>
* This class ONLY exists to provide a CLI for the packager plugins. It does not
* "manage" the plugins and it is not called from within DSpace, but the name
* follows a DSpace convention.
* <p>
* It can invoke one of the Submission (SIP) packagers to create a new DSpace
* Item out of a package, or a Dissemination (DIP) packager to write an Item out
* as a package.
* <p>
* Usage is as follows:<br>
* (Add the -h option to get the command to show its own help)
*
* <pre>
* 1. To submit a SIP (submissions tend to create a *new* object, with a new handle. If you want to restore an object, see -r option below)
* dspace packager
* -e {ePerson}
* -t {PackagerType}
* -p {parent-handle} [ -p {parent2} ...]
* [-o {name}={value} [ -o {name}={value} ..]]
* [-a] --- also recursively ingest all child packages of the initial package
* (child pkgs must be referenced from parent pkg)
* [-w] --- skip Workflow
* {package-filename}
*
* {PackagerType} must match one of the aliases of the chosen Packager
* plugin.
*
* The &quot;-w&quot; option circumvents Workflow, and is optional. The &quot;-o&quot;
* option, which may be repeated, passes options to the packager
* (e.g. &quot;metadataOnly&quot; to a DIP packager).
*
* 2. To restore an AIP (similar to submit mode, but attempts to restore with the handles/parents specified in AIP):
* dspace packager
* -r --- restores a object from a package info, including the specified handle (will throw an error if handle is already in use)
* -e {ePerson}
* -t {PackagerType}
* [-o {name}={value} [ -o {name}={value} ..]]
* [-a] --- also recursively restore all child packages of the initial package
* (child pkgs must be referenced from parent pkg)
* [-k] --- Skip over errors where objects already exist and Keep Existing objects by default.
* Use with -r to only restore objects which do not already exist. By default, -r will throw an error
* and rollback all changes when an object is found that already exists.
* [-f] --- Force a restore (even if object already exists).
* Use with -r to replace an existing object with one from a package (essentially a delete and restore).
* By default, -r will throw an error and rollback all changes when an object is found that already exists.
* [-i {identifier-handle-of-object}] -- Optional when -f is specified. When replacing an object, you can specify the
* object to replace if it cannot be easily determined from the package itself.
* {package-filename}
*
* Restoring is very similar to submitting, except that you are recreating pre-existing objects. So, in a restore, the object(s) are
* being recreated based on the details in the AIP. This means that the object is recreated with the same handle and same parent/children
* objects. Not all {PackagerTypes} may support a "restore".
*
* 3. To write out a DIP:
* dspace packager
* -d
* -e {ePerson}
* -t {PackagerType}
* -i {identifier-handle-of-object}
* [-a] --- also recursively disseminate all child objects of this object
* [-o {name}={value} [ -o {name}={value} ..]]
* {package-filename}
*
* The &quot;-d&quot; switch chooses a Dissemination packager, and is required.
* The &quot;-o&quot; option, which may be repeated, passes options to the packager
* (e.g. &quot;metadataOnly&quot; to a DIP packager).
* </pre>
*
* Note that {package-filename} may be "-" for standard input or standard
* output, respectively.
*
* @author Larry Stone
* @author Tim Donohue
* @version $Revision$
*/
public class Packager
{
/* Various private global settings/options */
private String packageType = null;
private boolean submit = true;
private boolean userInteractionEnabled = true;
// die from illegal command line
private static void usageError(String msg)
{
System.out.println(msg);
System.out.println(" (run with -h flag for details)");
System.exit(1);
}
public static void main(String[] argv) throws Exception
{
Options options = new Options();
options.addOption("p", "parent", true,
"Handle(s) of parent Community or Collection into which to ingest object (repeatable)");
options.addOption("e", "eperson", true,
"email address of eperson doing importing");
options
.addOption(
"w",
"install",
false,
"disable workflow; install immediately without going through collection's workflow");
options.addOption("r", "restore", false, "ingest in \"restore\" mode. Restores a missing object based on the contents in a package.");
options.addOption("k", "keep-existing", false, "if an object is found to already exist during a restore (-r), then keep the existing object and continue processing. Can only be used with '-r'. This avoids object-exists errors which are thrown by -r by default.");
options.addOption("f", "force-replace", false, "if an object is found to already exist during a restore (-r), then remove it and replace it with the contents of the package. Can only be used with '-r'. This REPLACES the object(s) in the repository with the contents from the package(s).");
options.addOption("t", "type", true, "package type or MIMEtype");
options
.addOption("o", "option", true,
"Packager option to pass to plugin, \"name=value\" (repeatable)");
options.addOption("d", "disseminate", false,
"Disseminate package (output); default is to submit.");
options.addOption("s", "submit", false,
"Submission package (Input); this is the default. ");
options.addOption("i", "identifier", true, "Handle of object to disseminate.");
options.addOption("a", "all", false, "also recursively ingest/disseminate any child packages, e.g. all Items within a Collection (not all packagers may support this option!)");
options.addOption("h", "help", false, "help (you may also specify '-h -t [type]' for additional help with a specific type of packager)");
options.addOption("u", "no-user-interaction", false, "Skips over all user interaction (i.e. [y/n] question prompts) within this script. This flag can be used if you want to save (pipe) a report of all changes to a file, and therefore need to bypass all user interaction.");
CommandLineParser parser = new PosixParser();
CommandLine line = parser.parse(options, argv);
String sourceFile = null;
String eperson = null;
String[] parents = null;
String identifier = null;
PackageParameters pkgParams = new PackageParameters();
//initialize a new packager -- we'll add all our current params as settings
Packager myPackager = new Packager();
if (line.hasOption('h'))
{
HelpFormatter myhelp = new HelpFormatter();
myhelp.printHelp("Packager [options] package-file|-\n",
options);
//If user specified a type, also print out the SIP and DIP options
// that are specific to that type of packager
if (line.hasOption('t'))
{
System.out.println("\n--------------------------------------------------------------");
System.out.println("Additional options for the " + line.getOptionValue('t') + " packager:");
System.out.println("--------------------------------------------------------------");
System.out.println("(These options may be specified using --option as described above)");
PackageIngester sip = (PackageIngester) PluginManager
.getNamedPlugin(PackageIngester.class, line.getOptionValue('t'));
if (sip != null)
{
System.out.println("\n\n" + line.getOptionValue('t') + " Submission (SIP) plugin options:\n");
System.out.println(sip.getParameterHelp());
}
else
{
System.out.println("\nNo valid Submission plugin found for " + line.getOptionValue('t') + " type.");
}
PackageDisseminator dip = (PackageDisseminator) PluginManager
.getNamedPlugin(PackageDisseminator.class, line.getOptionValue('t'));
if (dip != null)
{
System.out.println("\n\n" + line.getOptionValue('t') + " Dissemination (DIP) plugin options:\n");
System.out.println(dip.getParameterHelp());
}
else
{
System.out.println("\nNo valid Dissemination plugin found for " + line.getOptionValue('t') + " type.");
}
}
else //otherwise, display list of valid packager types
{
System.out.println("\nAvailable Submission Package (SIP) types:");
String pn[] = PluginManager
.getAllPluginNames(PackageIngester.class);
for (int i = 0; i < pn.length; ++i)
{
System.out.println(" " + pn[i]);
}
System.out
.println("\nAvailable Dissemination Package (DIP) types:");
pn = PluginManager.getAllPluginNames(PackageDisseminator.class);
for (int i = 0; i < pn.length; ++i)
{
System.out.println(" " + pn[i]);
}
}
System.exit(0);
}
//look for flag to disable all user interaction
if(line.hasOption('u'))
{
myPackager.userInteractionEnabled = false;
}
if (line.hasOption('w'))
{
pkgParams.setWorkflowEnabled(false);
}
if (line.hasOption('r'))
{
pkgParams.setRestoreModeEnabled(true);
}
//keep-existing is only valid in restoreMode (-r) -- otherwise ignore -k option.
if (line.hasOption('k') && pkgParams.restoreModeEnabled())
{
pkgParams.setKeepExistingModeEnabled(true);
}
//force-replace is only valid in restoreMode (-r) -- otherwise ignore -f option.
if (line.hasOption('f') && pkgParams.restoreModeEnabled())
{
pkgParams.setReplaceModeEnabled(true);
}
if (line.hasOption('e'))
{
eperson = line.getOptionValue('e');
}
if (line.hasOption('p'))
{
parents = line.getOptionValues('p');
}
if (line.hasOption('t'))
{
myPackager.packageType = line.getOptionValue('t');
}
if (line.hasOption('i'))
{
identifier = line.getOptionValue('i');
}
if (line.hasOption('a'))
{
//enable 'recursiveMode' param to packager implementations, in case it helps with packaging or ingestion process
pkgParams.setRecursiveModeEnabled(true);
}
String files[] = line.getArgs();
if (files.length > 0)
{
sourceFile = files[0];
}
if (line.hasOption('d'))
{
myPackager.submit = false;
}
if (line.hasOption('o'))
{
String popt[] = line.getOptionValues('o');
for (int i = 0; i < popt.length; ++i)
{
String pair[] = popt[i].split("\\=", 2);
if (pair.length == 2)
{
pkgParams.addProperty(pair[0].trim(), pair[1].trim());
}
else if (pair.length == 1)
{
pkgParams.addProperty(pair[0].trim(), "");
}
else
{
System.err
.println("Warning: Illegal package option format: \""
+ popt[i] + "\"");
}
}
}
// Sanity checks on arg list: required args
// REQUIRED: sourceFile, ePerson (-e), packageType (-t)
if (sourceFile == null || eperson == null || myPackager.packageType == null)
{
System.err.println("Error - missing a REQUIRED argument or option.\n");
HelpFormatter myhelp = new HelpFormatter();
myhelp.printHelp("PackageManager [options] package-file|-\n", options);
System.exit(0);
}
// find the EPerson, assign to context
Context context = new Context();
EPerson myEPerson = null;
myEPerson = EPerson.findByEmail(context, eperson);
if (myEPerson == null)
{
usageError("Error, eperson cannot be found: " + eperson);
}
context.setCurrentUser(myEPerson);
//If we are in REPLACE mode
if(pkgParams.replaceModeEnabled())
{
PackageIngester sip = (PackageIngester) PluginManager
.getNamedPlugin(PackageIngester.class, myPackager.packageType);
if (sip == null)
{
usageError("Error, Unknown package type: " + myPackager.packageType);
}
DSpaceObject objToReplace = null;
//if a specific identifier was specified, make sure it is valid
if(identifier!=null && identifier.length()>0)
{
objToReplace = HandleManager.resolveToObject(context, identifier);
if (objToReplace == null)
{
throw new IllegalArgumentException("Bad identifier/handle -- "
+ "Cannot resolve handle \"" + identifier + "\"");
}
}
String choiceString = null;
if(myPackager.userInteractionEnabled)
{
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
System.out.println("\n\nWARNING -- You are running the packager in REPLACE mode.");
System.out.println("\nREPLACE mode may be potentially dangerous as it will automatically remove and replace contents within DSpace.");
System.out.println("We highly recommend backing up all your DSpace contents (files & database) before continuing.");
System.out.print("\nWould you like to continue? [y/n]: ");
choiceString = input.readLine();
}
else
{
//user interaction disabled -- default answer to 'yes', otherwise script won't continue
choiceString = "y";
}
if (choiceString.equalsIgnoreCase("y"))
{
System.out.println("Beginning replacement process...");
try
{
//replace the object from the source file
myPackager.replace(context, sip, pkgParams, sourceFile, objToReplace);
//commit all changes & exit successfully
context.complete();
System.exit(0);
}
catch (Exception e)
{
// abort all operations
e.printStackTrace();
context.abort();
System.out.println(e);
System.exit(1);
}
}
}
//else if normal SUBMIT mode (or basic RESTORE mode -- which is a special type of submission)
else if (myPackager.submit || pkgParams.restoreModeEnabled())
{
PackageIngester sip = (PackageIngester) PluginManager
.getNamedPlugin(PackageIngester.class, myPackager.packageType);
if (sip == null)
{
usageError("Error, Unknown package type: " + myPackager.packageType);
}
// validate each parent arg (if any)
DSpaceObject parentObjs[] = null;
if(parents!=null)
{
System.out.println("Destination parents:");
parentObjs = new DSpaceObject[parents.length];
for (int i = 0; i < parents.length; i++)
{
// sanity check: did handle resolve?
parentObjs[i] = HandleManager.resolveToObject(context,
parents[i]);
if (parentObjs[i] == null)
{
throw new IllegalArgumentException(
"Bad parent list -- "
+ "Cannot resolve parent handle \""
+ parents[i] + "\"");
}
System.out.println((i == 0 ? "Owner: " : "Parent: ")
+ parentObjs[i].getHandle());
}
}
try
{
//ingest the object from the source file
myPackager.ingest(context, sip, pkgParams, sourceFile, parentObjs);
//commit all changes & exit successfully
context.complete();
System.exit(0);
}
catch (Exception e)
{
// abort all operations
e.printStackTrace();
context.abort();
System.out.println(e);
System.exit(1);
}
}// else, if DISSEMINATE mode
else
{
//retrieve specified package disseminator
PackageDisseminator dip = (PackageDisseminator) PluginManager
.getNamedPlugin(PackageDisseminator.class, myPackager.packageType);
if (dip == null)
{
usageError("Error, Unknown package type: " + myPackager.packageType);
}
DSpaceObject dso = HandleManager.resolveToObject(context, identifier);
if (dso == null)
{
throw new IllegalArgumentException("Bad identifier/handle -- "
+ "Cannot resolve handle \"" + identifier + "\"");
}
//disseminate the requested object
myPackager.disseminate(context, dip, dso, pkgParams, sourceFile);
}
System.exit(0);
}
/**
* Ingest one or more DSpace objects from package(s) based on the
* options passed to the 'packager' script. This method is called
* for both 'submit' (-s) and 'restore' (-r) modes.
* <p>
* Please note that replace (-r -f) mode calls the replace() method instead.
*
* @param context DSpace Context
* @param sip PackageIngester which will actually ingest the package
* @param pkgParams Parameters to pass to individual packager instances
* @param sourceFile location of the source package to ingest
* @param parentObjs Parent DSpace object(s) to attach new object to
* @throws IOException
* @throws SQLException
* @throws FileNotFoundException
* @throws AuthorizeException
* @throws CrosswalkException
* @throws PackageException
*/
protected void ingest(Context context, PackageIngester sip, PackageParameters pkgParams, String sourceFile, DSpaceObject parentObjs[])
throws IOException, SQLException, FileNotFoundException, AuthorizeException, CrosswalkException, PackageException
{
// make sure we have an input file
File pkgFile = new File(sourceFile);
if(!pkgFile.exists())
{
System.out.println("\nERROR: Package located at " + sourceFile + " does not exist!");
System.exit(1);
}
System.out.println("\nIngesting package located at " + sourceFile);
//find first parent (if specified) -- this will be the "owner" of the object
DSpaceObject parent = null;
if(parentObjs!=null && parentObjs.length>0)
{
parent = parentObjs[0];
}
//NOTE: at this point, Parent may be null -- in which case it is up to the PackageIngester
// to either determine the Parent (from package contents) or throw an error.
//If we are doing a recursive ingest, call ingestAll()
if(pkgParams.recursiveModeEnabled())
{
System.out.println("\nAlso ingesting all referenced packages (recursive mode)..");
System.out.println("This may take a while, please check your logs for ongoing status while we process each package.");
//ingest first package & recursively ingest anything else that package references (child packages, etc)
List<String> hdlResults = sip.ingestAll(context, parent, pkgFile, pkgParams, null);
if(hdlResults!=null)
{
//Report total objects created
System.out.println("\nCREATED a total of " + hdlResults.size() + " DSpace Objects.");
String choiceString = null;
//Ask if user wants full list printed to command line, as this may be rather long.
if(this.userInteractionEnabled)
{
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
System.out.print("\nWould you like to view a list of all objects that were created? [y/n]: ");
choiceString = input.readLine();
}
else
{
// user interaction disabled -- default answer to 'yes', as
// we want to provide user with as detailed a report as possible.
choiceString = "y";
}
// Provide detailed report if user answered 'yes'
if (choiceString.equalsIgnoreCase("y"))
{
System.out.println("\n\n");
for(String result : hdlResults)
{
DSpaceObject dso = HandleManager.resolveToObject(context, result);
if(dso!=null)
{
if(pkgParams.restoreModeEnabled())
{
System.out.println("RESTORED DSpace " + Constants.typeText[dso.getType()] +
" [ hdl=" + dso.getHandle() + ", dbID=" + dso.getID() + " ] ");
}
else
{
System.out.println("CREATED new DSpace " + Constants.typeText[dso.getType()] +
" [ hdl=" + dso.getHandle() + ", dbID=" + dso.getID() + " ] ");
}
}
}
}
}
}
else
{
//otherwise, just one package to ingest
try
{
DSpaceObject dso = sip.ingest(context, parent, pkgFile, pkgParams, null);
if(dso!=null)
{
if(pkgParams.restoreModeEnabled())
{
System.out.println("RESTORED DSpace " + Constants.typeText[dso.getType()] +
" [ hdl=" + dso.getHandle() + ", dbID=" + dso.getID() + " ] ");
}
else
{
System.out.println("CREATED new DSpace " + Constants.typeText[dso.getType()] +
" [ hdl=" + dso.getHandle() + ", dbID=" + dso.getID() + " ] ");
}
}
}
catch(IllegalStateException ie)
{
// NOTE: if we encounter an IllegalStateException, this means the
// handle is already in use and this object already exists.
//if we are skipping over (i.e. keeping) existing objects
if(pkgParams.keepExistingModeEnabled())
{
System.out.println("\nSKIPPED processing package '" + pkgFile + "', as an Object already exists with this handle.");
}
else // Pass this exception on -- which essentially causes a full rollback of all changes (this is the default)
{
throw ie;
}
}
}
}
/**
* Disseminate one or more DSpace objects into package(s) based on the
* options passed to the 'packager' script
*
* @param context DSpace context
* @param dip PackageDisseminator which will actually create the package
* @param dso DSpace Object to disseminate as a package
* @param pkgParams Parameters to pass to individual packager instances
* @param outputFile File where final package should be saved
* @throws IOException
* @throws SQLException
* @throws FileNotFoundException
* @throws AuthorizeException
* @throws CrosswalkException
* @throws PackageException
*/
protected void disseminate(Context context, PackageDisseminator dip,
DSpaceObject dso, PackageParameters pkgParams,
String outputFile)
throws IOException, SQLException, FileNotFoundException, AuthorizeException, CrosswalkException, PackageException
{
// initialize output file
File pkgFile = new File(outputFile);
System.out.println("\nDisseminating DSpace " + Constants.typeText[dso.getType()] +
" [ hdl=" + dso.getHandle() + " ] to " + outputFile);
//If we are doing a recursive dissemination of this object & all its child objects, call disseminateAll()
if(pkgParams.recursiveModeEnabled())
{
System.out.println("\nAlso disseminating all child objects (recursive mode)..");
System.out.println("This may take a while, please check your logs for ongoing status while we process each package.");
//disseminate initial object & recursively disseminate all child objects as well
List<File> fileResults = dip.disseminateAll(context, dso, pkgParams, pkgFile);
if(fileResults!=null)
{
//Report total files created
System.out.println("\nCREATED a total of " + fileResults.size() + " dissemination package files.");
String choiceString = null;
//Ask if user wants full list printed to command line, as this may be rather long.
if(this.userInteractionEnabled)
{
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
System.out.print("\nWould you like to view a list of all files that were created? [y/n]: ");
choiceString = input.readLine();
}
else
{
// user interaction disabled -- default answer to 'yes', as
// we want to provide user with as detailed a report as possible.
choiceString = "y";
}
// Provide detailed report if user answered 'yes'
if (choiceString.equalsIgnoreCase("y"))
{
System.out.println("\n\n");
for(File result : fileResults)
{
System.out.println("CREATED package file: " + result.getCanonicalPath());
}
}
}
}
else
{
//otherwise, just disseminate a single object to a single package file
dip.disseminate(context, dso, pkgParams, pkgFile);
if(pkgFile!=null && pkgFile.exists())
{
System.out.println("\nCREATED package file: " + pkgFile.getCanonicalPath());
}
}
}
/**
* Replace an one or more existing DSpace objects with the contents of
* specified package(s) based on the options passed to the 'packager' script.
* This method is only called for full replaces ('-r -f' options specified)
*
* @param context DSpace Context
* @param sip PackageIngester which will actually replace the object with the package
* @param pkgParams Parameters to pass to individual packager instances
* @param sourceFile location of the source package to ingest as the replacement
* @param objToReplace DSpace object to replace (may be null if it will be specified in the package itself)
* @throws IOException
* @throws SQLException
* @throws FileNotFoundException
* @throws AuthorizeException
* @throws CrosswalkException
* @throws PackageException
*/
protected void replace(Context context, PackageIngester sip, PackageParameters pkgParams, String sourceFile, DSpaceObject objToReplace)
throws IOException, SQLException, FileNotFoundException, AuthorizeException, CrosswalkException, PackageException
{
// make sure we have an input file
File pkgFile = new File(sourceFile);
if(!pkgFile.exists())
{
System.out.println("\nPackage located at " + sourceFile + " does not exist!");
System.exit(1);
}
System.out.println("\nReplacing DSpace object(s) with package located at " + sourceFile);
if(objToReplace!=null)
{
System.out.println("Will replace existing DSpace " + Constants.typeText[objToReplace.getType()] +
" [ hdl=" + objToReplace.getHandle() + " ]");
}
// NOTE: At this point, objToReplace may be null. If it is null, it is up to the PackageIngester
// to determine which Object needs to be replaced (based on the handle specified in the pkg, etc.)
//If we are doing a recursive replace, call replaceAll()
if(pkgParams.recursiveModeEnabled())
{
//ingest first object using package & recursively replace anything else that package references (child objects, etc)
List<String> hdlResults = sip.replaceAll(context, objToReplace, pkgFile, pkgParams);
if(hdlResults!=null)
{
//Report total objects replaced
System.out.println("\nREPLACED a total of " + hdlResults.size() + " DSpace Objects.");
String choiceString = null;
//Ask if user wants full list printed to command line, as this may be rather long.
if(this.userInteractionEnabled)
{
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
System.out.print("\nWould you like to view a list of all objects that were replaced? [y/n]: ");
choiceString = input.readLine();
}
else
{
// user interaction disabled -- default answer to 'yes', as
// we want to provide user with as detailed a report as possible.
choiceString = "y";
}
// Provide detailed report if user answered 'yes'
if (choiceString.equalsIgnoreCase("y"))
{
System.out.println("\n\n");
for(String result : hdlResults)
{
DSpaceObject dso = HandleManager.resolveToObject(context, result);
if(dso!=null)
{
System.out.println("REPLACED DSpace " + Constants.typeText[dso.getType()] +
" [ hdl=" + dso.getHandle() + " ] ");
}
}
}
}
}
else
{
//otherwise, just one object to replace
DSpaceObject dso = sip.replace(context, objToReplace, pkgFile, pkgParams);
if(dso!=null)
{
System.out.println("REPLACED DSpace " + Constants.typeText[dso.getType()] +
" [ hdl=" + dso.getHandle() + " ] ");
}
}
}
}

View File

@@ -0,0 +1,16 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
/**
* <p>Tools for exporting and importing DSpace objects (Community, Collection,
* Item, etc.) wrapped in various kinds of packaging.</p>
*
* @see org.dspace.content.packager
*/
package org.dspace.app.packager;

View File

@@ -0,0 +1,159 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.requestitem;
import org.apache.log4j.Logger;
import org.dspace.core.Context;
import org.dspace.core.Utils;
import org.dspace.storage.rdbms.DatabaseManager;
import org.dspace.storage.rdbms.TableRow;
import java.sql.SQLException;
import java.util.Date;
/**
* Object representing an Item Request
*/
public class RequestItem {
private static Logger log = Logger.getLogger(RequestItem.class);
private int bitstreamId, itemID;
private String reqEmail;
private String reqName;
private String reqMessage;
private String token;
private boolean allfiles;
private Date decision_date;
private boolean accept_request;
public RequestItem(int itemID, int bitstreamId, String reqEmail, String reqName, String reqMessage, boolean allfiles){
this.itemID = itemID;
this.bitstreamId = bitstreamId;
this.reqEmail = reqEmail;
this.reqName = reqName;
this.reqMessage = reqMessage;
this.allfiles = allfiles;
}
private RequestItem(TableRow record) {
this.itemID = record.getIntColumn("item_id");
this.bitstreamId = record.getIntColumn("bitstream_id");
this.token = record.getStringColumn("token");
this.reqEmail = record.getStringColumn("request_email");
this.reqName = record.getStringColumn("request_name");
this.reqMessage = record.getStringColumn("request_message");
this.allfiles = record.getBooleanColumn("allfiles");
this.decision_date = record.getDateColumn("decision_date");
this.accept_request = record.getBooleanColumn("accept_request");
}
public static RequestItem findByToken(Context context, String token) {
try {
TableRow requestItem = DatabaseManager.findByUnique(context, "requestitem", "token", token);
return new RequestItem(requestItem);
} catch (SQLException e) {
log.error(e.getMessage());
return null;
}
}
/**
* Save updates to the record. Only accept_request, and decision_date are set-able.
* @param context
*/
public void update(Context context) {
try {
TableRow record = DatabaseManager.findByUnique(context, "requestitem", "token", token);
record.setColumn("accept_request", accept_request);
record.setColumn("decision_date", decision_date);
DatabaseManager.update(context, record);
} catch (SQLException e) {
log.error(e.getMessage());
}
}
/**
* Generate a unique id of the request and put it into the DB
* @param context
* @return
* @throws java.sql.SQLException
*/
public String getNewToken(Context context) throws SQLException
{
TableRow record = DatabaseManager.create(context, "requestitem");
record.setColumn("token", Utils.generateHexKey());
record.setColumn("bitstream_id", bitstreamId);
record.setColumn("item_id", itemID);
record.setColumn("allfiles", allfiles);
record.setColumn("request_email", reqEmail);
record.setColumn("request_name", reqName);
record.setColumn("request_message", reqMessage);
record.setColumnNull("accept_request");
record.setColumn("request_date", new Date());
record.setColumnNull("decision_date");
record.setColumnNull("expires");
DatabaseManager.update(context, record);
if (log.isDebugEnabled())
{
log.debug("Created requestitem_token " + record.getIntColumn("requestitem_id")
+ " with token " + record.getStringColumn("token") + "\"");
}
return record.getStringColumn("token");
}
public boolean isAllfiles() {
return allfiles;
}
public String getReqMessage() {
return reqMessage;
}
public String getReqName() {
return reqName;
}
public String getReqEmail() {
return reqEmail;
}
public String getToken() {
return token;
}
public int getItemID() {
return itemID;
}
public int getBitstreamId() {
return bitstreamId;
}
public Date getDecision_date() {
return decision_date;
}
public void setDecision_date(Date decision_date) {
this.decision_date = decision_date;
}
public boolean isAccept_request() {
return accept_request;
}
public void setAccept_request(boolean accept_request) {
this.accept_request = accept_request;
}
}

View File

@@ -0,0 +1,42 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.requestitem;
import org.dspace.eperson.EPerson;
/**
* Simple DTO to transfer data about the corresponding author for the Request
* Copy feature
*
* @author Andrea Bollini
*
*/
public class RequestItemAuthor {
private String fullName;
private String email;
public RequestItemAuthor(String fullName, String email) {
super();
this.fullName = fullName;
this.email = email;
}
public RequestItemAuthor(EPerson ePerson) {
super();
this.fullName = ePerson.getFullName();
this.email = ePerson.getEmail();
}
public String getEmail() {
return email;
}
public String getFullName() {
return fullName;
}
}

View File

@@ -0,0 +1,25 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.requestitem;
import java.sql.SQLException;
import org.dspace.content.Item;
import org.dspace.core.Context;
/**
* Interface to abstract the strategy for select the author to contact for
* request copy
*
* @author Andrea Bollini
*
*/
public interface RequestItemAuthorExtractor {
public RequestItemAuthor getRequestItemAuthor(Context context, Item item)
throws SQLException;
}

View File

@@ -0,0 +1,77 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.requestitem;
import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Logger;
import org.dspace.authorize.AuthorizeException;
import org.dspace.content.Item;
import org.dspace.core.ConfigurationManager;
import org.dspace.core.Context;
import org.dspace.core.I18nUtil;
import org.dspace.eperson.EPerson;
import java.sql.SQLException;
/**
* RequestItem strategy to allow DSpace support team's helpdesk to receive requestItem request
* With this enabled, then the Item author/submitter doesn't receive the request, but the helpdesk instead does.
*
* Failover to the RequestItemSubmitterStrategy, which means the submitter would get the request if there is no specified helpdesk email.
*
* @author Sam Ottenhoff
* @author Peter Dietz
*/
public class RequestItemHelpdeskStrategy extends RequestItemSubmitterStrategy {
private static Logger log = Logger.getLogger(RequestItemHelpdeskStrategy.class);
public RequestItemHelpdeskStrategy() {}
@Override
public RequestItemAuthor getRequestItemAuthor(Context context, Item item) throws SQLException {
boolean helpdeskOverridesSubmitter = ConfigurationManager.getBooleanProperty("request.item.helpdesk.override", false);
String helpDeskEmail = ConfigurationManager.getProperty("mail.helpdesk");
if (helpdeskOverridesSubmitter && StringUtils.isNotBlank(helpDeskEmail)) {
return getHelpDeskPerson(context, helpDeskEmail);
} else {
//Fallback to default logic (author of Item) if helpdesk isn't fully enabled or setup
return super.getRequestItemAuthor(context, item);
}
}
/**
* Return a RequestItemAuthor object for the specified helpdesk email address.
* It makes an attempt to find if there is a matching eperson for the helpdesk address, to use the name,
* Otherwise it falls back to a helpdeskname key in the Messages.props.
* @param context
* @param helpDeskEmail
* @return
*/
public RequestItemAuthor getHelpDeskPerson(Context context, String helpDeskEmail) throws SQLException{
EPerson helpdeskEPerson = null;
try {
context.turnOffAuthorisationSystem();
helpdeskEPerson = EPerson.findByEmail(context, helpDeskEmail);
context.restoreAuthSystemState();
} catch (AuthorizeException e) {
log.error(e.getMessage());
}
if(helpdeskEPerson != null) {
return new RequestItemAuthor(helpdeskEPerson);
} else {
String helpdeskName = I18nUtil.getMessage(
"org.dspace.app.requestitem.RequestItemHelpdeskStrategy.helpdeskname",
context);
return new RequestItemAuthor(helpdeskName, helpDeskEmail);
}
}
}

View File

@@ -0,0 +1,75 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.requestitem;
import java.sql.SQLException;
import org.apache.commons.lang.StringUtils;
import org.dspace.content.Metadatum;
import org.dspace.content.Item;
import org.dspace.core.Context;
import org.dspace.core.I18nUtil;
/**
* Try to look to an item metadata for the corresponding author name and email.
* Failover to the RequestItemSubmitterStrategy
*
* @author Andrea Bollini
*
*/
public class RequestItemMetadataStrategy extends RequestItemSubmitterStrategy {
private String emailMetadata;
private String fullNameMatadata;
public RequestItemMetadataStrategy() {
}
@Override
public RequestItemAuthor getRequestItemAuthor(Context context, Item item)
throws SQLException {
if (emailMetadata != null)
{
Metadatum[] vals = item.getMetadataByMetadataString(emailMetadata);
if (vals.length > 0)
{
String email = vals[0].value;
String fullname = null;
if (fullNameMatadata != null)
{
Metadatum[] nameVals = item.getMetadataByMetadataString(fullNameMatadata);
if (nameVals.length > 0)
{
fullname = nameVals[0].value;
}
}
if (StringUtils.isBlank(fullname))
{
fullname = I18nUtil
.getMessage(
"org.dspace.app.requestitem.RequestItemMetadataStrategy.unnamed",
context);
}
RequestItemAuthor author = new RequestItemAuthor(
fullname, email);
return author;
}
}
return super.getRequestItemAuthor(context, item);
}
public void setEmailMetadata(String emailMetadata) {
this.emailMetadata = emailMetadata;
}
public void setFullNameMatadata(String fullNameMatadata) {
this.fullNameMatadata = fullNameMatadata;
}
}

View File

@@ -0,0 +1,36 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.requestitem;
import java.sql.SQLException;
import org.dspace.content.Item;
import org.dspace.core.Context;
import org.dspace.eperson.EPerson;
/**
* Basic strategy that looks to the original submitter.
*
* @author Andrea Bollini
*
*/
public class RequestItemSubmitterStrategy implements RequestItemAuthorExtractor {
public RequestItemSubmitterStrategy() {
}
@Override
public RequestItemAuthor getRequestItemAuthor(Context context, Item item)
throws SQLException {
EPerson submitter = item.getSubmitter();
RequestItemAuthor author = new RequestItemAuthor(
submitter.getFullName(), submitter.getEmail());
return author;
}
}

View File

@@ -0,0 +1,340 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.sfx;
import java.io.File;
import java.io.IOException;
import java.net.URLEncoder;
import org.apache.commons.lang.StringUtils;
import org.apache.log4j.Logger;
import org.w3c.dom.Document;
import org.dspace.content.DCPersonName;
import org.dspace.content.Metadatum;
import org.dspace.content.Item;
import org.dspace.core.Constants;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
/**
* XML configuration file reader for DSpace metadata fields (DC) mapping
* to OpenURL parameters.
* <p>
* This class reads the [dspace]/config/sfx.xml configuration file, which
* contains pairs of DSpace item metadata values and OpenURL parameter names.
* Then it takes an item and constructs an OpenURL for it with values of
* parameters filled in from the paired metadata fields.
* </p>
*
* @author Stuart Lewis
* @author Graham Triggs
* @version $Revision$
*/
public class SFXFileReader {
/** The SFX configuration file */
private static Document doc;
/** log4j logger */
private static final Logger log = Logger.getLogger(SFXFileReader.class);
/**
* Loads the SFX configuration file
*
* @param fileName The name of the SFX configuration file
* @param item The item to process, from which metadata values will be taken
*
* @return the SFX string
* @throws IOException
*/
public static String loadSFXFile(String fileName, Item item) throws IOException
{
// Parse XML file -> XML document will be built
if (doc == null)
{
doc = parseFile(fileName);
}
// Return final sfx Query String
return doNodes(doc, item);
}
/** Parses XML file and returns XML document.
* @param fileName XML file to parse
* @return XML document or <B>null</B> if error occurred. The error is caught and logged.
*/
public static Document parseFile(String fileName) {
log.info("Parsing XML file... " + fileName);
DocumentBuilder docBuilder;
Document doc = null;
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
docBuilderFactory.setIgnoringElementContentWhitespace(true);
try {
docBuilder = docBuilderFactory.newDocumentBuilder();
}
catch (ParserConfigurationException e) {
log.error("Wrong parser configuration: " + e.getMessage());
return null;
}
File sourceFile = new File(fileName);
try {
doc = docBuilder.parse(sourceFile);
}
catch (SAXException e) {
log.error("Wrong XML file structure: " + e.getMessage());
return null;
}
catch (IOException e) {
log.error("Could not read source file: " + e.getMessage());
}
log.info("XML file parsed");
return doc;
}
/**
* Process the item, mapping each of its metadata fields defined in the
* configuration file to an OpenURL parameter
*
* @param node DOM node of the mapping pair in the XML file (field element)
* @param item The item to process, from which metadata values will be taken
* @return processed fields.
* @throws IOException
*/
public static String doNodes(Node node, Item item) throws IOException
{
if (node == null)
{
log.error (" Empty Node ");
return null;
}
Node e = getElement(node);
NodeList nl = e.getChildNodes();
int len = nl.getLength();
String sfxfield = "";
int i = 0;
while ((i < len) && StringUtils.isEmpty(sfxfield))
{
Node nd = nl.item(i);
if ((nd == null) || isEmptyTextNode(nd))
{
i++;
continue;
}
String tagName = nd.getNodeName();
if (tagName.equals("query-pairs"))
{
sfxfield = processFields(nd, item);
}
i++;
}
log.info("Process fields : " + sfxfield);
return sfxfield;
}
/**
* Process the field nodes, mapping each metadata field defined in the
* configuration file to an OpenURL parameter
*
* @param e DOM node of the mapping pair in the XML file (field element)
* @param item The item to process, from which metadata values will be taken
* @return assembled OpenURL query.
* @throws IOException
*/
private static String processFields(Node e, Item item) throws IOException
{
NodeList cl = e.getChildNodes();
int lench = cl.getLength();
String myquery = "";
for (int j = 0; j < lench; j++)
{
Node nch = cl.item(j);
String querystring = "";
String schema = "";
String qualifier = "";
String element = "";
if (nch.getNodeName().equals("field"))
{
NodeList pl = nch.getChildNodes();
int plen = pl.getLength();
int finish = 0;
for (int k = 0; k < plen; k++)
{
Node vn= pl.item(k);
String vName = vn.getNodeName();
if (vName.equals("querystring"))
{
querystring = getValue(vn);
finish ++;
}
else if (vName.equals("dc-schema"))
{
schema = getValue(vn);
finish ++;
}
else if (vName.equals("dc-element"))
{
element = getValue(vn);
finish ++;
}
else if (vName.equals("dc-qualifier"))
{
qualifier = getValue(vn);
finish ++;
if (StringUtils.isEmpty(qualifier))
{
qualifier = null;
}
}
if (finish == 4)
{
Metadatum[] dcvalue = item.getMetadata(schema, element, qualifier, Item.ANY);
if (dcvalue.length > 0)
{
// Issued Date
if (element.equals("date") && qualifier.equals("issued"))
{
String fullDate = dcvalue[0].value;
// Remove the time if there is one - day is greatest granularity for SFX
if (fullDate.length() > 10)
{
fullDate = fullDate.substring(0, 10);
}
if (myquery.equals(""))
{ myquery = querystring + URLEncoder.encode(fullDate, Constants.DEFAULT_ENCODING); }
else
{ myquery = myquery + "&" + querystring + URLEncoder.encode(fullDate, Constants.DEFAULT_ENCODING); }
}
else
{
// Contributor Author
if (element.equals("contributor") && qualifier.equals("author"))
{
DCPersonName dpn = new DCPersonName(dcvalue[0].value);
String dpnName = dcvalue[0].value;
if (querystring.endsWith("aulast=")) { dpnName = dpn.getLastName(); }
else { if (querystring.endsWith("aufirst=")) { dpnName = dpn.getFirstNames(); }}
if (myquery.equals(""))
{ myquery = querystring + URLEncoder.encode(dpnName, Constants.DEFAULT_ENCODING); }
else
{ myquery = myquery + "&" + querystring + URLEncoder.encode(dpnName, Constants.DEFAULT_ENCODING); }
}
else
{
if (myquery.equals(""))
{ myquery = querystring + URLEncoder.encode(dcvalue[0].value, Constants.DEFAULT_ENCODING);}
else
{ myquery = myquery + "&" + querystring + URLEncoder.encode(dcvalue[0].value, Constants.DEFAULT_ENCODING);}
}
}
} // if dc.length > 0
finish = 0;
querystring = "";
schema = "";
element = "";
qualifier = "";
} // if finish == 4
} //for k
} // if field
} // for j
return myquery;
}
/** Returns element node
* @param node element (it is XML tag)
* @return Element node otherwise null
*/
public static Node getElement(Node node)
{
NodeList child = node.getChildNodes();
int length = child.getLength();
for (int i = 0; i < length; i++)
{
Node kid = child.item(i);
if (kid.getNodeType() == Node.ELEMENT_NODE)
{
return kid;
}
}
return null;
}
/** Is Empty text Node **/
public static boolean isEmptyTextNode(Node nd)
{
boolean isEmpty = false;
if (nd.getNodeType() == Node.TEXT_NODE)
{
String text = nd.getNodeValue().trim();
if (text.length() == 0)
{
isEmpty = true;
}
}
return isEmpty;
}
/**
* Returns the value of the node's attribute named <name>
**/
public static String getAttribute(Node e, String name)
{
NamedNodeMap attrs = e.getAttributes();
int len = attrs.getLength();
if (len > 0)
{
for (int i = 0; i < len; i++)
{
Node attr = attrs.item(i);
if (name.equals(attr.getNodeName()))
{
return attr.getNodeValue().trim();
}
}
}
//no such attribute
return null;
}
/**
* Returns the value found in the Text node (if any) in the
* node list that's passed in.
*/
public static String getValue(Node node)
{
NodeList child = node.getChildNodes();
for (int i = 0; i < child.getLength(); i++)
{
Node kid = child.item(i);
short type = kid.getNodeType();
if (type == Node.TEXT_NODE)
{
return kid.getNodeValue().trim();
}
}
// Didn't find a text node
return null;
}
}

View File

@@ -0,0 +1,16 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
/**
* <p>SFX/OpenURL link server support.</p>
*
* @see org.dspace.app.webui.jsptag.SFXLinkTag
* @see org.dspace.app.xmlui.aspect.artifactbrowser.ItemViewer
*/
package org.dspace.app.sfx;

View File

@@ -0,0 +1,56 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.sherpa;
/**
* POJO representation for a SHERPA journal
*
* @author Andrea Bollini
*
*/
public class SHERPAJournal
{
private String title;
private String issn;
private String zetopub;
private String romeopub;
public SHERPAJournal(String title, String issn, String zetopub,
String romeopub)
{
super();
this.title = title;
this.issn = issn;
this.zetopub = zetopub;
this.romeopub = romeopub;
}
public String getTitle()
{
return title;
}
public String getIssn()
{
return issn;
}
public String getZetopub()
{
return zetopub;
}
public String getRomeopub()
{
return romeopub;
}
}

View File

@@ -0,0 +1,183 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.sherpa;
import java.util.List;
/**
* POJO representation for a SHERPA Publisher record
*
* @author Andrea Bollini
*
*/
public class SHERPAPublisher
{
private String name;
private String alias;
private String homeurl;
private String prearchiving;
private List<String> prerestriction;
private String postarchiving;
private List<String> postrestriction;
private String pubarchiving;
private List<String> pubrestriction;
private List<String> condition;
private String paidaccessurl;
private String paidaccessname;
private String paidaccessnotes;
private List<String[]> copyright;
private String romeocolour;
private String dateadded;
private String dateupdated;
public SHERPAPublisher(String name, String alias, String homeurl,
String prearchiving, List<String> prerestriction,
String postarchiving, List<String> postrestriction,
String pubarchiving, List<String> pubrestriction,
List<String> condition, String paidaccessurl,
String paidaccessname, String paidaccessnotes,
List<String[]> copyright, String romeocolour, String datedded,
String dateupdated)
{
this.name = name;
this.alias = alias;
this.homeurl = homeurl;
this.prearchiving = prearchiving;
this.prerestriction = prerestriction;
this.postarchiving = postarchiving;
this.postrestriction = postrestriction;
this.pubarchiving = pubarchiving;
this.pubrestriction = pubrestriction;
this.condition = condition;
this.paidaccessurl = paidaccessurl;
this.paidaccessname = paidaccessname;
this.paidaccessnotes = paidaccessnotes;
this.copyright = copyright;
this.romeocolour = romeocolour;
this.dateadded = datedded;
this.dateupdated = dateupdated;
}
public String getName()
{
return name;
}
public String getAlias()
{
return alias;
}
public String getHomeurl()
{
return homeurl;
}
public String getPrearchiving()
{
return prearchiving;
}
public List<String> getPrerestriction()
{
return prerestriction;
}
public String getPostarchiving()
{
return postarchiving;
}
public List<String> getPostrestriction()
{
return postrestriction;
}
public String getPubarchiving()
{
return pubarchiving;
}
public List<String> getPubrestriction()
{
return pubrestriction;
}
public List<String> getCondition()
{
return condition;
}
public String getPaidaccessurl()
{
return paidaccessurl;
}
public String getPaidaccessname()
{
return paidaccessname;
}
public String getPaidaccessnotes()
{
return paidaccessnotes;
}
public List<String[]> getCopyright()
{
return copyright;
}
public String getRomeocolour()
{
return romeocolour;
}
public String getDatedded()
{
return dateadded;
}
public String getDateupdated()
{
return dateupdated;
}
}

View File

@@ -0,0 +1,223 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.sherpa;
import java.io.InputStream;
import java.util.LinkedList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.apache.commons.lang.StringUtils;
import org.dspace.app.util.XMLUtils;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
/**
* JAVA representation for a SHERPA API Response
*
* @author Andrea Bollini
*
*/
public class SHERPAResponse
{
private boolean error;
private String message;
private String license;
private String licenseURL;
private String disclaimer;
private List<SHERPAJournal> journals;
private List<SHERPAPublisher> publishers;
public SHERPAResponse(InputStream xmlData)
{
try
{
DocumentBuilderFactory factory = DocumentBuilderFactory
.newInstance();
factory.setValidating(false);
factory.setIgnoringComments(true);
factory.setIgnoringElementContentWhitespace(true);
DocumentBuilder db = factory.newDocumentBuilder();
Document inDoc = db.parse(xmlData);
Element xmlRoot = inDoc.getDocumentElement();
Element dataRoot = XMLUtils.getSingleElement(xmlRoot, "romeoapi");
Element headersElement = XMLUtils.getSingleElement(xmlRoot,
"header");
Element journalsElement = XMLUtils.getSingleElement(xmlRoot,
"journals");
Element publishersElement = XMLUtils.getSingleElement(xmlRoot,
"publishers");
message = XMLUtils.getElementValue(headersElement, "message");
if (StringUtils.isNotBlank(message))
{
error = true;
return;
}
license = XMLUtils.getElementValue(headersElement, "license");
licenseURL = XMLUtils.getElementValue(headersElement, "licenseurl");
disclaimer = XMLUtils.getElementValue(headersElement, "disclaimer");
List<Element> journalsList = XMLUtils.getElementList(
journalsElement, "journal");
List<Element> publishersList = XMLUtils.getElementList(
publishersElement, "publisher");
if (journalsList != null)
{
journals = new LinkedList<SHERPAJournal>();
for (Element journalElement : journalsList)
{
journals.add(new SHERPAJournal(
XMLUtils.getElementValue(journalElement, "jtitle"),
XMLUtils.getElementValue(journalElement, "issn"),
XMLUtils.getElementValue(journalElement, "zetopub"),
XMLUtils.getElementValue(journalElement, "romeopub")));
}
}
if (publishersList != null)
{
publishers = new LinkedList<SHERPAPublisher>();
for (Element publisherElement : publishersList)
{
Element preprintsElement = XMLUtils.getSingleElement(
publisherElement, "preprints");
Element preprintsRestrictionElement = XMLUtils
.getSingleElement(publisherElement,
"prerestrictions");
Element postprintsElement = XMLUtils.getSingleElement(
publisherElement, "postprints");
Element postprintsRestrictionElement = XMLUtils
.getSingleElement(publisherElement,
"postrestrictions");
Element pdfversionElement = XMLUtils.getSingleElement(
publisherElement, "pdfversion");
Element pdfversionRestrictionElement = XMLUtils
.getSingleElement(publisherElement,
"pdfrestrictions");
Element conditionsElement = XMLUtils.getSingleElement(
publisherElement, "conditions");
Element paidaccessElement = XMLUtils.getSingleElement(
publisherElement, "paidaccess");
Element copyrightlinksElement = XMLUtils.getSingleElement(
publisherElement, "copyrightlinks");
publishers
.add(new SHERPAPublisher(XMLUtils.getElementValue(
publisherElement, "name"),
XMLUtils.getElementValue(publisherElement,
"alias"), XMLUtils.getElementValue(
publisherElement, "homeurl"),
XMLUtils.getElementValue(preprintsElement,
"prearchiving"),
XMLUtils.getElementValueList(
preprintsRestrictionElement,
"prerestriction"),
XMLUtils.getElementValue(postprintsElement,
"postarchiving"),
XMLUtils.getElementValueList(
postprintsRestrictionElement,
"postrestriction"),
XMLUtils.getElementValue(pdfversionElement,
"pdfarchiving"),
XMLUtils.getElementValueList(
pdfversionRestrictionElement,
"pdfrestriction"),
XMLUtils
.getElementValueList(
conditionsElement,
"condition"), XMLUtils
.getElementValue(paidaccessElement,
"paidaccessurl"), XMLUtils
.getElementValue(paidaccessElement,
"paidaccessname"), XMLUtils
.getElementValue(paidaccessElement,
"paidaccessnotes"),
XMLUtils.getElementValueArrayList(
copyrightlinksElement,
"copyrightlink",
"copyrightlinktext",
"copyrightlinkurl"), XMLUtils
.getElementValue(publisherElement,
"romeocolour"), XMLUtils
.getElementValue(publisherElement,
"dateadded"), XMLUtils
.getElementValue(publisherElement,
"dateupdated")));
}
}
}
catch (Exception e)
{
error = true;
}
}
public SHERPAResponse(String message)
{
this.message = message;
this.error = true;
}
public boolean isError()
{
return error;
}
public String getMessage()
{
return message;
}
public String getLicense()
{
return license;
}
public String getLicenseURL()
{
return licenseURL;
}
public String getDisclaimer()
{
return disclaimer;
}
public List<SHERPAJournal> getJournals()
{
return journals;
}
public List<SHERPAPublisher> getPublishers()
{
return publishers;
}
}

View File

@@ -0,0 +1,105 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.sherpa;
import org.apache.http.HttpStatus;
import org.apache.http.config.SocketConfig;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.commons.lang.StringUtils;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.impl.client.HttpClientBuilder;
import org.apache.http.impl.client.HttpClients;
import org.apache.log4j.Logger;
import org.dspace.core.ConfigurationManager;
public class SHERPAService
{
private CloseableHttpClient client = null;
private int maxNumberOfTries;
private long sleepBetweenTimeouts;
private int timeout;
/** log4j category */
private static final Logger log = Logger.getLogger(SHERPAService.class);
public SHERPAService() {
HttpClientBuilder custom = HttpClients.custom();
// httpclient 4.3+ doesn't appear to have any sensible defaults any more. Setting conservative defaults as not to hammer the SHERPA service too much.
client=custom.disableAutomaticRetries().setMaxConnTotal(5).setDefaultSocketConfig(SocketConfig.custom().setSoTimeout(timeout).build()).build();
}
public SHERPAResponse searchByJournalISSN(String query)
{
String endpoint = ConfigurationManager.getProperty("sherpa.romeo.url");
String apiKey = ConfigurationManager.getProperty("sherpa.romeo.apikey");
HttpGet method = null;
SHERPAResponse sherpaResponse = null;
int numberOfTries = 0;
while(numberOfTries<maxNumberOfTries && sherpaResponse==null) {
numberOfTries++;
try {
Thread.sleep(sleepBetweenTimeouts * (numberOfTries-1));
URIBuilder uriBuilder = new URIBuilder(endpoint);
uriBuilder.addParameter("issn", query);
uriBuilder.addParameter("versions", "all");
if (StringUtils.isNotBlank(apiKey))
uriBuilder.addParameter("ak", apiKey);
method = new HttpGet(uriBuilder.build());
// Execute the method.
HttpResponse response = client.execute(method);
int statusCode = response.getStatusLine().getStatusCode();
if (statusCode != HttpStatus.SC_OK) {
sherpaResponse = new SHERPAResponse("SHERPA/RoMEO return not OK status: "
+ statusCode);
}
HttpEntity responseBody = response.getEntity();
if (null != responseBody)
sherpaResponse = new SHERPAResponse(responseBody.getContent());
else
sherpaResponse = new SHERPAResponse("SHERPA/RoMEO returned no response");
} catch (Exception e) {
log.error(e.getMessage(),e);
}
}
if(sherpaResponse==null){
sherpaResponse = new SHERPAResponse(
"Error processing the SHERPA/RoMEO answer");
}
return sherpaResponse;
}
public void setMaxNumberOfTries(int maxNumberOfTries) {
this.maxNumberOfTries = maxNumberOfTries;
}
public void setSleepBetweenTimeouts(long sleepBetweenTimeouts) {
this.sleepBetweenTimeouts = sleepBetweenTimeouts;
}
public void setTimeout(int timeout) {
this.timeout = timeout;
}
}

View File

@@ -0,0 +1,18 @@
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.sherpa.submit;
import java.util.List;
import org.dspace.content.Item;
import org.dspace.core.Context;
public interface ISSNItemExtractor
{
public List<String> getISSNs(Context context, Item item);
}

Some files were not shown because too many files have changed in this diff Show More