1637 Commits

Author SHA1 Message Date
Dominique Eifländer
e5deee59ce RED-7382: Delete Ner Entities file in saas migration 2024-03-19 12:42:04 +01:00
Corina Olariu
8a03c34a21 RED-8727 - Add rank de-duplication to migration
- reworked after review

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-14 11:38:30 +02:00
Corina Olariu
5ce82d90e5 RED-8727 - Add rank de-duplication to migration
- add RankDeDuplicationMigration16

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-14 11:35:44 +02:00
Corina Olariu
dc7dfe4f3e RED-8727 - Add rank de-duplication to migration
- add RankDeDuplicationService to update the found duplicate ranks
- junit tests added

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-14 11:01:49 +02:00
Dominique Eifländer
320667695f RED-7968: Convert unprocessed manual addToDictionaries to local changes only for approved 2024-03-13 12:24:20 +01:00
Dominique Eifländer
234048ca06 RED-7968: Convert unprocessed manual addToDictionaries to local changes 2024-03-13 12:18:14 +01:00
Dominique Eifländer
d3ab2d66ab RED-7382: Delete section grid for migrated files 2024-03-12 13:17:17 +01:00
Andrei Isvoran
3b448f1fd9 Merge branch 'RED-8707' into 'release/2.349.x'
RED-8707 - Don't remove resize redactions which are not dictionary based when...

See merge request redactmanager/persistence-service!392
2024-03-12 08:41:42 +01:00
Corina Olariu
bf9bf38ac9 Merge branch 'release/2.349.x' into RED-7049-update-bp 2024-03-11 21:34:25 +02:00
Corina Olariu
13733a497a RED-7049 - Wrong error code when adding entity with already existing rank - backport
- fix query

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-11 21:27:58 +02:00
Dominique Eifländer
ccdc1f3ce0 hotfix: saas migration section is null 2024-03-11 16:05:31 +01:00
Dominique Eifländer
f0105efa62 hotfix: fixed to long section value of manual redaction in saas migration 2024-03-11 15:31:08 +01:00
Andrei Isvoran
4e3e8eda6d RED-8707 - Don't remove resize redactions which are not dictionary based when removing dictionary entry 2024-03-11 16:22:56 +02:00
Corina Olariu
aaedac8d12 RED-7049 - Wrong error code when adding entity with already existing rank - backport
- fix query

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-03-11 15:52:52 +02:00
Corina Olariu
b43fd35a47 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 15:37:01 +02:00
Dominique Eifländer
c3bca638bc RED-8712: Fixed sql statement 2024-03-11 14:11:22 +01:00
Dominique Eifländer
1db7c8f47f hotfix: dossier template level dossier_redactions 2024-03-11 13:08:07 +01:00
Dominique Eifländer
0806218857 hotfix: Fixed liquibase sql statement to insert missing dossier_redaction entity types on dossier template level 2024-03-11 12:10:29 +01:00
Dominique Eifländer
9c6d864027 RED-8712: Remove manual redactions on non existing pages 2024-03-11 10:59:05 +01:00
Kilian Schüttler
bfee997c22 RED-7384-bp: migration fixes 2024-03-08 14:41:01 +01:00
Ali Oezyetimoglu
2368c11391 RED-8561: added sql query to create entities for dossier dictionaries 2024-03-07 16:25:19 +01:00
Corina Olariu
ddfc156f13 RED-7049 - Wrong error code when adding entity with already existing rank - backport
- 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 15:40:16 +02:00
Dominique Eifländer
68707c3fa7 hotfix: blobstorage migration gz fix 2024-02-29 12:16:19 +01:00
Kilian Schuettler
2a4c8dfa71 RED-8615: Revert and change the current behaviour of manualChanges 2024-02-28 09:47:35 +01:00
Kilian Schuettler
fd02b8ed80 RED-8615-bp: Revert and change the current behaviour of manualChanges 2024-02-28 09:35:54 +01:00
Kilian Schüttler
264424fe3e RED-7384: fixes for migration backport 2024-02-26 17:55:51 +01:00
Corina Olariu
115e869eec 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
- update junit tests

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-23 10:07:24 +02:00
Andrei Isvoran
cbef7c87b5 RED-7086 - Add ResponseStatus to hard delete files endpoint and adjust description 2024-02-15 08:23:36 +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
maverickstuder
51f28963ff RED-8432: Return 400 if invalid date for file attributes is set 2024-02-12 09:14:49 +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
Corina Olariu
8db9bd1be0 RED-8361 - Returned error status codes should be checked
- change description to include also the case that the dossier / file is not found to the error message

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-09 18:23:16 +02:00
Corina Olariu
a4f3edd144 RED-8361 - Returned error status codes should be checked
- change description to include also the case that the file is not found

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-09 17:49:31 +02: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
3e67dd8055 RED-8361 - Returned error status codes should be checked
- add authorities to the endpoints that don't have them

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-09 12:13:51 +02: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
Dominique Eifländer
cd171e22f0 Merge branch 'RED-8415' into 'master'
RED-8415: Fixed 500 when fileAttribute label length is exacly 255 chars

Closes RED-8415

See merge request redactmanager/persistence-service!339
2024-02-06 12:50:06 +01:00
Dominique Eifländer
52551609e7 RED-8415: Fixed 500 when fileAttribute label length is exacly 255 chars 2024-02-06 12:42:01 +01:00
Andrei Isvoran
bda907d283 RED-8428 - Keep RESIZE for backwards compatibility for documine. RESIZE will... 2024-02-05 14:05:20 +01:00
Andrei Isvoran
42d1bc8848 RED-8428 - Keep only RESIZE for ManualRedactionType in redaction log 2024-02-05 11:21:27 +02:00