1666 Commits

Author SHA1 Message Date
Dominique Eifländer
36e8a2bfdb RED-7382: Delete section grid for migrated files 2024-03-12 13:20:50 +01:00
Andrei Isvoran
f2a6a90529 Merge branch 'RED-8707-fix' into 'master'
RED-8707 - Don't remove resize redactions which are not dictionary based when...

Closes RED-8707

See merge request redactmanager/persistence-service!391
2024-03-12 08:41:58 +01:00
Corina Olariu
5b4f194cad Merge branch 'RED-7049-update' into 'master'
RED-7049 - Wrong error code when adding entity with already existing rank - backport

Closes RED-7049

See merge request redactmanager/persistence-service!387
2024-03-12 08:41:20 +01:00
Andrei Isvoran
43e85af0e9 RED-8707 - Don't remove resize redactions which are not dictionary based when removing dictionary entry 2024-03-11 16:32:04 +02:00
Corina Olariu
6654dc9546 RED-7049 - Wrong error code when adding entity with already existing rank - backport
- remove commented coded

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-11 15:51:19 +02:00
Dominique Eifländer
c78a4c1186 RED-8712: Fixed sql statement 2024-03-11 14:12:51 +01:00
Corina Olariu
9eb0e5e8df RED-7049 - Wrong error code when adding entity with already existing rank - backport
- reworked the junit test and renamed it

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-11 15:02:47 +02:00
Dominique Eifländer
8ae5ea89c6 hotfix: dossier template level dossier_redactions 2024-03-11 13:07:02 +01:00
Dominique Eifländer
93d2b77ca5 hotfix: Fixed liquibase sql statement to insert missing dossier_redaction entity types on dossier template level 2024-03-11 12:11:46 +01:00
Dominique Eifländer
8c8a088cc8 RED-8712: Remove manual redactions on non existing pages 2024-03-11 11:01:13 +01:00
Corina Olariu
f8645ef50c RED-7049 - Wrong error code when adding entity with already existing rank - backport
- add a check for duplicate ranks before cloning or exporting a dossier template
- added junit tests

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-11 11:01:56 +02: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
98f743052d RED-7049 - Wrong error code when adding entity with already existing rank
- update junit so the rank of the types differs

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-04 11:00:51 +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
ea3d47f435 Merge branch 'RED-8589' into 'master'
RED-8589 - Add "MANUAL" engine to all annotations that has entries in manualChanges

Closes RED-8589

See merge request redactmanager/persistence-service!361
2024-02-23 10:50:18 +01:00
Corina Olariu
6375cedaee Merge branch 'RED-7886-dryrun' into 'master'
RED-7886 - Endpoint for rule validation

Closes RED-7886

See merge request redactmanager/persistence-service!360
2024-02-23 10:21:53 +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
Corina Olariu
e8a942d764 RED-7886 - Endpoint for rule validation
- renamed from runDry to dryRun

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-22 11:31:00 +02:00
Corina Olariu
80c7c867ae RED-7886 - Endpoint for rule validation
- renamed from dryRunParameter to dryRun

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-22 11:19:30 +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
Corina Olariu
4091f21076 RED-7886 - Endpoint for rule validation
- add dry-run parameter, based on this save the rules or not and include warnings in the responses.
- added junit tests

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-21 15:40:10 +02:00
Corina Olariu
5d4badce06 RED-7886 - Endpoint for rule validation
- Include the warning messages for deprecated imports rules in response

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-20 12:49:16 +02:00
Corina Olariu
574f05b800 Merge branch 'RED-5716' into 'master'
RED-5716 - Deprecate old prepare endpoints

Closes RED-5716

See merge request redactmanager/persistence-service!356
2024-02-20 07:54:05 +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
Corina Olariu
318d15f758 RED-5716 - Deprecate old prepare endpoints
- deprecate the old endpoint, update test unit with new endpoint

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-19 15:39:36 +02: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