Commit Graph

17725 Commits

Author SHA1 Message Date
Michael Barz fc0b3fe1c2 chore: use current master for upstream lib 2024-06-11 17:32:41 +02:00
Michael Barz 75213c53eb tests: fix test expectations 2024-06-10 17:57:54 +02:00
Michael Barz ccb8228edd fix: bump upstream sec middleware 2024-06-10 17:20:38 +02:00
Michael Barz 817b6e3e96 tests: fix test expectations for multipart 2024-06-06 13:46:15 +02:00
Michael Barz 3a15e09ed1 chore: update reva to latest edge 2024-06-06 11:05:59 +02:00
Ralf Haferkamp 254c9d7c26 graph: Address linting issues 2024-06-06 09:22:52 +02:00
Ralf Haferkamp 184bd5d0d3 graph/users: use ListRoleAssignmentsFiltered when filtering by role
When filtering users by role-assignment we now use the new ListRoleAssignmentsFiltered
request to the settings service instead calling ListRoleAssignments for every single user.
This reduces the number of network roundtrips to the settings service to one (was one per
user before).

Related Issue: #8938
2024-06-06 09:22:52 +02:00
Ralf Haferkamp 96e59598d3 graph/users: small optimization for filter by role queries
When filtering by role assignment we now populate the
'appRoleAssignments' property of the returned users when the incoming
request contained and '$expand=appRoleAssignments'. This avoids having
to query the role assignments for all users in the result set a second
time.
The effect of this optimization depends a lot on the actual setup. In
single binary all-in-one installations it is rather small (this it saves
quite a few CPU cycles). In distributed setup it should be larger as it
reduces the number of network round trips to the settings service
significantly.
2024-06-06 09:22:52 +02:00
Phil Davis 4d29f5949c Merge pull request #9328 from owncloud/tidy-general-info-docs
chore: tidy general-info docs
2024-06-06 12:51:53 +05:45
dependabot[bot] 6739a19476 build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/net/compare/v0.25.0...v0.26.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-06 08:49:16 +02:00
Sabin Panta 87a2da7489 adding secure view to list permission for shared space (#9311) 2024-06-06 12:19:29 +05:45
Phil Davis 33b576ea26 chore: tidy general-info docs 2024-06-06 10:48:33 +05:45
ownClouders ff91c46268 [tx] updated from transifex 2024-06-06 00:49:31 +00:00
Michael Barz b892a9ab28 Merge pull request #9312 from owncloud/var-placeholders
docs: use placeholder for next release
2024-06-05 21:36:25 +02:00
Michael Barz 2764a96353 docs: add lifecycle paragraph in the dev docs 2024-06-05 20:38:27 +02:00
Michael Barz 9a298fa4d3 Merge pull request #9304 from owncloud/dependabot/go_modules/github.com/go-playground/validator/v10-10.21.0
build(deps): bump github.com/go-playground/validator/v10 from 10.20.0 to 10.21.0
2024-06-05 16:23:48 +02:00
Martin f1f2a6ddf7 Merge pull request #9325 from owncloud/mmattel-patch-1
[docs-only] Update thumbnail README.md with respect to SecureView
2024-06-05 12:03:52 +02:00
Martin b9a1dc1943 Update thumbnail README.md with respect to SecureView
Referencing: owncloud/ocis#9299 (Thumbnailer respect secure view)

Adding a short sentence about the thumbnail behavior when using SecureView.
2024-06-05 11:34:05 +02:00
Michael Barz 69ab7382fd Automated changelog update [skip ci] 2024-06-05 09:12:16 +00:00
Michael Barz e128a52040 Merge pull request #9319 from owncloud/update-reva
[full-ci] chore: update reva to latest edge
2024-06-05 11:11:35 +02:00
Michael Barz 7abd52283f chore: update reva to latest edge 2024-06-05 10:46:20 +02:00
Roman Perekhod adff2de980 Automated changelog update [skip ci] 2024-06-05 07:34:38 +00:00
Roman Perekhod d7a41daecc Merge pull request #9302 from 2403905/issue-8747
[full-ci][bump reva] fixed the response code when the role/permissionis is empty on the share update
2024-06-05 09:33:53 +02:00
ownClouders 6d69f8517b [tx] updated from transifex 2024-06-05 00:50:15 +00:00
Roman Perekhod 50578f401c [full-ci][bump reva] fixed the response code when the role/permission is empty on the share update 2024-06-04 16:59:01 +02:00
Christian Richter 4c3ad07bf8 Automated changelog update [skip ci] 2024-06-04 14:27:21 +00:00
Christian Richter b3db1354ec Merge pull request #9299 from dragonchaser/thumbnailer-respect-secure-view
Thumbnailer respect secure view
2024-06-04 16:26:25 +02:00
Thomas Müller e1dcf47741 Automated changelog update [skip ci] 2024-06-04 12:29:57 +00:00
Thomas Müller 03bd1d5272 fix: CSP frame-src to enable PDF viewing (#9313) 2024-06-04 14:29:21 +02:00
Pradip Subedi e1a00e09b2 docs: add docs for port, url, retry, admin-username and admin-password for ociswrapper (#9314) 2024-06-04 16:42:29 +05:45
Thomas Müller 1453f904e3 chore: code cleanup services/web (#9034)
* chore: code cleanup services/web

* fix: export private member to keep the test external

* chore: backport changes

---------

Co-authored-by: Florian Schade <f.schade@icloud.com>
2024-06-04 12:28:49 +02:00
Christian Richter a145c36fd5 remove obsolete var
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-06-04 12:10:01 +02:00
Christian Richter db308bea5c try to remove code duplications
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-06-04 11:24:55 +02:00
Christian Richter 4d6cbdf260 Move chi HTTP-Method registering into the NewService func
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-06-04 11:09:10 +02:00
Phil Davis 491e0e5a82 Merge pull request #9308 from owncloud/adjust-tests-issue-1667
[tests-only] test: adjust tests related to issue 1667
2024-06-04 14:53:56 +05:45
Michael Barz efe4895a98 chore: update validation script for env var annotations 2024-06-04 11:06:44 +02:00
dependabot[bot] e58a36f21e build(deps): bump github.com/go-playground/validator/v10
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.20.0 to 10.21.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.20.0...v10.21.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-04 09:03:14 +00:00
Ralf Haferkamp d7f10f38a0 settings: Add ListRoleAssignmentByRole
This adds the implementation for ListRolesAssignments by role-id to the
metadata backend. Because of the current layout of the account folders
and assignment files this is currently still very inefficient.

Related Issue: #8939
2024-06-04 11:00:09 +02:00
Ralf Haferkamp 90f7cc23f4 chore: move go-ozzo/ozzo-validation to invopop/validation
invpop/validation is a fork of go-ozzo/ozzo-validation with some additional
bug fixes. Specifically we need: https://github.com/invopop/validation/pull/1
2024-06-04 11:00:09 +02:00
Ralf Haferkamp 1b47707e2f settings: Add spec and stubs for ListRoleAssignmentsFiltered request 2024-06-04 11:00:09 +02:00
Phil Davis 96afdc3166 test: adjust tests related to issue 1667 2024-06-04 14:25:07 +05:45
Michael Barz 5d99688161 docs: use placeholder for next release 2024-06-04 10:28:42 +02:00
Prashant Gurung b870c0df12 Add test for updating link of a folder in project-space (#9300) 2024-06-04 09:25:39 +05:45
Martin f000b04fff Merge pull request #9298 from owncloud/some_doc_fixes
[docs-only] fix two service readme's
2024-06-03 15:27:09 +02:00
Jörn Friedrich Dreyer 96129926a2 Automated changelog update [skip ci] 2024-06-03 13:01:45 +00:00
Jörn Friedrich Dreyer 0ab4999d09 Merge pull request #9289 from owncloud/set-secureview-flag-based-on-addr
set secureview flag based on addr
2024-06-03 15:01:12 +02:00
Martin 5a2e3abbba Update services/storage-users/README.md 2024-06-03 14:53:12 +02:00
Christian Richter 1012a399ae Don't show thumbnails for secureview shares
Co-authored-by: Julian Koberg <jkoberg@owncloud.com>

Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-06-03 14:04:46 +02:00
Christian Richter 288203b785 Map HTTP 403 error correctly.
Signed-off-by: Christian Richter <crichter@owncloud.com>
Co-authored-by: Julian Koberg <jkoberg@owncloud.com>
2024-06-03 14:04:46 +02:00
Jörn Friedrich Dreyer ce383bd203 set secureview flag based on addr
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-06-03 14:00:01 +02:00