973 Commits

Author SHA1 Message Date
Dominique Eifländer
6f87c0bcec RED-7682: Fixed Joining of parallel processed redaction of files when service is scaled to more than 1 2023-10-16 10:34:15 +02:00
Kilian Schuettler
4ae0a7e646 DM-285: add fileName to component endpoint 2023-10-13 11:01:10 +02:00
Kilian Schuettler
0b44b5abe7 DM-285: add fileName to component endpoint 2023-10-13 10:43:50 +02:00
Kilian Schuettler
77c6348e35 DM-504: adjust error messages
* also check for hard deleted date in dossier
2023-10-11 10:49:28 +02:00
Kilian Schuettler
56b4746a3e RED-7631: unescaped rule files 2023-10-11 10:41:50 +02:00
Kilian Schuettler
cd2d97616d RED-7631: unescaped rule files 2023-10-11 10:01:43 +02:00
Kilian Schüttler
c4485ad26b Merge branch 'RED-5945' into 'master'
RED-5945: 500 when importing faulty archive

Closes RED-5945

See merge request redactmanager/persistence-service!169
2023-10-10 16:02:55 +02:00
yhampe
209373d3fa RED-5945: 500 when importing faulty archive
* now throwing a BadRequestException when archive is faulty
2023-10-10 14:07:22 +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
781b761aad DM-504: always exclude hard deleted files
* adjusted error message
* also removed annotationStatus since it is always APPROVED anyway
* removed inactive options from FilteredEntityLogRequest
2023-10-10 10:27:10 +02:00
yhampe
bc8ca76858 RED-5945: 500 when importing faulty archive
* now throwing a BadRequestException when archive is faulty
2023-10-10 09:51:48 +02:00
Dominique Eifländer
50005ad83a RED-7715: Fixed messed up logging 2023-10-09 15:03:09 +02:00
Yannik Hampe
f048efd42c Merge branch 'RED-7653' into 'master'
RED-7653: removed unnecessary test file, updated database-tenants-commons...

Closes RED-7653

See merge request redactmanager/persistence-service!167
2023-10-09 14:48:15 +02:00
yhampe
e9833ae71a RED-7653: removed unnecessary test file, updated database-tenants-commons version, fixed publish-custom-docker image script for windows 2023-10-09 14:26:57 +02:00
Corina Olariu
c79c653382 Merge branch 'RED-7185-clone' into 'master'
RED-7185 - RM-46 - Error message when adjusting the Justification

Closes RED-7185

See merge request redactmanager/persistence-service!165
2023-10-09 12:15:28 +02:00
Corina Olariu
97ab8a0783 RED-7185 - RM-46 - Error message when adjusting the Justification
- check for null for dossier template's name
- update junit test
2023-10-09 12:01:25 +03:00
Kilian Schuettler
0e74e88f21 hotfix: update database-tenant-commons 2023-10-09 10:44:02 +02:00
Corina Olariu
a0c62274ef RED-7185 - RM-46 - Error message when adjusting the Justification
- adding the validation of dossier template's name and description when requesting a clone dossier template
2023-10-09 10:57:09 +03:00
yhampe
1a92b3db26 RED-7653: added cases for importing escaped and unescaped rule files 2023-10-09 09:28:13 +02:00
yhampe
02d87d7c14 fixed errors on windows because of not closed input stream
removed FileSystemBackedStorageService.java and started using import from storage-commons
2023-10-06 11:44:02 +02:00
Kilian Schuettler
fc198aa34f DM-285: added componentLog sorting in ComponentLogService 2023-10-05 14:25:40 +02:00
Andrei Isvoran
79bc6d2b39 RED-7694 - Throw BadRequest if startDate is null or in the future for license report 2023-10-05 12:28:56 +03:00
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