868 Commits

Author SHA1 Message Date
Dominique Eifländer
8c8a088cc8 RED-8712: Remove manual redactions on non existing pages 2024-03-11 11:01:13 +01:00
Maverick Studer
f5f33978ed Merge branch 'RED-7700' into 'master'
RED-7700: Safe rule execution

Closes RED-7700

See merge request redactmanager/persistence-service!378
2024-03-08 15:06:14 +01:00
Maverick Studer
d845b4cef2 RED-7700: Safe rule execution 2024-03-08 15:06:14 +01:00
Kilian Schüttler
baeadd145e Merge branch 'hotfix_gz_migration' into 'master'
hotfix: blobstorage migration gz fix

See merge request redactmanager/persistence-service!370
2024-03-08 14:51:33 +01:00
Kilian Schüttler
82ed6b0b05 Merge branch 'RED-7384' into 'master'
RED-7384: migration fixes forward port

Closes RED-7384

See merge request redactmanager/persistence-service!379
2024-03-08 14:22:54 +01:00
Kilian Schüttler
c2110cd965 RED-7384: migration fixes forward port 2024-03-08 14:22:54 +01:00
Timo Bejan
dff30d5f7d Merge branch 'clari-30' into 'master'
Updated integration of OCR service

See merge request redactmanager/persistence-service!380
2024-03-08 14:16:50 +01:00
Timo Bejan
042f3a079c Updated integration of OCR service 2024-03-08 15:06:03 +02:00
Ali Oezyetimoglu
c42983aa91 Merge branch 'RED-8561-3' into 'master'
RED-8561: added sql query to create entities for dossier dictionaries

Closes RED-8561

See merge request redactmanager/persistence-service!374
2024-03-07 13:59:22 +01:00
Ali Oezyetimoglu
333fd40449 RED-8561: flag for add to dictionary action was set to false in 3.6, but has to be true in 4.0 2024-03-06 10:41:51 +01:00
Ali Oezyetimoglu
a98cc0a6f2 RED-8561: updated sql query to update existing dossier dictionaries with dossier_dictionary_only=true 2024-03-05 20:20:10 +01:00
Ali Oezyetimoglu
6bb3c93b84 RED-8561: updated sql query to avoid conflicts with primary key in table entity 2024-03-05 17:58:46 +01:00
Ali Oezyetimoglu
01f857fcef RED-8561: updated sql query to avoid conflicts with primary key in table entity 2024-03-05 15:39:07 +01:00
Ali Oezyetimoglu
96be1ba52e RED-8561: updated sql query to avoid conflicts with primary key in table entity 2024-03-05 14:17:14 +01:00
Timo Bejan
81b66236f9 Merge branch 'clari-30' into 'master'
CLARI-30 - reworked OCR service integration to work via queue only, depercated...

See merge request redactmanager/persistence-service!372
2024-03-05 14:11:12 +01:00
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
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