Commit Graph

17837 Commits

Author SHA1 Message Date
jkoberg
1525f7ec2a feat(ocis): use only one channel for backup command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-06 15:55:09 +02:00
jkoberg
d655c8140a feat(ocis): finally unit tests for backup consistency
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-06 15:55:09 +02:00
jkoberg
e96921708e feat(ocis): concurrency for consistency command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-06 15:55:09 +02:00
jkoberg
969dabae78 fest(ocis): fix backup command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-06 15:55:09 +02:00
jkoberg
e4a46520f8 feat(ocis): improve output of backup command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
Co-authored-by: dragonchaser <crichter@owncloud.com>
2024-06-06 15:55:09 +02:00
jkoberg
2479a30bab feat(ocis): list link location on inconsistency
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-06 15:55:09 +02:00
jkoberg
5086f55c75 feat(ci): test consistency command in ci II
Signed-off-by: jkoberg <jkoberg@owncloud.com>
Co-authored-by: dragonchaser <crichter@owncloud.com>
2024-06-06 15:55:08 +02:00
jkoberg
6703dab913 feat(ocis): show full blob path when inconsistent
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-06 15:55:08 +02:00
jkoberg
ada83f9338 feat(ci): test consistency command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
Co-authored-by: dragonchaser <crichter@owncloud.com>
2024-06-06 15:55:08 +02:00
jkoberg
ca12c2faa2 feat(ocis): improve consistency command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
Co-authored-by: dragonchaser <crichter@owncloud.com>
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-06 15:55:08 +02:00
jkoberg
8a08c9f9b8 feat(ocis): Add backup consistency command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
Co-authored-by: dragonchaser <crichter@owncloud.com>
2024-06-06 15:55:08 +02:00
jkoberg
bd7abeb9d7 feat(activitylog): add missing events
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-06 15:10:49 +02:00
Michael Barz
817b6e3e96 tests: fix test expectations for multipart 2024-06-06 13:46:15 +02:00
jkoberg
d56c644529 feat(activitylog): unit test activity storing
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-06 12:14:20 +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
jkoberg
2b6e75ad7f feat(activitylog): store activities per resource
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-05 16:23:00 +02:00
jkoberg
630c9efaaa feat(activitylog): initial service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-05 14:31:12 +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