Commit Graph
23044 Commits
Author SHA1 Message Date
Jörn Friedrich Dreyer cd10209bb6 always select the next clients when autoaccepting shares
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-03-04 16:30:01 +01:00
nirajacharya2 28d53fee78 adding test for listing permission of a project space (#8551) 2024-03-04 16:54:01 +05:45
Martin a2e173f637 Merge pull request #8566 from owncloud/backport/deprecate-store-env-vars
Backport deprecate store env vars #8557 to stable 5
2024-03-04 11:51:01 +01:00
Jörn Friedrich Dreyer 4126e2304c deprecate store env vars
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-03-04 09:44:33 +01:00
nirajacharya2 3b79c1c40a adding test for deleating sharer and listing sharedwithme by the sharee (#8520) 2024-03-04 13:07:06 +05:45
Phil Davis 43ab97e707 Merge pull request #8562 from owncloud/port/prs-8547-8540
[tests-only] Port pr #8547 and #8540
2024-03-04 11:59:15 +05:45
Sawjan Gurung af980639be [tests-only][full-ci] Add option to check ocis connection by authenticating user (#8540)
* Revert "use capabilites in ociswrapper"

This reverts commit 0768723c89.

* tests: check ocis connection with basic auth when provided

* ci: check ocis connection with admin basic auth

* list all ocis services

* list services with timeout

* ci: check ocis connection with admin basic auth

* list all ocis services
2024-03-04 10:10:48 +05:45
Viktor Scharf 2afb9793d0 [test-only] send notification to the rocket talk infinitescale channel (#8547)
* send notification to the matrix channel

* delete triggers
2024-03-04 10:10:44 +05:45
Martin 62ccb69224 Merge pull request #8557 from owncloud/deprecate-store-env-vars
deprecate store env vars
2024-03-01 16:01:53 +01:00
Jörn Friedrich Dreyer 4217a87829 deprecate store env vars
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-03-01 15:08:25 +01:00
Jörn Friedrich Dreyer 7750b62c52 Merge pull request #8556 from owncloud/backport/udate_added_envvar_table
Updates the added envvar lists because of changes in the store service
2024-03-01 14:58:56 +01:00
Sawjan Gurung 58c083d311 [tests-only][full-ci] Add option to check ocis connection by authenticating user (#8540)
* Revert "use capabilites in ociswrapper"

This reverts commit 0768723c89.

* tests: check ocis connection with basic auth when provided

* ci: check ocis connection with admin basic auth

* list all ocis services

* list services with timeout

* ci: check ocis connection with admin basic auth

* list all ocis services
2024-03-01 14:54:09 +01:00
mmattel 7018618d72 Updates the added envvar lists because of changes in the store service 2024-03-01 14:52:51 +01:00
Jörn Friedrich Dreyer 37e3ec2171 Merge pull request #8555 from owncloud/udate_added_envvar_table
[docs-only] Updates the added envvar lists because of changes in the store service
2024-03-01 14:22:49 +01:00
mmattel 1c8b0d8443 Updates the added envvar lists because of changes in the store service 2024-03-01 14:14:17 +01:00
nirajacharya2 fb1d93342c adding test for sharedWithMe endpoint for resource in project space (#8292) 2024-03-01 15:36:51 +05:45
Viktor Scharf a77f121c89 [test-only] send notification to the rocket talk infinitescale channel (#8547)
* send notification to the matrix channel

* delete triggers
2024-03-01 10:28:26 +01:00
Roman Perekhod d33935c257 Merge pull request #8550 from 2403905/bump_reva_v2.19.1
[full-ci] bump reva v2.19.1
2024-02-29 19:38:47 +01:00
Jörn Friedrich Dreyer 2dce3e997d Merge pull request #8546 from owncloud/verify-service-accounts-are-set
verify all system accounts are set
2024-02-29 17:29:08 +01:00
Jörn Friedrich Dreyer d0f9471db4 fix ocm service account init
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-02-29 17:01:10 +01:00
Roman Perekhod 90ec40e38f [full-ci] bump revav2.19.1 2024-02-29 16:56:37 +01:00
Jörn Friedrich Dreyer 0d11932ea7 Merge pull request #8548 from 2403905/backport/5.0/revaV2.19.1
Backport/5.0/revaV2.19.1
2024-02-29 16:54:12 +01:00
Jörn Friedrich Dreyer 972adafd29 verify all system accounts are set
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-02-29 15:51:37 +01:00
Roman Perekhod 9dee46c44e Backport/5.0/revaV2.19.1 2024-02-29 12:22:56 +01:00
Nalem7 4427c9f032 add tests to list peoject spaces resources shared by two users with him/her (#8516) 2024-02-29 12:11:53 +05:45
ownClouders 0ca14bdf2e [tx] updated from transifex 2024-02-29 00:55:10 +00:00
Michael Barz df5e855181 Automated changelog update [skip ci] 2024-02-28 17:24:20 +00:00
Michael Barz 619376afea Merge pull request #8544 from rhafer/backport/5.0/7885
Backport/5.0/7885
2024-02-28 18:23:30 +01:00
Ralf Haferkamp a6feca1edf docs: Add missing doc comments
(cherry picked from commit 954998a156)
2024-02-28 17:42:54 +01:00
Ralf Haferkamp 92b1f768b4 fix: Remove unneeded code
errors.Join(errs...) ignores nil errors and returns nil if there are not errors.

(cherry picked from commit f5a282c13e)
2024-02-28 17:42:54 +01:00
Ralf Haferkamp 696b7b7a8d enhancement(sharing): Check driveID when unmounting share
Only accept requests against the shareJail driveID

(cherry picked from commit 64f6c147dd)
2024-02-28 17:42:54 +01:00
Ralf Haferkamp 693bc7b38f Fix typos
(cherry picked from commit 10babaf4c5)
2024-02-28 17:42:54 +01:00
Ralf Haferkamp eb9af537b3 docs: Add changelog for share (un)mount
(cherry picked from commit d38bd46638)
2024-02-28 17:42:54 +01:00
Ralf Haferkamp bb5e1bac35 enhancement(sharing): allow unmounting a share
(cherry picked from commit 35acae10a3)
2024-02-28 17:42:54 +01:00
Ralf Haferkamp ebcca0e678 enhancement(sharing): Return newly created driveItem
When accepting a share via 'POST /v1beta1/drives/{driveId}/root/children'
return the newly created driveItem. This driveItem wraps the accepted
remoteItem representing the shared resource (similar to the
'sharedWithMe' response.

This also refactors some of the helpers for user lookup and CS3 share to
driveItem conversion so they can be more easily shared.

(cherry picked from commit 7edc2febba)
2024-02-28 17:42:54 +01:00
Ralf Haferkamp d005bb858b enhancement(sharing): Simplify route for accepting shares
In theory creating the driveItem to accepting a shared resource
can be done via '/v1beta1/drives/{drive-id}/item/{item-id}/children'
but there is also the simplified variant via
'/v1beta1/drives/{drive-id}/root/children' (aligned with the example
in the spec). For now we'll just implement the latter because accepting
a share will always be done via root of the sharejail drive.

(cherry picked from commit c8a89e92f1)
2024-02-28 17:42:54 +01:00
Ralf Haferkamp e959faf9da enhancement(graph): refrain from registering routes via the Router interface
After some back an forth we agreed on keeping the routes defined
in a central place for now.

(cherry picked from commit e7985f42b6)
2024-02-28 17:42:54 +01:00
Ralf Haferkamp 059a77edf3 fix(graph): Remove duplicated routes from router
(cherry picked from commit 54226aee7b)
2024-02-28 17:42:54 +01:00
Florian Schade 321c692ff4 test: add more tests for the DrivesDriveItemService implementation
(cherry picked from commit d48da968af)
2024-02-28 17:42:54 +01:00
Florian Schade c5bdc5d595 test: improve graph share accept/decline test coverage
(cherry picked from commit 5c3972530e)
2024-02-28 17:42:54 +01:00
Florian Schade 8d5beee430 enhancement: add DrivesDriveItemApi DeleteDriveItem tests
(cherry picked from commit c10d7dd84b)
2024-02-28 17:42:54 +01:00
Florian Schade 43a6d5569f enhancement: add basic share unmount
(cherry picked from commit 877f233bf1)
2024-02-28 17:42:54 +01:00
Florian Schade a61adbc85b enhancement: handle share mount errors
(cherry picked from commit 92fc17d1bb)
2024-02-28 17:42:54 +01:00
Florian Schade cb43cbaee4 enhancement: make use of body driveItem for graph share accept
(cherry picked from commit 796233c8d5)
2024-02-28 17:42:54 +01:00
Florian Schade 50ea1f46e7 enhancement: add basic share accept feature, error handling and detailed implementation still missed
(cherry picked from commit a5b70b3d7a)
2024-02-28 17:42:54 +01:00
Florian Schade 7e07254556 feature(sharing): add endpoints to accept or decline a share
(cherry picked from commit 795d0fcc61)
2024-02-28 17:42:54 +01:00
Ralf Haferkamp db7e2050c7 Automated changelog update [skip ci] 2024-02-28 16:31:55 +00:00
Ralf Haferkamp 0d366a33ae docs: Add missing doc comments 2024-02-28 17:29:04 +01:00
Ralf Haferkamp 1a8b0ea846 fix: Remove unneeded code
errors.Join(errs...) ignores nil errors and returns nil if there are not errors.
2024-02-28 17:29:04 +01:00
Ralf Haferkamp 1ceba732c2 enhancement(sharing): Check driveID when unmounting share
Only accept requests against the shareJail driveID
2024-02-28 17:29:04 +01:00