58 Commits

Author SHA1 Message Date
Kilian Schüttler
3ad0d8c9ee Resolve RED-10260 "Feature/ bp" 2024-10-24 11:18:36 +02:00
Maverick Studer
9b07def91d RED-10112: Wrong role permissions in API endpoints for GUEST and RED_USER_ADMIN role 2024-10-09 14:40:20 +02:00
Maverick Studer
e213127b25 RED-9933: DocuMine DateFormat config in dossier templates 2024-09-30 11:33:05 +02:00
Maverick Studer
77c2f9b9a7 RED-9933: DocuMine DateFormat config in dossier templates 2024-09-24 09:28:35 +02:00
Maverick Studer
36eed8d0a1 RED-9348: move component log to mongodb 2024-09-23 16:05:17 +02:00
corinaolariu
3c32201e94 RED-9868 - Import older template zip with incompatible component rules breaks the stack
- throwing and catching an exception inside a transaction will cause the rollback.
- return the optional rules instead of throwing an error in case they are missing. update the code
- add unit test.
2024-08-14 12:09:05 +03:00
Dominique Eifländer
b72e432741 RED-9782: Fixed bugs in upload with disabledAutomaticAnalysis 2024-08-06 11:18:09 +02:00
Dominique Eifländer
b1fb547b0e RED-9782: Enabled to upload file and import only imported redactions with disabled automatic analysis 2024-08-06 11:17:57 +02:00
Andrei Isvoran
0f15e68623 RED-9771 - Fixes for updating component mappings 2024-07-31 10:32:36 +02:00
Andrei Isvoran
8b746a5db5 RED-9749 - Fix various issues with component definitions 2024-07-26 10:42:28 +02:00
Renovate Bot
71ffb03dfc Update Plugins (non-major) 2024-07-10 17:12:40 +00:00
Ali Oezyetimoglu
6157154378 RED-9499: increased id size of entity fo fit typeId length of a created entity
* catch too long names
* added JUnit test
2024-07-03 15:42:55 +02:00
Dominique Eifländer
db09744506 RED-9530: Fixed single and bulk create download endpoints in api v2 2024-07-03 11:19:22 +02:00
Kilian Schüttler
c55aa9d206 RED-9375: fix component mapping endpoint validation 2024-06-27 09:42:21 +02:00
Kilian Schuettler
5dd27f682b RED-9375: fix component mapping endpoint validation 2024-06-20 11:57:18 +02:00
Kilian Schuettler
46f9523b2c RED-9255: implement file exchange
* add simplified text file to layoutparsing file export
* add validation for fileId/dossierId combinations
2024-06-20 11:40:52 +02:00
Corina Olariu
0f782c802d RED-9351 - Redaction skipped after changing only type + paragraph
- only on this endpoint: /api/dossier-templates/{dossierTemplateId}/dossiers/{dossierId}/files/{fileId}/components check if the user has a valid role (RED_USER or RED_MANAGER)

Signed-off-by: Corina Olariu <corina.olariu.ext@knecon.com>
2024-06-17 10:29:34 +03:00
Dominique Eifländer
16c3388ffe RED-9225: Fixed not validated dossier template id in create download dossier 2024-06-07 10:51:05 +02:00
Kilian Schuettler
4843f79466 RED-9145: remove EXPERIMENTAL role which no user has 2024-06-07 10:32:35 +02:00
Dominique Eifländer
c67fa5926b RED-9225: Added endpoint to get report templates in new customer api, fixed some bugs 2024-06-06 15:05:49 +02:00
Dominique Eifländer
0f203d39a4 RED-9270: Fixed download of report template, RED-9225: Minor fixes for new customer api 2024-06-06 14:55:42 +02:00
Dominique Eifländer
088a4ac21b RED-9225: Fixed findings in new customer api 2024-06-05 10:50:17 +02:00
Andrei Isvoran
bb9e977e78 RED-9142 - Basic component management 2024-06-05 08:13:25 +02:00
Ali Oezyetimoglu
fe777da0f5 Merge branch 'RED-8339-4' into 'master'
Resolve RED-8339 "4"

Closes RED-8339

See merge request redactmanager/persistence-service!511
2024-06-03 15:38:31 +02:00
Ali Oezyetimoglu
efd777acd8 RED-8339: some refactoring 2024-06-03 13:09:45 +02:00
Dominique Eifländer
3e205d0b1b RED-9225: Implemented new endpoints for api v2 2024-06-03 10:43:11 +02:00
Ali Oezyetimoglu
adb6332bf5 RED-8339: Fixes 2024-06-03 10:24:10 +02:00
Ali Oezyetimoglu
23cf4cf5e9 RED-8339: Fixes 2024-06-02 11:22:31 +02:00
Ali Oezyetimoglu
9079ae18af RED-8339: Component Overrides in DocuMine 2024-05-29 18:24:29 +02:00
Kilian Schüttler
6412f58d58 RED-9145: add component mappings 2024-05-29 12:49:21 +02:00
Maverick Studer
d845b4cef2 RED-7700: Safe rule execution 2024-03-08 15:06:14 +01:00
Kilian Schuettler
4aa5b0ee34 reformat 2024-02-28 14:57:21 +01:00
Andrei Isvoran
34c7e51ae8 RED-7086 - Deprecate hard-delete files and add new endpoint with POST request 2024-02-09 15:32:31 +01:00
Andrei Isvoran
8dad6c44df RED-7404 - Migrate to gradle 2023-12-04 12:31:47 +01:00
Kresnadi Budisantoso
4c4e1ced91 RED-7962 Changed response type to "text/plain; charset=utf-8"
- Fixup of previous commit
- Use "text/plain; charset=utf-8" instead of "application/octet-stream" as response type for rule files
  as they are actually text files.
2023-11-29 23:07:14 +01:00
Kresnadi Budisantoso
9aff9e2d71 RED-7962 Fix error 500 for rule download endpoints.
The previous fix just corrected missing 404 response for the upload endpoints.
In case of a 404 error, the response entity is not a InputStreamResource anymore but an object containing the error message.
2023-11-29 17:23:45 +01:00
Kresnadi Budisantoso
d4a9afb8fe RED-7962 Fix error 500 for rule endpoints if dossier template does not exist
Also return 404 for file attribute definition endpoint if dossier template does not exist.
2023-11-29 16:18:46 +01:00
Kresnadi Budisantoso
0013b5d116 RED-7962 Improved response of endpoint to get file attributes
Added CSV settings.
2023-11-29 00:05:22 +01:00
Kresnadi Budisantoso
97960d8ed7 RED-7962 Fixes error 500 that occurred because of the rule file type parameter that was not removed by mistake
Also adjusted the audit log message if 'dryRun' was set to `true`.
2023-11-29 00:05:22 +01:00
Kresnadi Budisantoso
93167265d1 RED-7962 Added 'red-experimental' role to restrict usage of experimental... 2023-11-27 18:40:09 +01:00
Kresnadi Budisantoso
e5636452a1 RED-7962 Added rule upload and download specification to openapi.yaml
Other changes:
* minor renamings
* fixed query parameter name to camelCase
* changed response code for invalid rules to 422 (unprocessable entity)
* changed filename of rules to lower case
2023-11-23 15:33:17 +01:00
Dominique Eifländer
19605b4185 RED-7962: Implemented public rules endpoints 2023-11-23 13:37:33 +01:00
Kilian Schuettler
c1418d30dc hotfix: fix component sorting 2023-11-06 15:36:32 +01:00
Kilian Schuettler
0b44b5abe7 DM-285: add fileName to component endpoint 2023-10-13 10:43:50 +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
Kilian Schuettler
f706619140 DM-504: always exclude hard deleted files 2023-10-06 15:11:09 +02:00
Kilian Schuettler
941990787c DM-504: re-add includeSoftDeleted flag
* minor renames of ComponentLog fields
2023-09-29 17:56:54 +02:00
Kilian Schuettler
f9f5dfd1c9 DM-504: Remove unnecessary flag for requesting specific file or dossier 2023-09-27 11:18:36 +02:00
Kilian Schuettler
f8231a6499 DM-502: Dossier Endpoint returns all dossiers regardless of the set dossierTemplateId 2023-09-27 11:08:29 +02:00