Commit Graph

6731 Commits

Author SHA1 Message Date
Alan Orth
f9469c9b6f dspace-api/pom.xml: add exclusion for javassist
Add an exclusion for org.javassist:javassist due to a dependency
convergence error caused by eu.openaire:funders-model pulling in a
version conflicting with Jersey's transitive dependency.
2024-02-05 17:10:57 -06:00
renovate[bot]
91f9d8c4dd Update dependency com.opencsv:opencsv to v5.7.1 2024-02-05 17:10:56 -06:00
renovate[bot]
e2d809ffb4 Update dependency org.flywaydb:flyway-core to v8.5.13 2024-02-05 17:10:56 -06:00
renovate[bot]
5893c7768e Update dependency dnsjava:dnsjava to v2.1.9 2024-02-05 17:10:56 -06:00
Jens Vannerum
a22a01aa5c search on labels, not values on DCInputs
(cherry picked from commit 5ebe1a9402)
2024-01-23 08:05:25 +00:00
nwoodward
dc57aceeaf catch exceptions stemming from invalid id's
(cherry picked from commit 848df25984)
2024-01-19 15:15:26 +00:00
Agustina Martinez
9a0db2a642 Skip recording usage event if administrator
(cherry picked from commit 73e5c43f7c)
2024-01-18 06:46:35 +00:00
Alan Orth
37ed65850f dspace-api: fix typo in AuthorizeServiceImpl log
(cherry picked from commit 127b1ae868)
2024-01-09 20:13:56 +00:00
Philipp Rumpf
722ad02757 CrossRefImport: ignore empty responses rather than generating empty phantom ImportRecords
Fixes https://github.com/DSpace/DSpace/issues/9202 .
2023-11-23 08:44:21 +03:00
Tim Donohue
76658e7c96 [maven-release-plugin] prepare for next development iteration 2023-11-15 14:16:40 -06:00
Tim Donohue
8ad5bc1262 [maven-release-plugin] prepare release dspace-7.6.1 2023-11-15 14:16:37 -06:00
DSpace Bot
64d30e6fdf [Port dspace-7_x] subscription email: do not send email if nothing has changed (#9204)
* improved subscriptions email template

(cherry picked from commit 6e7b327959)

* do not send emails without content

(cherry picked from commit 926b242130)

* fixed coding style violations

(cherry picked from commit fdacec08df)

* removed unnecessary isEmpty check as suggested by reviewer

(cherry picked from commit 30a837f854)

* moved null check on indexableObjects in generateBodyMail

(cherry picked from commit b43c340b18)

* fixed unhandled IOException

(cherry picked from commit 9b3f7b698c)

* fixed typo in bodyCommunities

(cherry picked from commit ac3d02eb1c)

* do not use != to compare strings

(cherry picked from commit e460183335)

* fixed improper handling of empty list

(cherry picked from commit ac72aae44b)

---------

Co-authored-by: Sascha Szott <szott@gmx.de>
2023-11-14 14:19:50 -06:00
Michael Spalti
6b99584e96 Updated IIIF Controller IT to text bitstream and bundle exclusions
(cherry picked from commit e92b4b7bfd)
2023-11-13 17:09:55 +00:00
Tim Donohue
c2fd617921 Bug fix to EPersonDAOImpl. Correctly determine if excluded group needs to be preceded by AND or WHERE
(cherry picked from commit e5e0eaa999)
2023-11-10 19:02:14 +00:00
Tim Donohue
887c7c486a Implement searchNonMembers for EPersonService. Add tests to prove it works (and tests for search()). Requires minor bug fix to AbstractHibernateDSODAO to allow for additional OR/AND clauses to be appended.
(cherry picked from commit f186dcf4ca)
2023-11-10 19:02:14 +00:00
Tim Donohue
7df4a2b1c6 Add isNotMemberOf for groups, including unit and integration tests
(cherry picked from commit 9d271b24b9)
2023-11-10 19:02:14 +00:00
DSpace Bot
417a270cf3 [Port dspace-7_x] Event consumer for submission config reloading when a collection changes (#9196)
* initialization with refactoring

(cherry picked from commit e93dc1cf45)

* also consider SubmissionConfigReaderException

(cherry picked from commit 8a04b87750)

* rename consumer file

(cherry picked from commit f6c92a4c8b)

* init submission service factory

(cherry picked from commit fcc52390b9)

* set submissionconfig config settings by default

(cherry picked from commit e343d51519)

* renaming SubmissionConfigReaderService

(cherry picked from commit 9ea7c321c3)

* support for SubmissionConfigService

(cherry picked from commit 61389fb787)

* fixing style errors and renaming submissionConfigService

(cherry picked from commit 5f49491b53)

* fixing style errors and unused imports

(cherry picked from commit 31d9251950)

* set default submission event configs

(cherry picked from commit 578198c588)

* adding force indexing action to Consumer

(cherry picked from commit b91236434f)

* stylecheck fixes

(cherry picked from commit 89e89c3d8a)

* undo event.dispatcher.noindex.consumers

(cherry picked from commit ae9dc5f005)

---------

Co-authored-by: Paulo Graça <paulo1978@gmail.com>
2023-11-10 12:58:18 -06:00
Andrea Bollini
154d488138 DURACOM-199 fix sitemap generator for restricted content and improve performance
(cherry picked from commit 6d9ca388da)
2023-11-10 15:04:59 +00:00
Tim Donohue
adde7b7efd Merge pull request #9189 from DSpace/backport-9161-to-dspace-7_x
[Port dspace-7_x] Cache 'Administrator' group to improve performance of Workflow Tasks Page.
2023-11-09 17:18:31 -06:00
Jens Vannerum
fd13ee7cfd 107891: Cache administrator group
(cherry picked from commit 1e82ca7998)
2023-11-09 22:49:20 +00:00
Luca Giamminonni
ec972ea2de [DURACOM-192] Authentication Method related special groups are put in claim set even if a different authentication method is used
(cherry picked from commit 6504d749b9)
2023-11-09 22:38:11 +00:00
mohamed eskander
4b2957358f [DURACOM-200] improvement of checker script
(cherry picked from commit 5a7c7956cd)
2023-11-09 17:40:27 +00:00
wwuck
0172cf6508 Return both user and operational LDAP attributes
Explicitly request both user and operation attributes
for LDAP group search as the default searching does not
include operational attributes.

This is required to fetch the memberOf attribute when checking
LDAP group membership.

Fixes #9151

(cherry picked from commit 56b7cbf4db)
2023-11-08 22:40:46 +00:00
Agustina Martinez
c1a48e5512 XmlWorkflowCuratorServiceImpl: add check to queue task if configured; Curation: remove obsolete code preventing curation running on workflow tasks as #3157 is now implemented 2023-11-08 14:58:39 -06:00
nwoodward
ca624e7ab5 removed options to ping search engines when generating sitemaps
(cherry picked from commit f8f8806040)
2023-11-06 19:36:36 +00:00
Toni Prieto
6c211ac19c Change class name to ContextIT and correct a test
(cherry picked from commit a5567992bb)
2023-11-03 15:55:45 +00:00
Toni Prieto
ddbba2d125 Add test to check retrieving of policies after changing mode to READ_ONLY
(cherry picked from commit d19a9599b5)
2023-11-03 15:55:45 +00:00
Toni Prieto
1b0e826bba Flush database changes after switching to READONLY mode
(cherry picked from commit 00a65312cc)
2023-11-03 15:55:45 +00:00
Toni Prieto
b194e9c4dd Add functions to do a manual flush of the db session and call flush before change to READ_ONLY mode to be sure we index the current object
(cherry picked from commit c33d3fa87d)
2023-11-03 15:55:45 +00:00
Toni Prieto
e6fa537512 Change the database mode to READ_ONLY during the indexing by discovery consumer (IndexEventConsumer)
(cherry picked from commit 94822b50af)
2023-11-03 15:55:45 +00:00
Tim Donohue
6e63e63039 Address feedback. Initialize HashSet sizes to avoid resizing. Correct comment about indeterminante ordering.
(cherry picked from commit f011a5a5db)
2023-11-02 19:09:16 +00:00
Tim Donohue
f6003164c8 Use join instead of subquery as join seems slightly faster.
(cherry picked from commit 9c0bf08cf4)
2023-11-02 19:09:16 +00:00
Tim Donohue
3caa8b26dc Fix bug in logic for determining whether a workflow group will be left empty. Need to check *both* EPerson and subgroup counts.
(cherry picked from commit 9832259aa0)
2023-11-02 19:09:16 +00:00
Tim Donohue
a723018e9a Replace several usages of allMembers() with count methods to avoid performance issues
(cherry picked from commit 2c9165afb0)
2023-11-02 19:09:16 +00:00
Tim Donohue
8b1a0c1dae Add countAllMembers() with tests. Update tests to use try/catch
(cherry picked from commit 58a15b7297)
2023-11-02 19:09:16 +00:00
Tim Donohue
7aca4df6ef Minor unit test fix. Use isEqualCollection to compare list with Hibernate results
(cherry picked from commit cdb68a6fdc)
2023-11-02 19:09:16 +00:00
Tim Donohue
e48b21637a Add basic unit test for new EpersonService methods
(cherry picked from commit c000e54116)
2023-11-02 19:09:16 +00:00
Tim Donohue
22fb4508ee Add pagination to /groups/[uuid]/subgroups endpoint, along with tests
(cherry picked from commit e7c4b9eba2)
2023-11-02 19:09:16 +00:00
Tim Donohue
8b748af944 Bug fix. Only use pageSize and offset if >0
(cherry picked from commit 15de2d0074)
2023-11-02 19:09:16 +00:00
Tim Donohue
8aad365496 Add basic pagination to /groups/[uuid]/epersons endpoint
(cherry picked from commit 74c72354b4)
2023-11-02 19:09:16 +00:00
Paulo Graça
c601ac3475 typo
(cherry picked from commit 74cce86afc)
2023-10-31 06:55:06 +00:00
Paulo Graça
412d62aa43 make comments more clear to understand
(cherry picked from commit c0bbd9d91f)
2023-10-31 06:55:06 +00:00
Paulo Graça
68e8894169 new testDeleteBitstreamAndUnsetPrimaryBitstreamID remove unnecessary stubs
(cherry picked from commit a3e506c7f4)
2023-10-31 06:55:06 +00:00
Paulo Graça
41640bbb65 new testDeleteBitstreamAndUnsetPrimaryBitstreamID test for primary bitstream verification
(cherry picked from commit ad0d22a13a)
2023-10-31 06:55:06 +00:00
Paulo Graça
024c47559e new testDeleteBitstreamAndUnsetPrimaryBitstreamID test for primary bitstream verification
(cherry picked from commit e6d108a94e)
2023-10-31 06:55:06 +00:00
Paulo Graça
09d5f6fcc9 fix style errors
(cherry picked from commit 74605f159a)
2023-10-31 06:55:06 +00:00
Paulo Graça
55eba18a47 add missing head style check
(cherry picked from commit caba4bbb96)
2023-10-31 06:55:06 +00:00
Paulo Graça
6b35f9e449 adding missing bundle REMOVE authorization
(cherry picked from commit 4a05600194)
2023-10-31 06:55:06 +00:00
Paulo Graça
7ab1d39671 add bundle remove authorization
(cherry picked from commit 3255e073fa)
2023-10-31 06:55:06 +00:00
Paulo Graça
7ec5f7ec8a adding sql expression to fix deleted primary bitstreams from bundle
(cherry picked from commit 8a531ad0c7)
2023-10-31 06:55:06 +00:00