Commit Graph

62 Commits

Author SHA1 Message Date
Mark H. Wood
b0316b4f74 Clean up all recommendations, plus scads of missing Javascript semicolons. 2022-07-13 12:01:51 -04:00
Tim Donohue
912677327f Merge pull request #3354 from mwoodiupui/3287
Make DOI resolver URL stem configurable
2022-02-17 12:21:50 -06:00
Mark H. Wood
384d46348a Another batch of Error Prone fixes. (#3061) 2021-09-10 11:32:58 -04:00
Mark H. Wood
83371b4483 Make the canonical DOI URL schema+authority configurable. #3287 2021-08-02 18:16:30 -04:00
Kim Shepherd
2e6552c0c9 [DS-4522] Refactor skipFilter Boolean -> boolean (primitive) as per review 2021-07-12 13:05:19 +12:00
Kim Shepherd
3d609faf07 [DS-4522] Use more generic IdentifierNotApplicableException where applicable 2021-03-23 16:17:47 +13:00
Kim Shepherd
5096c66437 [DS-4522] Expand debug log message to explain what happens when filter service is null 2021-03-16 13:39:46 +13:00
Kim Shepherd
1bb5e35f04 [DS-4522] Refactor boolean canMint() to void checkMintable() as per PR review 2021-03-16 13:32:09 +13:00
Kim Shepherd
d27dc96cbe [DS-4522](main) Item logical filters and DOI filtered provider 2021-03-16 13:19:09 +13:00
Mark H. Wood
51f9e78fd2 Merge remote-tracking branch 'upstream/main' into #2956 2020-11-24 11:56:18 -05:00
Mark H. Wood
3e7ac5d935 Replace miscellaneous rarely-used deprecateds. [#2956] 2020-11-17 15:05:55 -05:00
Mark H. Wood
7395c5be8f Replace deprecated Spring @Required with @Autowired(required=true) 2020-11-17 13:46:06 -05:00
Alessandro Martelli
b878b0a7e0 [CSTPER-221] Minor changes and cleanup 2020-10-30 18:41:04 +01:00
Alessandro Martelli
2daad0b98c [CSTPER-221] DOI Collection/Community exclusion 2020-10-27 16:47:05 +01:00
Mark H. Wood
daeb55fa0c Use getters instead of direct reference that may throw NPE. #2951 2020-09-02 16:19:37 -04:00
Tim Donohue
200cede397 Upgrade to commons-lang3 to avoid dependency conv issues. 2018-11-08 20:35:57 +00:00
Tim Donohue
8a48f782ea Fix dspace-api module per new code style 2018-02-21 15:23:58 -06:00
Mark H. Wood
d1f321f345 Clean up remaining doclint errors and warnings.
Throughout dspace-sword I was baffled by the validation aspect, so
you'll see lots of "UNKNOWN.  PLEASE DOCUMENT." that I wrote just to
shut doclint up.  If you know how this works, please amend my
placeholders.
2016-11-11 11:48:17 -05: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
Ivan Masár
9b94002426 DS-3154 fix javadoc 2016-08-05 13:55:42 +02:00
Tom Desair
8db0faed33 fix conflict 2016-05-27 13:16:23 +02: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
225b1b4d9c Improves inheritability and logging, removes DOI.setResourceType() 2016-03-03 16:09:39 +01:00
Pascal-Nicolas Becker
3ae8dfcc4f DS-2490: Add versioned DOIs and adapt DOI support to service API 2016-03-03 16:09:39 +01:00
KevinVdV
54222f3c1d DSpace refactored service api 2015-08-19 11:54:32 +02:00
Jonas Van Goolen
e8bea8cc79 DS-2672 Typos in constants in DOIIdentifierProvider 2015-07-31 15:47:15 +02:00
Ivan Masár
52bcc60944 fix typo 2015-01-04 22:10:55 +01: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
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
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
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
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
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
3504fb73de Added DOI.RESOLVER instead of using "http://dx.doi.org" everywhere. 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
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
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
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
3dd5e6df5f Fix typo in method name. 2013-10-16 09:21:28 +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
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