177 Commits

Author SHA1 Message Date
Dominique Eifländer
d6efa613e5 RED-9225: Implemented new endpoints for api v2 2024-05-29 11:48:01 +02:00
Ali Oezyetimoglu
4216736c1b RED-9042: merge legal basis into recategorize 2024-04-25 17:13:07 +02:00
Dominique Eifländer
7f04fa0b28 hotfix: fixed startup problem 2024-04-19 09:27:48 +02:00
Ali Oezyetimoglu
f4e9a35a12 Merge branch 'RED-8480-bp2' into 'release/2.349.x'
RED-8480: differenciate between recategorize and legal basis change

See merge request redactmanager/persistence-service!455
2024-04-18 15:41:04 +02:00
Dominique Eifländer
ba82b94db0 hotfix added endpoint to restart zip all files for saas migration 2024-04-18 09:47:47 +02:00
Ali Oezyetimoglu
ffe8caaeea RED-8762: fixed path variable 2024-04-17 09:38:18 +02:00
Ali Oezyetimoglu
0a7108c152 RED-8480: differenciate between recategorize and legal basis change 2024-04-16 18:14:33 +02:00
Ali Oezyetimoglu
245c4b4556 RED-8762: added endpoint to update flag addToDictionary for given type, dossierTemplateId and dossierId 2024-04-11 14:55:51 +02:00
Andrei Isvoran
3746f69e6d RED-8903 - Refactor local add redaction on manual change 2024-04-09 16:37:25 +03:00
Andrei Isvoran
61f88703bc RED-8776 - Add local redaction when making a manual change to a dict based redaction 2024-04-03 14:55:52 +02:00
Ali Oezyetimoglu
abfb88755e RED-8480: integrated legal basis endpoint in recategorize endpoint
(cherry picked from commit 3fde378ade14f6f9f6d9063abc814eacd1b23030)
2024-03-20 18:37:50 +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
Kilian Schuettler
fd02b8ed80 RED-8615-bp: Revert and change the current behaviour of manualChanges 2024-02-28 09:35:54 +01: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
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
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
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
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
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
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
Timo Bejan
dab280cef5 Resolve RED-8085 2024-01-29 10:32:13 +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
Ali Oezyetimoglu
6690fba43d Merge branch 'RED-7252' into 'master'
RED-7252: Not possible anymore to ocr deleted or approved file

Closes RED-7252

See merge request redactmanager/persistence-service!319
2024-01-23 17:25:26 +01:00
Ali Oezyetimoglu
9162bb7edc RED-7252: Not possible anymore to ocr deleted or approved file 2024-01-23 16:45:41 +01:00
Maverick Studer
835e3568f6 RED-7376: Flag in deployment to indicate supported file formats 2024-01-23 12:56:34 +01:00
maverickstuder
56dcd421a9 RED-5369: View dossier & access permissions are not working for dossier attributes controller
* now when no permissions are given to view dossiers the endpoint to get dossier attributes returns an empty list instead of a 403 access denied
2024-01-22 12:34:02 +01:00
maverickstuder
9a3898a377 RED-5369: View dossier & access permissions are not working for dossier attributes controller
* now when no permissions are given to view dossiers the endpoint to get dossier attributes returns an empty list instead of a 403 access denied
2024-01-22 11:23:07 +01:00
Kilian Schüttler
caecbb483a RED-8168: Calculation of analysis flags should be async 2024-01-18 16:12:36 +01:00
Maverick Studer
15ddc1afeb Merge branch 'RED-5368' into 'master'
RED-5368: View dossier permissions are not working for dossier status controller

Closes RED-5368

See merge request redactmanager/persistence-service!313
2024-01-18 14:13:18 +01:00
Maverick Studer
2505cb70d2 RED-5368: View dossier permissions are not working for dossier status controller 2024-01-18 14:13:18 +01:00
maverickstuder
804a078403 RED-5369: View dossier & access permissions are not working for dossier attributes controller
* added hasPermission checks on all dossier specific endpoints in the DossierAttributesController
2024-01-18 13:38:59 +01:00
Timo Bejan
7ff2b9f11f Merge branch 'RED-8175' into 'master'
RED-8175 - fixed path traversal issue

Closes RED-8175

See merge request redactmanager/persistence-service!310
2024-01-16 16:07:10 +01:00
Timo Bejan
8c7b991ecb RED-8175 - fixed path traversal issue 2024-01-16 14:36:54 +02:00
maverickstuder
9ac8fcbf38 RED-5949: Wrong notificationType for specific endpoint
* Do not send notification if assigneeId is null
2024-01-15 12:20:54 +01:00
Dominique Eifländer
cf4a650fb5 RED-8174: Fixed transaction handling for notification preferences 2024-01-09 10:38:09 +01:00
Ali Oezyetimoglu
f5f1bde988 RED-5246: changed permission check for getDossier(...) 2024-01-04 14:23:55 +01:00
Andrei Isvoran
4deadfec0b RED-8114 - Allow editing of unprocessed manual changes 2023-12-21 09:45:13 +01:00
Kilian Schüttler
87f841d9dd RED-7834: fix migration issues 2023-12-11 15:46:32 +01:00
Ali Oezyetimoglu
e52c60c669 Merge branch 'RED-8014' into 'master'
RED-8014: Remove spaces as suffix and prefix on dossier creation

Closes RED-8014

See merge request redactmanager/persistence-service!238
2023-12-04 14:10:23 +01:00
Andrei Isvoran
8dad6c44df RED-7404 - Migrate to gradle 2023-12-04 12:31:47 +01:00
Ali Oezyetimoglu
47e268287e RED-8014: Remove spaces as suffix and prefix on dossier creation 2023-12-04 09:54:10 +01:00
Kresnadi Budisantoso
b9d473677c Hotfix: Download file name not properly recognized by the browser as the response header is malformed 2023-11-29 23:25:46 +01:00