108 Commits

Author SHA1 Message Date
Kilian Schuettler
c1ea8bbb4f RED-7416: only write value if not equal to originalValue 2023-09-26 18:04:20 +02:00
Kresnadi Budisantoso
87e27050dd OpenAPI Specification for DocuMine 2023-09-26 17:52:16 +02:00
Kilian Schuettler
fbae5ff3a0 DM-285: ensure request bodies are not empty 2023-09-26 14:47:26 +02:00
Kilian Schuettler
e94d3c6146 DM-285: polish component log and component endpoints 2023-09-25 17:10:02 +02: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
e651c8225f DM-285: Change component log 2023-09-22 10:32:09 +02:00
deiflaender
ad9ef6351f RED-7578: Implemented logic of components endpoint for api v2 2023-09-15 10:36:13 +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
deiflaender
cb269b8e86 RED-7578: Fixed order of endpoints, set swagger endpoint to /api, fixed not used Error codes in spec 2023-09-14 14:11:40 +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 Schuettler
62065e89ca DM-285: get component version without transaction 2023-09-13 17:05:13 +02:00
Kilian Schuettler
e2c7238c67 DM-285: make RuleFileType.ENTITY default 2023-09-12 15:41:45 +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
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