1564 Commits

Author SHA1 Message Date
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
RED-6289_3
2023-04-25 11:54:20 +03:00
Timo Bejan
50b2c1b9b1 Pull request #678: RED-6407 - added unique constraints according to business logic
Merge in RED/persistence-service from RED-6407 to master

* commit 'b4b514229b451316355ab9b95e8668a94cd17f94':
  RED-6407 - added unique constraints according to business logic
2.45.0 RED-6289_2
2023-04-24 12:02:08 +02:00
Timo Bejan
b4b514229b RED-6407 - added unique constraints according to business logic RED-6407_7 2023-04-24 11:51:44 +02:00
Timo Bejan
bcd79f9957 Pull request #677: RED-6407 - added unique constraints according to business logic
Merge in RED/persistence-service from RED-6407 to master

* commit '9b11f90ab95619027952e40d681e17b4dea55ea6':
  RED-6407 - added unique constraints according to business logic
2.44.0
2023-04-24 10:35:23 +02:00
Timo Bejan
9b11f90ab9 RED-6407 - added unique constraints according to business logic RED-6407_4 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
2.43.0
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
2.42.0
2023-04-21 16:46:03 +02:00
Viktor Seifert
3376f55655 Pull request #674: RED-6467
Merge in RED/persistence-service from RED-6467 to master

* commit '0422a98e5e8f7cef0ba2edeb9d17ed03c613f540': (25 commits)
  RED-6467: Removed debugging code
  RED-6467: Removed debugging code
  RED-6467: Removed debugging code
  RED-6467: Corrected unique name check logic
  RED-6467: Changed unique name check to not use Exceptions to prevent transaction rollbacks
  RED-6467: Added more debugging output
  RED-6467: Added more debugging output
  RED-6467: Added more debugging output
  RED-6467: Remove debug config and add some debugging output
  RED-6467: Added config to see more information about transactions in the logs
  RED-6467: Expanded dossier-template import (integration) test to use the client, to test the complete code flow
  RED-6467: Upgrade test db version to the same version as in production
  RED-6467: Rearranged code so that query-objects are not re-used to see if it fixes transaction behavior
  RED-6467: Split query into a select and a update query to prevent transaction rollbacks
  RED-6467: Added missing transaction annotation
  RED-6467: Removed debugging logs
  RED-6467: Added missing lombok annotations
  RED-6467: Implemented undeletion of dictionary entries by running a native query in chunks.
  RED-6467: Implemented undeletion of dictionary entries via the criteria builder.
  RED-6467: Implemented undeletion as operation on entities
  ...
2.41.0
2023-04-21 15:24:59 +02:00
devplant
81d21f121b RED-6599 - No updated informations anymore after using /redaction-gateway-v1/user/{userId}
- use @CacheEvict on the activateProfile method
bugfix/RED-6599_4
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 RED-3800-fix-permissions_3 2023-04-21 12:44:09 +03:00
Viktor Seifert
0422a98e5e RED-6467: Removed debugging code RED-6467_48 2023-04-20 16:12:03 +02:00
Viktor Seifert
7f1f246f04 RED-6467: Removed debugging code RED-6467_47 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 RED-6467-15 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 RED-6467-14 2023-04-20 12:27:24 +02:00
Viktor Seifert
59dbe70135 RED-6467: Added more debugging output RED-6467-13 2023-04-20 11:39:44 +02:00
Viktor Seifert
fc642e82d2 RED-6467: Added more debugging output RED-6467-12 2023-04-19 18:10:51 +02:00
Viktor Seifert
f4c53c722e RED-6467: Remove debug config and add some debugging output RED-6467-11 2023-04-19 17:31:16 +02:00
Viktor Seifert
fd03adefd6 RED-6467: Added config to see more information about transactions in the logs RED-6467-10 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 RED-6467_30 2023-04-18 15:58:21 +02:00
Viktor Seifert
225bdd5500 RED-6467: Upgrade test db version to the same version as in production RED-6467_29 2023-04-18 12:00:47 +02:00
Viktor Seifert
749138a77b Merge branch 'master' into RED-6467 RED-6467_28 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 RED-6467-9 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 RED-6467-8 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
2.40.0 RED-4876_2_2 bugfix/RED-6599_2
2023-04-13 17:17:53 +02:00
Viktor Seifert
a029bb5bf7 RED-6467: Added missing transaction annotation RED-6467-7 2023-04-13 17:06:58 +02:00
Viktor Seifert
66ff55f826 RED-6467: Removed debugging logs RED-6467_21 2023-04-13 16:58:17 +02:00
Viktor Seifert
fee9fedbb2 RED-6467: Added missing lombok annotations RED-6467-6 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
2.39.0
2023-04-13 14:45:45 +02:00
Christoph Schabert
7ce9405cd6 Pull request #671: hotfix: extend azure connection string for SAS
Merge in RED/persistence-service from hotfix/sas to master

* commit 'd34aaff5000dffa6ea53b9014e5845c9a1c29aca':
  hotfix: extend azure connection string for SAS
2.38.0
2023-04-13 12:57:26 +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.
RED-6467-5
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
bugfix/RED-6468_3
2023-04-13 12:33:44 +03:00
Christoph Schabert
d34aaff500 hotfix: extend azure connection string for SAS hotfix/sas_4 2023-04-13 11:27:50 +02:00
Viktor Seifert
e72c68843c RED-6467: Implemented undeletion as operation on entities 2023-04-12 18:22:53 +02:00
Viktor Seifert
7a6a357d03 RED-6467: Corrected criteria query RED-6467-3 2023-04-12 17:38:27 +02:00
Christoph Schabert
079d48c0e4 Pull request #670: hotfix: Change Azure connection string db field limit
Merge in RED/persistence-service from AzureConectionString to master

* commit '3fa4693bd5765ce5bd7583d15f2291c776e56fea':
  hotfix: Change Azure connection string db field limit
2.37.0 bugfix/RED-6468_2
2023-04-12 16:10:21 +02:00
Christoph Schabert
3fa4693bd5 hotfix: Change Azure connection string db field limit AzureConectionString_2 2023-04-12 16:02:30 +02:00
Viktor Seifert
5092b00f41 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-12 13:02:07 +02:00
devplant
47df255e12 RED-6362 - Cannot add KMS signature
- rework after review
bugfix/RED-6548_4
2023-04-12 09:49:34 +03:00
Viktor Seifert
b14d56195e RED-6467: Fix test by using a comparison method that is not dependent on a specific sorting being provided by the client RED-6467-2 2023-04-11 16:14:19 +02:00
Viktor Seifert
05e03b8982 RED-6467: Added some debugging information 2023-04-11 15:17:44 +02:00
Viktor Seifert
78fcb0a394 RED-6467: Added some debugging information RED-6467-1 2023-04-11 14:34:02 +02:00
devplant
6f39a6582f 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
bugfix/RED-6548_3
2023-04-11 13:42:06 +03:00
Corina Olariu
796cc3c8cc Pull request #666: RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants
Merge in RED/persistence-service from RED-5504-message to master

* commit 'd92409dadbeb8a48a377d079a5d49ac6d0476d43':
  RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants - extract the name of the unique constraint
  RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants - update the sql messages
2.36.0
2023-04-10 10:32:42 +02:00
Corina Olariu
f2a53d4da4 Pull request #667: RED-6362 - Cannot add KMS signature
Merge in RED/persistence-service from bugfix/RED-6362-kms to master

* commit '52480314c35562b8f15e7cee4e6b5f87538b1a3a':
  RED-6362 - Cannot add KMS signature - update saveDigitalSignatureKms signature - move the convert from DigitalSignatureKms to DigitalSignatureKmsEntity to the service - remove the magicConvertor which cause problem for the certificate
2023-04-10 10:32:31 +02:00
devplant
52480314c3 RED-6362 - Cannot add KMS signature
- update saveDigitalSignatureKms signature
- move the convert from DigitalSignatureKms to DigitalSignatureKmsEntity to the service
- remove the magicConvertor which cause problem for the certificate
bugfix/RED-6362-kms_3
2023-04-07 16:29:42 +03:00
devplant
d92409dadb RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants
- extract the name of the unique constraint
RED-5504-message_5
2023-04-07 16:22:07 +03:00
Corina Olariu
1fb1066436 Pull request #665: RED-6496 - By create new dossier states: DossierTemplateId and ColorCode mixed up
Merge in RED/persistence-service from bugfix/RED-6496 to master

* commit '64ff80c444cb23719e1e1b55eb04aaa24722cc28':
  RED-6496 - By create new dossier states: DossierTemplateId and ColorCode mixed up - switch the dossierTemplateId with color when retrieving information from repository into model DossierStatusInfo
2.35.0 bugfix/RED-6548_2
2023-04-06 21:47:34 +02:00