588 Commits

Author SHA1 Message Date
Andrei Isvoran
0162017e61 RED-7500 - Delete Report json metadata from azure/s3 storage 2023-08-29 12:57:34 +02:00
Timo Bejan
9d084c57c0 RED-7439 - single transaction write for ace entries of a dossier 2023-08-24 21:10:03 +03:00
Kilian Schuettler
6f7327aa0d RED-7158: Rosario wants more verbose error messages 2023-08-23 17:52:24 +02:00
Ali Oezyetimoglu
caa017bb24 RED-7439: throw JobExecutionError to prevent 500 because violating constraint acl_entry_unique leads to
DuplicateKeyException
2023-08-23 12:30:09 +02:00
Kilian Schuettler
ed90b6a9cc DM-357: fix idRemoval mark as processed logic 2023-08-18 11:22:34 +02:00
Corina Olariu
896f0a6e5d RED-6864 - Optimization of Upload and Download for Large Files in Azure Blob Storage and AWS S3/MinIO
- remove the entry from map when download finished
- check for null in case the download process has finished
2023-08-18 10:26:23 +03:00
Corina Olariu
11958a4099 RED-6864 - Optimization of Upload and Download for Large Files in Azure Blob Storage and AWS S3/MinIO
- add @RabbitListener to the method
2023-08-17 16:50:09 +03:00
Ali Oezyetimoglu
4164de2a5c RED-7400: changed place of isLocalManualRedaction as it is not needed in RedactionLogEntry anymore 2023-08-17 08:15:02 +02:00
Andrei Isvoran
02af9810df RED-6864 - Optimization of Upload and Download for Large Files in Azure Blob... 2023-08-16 21:05:40 +02:00
Kilian Schüttler
4b39e837a8 Merge branch 'DM-357' into 'master'
DM-357: always schedule reanalysis, when any manual redaction happens

Closes DM-357

See merge request redactmanager/persistence-service!74
2023-08-16 12:19:43 +02:00
Kilian Schuettler
5e98160a58 DM-357: remove outdated status and messageTypes
* remove surrounding-text functionality
2023-08-16 12:02:19 +02:00
Kilian Schuettler
6956b604cc DM-357: schedule reanalysis for every manualRedaction
* silence that stupid automaticAnalysisJob spamming
2023-08-16 12:02:19 +02:00
Kilian Schuettler
1f89d64d81 DM-357: always schedule reanalysis, when any manual redaction happens
* refactored code slightly
2023-08-16 12:02:19 +02:00
Timo Bejan
ed272695ef Merge branch 'RED-7158-2' into 'master'
RED-7158-2 last layout processed time

Closes RED-7158

See merge request redactmanager/persistence-service!73
2023-08-16 12:01:53 +02:00
Timo Bejan
5c19b6af0b RED-7158-2 last layout processed time 2023-08-16 12:01:53 +02:00
Timo Bejan
65b196c7f4 Merge branch 'RED-7400-ps1' into 'master'
RED-7400: fixed error of breaking redaction log with removing engine-check for resize redactions

Closes RED-7400

See merge request redactmanager/persistence-service!68
2023-08-16 11:58:46 +02:00
Ali Oezyetimoglu
067fb8a814 RED-7400: changed logic for flag isLocalManualRedaction 2023-08-15 12:33:37 +02:00
Kilian Schuettler
149b85c433 RED-7158: add viewer document and deprecate section-grid 2023-08-15 12:20:14 +02:00
Ali Oezyetimoglu
a58d4d38cf RED-7241: refactored some code and deleted dead code 2023-08-11 12:06:23 +02:00
Ali Oezyetimoglu
0835bf50be RED-7241: added many log files to debug strange behaviour 2023-08-11 12:06:23 +02:00
Ali Oezyetimoglu
94bac70f5d RED-7241: added many log files to debug strange behaviour 2023-08-11 12:06:23 +02:00
Ali Oezyetimoglu
cd945eea82 RED-7241: fixed logic to adapt resize endpoints;
removed unused and deprecated methods
2023-08-11 12:06:23 +02:00
Ali Oezyetimoglu
5eba596815 RED-7241: cleaned up unneeded imports 2023-08-11 12:06:23 +02:00
Andrei Isvoran
5e53580c00 RED-6864 - Close streams when done in order to delete temp files 2023-08-11 11:02:42 +02:00
Corina Olariu
2bcee8ccc2 RED-6864 - Optimization of Upload and Download for Large Files in Azure Blob Storage and AWS S3/MinIO
- update to the new version for storage-commons
- replace getObject from storageService with downloadTo
- update tests
2023-08-08 18:59:00 +03:00
Andrei Isvoran
973816f0f7 DM-357 - no longer save all manualRedactionLogEntries here -> they will be... 2023-08-08 17:16:46 +02:00
Kilian Schuettler
3fae3c0627 update layoutparser version 2023-08-01 10:45:26 +02:00
Kilian Schuettler
7e4a034784 add sectio grid id 2023-08-01 10:45:26 +02:00
Kilian Schuettler
a6cf632d6e fix some log messages 2023-08-01 10:45:26 +02:00
Kilian Schuettler
b7d51a0701 add simplifiedText 2023-08-01 10:45:26 +02:00
Kilian Schuettler
0e2200f336 RED-6725: integrate layout parser
* fixed error messages
* extracted common zip file response entity function
* added content length header
* removed unused identifier
2023-08-01 10:45:26 +02:00
Kilian Schuettler
4105563036 RED-6725: deprecate FileType.TEXT, fix tests 2023-08-01 10:45:26 +02:00
Kilian Schuettler
4977090070 RED-6725: integrate layoutparsing service
* updated layout parser version
* added layout parsing type
2023-08-01 10:45:26 +02:00
Kilian Schuettler
12703c6eda RED-6725: integrate layoutparsing service 2023-08-01 10:45:26 +02:00
Andrei Isvoran
e7b29fb683 Merge branch 'RED-7080' into 'master'
RED-6992 - Add removeWatermark flag for dossier template

Closes RED-7080

See merge request redactmanager/persistence-service!60
2023-07-31 14:24:28 +02:00
Andrei Isvoran
bb799a15b3 RED-6992 - Add removeWatermark flag for dossier template 2023-07-31 14:27:54 +03:00
Timo Bejan
7476c56204 Merge branch 'RED-7052' into 'master'
Reanalyze by hand should also do full reprocess if required

Closes RED-7052

See merge request redactmanager/persistence-service!59
2023-07-28 13:56:17 +02:00
Timo Bejan
92bf9fd224 Reanalyze by hand should also do full reprocess if required 2023-07-28 10:18:25 +02:00
Andrei Isvoran
d515014468 RED-6992 - Add ocrByDefault flag for dossier template 2023-07-27 17:38:30 +03:00
Andrei Isvoran
95ed1c643a RED-6981 - save file size when uploading 2023-07-13 11:16:08 +02:00
Corina Olariu
06c788d664 Merge branch 'RED-7054-test-100' into 'master'
RED-7054 - Not possible to delete specific dossier - Error code 500 returned

Closes RED-7054

See merge request redactmanager/persistence-service!49
2023-07-11 09:54:23 +02:00
Corina Olariu
144538a068 RED-7054 - Not possible to delete specific dossier - Error code 500 returned
- add Transaction for hardDeleteDossier
2023-07-10 16:48:49 +03:00
Corina Olariu
c1c7931df2 RED-7054 - Not possible to delete specific dossier - Error code 500 returned
- add Transaction
2023-07-10 13:47:41 +03:00
Corina Olariu
6ee500c1c7 RED-7034 - Check for dossierDictionaryOnly flag when add to template dict is requested
- fix PMD violations
2023-07-10 10:08:20 +03:00
Corina Olariu
db16cc0ab3 Merge branch 'RED-7034' into 'master'
RED-7034 - Check for dossierDictionaryOnly flag when add to template dict is requested

Closes RED-7034

See merge request redactmanager/persistence-service!45
2023-07-10 08:50:52 +02:00
Corina Olariu
9b2ea9dfc4 RED-7034 - Check for dossierDictionaryOnly flag when add to template dict is requested
- update after review
2023-07-07 18:58:30 +03:00
Ali Oezyetimoglu
2322a98c2f RED-6860: fixed transaction timeout issue by loading files eagerly and making the transaction smaller; also removed twice loading of all files 2023-07-07 17:15:58 +02:00
Corina Olariu
69566a2614 RED-7034 - Check for dossierDictionaryOnly flag when add to template dict is requested
- before adding / deleting entries to a dossier template dictionary check if the flag dossierDictionaryOnly is set true
- the same check is needed in case of manual redactions ; adding, removing
- add junit tests
2023-07-07 09:54:09 +03:00
Timo Bejan
a1f353ac75 PMD fix 2023-07-06 16:28:01 +03:00
Timo Bejan
ef9ff74339 RED-7094 - extracted liquibase code 2023-07-06 16:09:06 +03:00