Ralf Haferkamp
eb9af537b3
docs: Add changelog for share (un)mount
...
(cherry picked from commit d38bd46638a72b52c9ff2fa7020b809fce25992f)
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 and Ralf Haferkamp
321c692ff4
test: add more tests for the DrivesDriveItemService implementation
...
(cherry picked from commit d48da968af116102b21f1f4397d3f589adbc8ce1)
2024-02-28 17:42:54 +01:00
Florian Schade and Ralf Haferkamp
c5bdc5d595
test: improve graph share accept/decline test coverage
...
(cherry picked from commit 5c3972530eb19a27f24ecfcb7ff0f42682e7b49c)
2024-02-28 17:42:54 +01:00
Florian Schade and Ralf Haferkamp
8d5beee430
enhancement: add DrivesDriveItemApi DeleteDriveItem tests
...
(cherry picked from commit c10d7dd84bd3cda0270f25356b9931c47be7b889)
2024-02-28 17:42:54 +01:00
Florian Schade and Ralf Haferkamp
43a6d5569f
enhancement: add basic share unmount
...
(cherry picked from commit 877f233bf1d40346f3cb5e2114b5cd0fb464b460)
2024-02-28 17:42:54 +01:00
Florian Schade and Ralf Haferkamp
a61adbc85b
enhancement: handle share mount errors
...
(cherry picked from commit 92fc17d1bbc9b7d094fa89f7553aa4f11cc42f3d)
2024-02-28 17:42:54 +01:00
Florian Schade and Ralf Haferkamp
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 and Ralf Haferkamp
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 and Ralf Haferkamp
7e07254556
feature(sharing): add endpoints to accept or decline a share
...
(cherry picked from commit 795d0fcc619947db135025191b421bf5dac20e5e)
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 and Ralf Haferkamp
0d366a33ae
docs: Add missing doc comments
2024-02-28 17:29:04 +01:00
Ralf Haferkamp and 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 and 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
Ralf Haferkamp and Ralf Haferkamp
83f9db3152
Fix typos
2024-02-28 17:29:04 +01:00
Ralf Haferkamp and Ralf Haferkamp
a9a3b91e80
docs: Add changelog for share (un)mount
2024-02-28 17:29:04 +01:00
Ralf Haferkamp and Ralf Haferkamp
9d6ece9220
enhancement(sharing): allow unmounting a share
2024-02-28 17:29:04 +01:00
Ralf Haferkamp and Ralf Haferkamp
9d321bf379
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.
2024-02-28 17:29:04 +01:00
Ralf Haferkamp and Ralf Haferkamp
0a24f23164
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.
2024-02-28 17:29:04 +01:00
Ralf Haferkamp and Ralf Haferkamp
f86bd76e23
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.
2024-02-28 17:29:04 +01:00
Ralf Haferkamp and Ralf Haferkamp
d418864f84
fix(graph): Remove duplicated routes from router
2024-02-28 17:29:04 +01:00
Florian Schade and Ralf Haferkamp
35817f24f2
test: add more tests for the DrivesDriveItemService implementation
2024-02-28 17:29:04 +01:00
Florian Schade and Ralf Haferkamp
0bd97c9178
test: improve graph share accept/decline test coverage
2024-02-28 17:29:04 +01:00
Florian Schade and Ralf Haferkamp
7384297728
enhancement: add DrivesDriveItemApi DeleteDriveItem tests
2024-02-28 17:29:04 +01:00
Florian Schade and Ralf Haferkamp
6278273d5e
enhancement: add basic share unmount
2024-02-28 17:29:04 +01:00
Florian Schade and Ralf Haferkamp
cad0d944eb
enhancement: handle share mount errors
2024-02-28 17:29:04 +01:00
Florian Schade and Ralf Haferkamp
5f705c6263
enhancement: make use of body driveItem for graph share accept
2024-02-28 17:29:04 +01:00
Florian Schade and Ralf Haferkamp
1178491710
enhancement: add basic share accept feature, error handling and detailed implementation still missed
2024-02-28 17:29:04 +01:00
Florian Schade and Ralf Haferkamp
91f0667f1f
feature(sharing): add endpoints to accept or decline a share
2024-02-28 17:29:04 +01:00
Michael Barz
4ff2b70c64
Automated changelog update [skip ci]
2024-02-28 14:13:03 +00:00
Michael Barz and GitHub
798b5ae8bd
Merge pull request #8537 from owncloud/backport-configurable-store
...
Backport configurable store
2024-02-28 15:11:45 +01:00
dependabot[bot] and Ralf Haferkamp
af228c847e
build(deps): bump github.com/prometheus/client_golang
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.18.0 to 1.19.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.19.0/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.18.0...v1.19.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-28 15:02:28 +01:00
Michael Barz
9fb55430c0
Automated changelog update [skip ci]
2024-02-28 13:18:37 +00:00
Michael Barz and GitHub
a0d77f6bef
Merge pull request #8536 from owncloud/forward-port-changelog
...
Forward port changelog from stable-5.0
2024-02-28 14:16:25 +01:00
Sawjan Gurung and GitHub
9b8ec4e5e6
[tests-only] check for invalid schema validators ( #8533 )
...
* test(api): check schema validators
* test(api): check schema validators
* test(api): check schema validators
* test(api): fix schema
* test(api): fix php code style
* test(api): fix schema
2024-02-28 16:56:03 +05:45
Michael Barz
b8fcf7cf43
Automated changelog update [skip ci]
2024-02-28 11:05:31 +00:00
Michael Barz and Ralf Haferkamp
643d4ccbfb
fix: change default config for the role mapping
2024-02-28 12:04:57 +01:00
Jörn Friedrich Dreyer
db727ef89c
make julianlint happy
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-02-28 10:41:12 +01:00
Jörn Friedrich Dreyer
1e074732be
add missing package
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-02-28 10:41:12 +01:00
Jörn Friedrich Dreyer
d61bf7404b
no longer autostart store
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-02-28 10:41:12 +01:00
f1a8d62ee6
fix typos
...
Co-authored-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com >
2024-02-28 10:41:12 +01:00
Jörn Friedrich Dreyer
c79f206d50
Make presigned key store configurable
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-02-28 10:41:12 +01:00
Michael Barz
dd9c757787
Merge remote-tracking branch 'origin/stable-5.0' into forward-port-changelog
2024-02-28 09:35:49 +01:00
Nalem7 and GitHub
23eafebf24
add tests to list space files shared with user who is member of group ( #8484 )
2024-02-28 14:04:02 +05:45
ownClouders
bbc1486491
[tx] updated from transifex
2024-02-28 00:21:53 +00:00
dependabot[bot] and Ralf Haferkamp
8e096ac58a
build(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
...
Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib ) from 0.48.0 to 0.49.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.48.0...zpages/v0.49.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-27 11:06:05 +01:00