2583 Commits

Author SHA1 Message Date
Corina Olariu
7d15f30ca7 RED-6072 - As Operation I want to see why files are in an ERROR state
- add timestamp to file error info
- reset error info when file is overwritten
2023-06-13 14:13:53 +03:00
Corina Olariu
35cb2633f4 RED-6485 - Dossier-only entity setting in the dossier template, RED-6743 - Create dossier dictionaries on-the-fly
- fix quality gate status failure, remove @Transactional
2023-06-13 13:56:42 +03:00
Corina Olariu
a8d4c91733 RED-6485 - Dossier-only entity setting in the dossier template, RED-6743 - Create dossier dictionaries on-the-fly
- when getting DictionaryForType, create dossier level dictionary if it does not exists
2023-06-13 13:32:05 +03:00
Corina Olariu
889e63e7c7 RED-6485 - Dossier-only entity setting in the dossier template, RED-6743 - Create dossier dictionaries on-the-fly
- remove check for dossier dictionary only
- fix PMD violations
2023-06-13 13:05:00 +03:00
deiflaender
e160f5e556 RED-6485: Fixed transactions for manual redactions with add to dictionary 2023-06-13 09:54:32 +02:00
Corina Olariu
c6cca6a2d3 RED-6485 - Dossier-only entity setting in the dossier template, RED-6743 - Create dossier dictionaries on-the-fly
- update junit tests
2023-06-12 09:51:01 +03:00
Corina Olariu
7029c3d7c4 RED-6485 - Dossier-only entity setting in the dossier template, RED-6743 - Create dossier dictionaries on-the-fly
- remove dossierId from the endpoints of creating, updating and deleting type.
- when a type is updated / deleted all dossier levels will be updated/deleted
- when adding / deleting entries check for dossier level types and create them if needed
- update junit tests
2023-06-09 20:28:39 +03:00
Dominique Eifländer
9b17efbf89 Merge branch 'RED-6798' into 'master'
RED-6798, RED-6751, RED-6545: Enabled to add delete entries, changed...

Closes RED-6798

See merge request redactmanager/persistence-service!1
2.64.0
2023-06-06 14:27:27 +02:00
deiflaender
7beee690f5 RED-6798, RED-6751, RED-6545: Enabled to add delete entries, changed permissions for manual redactions, implemented logic for addToAllDossiers 2023-06-06 13:42:47 +02:00
Christoph Schabert
5c50d03426 Update file pom.xml hello-world 2.63.0 2023-06-01 11:20:55 +02:00
Christoph Schabert
0108780416 Update file pom.xml 2023-06-01 11:10:08 +02:00
Christoph Schabert
31c975ff03 Update 6 files
- /bamboo-specs/src/main/java/buildjob/PlanSpec.java
- /bamboo-specs/src/main/resources/scripts/build-java.sh
- /bamboo-specs/src/main/resources/scripts/sonar-java.sh
- /bamboo-specs/src/test/java/buildjob/PlanSpecTest.java
- /bamboo-specs/pom.xml
- /.gitlab-ci.yml
2023-06-01 11:07:12 +02:00
Corina Olariu
a6894496b0 Pull request #701: RED-6485 - Dossier-only entity setting in the dossier template
Merge in RED/persistence-service from RED-6485 to master

* commit 'b9e6e63c2ff3b33319511760ec974e96f72b4658':
  RED-6485 - Dossier-only entity setting in the dossier template - add to flag to type entity to indicate if it is dossier dictionary only - prevent update of that flag - return the added information to dictionary and type result - update junit tests
2.62.0
2023-06-01 09:49:09 +02:00
Corina Olariu
11c032c1d9 Pull request #700: Bugfix/RED-6770 metadata
Merge in RED/persistence-service from bugfix/RED-6770-metadata to master

* commit '0592dd183f9aa87003ef46abe8be2ab8cf52eef1':
  RED-6770 - Cannot overwrite dossierTemplate by import - save the existing dossier template after the updated information - update junit test
  RED-6770 - Cannot overwrite dossierTemplate by import - test junit
2.61.0
2023-06-01 09:40:21 +02:00
devplant
b9e6e63c2f RED-6485 - Dossier-only entity setting in the dossier template
- add to flag to type entity to indicate if it is dossier dictionary only
- prevent update of that flag
- return the added information to dictionary and type result
- update junit tests
RED-6485_3
2023-05-31 18:37:14 +03:00
devplant
0592dd183f RED-6770 - Cannot overwrite dossierTemplate by import
- save the existing dossier template after the updated information
- update junit test
bugfix/RED-6770-metadata_4
2023-05-31 13:16:59 +03:00
Dominique Eiflaender
2a805811c3 Pull request #699: RED-6670: Enabled to configure ssoSessionIdleTimeout for new created tenants
Merge in RED/persistence-service from RED-6670-sso to master

* commit '86883885ade8a0bb19e715f5f592ea59e0cfaabb':
  RED-6670: Enabled to configure ssoSessionIdleTimeout for new created tenants
2.60.0 RED-6485_2
2023-05-31 09:16:20 +02:00
deiflaender
86883885ad RED-6670: Enabled to configure ssoSessionIdleTimeout for new created tenants RED-6670-sso_2 2023-05-30 14:15:26 +02:00
devplant
656b0719ba RED-6770 - Cannot overwrite dossierTemplate by import
- test junit
2023-05-30 09:28:44 +03:00
Corina Olariu
9a44ba7658 Pull request #694: RED-6072
Merge in RED/persistence-service from RED-6072 to master

* commit 'eff8eeaf03f76c12ca700ff4bb4f7688c291fab6':
  RED-6072 - As Operation I want to see why files are in an ERROR state - update junit tests
  RED-6072 - As Operation I want to see why files are in an ERROR state - add @Transactional for the update
  RED-6072 - As Operation I want to see why files are in an ERROR state - update the new endpoints with different path than the original endpoints
  RED-6072 - As Operation I want to see why files are in an ERROR state - set back the initial endpoints for backward compatibility
  RED-6072 - As Operation I want to see why files are in an ERROR state - update junit test
  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
2.59.0 bugfix/RED-6770-metadata_2
2023-05-25 09:12:35 +02:00
Viktor Seifert
1c02f96c5a Pull request #696: RED-6777
Merge in RED/persistence-service from RED-6777 to master

* commit 'ca6f3f54f201398452cfbfd044e3b014d499d4a9':
  RED-6777: Reordered parameters for consistency
  RED-6777: Reimplemented deletion of dictionary entries as a batch process to avoid a limitation in the Postgres JDBC driver
  RED-6777: Added a test for a dictionary update and delete with a large number of entries
2.58.0
2023-05-22 16:30:53 +02:00
Viktor Seifert
ca6f3f54f2 RED-6777: Reordered parameters for consistency RED-6777_6 2023-05-22 16:12:35 +02:00
Viktor Seifert
d1b250f450 RED-6777: Reimplemented deletion of dictionary entries as a batch process to avoid a limitation in the Postgres JDBC driver 2023-05-22 15:40:14 +02:00
Viktor Seifert
6a98c9229b RED-6777: Added a test for a dictionary update and delete with a large number of entries 2023-05-22 15:35:01 +02:00
Viktor Seifert
9787d1a0fd Pull request #695: RED-6770: Fixed lazy init exception in dossier template import by eagerly fetching the needed collection
Merge in RED/persistence-service from RED-6770 to master

* commit 'a8a612de55d8ae72e872eca984e847440344657f':
  RED-6770: Fixed lazy init exception in dossier template import by eagerly fetching the needed collection
2.57.0
2023-05-22 11:24:25 +02:00
devplant
eff8eeaf03 RED-6072 - As Operation I want to see why files are in an ERROR state
- update junit tests
RED-6072_7
2023-05-18 10:50:49 +03:00
devplant
54bfe80f31 RED-6072 - As Operation I want to see why files are in an ERROR state
- add @Transactional for the update
2023-05-18 10:05:14 +03:00
devplant
b1d1c41dbf RED-6072 - As Operation I want to see why files are in an ERROR state
- update the new endpoints with different path than the original endpoints
2023-05-18 08:57:06 +03:00
Viktor Seifert
a8a612de55 RED-6770: Fixed lazy init exception in dossier template import by eagerly fetching the needed collection RED-6770_2 2023-05-17 15:37:19 +02:00
devplant
43e7b0a3eb RED-6072 - As Operation I want to see why files are in an ERROR state
- set back the initial endpoints for backward compatibility
2023-05-17 15:32:41 +03:00
devplant
1858e462e0 RED-6072 - As Operation I want to see why files are in an ERROR state
- update junit test
2023-05-17 10:10:51 +03:00
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