1385 Commits

Author SHA1 Message Date
Christoph Schabert
a0cbc167ab pom.xml edited online with Bitbucket 2023-05-25 10:05:36 +02:00
Christoph Schabert
c329c8935d update platform-docker-dependency with knecon fix 2023-05-25 10:04:34 +02:00
Viktor Seifert
e5315071c7 Pull request #698: RED-6777: Update build config to new domain name
Merge in RED/persistence-service from RED-6777-3.6 to release/1.363.x

* commit '3af8a3a9d20604cd3cb3372bb9eff63415bc7b1a':
  RED-6777: Update build config to new domain name
2023-05-23 14:38:29 +02:00
Viktor Seifert
3af8a3a9d2 RED-6777: Update build config to new domain name RED-6777-3.6_4 2023-05-23 13:15:32 +02:00
Viktor Seifert
79ba88162b Pull request #697: RED-6777: Reimplemented deletion of dictionary entries as a batch process to avoid a limitation in the Postgres JDBC driver
Merge in RED/persistence-service from RED-6777-3.6 to release/1.363.x

* commit '71a11fc24afe8d80bc1f32a0f04e06cabec8cf39':
  RED-6777: Reimplemented deletion of dictionary entries as a batch process to avoid a limitation in the Postgres JDBC driver
2023-05-23 12:59:38 +02:00
Viktor Seifert
71a11fc24a RED-6777: Reimplemented deletion of dictionary entries as a batch process to avoid a limitation in the Postgres JDBC driver
(change backported from master)
RED-6777-3.6_2
2023-05-23 12:28:09 +02:00
Viktor Seifert
1cb2cc1700 Pull request #676: RED-6467: Backport of change from 4.0.
Merge in RED/persistence-service from RED-6467-3.6 to release/1.363.x

* commit 'cf0c2d6100d28979771a1e26cc628d752096c792':
  RED-6467: Backport of change from 4.0.
1.363.10
2023-04-24 10:28:43 +02:00
Viktor Seifert
cf0c2d6100 RED-6467: Backport of change from 4.0.
* Implemented undeletion of dictionary entries by running a native query in chunks.
This avoids a limitation in the JDBC driver.
* Changed unique name check to not use Exceptions to prevent transaction rollbacks
RED-6467-3.6_2
2023-04-21 16:53:04 +02:00
Viktor Seifert
9742afe175 Pull request #652: RED-6497
Merge in RED/persistence-service from RED-6497 to release/1.363.x

* commit '3fc9dc5132b5eaeb1d8bd609acb57bacc62237d5':
  RED-6497: Removed alternate file size check because it offers less error reporting capabilities
  RED-6497: Fixed issue where the file-size of download was saved incorrectly.
  RED-6497: Changed code to use a different method of getting a file size to have better error reporting
  RED-6497: Removed explicit variable initialization because its marked as a checkstyle violation.
  RED-6497: Corrected handling of the stream, temp-file and exceptions.
1.363.9
2023-03-31 09:47:47 +02:00
Viktor Seifert
3fc9dc5132 Merge branch 'release/1.363.x' into RED-6497 RED-6497_11 2023-03-30 17:45:05 +02:00
Viktor Seifert
6a3db677ef RED-6497: Removed alternate file size check because it offers less error reporting capabilities RED-6497_10 2023-03-30 17:37:18 +02:00
Viktor Seifert
6f203f07e1 RED-6497: Fixed issue where the file-size of download was saved incorrectly.
* Changed the update to the DownloadStatusEntity to use the entity object instead of using a query on JPA-repo.  This prevents values from the object being incorrectly inserted otherwise.
* Extended the DownloadPreparationTest to check the resulting download state and file size.
RED-6497-3
2023-03-30 17:30:16 +02:00
Corina Olariu
4051d6b3e1 Pull request #651: RED-6265 - Bulk dossier stats endpoint does not return dossier stats of dossiers, for which the current dossier does not have access permissions
Merge in RED/persistence-service from bugfix/RED-6265-3.6.0 to release/1.363.x

* commit '08965675999b4309147a216d362c433d4c08381b':
  RED-6265 - Bulk dossier stats endpoint does not return dossier stats of dossiers, for which the current dossier does not have access permissions
1.363.7 1.363.8
2023-03-30 15:47:44 +02:00
Viktor Seifert
284738b59e RED-6497: Changed code to use a different method of getting a file size to have better error reporting RED-6497-2 2023-03-30 15:43:07 +02:00
devplant
0896567599 RED-6265 - Bulk dossier stats endpoint does not return dossier stats of dossiers, for which the current dossier does not have access permissions
- remove deprecated
bugfix/RED-6265-3.6.0_3
2023-03-30 16:12:54 +03:00
Viktor Seifert
65884ce42b RED-6497: Removed explicit variable initialization because its marked as a checkstyle violation. RED-6497-1 RED-6497_3 RED-6497_4 2023-03-30 14:20:55 +02:00
Viktor Seifert
d74b8bf4ba RED-6497: Corrected handling of the stream, temp-file and exceptions.
* Corrected the order of closing the steam and deleting the file.
* Switched the output of exception to the WARN level, since the hint at potential problems.
* Corrected the tests so that they clean-up resources.
* Changed the tests to use an archiver that re-throws exceptions, so that problems are not swallowed in testing.
2023-03-29 18:36:48 +02:00
Dominique Eiflaender
9930430bcd Pull request #641: RED-6503: Do not override ocred pages on ocr successful
Merge in RED/persistence-service from RED-6503-3.6 to release/1.363.x

* commit '12d7eae288b87bd88ecbe66bf08e31a9c6953461':
  RED-6503: Do not override ocred pages on ocr successful
1.363.6 bugfix/RED-6265-3.6.0_2
2023-03-28 09:16:58 +02:00
deiflaender
12d7eae288 RED-6503: Do not override ocred pages on ocr successful RED-6503-3.6_2 2023-03-27 13:49:28 +02:00
Viktor Seifert
cfa9dfcc6f Pull request #624: RED-6310 3.6
Merge in RED/persistence-service from RED-6310-3.6 to release/1.363.x

* commit '18ee468ca15ac07ff8ec6adc2712ccf42129df91':
  RED-6310: Changed element-collection fetch to eager because lazy loading runs into timing based errors
  RED-6310: Updated test for download preparation test to execute all preparation steps.
1.363.5
2023-03-13 16:56:01 +01:00
Viktor Seifert
18ee468ca1 RED-6310: Changed element-collection fetch to eager because lazy loading runs into timing based errors RED-6310-3.6_5 RED-6310-36-1 2023-03-13 16:07:04 +01:00
Viktor Seifert
b9345110aa RED-6310: Updated test for download preparation test to execute all preparation steps.
Previously the last step was not executed.
RED-6310-3.6_4
2023-03-10 17:39:53 +01:00
Viktor Seifert
c2cf764b56 Pull request #618: RED-6310 3.6
Merge in RED/persistence-service from RED-6310-3.6 to release/1.363.x

* commit 'c698bf3a685dc906ce0e811f157122cb62caa93b':
  RED-6310: Backported test to Junit 4
  RED-6310: Moved code to create user-preferences to a separate class so that the calling code can handle a persistence exception
  RED-6310: Corrected services so that they use the user id instead of wrongly using the entity id
  RED-6310: Moved code for multithreaded tests to a helper class
  RED-6310: Removed not needed code from test
  RED-6310: Added setup of tenant id to fix the service test
  RED-6310: Added tests to check if concurrent access to notification-preferences works
1.363.2 1.363.4
2023-03-10 09:58:33 +01:00
Viktor Seifert
c698bf3a68 RED-6310: Backported test to Junit 4 RED-6310-3.6_2 2023-03-09 15:56:32 +01:00
Viktor Seifert
222e5915ed RED-6310: Moved code to create user-preferences to a separate class so that the calling code can handle a persistence exception
(cherry picked from commit 45bd8e600328ce85c8457525b605da2c16dd70c8)
2023-03-09 15:42:44 +01:00
Viktor Seifert
657a616093 RED-6310: Corrected services so that they use the user id instead of wrongly using the entity id
(cherry picked from commit 643ffc8723d923a7ede8ee52e25ea40e25045148)
2023-03-09 15:42:43 +01:00
Viktor Seifert
551840a46f RED-6310: Moved code for multithreaded tests to a helper class
(cherry picked from commit 40d6961742436fd4f7c5e07616850d8b1eb31a43)
2023-03-09 15:42:42 +01:00
Viktor Seifert
a0e0aadb61 RED-6310: Removed not needed code from test
(cherry picked from commit fd7f39bc7e4b4cc67ed55d5e77ef84d93779b342)
2023-03-09 15:42:41 +01:00
Viktor Seifert
d42d56e7f1 RED-6310: Added setup of tenant id to fix the service test
(cherry picked from commit b1d79970c033822ddffb47be199c379cada2ce40)
2023-03-09 15:42:39 +01:00
Viktor Seifert
bbc58379f4 RED-6310: Added tests to check if concurrent access to notification-preferences works
(cherry picked from commit ef36f5c10f21042ce74621dd8e48a754b6a7258f)
2023-03-09 15:42:38 +01:00
Ali Oezyetimoglu
51c2ee2fdd Pull request #610: RED-5256: added consumes to getDossierInformation-endpoint and changed it from GET to POST && dossiers were not filtered before getting dossier information, if filteredDossierId was empty
Merge in RED/persistence-service from RED-5256-A to master

* commit '19c87fa6bc92a52c8867d9c9792002e4b2754545':
  RED-5256:  refactored checks and added findAllById for dossiers
  RED-5256:  added consumes to getDossierInformation-endpoint and changed it from GET to POST && dossiers were not filtered before getting dossier information, if filteredDossierId was empty
  RED-5256:  added consumes to getDossierInformation-endpoint and changed it from GET to POST && dossiers were not filtered before getting dossier information, if filteredDossierId was empty
1.363.0 1.363.1 RED-4988_2
2023-02-17 16:52:59 +01:00
Ali Oezyetimoglu
19c87fa6bc RED-5256: refactored checks and added findAllById for dossiers 5256-99 RED-5256-A_6 2023-02-17 15:12:54 +01:00
Ali Oezyetimoglu
495f202403 RED-5256: added consumes to getDossierInformation-endpoint and changed it from GET to POST && dossiers were not filtered before getting dossier information, if filteredDossierId was empty RED-5256-A_5 2023-02-17 12:14:01 +01:00
Ali Oezyetimoglu
bd344d2c07 RED-5256: added consumes to getDossierInformation-endpoint and changed it from GET to POST && dossiers were not filtered before getting dossier information, if filteredDossierId was empty RED-5256-99 RED-5256-A_2 2023-02-17 11:39:39 +01:00
Dominique Eiflaender
a428aa4c8a Pull request #609: RED-5277: Fixed Message Deserialization in Ner/Image service resonse
Merge in RED/persistence-service from RED-5277 to master

* commit '7212012cd69a0924b734951de055237d89b20346':
  RED-5277: Fixed Message Deserialization in Ner/Image service resonse
1.362.0
2023-02-16 15:01:44 +01:00
deiflaender
7212012cd6 RED-5277: Fixed Message Deserialization in Ner/Image service resonse MessageFix 2023-02-16 14:50:03 +01:00
Dominique Eiflaender
9e54a8a132 Pull request #608: hotfix: Do not remove lastFileReview / lastApprover when deleting users
Merge in RED/persistence-service from LastReviewerDelete to master

* commit '723ddc7fa406268bed79cb442c01f4582ba28e27':
  hotfix: Do not remove lastFileReview / lastApprover when deleting users
1.361.0
2023-02-10 14:22:27 +01:00
deiflaender
723ddc7fa4 hotfix: Do not remove lastFileReview / lastApprover when deleting users LastReviewerDelete_3 2023-02-10 14:11:27 +01:00
Timo Bejan
c12127a226 Pull request #607: RED-4188 added timed dependencies and metric for calculateFlags since this method is calld several times per file each time something happens inside it
Merge in RED/persistence-service from RED-4188 to master

* commit '00a6b2f075521f3868dea01a6f052b2a1048d334':
  RED-4188 added timed dependencies and metric for calculateFlags since this method is calld several times per file each time something happens inside it
1.360.0
2023-02-09 12:07:56 +01:00
Timo Bejan
00a6b2f075 RED-4188 added timed dependencies and metric for calculateFlags since this method is calld several times per file each time something happens inside it RED-4188_2 2023-02-09 12:54:36 +02:00
Timo Bejan
21d2087e9f Pull request #606: RED-4979 - lowercase colors on persist
Merge in RED/persistence-service from RED-4979 to master

* commit '0abd4edc676fab3635f272fd0e080796bfc8b595':
  RED-4979 - lowercase colors on persist
1.359.0
2023-02-06 11:05:08 +01:00
Timo Bejan
0abd4edc67 RED-4979 - lowercase colors on persist RED-4979_2 2023-02-06 11:47:48 +02:00
Corina Olariu
7e965b2b2f Pull request #605: RED-6105 - Cannot import exported specific Dossier Template
Merge in RED/persistence-service from bugfix/RED-6105-1 to master

* commit 'a45b841d5b6ef66821aa1b524ccdc7b9d33002d9':
  RED-6105 - Cannot import exported specific Dossier Template
1.358.0
2023-02-03 10:40:01 +01:00
devplant
a45b841d5b RED-6105 - Cannot import exported specific Dossier Template
- correct mismatched typo for compression ratio threshold constant as an environment value
- upgrade platform-dependency
- correct junit reference
- add missing lombok annotations
bugfix/RED-6105-1_3
2023-02-03 11:34:37 +02:00
Corina Olariu
7f3304bfd4 Pull request #604: RED-6105 - Cannot import exported specific Dossier Template
Merge in RED/persistence-service from bugfix/RED-6105 to master

* commit 'c3477d78e1b98a9b71dede489c3898f73528d9e1':
  RED-6105 - Cannot import exported specific Dossier Template
1.357.0 bugfix/RED-6105-1_2
2023-02-03 09:26:19 +01:00
devplant
c3477d78e1 RED-6105 - Cannot import exported specific Dossier Template
- add the compression ratio threshold constant as an environment value
- add a junit test with threshold ratio surpassed
bugfix/RED-6105_3
2023-02-02 16:07:29 +02:00
Timo Bejan
bcb26a6063 Pull request #602: RED-5844 processed status for excluded files
Merge in RED/persistence-service from RED-5844 to master

* commit '3c4cb7a43e0746258f2b047b5b6d804010194f69':
  RED-5844 processed status for excluded files
1.356.0 1.356.1 bugfix/RED-6105_2 bugfix/RED-6265-3.5.8_2
2023-01-30 12:26:15 +01:00
Philipp Schramm
cd92696e33 Pull request #603: RED-5248: Fix handling of temp files
Merge in RED/persistence-service from RED-5248 to master

* commit 'abea17381f12891846b1eb480e60bfd2e93e2a5b':
  RED-5248: Fix handling of temp files
1.355.0
2023-01-30 12:24:49 +01:00
Timo Bejan
3c4cb7a43e RED-5844 processed status for excluded files RED-5844_2 2023-01-30 17:30:23 +07:00
Philipp Schramm
abea17381f RED-5248: Fix handling of temp files RED-5248_3 2023-01-30 11:06:15 +01:00