Commit Graph
16267 Commits
Author SHA1 Message Date
Jörn Friedrich DreyerandGitHub 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
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
Nalem7andGitHub 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
Ralf Haferkamp db7e2050c7 Automated changelog update [skip ci] 2024-02-28 16:31:55 +00:00
Ralf HaferkampandRalf Haferkamp 0d366a33ae docs: Add missing doc comments 2024-02-28 17:29:04 +01:00
Ralf HaferkampandRalf 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 HaferkampandRalf 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 HaferkampandRalf Haferkamp 83f9db3152 Fix typos 2024-02-28 17:29:04 +01:00
Ralf HaferkampandRalf Haferkamp a9a3b91e80 docs: Add changelog for share (un)mount 2024-02-28 17:29:04 +01:00
Ralf HaferkampandRalf Haferkamp 9d6ece9220 enhancement(sharing): allow unmounting a share 2024-02-28 17:29:04 +01:00
Ralf HaferkampandRalf 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 HaferkampandRalf 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 HaferkampandRalf 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 HaferkampandRalf Haferkamp d418864f84 fix(graph): Remove duplicated routes from router 2024-02-28 17:29:04 +01:00
Florian SchadeandRalf Haferkamp 35817f24f2 test: add more tests for the DrivesDriveItemService implementation 2024-02-28 17:29:04 +01:00
Florian SchadeandRalf Haferkamp 0bd97c9178 test: improve graph share accept/decline test coverage 2024-02-28 17:29:04 +01:00
Florian SchadeandRalf Haferkamp 7384297728 enhancement: add DrivesDriveItemApi DeleteDriveItem tests 2024-02-28 17:29:04 +01:00
Florian SchadeandRalf Haferkamp 6278273d5e enhancement: add basic share unmount 2024-02-28 17:29:04 +01:00
Florian SchadeandRalf Haferkamp cad0d944eb enhancement: handle share mount errors 2024-02-28 17:29:04 +01:00
Florian SchadeandRalf Haferkamp 5f705c6263 enhancement: make use of body driveItem for graph share accept 2024-02-28 17:29:04 +01:00
Florian SchadeandRalf Haferkamp 1178491710 enhancement: add basic share accept feature, error handling and detailed implementation still missed 2024-02-28 17:29:04 +01:00
Florian SchadeandRalf Haferkamp 91f0667f1f feature(sharing): add endpoints to accept or decline a share 2024-02-28 17:29:04 +01:00
dependabot[bot]andRalf 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 BarzandGitHub 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 GurungandGitHub 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 BarzandRalf Haferkamp 643d4ccbfb fix: change default config for the role mapping 2024-02-28 12:04:57 +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
Nalem7andGitHub 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]andRalf 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
Roman Perekhod 27b3966120 Automated changelog update [skip ci] 2024-02-27 10:02:18 +00:00
Roman PerekhodandGitHub 70bd0e030e Merge pull request #8529 from 2403905/issue-8273
[full-ci] [bump reva] Fix remove/update share permissions
2024-02-27 11:01:42 +01:00
Benedikt KulmannandGitHub f60e392d59 Merge pull request #8530 from owncloud/bump-web-9.0.0-alpha.1
[full-ci] chore: bump web to v9.0.0-alpha.1
2024-02-26 16:33:49 +01:00
Jörn Friedrich Dreyer 2dc83d1192 Automated changelog update [skip ci] 2024-02-26 15:08:38 +00:00
Jörn Friedrich DreyerandGitHub 26136f8f81 drop store service in favor of a micro store implementation (#8419)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-02-26 16:08:03 +01:00
Benedikt Kulmann e3cf061eac tests: adjust expected failures 2024-02-26 14:45:51 +01:00
Viktor ScharfandGitHub 79498f9157 split e2e tests (#8528) 2024-02-26 19:03:35 +05:45
Benedikt Kulmann 050c025a6a chore: bump web to v9.0.0-alpha.1 2024-02-26 13:42:05 +01:00
Roman Perekhod 6da436238b [full-ci] [bump reva] Fix remove/update share permissions 2024-02-26 12:57:47 +01:00
Michael BarzandGitHub 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 BarzandGitHub 50293fdc53 Merge pull request #8527 from owncloud/update-deployments
ci: use release candidate for released deployments
2024-02-26 11:50:33 +01:00
Michael Barz 00daeefd82 ci: use release candidate for released deployments 2024-02-26 11:41:28 +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 BarzandGitHub 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