1442 Commits

Author SHA1 Message Date
Corina Olariu
16de631c34 Pull request #685: RED-5787 - As an admin for Japan, I want to configure the horizontal and vertical alignment of watermarks to be able to adjust the placement
Merge in RED/persistence-service from RED-5787 to master

* commit '55bca9f7d0b1afba9111159a801c6160ed12ee35':
  RED-5787 - As an admin for Japan, I want to configure the horizontal and vertical alignment of watermarks to be able to adjust the placement - remove default value
  RED-5787 - As an admin for Japan, I want to configure the horizontal and vertical alignment of watermarks to be able to adjust the placement - add 2 properties: vertical and horizontal alignment to watermark configuration
2023-05-05 10:54:34 +02:00
devplant
55bca9f7d0 RED-5787 - As an admin for Japan, I want to configure the horizontal and vertical alignment of watermarks to be able to adjust the placement
- remove default value
2023-05-04 12:57:58 +03:00
devplant
113947d216 RED-6034 - Possible to assign a file to unauthorized users
- update junit test
2023-05-04 10:29:15 +03:00
devplant
d09da8ea78 RED-6034 - Possible to assign a file to unauthorized users
- change status from 403 to 400
2023-05-04 09:44:57 +03:00
Viktor Seifert
740b9ba040 RED-6270: Repackaged incorrectly packaged dossier template and created dossier template import test that always runs (it does not have local dependencies) 2023-05-03 13:04:33 +02:00
devplant
50d4900971 RED-5787 - As an admin for Japan, I want to configure the horizontal and vertical alignment of watermarks to be able to adjust the placement
- add 2 properties: vertical and horizontal alignment to watermark configuration
2023-05-03 11:00:18 +03:00
Viktor Seifert
4ad76962ec RED-6270: Extracted common qualifiers into a constant 2023-05-02 12:45:38 +02:00
Viktor Seifert
412b3fb3c8 Merge branch 'master' into RED-6270 2023-05-02 10:15:10 +02:00
Viktor Seifert
2bc2e48768 RED-6270: Changed batch execution to use the batch size provided by the configuration 2023-04-28 16:05:13 +02:00
Viktor Seifert
080014021b RED-6270: Implemented the adding of dictionary entries via batch updates to improve writing speed 2023-04-28 15:33:26 +02:00
Viktor Seifert
dd78b08a77 RED-6270: Removed default connection value because it had no effect 2023-04-28 14:39:34 +02:00
devplant
6d9a62178d RED-6034 - Possible to assign a file to unauthorized users
- rework user provider
2023-04-28 15:26:17 +03:00
Viktor Seifert
0351baa0dd RED-6270: Extracted common code into own methods and corrected jdbc-string generation (not all params were concatenated correctly) 2023-04-27 18:14:35 +02:00
devplant
d9b589d8eb RED-6034 - Possible to assign a file to unauthorized users
- validate the assignee before triggering the under review state for the given file
- update junit tests
2023-04-27 13:33:24 +03:00
deiflaender
cafef9b914 RED-6670: Changed accessTokenLifeSpan from 5 sec to 5 min 2023-04-26 11:17:11 +02:00
Corina Olariu
98084fbebd Pull request #680: RED-6289 - Validate watermark color
Merge in RED/persistence-service from RED-6289 to master

* commit '5c83d67e4d53e650f844e02c358a3c2271fef1c2':
  RED-6289 - Validate watermark color - move up the validation of colors and opacity
  RED-6289 - Validate watermark color - validate the watermark color and in case of missing setting set the default one to black - also set a default opacity in case the setting is an invalid one
2023-04-26 09:15:54 +02:00
devplant
5c83d67e4d RED-6289 - Validate watermark color
- move up the validation of colors and opacity
2023-04-26 09:33:30 +03:00
deiflaender
18cf4ffde5 hotfix: Enabled supportsAggressiveRelease for db connections 2023-04-25 15:05:35 +02:00
devplant
afb4075fdc RED-6289 - Validate watermark color
- validate the watermark color and in case of missing setting set the default one to black
- also set a default opacity in case the setting is an invalid one
2023-04-25 11:54:20 +03:00
deiflaender
422715d1bc RED-6670: Enabled to configure accessTokenLifeSpan for tenants 2023-04-25 09:24:44 +02:00
Timo Bejan
b4b514229b RED-6407 - added unique constraints according to business logic 2023-04-24 11:51:44 +02:00
Timo Bejan
9b11f90ab9 RED-6407 - added unique constraints according to business logic 2023-04-24 10:28:27 +02:00
Timo Bejan
534efa138d Pull request #673: RED-3800 fix permissions
Merge in RED/persistence-service from RED-3800-fix-permissions to master

* commit '4b941397df3d4de38923569ac983f0c35d9276dd':
  RED-3800 - sync custom permissions and KC users based on CRON and do it more often
2023-04-24 09:18:34 +02:00
Corina Olariu
64a857d498 Pull request #675: RED-6599 - No updated informations anymore after using /redaction-gateway-v1/user/{userId}
Merge in RED/persistence-service from bugfix/RED-6599 to master

* commit '81d21f121bf802bdfba6c2428c63b282f1b52c3e':
  RED-6599 - No updated informations anymore after using /redaction-gateway-v1/user/{userId} - use @CacheEvict on the activateProfile method
2023-04-21 16:46:03 +02:00
devplant
81d21f121b RED-6599 - No updated informations anymore after using /redaction-gateway-v1/user/{userId}
- use @CacheEvict on the activateProfile method
2023-04-21 15:11:14 +03:00
Timo Bejan
4b941397df RED-3800 - sync custom permissions and KC users based on CRON and do it more often 2023-04-21 12:44:09 +03:00
Viktor Seifert
0422a98e5e RED-6467: Removed debugging code 2023-04-20 16:12:03 +02:00
Viktor Seifert
7f1f246f04 RED-6467: Removed debugging code 2023-04-20 15:54:53 +02:00
Viktor Seifert
d4656dc15e RED-6467: Removed debugging code 2023-04-20 15:13:58 +02:00
Viktor Seifert
d7fa9e12ca RED-6467: Corrected unique name check logic 2023-04-20 14:54:28 +02:00
Viktor Seifert
ffecae23b3 RED-6467: Changed unique name check to not use Exceptions to prevent transaction rollbacks 2023-04-20 14:27:27 +02:00
Viktor Seifert
30cf937c6b RED-6467: Added more debugging output 2023-04-20 12:27:24 +02:00
Viktor Seifert
59dbe70135 RED-6467: Added more debugging output 2023-04-20 11:39:44 +02:00
Viktor Seifert
fc642e82d2 RED-6467: Added more debugging output 2023-04-19 18:10:51 +02:00
Viktor Seifert
f4c53c722e RED-6467: Remove debug config and add some debugging output 2023-04-19 17:31:16 +02:00
Viktor Seifert
fd03adefd6 RED-6467: Added config to see more information about transactions in the logs 2023-04-19 12:35:05 +02:00
Viktor Seifert
9295725adc RED-6467: Expanded dossier-template import (integration) test to use the client, to test the complete code flow 2023-04-18 15:58:21 +02:00
Viktor Seifert
225bdd5500 RED-6467: Upgrade test db version to the same version as in production 2023-04-18 12:00:47 +02:00
Viktor Seifert
749138a77b Merge branch 'master' into RED-6467 2023-04-17 14:23:55 +02:00
Viktor Seifert
1fe598f407 RED-6467: Rearranged code so that query-objects are not re-used to see if it fixes transaction behavior 2023-04-17 12:34:07 +02:00
Viktor Seifert
d8a0ec0467 RED-6467: Split query into a select and a update query to prevent transaction rollbacks 2023-04-17 11:48:12 +02:00
Corina Olariu
6220a85c76 Pull request #672: RED-6468 - Exception in persistence service for DownloadCleanupJob (very rarely)
Merge in RED/persistence-service from bugfix/RED-6468 to master

* commit 'a2feec73e65115063366223e4347e60f5fcf37cf':
  RED-6468 - Exception in persistence service for DownloadCleanupJob (very rarely) - changed the lazy loading to eager for dossier in download status entity
2023-04-13 17:17:53 +02:00
Viktor Seifert
a029bb5bf7 RED-6467: Added missing transaction annotation 2023-04-13 17:06:58 +02:00
Viktor Seifert
66ff55f826 RED-6467: Removed debugging logs 2023-04-13 16:58:17 +02:00
Viktor Seifert
fee9fedbb2 RED-6467: Added missing lombok annotations 2023-04-13 16:35:19 +02:00
Viktor Seifert
c4648fa9fb RED-6467: Implemented undeletion of dictionary entries by running a native query in chunks.
This avoids a limitation in the JDBC driver.
2023-04-13 15:34:07 +02:00
Corina Olariu
413ff8fa8a Pull request #668: RED-6548 - Username not saved / Email saved as username
Merge in RED/persistence-service from bugfix/RED-6548 to master

* commit '47df255e12a67059bf9f318fe03756ea15fa0d28':
  RED-6362 - Cannot add KMS signature - rework after review
  RED-6548 - Username not saved / Email saved as username - extend createUserRequest with username - update the username with the one provided - update also the username in case of updating profile with a new email address
2023-04-13 14:45:45 +02:00
Viktor Seifert
62dbe67d63 RED-6467: Implemented undeletion of dictionary entries via the criteria builder.
Hopefully, this solves the db-driver issue with large numbers of entries.
2023-04-13 12:08:48 +02:00
devplant
a2feec73e6 RED-6468 - Exception in persistence service for DownloadCleanupJob (very rarely)
- changed the lazy loading to eager for dossier in download status entity
2023-04-13 12:33:44 +03:00
Christoph Schabert
d34aaff500 hotfix: extend azure connection string for SAS 2023-04-13 11:27:50 +02:00