973 Commits

Author SHA1 Message Date
Ali Oezyetimoglu
7b6af5bf3b RED-8561: updated sql query to avoid conflicts with primary key in table entity 2024-03-05 12:49:13 +01:00
Ali Oezyetimoglu
a37b2dbc32 RED-8561: added sql query to create entities for dossier dictionaries 2024-03-05 11:42:58 +01:00
Timo Bejan
47a9bc0343 Retry ocr 2024-03-05 10:48:45 +02:00
Timo Bejan
d849859def CLARI-30 - reworked OCR service integration to work via queue only, depercated old rest endpoints. Renamed queues to naming convetion. 2024-03-04 11:46:27 +02:00
Corina Olariu
4d107b2475 RED-7049 - Wrong error code when adding entity with already existing rank
- correct the query to get the type with same rank.
- changed to get the list of types instead of a one result for the case with several types with the same rank
- added junit tests

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-04 10:30:54 +02:00
Dominique Eifländer
3c4c93a634 hotfix: blobstorage migration gz fix 2024-02-29 12:14:03 +01:00
Kilian Schuettler
4aa5b0ee34 reformat 2024-02-28 14:57:21 +01:00
Kilian Schuettler
b196544131 RED-8615: Revert and change the current behaviour of manualChanges 2024-02-28 09:32:45 +01:00
Kilian Schuettler
0b4e51907c RED-7384: migration fixes
* added functionality to add manualRedactionEntries during the migration
2024-02-23 14:37:50 +01:00
Corina Olariu
17667d067d RED-8589 - Add "MANUAL" engine to all annotations that has entries in manualChanges
- add Engine.Manual for manual changes in the entity log entries in case the analysis is stopped

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-23 09:10:35 +02:00
Ali Oezyetimoglu
d5244846a9 RED-8480: removed Nonnull annotation for legal basis when recategorizing; changed to empty String, if null is passed 2024-02-21 15:03:37 +01:00
Andrei Isvoran
50d25ead38 RED-8494 - Don't allow creation of File Attributes with empty label 2024-02-19 17:33:44 +01:00
Andrei Isvoran
4eb9240bf7 RED-6940 - Sanitize /r in dictionary entries 2024-02-19 15:06:30 +01:00
Ali Oezyetimoglu
caba58ec19 Merge branch 'RED-8480-2' into 'master'
Resolve RED-8480 "2"

Closes RED-8480

See merge request redactmanager/persistence-service!354
2024-02-16 12:57:57 +01:00
Ali Oezyetimoglu
e8c3d3dc65 RED-8480: small fixes 2024-02-16 11:49:03 +01:00
Ali Oezyetimoglu
179d66a796 RED-8480: small validation change 2024-02-16 10:23:34 +01:00
Yannik Hampe
57b046d821 Merge branch 'RED-8481' into 'master'
RED-8481: Use visual layout parsing to detect signatures

Closes RED-8481

See merge request redactmanager/persistence-service!351
2024-02-16 08:46:36 +01:00
Ali Oezyetimoglu
e681651420 RED-8480: added some checks and tests 2024-02-15 22:19:51 +01:00
Ali Oezyetimoglu
d2b6971f04 RED-8480: added legalBasis to recategorize endpoint and migrated it to the DB 2024-02-15 15:41:55 +01:00
yhampe
c9c75fe9e1 RED-8481: Use visual layout parsing to detect signatures
fixing checkstyle
2024-02-15 15:20:58 +01:00
yhampe
09c451d2ed RED-8481: Use visual layout parsing to detect signatures
updated layout parsing version
2024-02-15 15:01:09 +01:00
Andrei Isvoran
39000eed5a RED-7086 - Enable async file deletion and fix response code 2024-02-14 08:52:02 +01:00
Kilian Schuettler
97b2e5f732 RED-7384: reindex during migration to avoid update error in approved files 2024-02-13 13:27:56 +01:00
Kilian Schüttler
5cc699043c Merge branch 'RED-8385' into 'master'
RED-8385: delete viewer doc, when rotating origin file, such that it is recreated with the rotation

Closes RED-8385

See merge request redactmanager/persistence-service!348
2024-02-12 16:27:50 +01:00
Kilian Schuettler
768384a84c RED-8385: delete viewer doc, when rotating origin file, such that it is recreated with the rotation 2024-02-12 16:19:15 +01:00
Kilian Schuettler
ce39968508 RED-7384: fix db fields for manual changes and tenant details 2024-02-12 15:47:54 +01:00
yhampe
3664f6800a RED-8481: Use visual layout parsing to detect signatures
integrated service
2024-02-12 09:12:59 +01:00
Corina Olariu
99944c9fef Merge branch 'RED-8361-update' into 'master'
RED-8361 - Returned error status codes should be checked

Closes RED-8361

See merge request redactmanager/persistence-service!344
2024-02-09 18:27:01 +01:00
Andrei Isvoran
34c7e51ae8 RED-7086 - Deprecate hard-delete files and add new endpoint with POST request 2024-02-09 15:32:31 +01:00
Corina Olariu
a7c4bf866c RED-8361 - Returned error status codes should be checked
- add some view/access permissions for some endpoints
- modify messages so in case dossier is not found to not include the id

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-08 18:21:36 +02:00
Maverick Studer
97cc851de1 RED-8432: Return 400 if invalid input for attributes is given 2024-02-07 14:01:06 +01:00
Maverick Studer
5931058a6d Merge branch 'RED-8454' into 'master'
RED-8454: Remove red-read-dossiers for RED_ADMIN and RED_USERS_ADMIN role

Closes RED-8454

See merge request redactmanager/persistence-service!342
2024-02-06 16:25:36 +01:00
maverickstuder
d317457e05 RED-8454: Remove red-read-dossiers for RED_ADMIN and RED_USERS_ADMIN role 2024-02-06 16:14:49 +01:00
Ali Oezyetimoglu
3d0697003b Merge branch 'RED-8380-2' into 'master'
RED-8380: do not filter if dossiers are empty in DossierStatusFilteringMapper

Closes RED-8380

See merge request redactmanager/persistence-service!341
2024-02-06 16:11:04 +01:00
Ali Oezyetimoglu
2a57468e34 RED-8380: do not filter if dossiers are empty in DossierStatusFilteringMapper 2024-02-06 15:49:30 +01:00
maverickstuder
6b665066f3 RED-7368: Placeholder not updated after update/rename file/dossier attribute 2024-02-06 15:31:59 +01:00
Andrei Isvoran
bda907d283 RED-8428 - Keep RESIZE for backwards compatibility for documine. RESIZE will... 2024-02-05 14:05:20 +01:00
Corina Olariu
4bd7a50f97 Merge branch 'RED-8361-fix' into 'master'
RED-8361 - Returned error status codes should be checked

Closes RED-8361

See merge request redactmanager/persistence-service!335
2024-02-05 09:33:54 +01:00
Andrei Isvoran
85c4f77828 RED-8428 - Add RESIZE_LOCALLY and RESIZE_IN_DICTIONARY in ManualRedactionType to differentiate between the two operations 2024-02-05 09:20:18 +01:00
Corina Olariu
17d9b13042 RED-8361 - Returned error status codes should be checked
- rework for DictionaryController and VersionsController to return empty result in case user has no view permissions

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-02 17:24:13 +02:00
Dominique Eifländer
2b019542bd RED-8171: Traces do not stop at @Async 2024-02-02 13:14:12 +01:00
Corina Olariu
d5f8a5c6f4 RED-8427 - Last manual change for Force Hint action should be FORCE_HINT
- set the correct manual redaction type depending if it was a hint or not

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-02 11:44:05 +02:00
Kilian Schüttler
f7b80f2e61 Merge branch 'RED-7384' into 'master'
RED-7384:dont mgirate non-changing annotation Ids

Closes RED-7384

See merge request redactmanager/persistence-service!330
2024-02-02 10:10:02 +01:00
Kilian Schüttler
498cfecf88 RED-7384:dont mgirate non-changing annotation Ids 2024-02-02 10:10:02 +01:00
Corina Olariu
c00ac6ebe1 RED-7143 - Error 500 generated when entering very long text in editable fields of a file
- validate the value length

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-01 15:17:34 +02:00
Corina Olariu
80e783d46b RED-8361 - Returned error status codes should be checked
- renamed and rework the access permission validations

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-01 12:36:57 +02:00
Corina Olariu
95978b85af RED-8361 - Returned error status codes should be checked
- adding validation to endpoints considering the dossier resources
- if changes are done to dossier, access permissions are checked
- in case information is requested regarding dossier, the view permissions are checked

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-01-30 15:00:38 +02:00
Kilian Schüttler
f3b2620df7 RED-7384: deprecate AnnotationStatus 2024-01-29 10:04:15 +01:00
Maverick Studer
cfb81e9326 RED-7176: Soft-/Hard-/Restore Dossier without Dossier Owner not possible 2024-01-25 15:50:47 +01:00
Kilian Schüttler
d9497ef45d RED-8371: after initial file upload flag calculation does not work 2024-01-25 09:29:58 +01:00