1398 Commits

Author SHA1 Message Date
Andrei Isvoran
2ef28d8ecb RED-7326 - backport license storage implementation 2023-09-21 17:22:41 +03:00
Timo Bejan
9786cc305d Quartz test 1.363.20 2023-06-28 12:52:58 +03:00
deiflaender
d5d3770046 hotfix: test banner 1.363.19 2023-06-28 11:42:27 +02:00
Christoph Schabert
2b9e12cba0 Fix pom Verison 1.363.18 1.363.17 1.363.16 2023-06-28 09:45:43 +02:00
Dominique Eifländer
3b05f72345 Merge branch 'RED-6912-ignorecase3.6' into 'release/1.363.x'
RED-6912- Entries not sorted correctly in the dossier dictionary - backport to 3.6

See merge request redactmanager/persistence-service!29
1.363.15
2023-06-26 11:18:34 +02:00
Corina Olariu
7b2ccaea84 RED-6912- Entries not sorted correctly in the dossier dictionary - backport to 3.6
- update the sorting to be case-insensitive
- update junit tests
2023-06-26 10:41:18 +03:00
Corina Olariu
b3ed67450f Merge branch 'RED-6912-backport3.6' into 'release/1.363.x'
RED-6912: Entries not sorted correctly in the dossier dictionary

See merge request redactmanager/persistence-service!18
1.363.14
2023-06-22 11:44:46 +02:00
Corina Olariu
a0c7d88767 RED-6912 - Entries not sorted correctly in the dossier dictionary -backport to 3.6.2
- sort entries and falsePositives and falseRecommendations in endpoint getDictionaryForType
- add junit tests
2023-06-22 11:06:46 +03:00
Kevin Tumma
0fa11b4301 Adjust to new CI 1.363.13 2023-06-22 09:53:17 +02:00
Dominique Eiflaender
05212581bd Pull request #702: RED-6860: Fixed transaction timeout and changed s3 upload to multipart to be able to handle downloads > 5 gb
Merge in RED/persistence-service from RED-6860-3.6 to release/1.363.x

* commit '14f04fdc34f876f71d2d68fe96b5e327878efcb6':
  RED-6860: Fixed transaction timeout and changed s3 upload to multipart to be able to handle downloads > 5 gb
1.363.12
2023-06-01 09:27:38 +02:00
deiflaender
14f04fdc34 RED-6860: Fixed transaction timeout and changed s3 upload to multipart to be able to handle downloads > 5 gb RED-6860-3.6_2 2023-06-01 09:22:00 +02:00
Christoph Schabert
86b831eea4 pom.xml edited online with Bitbucket 1.363.11 2023-05-25 10:08:11 +02:00
Christoph Schabert
74b6f4fd6f pom.xml edited online with Bitbucket 2023-05-25 10:06:31 +02:00
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