Commit Graph

17355 Commits

Author SHA1 Message Date
Toni Prieto
40bb9491a5 Test modification: allow users with write rights to see hidden metadata
(cherry picked from commit df7f6e9f40)
2023-11-02 19:58:18 +00:00
Toni Prieto
686747bbf8 Allow users with write permission to view hidden metadata
(cherry picked from commit 65a17d4390)
2023-11-02 19:58:18 +00:00
Tim Donohue
f8f54719c9 Merge pull request #9166 from DSpace/backport-9078-to-dspace-7_x
[Port dspace-7_x] Improve performance for Groups with many EPerson members. Fix pagination on endpoints
2023-11-02 14:47:13 -05: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
a4db6d39d7 Add missing pagination test for /groups/[uuid]/epersons
(cherry picked from commit 457dd9ae44)
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
Alan Orth
1ad9a097ee Merge pull request #9160 from DSpace/backport-9106-to-dspace-7_x
[Port dspace-7_x] Clear primary bistream when it's deleted- Fix issue #9099
2023-10-31 10:37:16 +03: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
Paulo Graça
c96558986a unset primary bitstream on bitstream service
(cherry picked from commit 47ca74bc42)
2023-10-31 06:55:06 +00:00
Paulo Graça
08f361a9cb add test and fix
(cherry picked from commit 48b0b71c63)
2023-10-31 06:55:06 +00:00
Tim Donohue
c0f4d1e219 Merge pull request #9158 from DSpace/backport-9045-to-dspace-7_x
[Port dspace-7_x] OAI-PMH use Templates for compiled XSLT instead of Transformer (thread-safe)
2023-10-30 17:15:11 -05:00
Tim Donohue
3553467f21 Merge pull request #9124 from mwoodiupui/dspace-7_x
Give `authority` Solr core a `_version_` field so it can be loaded
2023-10-30 16:59:14 -05:00
Tim Donohue
448387ccfd Update to newly released XOAI 3.4.0
(cherry picked from commit 160ebbd791)
2023-10-30 21:02:52 +00:00
Christian Bethge
5596cc686d 9043 use Templates for compiled XSLT instead of Transformer - use Templates are thread-safe and NOT Transformer
(cherry picked from commit 1160341cb2)
2023-10-30 21:02:52 +00:00
Alan Orth
0ddc05bffb Merge pull request #9156 from DSpace/backport-9152-to-dspace-7_x
[Port dspace-7_x] Add a null check when assigning ldap groups
2023-10-29 21:11:35 +03:00
wwuck
e597c2afc1 Add a null check when assigning ldap groups
Prevent NullReferenceException by checking if the group list is null

Fixes #8920

(cherry picked from commit bb6498ed5e)
2023-10-29 16:57:18 +00:00
Tim Donohue
bd986a06c4 Merge pull request #9153 from DSpace/backport-9069-to-dspace-7_x
[Port dspace-7_x] Fix "Site cannot be indexed" error which appears in ITs and sometimes in logs
2023-10-27 10:46:11 -05:00
Tim Donohue
e649966cb7 Merge pull request #8984 from uofmsean/fix-8558-set-solr-timezone
Set Solr timezone to UTC when converting local date/time to the stored value that assumes Zulu (Z)
2023-10-27 10:44:52 -05:00
Tim Donohue
b5a1a3b4bd Merge pull request #9150 from DSpace/backport-9001-to-dspace-7_x
[Port dspace-7_x] Make workflow curation tasks actually work.
2023-10-27 10:05:05 -05:00
Tim Donohue
1bc6e1ff71 Fix "Site cannot be indexed" error by ignoring ADD/REMOVE events on Site object
(cherry picked from commit ef7f02fe81)
2023-10-27 14:54:51 +00:00
Mark H. Wood
06f6a41cbf Handle missing role.
(cherry picked from commit 2e62fa3fd1)
2023-10-26 21:23:34 +00:00
Mark H. Wood
7a2b018843 Correct some documentation.
(cherry picked from commit be22790aad)
2023-10-26 21:23:34 +00:00
Mark H. Wood
4b62c9b605 Community request: fake EPerson from configuration.
(cherry picked from commit bb9e88d1bb)
2023-10-26 21:23:34 +00:00
Mark H. Wood
7cdc710895 Make workflow curation tasks actually work.
When curation runs, there was no "current user" and no claimed task,
so the code broke when trying to find people to notify about curation
failures.

(cherry picked from commit a76af35a0c)
2023-10-26 21:23:34 +00:00
Tim Donohue
52dca308ad Merge pull request #9149 from DSpace/backport-9113-to-dspace-7_x
[Port dspace-7_x] fix not resolved thumbnail due to filename issues
2023-10-26 12:16:28 -05:00
Gantner, Florian Klaus
9d099dcf3f extract bitstream thumbnail name pattern into own function
(cherry picked from commit c5466c2249)
2023-10-26 16:10:19 +00:00
Gantner, Florian Klaus
af5632c2f2 check null value of bitstream name before quoting name for regex
(cherry picked from commit a9bcc0c223)
2023-10-26 16:10:18 +00:00
Gantner, Florian Klaus
1c7e9ea1f1 quote Pattern for thumbnail resolution constructed from bitstream filename
(cherry picked from commit a124807468)
2023-10-26 16:10:18 +00:00
Tim Donohue
7e36062c2e Merge pull request #9039 from atmire/backport-9019-to-dspace-7_x
[Port to dspace-7_x] Fix inherit policies at item move
2023-10-25 16:38:36 -05:00
Tim Donohue
21ce7d7580 Merge pull request #9138 from tdonohue/port_8966_to_dspace7x
[Port to dspace-7_x] Reading localized license file.
2023-10-20 17:18:50 -05:00
Tim Donohue
fa01fde364 Applying commit 6108c98d82 2023-10-20 16:35:14 -05:00
damian
b21b5e0096 Reading localized license file. 2023-10-20 16:33:51 -05:00
damian
093785e5e2 Reading localized license file. 2023-10-20 16:30:50 -05:00