Commit Graph

2593 Commits

Author SHA1 Message Date
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
Jannik Stehle
e2e6759999 perf: use woff2 format for the inter font
This massively decreases the size of the font file (~ 800kb -> 20kb) and therefore its loading time. The old `.ttf` format is still being kept as a fallback, though all modern browsers support the `woff2` format.
2024-05-31 14:59:34 +02:00
Jannik Stehle
fc55b7cfb8 Merge pull request #9287 from owncloud/feat/web-server-compression
feat: web server compression
2024-05-31 14:43:29 +02:00
Jörn Friedrich Dreyer
3db878e8db Merge pull request #9165 from wkloucek/collaboration-fixes
collaboration fixes
2024-05-31 13:49:10 +02:00
Jannik Stehle
735ba7aebf feat: web server compression
Adds a compression middleware to the web server to reduce the request size when delivering static files. This speeds up loading times in web clients.

The chi middleware we're using for this currently supports `gzip` as compression algorithm. We might want to extend this to support `br` (Brotli) in the future, since it's a newer and more performant algorithm.
2024-05-31 12:34:12 +02:00
Jörn Friedrich Dreyer
6f7f05d8f9 add comment
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-05-31 10:59:12 +02:00
Jörn Friedrich Dreyer
2e3d9e10ee remove WOPI when talking about collaboration apps
Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
2024-05-31 08:17:49 +02:00
Jörn Friedrich Dreyer
be6271b54f default to Collabora
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-05-30 16:01:04 +02:00
Jörn Friedrich Dreyer
982f0365ca Merge pull request #9277 from owncloud/add-providerinfo-secure-view-flag
add secureview flag when listing apps via http
2024-05-30 12:04:50 +02:00
Jörn Friedrich Dreyer
933b1eb76c default to collabora online
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-05-30 11:09:02 +02:00
Ralf Haferkamp
c425c173c4 Fix capitalization of 'name' property in tests 2024-05-30 11:05:29 +02:00
Prarup Gurung
5327f90712 Used expirationDateTime key for graph api (#9278) 2024-05-30 11:05:29 +02:00
Jörn Friedrich Dreyer
61d6dbb1c3 Apply typo fixes from code review
Co-authored-by: Alex <jackermann@owncloud.com>
2024-05-30 09:34:11 +02:00