Commit Graph

1590 Commits

Author SHA1 Message Date
Sabin Panta db281c4257 changing given step of creating link share in feature file (#9019) 2024-05-03 09:36:14 +05:45
nirajacharya2 9db4c51572 removing usage of a stepdefination inside another stepdefination in Provisioning (#8892) 2024-05-02 15:36:03 +05:45
Sabin Panta 5e449f8a67 changing given step of creating share in feature file (#9023) 2024-05-02 14:52:18 +05:45
nirajacharya2 8ab24595b1 removing usage of a stepdefination inside another stepdefination in OcisConfigContext.php (#9021) 2024-05-02 14:40:41 +05:45
Salipa Gurung 70e2c75831 change given step for sharing space in apiDownloads (#9027) 2024-05-02 14:38:50 +05:45
Sawjan Gurung 5c7c363e2b [tests-only] add API tests for file download and rename edge cases (#9018)
* test: add API tests to download deleted file

* test: add more MOVE/rename API tests

* do not reuse step def method

* remove unused step

* fix typo

* fix tests

* update expected failure

* update expected failure
2024-05-02 12:21:35 +05:45
Prarup Gurung 77a87e5d10 Merge pull request #9017 from owncloud/changing-given-statement-to-graph-api
[tests-only][full-ci]change given step from ocs to graph
2024-04-30 17:01:05 +05:45
Prarup Gurung a3579eed99 [full-ci] [tests-only] Use sharingNG for sharing in given step (#9016)
* Use sharingNG for sharing in given step

* Removed from expected failures
2024-04-30 16:28:48 +05:45
Sabin Panta 6ac17a9155 updating antivirus feature file (#9024) 2024-04-30 16:28:23 +05:45
Sawjan Gurung bf1d18951e test: add API tests to search user/group with special chars (#9015) 2024-04-30 13:12:09 +05:45
Sawjan Gurung c0f92f85f3 [tests-only] extend list sharedwithme API tests coverage (#8967)
* test: extend list sharedwithme tests

* test: organize scenarios

* test: extend list sharedwithme tests - same name shares

* refactor json schema
2024-04-30 12:50:03 +05:45
Sabin 070cccf609 change given step from ocs to graph 2024-04-30 12:32:41 +05:45
Sabin Panta 8b9d5da7ec [tests-only][full-ci] changed given statement of sharing link in api antivirus feature file (#8914)
* changed given statement of sharing link in api antivirus feature file

* updated scenerio of uploading virus inside public share

* added step defnitin for uploading file via public link
2024-04-30 12:26:21 +05:45
nirajacharya2 34b13f96e8 adding test for listing permission of a project drive by a member with viewer permission (#8910) (#8932) 2024-04-30 12:11:23 +05:45
Sagar Gurung f962cbba09 Extend ShareNg test for updating share permission for project space (#8913)
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-04-30 09:19:45 +05:45
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
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