1
0
mirror of https://github.com/owncloud/ocis.git synced 2026-10-23 23:29:02 +03:00

23071 Commits

Author SHA1 Message Date
owncloud-translations-bot[bot]
390614e9d0 chore: update translations from transifex (#13212)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-10-23 16:56:50 +00:00
Matteo
45e2b94b5e chore: bump dompurify to version 3.4.17 (#13216)
Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-10-23 09:30:08 +02:00
Gaurav Soni
e609fefa8c feat(web): [OCISDEV-1417] make "Shared by" sortable in Shared with me (#13213)
The "Shared by" column in Shared with me could not be sorted. It now sorts
A to Z (Z to A on a second click) by all sharers' names in alphabetical
order, the same rule as "Shared with", so items shared by several people
stay in a stable place while the avatars keep their current order. Sorting
by "Shared with" also no longer reorders that column's avatars.

Signed-off-by: Gaurav Soni <sonigaurav119@gmail.com>
2026-10-22 11:31:47 +02:00
Matteo
2d8841f490 chore(web): bump vite to 7.3.7 and markdown-it to 14.3.3 (#13206)
Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-10-21 10:45:18 +02:00
Roman Perekhod
00567fa575 feat: [full-ci] [OCISDEV-1563] remove the owncloudsql driver (#13191)
Remove the deprecated owncloudsql driver configuration from the storage-users,
auth-basic, users, groups and sharing services and from the migrate command.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 09:53:26 +02:00
owncloud-translations-bot[bot]
4f7de832a8 chore: update translations from transifex (#13196)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-10-21 07:06:16 +00:00
Matteo
46684067e9 fix(collaboration): [OCISDEV-1550] fix closing a shared document from the office editor (#13198)
Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-10-21 08:19:05 +02:00
Lukas Hirt
dcdf6d4854 fix(web): [OCISDEV-1036] point npm package repository metadata to ocis (#13201)
The packages are now published from owncloud/ocis, but their repository
and homepage fields still referenced owncloud/web. npm trusted publishing
requires repository.url to exactly match the publishing repository, and
the first publish attempt (tsconfig 0.0.7) failed with a 404.

Also disable setup-node package manager caching in the release workflow,
as recommended for release builds.

Signed-off-by: Lukas Hirt <info@hirt.cz>
web-test-helpers-v13.0.0 web-pkg-v13.0.0 web-client-v13.0.0 design-system-v13.0.0 extension-sdk-v12.5.1 eslint-config-v12.5.1 prettier-config-v0.0.2 babel-preset-v0.0.2 tsconfig-v0.0.7
2026-10-20 11:31:55 +02:00
Lukas Hirt
3a62b3aafc chore(web): bump npm package versions for release (#13194)
Bump versions of the published @ownclouders packages to verify the npm
trusted publisher setup.

- web-client, web-pkg, web-test-helpers, design-system: 13.0.0
  (axios replaced by native fetch, vue3-gettext 2 -> 4)
- eslint-config, extension-sdk: 12.5.1
- babel-preset, prettier-config: 0.0.2
- tsconfig: 0.0.7

Signed-off-by: Lukas Hirt <info@hirt.cz>
2026-10-20 10:27:22 +02:00
Matteo
dd3989444d fix(web): [OCISDEV-1541] redirect vault root to default app (#13192)
* fix(web): [OCISDEV-1541] redirect vault root to default app

Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-10-20 08:28:22 +02:00
LarsJurgensen
5ed476c35e fix(graph): [OCISDEV-1561] tolerate preferred language lookup failures 2026-10-19 15:03:25 +02:00
owncloud-translations-bot[bot]
1ed8498d7d chore: update translations from transifex (#13183)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-10-19 09:51:00 +00:00
Lukas Hirt
f6a3aa694e test: [OCISDEV-1559] mark project spaces e2e journey as slow (#13162)
The 'unstructured collection of testable space interactions' test runs about 80 UI steps across two spaces and takes ~150s of its 180s budget, so slow CI runners made it time out. Mark it with test.slow(), as done for the other long journeys.

Signed-off-by: Lukas Hirt <info@hirt.cz>
2026-10-19 09:39:19 +02:00
Martin
d2d82ba95e docs: final removal of any docs related content (#13165)
* feat: final removal of any docs related content

* docs: fixes from codereview

* chore: remove dead protoc-gen-doc references, drop stale buf.gen.yaml warning

The buf.gen.yaml warning comment is incorrect: the bare plugin paths are
intentional, resolved at build time by the symlink protoc-deps creates via
`bingo get -l` before buf generate ever runs.

Removing the doc plugin block left protoc-gen-doc dead: nothing generates
with it anymore, but protoc-deps still installed/symlinked it and its
.bingo lock files were still committed.

See: https://github.com/owncloud/ocis/pull/13165#issuecomment-6218074157

---------

Co-authored-by: Michal Klos <michal.klos@kiteworks.com>
2026-10-16 17:04:41 +00:00
Thomas Müller
13d3481cfb chore(ci): set dependabot cooldown for github-actions (#13177)
A 7-day cooldown is already imposed before a newly-released GitHub
action may be used, but Dependabot's default cooldown is only 3 days,
so it raises github-actions PRs whose CI fails. Same change as
owncloud/core#41905.

Signed-off-by: Thomas Müller <323649642+oc-tmueller@users.noreply.github.com>
Co-authored-by: Thomas Müller <323649642+oc-tmueller@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 18:33:05 +02:00
Roman Perekhod
ee5da2733f fix: [OCISDEV-1053] Warn when resetting a service user password locks out login (#13176)
fix(idm): sync bind config when resetting a service user password

Resetting an IDM service user password with `ocis idm resetpassword
--user-type service` only changed the entry in the IDM directory. Services
such as auth-basic, users and groups still bound to LDAP as the reva service
user using the old bind_password from their configuration, so after a restart
those binds failed and regular admin login started returning 401 Unauthorized.

The command now rewrites the matching bind_password and service_user_passwords
keys in ocis.yaml when it is present, and always prints the environment
variables that must carry the new password for env-var and distributed
deployments it cannot rewrite.

Fixes: https://github.com/owncloud/ocis/issues/12569

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-16 15:20:41 +00:00
Roman Perekhod
720e1ee0b3 fix: Remove the unmarshalable request body field from graph log messages (#12915) 2026-10-16 14:07:44 +00:00
Michal Klos
08b6313c8b fix(graph): [OCISDEV-1506] enforce $filter before cross-instance user resolution (#13154) 2026-10-16 14:39:40 +02:00
Prajwol Amatya
0cbd7d3401 [tests-only][full-ci][k8s] test: run e2e ocm test suite with k8s deployment (#13104)
test: run e2e ocm test suite with k8s deployment

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-10-16 16:54:21 +05:45
owncloud-translations-bot[bot]
342f5eb0f1 chore: update translations from transifex (#13163)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-10-16 07:51:57 +00:00
Matteo
70f4e504b6 fix(web): [OCISDEV-1539] show a clear error for deleted public links and files (#13156) 2026-10-16 08:03:15 +02:00
dependabot[bot]
2db76a1c4e build(deps): bump shivammathur/setup-php from 2.37.2 to 2.40.0 in the minor-and-patch group across 1 directory (#13116) 2026-10-15 23:03:02 +02:00
Matteo
408c41dc83 fix(web): [OCISDEV-1555] remove federated connections in the OCM connections panel (#13160) 2026-10-15 18:38:31 +02:00
Matteo
c9856ef000 fix(web): [OCISDEV-1540] mark all notifications as read in the notifications menu (#13157) 2026-10-15 18:38:17 +02:00
Lukas Hirt
63fced12a6 fix(collaboration): retry rename and upload while file is processing (#13141)
* fix(collaboration): retry rename and upload while file is processing

RenameFile and PutFile failed with a 500 when the storage answered with CODE_TOO_EARLY because the file was still in postprocessing, e.g. right after PutRelativeFile. This made the wopi-builtin validator flaky. Share the retry-with-backoff logic that DeleteFile already had and apply it to Move and InitiateFileUpload as well. The retries are now bounded.

Signed-off-by: Lukas Hirt <info@hirt.cz>

* fix(collaboration): return context error when retry is cancelled

Return ctx.Err() from retryWhileTooEarly when the context is cancelled, document the intentional no-op after the wait, and add a test for it.

Signed-off-by: Lukas Hirt <info@hirt.cz>

---------

Signed-off-by: Lukas Hirt <info@hirt.cz>
2026-10-15 16:41:05 +02:00
Roman Perekhod
e76dc49698 fix: [OCISDEV-1502] The global variable OCIS_CACHE_DATABASE was replaced (#13158) 2026-10-15 13:29:49 +02:00
Pradip Subedi
c17c33b6d8 [full-ci][tests-only] test: fix flaky cliCommands tests (#13133)
* test: fix flaky blobstore test

* test: fix flaky backupconsistency test
2026-10-15 14:03:05 +05:45
owncloud-translations-bot[bot]
66e93ceaf3 chore: update translations from transifex (#13143)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-10-15 07:28:51 +00:00
Matteo
fba139fdec fix(web): [OCISDEV-1543] show details preview for public link files with spaces in the name (#13150) 2026-10-14 14:03:08 +02:00
Lukas Hirt
e0dd0e4348 fix(web): [OCISDEV-1527] disable vertical page overscroll in file apps (#13140)
Scrolling inside an app such as OnlyOffice could make the whole page bounce
with it, exposing the blank page background behind the app frame. Set
overscroll-behavior-y: none on the root element while AppWrapper is mounted
and restore the previous value on unmount. The logic lives in a new
useDisableRootOverscroll composable, which is covered by unit tests.

Signed-off-by: Lukas Hirt <info@hirt.cz>
2026-10-13 21:18:12 +02:00
Matteo
710bdf380a fix(web): [OCISDEV-1513] clean up trash view in the Safe (#13136) 2026-10-13 15:42:01 +02:00
Michal Klos
7b83f36060 fix(proxy): [OCISDEV-1517] add missing /vault/graph routes for activities and invitations (#13109) 2026-10-13 13:15:20 +00:00
Michal Klos
2a23956a8b fix(web): [OCISDEV-1518] show correct message when Safe access is denied for lacking permission (#13111)
* fix(web): [OCISDEV-1518] show correct message when Safe access is denied for lacking permission

* chore: changelog
2026-10-13 11:29:58 +00:00
Prajwol Amatya
9269643c0e [tests-only][full-ci][k8s] test: run e2e app-provider with k8s setup (#13046)
* test: run e2e app-provider with k8s setup

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: limit app-registry mimetypes

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: add host for onlyoffice

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: enable secure view

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: add available unified roles

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

---------

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-10-13 16:23:20 +05:45
Matteo
6c8fe4ebf7 fix(web): [OCISDEV-1511] refresh files stuck in processing after upload or copy (#13134)
* fix(web): [OCISDEV-1511] refresh files stuck in processing after upload or copy

A postprocessing-finished event that arrives while a folder reload or a
fetch after copy is still in flight is dropped, because the resource is
not in the store yet. The response then adds the resource as processing
and nothing clears it until a page reload.

Remember finished items for a short time and refetch them when they show
up in the store as processing.

* chore: [OCISDEV-1511] add changelog
2026-10-13 12:22:01 +02:00
kobergj
037ac76d26 ci(release): remove the disabled docker jobs from the release pipeline (#13129)
ci(release): remove the disabled docker jobs from the release pipeline (#13128)

Tagging v9.0.0-rc.1 produced a startup_failure: the workflow was rejected
before any job ran. owncloud pins Actions to an org allowlist
(owncloud/admin:actions-allowlist.yml, allowed_actions: selected with
sha_pinning_required), and three pins in this file are not on it:

  docker/setup-buildx-action @f87e5991 v4.4.1 (allowlist has v4.0.0)
  docker/login-action        @dbcb8138 v4.6.0 (allowlist has v4.1.0)
  docker/build-push-action   @c3c9e263 v7.4.0 (allowlist has v7.0.0)

Allowlist validation happens at parse time, so it does not care that all
three only appear in jobs already marked `if: false`.

Rather than pin them back, drop the jobs. Building, scanning and publishing
the production image moved to owncloud-docker/ocis, which is why these were
disabled in the first place; the image Trivy scan now runs there on every PR.
That leaves nothing to maintain here and removes all three offending pins.

Removes docker-build, docker-scan (dead too: it needs docker-build),
docker-manifest and docker-readme. Nothing outside that subgraph depended on
them, so the `docker_repos` and `is_production` outputs, the
PRODUCTION_RELEASE_TAGS / DOCKER_REPO_ROLLING / DOCKER_REPO_PRODUCTION env
vars and the REPOS computation go with them. is_prerelease stays, as
create-github-release still reads it.

The filesystem scan in security-scan-trivy is untouched.



(cherry picked from commit aab12d018e)

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-10-13 09:12:10 +02:00
owncloud-translations-bot[bot]
9faaefa83a chore: update translations from transifex (#13130)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-10-13 07:11:18 +00:00
Prajwol Amatya
85700efcd1 [tests-ony][full-ci][k8s] test: update storageusersvault setup for k8s (#13131)
test: update storageusersvault settings for k8s

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-10-13 10:52:53 +05:45
dependabot[bot]
91a8c76bdb build(deps): bump actions/setup-node from 6.4.0 to 7.1.0 (#13118)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.4.0 to 7.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v6.4.0...949feb2413d6458794dcd2491c4babbbce0c15c1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-12 19:44:39 +02:00
dependabot[bot]
88e2780a54 build(deps): bump actions/upload-artifact from 4.6.2 to 7.0.2 (#13117)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.2 to 7.0.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.6.2...cf430e030ddbb5b0abf93d22962f4752f3646cd9)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-12 16:22:42 +02:00
dependabot[bot]
60fcb2e214 build(deps): bump actions/download-artifact from 4.3.0 to 8.0.2 (#13119)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.3.0 to 8.0.2.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4.3.0...9000827ccba6bdab643e8b6fd33ac0654aef8333)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: 8.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-12 16:22:20 +02:00
dependabot[bot]
c8224fd434 build(deps): bump the minor-and-patch group across 1 directory with 7 updates (#13126)
Bumps the minor-and-patch group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [github.com/go-chi/httprate](https://github.com/go-chi/httprate) | `0.16.0` | `0.16.1` |
| [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap) | `3.4.14` | `3.4.15` |
| [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) | `2.15.0` | `2.15.1` |
| [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | `1.24.1` | `1.25.0` |
| [github.com/tidwall/gjson](https://github.com/tidwall/gjson) | `1.19.1` | `1.20.0` |
| [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.71.0` | `0.72.0` |
| [golang.org/x/sync](https://github.com/golang/sync) | `0.23.0` | `0.24.0` |



Updates `github.com/go-chi/httprate` from 0.16.0 to 0.16.1
- [Release notes](https://github.com/go-chi/httprate/releases)
- [Commits](https://github.com/go-chi/httprate/compare/v0.16.0...v0.16.1)

Updates `github.com/go-ldap/ldap/v3` from 3.4.14 to 3.4.15
- [Release notes](https://github.com/go-ldap/ldap/releases)
- [Commits](https://github.com/go-ldap/ldap/compare/v3.4.14...v3.4.15)

Updates `github.com/nats-io/nats-server/v2` from 2.15.0 to 2.15.1
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/RELEASES.md)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.15.0...v2.15.1)

Updates `github.com/prometheus/client_golang` from 1.24.1 to 1.25.0
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.25.0/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.24.1...v1.25.0)

Updates `github.com/tidwall/gjson` from 1.19.1 to 1.20.0
- [Commits](https://github.com/tidwall/gjson/compare/v1.19.1...v1.20.0)

Updates `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` from 0.71.0 to 0.72.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.71.0...zpages/v0.72.0)

Updates `golang.org/x/sync` from 0.23.0 to 0.24.0
- [Commits](https://github.com/golang/sync/compare/v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: github.com/go-chi/httprate
  dependency-version: 0.16.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: github.com/go-ldap/ldap/v3
  dependency-version: 3.4.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-version: 2.15.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: github.com/prometheus/client_golang
  dependency-version: 1.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: github.com/tidwall/gjson
  dependency-version: 1.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  dependency-version: 0.72.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: golang.org/x/sync
  dependency-version: 0.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-12 16:13:34 +02:00
Firas Frikha
69433426be chore(deps): [OCISDEV-901] bump reva to the legacy upload removal (#13112)
Signed-off-by: Firas Frikha <firas.frikha@kiteworks.com>
2026-10-12 11:51:14 +02:00
Matteo
9015eec558 fix(vault): [OCISDEV-1503] fix signed URL downloads in vault mode (#13097)
Save the MFA status after the user is resolved so signed-URL downloads
inherit it, and check its age on read. Build the signing-key URL with
the URL API so it works with the vault base URL.
2026-10-12 10:28:49 +02:00
owncloud-translations-bot[bot]
5129853267 chore: update translations from transifex (#13114)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-10-12 09:36:26 +02:00
Michal Klos
a669541b13 fix(notifications): [OCISDEV-1515] redact file/space names in vault share and membership emails (#13099) 2026-10-12 09:32:19 +02:00
Prajwol Amatya
c0c15f8cab chore: bump golang.org/x/net version (#13120) 2026-10-12 09:31:15 +02:00
Roman Perekhod
2e377bde67 fix: [OCISDEV-1476] fix AuthApp requests failing with a custom PROXY_… (#13078) (#13107)
* fix: [OCISDEV-1476] fix AuthApp requests failing with a custom PROXY_USER_OIDC_CLAIM

* fix: [OCISDEV-1476] map ErrAccountNotFound to 401 in verifyUser

AccountResolver.verifyUser only mapped ErrAccountDisabled to 401 before
falling through to a generic 500. The identity backend excludes disabled
accounts from by-username lookups and returns ErrAccountNotFound instead,
so a disabled user authenticating via AppAuth or basic auth got a 500
instead of a 401, caught by the acceptance test suite.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-09 13:37:34 +00:00
Roman Perekhod
703bbe1113 fix: [OCISDEV-1523] fix the LDAP master-ID filter for an empty base filter (#13100)
* fix: [OCISDEV-1523] fix the LDAP master-ID filter for an empty base filter

EnhanceFilterWithMasterID replaced an empty LDAP filter with a master-ID-only
filter. This action restricted an unrestricted search to master-ID users
only. The bug broke the cross-instance user search in multi-instance
deployments. The function now keeps an empty filter unchanged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* fix: [OCISDEV-1523] require an explicit LDAP user filter with a master ID

EnhanceFilterWithMasterID in ocis-pkg/ldap/filter.go now keeps an empty
LDAP filter unchanged instead of restricting it to master-ID users only.
The auth-basic, users, groups, and graph services reuse this function to
compute their default LDAP user filter at startup.

An unset filter now means these services resolve or authenticate every
user in the shared LDAP directory, not only master-ID users. This action
is a behavior change for a deployment that sets
OCIS_MULTI_INSTANCE_MASTER_ID without an explicit OCIS_LDAP_USER_FILTER.

Each service now rejects startup when OCIS_MULTI_INSTANCE_MASTER_ID is
set and its own user filter is empty. This action keeps a multi-instance
deployment scoped to its own users by default.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* refactor: [OCISDEV-1523] simplify EnhanceFilterWithMasterID guard clauses

The function collapses three early-return guards into one condition.
This action removes a duplicated rationale comment between filter.go
and filter_test.go.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* docs: [OCISDEV-1523] point the changelog entry at the master backport PR

The changelog entry pointed at PR 13096, the stable-8.2 backport. This
commit points the entry at the master-branch PR number instead.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-09 15:27:27 +02:00
Paul Faure
1347e3607d fix(proxy): don't log an error when create-home finds no user (#13102)
Requests on unprotected routes can carry a reva token without a resolved
user: reva's internal downloads to the data gateway (/data) are sent with
the caller's token. create_home logged "no user in context" at error level
for each of them, so every download added an error line. Log at debug with
the path instead; the request is passed on unchanged, as before.

Fixes #13101


Claude-Session: https://claude.ai/code/session_01WpoeSoKYEdgQcWjEzTVKpT

Signed-off-by: Paul Faure <paul@faure.ca>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 13:50:55 +02:00