Commit Graph

17355 Commits

Author SHA1 Message Date
Alan Orth
501e657348 Merge pull request #9207 from alanorth/port-9203-dspace-7_x
[Port dspace-7-x] CrossRefImport: ignore empty responses rather than generating empty phantom ImportRecords
2023-11-23 09:13:58 +03:00
Philipp Rumpf
21a7f25118 CrossRefImportMetadataSourceServiceIT: Test empty responses don't result in ... results. 2023-11-23 08:44:34 +03: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 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
Tim Donohue
a3501c64af Merge pull request #9200 from DSpace/backport-9162-to-dspace-7_x
[Port dspace-7_x] Fix match theme by handle with cannonical prefix https://hdl.handle.net/ not working
2023-11-13 16:00:10 -06:00
Alexandre Vryghem
a7f106da92 Remove line breaks from default.license because they are being rendered in the frontend
(cherry picked from commit 56aae347c2)
2023-11-13 20:20:23 +00:00
Alexandre Vryghem
e7786f49af 107671: Expose the handle.canonical.prefix to the frontend
(cherry picked from commit 6d86e65b72)
2023-11-13 20:20:23 +00:00
Tim Donohue
a25710a23d Merge pull request #9199 from DSpace/backport-9163-to-dspace-7_x
[Port dspace-7_x] Simplify process of fixing the tests after adding sidebar facets
2023-11-13 13:18:10 -06:00
Tim Donohue
dccd7a04b6 Merge pull request #9198 from DSpace/backport-9184-to-dspace-7_x
[Port dspace-7_x] Updated IIIF Controller IT to text bitstream and bundle exclusions
2023-11-13 11:47:17 -06:00
Alexandre Vryghem
74733ab4b4 Simplified the process of fixing the tests after adding new sidebar facets/search filters and sort options to discover.xml
(cherry picked from commit b40ad0dfc2)
2023-11-13 17:40:51 +00: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
6edf793023 Merge pull request #9197 from DSpace/backport-9125-to-dspace-7_x
[Port dspace-7_x] Add `isNotMemberOf` searches for Groups and EPersons (for improved performance on Edit Group pages)
2023-11-10 15:14:34 -06: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
b65ddc3638 Add /epersons/search/isNotMemberOf endpoint to REST API along with integration tests
(cherry picked from commit 5208a355d6)
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
Tim Donohue
be52c85e62 Merge pull request #9193 from DSpace/backport-9175-to-dspace-7_x
[Port dspace-7_x] Improve sitemap performance and exclude restricted and undiscoverable content
2023-11-10 09:55:21 -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
Andrea Bollini
c9abeac208 DURACOM-199 improved test to show bug related to restricted content
(cherry picked from commit dac4df9c1a)
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
Tim Donohue
d301eade48 Merge pull request #9188 from DSpace/backport-9130-to-dspace-7_x
[Port dspace-7_x] Authentication Method related special groups are put in claim set even if a different authentication method is used
2023-11-09 17:18:12 -06:00
Jens Vannerum
fd13ee7cfd 107891: Cache administrator group
(cherry picked from commit 1e82ca7998)
2023-11-09 22:49:20 +00:00
Luca Giamminonni
911a7a394f [DURACOM-192] Added test
(cherry picked from commit fa39251071)
2023-11-09 22:38:12 +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
Alan Orth
68ab431294 Merge pull request #9187 from DSpace/backport-9181-to-dspace-7_x
[Port dspace-7_x] Fix an issue where the `closed` attribute of vocabularies in the submission forms would be neglected
2023-11-09 22:32:09 +03:00
Alan Orth
a6046e0168 Merge pull request #9186 from DSpace/backport-9179-to-dspace-7_x
[Port dspace-7_x] [DURACOM-200] improvement of checker script
2023-11-09 22:30:11 +03:00
Jens Vannerum
adf644535c 108055: isClosed method should use xml configuration
(cherry picked from commit d800d800d5)
2023-11-09 18:57:23 +00:00
mohamed eskander
4b2957358f [DURACOM-200] improvement of checker script
(cherry picked from commit 5a7c7956cd)
2023-11-09 17:40:27 +00:00
Tim Donohue
5601392e84 Merge pull request #9183 from DSpace/backport-9148-to-dspace-7_x
[Port dspace-7_x] Return both user and operational LDAP attributes
2023-11-08 17:07:32 -06: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
Tim Donohue
843828dcdf Merge pull request #9182 from tdonohue/port_9076_to_dspace-7_x
[Port dspace-7_x] Fix to prevent workflow tasks configured to be queued from running automatically
2023-11-08 15:52:03 -06: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
Alan Orth
101b3a2f57 Merge pull request #9173 from DSpace/backport-9165-to-dspace-7_x
[Port dspace-7_x] DS-9059: removes options to ping search engines when generating sitemaps
2023-11-06 23:13:19 +03: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
Tim Donohue
a5e4233f1d Merge pull request #9170 from DSpace/backport-9157-to-dspace-7_x
[Port dspace-7_x] dspace/config: update spider agent list
2023-11-06 09:54:38 -06:00
Alan Orth
38c81b9f0d dspace/config: update spider agent list
Update list of spider user agents from the COUNTER-Robots project.

See: https://github.com/atmire/COUNTER-Robots
(cherry picked from commit 7566a79d90)
2023-11-03 21:32:53 +00:00
Tim Donohue
194a3e57a3 Merge pull request #9169 from DSpace/backport-8980-to-dspace-7_x
[Port dspace-7_x] Improve performance of discovery consumer when there are many items to index
2023-11-03 12:22:32 -05: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
9624347201 Merge pull request #9168 from DSpace/backport-9136-to-dspace-7_x
[Port dspace-7_x] Verify optional request-a-copy message is not missing or a literal "null" value
2023-11-02 17:20:00 -05:00
Tim Donohue
3ded3acd8f Merge pull request #9084 from TexasDigitalLibrary/DS-4414-7_x
[Port dspace-7_x] DS-4414: adds authorization check for license bitstream in OAI import
2023-11-02 16:55:18 -05:00
Tim Donohue
52e965b06a Merge pull request #9167 from DSpace/backport-9126-to-dspace-7_x
[Port dspace-7_x] Allow users with write permission to see hidden metadata
2023-11-02 16:23:08 -05:00
Tim Donohue
551c84dede Verify optional message is not missing or a literal "null" value
(cherry picked from commit 534ee3a699)
2023-11-02 21:21:10 +00:00
Toni Prieto
42959d5db8 Add test to check that user with read rights can see hidden metadata
(cherry picked from commit 03496c36d4)
2023-11-02 19:58:18 +00:00