Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

customer/uk-it-15 #541

Merged
merged 39 commits into from
Feb 21, 2024
Merged

customer/uk-it-15 #541

merged 39 commits into from
Feb 21, 2024

Conversation

milanmajchrak
Copy link
Collaborator

Phases MP MM MB MR JM Total
ETA 0 0 0 0 0 0
Developing 0 0 0 0 0 0
Review 0 0 0 0 0 0
Total - - - - - 0
ETA est. 0
ETA cust. - - - - - 0

Problem description

milanmajchrak and others added 30 commits November 15, 2023 12:29
* The admin could download restricted bitstreams.

* The user cannot download bitstream if he/she is not signed in.

* Cannot obtain context with user.

* The user is already fetched from the context.

* Added docs.

* Do not use endpoint for downloading the single file because it already exists - remove it.

* Fixed AuthorizationRestControllerIT tests.
* Find bitstream format using mimetype not ID.

* Updated tests according to fix.
* Updated `handle.canonical.prefix` to hdl handle.

* Integration test cannot have changed handle.canonical.prefix.
* The user registration is added when the eperson is created by the ui.

* try using newer checkout, same as upstream, since error is with git

---------

Co-authored-by: MajoBerger <[email protected]>
* Add logging of downloading restricted bitstreams.

* Log downloading of every bitstream not only restricted ones.

* Added docs

* Refactored logging.
* givenname and last name values are converted to UTF-8 encoding

* Delete eperson in tests
Fixed emails sending - added arguments and cfg properties that are sent in the email. (#470)
* DSpace#8585 Add submitter information to provenance metadata

* Cherry picked fix from vanilla and added test to check if the Item provenance metadata is added

---------

Co-authored-by: Adán Román Ruiz <[email protected]>
* Created endpoint for fetching IP address with tests.

* Made the code more understable
* fixes ufal#1096 (#471)

* Added publisher filter in the integration test check

---------

Co-authored-by: Ondřej Košarko <[email protected]>
* Made previewing of the file configurable.

* The default value of the previewing the file must be true in the integration tests.
Exposed max file limit for upload from the cfg. (#477)
* Fixed comments in the clarin emails (#484)
* Added cfg property to enable/disable showing of the page with attributes passed from the idp.
* The bitstream data are stored in to local store after uploading to S3

* The bitstream is removed from the S3 and local assetstore

* Store number is specific if all storages are synchronized.

* Return store number in the BitstreamRest object

* Find out which store is used - it could be synchronized stores number.

* Constant is moved to the Bitstream class

* Synchronization of storages is not allowed by default - set up it in the test environment.

* Added docs

* Removed constant from the Bitstream class - it wasn't consistent

* Overriden BitstreamStorageServiceImpl by custom SyncBitstreamStorageServiceImpl

* Removed ClarinS3BitStoreService.java to SyncS3BitStoreService

* Added doc and refactoring.
* Fixed UserCheck - There was created a wrong select

* Fixed ChecksumCheck - the session was closed but there were some requests do the database then
* Load version from the specific file and show content in the root endpoint.

* Fixed checkstyle issue

* DO not log anything if the VERSION file does not exist. Added VERSION file path into cfg property.

* Append every line into final String.
* Cherry picked fix S3 optimalization fixes from Vanilla

* Cherry picked adding of pagination on cleanup

* Updated Sync services according to S3 optimization fix

* The checksum value is compared between S3 and local assetstore and the new result is inserted to the database.

* Added docs and refactoring

* The checksum values are exposed by REST API

* Fixed failing tests

---------

Co-authored-by: Tim Donohue <[email protected]>
Co-authored-by: Luca Giamminonni <[email protected]>
* add version to docker

* Allow shell because it is using double quotes in the command string.

* removed cat and ls commands

---------

Co-authored-by: MajoBerger <[email protected]>
* Commented still failing tests (#490)
* Updated `build.version.file.path` because the server cannot find `VERSION_D.txt` file

* Added VERSION_D.txt info `.gitignore`

* User ${dspace.dir} instead of absolute path
* Split docker image builds into separate jobs to allow them to run in parallel.

* Ensure 'main' code is tagged as 'latest' in DockerHub

* Fixes DSpace#8558 - set Solr UTC timezone

Set the timezone of the Solr date formatter to UTC

* remove obsolete code fragments

* Add action to automatically create a port PR when specified

(cherry picked from commit f6a898c)

* Run PR Port action as 'dspace-bot' to allow new PRs to trigger CI checks

* Minor update to label_merge_conflicts to ignore any errors (seem random at this time)

* Fix typo. Config must be a valid regex

(cherry picked from commit 7995289)

* Bump h2 from 2.1.214 to 2.2.220

Bumps [h2](https://github.com/h2database/h2database) from 2.1.214 to 2.2.220.
- [Release notes](https://github.com/h2database/h2database/releases)
- [Commits](h2database/h2database@version-2.1.214...version-2.2.220)

---
updated-dependencies:
- dependency-name: com.h2database:h2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update FullTextContentStreams.java

Fix NPE if bitstream is null

* Update FullTextContentStreams.java

Add additional NPE checks

* Update ItemUtils.java

Prevent npe if bitstream is null

* dspace.cfg: remove old webui.itemlist properties

These properties are no longer used in DSpace 7:

    webui.itemlist.widths
    webui.itemlist.*.widths
    webui.itemlist.tablewidth

(cherry picked from commit 16c46c4)

* dspace.cfg: remove old webui.browse.thumbnail.show property

The webui.browse.thumbnail.show property is no longer used as of
DSpace 7. Also remove subsequent references to adding thumbnails
to item view columns since these are from legacy DSpace.

(cherry picked from commit 213a546)

* dspace.cfg: remove old webui.itemlist.browse.* property

The webui.itemlist.browse.* properties are no longer used in DSpace
7.

(cherry picked from commit 35f72bc)

* Fix DSpace#8963: Remove deletion constraint from Groomer

* Enable entity type to submission form mapping by default

(cherry picked from commit b71eee8)

* [DURACOM-179] replaced 'null' value with exception actual value in sendErrorResponse method calls having 'null'

(cherry picked from commit aa35a47)

* DS-8935. webui.browse.link CrossLinks - Fix for multiple exact matches

Fixes DSpace#8935 when multiple exact match "webui.browse.link" configuration
entries are present that point to different indexes.

Modified the code to return the index associated with the given
metadata (which is used as the key in the hash map), instead of the key
from the keySet (which may not actually be the metadata value being
searched for).

DSpace#8935
(cherry picked from commit b846c53)

* DSpace#9006 fix referenced configuration file

(cherry picked from commit 29a88d7)

* DSpace#9006 fix referenced configuration file (Test)

(cherry picked from commit 309b0b3)

* Fix DSpace#8933: Only add the base statistic core if it hasn't already been added

* Remove duplicate code

* On failure log the name of the assetstore file and trace causes of exception.

(cherry picked from commit 22974e9)

* Report Throwable's type too.

(cherry picked from commit d6b612f)

* More description on OutOfMemoryError too.

(cherry picked from commit bbe5df3)

* Remove useless log.info

(cherry picked from commit 1f3ad99)

* 103837: Refactor GA config to list bundles

* README.md: Fix typo

(cherry picked from commit ca8abdd)

* Bump up versions of buildnumber-maven-plugin & build-helper-maven-plugin. add configuration for SCM failure

(cherry picked from commit 78ea9e8)

* 3331 - remove the --optimize feature of 'dspace stats-util'

(cherry picked from commit 08c6509)

* fix MissingOptionException on help

(cherry picked from commit 8ae5ffb)

* fix stylecheck

(cherry picked from commit b1377ca)

* ingore unrecognized arguments on help

(cherry picked from commit 82c9b6f)

* add DSpaceSkipUnknownArgumentsParser as parser to ignore/skip unknown arguments in cli by help, fix not necessary ParseException in help

(cherry picked from commit 86285d7)

* remove not necessary else

(cherry picked from commit 064e2ca)

* Enable new skip merge commit feature

* dspace-api: remove unnecessary trailing whitespace

* 103818 ItemServiceImpl#inheritCollectionDefaultPolicies now clears item READ policies if new parent collection has a default READ policy

* 103818 Add boolean parameter to ItemServiceImpl#inheritCollectionDefaultPolicies to decide whether to override item read policies

* 103818 Add boolean parameters to ItemServiceImpl methodds to decide whether to override read policies

* 103818 Extend ItemServiceTest#testMoveItemToCollectionWithMoreRestrictiveReadPolicy

* 104878 Fix error in ItemServiceTest related to inheriting collection policies upon item move

* 104878 Adjust ItemServiceTest to expect correct behavior of bundles when item is migrated

* Fix failing IT in BulkAccessControlIT

* 103837: Fix isContentBitstream() in GoogleAsyncEventListener

* Rename test suites that are really integration testing.

(cherry picked from commit f66ca33)

* Bump org.eclipse.jetty:jetty-xml

Bumps [org.eclipse.jetty:jetty-xml](https://github.com/eclipse/jetty.project) from 9.4.51.v20230217 to 9.4.52.v20230823.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](jetty/jetty.project@jetty-9.4.51.v20230217...jetty-9.4.52.v20230823)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-xml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
(cherry picked from commit 2bcc0b3)

* Add note that rebooting Tomcat required

* Add websvc.opensearch.autolink and websvc.opensearch.shortname to exposed REST configuration properties

(cherry picked from commit 80b35c9)

* Add a "container friendly" log4j2 cfg and output compose dspace log to console

(cherry picked from commit 9eefd56)

* Fix ClassCastException (Collection cannot be cast to Item) in Handle identifier classes

(cherry picked from commit 1271374)

* Fix checkstyle. Correct grammar of comment while doing so.

(cherry picked from commit ffa2683)

* Avoid double slashes in sitemap paths.

(cherry picked from commit eae4463)

* Remove 'cross join' from count query. Updates "countHandlesByPrefix" to use a query similar to existing "findByPrefix"

(cherry picked from commit 14223bd)

* fix logical bug when checking if field is controlled authority

* remove optimize option from oai import

* added authorization check for license bitstream in OAI import

* OAI: add support to extract embargo from bitstreams and expose it in OAI metadata

(cherry picked from commit db81d75)

* ItemUtils.java: added method doc

(cherry picked from commit 51e60fb)

* ItemUtils.java: improved method to account for multiple embargo policies and select the longest embargo

(cherry picked from commit 538be7f)

* Refactored access-status to include embargo date based on the DefaultAccessStatusHelper logic (look at primary or first bitstream)

(cherry picked from commit 895926f)

* Remove unused imports

(cherry picked from commit 4bd2cfd)

* Fix style issues

(cherry picked from commit 724a4ff)

* Fix style issues

(cherry picked from commit 6e2c8a4)

* Add null check

(cherry picked from commit 0de4c39)

* ItemUtils.java: refactored addEmbargoField

(cherry picked from commit 291afa7)

* uketd_dc.xsl: also expose access-status if embargo or restricted

(cherry picked from commit 4b40872)

* DefaultAccessStatusHelper: fix logic to take shortest embargo

(cherry picked from commit d17ef09)

* Remove currently unused customisation of ItemUtils

(cherry picked from commit 490a982)

* DefaultAccessStatusHelper: getEmbargoFromItem return null embargo if status than embargo

(cherry picked from commit e05e73a)

* Additional Item class cast fixes in handle providers

DSOs were not properly checked if they were instanceof Item before
attempting the cast in HandleIdentifierProvider and
VersionedHandleIdentifierProviderWithCanonicalHandles

* Remove Oracle script that accidentally made it in via DSpace#8800

(cherry picked from commit 5e04edf)

* 8968 - request-a-copy email: non ASCII characters are encoded as HTML character entity references

(cherry picked from commit db36d5e)

* unused import

(cherry picked from commit bf6e042)

* 8968 - added custom StringEscapper

(cherry picked from commit 103c8ee)

* checkstyle

(cherry picked from commit 2c2b3b1)

* 8968 - implementated using HtmlUtils scaping

(cherry picked from commit 090beed)

* checkstiye

(cherry picked from commit d12fbe2)

* Define _version_

* DSpace#8585 Add submitter information to provenance metadata

(cherry picked from commit c15ac0e)

* 8585 - added provenance to metadata-import and itemImport

(cherry picked from commit ea6307d)

* dspace-api: fix misaligned comment

(cherry picked from commit 4fba787)

* oai_openaire.xsl : change resourceTypeGeneral for thesis

Thesis are "Literature" resource type (resourceTypeGeneral), not "other research product"

ref:
openaire/guidelines-literature-repositories#43 (comment)
and
https://api.openaire.eu/vocabularies/dnet:result_typologies/publication

(cherry picked from commit 669ff34)

* Bump org.eclipse.jetty:jetty-http

Bumps [org.eclipse.jetty:jetty-http](https://github.com/eclipse/jetty.project) from 9.4.52.v20230823 to 9.4.53.v20231009.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](jetty/jetty.project@jetty-9.4.52.v20230823...jetty-9.4.53.v20231009)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-http
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump org.json:json from 20230227 to 20231013 in /dspace-api

Bumps [org.json:json](https://github.com/douglascrockford/JSON-java) from 20230227 to 20231013.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
(cherry picked from commit 11a08f1)

* Reading localized license file.

* Reading localized license file.

* Applying commit 6108c98

* quote Pattern for thumbnail resolution constructed from bitstream filename

(cherry picked from commit a124807)

* check null value of bitstream name before quoting name for regex

(cherry picked from commit a9bcc0c)

* extract bitstream thumbnail name pattern into own function

(cherry picked from commit c5466c2)

* 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 a76af35)

* Community request:  fake EPerson from configuration.

(cherry picked from commit bb9e88d)

* Correct some documentation.

(cherry picked from commit be22790)

* Handle missing role.

(cherry picked from commit 2e62fa3)

* Fix "Site cannot be indexed" error by ignoring ADD/REMOVE events on Site object

(cherry picked from commit ef7f02f)

* Add a null check when assigning ldap groups

Prevent NullReferenceException by checking if the group list is null

Fixes DSpace#8920

(cherry picked from commit bb6498e)

* 9043 use Templates for compiled XSLT instead of Transformer - use Templates are thread-safe and NOT Transformer

(cherry picked from commit 1160341)

* Update to newly released XOAI 3.4.0

(cherry picked from commit 160ebbd)

* add test and fix

(cherry picked from commit 48b0b71)

* unset primary bitstream on bitstream service

(cherry picked from commit 47ca74b)

* adding sql expression to fix deleted primary bitstreams from bundle

(cherry picked from commit 8a531ad)

* add bundle remove authorization

(cherry picked from commit 3255e07)

* adding missing bundle REMOVE authorization

(cherry picked from commit 4a05600)

* add missing head style check

(cherry picked from commit caba4bb)

* fix style errors

(cherry picked from commit 74605f1)

* new testDeleteBitstreamAndUnsetPrimaryBitstreamID test for primary bitstream verification

(cherry picked from commit e6d108a)

* new testDeleteBitstreamAndUnsetPrimaryBitstreamID test for primary bitstream verification

(cherry picked from commit ad0d22a)

* new testDeleteBitstreamAndUnsetPrimaryBitstreamID remove unnecessary stubs

(cherry picked from commit a3e506c)

* make comments more clear to understand

(cherry picked from commit c0bbd9d)

* typo

(cherry picked from commit 74cce86)

* Add basic pagination to /groups/[uuid]/epersons endpoint

(cherry picked from commit 74c7235)

* Bug fix. Only use pageSize and offset if >0

(cherry picked from commit 15de2d0)

* Add missing pagination test for /groups/[uuid]/epersons

(cherry picked from commit 457dd9a)

* Add pagination to /groups/[uuid]/subgroups endpoint, along with tests

(cherry picked from commit e7c4b9e)

* Add basic unit test for new EpersonService methods

(cherry picked from commit c000e54)

* Minor unit test fix. Use isEqualCollection to compare list with Hibernate results

(cherry picked from commit cdb68a6)

* Add countAllMembers() with tests. Update tests to use try/catch

(cherry picked from commit 58a15b7)

* Replace several usages of allMembers() with count methods to avoid performance issues

(cherry picked from commit 2c9165a)

* 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 9832259)

* Use join instead of subquery as join seems slightly faster.

(cherry picked from commit 9c0bf08)

* Address feedback. Initialize HashSet sizes to avoid resizing. Correct comment about indeterminante ordering.

(cherry picked from commit f011a5a)

* Allow users with write permission to view hidden metadata

(cherry picked from commit 65a17d4)

* Test modification: allow users with write rights to see hidden metadata

(cherry picked from commit df7f6e9)

* Add test to check that user with read rights can see hidden metadata

(cherry picked from commit 03496c3)

* Verify optional message is not missing or a literal "null" value

(cherry picked from commit 534ee3a)

* Change the database mode to READ_ONLY during the indexing by discovery consumer (IndexEventConsumer)

(cherry picked from commit 94822b5)

* 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 c33d3fa)

* Flush database changes after switching to READONLY mode

(cherry picked from commit 00a6531)

* Add test to check retrieving of policies after changing mode to READ_ONLY

(cherry picked from commit d19a959)

* Change class name to ContextIT and correct a test

(cherry picked from commit a556799)

* 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 7566a79)

* removed options to ping search engines when generating sitemaps

(cherry picked from commit f8f8806)

* XmlWorkflowCuratorServiceImpl: add check to queue task if configured; Curation: remove obsolete code preventing curation running on workflow tasks as DSpace#3157 is now implemented

* 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 DSpace#9151

(cherry picked from commit 56b7cbf)

* [DURACOM-200] improvement of checker script

(cherry picked from commit 5a7c795)

* 108055: isClosed method should use xml configuration

(cherry picked from commit d800d80)

* [DURACOM-192] Authentication Method related special groups are put in claim set even if a different authentication method is used

(cherry picked from commit 6504d74)

* [DURACOM-192] Added test

(cherry picked from commit fa39251)

* 107891: Cache administrator group

(cherry picked from commit 1e82ca7)

* DURACOM-199 improved test to show bug related to restricted content

(cherry picked from commit dac4df9)

* DURACOM-199 fix sitemap generator for restricted content and improve performance

(cherry picked from commit 6d9ca38)

* [Port dspace-7_x] Event consumer for submission config reloading when a collection changes (DSpace#9196)

* initialization with refactoring

(cherry picked from commit e93dc1c)

* also consider SubmissionConfigReaderException

(cherry picked from commit 8a04b87)

* rename consumer file

(cherry picked from commit f6c92a4)

* init submission service factory

(cherry picked from commit fcc5239)

* set submissionconfig config settings by default

(cherry picked from commit e343d51)

* renaming SubmissionConfigReaderService

(cherry picked from commit 9ea7c32)

* support for SubmissionConfigService

(cherry picked from commit 61389fb)

* fixing style errors and renaming submissionConfigService

(cherry picked from commit 5f49491)

* fixing style errors and unused imports

(cherry picked from commit 31d9251)

* set default submission event configs

(cherry picked from commit 578198c)

* adding force indexing action to Consumer

(cherry picked from commit b912364)

* stylecheck fixes

(cherry picked from commit 89e89c3)

* undo event.dispatcher.noindex.consumers

(cherry picked from commit ae9dc5f)

---------

Co-authored-by: Paulo Graça <[email protected]>

* Add isNotMemberOf for groups, including unit and integration tests

(cherry picked from commit 9d271b2)

* 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 f186dcf)

* Add /epersons/search/isNotMemberOf endpoint to REST API along with integration tests

(cherry picked from commit 5208a35)

* Bug fix to EPersonDAOImpl.  Correctly determine if excluded group needs to be preceded by AND or WHERE

(cherry picked from commit e5e0eaa)

* Updated IIIF Controller IT to text bitstream and bundle exclusions

(cherry picked from commit e92b4b7)

* Simplified the process of fixing the tests after adding new sidebar facets/search filters and sort options to discover.xml

(cherry picked from commit b40ad0d)

* 107671: Expose the handle.canonical.prefix to the frontend

(cherry picked from commit 6d86e65)

* Remove line breaks from default.license because they are being rendered in the frontend

(cherry picked from commit 56aae34)

* [Port dspace-7_x] subscription email: do not send email if nothing has changed (DSpace#9204)

* improved subscriptions email template

(cherry picked from commit 6e7b327)

* do not send emails without content

(cherry picked from commit 926b242)

* fixed coding style violations

(cherry picked from commit fdacec0)

* removed unnecessary isEmpty check as suggested by reviewer

(cherry picked from commit 30a837f)

* moved null check on indexableObjects in generateBodyMail

(cherry picked from commit b43c340)

* fixed unhandled IOException

(cherry picked from commit 9b3f7b6)

* fixed typo in bodyCommunities

(cherry picked from commit ac3d02e)

* do not use != to compare strings

(cherry picked from commit e460183)

* fixed improper handling of empty list

(cherry picked from commit ac72aae)

---------

Co-authored-by: Sascha Szott <[email protected]>

* [maven-release-plugin] prepare release dspace-7.6.1

* Fixed checkstyle issues

* Fixed compilation errors

* Removed redundant service definitions in the `core-factory-services.xml` because unit tests was failing

* Removed redundant bean in the `discovery.xml`

* Removed redundant `latestVersion` from `schema.xml`

* Fixed wrong resolved conflicts - the app cannot start running

* Used ClarinVersionedHandleIdentifierProvider instead of Vanilla one in the `identifier-service.xml`

* Fixed tests - the user has an authorization to remove bundle

* Fixed failing test in the `MetadataExportSearchIT` it was trying to test dateIssued filter, but the CLARIN DSpace doesn't use that.

* controlled.authority.dc.relation is changed in the configuration by CLARIN so the test VersioningWithRelationshipsIT is failing because of that.

* Fixed wrong license validation class

* Removed test which was accidentaly added durign resolving conflicts

* The ACL tag restricted loading of some input field which was missing in the assert

* The test cannot convert `Oct` from the xml to normal number because of Slovak default locale which doesn't know what `Oct` means in the date. I set up EN locale for the current test

* Added clarin set up of search Facets into integration tests - because src/test/java/org/dspace/app/rest/DiscoveryScopeBasedRestControllerIT.java was failing

* Added method `areSpecialGroupsApplicable` into ClarinShibAuthentication because after shib authentication the user wasn't assinged into special group because of some dspace new feature

* Change DEFAULT_AMOUNT_FORMATS in the BitstreamFormatRestRepositoryIT.java because vanila has added a new format.

* Ignored still failing RegistrationRestRepositoryIT test - it is ignored also in the 7.5 version

* fix: Failure of org.dspace.app.rest.SitemapRestControllerIT when running locally

* Ignore pubmedImportMetadataGetRecordsTest or allow ssl

* Let the pubmedImportMetadataGetRecordsTests ignored

* Fixed CurationIT - it failed on the Stream because Stream has null param. Null param was because of null handle on the Site object - the site handle was removed in the  `ClarinHandleImportControllerIT.java#createHandleWithoutDSpaceObjectTest`.

* Do not delete site handle in the HandleRestRepositoryIT

* Updated scripts for fast building 7.6.1

* Moved flyway script for updating checksum_results into separate file

* Added missing headers

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Tim Donohue <[email protected]>
Co-authored-by: Sean Kalynuk <[email protected]>
Co-authored-by: Sascha Szott <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Agustina Martinez <[email protected]>
Co-authored-by: Alan Orth <[email protected]>
Co-authored-by: Martin Walk <[email protected]>
Co-authored-by: corrado lombardi <[email protected]>
Co-authored-by: David P. Steelman <[email protected]>
Co-authored-by: Christian Bethge <[email protected]>
Co-authored-by: max.nuding <[email protected]>
Co-authored-by: Max Nuding <[email protected]>
Co-authored-by: Mark H. Wood <[email protected]>
Co-authored-by: Nona Luypaert <[email protected]>
Co-authored-by: Christian Clauss <[email protected]>
Co-authored-by: Hrafn Malmquist <[email protected]>
Co-authored-by: aroman-arvo <[email protected]>
Co-authored-by: Christian Bethge <[email protected]>
Co-authored-by: Koen Pauwels <[email protected]>
Co-authored-by: Mark Cooper <[email protected]>
Co-authored-by: nwoodward <[email protected]>
Co-authored-by: Kim Shepherd <[email protected]>
Co-authored-by: Marie-Hélène Vézina <[email protected]>
Co-authored-by: damian <[email protected]>
Co-authored-by: Gantner, Florian Klaus <[email protected]>
Co-authored-by: wwuck <[email protected]>
Co-authored-by: Paulo Graça <[email protected]>
Co-authored-by: Toni Prieto <[email protected]>
Co-authored-by: mohamed eskander <[email protected]>
Co-authored-by: Jens Vannerum <[email protected]>
Co-authored-by: Luca Giamminonni <[email protected]>
Co-authored-by: Andrea Bollini <[email protected]>
Co-authored-by: DSpace Bot <[email protected]>
Co-authored-by: Michael Spalti <[email protected]>
Co-authored-by: Alexandre Vryghem <[email protected]>
Co-authored-by: Shankeerthan Kasilingam <[email protected]>
dspace-dependencies job was missing
Fixed dspace-dependencies error
…uralyit

Internal/fix failing vocaburalyit
vidiecan and others added 9 commits February 2, 2024 17:14
)

* remove discofeed related fetching from obsolete discojuice servers

* check style, turned off in testing, turned of by default

* fix failing test

---------

Co-authored-by: jm <jm@maz>
* Do not compute localChecksum because it takes too long for the big files. The checksum is computed using DigestInputStream object.
Copy content into sync local assetstore using buffered copying.

* Fixed checkstyle issue

* Updated comment about creating required directories
* The all transactions are not updated in the user metadata after a new download..

* Return the user metadata depending on user registration, bitstream, mapping and the last translation.

* Fixed checkstyle issues

* Fixed failing integration tests - do not fetch user metadata for testing by ID where there are more tests which creates the user metadata
* Disable SSL check for specific discofeed requests

* Fixed checkstyle issues

* Do not throw error in private constructor

* Fixed failing IT - ssl check wasn't disabled

* Ignore integration test which is trying to connect to our private network.
* Temp commit - upload a file by uploading 50MB parts

* Added uploading the file by parts - for every part is computed checksum and compared with UploadPartResult's ETag. This feature could be enabled or disabled by cfg.

* Undo S3BitStoreService changes

* Fixed checkstyle issues

* Prettify the code

* Changed cfg property to be better understandable and file size is converted into constant.
@milanmajchrak milanmajchrak merged commit 921ae57 into customer/uk Feb 21, 2024
11 checks passed
@MajoBerger MajoBerger deleted the customer/uk-it-15 branch August 5, 2024 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants