Commit Graph
5269 Commits
Author SHA1 Message Date
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
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
Andre Duffeck b8cc9c6eb5 Merge pull request #3496 from opencloud-eu/fix/search-geopoint-range
fix(search): index resources with out-of-range coordinates without a geopoint
2026-10-30 11:08:31 +01:00
Dominik Schmidt 9a870295d9 perf(search): skip unchanged facet keys when storing metadata 2026-10-30 10:06:51 +01:00
Andre Duffeck 5b1efe5eb1 Merge pull request #3862 from aduffeck/search-stale-facets
Remove facet metadata the indexer no longer extracts
2026-10-30 08:40:59 +01:00
opencloudeu cb585561b3 [tx] updated from transifex 2026-10-29 23:17:07 +00:00
Ralf Haferkamp 4e1ea5371b test(graph): wait for event metrics before asserting
The mock backend finished before the event counter was incremented,
allowing the assertion to run too early. Wait for the counter and stop
the consumer during cleanup.
2026-10-29 16:59:11 +01:00
Ralf Haferkamp 606fe4ee1b fix(storage): map legacy drivers to supported backends
Related: #3819
2026-10-29 16:59:11 +01:00
Ralf Haferkamp 5419a17fae fix(storage-users): use configured storage for stale node cleanup 2026-10-29 16:59:11 +01:00
André Duffeck ad834302be Remove facet metadata the indexer no longer extracts 2026-10-29 15:57:56 +01:00
André Duffeck fef2b7e3fa Support doubled quotes in KQL values
Fixes #3666
2026-10-29 10:00:59 +01:00
opencloudeu b806773a08 [tx] updated from transifex 2026-10-28 23:17:12 +00:00
André Duffeck 265126aab5 Point to the encryption setting when the SMTP server requires STARTTLS
With encryption set to none the server only answers 530, which doesn't hint at NOTIFICATIONS_SMTP_ENCRYPTION. See #3844.
2026-10-28 15:56:26 +01:00
opencloudeu 591b2055f4 [tx] updated from transifex 2026-10-27 23:18:49 +00:00
Pascal Wengerter dd1a7c009f chore(idp): allow PSF-2.0 license 2026-10-27 17:24:00 +01:00
Pascal Wengerter df08249bbd chore(idp): update node dependencies and move to Babel 8 2026-10-27 17:24:00 +01:00
opencloudeu 4d0b9cbb92 [tx] updated from transifex 2026-10-27 12:43:34 +00:00
opencloudeu 653759ff06 [tx] updated from transifex 2026-10-27 12:33:56 +00:00
Viktor Scharf 49b3ee1a3e chore: bump web to v8.2.1 (#3834) 2026-10-27 13:20:21 +01:00
Viktor Scharf ae4970d92c chore: bump reva to 2.52.0 (#3820) 2026-10-27 12:46:43 +01:00
Dominik Schmidt da8d490982 test(search): port the batch specs to ginkgo 2026-10-27 10:57:27 +01:00
Dominik Schmidt ff6b17177e Apply suggestion from @dschmidt 2026-10-27 10:55:36 +01:00
Dominik Schmidt 8aef6c5c22 fix(search): print delete by query failures as json 2026-10-27 10:55:36 +01:00
Dominik Schmidt 29da827436 fix(search): report rejected documents when indexing to OpenSearch 2026-10-27 10:55:36 +01:00
André Duffeck 23c1fb67aa Skip extraction for directories before checking the size limit
That gets rid of confusing log messages like

```
2026-10-27T08:57:23+01:00 INF file exceeds content extraction size limit. skipping. Name=Admin ..."
```
2026-10-27 08:51:45 +01:00
opencloudeu b3f16bd6dc [tx] updated from transifex 2026-10-26 23:17:07 +00:00
Michael Barz 4c6d7e7f1f Merge pull request #3710 from opencloud-eu/fix-delete-user
log errors when a personal space is deleted
2026-10-26 17:20:32 +01:00
Viktor Scharf a3b27e0856 chore: bump web to v8.2.0 (#3816) 2026-10-26 17:11:14 +01:00
micbar 01a6365dcb log errors when a personal space is deleted 2026-10-26 11:51:19 +01:00
Michael Barz cd6afff9e8 Merge pull request #3789 from opencloud-eu/feat-mail-notifications
feat: new mail notifications based on design system
2026-10-26 11:37:11 +01:00
Andre Duffeck 600e1fa41c Merge pull request #3793 from aduffeck/thumbnails-followups
Thumbnails followups
2026-10-26 10:53:50 +01:00
André Duffeck 9c15a7e4b1 Tell a deployment that mounts thumbnails/files where its cache goes 2026-10-26 09:34:33 +01:00
André Duffeck a2d729bb06 Hold a 0x0 box to the maximum thumbnail size as well
0x0 returns the source at its own size, which skipped the check and let anything up to the input limit through.
2026-10-26 09:34:30 +01:00