Commit Graph
5316 Commits
Author SHA1 Message Date
Sara Ahmadi 38e2f794c7 fix(graph): hide private user attributes from other users
Assisted-by: Claude Code:claude-opus-5-5
(cherry picked from commit dc891683eb)
2026-11-24 12:50:55 +01:00
Viktor Scharf b0e403c31e docs: set removal version 9.1.1 for deprecated options (#4029) 2026-11-17 12:04:26 +01:00
Benedikt Kulmann 17e0c324cc chore: bump web to v8.2.3 2026-11-17 08:58:51 +01:00
Pflum fc15d08880 Fix Reva config to also validate OC_CACHE_* tls settings and fix the disable_persistence key
(cherry picked from commit 7dbce1b019)
2026-11-13 17:27:02 +01:00
Viktor ScharfandJörn Friedrich Dreyer 4200d52916 thumbnails: drop the enable_vips build flag (#3985)
The thumbnails service now always resizes in pure Go. Deployments that
want more formats, webp output or an attention crop run a real imagor
and point WEBDAV_THUMBNAILS_GENERATOR_URL at it. The built-in service
stays as a minimal fallback that keeps working when imagor or libvips
have to be taken out, for example during a security issue.

Without cgo dependencies the docker images link statically again and no
longer need the vips packages. The vips parity run in CI goes away, the
regular test run already covers the pure Go build.

The preview fixtures of the acceptance tests were rendered by libvips,
so they are regenerated with the pure Go build. Text previews now lose
their left edge: the 640x480 text canvas is filled into a square box
and the pure Go build crops the centre, where libvips' attention crop
kept the left side with the text.

part of https://github.com/opencloud-eu/opencloud/issues/3912

Assisted-by: Claude Code:claude-opus-5-5

(cherry picked from commit 0d969c3179)

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-13 13:21:58 +01:00
Michael Barz 80d187eeb6 Merge pull request #3620 from jmrplens/fix-search-index-grpc-tls
fix(search): honor the gRPC client TLS mode in the index command
2026-11-12 11:03:34 +01:00
Andre Duffeck 5e1db08af6 Merge pull request #3959 from aduffeck/fix/antivirus-clamd-error-response
Don't treat clamd scan errors as clean
2026-11-12 09:30:07 +01:00
2435420f69 [full-ci] chore: bump reva to 2.52.2 (#3955)
* chore: bump reva to 2.52.2

* Merge pull request #42 from opencloud-eu/fix-web-theme-merge

fix(web): merge copies of the theme sources so themeDefaults is never mutated

* Merge pull request #43 from opencloud-eu/fix-search-trailing-not

fix(search): handle missing operands in the bleve compiler

* Merge pull request #44 from opencloud-eu/fix-search-highlight-escaping

fix(search): escape file content in OpenSearch highlights

---------

Co-authored-by: Ralf Haferkamp <r.haferkamp@opencloud.eu>
Co-authored-by: Florian Schade <f.schade@icloud.com>
2026-11-11 14:14:34 +01:00
Viktor Scharf 4d9cf370e7 chore: bump web to v8.2.2 (#3962) 2026-11-11 14:07:59 +01:00
Alex Ababii d7e5b97bdf Merge pull request #3857 from maki5/fix/expired_user_token_in_guest_session
Fix/expired user token in guest session
2026-11-11 11:18:06 +01:00
André Duffeck 6ef16a9569 Document that the max scan size must not exceed clamd's StreamMaxLength 2026-11-11 11:11:02 +01:00
André Duffeck fabb775d17 Fix panic when clamd hangs up without a scan result 2026-11-11 11:10:54 +01:00
Dominik Schmidt 078a209c4e Merge pull request #3896 from opencloud-eu/fix/csp-media-src-blob
fix(proxy): allow blob: in media-src for motion and live photo playback
2026-11-11 10:43:56 +01:00
Ryo Kusnadi abb00f01c9 fix(antivirus): treat a clamd ERROR reply as a failed scan
Signed-off-by: Ryo Kusnadi <ryokusnadi@gmail.com>
2026-11-11 09:31:06 +01:00
Jannik Stehle 7be14e1ee9 Merge pull request #3932 from opencloud-eu/feat/guest-link-logout
fix(auth-guest): add missing guest link logout endpoint
2026-11-10 13:36:36 +01:00
Andre Duffeck 318991481a Merge pull request #3936 from aduffeck/idcache-nats-only
Remove redis-sentinel from store descriptions
2026-11-10 13:32:52 +01:00
André Duffeck 487313d06c Remove redis-sentinel from store descriptions
Redis isn't supported anymore. Also note that the posix driver needs
nats-js-kv for the id cache.
2026-11-10 12:26:09 +01:00
Jannik Stehle f5990666d1 feat(auth-guest): add guest link logout endpoint 2026-11-10 10:39:05 +01:00
Jörn Friedrich Dreyer 9f6df0cebe Merge branch 'main' into feat/userlog_event_handler_on_demand
Keep main's shared.AllComponentsDisabledError name and use it in
userlog and eventhistory as well.

Assisted-by: Claude Opus 5.5
2026-11-09 15:20:21 +01:00
Jannik Stehle 0699ef622a chore: bump web to v8.2.2-beta.1 2026-11-09 12:33:14 +01:00
Andre Duffeck 2013f811c3 Merge pull request #3900 from aduffeck/search-index-memory
Bound the memory of bleve indexing
2026-11-09 09:23:36 +01:00
André Duffeck 5bda7ddc9b Document the memory bleve needs for merging 2026-11-09 08:21:57 +01:00
Alex Ababii ae2116d2bc fix(proxy): fix codacy report in test 2026-11-06 12:29:04 +01:00
Alex Ababii 0a4bf452cd fix(proxy): handle tus upload with guest session through guest links autheticator 2026-11-06 12:29:04 +01:00
Alex Ababii 6441bfabbf fix(proxy): handle guest link signed with jwt 2026-11-06 12:29:04 +01:00
Alex Ababii 007c09d499 fix(proxy): upd guest link authenticator middleware 2026-11-06 12:29:04 +01:00
Alex Ababii 654d02f86d fix(proxy); restrict non guest related credentials in guest link authenticator middelware 2026-11-06 12:29:02 +01:00
micbar f558acdfdb fix: keep the health checks out of the access log 2026-11-05 23:00:19 +01:00
André Duffeck a88477aa73 Write one bleve batch at a time
bleve keeps the analysis of a whole batch in memory until it is written, so
batches of spaces reindexed in parallel stacked up their memory.
2026-11-04 15:47:44 +01:00
André Duffeck 51b7c8b0d3 Bound the memory of bleve indexing batches
Push a batch at 16 MiB of document data or before a document would overflow
it. Reindexing large text files ran out of memory otherwise.
2026-11-04 15:47:33 +01:00
Ryo Kusnadi 31722c878e fix(proxy): answer 403 instead of 500 when the role claim is missing
With PROXY_ROLE_ASSIGNMENT_DRIVER=oidc, a token whose claims give no
OpenCloud role made the account resolver answer 500. Mark these claim
errors with userroles.ErrRoleClaim and answer 403 for them. Failures of
the settings or gateway service still answer 500.

Signed-off-by: Ryo Kusnadi <ryokusnadi@gmail.com>
2026-11-04 15:29:30 +01:00
Dominik Schmidt 44ef380168 fix(proxy): allow blob: in media-src for motion and live photo playback 2026-11-04 12:14:54 +01:00
opencloudeu 79b2f33848 [tx] updated from transifex 2026-11-03 23:17:38 +00:00
Andre Duffeck 5d0440378d Merge pull request #3884 from opencloud-eu/fix/webdav-generator-passthrough
fix(webdav): stream announced types without a converter to the generator
2026-11-03 14:45:04 +01:00
Dominik Schmidt e462b8ce27 fix(webdav): stream announced types without a converter to the generator 2026-11-03 11:34:16 +01:00
Jörn Friedrich Dreyer 8e83a0eebc Merge pull request #3464 from maki5/fix/upd_chi_real_ip
fix(chore): upd deprecated chi RealIP middelware
2026-11-03 11:05:58 +01:00
Andre Duffeck e140d0250e Merge pull request #3853 from aduffeck/smtp-encryption-3844
Point to the encryption setting when the SMTP server requires STARTTLS
2026-11-02 11:17:19 +01:00
micbar b7bb4fbe8c fix: client address for clients in a private network and behind the proxy 2026-11-02 10:25:18 +01:00
Andre Duffeck 12d8edb6e7 Merge pull request #3858 from aduffeck/kql-quote-escaping
Support doubled quotes in KQL values
2026-11-02 08:56:40 +01:00
opencloudeu 5ccce9c7e7 [tx] updated from transifex 2026-10-31 23:17:01 +00:00
Andre Duffeck 70fbc9fcb6 Merge pull request #3516 from opencloud-eu/fix/search-kql-path-normalization
fix(search): normalize KQL path once
2026-10-30 16:18:52 +01:00
Andre Duffeck 4118cd0b11 Merge pull request #3142 from opencloud-eu/fix/opensearch-bulk-item-errors
fix(search): report rejected documents when indexing to OpenSearch
2026-10-30 16:18:49 +01:00
micbar 4e7ebd4f8c fix: only trust forwarding headers from trusted reverse proxies
chi's ClientIPFrom* header middlewares trust the header from anyone who can
  reach us. Pick the middleware per request instead: headers are only read
  when the peer is a trusted proxy, everyone else gets their network address.

  - PROXY_TRUSTED_PROXIES, defaults to loopback and private ranges
  - PROXY_CLIENT_IP_HEADER, defaults to X-Forwarded-For, e.g. CF-Connecting-IP
  - drop the strategy setting and xff_trusted_hops
  - pass the client address to the services in X-Forwarded-For instead of
    X-Client-Ip, reva reads it e.g. for OCM
  - same check in collaboration, traefik routes to it directly
  - OC_TRUSTED_PROXIES and OC_CLIENT_IP_HEADER set both services
  - the other services only drop RealIP, none of them reads the address

  Taken from #3864 and https://github.com/opencloud-eu/opencloud/pull/3464#issuecomment-6494799883

# Conflicts:
#	services/proxy/README.md
2026-10-30 15:15:22 +01:00
Alex Ababii cf0f06e060 select correct chi middleware to get real IP based on config values 2026-10-30 15:13:55 +01:00
Alex Ababii 2230f93bfb upd test 2026-10-30 15:13:55 +01:00
Alex Ababii 850f1714a1 upd deprecated chi RealIP middelware 2026-10-30 15:13:54 +01:00
Dominik Schmidt e1f313be98 fix(search): keep a leading wildcard in place of the KQL path prefix 2026-10-30 12:56:41 +01:00
Dominik Schmidt ff482878d3 fix(search): keep pushing a batch after a rejected bulk, join the errors 2026-10-30 11:53:45 +01:00
Dominik Schmidt 4a720c1a86 fix(search): resolve KQL path values like the scope path 2026-10-30 11:23:00 +01:00
Andre Duffeck 120750d8d5 Merge pull request #3476 from opencloud-eu/fix/graph-children-allowed-values
fix(graph): expose allowedValues on driveItem children
2026-10-30 11:11:32 +01:00