640 Commits

Author SHA1 Message Date
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
55153d0a09 RED-6835: clean incoming strings 2023-09-21 14:55:21 +02:00
Andrei Isvoran
51da8f5d58 DM-498 - Fix 500 internal server error when overrides do not exist 2023-09-21 14:10:45 +02:00
Andrei Isvoran
b5c832c8a3 RED-7185 - Error message when adjusting the Justification 2023-09-20 12:31:39 +03:00
Kilian Schuettler
1b0323839e DM-285: validate rules on dossier template import 2023-09-18 16:16:14 +02:00
Andrei Isvoran
837822b7dd RED-7185 - RM-46 - Error message when adjusting the Justification 2023-09-15 09:35:57 +02:00
Kilian Schuettler
dd359282cf RED-7599: schedule reanalysis for any manual redaction 2023-09-14 19:25:19 +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
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 Schüttler
2fc912d414 Merge branch 'DM-285' into 'master'
DM-285: minor fixes to previous version

See merge request redactmanager/persistence-service!117
2023-09-13 17:30:39 +02:00
Kilian Schuettler
62065e89ca DM-285: get component version without transaction 2023-09-13 17:05:13 +02:00
Kilian Schuettler
70b7a258e9 DM-285: update component rules version with AnalyzeResult 2023-09-13 16:04:17 +02:00
Andrei Isvoran
3d8a33dfd1 RED-7599 - Always trigger reanalysis when removing manual redaction 2023-09-13 16:31:27 +03:00
Kilian Schuettler
d3db8c7b16 DM-285: update component rules version with AnalyzeResult 2023-09-13 15:14:41 +02:00
Kilian Schuettler
31890e6434 DM-285: update component rules version with AnalyzeResult 2023-09-13 14:46:11 +02:00
Kilian Schuettler
9bca6b406a DM-285: make rule value non nullable 2023-09-13 13:59:31 +02:00
Kilian Schuettler
7466a61583 DM-285: don't import empty component rules 2023-09-12 17:22:19 +02:00
Kilian Schüttler
32361f7f2f Merge branch 'DM-285' into 'master'
DM-285: add component log and entity log, deprecate redaction log

Closes DM-285

See merge request redactmanager/persistence-service!110
2023-09-11 17:14:00 +02:00
Kilian Schuettler
7d4548e40c 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
* updated default rules
2023-09-11 17:02:17 +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
Andrei Isvoran
808dc37d21 RED-7572 - Remove unused method 2023-09-11 16:53:03 +03:00
Andrei Isvoran
0f7d648044 RED-7572 - Use MagicConverter instead of manually converting 2023-09-11 16:27:26 +03:00
Kilian Schuettler
db40f5a1a9 DM-285: fully deprecated RedactionLog, added component rule file
* return 404, when component rule file hasn't been created yet
2023-09-11 13:35:02 +02:00
Kilian Schuettler
8fc94de4b7 DM-285: fully deprecated RedactionLog, added component rule file
* return 404, when component rule file hasn't been created yet
2023-09-11 13:35:02 +02:00
Kilian Schuettler
b4527e4bfe DM-285: fully deprecated RedactionLog, added component rule file 2023-09-11 13:35:02 +02:00
Kilian Schuettler
a621ff1484 DM-285: add component log and entity log, deprecate redaction log
* also refactor RedactionLogController
2023-09-11 13:35:02 +02:00
Andrei Isvoran
78bb3b72ca RED-7572 - Fix privateKey for digital signature 2023-09-11 13:49:24 +03:00
deiflaender
c4d8f16c2e DM-410: Added endpoint to set that a timeout was detected during rule execution 2023-09-07 10:54:25 +02:00
Kilian Schuettler
8eb0ae2b06 RED-7317: fix addredaction with addToDict
* added publish-custom-image.sh
2023-09-05 14:54:41 +02:00
Kilian Schuettler
39172c2da2 RED-7317: reprocess when legalBasisChange 2023-09-04 14:46:21 +02:00
Kilian Schuettler
5302e09b4d RED-7317: rename image-recategorization to recategorization 2023-09-01 15:50:12 +02:00
Kilian Schuettler
98bf385c20 RED-7317: mark LegalBasisChange as processed in DB after analysis 2023-09-01 13:56:33 +02:00
Kilian Schuettler
701c65eac7 RED-7317: Endpoint to change entity types of dict-based annotations
* fix test
* make it clear, which field does what
2023-08-30 17:01:53 +02:00
Kilian Schuettler
7fcb52c90f RED-7317: Endpoint to change entity types of dict-based annotations
* fix test
2023-08-30 16:57:34 +02:00
Kilian Schuettler
be915430b1 RED-7317: Endpoint to change entity types of dict-based annotations
* fix pmd
* add mapper to remove even more code from controller
2023-08-30 16:41:26 +02:00
Kilian Schuettler
d40ef63116 RED-7317: Endpoint to change entity types of dict-based annotations
* fix tests
2023-08-30 15:46:49 +02:00
Kilian Schuettler
80e602fb07 RED-7317: Endpoint to change entity types of dict-based annotations
* rebased
2023-08-30 15:33:09 +02:00
Kilian Schuettler
d25b8c3934 RED-7317: Endpoint to change entity types of dict-based annotations
* fixed tests
2023-08-30 15:28:35 +02:00
Kilian Schuettler
ea5f79d67c RED-7317: Endpoint to change entity types of dict-based annotations
* added undo functionality
* fixed tests
* added recategorize with dictionary tests
2023-08-30 15:28:34 +02:00
Kilian Schuettler
aab2971d6e RED-7317: Endpoint to change entity types of dict-based annotations
* major refactor of manual redaction service
2023-08-30 15:28:20 +02:00
Kilian Schuettler
d1d5331202 RED-7317: add getComment Endpoint
* moved manual redaction undo code
2023-08-30 15:28:20 +02:00
Kilian Schuettler
0b173ec930 RED-7317: Keep user-edited paragraph/location when recategorizing entity
* refactor of ManualRedactionService, still WIP
2023-08-30 15:28:17 +02:00
deiflaender
6b22622e7e RED-7508: Fixed wrong response type for false positive entity types 2023-08-30 12:47:52 +02:00
deiflaender
8c7435f8b4 RED-7508: Fixed undelete of false positive entries at manual redaction at false positive to all dossiers 2023-08-30 12:26:06 +02:00
Andrei Isvoran
0162017e61 RED-7500 - Delete Report json metadata from azure/s3 storage 2023-08-29 12:57:34 +02:00
Timo Bejan
9d084c57c0 RED-7439 - single transaction write for ace entries of a dossier 2023-08-24 21:10:03 +03:00
Kilian Schuettler
6f7327aa0d RED-7158: Rosario wants more verbose error messages 2023-08-23 17:52:24 +02:00
Ali Oezyetimoglu
caa017bb24 RED-7439: throw JobExecutionError to prevent 500 because violating constraint acl_entry_unique leads to
DuplicateKeyException
2023-08-23 12:30:09 +02:00