Commit Graph

74 Commits

Author SHA1 Message Date
Christian Clauss
dbf33f2113 Fix typos discovered by codespell 2024-08-06 16:37:21 +02:00
Tim Donohue
befef7f7b1 Add new CacheableDSpaceObject abstract class for Hibernate second-level caching. Required in Hibernate 6 as subclasses cannot use @Cache annotation 2024-03-26 15:02:46 -05:00
Tim Donohue
1612858e79 NEW BEHAVIOR: Hibernate second-level caching inherited by ALL DSpaceObject classes. It can no longer be on subclasses as the @Cache annotation is only allowed on root classes. 2024-03-20 09:41:52 -05:00
Tim Donohue
7b25144684 Upgrade to Hibernate 6. Migrate more javax to jakarta. Realign imports to fix checkstyle errors 2024-03-20 09:41:51 -05:00
Luca Giamminonni
bfb0736ab7 [CST-6152] Password add operation refactoring to include challenge in the value 2022-08-03 17:09:09 +02:00
Mark H. Wood
3f06c7e79c Document that EPerson's password, salt and algorithm setters are related. #3363 2021-08-13 15:56:26 -04:00
Raf Ponsaerts
bbdc47fbbf [Task 72215] removed the eperson flag from the REST metadata import script whilst leaving cli unaltered 2020-07-28 16:16:05 +02: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
frederic
bf8d63c1e3 DS-3542 JWT encryption and compression 2017-11-15 17:17:55 +01:00
frederic
3fb72221ca DS-3542 Reuse salt if not expired 2017-11-13 09:45:23 +01:00
frederic
02c2612889 DS-3542 status endpoint 2017-11-06 14:06:34 +01:00
frederic
3e366bf442 DS-3542: invalided sessions with salt 2017-11-06 14:06:30 +01:00
Tom Desair (Atmire)
1ccd6d1e13 Ds 3552 read only context and hibernate improvements (#1694)
* Refactor READ ONLY mode in Context and adjust hibernate settings accordingly

* Set Context in READ-ONLY mode when retrieving community lists

* Fix Hibernate EHCache configuration + fix some Hibernate warnings

* Cache authorized actions and group membership when Context is in READ-ONLY mode

* Set default Context mode

* Let ConfigurableBrowse use a READ-ONLY context

* Add 2nd level cache support for Site and EPerson DSpaceObjects

* Added 2nd level caching for Community and Collection

* Fix tests and license checks

* Cache collection and community queries

* Small refactorings + backwards compatibility

* Set Context to READ-ONLY for JSPUI submissions and 'select collection' step

* OAI improvements part 1

* OAI indexing improvements part 1

* OAI indexing improvements part 2

* DS-3552: Only uncache resource policies in AuthorizeService when in read-only

* DS-3552: Additional comment on caching handles

* DS-3552: Fix cache leakage in SolrServiceResourceRestrictionPlugin

* DS-3552: Clear the read-only cache when switching Context modes

* DS-3552: Correct Group 2nd level cache size

* DS-3552: Always clear the cache, except when going from READ_ONLY to READ_ONLY
2017-06-12 13:50:45 +00: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
helix84
f0e59a2df5 Merge pull request #1204 from atmire/DS-2851
DS-2851 Administrators cannot create a new user through JSPUI
2016-02-03 14:53:32 +01:00
KevinVdV
69bdb15b3c [DS-2976] Ensure all database entities have a protected constructor 2015-12-24 15:28:26 +01:00
philip Vissenaekens
2231b5ccb2 DS-2851 2015-12-03 16:12:34 +01:00
Mark H. Wood
6d2e3b3ea3 [DS-2763] Add much transience to make DSOs actually serializable 2015-11-23 12:13:36 -05:00
KevinVdV
94c60a6224 [DS-2909] Fix EPerson netId setter 2015-11-20 12:34:36 +01:00
KevinVdV
726e19498d [DS-2714] Oracle migration script for the service based api 2015-08-25 12:42:14 +02:00
KevinVdV
54222f3c1d DSpace refactored service api 2015-08-19 11:54:32 +02:00
Mark H. Wood
bca1b2cf0e DS-2248 Ensure that DSpaceObject subclasses create typed TableRows when instantiated. 2014-11-19 17:11:57 -05: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
KevinVdV
87cd7145c9 Support Metadata On All DSpaceObjects 2014-09-24 16:16:06 +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
69291af2d8 [DS-2128] Initial commit 2014-08-29 16:14:19 -04: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
b1e822a87f DS-1990: Events should contain all identifiers, not only handles. 2014-08-28 11:47:44 +02: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
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
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
aa419fa5df Context is not valid if there was no understandable verb 2013-02-05 16:09:47 -05: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
853d81d600 Make command reparsing work properly, and general cleanup 2013-01-11 10:15:32 -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
0bafa3a159 [DS-1083] Command line tool for manipulating EPersons 2013-01-07 14:50:44 -05:00
Ivan Masár
7407de5c52 improve some Javadoc 2012-09-05 16:24:48 +02: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
bf34b21bcf [DS-1229] @mire discovery contribution 2012-08-07 09:47:21 +02:00
Mark H. Wood
3f70aef792 Upgraded hashes were not committed to the database 2012-08-03 15:12:29 -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
2edac96df3 Update old MD5 hashes on successful password check 2012-08-01 10:55:22 -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
95a04c0f39 [DS-861] Begin to add password salting. 2012-07-11 13:02:15 -04: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