195 Commits

Author SHA1 Message Date
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
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
edd0c747cf RED-7572 - Change privateKey to base64EncodedPrivateKey for DigitalSignature... 2023-09-08 13:47:24 +02:00
Andrei Isvoran
230e674c6f DM-402 - Don't add double notifications when user is added to a dossier in documine 2023-09-07 17:04:40 +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
Andrei Isvoran
ae7a3273a1 RED-7500 - Remove extension that gets generated by storage-commons 2023-09-06 13:35:49 +02:00
Kilian Schuettler
73afa0f349 RED-7317: set DictionaryEntryType to ENTRY by default 2023-09-04 12:06:27 +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
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
Andrei Isvoran
af4dff23dc RED-7500 - Only delete the metadata for the specific storage 2023-08-29 15:30:19 +02:00
Andrei Isvoran
515edb1c1c RED-7500 Fix report storage id generation 2023-08-29 14:08:10 +02:00
Andrei Isvoran
0162017e61 RED-7500 - Delete Report json metadata from azure/s3 storage 2023-08-29 12:57:34 +02:00
Corina Olariu
698fcbe2b7 RED-6860 - Transaction timeout while preparing download
- add getObject for the download of archives
2023-08-28 18:29:56 +03:00
Andrei Isvoran
28f9401719 RED-7500 - Also delete Report json metadata when deleting archive 2023-08-28 12:44:25 +02:00
Kilian Schuettler
d28e485dff RED-7158: even more specific errors 2023-08-24 14:13:00 +02:00
Andrei Isvoran
7f7dd7a182 RED-7500 - Delete file from storage when deleting download status 2023-08-24 10:07:03 +03:00
Kilian Schuettler
6f7327aa0d RED-7158: Rosario wants more verbose error messages 2023-08-23 17:52:24 +02:00
Kilian Schuettler
b1b544faf6 RED-7493: fix versions in parent pom 2023-08-22 15:30:34 +02:00
Kilian Schuettler
1ac0a184b7 RED-7493: provide error messages in upload endpoint 2023-08-22 15:08:45 +02:00
Kilian Schuettler
e3411dba42 RED-7158: fix status code, when dossierId not found 2023-08-22 09:33:04 +02:00
Andrei Isvoran
04212cdd4e RED-6864 - Remove fileProxyStreamForDownload as it closes the stream before downloading the file 2023-08-17 14:37:17 +03:00
Andrei Isvoran
02af9810df RED-6864 - Optimization of Upload and Download for Large Files in Azure Blob... 2023-08-16 21:05:40 +02:00
Timo Bejan
02579ef0e5 RED-7158 layout status in UI 2023-08-16 13:47:44 +03:00
Timo Bejan
5c19b6af0b RED-7158-2 last layout processed time 2023-08-16 12:01:53 +02:00
Kilian Schuettler
149b85c433 RED-7158: add viewer document and deprecate section-grid 2023-08-15 12:20:14 +02:00
Ali Oezyetimoglu
a58d4d38cf RED-7241: refactored some code and deleted dead code 2023-08-11 12:06:23 +02:00
Ali Oezyetimoglu
94bac70f5d RED-7241: added many log files to debug strange behaviour 2023-08-11 12:06:23 +02:00
Ali Oezyetimoglu
cd945eea82 RED-7241: fixed logic to adapt resize endpoints;
removed unused and deprecated methods
2023-08-11 12:06:23 +02:00
Ali Oezyetimoglu
5eba596815 RED-7241: cleaned up unneeded imports 2023-08-11 12:06:23 +02:00
Andrei Isvoran
ebd1165b66 Fix PMD 2023-08-11 12:08:32 +03:00
Andrei Isvoran
5e53580c00 RED-6864 - Close streams when done in order to delete temp files 2023-08-11 11:02:42 +02:00
Corina Olariu
2bcee8ccc2 RED-6864 - Optimization of Upload and Download for Large Files in Azure Blob Storage and AWS S3/MinIO
- update to the new version for storage-commons
- replace getObject from storageService with downloadTo
- update tests
2023-08-08 18:59:00 +03:00
deiflaender
3f5bde17d5 DM-165: Trigger full reanalysis after rotation of pages 2023-08-03 12:42:36 +02:00
Kilian Schuettler
0e2200f336 RED-6725: integrate layout parser
* fixed error messages
* extracted common zip file response entity function
* added content length header
* removed unused identifier
2023-08-01 10:45:26 +02:00
Kilian Schuettler
4105563036 RED-6725: deprecate FileType.TEXT, fix tests 2023-08-01 10:45:26 +02:00
Andrei Isvoran
bb799a15b3 RED-6992 - Add removeWatermark flag for dossier template 2023-07-31 14:27:54 +03:00
Andrei Isvoran
d515014468 RED-6992 - Add ocrByDefault flag for dossier template 2023-07-27 17:38:30 +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
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
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
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
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
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