1442 Commits

Author SHA1 Message Date
Andrei Isvoran
bb799a15b3 RED-6992 - Add removeWatermark flag for dossier template 2023-07-31 14:27:54 +03:00
Timo Bejan
7476c56204 Merge branch 'RED-7052' into 'master'
Reanalyze by hand should also do full reprocess if required

Closes RED-7052

See merge request redactmanager/persistence-service!59
2023-07-28 13:56:17 +02:00
Corina Olariu
9ec55808d6 Merge branch 'RED-6852' into 'master'
RED-6852 - localManualRedaction is false for resized rule-Based redaction

Closes RED-6852

See merge request redactmanager/persistence-service!57
2023-07-28 10:58:12 +02:00
Timo Bejan
92bf9fd224 Reanalyze by hand should also do full reprocess if required 2023-07-28 10:18:25 +02:00
Andrei Isvoran
d515014468 RED-6992 - Add ocrByDefault flag for dossier template 2023-07-27 17:38:30 +03:00
Timo Bejan
bea9e39eee Update pom.xml 2023-07-27 08:48:57 +02:00
Corina Olariu
4abbd04fe9 RED-6852 - Not possible to delete specific dossier - Error code 500 returned
- set the flag local manual redaction true in case the manual redaction type is RESIZE and engine has RULE value
2023-07-27 09:16:33 +03:00
Ali Oezyetimoglu
14a46dc237 RED-7140: make tenantId available in CompletableFeature.supplyAsync 2023-07-25 09:37:37 +02:00
Ali Oezyetimoglu
33638c2b5e RED-7140: get userId before async method 2023-07-20 15:55:29 +02:00
Ali Oezyetimoglu
a9615a5c00 RED-7140: changed to CompletableFuture with InputStreamResource to make it possible to download files greater than 5GB 2023-07-14 15:03:55 +02:00
Andrei Isvoran
95ed1c643a RED-6981 - save file size when uploading 2023-07-13 11:16:08 +02:00
Corina Olariu
06c788d664 Merge branch 'RED-7054-test-100' into 'master'
RED-7054 - Not possible to delete specific dossier - Error code 500 returned

Closes RED-7054

See merge request redactmanager/persistence-service!49
2023-07-11 09:54:23 +02:00
Corina Olariu
144538a068 RED-7054 - Not possible to delete specific dossier - Error code 500 returned
- add Transaction for hardDeleteDossier
2023-07-10 16:48:49 +03:00
Corina Olariu
c1c7931df2 RED-7054 - Not possible to delete specific dossier - Error code 500 returned
- add Transaction
2023-07-10 13:47:41 +03:00
Corina Olariu
6ee500c1c7 RED-7034 - Check for dossierDictionaryOnly flag when add to template dict is requested
- fix PMD violations
2023-07-10 10:08:20 +03:00
Corina Olariu
db16cc0ab3 Merge branch 'RED-7034' into 'master'
RED-7034 - Check for dossierDictionaryOnly flag when add to template dict is requested

Closes RED-7034

See merge request redactmanager/persistence-service!45
2023-07-10 08:50:52 +02:00
Corina Olariu
9b2ea9dfc4 RED-7034 - Check for dossierDictionaryOnly flag when add to template dict is requested
- update after review
2023-07-07 18:58:30 +03:00
Ali Oezyetimoglu
2322a98c2f RED-6860: fixed transaction timeout issue by loading files eagerly and making the transaction smaller; also removed twice loading of all files 2023-07-07 17:15:58 +02:00
Corina Olariu
8860e9d040 RED-7034 - Check for dossierDictionaryOnly flag when add to template dict is requested
- update junit tests
2023-07-07 12:42:29 +03:00
Corina Olariu
69566a2614 RED-7034 - Check for dossierDictionaryOnly flag when add to template dict is requested
- before adding / deleting entries to a dossier template dictionary check if the flag dossierDictionaryOnly is set true
- the same check is needed in case of manual redactions ; adding, removing
- add junit tests
2023-07-07 09:54:09 +03:00
Timo Bejan
a1f353ac75 PMD fix 2023-07-06 16:28:01 +03:00
Timo Bejan
ef9ff74339 RED-7094 - extracted liquibase code 2023-07-06 16:09:06 +03:00
Dominique Eifländer
e954807788 Merge branch 'RED-6543' into 'master'
RED-6543: Adapted license report to new requirements

Closes RED-6543

See merge request redactmanager/persistence-service!42
2023-07-06 13:03:23 +02:00
deiflaender
939941d789 RED-6543: Adapted license report to new requirements 2023-07-06 12:53:29 +02:00
Timo Bejan
a2f7a2d85b RED-7094 - extracted liquibase code 2023-07-06 12:30:15 +03:00
Ali Oezyetimoglu
cca99204fc RED-6545: members of dossier can resize, recategorise, force redactions or change legal basis on dossier level 2023-07-04 18:31:31 +02:00
Corina Olariu
e38c09d4a2 RED-7026_RED-6743_RED-6734- Simplified redaction flow
- filter the merged dictionary so the deleted entries are not present
- sorting the entries in the merged endpoint
- check before creating a dossier level type if the dossier and dossier template are matching
- add and update junit tests
2023-06-30 15:47:52 +03:00
deiflaender
a84c98cc5d RED-6543: Fixed license report QA findings 3 2023-06-30 13:00:42 +02:00
Corina Olariu
17412ee828 Merge branch 'RED-6575' into 'master'
RED-6575- Failed report generation after upload KMS Certificate

Closes RED-6575

See merge request redactmanager/persistence-service!36
2023-06-30 11:09:59 +02:00
Timo Bejan
003cefbefc Springdoc fixes 2023-06-29 09:25:55 +03:00
Corina Olariu
d7e61e0fa4 RED-6575- Failed report generation after upload KMS Certificate
- add convert method for the certificate, entity uses byte[] and the model has the certificate as string
2023-06-28 08:50:10 +03:00
Timo Bejan
e763750efa Resolve RED-6686 "2" 2023-06-27 22:50:16 +02:00
Timo Bejan
628012c809 Resolve RED-6686 "2" 2023-06-27 14:26:22 +02:00
Timo Bejan
c26020bbc7 Resolve RED-6686 "2" 2023-06-27 13:54:52 +02:00
deiflaender
e53fc9e43b RED-6543: Fixed license report QA findings 2023-06-27 09:43:44 +02:00
Timo Bejan
71333aeb6b RED-6686 - cleanup 2023-06-26 23:49:29 +02:00
Timo Bejan
dc6a004365 RED-6686 Extract Tenant and user-management code into a separate service. 2023-06-26 22:44:52 +02:00
Corina Olariu
2f96962351 Merge branch 'RED-6912-ignorecase' into 'master'
RED-6912- Entries not sorted correctly in the dossier dictionary

Closes RED-6912

See merge request redactmanager/persistence-service!28
2023-06-26 12:39:43 +02:00
Corina Olariu
c23d3572b8 Merge branch 'RED-6734-update' into 'master'
RED-6734 - Get merged dossier and template dictionaries

Closes RED-6734

See merge request redactmanager/persistence-service!25
2023-06-26 12:16:43 +02:00
Dominique Eifländer
760181bdb2 Merge branch 'dossierDictSchedulingFix' into 'master'
hotfix: Fixed scheduling for non existing dossierDictionaries

See merge request redactmanager/persistence-service!30
2023-06-26 11:25:27 +02:00
Corina Olariu
365f106c9a Merge branch 'RED-6631' into 'master'
RED-6631 - RED_USER and RED_MANAGER-Role must not delete dossier templates

Closes RED-6631

See merge request redactmanager/persistence-service!24
2023-06-26 11:25:14 +02:00
deiflaender
abafd745cd hotfix: Fixed scheduling for non existing dossierDictionaries 2023-06-26 11:15:59 +02:00
deiflaender
ae05d7ffcb hotfix: Try to set Status reprocess in seperate transaction before setting lastFileAttribute change to avoid duplicate processing 2023-06-26 09:31:10 +02:00
Corina Olariu
df2739713a RED-6912- Entries not sorted correctly in the dossier dictionary
- update the sorting to be case-insensitive
- update junit tests
2023-06-26 10:27:27 +03:00
deiflaender
31ddd07f26 hotfix: do not schedule UNPROCESSED file to fix race condition in startup test 2023-06-23 15:54:31 +02:00
Corina Olariu
c4d22dfc85 RED-6734 - Get merged dossier and template dictionaries
- update the endpoint to get the merged dictionaries for the given type, dossier template and dossier
- update junit tests
2023-06-23 16:25:33 +03:00
deiflaender
2662ae1739 hotfix: Fix Startup test 2023-06-23 15:15:10 +02:00
Corina Olariu
f77a6bbf05 RED-6631 - RED_USER and RED_MANAGER-Role must not delete dossier templates
- check that only admin users can delete the dossier template
- add junit tests
2023-06-23 16:02:04 +03:00
deiflaender
80cfa68431 RED-6543: Fixed file attribute scheduling race condition 2023-06-23 13:02:47 +02:00
deiflaender
5e1da0623f RED-6543: Fixed QA findings in license report 2023-06-23 09:37:01 +02:00