1679 Commits

Author SHA1 Message Date
Andrei Isvoran
37c2eef2f9 RED-7404 - Add lombok.config 2023-12-04 17:50:39 +01:00
Ali Oezyetimoglu
e52c60c669 Merge branch 'RED-8014' into 'master'
RED-8014: Remove spaces as suffix and prefix on dossier creation

Closes RED-8014

See merge request redactmanager/persistence-service!238
2023-12-04 14:10:23 +01:00
Andrei Isvoran
8dad6c44df RED-7404 - Migrate to gradle 2023-12-04 12:31:47 +01:00
Ali Oezyetimoglu
47e268287e RED-8014: Remove spaces as suffix and prefix on dossier creation 2023-12-04 09:54:10 +01:00
Timo Bejan
b5cd72c7bf RED-8031 - Migration for non gzipped files 2023-12-03 21:45:50 +02:00
Kresnadi Budisantoso
1de6210993 RED-962 Fixup response type & error 500 2023-11-29 23:58:40 +01:00
Kresnadi Budisantoso
b9d473677c Hotfix: Download file name not properly recognized by the browser as the response header is malformed 2023-11-29 23:25:46 +01:00
Kresnadi Budisantoso
9d84085d46 Hotfix: Download rule file endpoint (old version) ignores the file type 2023-11-29 23:16:31 +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
9985e9b0af RED-7962 Fix wrong CSV mapping active flag 2023-11-29 16:18:46 +01:00
Dominique Eifländer
e55cd716cc DM-602: Do not always set addToDictionary for recategorizations 2023-11-29 11:28:28 +01:00
Andrei Isvoran
88736855b4 RED-7785 - Fix false positives not getting removed for unprocessed changes & refactor merging unprocessed changes into entitylog logic. 2023-11-29 11:03:51 +01:00
Corina Olariu
c036acc81d Merge branch 'RED-7979' into 'master'
RED-7979 - Force Hint leads to 500 BE Error

Closes RED-7979

See merge request redactmanager/persistence-service!232
2023-11-29 10:24:36 +01:00
Corina Olariu
22d837a35f RED-7979 - Force Hint leads to 500 BE Error
- in case of force hint, there is no legalBasis so do not add property changes for legalBasis
2023-11-29 10:40:07 +02:00
Kresnadi Budisantoso
06d3b282cc RED-7962 Updated platform dependency to 2.20.0 2023-11-29 00:05:22 +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
Timo Bejan
882576dadf RED-7967 - liquibase fix 2023-11-28 17:39:13 +02:00
Kresnadi Budisantoso
93167265d1 RED-7962 Added 'red-experimental' role to restrict usage of experimental... 2023-11-27 18:40:09 +01:00
Timo Bejan
1c2d3fe4e2 skipping bugs since this was disabled up to now but got enabled due to upgrade of dependencies 2023-11-23 21:46:40 +02:00
Timo Bejan
e73b6bd69b Migration local testing 2023-11-23 21:38:11 +02:00
Timo Bejan
5d6ed6bba8 cleanup 2023-11-23 21:38:11 +02:00
Timo Bejan
288bbf9f17 Integrate sync service 2023-11-23 21:38:11 +02:00
Timo Bejan
83c02409e9 Integration of sync service 2023-11-23 21:38:11 +02: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
Andrei Isvoran
eae93223fa RED-7784 - Fixes for unprocessed redactions 2023-11-21 13:25:23 +01:00
Dominique Eifländer
8379af0a79 RED-7934: Fixed pmd violation 2023-11-16 15:29:03 +01:00
Dominique Eifländer
ff8c6d2463 RED-7934: Do not delete manual redactions at remove redaction 2023-11-16 14:45:30 +01:00
Corina Olariu
c455bdf5ce Merge branch 'master' into RED-7918 2023-11-16 15:08:29 +02:00
Dominique Eifländer
59d45a309b RED-7934: Do not delete manual redactions at remove redaction if not updateDictionary 2023-11-16 13:46:18 +01:00
Andrei Isvoran
d8c746b48d RED-7784 - Include unprocessed redactions in reports by default 2023-11-16 09:04:14 +01:00
Corina Olariu
a8e0f4b67c RED-7918 - RM-62: "Last Modified" date not updated after change
- update tests
2023-11-16 09:53:03 +02:00
Corina Olariu
ba19477c25 RED-7918 - RM-62: "Last Modified" date not updated after change
- in calculate flags get the entity log with the unprocessed changes
2023-11-16 09:32:24 +02:00
Andrei Isvoran
5d977d191a RED-7784 - Include unprocessed redactions in reports by default 2023-11-14 15:18:16 +02:00
Ali Oezyetimoglu
67afcfa6b0 RED-7883: updated zips of dossier templates to have the right encoded type dictionary lists 2023-11-14 12:12:39 +01:00
Ali Oezyetimoglu
8845c406b2 RED-7883: updated methods to import and export with UTF-8 instead of modified UTF-8 2023-11-14 11:26:34 +01:00
Ali Oezyetimoglu
f0a4772c33 RED-7883: changed encoding of type dictionaries from modified UTF-8 to UTF-8 2023-11-14 10:44:21 +01:00
Ali Oezyetimoglu
d11a1178b3 RED-7883: changed encoding from modified UTF-8 to UTF-8 for dossier template import and export 2023-11-13 16:51:14 +01:00
Corina Olariu
0d475e2839 RED-7876 - Diagrams for future license are empty
- remove the check for start date in the future
- remove the setting to set current date for end date in case date is in the future
2023-11-13 09:50:03 +02:00
Kilian Schüttler
819b2384b2 Merge branch 'DM-557' into 'master'
DM-557: fix component sorting

Closes DM-557

See merge request redactmanager/persistence-service!208
2023-11-10 12:37:10 +01:00
Kilian Schuettler
05981913b3 DM-557: fix component sorting 2023-11-10 12:15:07 +01:00
Dominique Eifländer
6adfdb2991 DM-576: Fixed connections idle in transaction 2023-11-09 16:16:04 +01:00
Andrei Isvoran
61cc1297fd RED-7784 - Report with unprocessed redactions 2023-11-08 09:42:23 +01:00
Andrei Isvoran
e81e1eb000 RED-7784 - Report with unprocessed redactions 2023-11-07 12:44:57 +01:00
Andrei Isvoran
93bbdd768d RED-7784 - Report with unprocessed redactions 2023-11-07 11:50:32 +01:00
Kilian Schüttler
15995a1518 Merge branch 'sorting_hotfix' into 'master'
hotfix: fix component sorting

See merge request redactmanager/persistence-service!212
2023-11-06 17:48:13 +01:00
Kilian Schuettler
c1418d30dc hotfix: fix component sorting 2023-11-06 15:36:32 +01:00