Commit Graph

2605 Commits

Author SHA1 Message Date
Michael Barz
38a4953b6e Merge pull request #9379 from owncloud/bump-web-9.0.0-alpha.7
[full-ci] chore: bump web to v9.0.0-alpha.7
2024-06-13 22:57:14 +02:00
Roman Perekhod
afd9ec67fe Fix the settings metedata tests 2024-06-13 19:13:46 +02:00
Benedikt Kulmann
b5a3a2fca5 chore: bump web to v9.0.0-alpha.7 2024-06-13 17:03:58 +02:00
ownClouders
f74f656ba9 [tx] updated from transifex 2024-06-13 00:52:52 +00:00
Benedikt Kulmann
a2c0967d33 Merge pull request #9360 from owncloud/fix-thumbnail-max-height-default
fix: thumbnail max input height
2024-06-12 11:23:46 +02:00
Roman Perekhod
457c0178b4 Merge pull request #9331 from 2403905/issue-9151
fixed the error translation from the statusCodeError type into a corresponding graph api  Error representation
2024-06-12 11:19:55 +02:00
Benedikt Kulmann
6117e19d4f fix: thumbnail max input height
Thumbnail max input width and height need to be the same, because images
can be portrait or landscape. See https://github.com/owncloud/ocis/issues/9234
2024-06-12 10:55:26 +02:00
ownClouders
50bed11e01 [tx] updated from transifex 2024-06-12 00:49:40 +00:00
Roman Perekhod
eb95a2859d fixed the error translation from the statusCodeError type into a corresponding graph api Error representation 2024-06-11 22:42:45 +02:00
Michael Barz
774efdbd85 Merge pull request #9330 from owncloud/update-reva
[full-ci] chore: update reva to latest edge
2024-06-11 17:56:40 +02:00
ownClouders
c7b3940bf8 [tx] updated from transifex 2024-06-11 00:50:09 +00:00
Michael Barz
ccb8228edd fix: bump upstream sec middleware 2024-06-10 17:20:38 +02:00
ownClouders
6490685151 [tx] updated from transifex 2024-06-10 12:46:58 +00:00
kobergj
6ace1fc76a Merge pull request #9327 from kobergj/Activities
Activitylog Service
2024-06-10 12:28:14 +02:00
kobergj
b0a508f9b8 feat(activitylog): improve documentation
Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com>
2024-06-10 09:46:35 +02:00
ownClouders
afa0390f49 [tx] updated from transifex 2024-06-10 00:49:27 +00:00
jkoberg
e05b244f6e feat(activitylog): finalize initial activitylog service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-07 15:15:58 +02:00
jkoberg
bd7abeb9d7 feat(activitylog): add missing events
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-06 15:10:49 +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
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
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
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
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
ownClouders
6d69f8517b [tx] updated from transifex 2024-06-05 00:50:15 +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
03bd1d5272 fix: CSP frame-src to enable PDF viewing (#9313) 2024-06-04 14:29:21 +02:00
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
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
Michael Barz
5d99688161 docs: use placeholder for next release 2024-06-04 10:28:42 +02:00
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
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
mmattel
c1c0037a75 [docs-only] fix two service readme's 2024-06-03 11:55:46 +02:00
Martin
38a699839a [docs-only] Update storage-users README.md
Aligning `Example cases for expired uploads` to the admin docs. The original sentence was not clear.
2024-06-03 10:33:20 +02:00
Martin
e7134a211b Merge pull request #9295 from owncloud/mmattel-patch-1
[docs-only] Update thumbnails README.md
2024-06-03 10:14:52 +02:00
Martin
82e614ec50 Update thumbnails README.md
References: #9199 (feat: limit concurrent processing of thumbnail requests)

Content fix:
- If NO thumbnail is available, we return 404 (and not if it is avaialble)
- Make the resolution list multi-lined again for improved readbility
2024-06-03 09:25:42 +02:00
dependabot[bot]
24a8c7c893 build(deps-dev): bump license-checker-rseidelsohn in /services/idp
Bumps [license-checker-rseidelsohn](https://github.com/RSeidelsohn/license-checker-rseidelsohn) from 4.2.10 to 4.3.0.
- [Release notes](https://github.com/RSeidelsohn/license-checker-rseidelsohn/releases)
- [Changelog](https://github.com/RSeidelsohn/license-checker-rseidelsohn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RSeidelsohn/license-checker-rseidelsohn/compare/v4.2.10...v4.3.0)

---
updated-dependencies:
- dependency-name: license-checker-rseidelsohn
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 09:22:18 +02:00
Jannik Stehle
0fb549ff96 Merge pull request #9288 from owncloud/perf/inter-font-woff2
perf: use woff2 format for the inter font
2024-05-31 15:52:37 +02:00