Commit Graph

2553 Commits

Author SHA1 Message Date
Tim Donohue
efa96af2fc Merge pull request #1192 from KevinVdV/DS-2918-fix-self-assigned-variable
[DS-2918] Fix self assigned variable in MetadataWebService
2016-04-21 15:42:45 -05:00
Tim Donohue
1a46165c75 Merge pull request #1287 from helix84/DS-3052-pdfbox-improvements
DS-3052 improvements to PDFBox-based code
2016-04-21 12:23:53 -05:00
Pascal-Nicolas Becker
1bc28df1fb Merge pull request #1358 from tuub/DS-3136
DS-3136: Prevent the occurrence of internal server error while adding a bitstream to an item if the upload button is pressed without selecting a file
2016-04-21 18:06:10 +02:00
Hardy Pottinger
ab6fc2fc5c Merge pull request #1352 from KevinVdV/DS-3125-submitter-cannot-bitstreams
[DS-3125] Submitters cannot delete bistreams of workspaceitems
2016-04-21 10:49:25 -05:00
Marsa Haoua
6d0251487d Solve the internal server error at a deeper level 2016-04-21 17:39:30 +02:00
Marsa Haoua
2436c6bd65 prevent the occurrence of internal server error while adding a bitstream to an item if the upload button is pressed without selecting a file 2016-04-21 15:36:51 +02:00
Pascal-Nicolas Becker
38791e705f Merge pull request #931 from tuub/DS-2552
DS-2552: Makes configurable whether handles or DOIs should be displayed in JSPUI
2016-04-21 14:14:54 +02:00
Tim Donohue
d32056afd3 Merge pull request #1224 from KevinVdV/DS-1955-embargo-reason-length
DS-1955 embargo reason length
2016-04-20 11:39:13 -05:00
Tim Donohue
b1526930b1 Merge pull request #1328 from lap82/DS-2621-M
[DS-2621] adjust check to enable not mandatory collection via jsp
2016-04-20 11:30:29 -05:00
Jonas Van Goolen
f3843bba4b DS-3133 When matching for spiders, add a case insensitive flag
(so for example, spider, would match "Spider", "SPIDER", "spideR", etc)
2016-04-20 16:09:54 +02:00
Tim Donohue
0fa4a2011e DS-3130: Fix inconsistent logging. Remove incorrect comments. Change constructor method to private. 2016-04-18 15:05:14 -05:00
KevinVdV
f40422f0a8 [DS-3125] Submitters cannot delete bistreams of workspaceitems: Oracle sql migration script 2016-04-18 12:34:11 +02:00
KevinVdV
4af7466b8e [DS-3125] Submitters cannot delete bistreams of workspaceitems: Include delete rights for workflow members in the basic workflow 2016-04-15 13:09:47 +02:00
KevinVdV
bc9798c753 [DS-3125] Submitters cannot delete bistreams of workspaceitems 2016-04-15 13:00:37 +02:00
Mark H. Wood
7305af96f1 Merge pull request #1342 from mwoodiupui/DS-2805
[DS-2805] Improper Hibernate Date comparisons
2016-04-14 17:12:45 -04:00
Mark H. Wood
0018496c23 [DS-2805] Testing revealed an unrelated error: mismatch between query and setParameter. 2016-04-14 16:59:25 -04:00
Mark H. Wood
553439853c [DS-2805] Add a unit test to try this out. 2016-04-14 16:54:49 -04:00
Kevin Van de Velde
efbaa56154 Merge pull request #881 from tuub/DS-1348
DS-3109: Introduce a VersionedHandleIdentifierProvider that creates new handles for each version
2016-04-13 12:25:21 +02:00
Pascal-Nicolas Becker
a9bf72575b Merge pull request #1218 from mwoodiupui/DS-2949
[DS-2949] XSLT crosswalks should be parameterizable
2016-04-08 18:19:14 +02:00
Pascal-Nicolas Becker
54de1ac71d Add handles in canonical form to the metadata. 2016-04-07 15:39:13 +02:00
Pascal-Nicolas Becker
f84f1dc283 Versioned Items should have one handle only, remove old ones before. 2016-04-07 15:29:49 +02:00
Pascal-Nicolas Becker
46c223d172 DS-2940: fixing metadata problems with canonical versioned handles. 2016-04-07 15:29:49 +02:00
Pascal-Nicolas Becker
bff93d6686 DS-1348: Removing the use of "canonical handles"
The previous VersionedHandleIdentifierProvider introduced "canonical
handles". The idea was to keep the current handle always linked to the
newest version of an item. The downside is that this limits the
versioning to version changes that do not derogate the citation of the
items (e.g. no changes in pagination of any bitstreams). This can be
used as a special feature to manually track metadata changes. In this
case administrators might want to show only the newest version publicly
and hide older versions.

Another way to use a versioning feature is to create new versions of an
item which may even change existing citations. The old versions should
be kept with there former handles so that citing a handle with a page
number still results in the same citation. A newer version should get a
new handle.

This commit introduces a VersionedHandleIdentifierProvider that does not
change the link between a handle and an item. A new version of an item
gets a new handle. This behaviour ensures that every version is always
citable even if a newer version will be release at any time.
2016-04-07 15:29:49 +02:00
Pascal-Nicolas Becker
0e34ed8d9d DS-1348: Rename the current VersionedHandleIdentifierProvider.
The current VersionedHandleIdentifierProvider introduced "canonical
handles". The idea is to keep the current handle always linked to the
newest version of an item. The downside is that this limits the
versioning to version changes that do not derogate the citation of an
item (e.g. no changes in pagination of any bitstreams). This can be
used as a special feature to manually track metadata changes. In this
case administrators might want to show only the newest version publicly
and hide older versions.

Another way to use a versioning feature is to create new versions of an
item which may even change existing citations. The older versions should
be kept with there former handles so that citing a handle with a page
number still results in the same citation. A newer version should get a
new handle.

This commit just moves the old VersionedHandleIdentifierProvider to a
new class so it still can be used if necessary. A new
VersionedHandleIdentifierProvider will be provided within the next
commit.
2016-04-07 15:29:49 +02:00
Kevin Van de Velde
85e096c4a9 Merge pull request #1268 from sedici/DS-2987
DS-2987 Solved metadata loss by qualdrop fields in DescribeStep
2016-04-07 12:34:22 +02:00
Tim Donohue
014163c5fc Merge pull request #1306 from helix84/DS-3021-upgrade-xerces
DS-3021 upgrade xerces
2016-04-06 10:40:23 -05:00
Tim Donohue
b9d375ee27 Merge pull request #1327 from DylanMeeus/DS-2941-fix
DS-2941 PasswordAuthentication getSpecialGroups empty exception catchblock
2016-04-06 10:34:18 -05:00
Tim Donohue
5f094ebb5f Update comments to note Hibernate dependency 2016-04-04 16:38:18 -05:00
KevinVdV
701cdd935c [DS-1955] Embargo reason field max input length: Fixing unit tests + renaming sql files 2016-04-01 12:47:54 +02:00
KevinVdV
08331c2916 [DS-1955] Embargo reason field max input length: Unit test migration 2016-04-01 12:20:17 +02:00
KevinVdV
2efe56d3bf [DS-1955] Embargo reason field max input length 2016-04-01 12:20:17 +02:00
Hardy Pottinger
009392e367 Merge pull request #1118 from atmire/DS-2635-discovery-facets-configurable-ordering
DS-2635 discovery facets with configurable ordering
2016-03-31 13:31:45 -05:00
Kevin Van de Velde
f970c04f87 Merge pull request #976 from sedici/DS-2520
DS-2520: Modify XPath expression when retrieving a workflow step
2016-03-31 12:31:40 +02:00
Ivan Masár
dc7ab71dac DS-2584 loglevel error -> info for usage events beyond admin's control
* DNS reverse lookup
* Country, Continent lookup
2016-03-30 21:22:08 +02:00
Mark H. Wood
705ebe864a Merge pull request #1341 from mwoodiupui/DS-2981
[DS-2981] New migration for Oracle to create indexes on UUID columns
2016-03-29 17:09:19 -04:00
Mark H. Wood
dc42ead7c6 [DS-2805] Use setTimestamp for Date parameter. 2016-03-29 13:55:35 -04:00
Mark H. Wood
e8b6634472 [DS-2949] DataCiteConnector needs this too 2016-03-28 15:20:39 -04:00
Mark H. Wood
c723146392 [DS-2981] Fold index creation into original Hibernate migration.
We need the performance boost as quickly as possible during installation.
2016-03-24 13:06:27 -04:00
Mark H. Wood
ec49b8da3d [DS-2981] New migration to create indexes on UUID columns 2016-03-24 12:01:19 -04:00
Tim Donohue
b1e32fc1a7 Merge pull request #1283 from helix84/DS-3045-jdom
DS-3044 upgrade jdom to org.jdom 1.1.3
2016-03-23 16:09:45 -05:00
Ivan Masár
904e45dbd2 minor changes to address comments 2016-03-23 21:50:05 +01:00
Ivan Masár
09b3890bb9 convert mediafilter to conf. service; fix multiple filters per format 2016-03-23 21:49:57 +01:00
Ivan Masár
2f8fc1087b refactor to reuse resizing 2016-03-23 21:42:40 +01:00
Ivan Masár
0d9493d2b4 PDF thumbnails (JPEG) 2016-03-23 21:42:40 +01:00
Ivan Masár
9d43d74d84 mem limit: hardcoded -> automatically adjusting 2016-03-23 21:05:17 +01:00
Ivan Masár
0776a2622f DS-3035 upgrade to PDFBox 2 (code builds, not tested) 2016-03-23 21:05:16 +01:00
Hardy Pottinger
d5232c96f0 Merge pull request #1322 from tomdesair/feature/DS-3004-isAdmin-performance-problems
Feature/DS-3004 isAdmin performance problems
2016-03-23 10:53:00 -05:00
Pascal-Nicolas Becker
4d2afeff6b DS-2552: Makes configurable whether handles or DOIs should be displayed
Adds the configuration properties webui.preferred.identifier and
webui.identifier.strip-prefixes uses both in JSPUI item view.
2016-03-18 13:12:35 +01:00
Mark H. Wood
a589b015df [DS-2949] Set up JAXP components that can work properly together. 2016-03-17 10:09:57 -04:00
Mark H. Wood
b3438b5bb3 [DS-2949] Add main() for testing 2016-03-17 10:09:57 -04:00