22837 Commits
Author SHA1 Message Date
Martin 85ffd6e943 docs: doc preparation for 8.2.0 first out of two (#12533)
docs: prepare for 8.2.0 part one
2026-07-09 13:32:19 +02:00
49c897e37a feat(graph): allow disabling the last sign-in timestamp update (#12522)
* feat(graph): [OCISDEV-1022] allow disabling last sign-in timestamp update

Add a new setting OCIS_LDAP_UPDATE_LAST_SIGNIN_DATE /
GRAPH_LDAP_UPDATE_LAST_SIGNIN_DATE (default true) to disable maintaining the
'oCLastSignInTimestamp' LDAP attribute on user sign-in. When set to false the
graph service no longer listens for UserSignedIn events and does not write the
attribute, without having to disable all LDAP writes or the events consumer.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* docs(changelog): [OCISDEV-1022] fix PR link to 12522

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test(graph): [OCISDEV-1022] cover last sign-in toggle; address review

- Add unit test covering both branches of StartListenForLogonEvents
  (subscribes when UpdateUserLastSignInDate is enabled, not when disabled).
- Set introductionVersion to 8.2.0.
- Reword the config description: the two settings are independent, the
  timestamp is only persisted when OCIS_LDAP_SERVER_WRITE_ENABLED is enabled
  rather than the toggle requiring it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Martin <github@diemattels.at>
2026-07-09 12:08:55 +02:00
Martin 4ea18e907d docs: update introduction version for graph envvar (#12527) 2026-07-09 09:12:38 +00:00
Michal Klos 1d41c091a9 fix: [OCISDEV-886] harden group join (#12490)
* fix: harden group join

* fix: e2e keycloak

* feat: jp review
2026-07-09 10:21:56 +02:00
Roman Perekhod c66464cab6 fix: [OCISDEV-825] Rate-limit the exportPersonalData endpoint (#12519)
* fix: Rate-limit the exportPersonalData endpoint

* fix: the RequreSelfUserID validation middleware added
2026-07-08 14:57:44 +02:00
Michal Klos 6d31212600 fix: [OCISDEV-756] harden ocm create share (#12496)
* fix: harden ocm create share

* chore: bump traefik
2026-07-08 13:26:43 +02:00
owncloud-translations-bot[bot] 71966ccbea chore: update translations from transifex (#12511)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-07-08 09:06:10 +02:00
dependabot[bot]andRoman Perekhod 35c25bb032 build(deps): bump actions/checkout from 6.0.2 to 7.0.0 (#12502)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 7.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/de0fac2e4500dabe0009e67214ff5f5447ce83dd...9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.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>
Co-authored-by: Roman Perekhod <2403905@gmail.com>
2026-07-08 07:19:31 +03:00
Juan Pablo Villafañez 60eee82d0d fix: auth-app will create the user home if needed (#12457)
* fix: auth-app will create the user home if needed

* fix: adjust tests

* chore: add changelog entry

* fix: test coverage
2026-07-07 17:24:13 +02:00
dependabot[bot] 29cfe6e11f build(deps): bump actions/cache from 5.0.5 to 6.1.0 (#12501)
Bumps [actions/cache](https://github.com/actions/cache) from 5.0.5 to 6.1.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/27d5ce7f107fe9357f9df03efb73ab90386fccae...55cc8345863c7cc4c66a329aec7e433d2d1c52a9)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: 6.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-07-07 14:59:28 +02:00
dependabot[bot] 9e9c960356 build(deps): bump dompurify from 3.4.2 to 3.4.11 in /web (#12514)
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.4.2 to 3.4.11.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.4.2...3.4.11)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.11
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-07 13:37:16 +02:00
Pradip Subedi dfa342c96f [tests-only][full-ci]test(cli): add clean-orphaned-grants CLI test scenarios (#12470)
* test(cli): add clean-orphaned-grants CLI test scenarios

* test(cli): strengthen output assertions for clean-orphaned-grants scenarios

* test(cli): remove dry-mode test

* test: inline service account credential methods in CliContext

* test: implement creation of orphaned grants
2026-07-07 16:30:42 +05:45
Juan Pablo Villafañez c0a90cb350 fix: more permissive redirect check (#12479)
* fix: more permissive redirect check

* fix: keep exact match for url, and ignore just the port for localhost

* test: add unit tests to the idp middleware

* chore: add changelog entry

* fix: add more tests and improve ipv6 support in the redirect
2026-07-07 11:47:43 +02:00
Lukas HirtandClaude Sonnet 5 6bad03d364 [full-ci] chore: [OCISDEV-5] merge and relicense ownCloud Web into oCIS (#12491)
* chore: [OCISDEV-5] Merge and relicense ownCloud Web into oCIS

Consolidate the ownCloud Web frontend into this repository as a single
product with one contribution surface and one license. The web/ source
is imported as-is from the final standalone owncloud/web release
(v12.5.0 / last-agpl-release @ b16a34fdf5569d2fd63b1ff3c575c1a4ee569ad3);
the archived owncloud/web repository remains the historical record for
everything at and before that commit.

Relicensing:
- All web/ contributors have signed the ownCloud CLA, granting ownCloud
  GmbH the right to relicense their contributions.
- web/LICENSE (AGPL-3.0) removed; the repository root LICENSE
  (Apache-2.0) now governs web/ as well, matching how the rest of the
  repo is already licensed.
- All 25 web/packages/*/package.json license fields flipped to
  Apache-2.0; root NOTICE added documenting the relicensing provenance.
- Added REUSE.toml + LICENSES/ so the whole repository (including
  vendored Go dependencies) is REUSE 3.3 compliant.

CI/build:
- services/web/Makefile now builds web assets from the in-tree source
  instead of downloading a release tarball from owncloud/web; license
  checking/saving likewise runs against the in-tree source.
- ci.env and tests/acceptance/run-e2e.py no longer clone owncloud/web
  for Playwright e2e tests.
- Added the app-provider and ocm e2e suites to acceptance-tests.yml's
  matrix, closing a coverage gap where they were silently excluded;
  ported the Collabora/OnlyOffice/federated-instance orchestration
  web's old CI used to run them.
- Added web-tests.yml (typecheck/format/lint/unit-test), a
  check-licenses.yml, commit-message.yml, and release-npm-packages.yml
  for the @ownclouders/* packages, replacing web's old standalone CI.
- Removed dead CI tooling inherited from the standalone repo
  (web/tests/drone, web/tests/actions, web/.github, and an orphaned
  ci.env-dependent cache-check script).

Docs:
- Rewrote docs/services/web/releasing.md and web/docs/releasing to
  describe the in-tree build/release process.
- Updated remaining references to github.com/owncloud/web across docs,
  services/web/README.md, and the deployment example to point at the
  in-tree web/ directory.

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

* ci: sync web/ translations via Transifex

web/ is a pnpm workspace nested inside the repo, so it isn't covered by
the existing translation-sync job (sub_path: ., no package.json at the
repo root). Add a second sync-web job invoking the same reusable
workflow with sub_path: web and package_manager: pnpm, so its l10n-read/
push/pull/write targets actually install web's dependencies instead of
silently running against an empty node_modules. Sequenced after the
existing sync job since both push to the same hardcoded
chore/translations-update branch.

* ci: fix pnpm cache setup order in web-tests and check-licenses

actions/setup-node's cache: pnpm input shells out to pnpm to resolve
the cache directory, so pnpm must already be on PATH when that step
runs. Both workflows ran `corepack enable` *after* setup-node, which
still failed: corepack writes its pnpm shim into the currently active
Node installation's bin dir, and setup-node had already swapped PATH
to the newly-installed Node version by that point, leaving the shim
behind. Use pnpm/action-setup instead, which installs a standalone
pnpm binary independent of the Node version, before setup-node runs.

Also set cache-dependency-path explicitly: the lockfile lives at
web/pnpm-lock.yaml, and cache-dependency-path resolves relative to
GITHUB_WORKSPACE regardless of the job's working-directory default
(that default only applies to run: steps, not to setup-node itself).

* fix(web): resolve 19 HIGH trivy findings in pnpm-lock.yaml

All 19 findings had fixes available upstream, so per this repo's own
.trivyignore policy (reserved for cases with no fix available), these
get fixed rather than suppressed.

vite (7.3.2 -> 7.3.5) is a direct dependency, bumped directly in every
package.json that pins it.

The other 8 (@xmldom/xmldom, flatted, form-data, immutable, js-cookie,
linkify-it, minimatch, ws) are purely transitive. Verified empirically
that `pnpm update <pkg>` silently no-ops on packages not declared in
any workspace manifest, even when a parent's semver range would allow
the fix (e.g. glob@10.5.0's `^9.0.4` covers 9.0.7) -- so pnpm.overrides
is genuinely required here, not just convenient.

minimatch is overridden with a version-range key
(minimatch@>=9.0.0 <9.0.7) rather than a blanket override, since 6
different major versions of minimatch coexist in the tree for
different consumers (3.x/5.x/10.x elsewhere); a blanket override would
have forced all of them to 9.0.7 and likely broken callers expecting a
different major's API.

* fix(web): unify @types/node resolution to stop duplicate vite types

The previous vite 7.3.2 -> 7.3.5 bump caused pnpm to resolve two
different @types/node versions (25.7.0 and 26.1.0) as vite's optional
peer across different workspace packages. vue-tsc then saw two
structurally-different copies of vite's types (e.g. Plugin, HotUpdateOptions)
and failed with TS2769 in design-system, web-client, web-pkg and
web-test-helpers' vite.config.ts files.

Force a single resolution via pnpm.overrides, pinned to 24.13.2 to
match the Node 24 runtime (engines/volta) rather than an arbitrary
newer major.

* fix(tests): fix ocm/app-provider e2e suites' oCIS orchestration

Both suites were newly wired up by the previous merge-web-repo commit
and hadn't run against real CI yet, so their setup had two latent bugs:

e2e-ocm: the federated instance's env only offset *_DEBUG_ADDR ports,
leaving the actual service ports (e.g. gateway's default
127.0.0.1:9142) unset. The federated "ocis server" process then
crashed trying to bind the same ports the primary instance already
held. run-github.py's Behat apiOcm suite already solved this with a
canonical tests/config/local/.env-federation port map (proven working,
since apiOcm passes) -- reuse it instead of the ad-hoc offset. Also
adds OCIS_ADD_RUN_SERVICES=ocm/OCIS_ENABLE_OCM, missing from the
primary instance too.

e2e-app-provider: tests/config/ci/app-registry.yaml maps its one
mimetype to "FakeOffice" (the stub used by apiCollaboration) and has
no docx entry at all, so the real Collabora/OnlyOffice containers this
suite drives never appeared in the web UI's "New file" menu. Add a
dedicated app-registry mapping both odt->Collabora and docx->OnlyOffice
with allow_creation, and use it only when COLLABORATION_NEEDED is set.

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

* fix(tests): trust federated oCIS cert, register office templates by target_ext

e2e-ocm: the primary and federated instances each generate their own
self-signed proxy cert. Only the primary's was ever added to the
system CA trust store, so Chromium refused the federated instance's
TLS handshake ("tls: unknown certificate") once federation began.
Trust the federated cert too, and thread OCIS_BASE_DATA_PATH through
its `ocis init` call (previously only set for the running server),
since that's where the cert actually gets written.

e2e-app-provider: reproduced the suite locally (real Collabora/
OnlyOffice containers + `ocis collaboration server`) and diffed
`/app/list` before/after. allow_creation and default_app alone don't
make the web UI's "New file" menu show an entry -- it additionally
requires app_providers[].target_ext, which reva's app-provider only
stamps onto a hardcoded set of "-template" mimetypes
(vendor/github.com/owncloud/reva/v2/.../appprovider/templates.go), not
the plain document mimetypes the previous config used. Existing odt/
docx files still open fine without a static entry, since Collabora/
OnlyOffice register their full supported mimetype list dynamically via
WOPI discovery -- it's specifically file *creation* that needs this.

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

* fix(changelog): shorten title over the 80-char lint limit

changelog/unreleased/bugfix-personal-space-fail-closed.md landed on
master (#12442) with a 97-char title, which changelog-lint rejects.
GitHub tests PRs against a merge with the current master tip, so this
started failing build-and-test on every open PR once master picked up
that commit -- unrelated to this branch's own changes. Fixing it here
since master needed to be merged in anyway.

* fix(tests): load web apps the ocm/app-provider e2e suites depend on

Both suites drive the web UI, and web only loads the web apps listed in
its UI config's "apps" array. run-e2e.py reuses
tests/config/ci/ocis-config.json, which predates the playwright suites
and lists neither app they need, so both failed deterministically while
the API-only Behat suites (apiOcm, apiCollaboration) kept passing:

e2e-ocm: the "open-cloud-mesh" app menu item can never render because
"ocm" was missing, so web-app-ocm was never loaded. Add it for the
federated suite. Behind that sat a second bug: the invite flow embeds
token@<BASE_URL_OCIS host> (127.0.0.1:9200) into invite codes, but the
federated instance authorizes providers against
tests/config/local/providers.json, which only lists localhost:9200.
Address the primary as https://localhost:9200 when federated, mirroring
run-github.py's passing apiOcm setup (the self-signed cert covers both
hosts; other suites keep 127.0.0.1).

e2e-app-provider: web-runtime only builds the per-provider Collabora/
OnlyOffice editor apps -- including their "New file" menu entries --
when web-app-external is loaded (web/packages/web-runtime/src/index.ts
gates on applicationStore.has('web-app-external')), and "external" was
missing. This also falsifies the previous target_ext theory: the
template-mimetype registry was active in the failing run and the menu
still never appeared, because the New-file menu needs only
allow_creation plus a registered provider
(web-app-external/src/index.ts). Revert the app registry to the plain
odt->Collabora / docx->OnlyOffice mimetypes web's own e2e CI proved out
(web/dev/docker/ocis/app-registry.yaml). Create-from-template still
works without static entries: reva stamps target_ext onto the -template
mimetypes the providers register via WOPI discovery.

Signed-off-by: Lukas Hirt <info@hirt.cz>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* ci: upload playwright traces and a11y report from e2e suites

Port the two upload-artifact steps the standalone web repo's e2e
workflow had: playwright error contexts/report output on failure, and
the a11y report on any non-cancelled run. Paths are prefixed with web/
since the web repo now lives in that subdirectory, artifact names use
the suite name instead of the job index, and the action pin matches the
one already used in this workflow.

Signed-off-by: Lukas Hirt <info@hirt.cz>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(tests): allow office editor iframes in the e2e proxy CSP

The app-provider suite got past file creation but every office test
then timed out waiting for the editor to render: ocis's default proxy
CSP only allows frame-src 'self' (exact scheme+host+port), so the
browser refused to embed the Collabora/OnlyOffice iframes served on
other ports. The COLLABORA_DOMAIN/ONLYOFFICE_DOMAIN env vars do nothing
on their own -- they are only substituted into a custom CSP file, which
is why the pre-merge web CI always set PROXY_CSP_CONFIG_FILE_LOCATION
(tests/drone/csp.yaml there). The localStorage SecurityError seen in
the logs was a downstream symptom: the CSP-blocked frame ends up with
an opaque origin where storage access throws.

Add the two editor domains to tests/config/ci/csp.yaml's frame-src and
img-src (mirroring web's proven csp.yaml) and point the collaboration
suite at it. The keycloak suite shares this file; for it the new
entries fall back to nonexistent default hosts and are inert.

Signed-off-by: Lukas Hirt <info@hirt.cz>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(licenses): attribute REUSE.toml copyright to ownCloud contributors

The web/ tree carries community contributions dating back to 2016; the
CLA grants a relicensing right, not a copyright transfer, so declaring
sole 2020-2026 ownCloud GmbH authorship was inaccurate.

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

* fix(tests): trust the Keycloak cert in e2e TLS setup

The Keycloak cert had no SAN, and NODE_EXTRA_CA_CERTS only ever pointed
at the oCIS cert, so any node-fetch/axios call made directly against
Keycloak (admin token fetch, user provisioning) failed TLS validation
and aborted the keycloak/mfa matrix jobs before a spec could run.

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

* fix(web): don't wipe assets/ before a successful build

build-assets ran `git clean -xfd assets` before the pnpm build; a failed
typecheck or vite build left assets/core/ empty, so the next Go embed or
docker deployment served no web UI. Clean only after the build succeeds.

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

* ci: fail clearly when a release tag matches no known package

If the tag-prefix loop found no match, the workflow silently fell
through to a jq lookup against "packages//package.json", failing with a
confusing path error instead of naming the problem.

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

* ci: drop duplicate dependency-license-check job

web-tests.yml already enforces the license allow-list via
`pnpm licenses:check` (license-checker-rseidelsohn) on every PR.
check-licenses.yml's dependency-license-check ran a second, differently
configured tool (npx license-checker, GPL/AGPL deny-list only), which
could disagree with the first without adding coverage.

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

---------

Signed-off-by: Lukas Hirt <info@hirt.cz>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 10:37:00 +02:00
Michal Klos d5964f64a9 fix: [OCISDEV-977] patch me (#12493)
fix: patch me
2026-07-07 07:07:15 +02:00
dependabot[bot]andRoman Perekhod b59170681e build(deps): bump the minor-and-patch group across 1 directory with 8 updates (#12503)
Bumps the minor-and-patch group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [github.com/gookit/config/v2](https://github.com/gookit/config) | `2.2.8` | `2.2.9` |
| [github.com/jellydator/ttlcache/v3](https://github.com/jellydator/ttlcache) | `3.4.0` | `3.4.1` |
| [github.com/kovidgoyal/imaging](https://github.com/kovidgoyal/imaging) | `1.8.21` | `1.8.22` |
| [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) | `2.14.2` | `2.14.3` |
| [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) | `2.31.0` | `2.32.0` |
| [github.com/onsi/gomega](https://github.com/onsi/gomega) | `1.42.0` | `1.42.1` |
| [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) | `1.17.1` | `1.18.2` |
| [google.golang.org/grpc](https://github.com/grpc/grpc-go) | `1.81.1` | `1.82.0` |



Updates `github.com/gookit/config/v2` from 2.2.8 to 2.2.9
- [Release notes](https://github.com/gookit/config/releases)
- [Commits](https://github.com/gookit/config/compare/v2.2.8...v2.2.9)

Updates `github.com/jellydator/ttlcache/v3` from 3.4.0 to 3.4.1
- [Release notes](https://github.com/jellydator/ttlcache/releases)
- [Commits](https://github.com/jellydator/ttlcache/compare/v3.4.0...v3.4.1)

Updates `github.com/kovidgoyal/imaging` from 1.8.21 to 1.8.22
- [Release notes](https://github.com/kovidgoyal/imaging/releases)
- [Commits](https://github.com/kovidgoyal/imaging/compare/v1.8.21...v1.8.22)

Updates `github.com/nats-io/nats-server/v2` from 2.14.2 to 2.14.3
- [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.14.2...v2.14.3)

Updates `github.com/onsi/ginkgo/v2` from 2.31.0 to 2.32.0
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.31.0...v2.32.0)

Updates `github.com/onsi/gomega` from 1.42.0 to 1.42.1
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.42.0...v1.42.1)

Updates `github.com/open-policy-agent/opa` from 1.17.1 to 1.18.2
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-policy-agent/opa/compare/v1.17.1...v1.18.2)

Updates `google.golang.org/grpc` from 1.81.1 to 1.82.0
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.81.1...v1.82.0)

---
updated-dependencies:
- dependency-name: github.com/gookit/config/v2
  dependency-version: 2.2.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: github.com/jellydator/ttlcache/v3
  dependency-version: 3.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: github.com/kovidgoyal/imaging
  dependency-version: 1.8.22
  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.14.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-version: 2.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: github.com/onsi/gomega
  dependency-version: 1.42.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: github.com/open-policy-agent/opa
  dependency-version: 1.18.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: google.golang.org/grpc
  dependency-version: 1.82.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>
Co-authored-by: Roman Perekhod <2403905@gmail.com>
2026-07-06 12:38:16 +00:00
Roman Perekhod 8317d68786 fix: changelog ocisdev 884 (#12510)
fix: changelog-OCISDEV-884
2026-07-06 13:47:03 +02:00
Roman PerekhodandClaude Opus 4.8 6855942f49 Fix/ocisdev 884 (#12442)
* fix(proxy,graph): do not disable personal space on inconclusive permission check

When a user's role is (re-)assigned, both the proxy (on OIDC login) and the
graph appRoleAssignment handler check the Drives.Create permission to decide
whether to restore or disable the user's personal space. An indeterminate
permission result (transport error or a non-OK status other than
PERMISSION_DENIED) was treated as a denial, which disabled (trashed) the
personal space on a transient settings/gateway fault — with no automatic
re-enable. See OCISDEV-884.

Both call sites now fail closed: on an indeterminate result they leave the
personal space untouched, revert the just-persisted role assignment so the
user is not left in a half-applied state, and surface the error (the proxy
retries on the next login, the graph handler returns 500). Relies on the
matching reva utils.CheckPermission change that surfaces non-authoritative
statuses as an error.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* rebased

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 13:22:08 +00:00
owncloud-settings-bot[bot]andMartin f6030095f7 chore: add CODEOWNERS (managed by owncloud/admin) (#12487)
* chore: add CODEOWNERS (managed by owncloud/admin)

* chore: add CODEOWNERS (managed by owncloud/admin)

* chore: add CODEOWNERS (managed by owncloud/admin)

---------

Co-authored-by: owncloud-settings-bot[bot] <291027677+owncloud-settings-bot[bot]@users.noreply.github.com>
Co-authored-by: Martin <github@diemattels.at>
2026-07-03 11:30:27 +02:00
owncloud-translations-bot[bot] 796e3959a9 chore: update translations from transifex (#12495)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-07-03 08:04:14 +02:00
kobergjandClaude Opus 4.8 c14cf38cc9 feat(ocis): [OCISDEV-877] add clean-corrupt-public-shares command (#12494)
Add an "ocis shares clean-corrupt-public-shares" maintenance command that
removes public-share entries with a nil/empty resource_id. Such an entry makes
the json public-share manager's ListPublicShares panic with a nil-pointer
dereference; since the manager reads all entries and filters in memory, one bad
row poisons the endpoint for the whole tenant.

The command reads the raw persistence (so it never triggers the panic itself)
and writes back through the same metadata storage path the manager uses, so
blob size, mtime and etag are recomputed automatically. Defaults to --dry-run
and supports the jsoncs3 and json public-share drivers.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 16:30:38 +02:00
Pradip Subedi 79b380aba5 [tests-only][full-ci] test: add oc:spaceid to REPORT response acceptance tests (#12489)
test: add oc:spaceid to REPORT response acceptance tests
2026-07-02 17:17:32 +05:45
Pradip Subedi e4d15f3027 [tests-only][full-ci] test: add spaceId to remoteItem in incoming shares (#12485)
* test(apiSharingNg): add spaceId to remoteItem in incoming shares acceptance tests

* test(apiSharingNg): refactor expected failure file
2026-07-02 15:05:30 +05:45
Firas Frikha 97bd638de4 Deprecate the owncloudsql storage driver (#12486) 2026-07-01 13:57:35 +00:00
owncloud-translations-bot[bot] a404012dfc chore: update translations from transifex (#12478)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-07-01 14:13:52 +02:00
Michal Klos 87d1aaebdd feat: ci, harden changelog lint (#12483)
* feat: ci, changelog lint, harden

* fix: e2e-search flakiness

* fix: bleve search query
2026-07-01 09:50:08 +02:00
dependabot[bot] 01f58dabcd build(deps): bump the minor-and-patch group across 1 directory with 8 updates (#12477)
Bumps the minor-and-patch group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [actions/setup-go](https://github.com/actions/setup-go) | `6.4.0` | `6.5.0` |
| [shivammathur/setup-php](https://github.com/shivammathur/setup-php) | `2.37.0` | `2.37.2` |
| [docker/setup-compose-action](https://github.com/docker/setup-compose-action) | `2.1.0` | `2.2.0` |
| [pnpm/action-setup](https://github.com/pnpm/action-setup) | `6.0.8` | `6.0.9` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `4.0.0` | `4.1.0` |
| [docker/login-action](https://github.com/docker/login-action) | `4.1.0` | `4.2.0` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `7.1.0` | `7.2.0` |
| [softprops/action-gh-release](https://github.com/softprops/action-gh-release) | `3.0.0` | `3.0.1` |



Updates `actions/setup-go` from 6.4.0 to 6.5.0
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/4a3601121dd01d1626a1e23e37211e3254c1c06c...924ae3a1cded613372ab5595356fb5720e22ba16)

Updates `shivammathur/setup-php` from 2.37.0 to 2.37.2
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](https://github.com/shivammathur/setup-php/compare/accd6127cb78bee3e8082180cb391013d204ef9f...f3e473d116dcccaddc5834248c87452386958240)

Updates `docker/setup-compose-action` from 2.1.0 to 2.2.0
- [Release notes](https://github.com/docker/setup-compose-action/releases)
- [Commits](https://github.com/docker/setup-compose-action/compare/8cccb8c14b6500aaffebff1aa49c502c34d2e5e6...16feee727cbdc83b6a014e6cc26fec4a79bcf30c)

Updates `pnpm/action-setup` from 6.0.8 to 6.0.9
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/0e279bb959325dab635dd2c09392533439d90093...0ebf47130e4866e96fce0953f49152a61190b271)

Updates `docker/setup-buildx-action` from 4.0.0 to 4.1.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd...d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5)

Updates `docker/login-action` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/4907a6ddec9925e35a0a9e82d7399ccc52663121...650006c6eb7dba73a995cc03b0b2d7f5ca915bee)

Updates `docker/build-push-action` from 7.1.0 to 7.2.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/bcafcacb16a39f128d818304e6c9c0c18556b85f...f9f3042f7e2789586610d6e8b85c8f03e5195baf)

Updates `softprops/action-gh-release` from 3.0.0 to 3.0.1
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/b4309332981a82ec1c5618f44dd2e27cc8bfbfda...718ea10b132b3b2eba29c1007bb80653f286566b)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 6.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: shivammathur/setup-php
  dependency-version: 2.37.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: docker/setup-compose-action
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: pnpm/action-setup
  dependency-version: 6.0.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: docker/setup-buildx-action
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: docker/login-action
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: docker/build-push-action
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: softprops/action-gh-release
  dependency-version: 3.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  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-07-01 09:46:09 +02:00
Michal Klos ef24492d15 feat: ci, trivy scan (#12484)
* feat: ci, trivy scan

* chore: bump github.com/go-acme/lego
2026-06-30 09:35:40 +02:00
Michal Klos fe82975868 fix: ci, changelog lint (#12480) 2026-06-29 12:02:55 +02:00
David WalterandClaude Opus 4.8 2a242aab39 fix(audit): always set a non-empty action for share updates (#12423)
Share-update audit events were logged with an empty action and "updated field
''" because the conversion read the deprecated ShareUpdated.Updated field, which
reva no longer populates (it now sets UpdateMask). Received-share declines were
also never audited because the conversion matched "SHARE_STATE_DECLINED", which
is not a CS3 share state (the enum value is SHARE_STATE_REJECTED), leaving an
empty action and message.

The conversion now derives the updated field and action from UpdateMask (falling
back to the deprecated field), maps SHARE_STATE_REJECTED to the declined action,
and uses a generic, non-empty action for any unrecognized update field or share
state so every audit entry carries a countable action.

Signed-off-by: David Walter <david.walter@kiteworks.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-27 07:15:17 +00:00
dependabot[bot] 01107973b3 build(deps): bump the minor-and-patch group with 3 updates (#12452)
Bumps the minor-and-patch group with 3 updates: [github.com/coreos/go-oidc/v3](https://github.com/coreos/go-oidc), [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt) and [golang.org/x/image](https://github.com/golang/image).


Updates `github.com/coreos/go-oidc/v3` from 3.18.0 to 3.19.0
- [Release notes](https://github.com/coreos/go-oidc/releases)
- [Commits](https://github.com/coreos/go-oidc/compare/v3.18.0...v3.19.0)

Updates `go.etcd.io/bbolt` from 1.4.3 to 1.5.0
- [Release notes](https://github.com/etcd-io/bbolt/releases)
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.4.3...v1.5.0)

Updates `golang.org/x/image` from 0.42.0 to 0.43.0
- [Commits](https://github.com/golang/image/compare/v0.42.0...v0.43.0)

---
updated-dependencies:
- dependency-name: github.com/coreos/go-oidc/v3
  dependency-version: 3.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: go.etcd.io/bbolt
  dependency-version: 1.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: golang.org/x/image
  dependency-version: 0.43.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-06-26 11:39:57 +02:00
owncloud-translations-bot[bot] cf7ee8a8b8 chore: update translations from transifex (#12448)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-06-26 11:39:51 +02:00
David Walter b308470890 fix(graph): keep shares visible in sharedWithMe when a resource cannot be statted (#12430) 2026-06-26 10:33:47 +02:00
Michal Klos 27413d6c7a fix: service idp assets (#12462) 2026-06-24 12:31:37 +02:00
74cc826e5a docs: normalize legacy server product name to 'ownCloud Classic' (#12458)
* docs: normalize legacy server product name to "ownCloud Classic"

Rename the legacy server product to "ownCloud Classic" across the
embedded oCIS documentation (docs/ocis/ and services/frontend/README.md),
applying the version only as additional information where relevant
("ownCloud Classic 10"). This is a full sweep of the dev, architecture,
ADR, deployment and migration docs.

Scope is documentation prose only. Deliberately left untouched:
- the `oc10` technical codename used as the counterpart to the `ocis`
  codename — routing policies (`oc10` by default), env vars (`OC10_*`),
  endpoints/namespaces (`oc10 endpoints`, `oc10 namespace`), fileids,
  table headers and Mermaid / .drawio.svg diagram participant ids
- xref/include targets, file names (`oc10_ocis_parallel.md`), URLs,
  database table/column names (`oc_*`, `ownclouduuid`)
- oCIS / Infinite Scale references and source code
- historical changelogs

Lowercase/mixed-case prose variants ("owncloud 10", "OwnCloud 10") were
normalized too, and a couple of "classic ownCloud Classic" redundancies
introduced by the rename were cleaned up.

Part of the cross-repo rebrand tracked in owncloud/docs#5111.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>

* docs: drop redundant version from "ownCloud Classic 10"

Follow-up readability pass across the oCIS docs sweep: the product is
"ownCloud Classic", so the bare "10" is dropped throughout the prose
(migration guide, ADRs, storage/dev docs, services/frontend README).
No explicit minor version (e.g. 10.9) was attached to these product-name
mentions, so nothing version-specific was lost.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>

* ci: retrigger

---------

Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Michal Klos <michal.klos@kiteworks.com>
2026-06-24 10:15:48 +02:00
dependabot[bot] 4c66e38c31 build(deps): bump the minor-and-patch group across 2 directories with 3 updates (#12427)
Bumps the minor-and-patch group with 1 update in the / directory: alpine.
Bumps the minor-and-patch group with 2 updates in the /ocis/docker directory: amd64/alpine and arm64v8/alpine.


Updates `alpine` from 3.23.4 to 3.24.1

Updates `amd64/alpine` from 3.23.4 to 3.24.1

Updates `arm64v8/alpine` from 3.23.4 to 3.24.1

---
updated-dependencies:
- dependency-name: alpine
  dependency-version: 3.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: amd64/alpine
  dependency-version: 3.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: arm64v8/alpine
  dependency-version: 3.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-06-23 11:48:39 +02:00
David WalterandClaude Opus 4.8 e97c962c05 fix(revisions): pass space ID when purging revision blobs to avoid orphans (#12422)
PurgeRevisions called bs.Delete(&node.Node{BlobID: blobID}) with an empty
SpaceID. The s3ng/ocis blobstores derive the blob path from node.SpaceID +
node.BlobID, so the delete targeted the wrong path (a no-op on S3, a miss on
POSIX) while the revision metadata file was removed anyway, leaving the blob
orphaned. The space ID is now parsed from the revision path (via the existing
getIDsFromPath) and passed to the blobstore.

Signed-off-by: David Walter <david.walter@kiteworks.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 11:44:05 +02:00
David WalterandClaude Opus 4.8 4db7b89a44 fix(proxy): use events endpoint (not cluster id) for the readyz NATS check (#12421)
* fix(proxy): use events endpoint (not cluster id) for the readyz NATS check

The proxy readiness handler passed Events.Cluster (the cluster ID) to
NewNatsCheck, which forwards it to nats.Connect as an address. NATS then tried
to resolve the cluster ID as a host name and always failed, so /readyz reported
the proxy as not ready regardless of NATS reachability. Every other service
passes Events.Endpoint; the proxy now does too.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: David Walter <david.walter@kiteworks.com>

* test: drop now-passing proxy readiness expected-failure

The proxy /readyz fix makes serviceAvailabilityCheck.feature:115 ("check default
services readiness (graph, idp, proxy)") pass, so remove it from the expected
failures. The auth-bearer health/readiness entries (:124, :135) remain, as they
are a separate part of #10661 not addressed here.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: David Walter <david.walter@kiteworks.com>

---------

Signed-off-by: David Walter <david.walter@kiteworks.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 11:42:53 +02:00
David WalterandClaude Opus 4.8 de180087fe fix(proxy): keep group memberships when the OIDC groups claim is absent (#12420)
SyncGroupMemberships reconciles a user's groups against the groups claim and
removes them from any group not present in it. When a token carried no groups
claim at all (e.g. issued for an OIDC client without a groups mapper, such as a
dedicated desktop-client registration), the parsed group set was empty and the
user was removed from ALL of their groups.

Skip the sync when the groups claim is absent or null; a present-but-empty claim
is still treated as a legitimate "no groups" and reconciled. This mirrors the
guard the role-assignment path already has for a missing roles claim.

Signed-off-by: David Walter <david.walter@kiteworks.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 11:42:02 +02:00
David WalterandClaude Opus 4.8 6422c8dcb6 fix(graph): honor $select=actions on the permissions list endpoint (#12419)
ListPermissions only special-cased the $select for the roles allowedValues, so
a request selecting only @libre.graph.permissions.actions.allowedValues still
received the roles allowedValues too. Add the symmetric projection: when actions
are selected, drop the roles allowedValues and skip the share lookup, mirroring
the existing roles-only path.

Signed-off-by: David Walter <david.walter@kiteworks.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 11:40:17 +02:00
David WalterandClaude Opus 4.8 bfd0c8a4ea fix(proxy): re-verify access token when cached userinfo has expired (#12414)
getClaims rejected a request with jwt.ErrTokenExpired whenever the cached
userinfo entry's expiry had passed, instead of re-verifying the access token.
The cached "exp" is not always the real token expiry: for opaque access tokens
extractExpiration falls back to the configured cache TTL. A still-valid token
could therefore be rejected merely because its cache entry aged out, producing
spurious logouts (most visible under frequent PROPFIND requests).

getClaims now treats an expired cache entry as a cache miss and falls through to
VerifyAccessToken/UserInfo re-verification. A genuinely expired or invalid token
is still rejected by that re-verification, so authentication is not weakened.

The test's mock now returns a fresh claims map per call, mirroring the real
client, so the suite is race-clean (getClaims caches asynchronously).

Signed-off-by: David Walter <david.walter@kiteworks.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 11:25:50 +02:00
David WalterandClaude Opus 4.8 9296546be3 fix(proxy): guard against empty signing key store in presigned URL auth (#12418)
signatureIsValid indexed signingKey[0] without checking the slice length. When
the signing-key store returns an empty result without an error — which the
"noop" store does, and OCIS_CACHE_STORE=noop also switches the presigned-URL
signing-key store to noop — every signed-URL download panicked with
"index out of range [0] with length 0" (recovered per request as a 502), so all
signed-URL downloads failed.

Guard the index access and return a real authentication error. The previous
empty-value branch also returned a nil error, which would have accepted an empty
signing key; it now returns an error so the request is rejected.

Signed-off-by: David Walter <david.walter@kiteworks.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 11:23:54 +02:00
Roman Perekhod f3d2bc0557 fix: [OCISDEV-828] Fix the response code on deleting a non-existing link share on a space (#12266)
fix: Return 404 when deleting a non-existing link share on a space
2026-06-22 14:10:44 +02:00
nirajacharya2andSaw-jan 84c0641d7c [tests-only][full-ci] health check for k8s services when restarting services using ociswrapper (#12014)
* test: attach response body to the error message
test: use helper method to determine k8s

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: wait k8s service using health checks

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: store initial env

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix intial env load

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: wait for old pod to be deleted

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: improve logging

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: improve logging

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: increase wait timeout

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: separate functions

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: check if env updated

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: remove unnecessary frontend service env

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix service config

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: revert service config

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: check service health

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: check grpc server

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: handle missing port

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: do not count emtpy value env

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: log req-res timestamp

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: save initial env and reuse

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: delete user with retry

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: check grpc after health cehck

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: unset extra envs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix public link test

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: disable grpc checks

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix test

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: retry on 500 without explicit wait

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-06-22 09:37:21 +02:00
Michal Klos c8ad3818fd chore: bump go version to 1.25.11 (#12449)
chore: bump go version
2026-06-19 11:01:44 +02:00
Juan Pablo Villafañez 4945eb6833 Autoprop (#12386)
* feat: metadata autopropagation

* feat: autoprop support for MFA / vault mode

* fix: replace some http clients with reva ones

* chore: required lib update

* fix: adjust unit tests and generate new mocks

* fix: apply autopropagation to all regular graph routes

* chore: updated reva dependency

* fix: return the right decorator for the thumbnails

* fix: remove autopropagation headers in the proxy
2026-06-19 10:43:41 +02:00
Juan Pablo Villafañez 5a63ba423a [OCISDEV-577] fix: ensure the redirect_uri is valid (#12444)
fix: ensure the redirect_uri is valid
2026-06-19 10:41:52 +02:00
dependabot[bot] 5c3e20071d build(deps): bump the minor-and-patch group across 1 directory with 13 updates (#12440)
Bumps the minor-and-patch group with 10 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) | `2.14.1` | `2.14.2` |
| [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) | `2.29.0` | `2.31.0` |
| [github.com/onsi/gomega](https://github.com/onsi/gomega) | `1.41.0` | `1.42.0` |
| [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) | `1.16.2` | `1.17.1` |
| [github.com/tus/tusd/v2](https://github.com/tus/tusd) | `2.9.2` | `2.10.0` |
| [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.68.0` | `0.69.0` |
| [go.opentelemetry.io/contrib/zpages](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.68.0` | `0.69.0` |
| [golang.org/x/crypto](https://github.com/golang/crypto) | `0.52.0` | `0.53.0` |
| [golang.org/x/image](https://github.com/golang/image) | `0.41.0` | `0.42.0` |
| [golang.org/x/net](https://github.com/golang/net) | `0.55.0` | `0.56.0` |



Updates `github.com/nats-io/nats-server/v2` from 2.14.1 to 2.14.2
- [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.14.1...v2.14.2)

Updates `github.com/onsi/ginkgo/v2` from 2.29.0 to 2.31.0
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.29.0...v2.31.0)

Updates `github.com/onsi/gomega` from 1.41.0 to 1.42.0
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.41.0...v1.42.0)

Updates `github.com/open-policy-agent/opa` from 1.16.2 to 1.17.1
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/v1.17.1/CHANGELOG.md)
- [Commits](https://github.com/open-policy-agent/opa/compare/v1.16.2...v1.17.1)

Updates `github.com/tus/tusd/v2` from 2.9.2 to 2.10.0
- [Release notes](https://github.com/tus/tusd/releases)
- [Commits](https://github.com/tus/tusd/compare/v2.9.2...v2.10.0)

Updates `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` from 0.68.0 to 0.69.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.68.0...zpages/v0.69.0)

Updates `go.opentelemetry.io/contrib/zpages` from 0.68.0 to 0.69.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.68.0...zpages/v0.69.0)

Updates `golang.org/x/crypto` from 0.52.0 to 0.53.0
- [Commits](https://github.com/golang/crypto/compare/v0.52.0...v0.53.0)

Updates `golang.org/x/image` from 0.41.0 to 0.42.0
- [Commits](https://github.com/golang/image/compare/v0.41.0...v0.42.0)

Updates `golang.org/x/net` from 0.55.0 to 0.56.0
- [Commits](https://github.com/golang/net/compare/v0.55.0...v0.56.0)

Updates `golang.org/x/sync` from 0.20.0 to 0.21.0
- [Commits](https://github.com/golang/sync/compare/v0.20.0...v0.21.0)

Updates `golang.org/x/term` from 0.43.0 to 0.44.0
- [Commits](https://github.com/golang/term/compare/v0.43.0...v0.44.0)

Updates `golang.org/x/text` from 0.37.0 to 0.38.0
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-version: 2.14.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-version: 2.31.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: github.com/onsi/gomega
  dependency-version: 1.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: github.com/open-policy-agent/opa
  dependency-version: 1.17.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: github.com/tus/tusd/v2
  dependency-version: 2.10.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.69.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: go.opentelemetry.io/contrib/zpages
  dependency-version: 0.69.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: golang.org/x/crypto
  dependency-version: 0.53.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: golang.org/x/image
  dependency-version: 0.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: golang.org/x/net
  dependency-version: 0.56.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.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: golang.org/x/term
  dependency-version: 0.44.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: golang.org/x/text
  dependency-version: 0.38.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-06-18 15:55:33 +02:00
David WalterandClaude Opus 4.8 924af77963 fix(notifications): don't HTML-escape email template vars in place (#12413)
escapeStringMap mutated the variables map it was given. The per-recipient
render loop reuses the same fields map for every grantee, and the plain-text
template consumes the unescaped values, so escaping in place corrupted the
text body of every recipient after the first and added one extra layer of HTML
escaping to their HTML body (a space named "R&D" became "R&amp;amp;D"). This
affected notifications that fan out to multiple recipients, such as inviting a
group to a space.

escapeStringMap now returns a new map and leaves its input untouched, so every
recipient renders from the original values.

Signed-off-by: David Walter <david.walter@kiteworks.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 12:29:33 +02:00
LarsJurgensen 1ff20df320 chore: bump reva to 806e6 (#12439)
chore: bump reva to 806e6cde7fe5c5ecc9d6cf6372fa67120cd0c344
2026-06-16 10:14:24 +00:00