* test:start auth-bearer service separately instead of via OCIS_ADD_RUN_SERVICES
* test: fix timezone-dependent expiry assertions and flaky email notification
* test: simplify host timezone detection and log the UTC fallback
* test: oonly run cli commands test suite
* test: run all suites
* test: resolve the expiry timestamp in the timezone the mail was sent in
* test: inline the UTC expiration date conversion and drop the helper
* test: simplify the mail timezone formatter and restore the CI coverage guard
Adds a new space membership role "Can edit" that allows creating, uploading,
downloading, editing, moving and deleting on a space without access to file
versions or the trashbin. Also bumps reva to include the corresponding role
constructor.
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Previously, the search service would limit the search
to the according space when searching `/dav/spaces/`.
This was not correct, as the search should be limited
to the according space when a `scope` is passed in the search pattern instead.
The file post processing logic for virus seems correct.
Test seems to have correct expectations.
The reason for random fails can be timing of results propagation.
Test CI output:
Scenario: list all upload sessions that are currently in postprocessing # /drone/src/tests/acceptance/features/cliCommands/uploadSessions.feature:25
Given the following configs have been set: # OcisConfigContext::theConfigHasBeenSetToValue()
| config | value |
| POSTPROCESSING_STEPS | virusscan |
| ANTIVIRUS_INFECTED_FILE_HANDLING | abort |
And user "Alice" has uploaded file "filesForUpload/filesWithVirus/eicar.com" to "/virusFile.txt" # FeatureContext::userHasUploadedAFileTo()
And the config "POSTPROCESSING_DELAY" has been set to "10s" # OcisConfigContext::theConfigHasBeenSetTo()
And user "Alice" has uploaded file with content "uploaded content" to "/file1.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
And user "Alice" has uploaded file with content "uploaded content" to "/file2.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
When the administrator lists all the upload sessions with flag "processing" # CliContext::theAdministratorListsAllTheUploadSessions()
Then the command should be successful # CliContext::theCommandShouldBeSuccessful()
And the CLI response should contain these entries: # CliContext::theCLIResponseShouldContainTheseEntries()
| file1.txt |
| file2.txt |
And the CLI response should not contain these entries: # CliContext::theCLIResponseShouldContainTheseEntries()
| virusFile.txt |
The resource 'virusFile.txt' was found in the response.
Failed asserting that true is not true.