Commit Graph

16248 Commits

Author SHA1 Message Date
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
Roman Perekhod
9dee46c44e Backport/5.0/revaV2.19.1 2024-02-29 12:22:56 +01: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 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
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
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
Michael Barz
4ff2b70c64 Automated changelog update [skip ci] 2024-02-28 14:13:03 +00:00
Michael Barz
798b5ae8bd Merge pull request #8537 from owncloud/backport-configurable-store
Backport configurable store
2024-02-28 15:11:45 +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
Jörn Friedrich Dreyer
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
66aaa2ed4e Merge pull request #8526 from owncloud/disable-cd
[full-ci] ci: do not deploy from stable branch
2024-02-26 12:14:49 +01:00
Michael Barz
444bbf2de6 ci: do not deploy from stable branch 2024-02-26 11:37:17 +01:00
Michael Barz
766305a451 Automated changelog update [skip ci] 2024-02-26 10:36:02 +00:00
Michael Barz
4a447280db Merge pull request #8525 from owncloud/release-5.0.0-rc.5
[full-ci] Release 5.0.0 rc.5
2024-02-26 11:35:26 +01:00
Michael Barz
0ecdfae5cb chore: bump version 2024-02-26 10:44:24 +01:00
Michael Barz
5d894c2f3b docs: prepare changelog 2024-02-26 10:37:27 +01:00
Michael Barz
ece9f5324b Automated changelog update [skip ci] 2024-02-23 14:07:19 +00:00
Michael Barz
68662834c6 Merge pull request #8521 from owncloud/backmerge-master-4
[full-ci] Backmerge master to stable-5.0
2024-02-23 15:06:14 +01:00
Michael Barz
3cdd007b7f Merge branch 'master' into backmerge-master-4 2024-02-23 13:35:54 +01:00
Michael Barz
b6a6cb2b8e Automated changelog update [skip ci] 2024-02-23 11:46:05 +00:00
Michael Barz
aba4714bb7 Merge pull request #8519 from owncloud/update-reva
[full-ci] chore: update reva to 2.19.0
2024-02-23 12:45:32 +01:00
Michael Barz
53baa60172 chore: update reva to 2.19.0 2024-02-23 12:10:42 +01:00
Viktor Scharf
ad7cf8f77a [test-only] add test for uploading with Tus using CORS (#8508)
* add test for uploading with Tus using CORS

* fix
2024-02-23 11:47:52 +01:00
Sawjan Gurung
3cea035d6d [tests-only] use new json schema assertion lib that supports latest schema drafts (#8503)
* test(api): use new json schema assertion lib that supports latest schema drafts

* test(api): fix json schema

* test(api): fix method call

* test(api): update expected failure lines

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): add custom schema validator

* test(api): make json array validation strict

* test(api): fix php code style

* test(api): update expected failure lines
2024-02-23 16:24:22 +05:45
ownClouders
ee501f225e [tx] updated from transifex 2024-02-23 00:47:43 +00:00
dependabot[bot]
c13aefed84 build(deps): bump google.golang.org/grpc from 1.61.1 to 1.62.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-22 17:13:03 +01:00
ownClouders
2a300190cb [tx] updated from transifex 2024-02-22 03:58:21 +00:00
Christian Richter
9da1043d54 Automated changelog update [skip ci] 2024-02-21 16:36:55 +00:00
Christian Richter
b0ecf5f9d8 Merge pull request #8505 from dragonchaser/bump-reva
bump reva
2024-02-21 17:36:13 +01:00
Christian Richter
c637069852 bump reva
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-02-21 16:44:28 +01:00
Jörn Friedrich Dreyer
014dce49f2 Automated changelog update [skip ci] 2024-02-21 15:29:49 +00:00