Commit Graph

17370 Commits

Author SHA1 Message Date
Mohamed Saber Eskander
e6daf49f25 added missed configuration 2023-05-31 13:26:28 +03:00
Mohamed Saber Eskander
bfbf17f577 - refactoring and adding new test cases
- update resource polices of derivative bitstreams also
- check authorization when run script
- added some log information
2023-05-31 12:33:56 +03:00
Giuseppe Digilio
54981b0bd2 Merge branch 'main' into DURACOM-126 2023-05-30 09:11:49 +02:00
NikitaKr1vonosov
3ee18f5a6e Merge branch 'main' into CST-5728 2023-05-29 13:05:46 +02:00
Nikita Krivonosov
3ba6db388b Merge remote-tracking branch 'origin/CST-5728' into CST-5728 2023-05-29 12:42:39 +02:00
Nikita Krivonosov
d0d6776810 [CST-5728] LYRASIS [Donated]: DSpace7: Implement signposting pattern in DSpace (REST) 2023-05-29 09:56:07 +02:00
Paulo Graça
c11679c6de removing tailing semicolon 2023-05-27 09:19:15 +01:00
Paulo Graça
c2a5e2ad80 Merge branch 'main' into enhancement/xoai-access-status-plugin 2023-05-27 09:15:59 +01:00
Paulo Graça
a9eab4a254 also add support for access status at bitstream level 2023-05-27 08:23:46 +01:00
Paulo Graça
43ab705568 fixing code style errors 2023-05-26 22:47:02 +01:00
nwoodward
fdef871e69 fix checkstyle 2023-05-26 15:41:14 -05:00
nwoodward
e889abc623 check that zip file exists and has correct MIME type; also make sure that common temp imports directory is not removed 2023-05-26 15:41:14 -05:00
Paulo Graça
4fa51d03d1 adding support for access status xoai plugin 2023-05-26 17:14:10 +01:00
Paulo Graça
b47fd234e8 Merge branch 'main' into enhancement/addressing-#8633 2023-05-26 12:22:38 +01:00
Francesco Pio Scognamiglio
78f91b096b Merge branch 'main' into DURACOM-127 2023-05-26 09:24:17 +02:00
Mark H. Wood
7b720d6521 Merge pull request #8772 from alexandrevryghem/use-variables-in-email-templates_contribute-main
Use variables in email templates contribute main
2023-05-25 13:57:27 -04:00
Tim Donohue
bdcfb8523d Merge pull request #8796 from atmire/w2p-100414_Missing-search-result-statistics-PR
Missing search results statistics
2023-05-25 08:55:07 -05:00
Giuseppe Digilio
ec3cc2dcf1 Merge branch 'main' into duracom-136_CST-9634 2023-05-25 15:49:41 +02:00
Giuseppe Digilio
e3beefadaa Merge remote-tracking branch 'bitbucket4science/DURACOM-126' into DURACOM-126 2023-05-25 14:49:55 +02:00
Giuseppe Digilio
f750f85b17 Merge remote-tracking branch 'origin/main' into DURACOM-126 2023-05-25 14:48:24 +02:00
Yana De Pauw
f3b939e88f 94299: Add rest.patch.operations.limit to config file 2023-05-25 15:34:05 +03:00
Paulo Graça
111b2e4a6a Merge branch 'main' into enhancement/addressing-#8633 2023-05-25 09:42:31 +01:00
Bui Thai Hai
b3a21ebd5a Minor Tweaks 2023-05-25 14:54:46 +07:00
Bui Thai Hai
eb46a99dff Fix: default sort option (lastModified) for discovery 2023-05-25 10:21:44 +07:00
Mark H. Wood
571df9b38a Add a simple test for new TimeHelpers class. 2023-05-24 15:56:03 -04:00
Tim Donohue
c0446d45dc Merge pull request #8783 from kshepherd/LU-30_bitstream_inheritence
Bitstreams should inherit collection DEFAULT_BITSTREAM_READ, falling back to bundle READ
2023-05-24 11:29:43 -05:00
Alexandre Vryghem
01d5276fd7 Replace occurrences of DSpace with the dspace.name variable 2023-05-24 17:53:58 +02:00
Francesco Pio Scognamiglio
4417eddb85 Merge branch 'main' into DURACOM-127 2023-05-24 15:43:14 +02:00
Paulo Graça
2ca723d687 Merge branch 'main' into enhancement/addressing-#8633 2023-05-24 09:36:16 +01:00
Alan Orth
bd36261b20 Merge pull request #8863 from 4Science/DURACOM-148
[DURACOM-148] add crossref metadata processor to manage the date issued field
2023-05-24 10:03:45 +03:00
Tim Donohue
9e5165e626 Merge pull request #8851 from buithaihai/DS-8832
Fix: Collection's admin cannot edit its template item.
2023-05-23 11:48:52 -05:00
Bui Thai Hai
2f59554a5d ADD: Unit Tests for fix 2023-05-23 15:05:34 +07:00
Paulo Graça
50f808a7d0 removing Person test configuration 2023-05-23 08:51:27 +01:00
Francesco Pio Scognamiglio
8980b07f2b [DURACOM-148] fix typo: remove trailing whitespace 2023-05-23 08:51:07 +02:00
Francesco Pio Scognamiglio
8a0645c628 Merge branch 'main' into DURACOM-148 2023-05-23 08:46:30 +02:00
Bui Thai Hai
9bc7edb733 Fix: Collection's admin cannot edit its template item. 2023-05-23 09:14:10 +07:00
Tim Donohue
e0d2248da3 Merge pull request #8859 from alanorth/bump-tika-dep
pom.xml: bump tika from 2.3.0 to 2.5.0
2023-05-22 16:56:26 -05:00
Alexandre Vryghem
05f1714b05 Replace occurrences of DSpace with the dspace.name variable 2023-05-22 23:15:19 +02:00
Tim Donohue
33545667ef Merge pull request #8862 from tdonohue/update_spring_boot
Update to latest Spring Boot
2023-05-22 12:33:13 -05:00
Alan Orth
5357923d28 dspace-api: avoid generation loss in ImageMagickThumbnailFilter
When filtering PDF bitstreams, the ImageMagickThumbnailFilter first
creates an intermediate JPEG and then a "thumbnail" JPEG. These two
operations are both lossy. The ImageMagick usage guide warns against
doing that:

> JPEG losses (sic) information, degrading images when saved.
> Use some other format for intermediate images during processing.
> Only use JPEG format, for the final image, not for further processing.

As our current filter architecture requires writing a temporary file
we must choose one of the following lossless formats to use for the
intermediate: PNG, TIFF, or MIFF. MIFF is ImageMagick's own internal
format and is much faster to write than PNG.

By eliminating the first lossy conversion we gain 1.1% points on the
ssimulacra2 (v2.1) scoring scale of visual quality.

See: https://imagemagick.org/Usage/formats/#jpg
2023-05-22 18:36:11 +03:00
Alan Orth
7ebb5290fc dspace-api: comment ImageMagick filters
Add some comments to document the functionality of the ImageMagick
thumbnail filters. This will help others understand it later when
we need to re-factor them.
2023-05-22 18:36:11 +03:00
Alan Orth
a4105bdcb0 dspace-api: simplify logic in ImageMagickThumbnailFilter
There is no point passing a page parameter here, with a default of
0 no less, because we will *always* use the first page of the PDF
to generate the thumbnail. No other filters use this function and
the page parameter is not configurable so we should just hard code
it.
2023-05-22 18:36:11 +03:00
Alan Orth
7dbfa9a3c5 dspace-api: minor logging fix in ImageMagickThumbnailFilter
Minor standardization to logging (unneccessary capitalization and
excessive spaces).
2023-05-22 18:36:11 +03:00
Alan Orth
c37622cb3f dspace-api: improve logging in ImageMagickThumbnailFilter
Instead of logging the name of the source bitstream, we should be
logging the name of the actual thumbnail bitstream that is being
considered for replacement. For example, instead of this:

  IM Thumbnail manual.pdf matches pattern and is replaceable.

... the message should read:

  IM Thumbnail manual.pdf.jpg matches pattern and is replaceable.

This message is already confusing enough, but this will help.
2023-05-22 18:36:11 +03:00
Alan Orth
7ab5f3b489 dspace-api: fix typo in ImageMagickThumbnailFilter 2023-05-22 18:36:11 +03:00
Tim Donohue
c3dd1f8489 Update to latest Spring Boot 2023-05-22 09:23:21 -05:00
Francesco Pio Scognamiglio
cbfed3e218 [DURACOM-148] add crossref metadata processor to manage the date issued field 2023-05-22 15:44:52 +02:00
Paulo Graça
fc2589464f checkstyle violations fixing and remove unnecessary max rows limit 2023-05-22 12:57:56 +01:00
Francesco Pio Scognamiglio
8ddf4702af [DURACOM-127] check if versioning is enabled for versioned identifier providers 2023-05-22 11:53:03 +02:00
Alan Orth
6018a2b7be pom.xml: bump tika from 2.3.0 to 2.5.0
A handful of bug fixes, improvements to PDF parsing, and updates
to dependencies. This is the highest we can go right now without
hitting dependency convergence issues related to bouncycastle.

See: https://github.com/apache/tika/blob/2.5.0/CHANGES.txt
2023-05-22 11:50:59 +03:00