Commit Graph

7080 Commits

Author SHA1 Message Date
Tim Donohue
5083640821 Merge pull request #9130 from 4Science/DURACOM-192
Authentication Method related special groups are put in claim set even if a different authentication method is used
2023-11-09 16:37:56 -06:00
Tim Donohue
83a6ef13a0 Merge pull request #9179 from 4Science/DURACOM-200
[DURACOM-200] improvement of checker script
2023-11-09 11:40:13 -06:00
Michael Spalti
e92b4b7bfd Updated IIIF Controller IT to text bitstream and bundle exclusions 2023-11-08 16:00:26 -08:00
Tim Donohue
229870175a Merge pull request #9148 from wwuck/bugfix/ldap-operational-attributes
Return both user and operational LDAP attributes
2023-11-08 16:40:29 -06:00
Tim Donohue
a08145e851 Merge pull request #9076 from amgciadev/fix-9070-b
Fix to prevent workflow tasks configured to be queued from running automatically
2023-11-08 14:48:49 -06:00
mohamed eskander
5a7c7956cd [DURACOM-200] improvement of checker script 2023-11-08 15:41:22 +02:00
Andrea Bollini
6d9ca388da DURACOM-199 fix sitemap generator for restricted content and improve performance 2023-11-07 15:51:23 +01:00
frabacche
f463edeb71 CST-10635 split Openaire|Coar events + tests 2023-11-07 15:41:02 +01:00
Alan Orth
60d4bca251 Merge pull request #9165 from TexasDigitalLibrary/DS-9059
DS-9059: removes options to ping search engines when generating sitemaps
2023-11-06 22:36:17 +03:00
Mattia Vianelli
9136d66aab CST-12532 Fixed class missing argument for autowired, now fresh_install works 2023-11-06 18:14:10 +01:00
Andrea Bollini
f429f19911 Merge branch 'coar-notify-7' into CST-10635-announcerelease 2023-11-04 18:52:46 +01:00
Andrea Bollini
ebb89850ba CST-12510 fix ITs, fix QAEvent generated by LDNCorrectionAction 2023-11-04 17:36:15 +01:00
Andrea Bollini
3932284bcd Merge branch 'coar-notify-7' of https://bitbucket.org/4Science/dspace-cris into CST-12467 2023-11-03 21:48:49 +01:00
Andrea Bollini
b16045b82f CST-12467 fix solr query for findSourcesByTarget, add ITs 2023-11-03 21:48:24 +01:00
Andrea Bollini
9413af794d CST-12115 improve javadocs and minor cleanup 2023-11-03 19:09:49 +01:00
mohamed eskander
b5e9e7fd75 [CST-12115] added support to decide if a correction suggestion should be automatically processed 2023-11-03 18:49:21 +02:00
frabacche
26e80fe439 CST-10635 split Openaire and Coar messages 2023-11-03 17:32:47 +01:00
Tim Donohue
7dfb51e05a Merge pull request #8980 from toniprieto/index-consumer-readonly-mode
Improve performance of discovery consumer when there are many items to index
2023-11-03 10:55:28 -05:00
Mykhaylo Boychuk
2261d0e6a7 [CST-12108] refactoring 2023-11-03 00:38:09 +01:00
Tim Donohue
e5e0eaa999 Bug fix to EPersonDAOImpl. Correctly determine if excluded group needs to be preceded by AND or WHERE 2023-11-02 14:11:10 -05:00
Tim Donohue
f186dcf4ca 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. 2023-11-02 14:11:10 -05:00
Tim Donohue
9d271b24b9 Add isNotMemberOf for groups, including unit and integration tests 2023-11-02 14:11:10 -05:00
nwoodward
f8f8806040 removed options to ping search engines when generating sitemaps 2023-11-02 13:36:46 -05:00
Tim Donohue
f011a5a5db Address feedback. Initialize HashSet sizes to avoid resizing. Correct comment about indeterminante ordering. 2023-11-01 11:36:27 -05:00
Andrea Bollini
a144caa2c2 CST-12467 refactor qatopic to always refer to a qasource 2023-11-01 00:04:46 +01:00
Tim Donohue
9c0bf08cf4 Use join instead of subquery as join seems slightly faster. 2023-10-31 14:44:21 -05:00
Tim Donohue
9832259aa0 Fix bug in logic for determining whether a workflow group will be left empty. Need to check *both* EPerson and subgroup counts. 2023-10-31 14:44:21 -05:00
Tim Donohue
2c9165afb0 Replace several usages of allMembers() with count methods to avoid performance issues 2023-10-31 14:44:21 -05:00
Tim Donohue
58a15b7297 Add countAllMembers() with tests. Update tests to use try/catch 2023-10-31 14:44:21 -05:00
Tim Donohue
cdb68a6fdc Minor unit test fix. Use isEqualCollection to compare list with Hibernate results 2023-10-31 14:44:21 -05:00
Tim Donohue
c000e54116 Add basic unit test for new EpersonService methods 2023-10-31 14:44:21 -05:00
Tim Donohue
e7c4b9eba2 Add pagination to /groups/[uuid]/subgroups endpoint, along with tests 2023-10-31 14:44:21 -05:00
Tim Donohue
15de2d0074 Bug fix. Only use pageSize and offset if >0 2023-10-31 14:44:20 -05:00
Tim Donohue
74c72354b4 Add basic pagination to /groups/[uuid]/epersons endpoint 2023-10-31 14:44:20 -05:00
mohamed eskander
9c0797ba97 Merge remote-tracking branch 'origin/coar-notify-7' into coar-notify-7_CST-11044
# Conflicts:
#	dspace-server-webapp/src/test/java/org/dspace/app/rest/NotifyServiceRestRepositoryIT.java
2023-10-31 12:22:15 +02:00
mohamed eskander
ae03900d66 [CST-11044] added new builder for inbound patterns 2023-10-31 12:17:48 +02:00
Francesco Bacchelli
5b0446c946 Merged in CST-12178-coar-add-level-of-trust-score (pull request #1205)
CST-12178 coar add level of trust score

Approved-by: Andrea Bollini
2023-10-31 09:57:14 +00:00
mohamed eskander
5a7e43bfe2 Merge remote-tracking branch 'origin/coar-notify-7' into coar-notify-7_CST-11044
# Conflicts:
#	dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/patch/operation/ldn/NotifyServicePatchUtils.java
2023-10-31 11:20:45 +02:00
Alan Orth
9dbfa171c8 Merge pull request #9106 from paulo-graca/bugfix/issue-9099
Clear primary bistream when it's deleted- Fix issue #9099
2023-10-31 09:54:49 +03:00
Paulo Graça
74cce86afc typo 2023-10-30 22:49:31 +00:00
Paulo Graça
c0bbd9d91f make comments more clear to understand 2023-10-30 22:48:49 +00:00
Paulo Graça
a3e506c7f4 new testDeleteBitstreamAndUnsetPrimaryBitstreamID remove unnecessary stubs 2023-10-30 13:08:53 +00:00
Paulo Graça
ad0d22a13a new testDeleteBitstreamAndUnsetPrimaryBitstreamID test for primary bitstream verification 2023-10-30 11:45:12 +00:00
Paulo Graça
e6d108a94e new testDeleteBitstreamAndUnsetPrimaryBitstreamID test for primary bitstream verification 2023-10-30 11:27:18 +00:00
Alan Orth
90d9dfa693 Merge pull request #9152 from wwuck/bugfix/ldap-groupmap-null
Add a null check when assigning ldap groups
2023-10-29 19:57:00 +03:00
Sean Kalynuk
3a9560ee15 Fixes #8558 - set Solr UTC timezone
Set the timezone of the Solr date formatter to UTC

(cherry picked from commit 4c329b4319)
2023-10-27 15:45:11 +00:00
Tim Donohue
1c86d00185 Merge pull request #9069 from tdonohue/fix_cannot_index_site
Fix "Site cannot be indexed" error which appears in ITs and sometimes in logs
2023-10-27 09:54:34 -05:00
Jens Vannerum
1e82ca7998 107891: Cache administrator group 2023-10-27 15:50:26 +02:00
wwuck
bb6498ed5e Add a null check when assigning ldap groups
Prevent NullReferenceException by checking if the group list is null

Fixes #8920
2023-10-28 00:32:54 +11:00
wwuck
56b7cbf4db 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
2023-10-27 22:52:23 +11:00