1622 Commits

Author SHA1 Message Date
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
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
Maverick Studer
8cf94c2cd7 Merge branch 'RED-8372' into 'master'
RED-8372: Include additional info about redactions in redaction annotations

Closes RED-8372

See merge request redactmanager/persistence-service!334
2024-02-02 13:27:56 +01:00
Maverick Studer
add3eea2f3 RED-8372: Include additional info about redactions in redaction annotations 2024-02-02 13:27:56 +01: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
Corina Olariu
998a0710cd Merge branch 'RED-8219' into 'master'
RED-8219 - Wrong notification type for approvers

Closes RED-8219

See merge request redactmanager/persistence-service!331
2024-02-02 10:17:07 +01: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
c843484ff0 RED-8219 - Wrong notification type for approvers
- set the correct notification type depending on the approved status of the file

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-02-01 20:21:08 +02: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
Dominique Eifländer
a710c5b549 RED-8415: Reject file attribute configs with lable > 255 chars 2024-02-01 12:56:38 +01:00
Corina Olariu
a6e323ade5 Merge branch 'RED-8361' into 'master'
RED-8361 - Returned error status codes should be checked

Closes RED-8361

See merge request redactmanager/persistence-service!326
2024-02-01 12:09:32 +01: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