926 Commits

Author SHA1 Message Date
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)
2023-05-23 12:28:09 +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
2023-04-21 16:53:04 +02:00
Viktor Seifert
3fc9dc5132 Merge branch 'release/1.363.x' into RED-6497 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 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.
2023-03-30 17:30:16 +02:00
Viktor Seifert
284738b59e RED-6497: Changed code to use a different method of getting a file size to have better error reporting 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
2023-03-30 16:12:54 +03:00
Viktor Seifert
65884ce42b RED-6497: Removed explicit variable initialization because its marked as a checkstyle violation. 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
deiflaender
12d7eae288 RED-6503: Do not override ocred pages on ocr successful 2023-03-27 13:49:28 +02:00
Viktor Seifert
18ee468ca1 RED-6310: Changed element-collection fetch to eager because lazy loading runs into timing based errors 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.
2023-03-10 17:39:53 +01:00
Viktor Seifert
c698bf3a68 RED-6310: Backported test to Junit 4 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
19c87fa6bc RED-5256: refactored checks and added findAllById for dossiers 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 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 2023-02-17 11:39:39 +01:00
deiflaender
7212012cd6 RED-5277: Fixed Message Deserialization in Ner/Image service resonse 2023-02-16 14:50:03 +01:00
deiflaender
723ddc7fa4 hotfix: Do not remove lastFileReview / lastApprover when deleting users 2023-02-10 14:11:27 +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 2023-02-09 12:54:36 +02:00
Timo Bejan
0abd4edc67 RED-4979 - lowercase colors on persist 2023-02-06 11:47:48 +02: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
2023-02-03 11:34:37 +02: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
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
2023-01-30 12:26:15 +01:00
Timo Bejan
3c4cb7a43e RED-5844 processed status for excluded files 2023-01-30 17:30:23 +07:00
Philipp Schramm
abea17381f RED-5248: Fix handling of temp files 2023-01-30 11:06:15 +01:00
Timo Bejan
686a7a51f2 RED-4579 - fixed sort for audit screen 2023-01-27 20:02:03 +07:00
Timo Bejan
1ba979a257 RED-5883 - duplicate dossier fix 2023-01-27 18:03:08 +07:00
Kresnadi Budisantoso
502d7a949d Pull request #599: RED-6075 Added schema parameter to jdbc URL config
Merge in RED/persistence-service from kbudisantoso/RED-6075-main-db-schema to master

* commit 'ce79cf89407c30e31c13f624fa277db5cfa7d57e':
  RED-6075 Added schema parameter to jdbc URL config
2023-01-26 09:28:07 +01:00
Kresnadi Budisantoso
ce79cf8940 RED-6075 Added schema parameter to jdbc URL config 2023-01-25 17:24:06 +01:00
devplant
b8653ce0ba RED-5784 - As the admin I want to configure the applied redaction color
- update junit tests
2023-01-25 15:07:31 +02:00
devplant
3d82f821d8 RED-5784 - As the admin I want to configure the applied redaction color
- in case the applied redaction color is not provided, set the default one (#000000)
2023-01-25 14:56:31 +02:00
deiflaender
20b2e13abb RED-5785: Removed restriction for watermarks to contain only ASCII chars 2023-01-25 10:34:18 +01:00
Corina Olariu
8484434eca Pull request #594: Feature/RED-5784
Merge in RED/persistence-service from feature/RED-5784 to master

* commit '69d12e946e3104bc44701f8f87f21d326d86fa40':
  RED-5784 - As the admin I want to configure the applied redaction color
  RED-5784 - As the admin I want to configure the applied redaction color
2023-01-25 10:25:17 +01:00
deiflaender
e47269d53c RED-6063: Run create tenant async to fix migration timeout 2023-01-24 12:14:50 +01:00
deiflaender
82491e0f6f RED-6063: Added migration to add simplified text file if missing 2023-01-24 08:56:14 +01:00
devplant
69d12e946e RED-5784 - As the admin I want to configure the applied redaction color
- update initialization
2023-01-20 13:16:58 +02:00
devplant
51db508448 RED-5784 - As the admin I want to configure the applied redaction color
- add new color to the colors list (applied redaction color)
- send the color to the message queue for download package
2023-01-20 13:08:43 +02:00
deiflaender
9795cbf675 RED-6032: Fixed not setting processed date for manual resize redaction after analysis 2023-01-19 10:36:17 +01:00
Philipp Schramm
917dc3582a Merge branch 'master' into RED-4904_Rework 2023-01-19 08:16:13 +01:00
Philipp Schramm
7f7556c36a RED-4904: Added method to remove not existing users 2023-01-19 08:15:26 +01:00
deiflaender
b3d17223f4 RED-5984: Do not set ProcessedDate for manual redaction with update dictionary before analysed 2023-01-18 09:50:46 +01:00
devplant
09fc65541f RED-5724 - Pressing Reanalyze-Button should reset processing_error_counter
- reset the counter in state of REPROCESS
2023-01-16 12:43:23 +02:00
Timo Bejan
7e8d05b512 RED-5981 remove from dictionary pending analhysis 2023-01-15 16:06:42 +08:00
Timo Bejan
2dda4da6a1 RED-5977 delete all asignees on user delete 2023-01-15 14:17:11 +08:00