Commit Graph

21 Commits

Author SHA1 Message Date
Mark H. Wood
b43e5dfdd8 [DS-4548] Rename DSpace's LogManager to LogHelper. 2021-08-04 11:41:18 -04:00
Yura Bondarenko
a43e07f89a 77582: Rename formatHandle to parseHandle & add @Override 2021-03-26 16:20:11 +01:00
Yura Bondarenko
315e29d2b1 77582: Add HandleService#formatHandle to strip prefixes from handle 2021-03-16 13:21:43 +01:00
Mark H. Wood
95d0a2bf57 Remove long-deprecated ConfigurationManager. 2020-11-17 13:30:00 -05:00
Tim Donohue
ceed829800 Merge branch 'master' into configurable_entities 2018-12-06 17:05:31 +00:00
Raf Ponsaerts
b905f69d63 Refactored the usages of MetadataSchema.DC to use the enum instead 2018-11-21 09:35:11 +01:00
Patrick Trottier
bda4fa0ba7 Refactor additional loggers for log4jv2 2018-11-09 08:56:44 -05:00
Patrick Trottier
7f4b4e9f8a Convert getLogger() and Log4J imports for Log4J 2 2018-11-09 08:41:42 -05:00
Tim Donohue
200cede397 Upgrade to commons-lang3 to avoid dependency conv issues. 2018-11-08 20:35:57 +00:00
Terry Brady
220c8a5a48 checkstyle fix 2018-08-03 17:47:31 -07:00
Terry Brady
77d67537f7 port pr1839 minus xmlui 2018-08-03 17:15:23 -07:00
Tim Donohue
8a48f782ea Fix dspace-api module per new code style 2018-02-21 15:23:58 -06:00
Ivan Masár
269af71afb javadoc (doclint) and whitespace fixes
includes whitespace fixes as per Coding Conventions
2016-11-10 13:34:37 +01:00
Pascal-Nicolas Becker
30b21fec7b Merge pull request #1399 from Georgetown-University-Libraries/DS-3209
DS-3209 AIP Import: Extend accepted handles for supports()
2016-08-25 13:46:01 +02:00
Terry Brady
351b03a87b Use handle.original.prefixes 2016-08-16 13:17:38 -07:00
mjmarttila
f6bfc491d3 More restrictive handle definitions
As per request by pnbecker and tdonahue, reworking supports() method to
be more restrictive in its handle validation while also still allowing
support for multi-instance environments with derived handles. Now, if a
handle does not match one of the currently known DSpace handle provider
formats, it will be rejected.
2016-08-03 14:02:16 -04:00
mjmarttila
12649fe1fe Extend supported handles for supports() method
Updates the supports() method across the three relevant handle provider
classes to check if the identifier a) matches a valid handle starting
pattern or b) does not match a DOI starting pattern and does contain a
slash but is not an arbitrary URL.
2016-06-02 09:27:59 -04:00
Tim Donohue
ca78a45532 DS-3154: Fix some of the Javadocs errors in dspace-api 2016-04-29 09:06:54 -05: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
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