Commit Graph

90 Commits

Author SHA1 Message Date
Christian Clauss
dbf33f2113 Fix typos discovered by codespell 2024-08-06 16:37:21 +02:00
Jens Vannerum
e03c402a9d 116542: fix issues with CSV importing and the Any language being set on metadata values 2024-07-23 12:05:15 +02:00
Tim Donohue
78f1e4190e Refactor ItemCounter and ItemCountDAO to act like other DSpace beans. Also ensure they do not cache a Context object. 2024-05-15 09:22:35 -05: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
eskander
d1812866a6 [DURACOM-232] solved Community/Collection admins can't edit logo for communities/collections 2024-02-09 18:27:43 +02:00
damian
ca7c75987e Items count are now disabled by default. Naming changes. 2023-06-13 19:58:42 +02:00
damian
ff504e35d1 Variable naming change. Javadocs addded. 2023-06-09 16:56:26 +02:00
damian
1cc6fb2f58 Item counters refactor. Removing unnecessary code. 2023-05-12 12:29:22 +02:00
damian
0231af5867 Item counters added to Communities and Collections REST API 2023-05-11 20:08:32 +02:00
Nathan Buckingham
e1f798fd82 w2p-80200 Add new tests for each dspace object, cleaned up java docs and authrorization inside of create 2021-09-14 10:12:43 -04:00
Nathan Buckingham
72fab65012 w2p-80200 Retain UUIDs of DSpace objects when using packager 2021-09-14 10:12:34 -04:00
Mark H. Wood
e94911ba19 Replace deprecated setMetadata() that uses removed field names. #2956
Once upon a time, DSOs had dedicated fields for some metadata.  These were
moved into the Metadatavalue table long ago, but there were still methods
which used the old field names instead of proper MetadataField triplets.
2020-11-17 15:37:53 -05:00
Mark H. Wood
6569089228 Remove deprecated setMetadata of CommunityService, CollectionService #2956
This introduces a new class:  a holder for metadata field names.
2020-11-17 13:53:49 -05:00
Mark H. Wood
7ab6aed276 Remove deprecated getMetadata(Context, String) from CommunityService, CollectionService. 2020-11-17 13:46:10 -05:00
Tim Donohue
4b54c6fc3c Fix new checkstyle failures for "CustomImportOrder: Extra separation in import group before.." 2020-03-11 15:34:48 -05:00
Kevin Van de Velde
4c9a30bb14 [DS 4287] Refactoring the IndexableObject & SolrServiceImpl to become more expandable 2019-11-29 14:26:50 +01:00
Raf Ponsaerts
d97ea343e4 Merged dspace/master into dspace/configurable_entities 2019-04-25 13:30:25 +02:00
Raf Ponsaerts
211e8f72a1 Merged dspace/master into configurable_entities 2019-04-05 13:45:01 +02:00
Andrea Bollini
30899b0e55 DS-4166 move IndexableObject to the discovery package 2019-03-28 13:20:47 +01:00
Andrea Bollini
689ac4e3bd DS-4166 community feedback: implement the IndexableObject interface only where really needed 2019-03-28 12:06:22 +01:00
Andrea Bollini
3e22142aa7 DS-3851 cleanup the BrowsableObject interface 2019-03-12 23:31:17 +01:00
Andrea Bollini
e883c95de8 DS-3851 cleanup the BrowsableObject interface 2019-03-12 22:17:22 +01:00
Andrea Bollini
d751d5dc59 DS-3851 add fixme to remember the need to remove getWorkflow group methods 2019-03-06 22:13:09 +01:00
Andrea Bollini
4475eca5b2 DS-3851 code cleanup: community feedback 2019-03-06 15:51:00 +01:00
Andrea Bollini
70091e59b8 DS-3851 partially remove legacy workflow to simplify testing
First tests for the workflow endpoint
2019-02-20 23:11:04 +01:00
Andrea Bollini
8a2ae7e891 Add javadocs: community feedback from https://github.com/4Science/DSpace/pull/37 2019-01-02 12:13:56 +01:00
Raf Ponsaerts
b905f69d63 Refactored the usages of MetadataSchema.DC to use the enum instead 2018-11-21 09:35:11 +01:00
Luigi Andrea Pascarelli
25e3a69b8f DS-3851 Configurable Workflow endpoints 2018-08-27 20:20:24 +02:00
Tim Donohue
8a48f782ea Fix dspace-api module per new code style 2018-02-21 15:23:58 -06:00
Pascal-Nicolas Becker
04ec199ff3 [DS-3431] Harden DSpace's BasicWorfklowService 2017-07-11 16:37:19 +00:00
Tom Desair
10e028918a Port DS-3579_Context-mode-and-cache-management-CLI-commands to master 2017-07-03 14:27:43 +02: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
Tom Desair
027a5a68f9 Fix integration tests. Remove Hibernate Sort annotations as a collection name can change and this breaks the Set semantics 2017-06-09 19:49:31 +00:00
Yana De Pauw
a588d42f5a DS-3406: Ordering sub communities and collections 2017-06-09 19:48:54 +00:00
Tom Desair
73e6724ac4 DS-3406: Sort communities and collections in-memory using a comparator 2017-06-09 19:46:34 +00:00
Tim Donohue
f92fa6605d DS-3154: more dspace-api fixes, alphabetically through org.dspace.core 2016-04-29 13:00:13 -05:00
Tim Donohue
ca78a45532 DS-3154: Fix some of the Javadocs errors in dspace-api 2016-04-29 09:06:54 -05:00
KevinVdV
69bdb15b3c [DS-2976] Ensure all database entities have a protected constructor 2015-12-24 15:28:26 +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
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
rradillen
1a2fdb3a6a change default of findAuthorizedPerformanceOptimize
it is now false
2015-05-14 22:21:24 +02:00
helix84
b656a10df9 Merge pull request #888 from ctu-developers/DS-2418
DS-2418: Incompatible oracle sql method on collection.java
2015-04-20 10:42:35 +02:00
Ivo Prajer
dd46044361 Fix passing parameters LIMIT/OFFSET to sql query in the findAll() 2015-04-01 18:22:13 +02:00
Ivo Prajer
6815e25dbe Fix passing parameters LIMIT and OFFSET to sql query in the method getItems() for oracle 2015-03-15 00:54:54 +01: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
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
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