680 Commits

Author SHA1 Message Date
Corina Olariu
5a3432e6c6 RED-7812 - Dossier template will be renamed every time after each import
- put back the checking by name for the other cases (when cloning, creating, updating a dossier template)
2023-10-24 15:15:27 +03:00
Corina Olariu
6d245ae7b6 RED-7812 - Dossier template will be renamed every time after each import
- when checking for the existence of the dossier template name ignore the dossier template id of the one that will be replaced
2023-10-24 13:32:07 +03:00
Andrei Isvoran
48d432024a RED-7782 - Remove comments 2023-10-24 11:22:44 +02:00
Corina Olariu
59f3e99fea Merge branch 'RED-7434' into 'master'
RED-7434 - Remove Section Grid entirely

Closes RED-7434

See merge request redactmanager/persistence-service!192
2023-10-23 14:28:54 +02:00
Kilian Schuettler
c831eb7025 DM-285: resolve circular dependecies 2023-10-23 14:10:46 +02:00
Kilian Schuettler
58e66f920c DM-285: change fields of comments 2023-10-23 13:54:26 +02:00
Kilian Schuettler
c65a93bf1b DM-285: flush add redaction removal
* only remove add redactions
2023-10-23 13:35:36 +02:00
Corina Olariu
9aee9627d8 RED-7434 - Remove Section Grid entirely
- update the layout parser version to remove the section grid from layou parser request
2023-10-23 11:20:12 +03:00
yhampe
70bb450870 RED-7654: Import and export of rules in non-escaped form
* added back deleted code

* added id to ignoreproperties
2023-10-23 09:59:41 +02:00
yhampe
6221a7c5d7 RED-7654: Import and export of rules in non-escaped form
* removed debug logging
2023-10-23 08:22:42 +02:00
yhampe
9a5b192144 RED-7654: Import and export of rules in non-escaped form
* removed debug logging
2023-10-23 08:20:37 +02:00
yhampe
b872effffd RED-7654: Import and export of rules in non-escaped form
* removed method call, as we do not care about the names when updating an existing template
2023-10-23 08:19:07 +02:00
Andrei Isvoran
ac7b05049d RED-7782 - Endpoint for unprocessed changes 2023-10-20 15:56:46 +02:00
Dominique Eifländer
7df20ee8bb RED-7760: Fixed accidently renamed id that leads to not working liquibase migration 2023-10-19 14:16:34 +02:00
Corina Olariu
12cdc83ee3 RED-7763 - Use EntityLog in tests in persistence-service
- remove unneeded migrations
2023-10-17 14:52:10 +03: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
Dominique Eifländer
f317ff9f90 RED-7768: Fixed double counting of deleted documents in license 2023-10-17 09:21:42 +02:00
Dominique Eifländer
647b91193a RED-7767: Added migration for missing filesizes 2023-10-16 12:57:39 +02:00
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
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
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
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