651 Commits

Author SHA1 Message Date
Andrei Isvoran
ad20a1f9f5 RED-7687 - Check if startDate is before endDate for license before overwriting the endDate if it's in the future. 2023-10-02 16:18:52 +03:00
Corina Olariu
b706a71ec1 Merge branch 'RED-7185-adjustLimit' into 'master'
RED-7185 - RM-46 - Error message when adjusting the Justification

Closes RED-7185

See merge request redactmanager/persistence-service!150
2023-10-02 11:44:29 +02:00
Andrei Isvoran
97d2af3eb5 Merge branch 'RED-7676' into 'master'
RED-7676 - Copy ocrByDefault and removeWatermark flags when cloning dossier template

Closes RED-7676

See merge request redactmanager/persistence-service!151
2023-10-02 11:39:14 +02:00
Andrei Isvoran
d3f3817ea1 RED-7676 - Copy ocrByDefault and removeWatermark flags when cloning dossier template 2023-10-02 12:32:39 +03:00
Corina Olariu
7f7ca627d6 RED-7185 - RM-46 - Error message when adjusting the Justification
- permit only comments with length <= 4000 characters
2023-09-29 13:23:52 +03:00
Corina Olariu
91ffe50781 RED-7185 - RM-46 - Error message when adjusting the Justification
- add checkComment in addComment when making changes to a redaction
2023-09-26 15:01:39 +03:00
Kilian Schuettler
e94d3c6146 DM-285: polish component log and component endpoints 2023-09-25 17:10:02 +02:00
Corina Olariu
6cdd2178f1 Merge branch 'RED-7185' into 'master'
RED-7185 - Fix comment too long

Closes RED-7185

See merge request redactmanager/persistence-service!138
2023-09-25 10:27:15 +02:00
Kilian Schüttler
93d40366c7 Merge branch 'DM-285' into 'master'
DM-285: Change component log

Closes DM-285

See merge request redactmanager/persistence-service!137
2023-09-25 09:57:50 +02:00
Timo Bejan
4a63c48ad9 Fixed wrong execution of liquibase on staging envs 2023-09-22 17:32:33 +03:00
Andrei Isvoran
f006af37e4 RED-7185 - Fix comment too long 2023-09-22 17:10:10 +03: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
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