195 Commits

Author SHA1 Message Date
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
Kresnadi Budisantoso
9d84085d46 Hotfix: Download rule file endpoint (old version) ignores the file type 2023-11-29 23:16:31 +01:00
Andrei Isvoran
d8c746b48d RED-7784 - Include unprocessed redactions in reports by default 2023-11-16 09:04:14 +01:00
Andrei Isvoran
5d977d191a RED-7784 - Include unprocessed redactions in reports by default 2023-11-14 15:18:16 +02:00
Andrei Isvoran
93bbdd768d RED-7784 - Report with unprocessed redactions 2023-11-07 11:50:32 +01:00
Dominique Eifländer
75aa8aa467 RED-7382: Implemented Saas migration 2023-11-06 13:06:49 +01:00
Dominique Eifländer
b966ac516b RED-7517: Save dossier and acls in same transaction 2023-10-31 15:03:38 +01:00
Andrei Isvoran
da43634b19 RED-7782 - Address PR comments 2023-10-27 12:09:20 +03:00
Andrei Isvoran
75847a43d5 RED-7782 - Merge unprocessed redactions into entity log without re-analysis. 2023-10-26 15:37:33 +03:00
Kilian Schuettler
c12abd0280 RED-7838: merge numberOfComments into EntityLog
* also change comment endpoint to return comments per annotation instead of file
2023-10-25 17:12:11 +02:00
Andrei Isvoran
ac7b05049d RED-7782 - Endpoint for unprocessed changes 2023-10-20 15:56:46 +02:00
Corina Olariu
3611c9e33f RED-7763 - Use EntityLog in tests in persistence-service
- replaced redaction log with entity log
- updates junit tests
2023-10-17 13:22:38 +03:00
Kilian Schuettler
99bb0228c4 DM-504: always exclude hard deleted files
* fix pmd
2023-10-10 12:16:30 +02:00
Kilian Schuettler
f7285fb821 DM-504: always exclude hard deleted files
* adjusted error message
* also removed annotationStatus since it is always APPROVED anyway
* removed inactive options from FilteredEntityLogRequest
* validated fileId and dossierId when getting comments
2023-10-10 10:51:40 +02:00
Kilian Schuettler
dd5bcfd4f9 DM-504: always exclude hard deleted files 2023-10-06 15:19:00 +02:00
Kilian Schuettler
fc198aa34f DM-285: added componentLog sorting in ComponentLogService 2023-10-05 14:25:40 +02:00
Kilian Schuettler
fb63bf65b0 DM-285: fix order of Components 2023-09-29 17:22:03 +02:00
Kilian Schuettler
0c91fff875 DM-285: fix order of Components 2023-09-29 12:47:58 +02:00
Kilian Schuettler
c1ea8bbb4f RED-7416: only write value if not equal to originalValue 2023-09-26 18:04:20 +02:00
Kresnadi Budisantoso
87e27050dd OpenAPI Specification for DocuMine 2023-09-26 17:52:16 +02:00
Kilian Schuettler
fbae5ff3a0 DM-285: ensure request bodies are not empty 2023-09-26 14:47:26 +02:00
Kilian Schuettler
e94d3c6146 DM-285: polish component log and component endpoints 2023-09-25 17:10:02 +02:00
Kilian Schuettler
54ce629a1c DM-285: Change component log
* apply overrides in ComponentLogService
* added a test for manual type change
* include overrides in getComponentLog
* split AnalysisLogController into EntityLogController and ComponentLogController
* fully deprecate RSSController
2023-09-22 15:10:18 +02:00
Kilian Schuettler
3c9d247432 DM-285: Change component log
* apply overrides in ComponentLogService
* added a test for manual type change
* include overrides in getComponentLog
2023-09-22 14:16:03 +02:00
Kilian Schuettler
e651c8225f DM-285: Change component log 2023-09-22 10:32:09 +02:00
deiflaender
ad9ef6351f RED-7578: Implemented logic of components endpoint for api v2 2023-09-15 10:36:13 +02:00
Timo Bejan
04f3bd1c1b Merge branch 'RED-5202-direct-download' into 'master'
RED-5205 - direct stream download implementation

Closes RED-5202

See merge request redactmanager/persistence-service!122
2023-09-14 14:46:55 +02:00
deiflaender
cb269b8e86 RED-7578: Fixed order of endpoints, set swagger endpoint to /api, fixed not used Error codes in spec 2023-09-14 14:11:40 +02:00
Timo Bejan
7058cb3035 RED-5205 - direct stream download implementation 2023-09-14 15:10:17 +03:00
Kilian Schuettler
f3d148a631 DM-285: make component rules version default to -1
* fix 500 when invalid rules file
* fix AnalysisLogResource documentation
2023-09-14 13:32:25 +02:00
Kilian Schuettler
62065e89ca DM-285: get component version without transaction 2023-09-13 17:05:13 +02:00
Kilian Schuettler
e2c7238c67 DM-285: make RuleFileType.ENTITY default 2023-09-12 15:41:45 +02:00
Kilian Schuettler
56baa7db07 DM-285: fully deprecated RedactionLog, added component rule file
* return 404, when component rule file hasn't been created yet* deprecate RSSResponse
* enter clean redaction-service version
* fixed some messages
* used correct RuleFileType
2023-09-11 16:23:08 +02:00