833 Commits

Author SHA1 Message Date
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
80cfa68431 RED-6543: Fixed file attribute scheduling race condition 2023-06-23 13:02:47 +02:00
Corina Olariu
43aa2fba7c RED-6912 - Entries not sorted correctly in the dossier dictionary
- sort entries and falsePositives and falseRecommendations in endpoint getDictionaryForType
- add junit tests
2023-06-21 13:57:37 +03:00
deiflaender
742d29c76a RED-6543: Fixed findings in license report 2023-06-21 09:37:15 +02:00
Corina Olariu
004fe8d0d2 RED-6734 - Get merged dossier and template dictionaries
- add endpoint for the merged dictionaries
- use DictionaryEntry from commons service
- add junit tests
2023-06-20 11:28:55 +03:00
Corina Olariu
afb22f4f52 Merge branch 'master' of ssh://git.knecon.com:22222/redactmanager/persistence-service into RED-6855 2023-06-19 10:31:46 +03:00
deiflaender
6380c3a3e0 RED-6916: Removed creation of dossier_redaction Dossier Dictionary at creat dossier 2023-06-16 12:32:20 +02:00
Corina Olariu
106a27ab9a Merge branch 'master' of ssh://git.knecon.com:22222/redactmanager/persistence-service into RED-6855 2023-06-16 11:12:35 +03:00
Corina Olariu
145f1d6200 RED-6855 - Setting for default dossier template manipulation for user actions
- add flag applyDictionaryUpdatesToAllDossiersByDefault to dossier template
2023-06-16 09:46:37 +03:00
deiflaender
699a451f29 RED-6543: Changed license report to new storage logic 2023-06-15 16:48:55 +02:00
Dominique Eifländer
a11c22112c Merge branch 'RED-6485_RED-6743' into 'master'
RED-6485 - Dossier-only entity setting in the dossier template, RED-6743 -...

Closes RED-6485

See merge request redactmanager/persistence-service!2
2023-06-14 10:44:08 +02:00
Corina Olariu
7d15f30ca7 RED-6072 - As Operation I want to see why files are in an ERROR state
- add timestamp to file error info
- reset error info when file is overwritten
2023-06-13 14:13:53 +03:00
Corina Olariu
a8d4c91733 RED-6485 - Dossier-only entity setting in the dossier template, RED-6743 - Create dossier dictionaries on-the-fly
- when getting DictionaryForType, create dossier level dictionary if it does not exists
2023-06-13 13:32:05 +03:00
Corina Olariu
c6cca6a2d3 RED-6485 - Dossier-only entity setting in the dossier template, RED-6743 - Create dossier dictionaries on-the-fly
- update junit tests
2023-06-12 09:51:01 +03:00
Corina Olariu
7029c3d7c4 RED-6485 - Dossier-only entity setting in the dossier template, RED-6743 - Create dossier dictionaries on-the-fly
- remove dossierId from the endpoints of creating, updating and deleting type.
- when a type is updated / deleted all dossier levels will be updated/deleted
- when adding / deleting entries check for dossier level types and create them if needed
- update junit tests
2023-06-09 20:28:39 +03:00
deiflaender
7beee690f5 RED-6798, RED-6751, RED-6545: Enabled to add delete entries, changed permissions for manual redactions, implemented logic for addToAllDossiers 2023-06-06 13:42:47 +02:00
Corina Olariu
a6894496b0 Pull request #701: RED-6485 - Dossier-only entity setting in the dossier template
Merge in RED/persistence-service from RED-6485 to master

* commit 'b9e6e63c2ff3b33319511760ec974e96f72b4658':
  RED-6485 - Dossier-only entity setting in the dossier template - add to flag to type entity to indicate if it is dossier dictionary only - prevent update of that flag - return the added information to dictionary and type result - update junit tests
2023-06-01 09:49:09 +02:00
devplant
b9e6e63c2f RED-6485 - Dossier-only entity setting in the dossier template
- add to flag to type entity to indicate if it is dossier dictionary only
- prevent update of that flag
- return the added information to dictionary and type result
- update junit tests
2023-05-31 18:37:14 +03:00
devplant
0592dd183f RED-6770 - Cannot overwrite dossierTemplate by import
- save the existing dossier template after the updated information
- update junit test
2023-05-31 13:16:59 +03:00
devplant
656b0719ba RED-6770 - Cannot overwrite dossierTemplate by import
- test junit
2023-05-30 09:28:44 +03:00
Corina Olariu
9a44ba7658 Pull request #694: RED-6072
Merge in RED/persistence-service from RED-6072 to master

* commit 'eff8eeaf03f76c12ca700ff4bb4f7688c291fab6':
  RED-6072 - As Operation I want to see why files are in an ERROR state - update junit tests
  RED-6072 - As Operation I want to see why files are in an ERROR state - add @Transactional for the update
  RED-6072 - As Operation I want to see why files are in an ERROR state - update the new endpoints with different path than the original endpoints
  RED-6072 - As Operation I want to see why files are in an ERROR state - set back the initial endpoints for backward compatibility
  RED-6072 - As Operation I want to see why files are in an ERROR state - update junit test
  RED-6072 - As Operation I want to see why files are in an ERROR state - add to file entity and models information about the error state - update endpoints with the error information in case of failure
2023-05-25 09:12:35 +02:00
Viktor Seifert
6a98c9229b RED-6777: Added a test for a dictionary update and delete with a large number of entries 2023-05-22 15:35:01 +02:00
devplant
eff8eeaf03 RED-6072 - As Operation I want to see why files are in an ERROR state
- update junit tests
2023-05-18 10:50:49 +03:00
Viktor Seifert
a8a612de55 RED-6770: Fixed lazy init exception in dossier template import by eagerly fetching the needed collection 2023-05-17 15:37:19 +02:00
devplant
1858e462e0 RED-6072 - As Operation I want to see why files are in an ERROR state
- update junit test
2023-05-17 10:10:51 +03:00
devplant
5bf42a6c60 RED-6072 - As Operation I want to see why files are in an ERROR state
- add to file entity and models information about the error state
- update endpoints with the error information in case of failure
2023-05-16 18:55:59 +03:00
Viktor Seifert
6165a5eea1 Merge branch 'master' into RED-6720 2023-05-05 14:49:42 +02:00
devplant
113947d216 RED-6034 - Possible to assign a file to unauthorized users
- update junit test
2023-05-04 10:29:15 +03:00
Viktor Seifert
740b9ba040 RED-6270: Repackaged incorrectly packaged dossier template and created dossier template import test that always runs (it does not have local dependencies) 2023-05-03 13:04:33 +02:00
Viktor Seifert
412b3fb3c8 Merge branch 'master' into RED-6270 2023-05-02 10:15:10 +02:00
Viktor Seifert
2bc2e48768 RED-6270: Changed batch execution to use the batch size provided by the configuration 2023-04-28 16:05:13 +02:00
Viktor Seifert
080014021b RED-6270: Implemented the adding of dictionary entries via batch updates to improve writing speed 2023-04-28 15:33:26 +02:00
devplant
6d9a62178d RED-6034 - Possible to assign a file to unauthorized users
- rework user provider
2023-04-28 15:26:17 +03:00
devplant
d9b589d8eb RED-6034 - Possible to assign a file to unauthorized users
- validate the assignee before triggering the under review state for the given file
- update junit tests
2023-04-27 13:33:24 +03:00
devplant
afb4075fdc RED-6289 - Validate watermark color
- validate the watermark color and in case of missing setting set the default one to black
- also set a default opacity in case the setting is an invalid one
2023-04-25 11:54:20 +03:00
Timo Bejan
534efa138d Pull request #673: RED-3800 fix permissions
Merge in RED/persistence-service from RED-3800-fix-permissions to master

* commit '4b941397df3d4de38923569ac983f0c35d9276dd':
  RED-3800 - sync custom permissions and KC users based on CRON and do it more often
2023-04-24 09:18:34 +02:00
Timo Bejan
4b941397df RED-3800 - sync custom permissions and KC users based on CRON and do it more often 2023-04-21 12:44:09 +03:00
Viktor Seifert
f4c53c722e RED-6467: Remove debug config and add some debugging output 2023-04-19 17:31:16 +02:00
Viktor Seifert
fd03adefd6 RED-6467: Added config to see more information about transactions in the logs 2023-04-19 12:35:05 +02:00
Viktor Seifert
9295725adc RED-6467: Expanded dossier-template import (integration) test to use the client, to test the complete code flow 2023-04-18 15:58:21 +02:00
Viktor Seifert
225bdd5500 RED-6467: Upgrade test db version to the same version as in production 2023-04-18 12:00:47 +02:00
Viktor Seifert
c4648fa9fb RED-6467: Implemented undeletion of dictionary entries by running a native query in chunks.
This avoids a limitation in the JDBC driver.
2023-04-13 15:34:07 +02:00
Viktor Seifert
b14d56195e RED-6467: Fix test by using a comparison method that is not dependent on a specific sorting being provided by the client 2023-04-11 16:14:19 +02:00
Viktor Seifert
45d23e3ff4 Merge branch 'master' into RED-6501 2023-04-05 12:07:09 +02:00
Viktor Seifert
e3dbd3ea1d RED-6501: Re-added a simpler manual definition of deletion methods.
They are needed to prevent exceptions in the case of non-existing entities
2023-04-05 11:22:49 +02:00
Corina Olariu
4c3e116447 Pull request #657: RED-5504
Merge in RED/persistence-service from RED-5504 to master

* commit '663770bf9b262c30af3f5c9ccf034bea65100dc2':
  RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants - remove tenantsHostAndSchemaMap - update junit test
  RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants - update junit test
  RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants - add junit test
  RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants - add unique constraints to tenants table
2023-04-04 14:21:46 +02:00
devplant
663770bf9b RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants
- remove tenantsHostAndSchemaMap
- update junit test
2023-04-04 14:43:20 +03:00
deiflaender
1d759c8e30 RED-4515: Reimplemented datasource cache 2023-04-04 10:47:37 +02:00
deiflaender
3e1157f85f RED-4515: Enabled to set tenant connection pool size 2023-04-04 09:00:09 +02:00
devplant
de8d1178e7 RED-5504 - Prevent using exact same database schema/buckets/index for multiple tenants
- update junit test
2023-04-03 12:04:57 +03:00