Commit Graph

2179 Commits

Author SHA1 Message Date
Martin
48313e2602 [docs-only] Just a small text fix for an envvar in storage-users 2024-03-13 10:24:15 +01:00
Benedikt Kulmann
bc6b8b9bab [full-ci] chore: bump web to v8.0.1 (#8626)
* chore: bump web to v8.0.1
2024-03-13 00:21:19 +01:00
jkoberg
a6dd02e75b fix: pass signature and expiration through thumbnailer
Signed-off-by: jkoberg <jkoberg@owncloud.com>
(cherry picked from commit a3044d1dd2)
2024-03-12 17:05:38 +01:00
Jörn Friedrich Dreyer
1c9da9a0be verify all system accounts are set
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
(cherry picked from commit 972adafd29)
2024-03-12 16:36:09 +01:00
Benedikt Kulmann
e12333e8ec chore: bump web to v8.0.0 final 2024-03-12 10:48:48 +01:00
Phil Davis
fe8a3032f2 Adjust introductionVersion pre5.0 and 5.0
as per suggestions by micbar

Co-authored-by: Michael Barz <mbarz@owncloud.com>
2024-03-07 13:51:37 +05:45
Christian Richter
546f79f8c1 Update services/clientlog/pkg/config/config.go 2024-03-07 13:51:37 +05:45
Phil Davis
6a00b7647f chore: set introductionVersion 5.0 in services/web 2024-03-07 13:51:37 +05:45
Phil Davis
d239d9d74d chore: set introductionVersion 5.0 in services/userlog 2024-03-07 13:51:37 +05:45
Phil Davis
3dbd48036f chore: set introductionVersion 5.0 in services/storage-system -users 2024-03-07 13:51:37 +05:45
Phil Davis
6d8d9d49f1 chore: set introductionVersion 5.0 in services/sse 2024-03-07 13:51:37 +05:45
Phil Davis
5c4e049aa6 chore: set introductionVersion 5.0 in services/sharing 2024-03-07 13:51:37 +05:45
Phil Davis
3d1bea5556 chore: set introductionVersion 5.0 in services/settings 2024-03-07 13:51:37 +05:45
Phil Davis
484daeac50 chore: set introductionVersion 5.0 in services/search 2024-03-07 13:51:37 +05:45
Phil Davis
4ec1a0021a chore: set introductionVersion 5.0 in services/proxy 2024-03-07 13:51:37 +05:45
Phil Davis
090d1f5cf7 chore: set introductionVersion 5.0 in services/postprocessing 2024-03-07 13:51:37 +05:45
Phil Davis
b1cb0f6f1c chore: set introductionVersion 5.0 in services/ocs 2024-03-07 13:51:37 +05:45
Phil Davis
11f248f4a9 chore: set introductionVersion 5.0 in services/policies 2024-03-07 13:51:37 +05:45
Phil Davis
b2714f32e5 chore: set introductionVersion 5.0 in services/ocm 2024-03-07 13:51:37 +05:45
Phil Davis
b9d3a3a301 chore: set introductionVersion 5.0 in services/notifications and ocdav 2024-03-07 13:51:37 +05:45
Phil Davis
22c19472de chore: set introductionVersion 5.0 in services/graph 2024-03-07 13:51:37 +05:45
Phil Davis
b5a9b1aff1 chore: set introductionVersion 5.0 in services/gateway 2024-03-07 13:51:37 +05:45
Phil Davis
c1fe08e2fc chore: set introductionVersion 5.0 in services/frontend 2024-03-07 13:51:37 +05:45
Phil Davis
2aaf0f8894 chore: set introductionVersion 5.0 in services/eventhistory 2024-03-07 13:51:37 +05:45
Phil Davis
a23a6bd67b chore: set introductionVersion 5.0 in services/clientlog 2024-03-07 13:51:37 +05:45
Phil Davis
f600fa8fd7 chore: set introductionVersion 5.0 in antivirus audit audit-service 2024-03-07 13:51:37 +05:45
Phil Davis
3f0f09df0d Add STORAGE_USERS_MACHINE_AUTH_API_KEY
which was accidentally missing, introduced in 5.0

Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com>
2024-03-07 13:51:37 +05:45
Phil Davis
44e1d0ab71 chore: adjust env var descriptions
Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com>
2024-03-07 13:51:37 +05:45
Phil Davis
4b87667387 chore: add missing descriptions to env vars 2024-03-07 13:51:37 +05:45
Phil Davis
d27e33a1bd chore: add introductionVersion pre5.0 to environment variable docs 2024-03-07 13:51:37 +05:45
Benedikt Kulmann
8d03562fa0 chore: bump web to v8.0.0-rc.6 2024-03-07 06:19:01 +01:00
Jörn Friedrich Dreyer
33d77d9aed always select the next clients when autoaccepting shares
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-03-04 17:06:10 +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
Ralf Haferkamp
a6feca1edf docs: Add missing doc comments
(cherry picked from commit 954998a1561ed9863642c9b4b5fd6732ad0bd7dd)
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 f5a282c13e4245fb29e7e7217889878a4efb99ce)
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 64f6c147dd55f1ede79f1709e09817939fcc4387)
2024-02-28 17:42:54 +01:00
Ralf Haferkamp
693bc7b38f Fix typos
(cherry picked from commit 10babaf4c527d91825f70cea68065f44dc01b8da)
2024-02-28 17:42:54 +01:00
Ralf Haferkamp
bb5e1bac35 enhancement(sharing): allow unmounting a share
(cherry picked from commit 35acae10a3d1a7370115f3444e433af2df7e5346)
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 7edc2febba4cd039c885a748d8f0e70610c2a147)
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 c8a89e92f1ad662b6931bd8089795228e8492ae6)
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 e7985f42b6edf92f0a4344d4f3f8c5e28c23e276)
2024-02-28 17:42:54 +01:00
Ralf Haferkamp
059a77edf3 fix(graph): Remove duplicated routes from router
(cherry picked from commit 54226aee7b594524967a470fcdfa51d66ff8abfd)
2024-02-28 17:42:54 +01:00
Florian Schade
321c692ff4 test: add more tests for the DrivesDriveItemService implementation
(cherry picked from commit d48da968af116102b21f1f4397d3f589adbc8ce1)
2024-02-28 17:42:54 +01:00
Florian Schade
c5bdc5d595 test: improve graph share accept/decline test coverage
(cherry picked from commit 5c3972530eb19a27f24ecfcb7ff0f42682e7b49c)
2024-02-28 17:42:54 +01:00
Florian Schade
8d5beee430 enhancement: add DrivesDriveItemApi DeleteDriveItem tests
(cherry picked from commit c10d7dd84bd3cda0270f25356b9931c47be7b889)
2024-02-28 17:42:54 +01:00
Florian Schade
43a6d5569f enhancement: add basic share unmount
(cherry picked from commit 877f233bf1d40346f3cb5e2114b5cd0fb464b460)
2024-02-28 17:42:54 +01:00
Florian Schade
a61adbc85b enhancement: handle share mount errors
(cherry picked from commit 92fc17d1bbc9b7d094fa89f7553aa4f11cc42f3d)
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 796233c8d5a03f90ec49bf6cc2737036373e616d)
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 a5b70b3d7a7d4471f97643e5a6ad0a4de12f2b03)
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 795d0fcc619947db135025191b421bf5dac20e5e)
2024-02-28 17:42:54 +01:00