516 Commits

Author SHA1 Message Date
Viktor Seifert
338b06079b RED-6497: Fixed issue where the file-size of download was saved incorrectly.
* Changed the update to the DownloadStatusEntity to use the entity object instead of using a query on JPA-repo.  This prevents values from the object being incorrectly inserted otherwise.
* Extended the DownloadPreparationTest to check the resulting download state and file size.
2023-03-31 12:00:42 +02:00
Viktor Seifert
6e9bcd7bb1 RED-6497: Changed code to use a different method of getting a file size to have better error reporting 2023-03-31 11:49:05 +02:00
Viktor Seifert
8ef9a285b3 RED-6497: Removed alternate file size check because it offers less error reporting capabilities 2023-03-31 11:48:32 +02:00
deiflaender
c536e129c3 RED-4644: Simplified user creation in AbstractPersistenceServerServiceTest 2023-03-28 09:25:40 +02:00
deiflaender
6201c042f0 RED-6503: Do not override ocred pages on ocr successful, fixed unittest 2023-03-28 09:12:45 +02:00
deiflaender
44ec59c992 RED-4644: Enabled to create default users at createTenant 2023-03-27 13:16:21 +02:00
deiflaender
a20ed3a6af RED-4515: Fixed wrong setting of resource 2023-03-24 18:09:36 +01:00
deiflaender
8a0591d4b9 RED-4515: Create schema on createTenant 2023-03-24 15:26:09 +01:00
deiflaender
94aa4287ba RED-4515: Rename master realm client to redaction as this make configuration much easier 2023-03-24 13:18:56 +01:00
deiflaender
09291ea39d RED-4515: Fixed kc config 2023-03-24 09:17:02 +01:00
Timo Bejan
336a34a55e RED-4515 - kc createRealm 2023-03-23 17:29:13 +02:00
Timo Bejan
883ecf6461 RED-4515 - kc createRealm 2023-03-23 17:24:34 +02:00
Timo Bejan
91efd63311 RED-4515 - kc createRealm 2023-03-23 17:24:34 +02:00
deiflaender
e69a988e39 RED-4515: Create realm on create tenant 2023-03-23 17:24:34 +02:00
devplant
274e82f799 RED-6216- Allow add-to-dict for expressions consisting of less than 2 characters
- update junit test
2023-03-21 15:24:03 +02:00
devplant
c0b01d202b RED-6216- Allow add-to-dict for expressions consisting of less than 2 characters
- remove limitation of at least 2 characters for expression
- add to stopwords all ascii printable characters (lower case)
2023-03-21 15:02:11 +02:00
deiflaender
d392c1dae7 RED-6224: Enabled multitenancy for user cache 2023-03-21 12:28:36 +01:00
deiflaender
ef859f527d RED-4515: Removed workarounds that set default tenant if no tenant is available 2023-03-16 12:07:09 +01:00
Viktor Seifert
ac5406291a RED-6310: Fixed and cleaned up test after the merge from release 3.6 2023-03-14 16:17:23 +01:00
Viktor Seifert
1e2388dcae RED-6310: Updated test for download preparation test to execute all preparation steps.
Previously the last step was not executed.
2023-03-14 14:07:19 +01:00
deiflaender
eb2580e842 RED-4645: Multitenancy for storage 2023-03-10 15:16:03 +01:00
Timo Bejan
273563076b RED-5255 - ported to merged version 2023-03-10 13:24:39 +02:00
Timo Bejan
2126073c59 RED-6162 - test fixes 2023-03-10 10:56:58 +02:00
Timo Bejan
47e0e16fd9 RED-6162 - redis test container 2023-03-10 10:47:41 +02:00
Timo Bejan
72b0a3d933 RED-6162 2023-03-10 08:58:51 +02:00
Viktor Seifert
dcc83474e6 Pull request #616: RED-6310
Merge in RED/persistence-service from RED-6310 to master

* commit '45bd8e600328ce85c8457525b605da2c16dd70c8':
  RED-6310: Moved code to create user-preferences to a separate class so that the calling code can handle a persistence exception
  RED-6310: Corrected services so that they use the user id instead of wrongly using the entity id
  RED-6310: Moved code for multithreaded tests to a helper class
  RED-6310: Removed not needed code from test
  RED-6310: Added setup of tenant id to fix the service test
  RED-6310: Added tests to check if concurrent access to notification-preferences works
  RED-6310: Refomatted sql query for readability
2023-03-08 09:32:53 +01:00
deiflaender
ec7ad9a0e8 RED-6254: Store all connection information in master database 2023-03-07 16:51:00 +01:00
Viktor Seifert
40d6961742 RED-6310: Moved code for multithreaded tests to a helper class 2023-03-07 11:36:44 +01:00
Viktor Seifert
fd7f39bc7e RED-6310: Removed not needed code from test 2023-03-07 10:57:33 +01:00
Viktor Seifert
b1d79970c0 RED-6310: Added setup of tenant id to fix the service test 2023-03-07 10:53:47 +01:00
Viktor Seifert
ef36f5c10f RED-6310: Added tests to check if concurrent access to notification-preferences works 2023-03-06 18:58:07 +01:00
devplant
c735a5d0ef RED-4988- Check jacoco version in poms and update to a current compatible version
- update junit test
2023-03-01 15:57:18 +02:00
devplant
9b5c6b876e RED-4988- Check jacoco version in poms and update to a current compatible version
- update junit failure
2023-03-01 14:59:51 +02:00
devplant
119c5aeb33 RED-4988- Check jacoco version in poms and update to a current compatible version
- update junit test failure
2023-03-01 14:51:41 +02:00
devplant
ec002c399b RED-4988- Check jacoco version in poms and update to a current compatible version
- update junit test
2023-03-01 14:47:18 +02:00
devplant
dc1ccebcbe RED-4988- Check jacoco version in poms and update to a current compatible version
- update junit tests from 4 to 5
2023-03-01 14:38:44 +02:00
Timo Bejan
00a6b2f075 RED-4188 added timed dependencies and metric for calculateFlags since this method is calld several times per file each time something happens inside it 2023-02-09 12:54:36 +02:00
devplant
c3477d78e1 RED-6105 - Cannot import exported specific Dossier Template
- add the compression ratio threshold constant as an environment value
- add a junit test with threshold ratio surpassed
2023-02-02 16:07:29 +02:00
Timo Bejan
1ba979a257 RED-5883 - duplicate dossier fix 2023-01-27 18:03:08 +07:00
devplant
b8653ce0ba RED-5784 - As the admin I want to configure the applied redaction color
- update junit tests
2023-01-25 15:07:31 +02:00
deiflaender
20b2e13abb RED-5785: Removed restriction for watermarks to contain only ASCII chars 2023-01-25 10:34:18 +01:00
devplant
51db508448 RED-5784 - As the admin I want to configure the applied redaction color
- add new color to the colors list (applied redaction color)
- send the color to the message queue for download package
2023-01-20 13:08:43 +02:00
devplant
09fc65541f RED-5724 - Pressing Reanalyze-Button should reset processing_error_counter
- reset the counter in state of REPROCESS
2023-01-16 12:43:23 +02:00
Philipp Schramm
fb98380543 RED-5608: Ocr is only possible for processed files 2023-01-05 14:08:54 +01:00
Viktor Seifert
6d28dac9cf RED-5479: Added preview-color field to download.
The field value will be used for preview-redaction as an override for the default value.
2022-12-05 13:25:50 +01:00
Viktor Seifert
b890b2b171 RED-5479: Deleted mocking of endpoints that are no longer available 2022-12-02 16:43:58 +01:00
Viktor Seifert
0b7f3d1c0e RED-5670: Changed temp file creation so that it works on any OS, not just on Unix/Linux 2022-11-28 15:02:28 +01:00
devplant
54fcb5076b RED-4543 - In fileAttributesController, support ASCII and ISO as Encoding Type
- add column encoding to file attribute config
- update junit tests
2022-10-27 17:14:08 +03:00
devplant
b5573ac9d5 RED-5403 - Dossier Template export and import
- merge master into
2022-10-18 09:54:27 +03:00
Philipp Schramm
6a763e0575 RED-5232: Formatted service with latest styleguide 2022-10-17 14:43:45 +02:00