2102 Commits

Author SHA1 Message Date
devplant
5bf42a6c60 RED-6072 - As Operation I want to see why files are in an ERROR state
- add to file entity and models information about the error state
- update endpoints with the error information in case of failure
2023-05-16 18:55:59 +03:00
Corina Olariu
58fe156920 Pull request #691: 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-default-value to master

* commit '872c914cee671f0866b7c7c73391f31356df3b14':
  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 - set default values to CENTER for horizontal and vertical text alignment
2.56.0
2023-05-16 08:35:10 +02:00
devplant
872c914cee 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
- set default values to CENTER for horizontal and vertical text alignment
RED-5787-default-value_4
2023-05-15 13:32:01 +03:00
Thomas Beyer
2d4427b4da Pull request #690: RED-4876 - add new column keep_overlapping_objects in dossier-template
Merge in RED/persistence-service from RED-4876_6 to master

* commit '4f3bb0101bb79a10a37bc3e0212da20ced62f6b0':
  RED-4876 - move boolean to correct class
  RED-4876 - add new column keep_overlapping_objects in dossier-template
2.55.0 RED-5787-default-value_2
2023-05-15 10:45:01 +02:00
Thomas Beyer
4f3bb0101b RED-4876 - move boolean to correct class RED-4876_6_4 2023-05-15 10:05:50 +02:00
Thomas Beyer
e6f7b58246 RED-4876 - add new column keep_overlapping_objects in dossier-template RED-4876_6_3 2023-05-15 09:51:59 +02:00
Viktor Seifert
bf9726dde2 Pull request #687: RED-6720
Merge in RED/persistence-service from RED-6720 to master

* commit 'c6045189e6b964a3e44d98759bc54c461649bd06':
  RED-6270: Changed data access to avoid lazy loading, making it possible to run the dossier-template import outside an enclosing transaction
  RED-6270: Added try-with-resources to correctly close file stream
  RED-6270: Removed transactional annotation on the dossier-template import, since it uses both Hibernate and JDBC (for runtime performance reasons) and otherwise runs into query ordering issues
  RED-6270: Repackaged incorrectly packaged dossier template and created dossier template import test that always runs (it does not have local dependencies)
2.54.0 RED-4876_6_2
2023-05-05 17:15:16 +02:00
Viktor Seifert
c6045189e6 RED-6270: Changed data access to avoid lazy loading, making it possible to run the dossier-template import outside an enclosing transaction RED-6720_6 2023-05-05 16:30:09 +02:00
Viktor Seifert
9b9c79fc99 RED-6270: Added try-with-resources to correctly close file stream 2023-05-05 15:55:31 +02:00
Viktor Seifert
6165a5eea1 Merge branch 'master' into RED-6720 2023-05-05 14:49:42 +02:00
Viktor Seifert
5f119aa996 RED-6270: Removed transactional annotation on the dossier-template import, since it uses both Hibernate and JDBC (for runtime performance reasons) and otherwise runs into query ordering issues 2023-05-05 14:48:02 +02:00
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
2.53.0
2023-05-05 10:54:34 +02:00
Corina Olariu
c5bac015d5 Pull request #686: Bugfix/RED-6034 status code
Merge in RED/persistence-service from bugfix/RED-6034_status_code to master

* commit '113947d2165821ab778eacfe537918f52fd9c082':
  RED-6034 - Possible to assign a file to unauthorized users - update junit test
  RED-6034 - Possible to assign a file to unauthorized users - change status from 403 to 400
2.52.0
2023-05-05 08:49:45 +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
RED-5787_4
2023-05-04 12:57:58 +03:00
devplant
113947d216 RED-6034 - Possible to assign a file to unauthorized users
- update junit test
bugfix/RED-6034_status_code_5
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
RED-5787_3
2023-05-03 11:00:18 +03:00
Viktor Seifert
23d49172d5 Pull request #684: RED-6270
Merge in RED/persistence-service from RED-6270 to master

* commit '4ad76962ec8786f518c62f57f273c4c3a37755ec':
  RED-6270: Extracted common qualifiers into a constant
  RED-6270: Changed batch execution to use the batch size provided by the configuration
  RED-6270: Implemented the adding of dictionary entries via batch updates to improve writing speed
  RED-6270: Removed default connection value because it had no effect
  RED-6270: Extracted common code into own methods and corrected jdbc-string generation (not all params were concatenated correctly)
2.51.0 RED-5787_2 bugfix/RED-6034_status_code_2
2023-05-02 14:55:46 +02:00
Viktor Seifert
4ad76962ec RED-6270: Extracted common qualifiers into a constant RED-6270_10 2023-05-02 12:45:38 +02:00
Viktor Seifert
412b3fb3c8 Merge branch 'master' into RED-6270 RED-6270-1 2023-05-02 10:15:10 +02:00
Corina Olariu
13350e4702 Pull request #683: RED-6034 - Possible to assign a file to unauthorized users
Merge in RED/persistence-service from bugfix/RED-6034 to master

* commit '4614ceb45bfa288e2dc50700807f12153270d883':
  RED-6034 - Possible to assign a file to unauthorized users - change back from knecon_release to iqser_release
  RED-6034 - Possible to assign a file to unauthorized users - update from iqser to knecon
  RED-6034 - Possible to assign a file to unauthorized users - rework user provider
  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
2.50.0
2023-05-02 09:45:58 +02:00
devplant
4614ceb45b RED-6034 - Possible to assign a file to unauthorized users
- change back from knecon_release to iqser_release
bugfix/RED-6034_8
2023-05-02 10:06:43 +03:00
devplant
0a72747b92 RED-6034 - Possible to assign a file to unauthorized users
- update from iqser to knecon
bugfix/RED-6034_7
2023-05-02 08:36:26 +03:00
Viktor Seifert
2bc2e48768 RED-6270: Changed batch execution to use the batch size provided by the configuration RED-6270_5 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 RED-6270_4 2023-04-28 15:33:26 +02:00
Viktor Seifert
dd78b08a77 RED-6270: Removed default connection value because it had no effect RED-6270_3 2023-04-28 14:39:34 +02:00
devplant
6d9a62178d RED-6034 - Possible to assign a file to unauthorized users
- rework user provider
bugfix/RED-6034_5
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) RED-6270_2 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
bugfix/RED-6034_4
2023-04-27 13:33:24 +03:00
Dominique Eiflaender
00d6230783 Pull request #682: RED-6670: Changed accessTokenLifeSpan from 5 sec to 5 min
Merge in RED/persistence-service from RED-6670 to master

* commit 'cafef9b9149fa48bc4694c4a729032ad12cf1ff6':
  RED-6670: Changed accessTokenLifeSpan from 5 sec to 5 min
2.49.0 bugfix/RED-6034_2
2023-04-26 11:24:55 +02:00
deiflaender
cafef9b914 RED-6670: Changed accessTokenLifeSpan from 5 sec to 5 min RED-6670_4 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
2.48.0
2023-04-26 09:15:54 +02:00
devplant
5c83d67e4d RED-6289 - Validate watermark color
- move up the validation of colors and opacity
RED-6289_5
2023-04-26 09:33:30 +03:00
Dominique Eiflaender
7cef244eb0 Pull request #681: hotfix: Enabled supportsAggressiveRelease for db connections
Merge in RED/persistence-service from hotfixDbAggressiveRelease to master

* commit '18cf4ffde5cbefa5036fbc5df21760e70477b64b':
  hotfix: Enabled supportsAggressiveRelease for db connections
2.47.0
2023-04-25 21:35:12 +02:00
deiflaender
18cf4ffde5 hotfix: Enabled supportsAggressiveRelease for db connections agro-release hotfixDbAggressiveRelease_2 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
RED-6289_3
2023-04-25 11:54:20 +03:00
Dominique Eiflaender
eb46cece2c Pull request #679: RED-6670: Enabled to configure accessTokenLifeSpan for tenants
Merge in RED/persistence-service from RED-6670 to master

* commit '422715d1bc1557c9affbc20a7bd6611d2a98a93a':
  RED-6670: Enabled to configure accessTokenLifeSpan for tenants
2.46.0
2023-04-25 09:59:27 +02:00
deiflaender
422715d1bc RED-6670: Enabled to configure accessTokenLifeSpan for tenants RED-6670_2 2023-04-25 09:24:44 +02: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