Commit Graph

1676 Commits

Author SHA1 Message Date
kobergj 1906059ef0 Merge pull request #8374 from owncloud/new_collaboration_service
feat: add new collaboration service (WOPI)
2024-04-29 13:56:10 +02:00
Viktor Scharf 836fcc5433 user deletes own access of the space (#8986) 2024-04-29 11:59:08 +02:00
Phil Davis 6aff09530e Merge pull request #8982 from owncloud/acceptance-test-code-review
[tests-only] code review of acceptance tests
2024-04-29 14:39:28 +05:45
Salipa Gurung 6696d5c226 change given step using SharingNG for share in downloadBypath file (#8990) 2024-04-29 14:28:01 +05:45
Phil Davis 86b931f176 tests: code review of acceptance tests 2024-04-29 13:47:08 +05:45
Jannik Stehle 1aeb30193a feat: add secure view share role
Adds a new share role "Secure View". This role is applicable for files, folders and spaces and only allows viewing them (and their content).
2024-04-29 09:42:31 +02:00
Prarup Gurung 7bb178bb1f Added tests for enabling share sync with not shared resource id (#8991) 2024-04-29 12:58:31 +05:45
Sagar Gurung 3a553aebcb [tests-only][full-ci] List permission and share a project space with allowed roles (#8959)
* List permission and share a project space with allowed roles

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Review addres

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-04-29 12:54:51 +05:45
nirajacharya2 ec7938946e adding tests for sharing a folder inside project space with all allowed roles from list permissions response (#8940) 2024-04-29 09:35:06 +05:45
Prarup Gurung f7fb0bc591 [full-ci] [tests-only] Added tests for enabling share sync with empty resource id (#8963)
* Added tests for enabling share sync with empty resource id

* Addressed reviews
2024-04-26 14:20:59 +05:45
Thomas Müller bdbba929d0 feat: add CSP and other security related headers in the oCIS proxy service (#8777)
* feat: add CSP and other security related headers in the oCIS proxy service

* fix: consolidate security related headers - drop middleware.Secure

* fix: use github.com/DeepDiver1975/secure

* fix: acceptance tests

* feat: support env var replacements in csp.yaml
2024-04-26 09:10:35 +02:00
Amrita edd3ac2ad0 [tests-only][full-ci]Add tests for share invite on drives root (#8850)
* add tests for root share invite

* add more tests scenarios
2024-04-26 08:41:26 +02:00
Salipa Gurung f26de59b3a change given step using SharingNG for share (#8965) 2024-04-25 18:46:05 +05:45
Prajwol Amatya 5acba455dc added test for group user downloading shared resource inside project space when auto sync is disabled (#8945) 2024-04-25 18:43:11 +05:45
Sawjan Gurung e09f94f2cc [tests-only] extend list sharedbyme API tests coverage (#8964)
* test: extend  list sharedwithme tests

* test: organize scenarios

* test: organize scenarios
2024-04-25 17:40:01 +05:45
nirajacharya2 baaf63015e adding test for listing permission of a project drive by a member with viewer permission (#8910) 2024-04-25 12:26:07 +05:45
nirajacharya2 30cb3729d4 adding test for listing permission of project space by a user who is not a member of the space (#8927) 2024-04-24 18:07:31 +05:45
Prajwol Amatya 78ba483784 added test for sharee downloading resource inside project space when auto sync is disabled (#8944) 2024-04-24 16:25:13 +05:45
nirajacharya2 c2ab6666a5 adding tests for sharing a file inside project space with all allowed roles from list permissions response (#8933) 2024-04-24 09:58:07 +05:45
Viktor Scharf 1acd7bbf7e remove members from space. more tests (#8920) 2024-04-23 08:29:34 +02:00
Prarup Gurung d0dd6c8d85 Merge pull request #8875 from owncloud/issue-8724-coverage
[tests-only][full-ci] adding test for enabling sync of non-existent resource
2024-04-22 17:03:02 +05:45
Viktor Scharf 13ee2d93aa delete php string deprication (#8911) 2024-04-22 11:20:00 +02:00
Niraj Acharya 96c9c16f91 adding test for trying to enable sync with invalid remote item id 2024-04-22 14:38:57 +05:45
Sabin Panta e861512f15 updated php version to 8.2 (#8903) 2024-04-19 15:17:15 +05:45
Sawjan Gurung 2f32fa3e36 [tests-only] do not try to delete already deleted groups (#8886)
* fix(test): do not try to delete already deleted groups

* test: remove redundant steps

* test: fix php code style

* fix typo
2024-04-18 17:28:38 +05:45
Viktor Scharf 2e8708816f remove access to drive tests (#8879) 2024-04-18 11:46:19 +02:00
Amrita da656cb8f7 add tests for list permissions using root endpoint (#8824) 2024-04-18 15:17:51 +05:45
Juan Pablo Villafáñez 7ebccea19c ci: run wopi validator against both cs3 and builtin servers 2024-04-17 15:54:51 +02:00
nirajacharya2 ed79f3e012 removing usage of a stepdefination inside another stepdefination in PublicWebDavContext (#8813) 2024-04-17 17:17:44 +05:45
nirajacharya2 8556318809 removing usage of a stepdefination inside another stepdefination in WebDavPropertiesContext (#8745) 2024-04-17 16:50:33 +05:45
Viktor Scharf b51ba47e01 check email in the search sharee request (#8861) 2024-04-17 11:42:09 +02:00
Sagar Gurung 0972b7cc12 [tests-only][full-ci]Added tests for sharing with all allowed roles for the list permissions (#8477)
* Added tests for sharing with all allowed roles for the list permissions

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Refactor code

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Rebase and refactor code

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Review address

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* Rebase code

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-04-17 12:00:52 +05:45
nirajacharya2 b0a7f744c5 adding test for listing filae and folder permissions in personal and project space (#8476) 2024-04-16 18:22:03 +05:45
Jannik Stehle 458f32b409 [full-ci] chore: bump web to v9.0.0-alpha.5 (#8868)
* chore: bump web to v9.0.0-alpha.5

* try to fix sharedWithMe test

---------

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2024-04-16 11:54:03 +02:00
Roman Perekhod cd539311a5 fix unmount item from share 2024-04-15 14:43:13 +02:00
Sabin Panta d13088c909 added test for enable disable share shared by project space to group (#8796) 2024-04-15 09:29:23 +05:45
Ralf Haferkamp 9ca9b78b2b fix(sharing-ng): Adapt role conditions to match resource types
This switches our hardcode unfied role conditions to better reflect what
we're actually using them before. The new conditions also allow to differentiate
between roles elgitible for files, folders or drive roots.
Which means that the `/permissions` endpoint is now able to populate the
`roles.allowedValues` field with the correct roles for type of the resource
it is called for.

Fixes: #8331
2024-04-12 10:09:13 +02:00
Sabin Panta 7b82c30cd9 adding test for enable and disable share resource from project folder (#8789) 2024-04-11 15:36:47 +05:45
Viktor Scharf 81bf10b577 [test-only] remove user/group from space (#8826)
* remove user/grop from space

* fix after review
2024-04-11 09:20:00 +02:00
nirajacharya2 e253ad0a29 removing usage of a stepdefination inside another stepdefination in TagContext (#8758) 2024-04-11 09:56:41 +05:45
nirajacharya2 cb8109dc8f removing usage of a stepdefination inside another stepdefination in TrashbinContext (#8755) 2024-04-11 09:56:27 +05:45
Sabin Panta 15d6a854dc changed wording of mount unmount to enable and disable sync (#8786) 2024-04-10 12:53:19 +05:45
Sabin Panta d7ad04c549 [tests-only][full-ci]adding scenerio for enable and disable sync feature in group share (#8734)
* adding scenerio for mount unmount feature in group share

* addressing review
2024-04-05 12:20:09 +05:45
nirajacharya2 8f290ce2ea removing usage of a stepdefination inside another stepdefination in TUSContext (#8753) 2024-04-05 11:31:46 +05:45
Prajwol Amatya 5d06d5dce5 added test to check id from shareWithMe and PROPFIND response (#8767) 2024-04-05 09:06:04 +05:45
Ralf Haferkamp c6d28caa31 refactor(graph): move "Invite" to new drive item permissions service
This introduces the new DriveItemPermissionsService and DriveItemPermissionsApi to
allow for better separation of the business logic and the API handling.

As a starting point the Invite method was moved to the new service. More to follow.
2024-04-04 16:17:59 +02:00
nirajacharya2 0272f94373 removing usage of a stepdefination inside another stepdefination in WebDavLockingContext (#8746) 2024-04-04 10:38:37 +05:45
Nalem7 cfd235068d add test for downloading resouces by group user when auto sync is disabled (#8754) 2024-04-04 10:00:29 +05:45
Saw-jan f61faea06c test(api): update expected failure lines 2024-04-03 14:33:27 +05:45
Saw-jan e0364e8bbe test(api): split search user tests 2024-04-03 14:33:14 +05:45