Commit Graph
48 Commits
Author SHA1 Message Date
Julian Koberg c04811347f feat(graph): [OCISDEV-807] add SpaceEditorWithoutVersionsWithoutTrashbin role
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>
2026-04-23 15:21:28 +02:00
Michal KlosandDeyan Zhekov 5e96cbc17e [backport] feat: [OCISDEV-732] acceptance test (#12143) to stable-8.0.0 (#12236)
* feat: [OCISDEV-732] acceptance test  (#12143)

* feat: acceptance test - graph

* feat: acceptance test - graph

* feat: acceptance test - graph

* fix: remove drone

* feat: run each behat suite as a separate worker

* feat: rename

feat: [OCISDEV-740] acceptance test, coverage P0

feat: [OCISDEV-743] build and unit test

ci: [ocisdev-730] code quality

feat: [OCISDEV-741] local-api-test part 2

feat: [OCISDEV-741] local-api-test, apiSpaces

feat: [OCISDEV-744] cli-test

feat: [OCISDEV-741] local-api-test, apiCollaboration

# Conflicts:
#	.github/workflows/acceptance-tests.yml
#	tests/acceptance/run-github.py

feat: [OCISDEV-741] integration

feat: [OCISDEV-744] build-and-test, lint

feat: [OCISDEV-744] e2e-test

# Conflicts:
#	.github/workflows/acceptance-tests.yml

feat: [OCISDEV-744] fix apiSearch2 test suite

* test [OCISDEV-744]: Run apiSearch2 test suite

* Added php8.4-gd to all 4 PHP install lines

* test [OCISDEV-744]: Enable all commented tests

* test [OCISDEV-744]: Fixed failings

* test [OCISDEV-744]: Fixed failings

feat: [OCISDEV-744] fix apiOcm test suite

* test [OCISDEV-744]: fix apiOcm tests

* test [OCISDEV-744]: remove redundant .sh files

* test [OCISDEV-744]: remove run-e2e.sh. Fix DRY vialation in run-github.py

* test [OCISDEV-744]: documentation fixes

---------

Co-authored-by: Deyan Zhekov <deyan.zhekov@kiteworks.com>

fix: [OCISDEV-730] actions compliance (#12187)

feat: [OCISDEV-786] Split coreApiSharees and coreApiSharePublicLink2 (#12196)

feat: [OCISDEV-779] reduce ci duration, libcurl (#12193)

* feat: [OCISDEV-779] reduce ci duration, libcurl

* feat: [OCISDEV-779] reduce ci duration, libcurl

* feat: [OCISDEV-779] reduce ci duration, libcurl

* feat: [OCISDEV-779] reduce ci duration, libcurl

feat: [OCISDEV-792] reduce ci duration, build-and-run (#12204)

* feat: [OCISDEV-792] reduce ci duration, build-and-run

* feat: [OCISDEV-792] reduce ci duration, build-and-run

* feat: [OCISDEV-792] reduce ci duration, pre-check

* feat: [OCISDEV-792] reduce ci duration, pre-check

* feat: [OCISDEV-792] reduce ci duration, pre-check

* feat: [OCISDEV-792] reduce ci duration, pre-check

* feat: [OCISDEV-792] reduce ci duration, pre-check

fix: ci, govulncheck stderr (#12219)

* fix: ci, govulncheck stderr

* fix: ci, litmus flakines

feat: [OCISDEV-779] reduce CI duration, PHP-version (#12217)

* feat: [OCISDEV-779] reduce CI duration, php-version

* feat: [OCISDEV-779] fix flaky test in apiSharingNgShares

* feat: [OCISDEV-779] fix flaky preview comparison

* feat: [OCISDEV-779] fix flaky preview comparison

* feat: [OCISDEV-779] replace manual PHP installation with shivammathur/setup-php action

* feat: [OCISDEV-779] fix Pre-checks and generate step

* feat: [OCISDEV-779] fix flaky preview comparison

* feat: [OCISDEV-779] fix failing test

---------

Co-authored-by: Michal Klos <michal.klos@kiteworks.com>

* feat: post rebase fix

* feat: post rebase fix

* feat: post rebase fix
2026-04-21 09:43:54 +02:00
kobergj f983d554da Merge pull request #11898 from kobergj/FixSharingRoles
[OCISDEV-569] Fix Sharing-Roles
2026-01-22 12:54:49 +01:00
Michal Klos 81df263d27 fix: flaky cli test (#11947) 2026-01-22 10:51:06 +01:00
Julian Koberg 20a831f4f0 fix: adjust test to new wording
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-01-21 15:16:46 +01:00
Ashim Shrestha 9013b4e724 Merge pull request #11010 from owncloud/test/test-for-flaky-share-expire-step
[tests-only][full-ci] Test for share expiration grouped emails
2025-11-05 17:29:49 +05:45
Ashim Shrestha 5c9924cd61 test: update step for resource expiration 2025-11-05 16:56:25 +05:45
Niraj Acharya 7a8ec7d0db test: add test to delete personal space 2025-10-31 11:54:01 +05:45
pradip 77a031527a test: add flaky step for resource expiration 2025-10-31 10:10:19 +05:45
Lukas Hirt a917473ee8 fix: [OCISDEV-330] limit search only when scope is passed
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.
2025-09-24 10:47:11 +02:00
Niraj Acharya 77ec7d1559 test: run tests on kubernetes with ociswrapper 2025-09-05 12:28:06 +05:45
Nalem7 76b55d5775 Merge pull request #11575 from owncloud/tests/unified-roles
[test-only][full-ci] add tests on cli command for listing unified roles
2025-08-18 12:18:58 +05:45
Nalem7 d06ca73781 Merge pull request #11597 from owncloud/tests/postprocessing-cli-command
[tests-only][full-ci] add tests for postprocessing cli command
2025-08-15 15:44:59 +05:45
nabim777 07c02a6dec add tests for postprocessing cli command
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2025-08-15 12:40:17 +05:45
nabim777 7e06756924 add tests for resume specific failed upload using cli
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2025-08-13 14:59:10 +05:45
Prajwol Amatya b4801f0bc7 add test for restart expired upload session 2025-06-20 12:22:55 +05:45
Saw-jan b64384a205 test: refactor upload expired cli test scenario
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 10:31:27 +05:45
Saw-jan 795f1fa6c8 test: fix restarting upload sessions
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-19 09:31:17 +05:45
Prajwol Amatya d5f7f233dd resume all uploads sessions 2025-06-16 11:31:53 +05:45
Saw-jan 24da404bb2 test: cleanup search data on each scenario
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-06-13 17:36:47 +05:45
amrita c262bbdfa5 add tests for puring all expired trashe resources 2025-06-04 09:27:09 +05:45
amrita-shrestha 2a6bc483fa add tests for restoring specific and all trashed resource all once 2025-05-23 13:02:11 +05:45
amrita-shrestha ddde07c734 add tests for listing trash resourced 2025-05-22 09:50:10 +05:45
amrita 6c9a98a7c4 add cli tests for listing stale upload 2025-05-08 16:07:45 +05:45
Michal Klos 84564e1b9a fix: test, file postprocessing flakyness
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.
2025-04-02 13:54:50 +02:00
Niraj Acharya ff68659b4e adding test for trying to create auth app-token without expiry using cli 2025-03-28 12:03:25 +05:45
pradip 1848e43f08 tests: grouped email notification using CLI command 2025-03-06 17:14:02 +05:45
Niraj Acharya b5e5d9414c adding test for trying to create auth app-token for other user without impersonation env 2025-02-18 09:06:12 +05:45
Niraj AcharyaandPrashant Gurung 55d59d5b79 adding test for deleting auth token using cli
Co-authored-by: Prashant Gurung <53248463+prashant-gurung899@users.noreply.github.com>
2025-02-10 12:12:23 +05:45
Niraj Acharya 558839faa6 adding test for creating auth token for an app using cli 2024-12-24 09:56:07 +05:45
Niraj Acharya c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
prashant-gurung899 e40015c2e2 add test to upload via TUS by federated user
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-11-22 09:47:08 +05:45
Niraj Acharya 4dea245f80 adding test coverage for backup consistency 2024-11-07 10:32:35 +05:45
Prajwol Amatya f3f53a27d9 added test to clean upload sessions that are not in postprocessing and not infected by virus 2024-10-24 15:19:25 +05:45
Prajwol Amatya 0a12fd9834 add test to clean upload sessions that are not processing 2024-10-22 12:49:30 +05:45
Saw-jan f86d137f87 test: make remote.php configurable
test: build dav paths

test: fix paths

test: merge method args

test: add issue tags

test: add new expected failure file

test: merge expected-failure files before running tests
2024-10-21 16:57:58 +05:45
Prajwol Amatya 4475d1efc0 add test to restart upload sessions 2024-10-15 14:41:25 +05:45
Prajwol Amatya c836695209 add tests for cli command uploads sessions 2024-10-08 12:09:53 +05:45
Sabin 381506ed86 cli test for delete empty trash bin directory 2024-07-25 09:36:00 +05:45
prashant-gurung899 89ca45bc80 add test to remove versions of files from space using space id
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-07-19 14:07:29 +05:45
ishabaral a78d501fc0 search: reindex command for all spaces 2024-07-19 10:15:11 +05:45
Sabin 52a0c346c3 added test for updating admin password via cli 2024-07-18 12:07:54 +05:45
prashant-gurung899 22be9de42c add test to remove versions of a file using file id
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-07-18 10:33:46 +05:45
prashant-gurung899 7b4a92c22a add test to remove versions using CLI command
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-07-16 15:31:38 +05:45
Sawjan Gurung 4696417a1f Merge pull request #9578 from owncloud/backup-consistency-cli-test
[tests-only][full-ci]adding test for backup consistency cli command
2024-07-11 15:25:52 +05:45
Niraj Acharya 735b24fff5 adding test for backup consistency cli command 2024-07-11 12:28:52 +05:45
Sabin 3095d843b8 added cli test for changing password of non-existing user 2024-07-11 09:39:57 +05:45
Saw-jan 9e6b6bc0f3 test: run cli test suites 2024-07-09 11:48:03 +05:45