Compare commits

..
Author SHA1 Message Date
lars.jurgensen ffa48b0af4 chore: bump golang.org/x/net version 2026-10-20 10:44:03 +02:00
Roman PerekhodandClaude Opus 4.8 c834c00918 fix: [backport] correct introductionVersion for OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL (#12950)
Change the documented introductionVersion of the
OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL environment variable from 8.0.0 to 8.3.0.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-09-14 17:07:00 +00:00
Roman Perekhod 448a1192dd fix: [stable-8.1] harden nats communication (#12933)
* fix: [OCISDEV-1115] harden nats communication

(cherry picked from commit 3deec26d89)

* chore: update changelog PR number to #12933
2026-09-14 09:24:17 +02:00
Roman Perekhod ff1cfab23b fix: [stable-8.1] Remove the unmarshalable request body field from graph log messages (#12917)
fix: Remove the unmarshalable request body field from graph log messages
2026-09-10 17:59:47 +02:00
Michal Klos 32f17816db chore: [stable-8.1] bump grpc (#12911)
chore: bump grpc
2026-09-09 14:47:44 +02:00
Roman Perekhod becd67d2e9 fix: [OCISDEV-1360] Cache LDAP instance mapper lookups (#12897) 2026-09-08 11:17:10 +02:00
Martin 9f2ff1c5c1 fix: [8.1] set the correct value of IV (#12901) 2026-09-08 08:52:03 +00:00
Michal KlosandDavid Walter ac57fb15d0 fix(graph): [stable-8.1] keep shares visible in sharedWithMe when a resource cannot be statted (#12861)
* fix(graph): keep shares visible in sharedWithMe when a resource cannot be statted (#12430)

* fix(graph): set correct introductionVersion 8.2.0 for GRAPH_RECEIVED_SHARES_STAT_TIMEOUT

The env var was tagged introductionVersion:"NEXT", a placeholder the docs
process rejects. The variable was introduced in 8.2.0 (matching master and
stable-8.2), so pin it to 8.2.0.

* chore(deps): bump google.golang.org/grpc to v1.83.1

Resolves CVE-2026-84304 (HIGH) flagged by the Trivy scan on this backport
branch. grpc's module go.mod is unchanged between v1.83.0 and v1.83.1, so this
is a code-only patch with no transitive dependency changes.

---------

Co-authored-by: David Walter <115982880+dj4oC@users.noreply.github.com>
2026-09-02 11:12:05 +02:00
Michal KlosandClaude Opus 4.8 5309c82dc9 fix: [OCISDEV-1208][stable-8.1] OIDC re verify access token (#12863)
* 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>

* fix: [OCISDEV-1208] stop NATS userinfo cache from signing out valid clients

* chore: bump golang.org/x/mod to v0.40.0

---------

Signed-off-by: David Walter <david.walter@kiteworks.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-09-01 14:48:11 +02:00
LarsJurgensen 08f8c2e655 chore: bump golang.org/x/image to v0.45.0 (#12807) 2026-08-18 10:06:31 +02:00
Martin 12b6b37506 fix: fix the introduction version of envvar in stable-8.1 (#12813) 2026-08-18 09:59:30 +02:00
Michal Klos b85ecfa96e feat: [stable-8.1][OCISDEV-855] receivedsharecache: retry on transient storage errors in CAS loop (#12788)
feat: [OCISDEV-855] receivedsharecache: retry on transient storage errors in CAS loop (#12621)
2026-08-14 13:10:03 +02:00
Michal Klos df9f6d7eca feat: [stable-8.1][OCISDEV-1115] harden nats communication (#12791)
feat: [OCISDEV-1115] harden nats communication (#12777)

* feat: [OCISDEV-1115] harden nats communication

* feat: bump reva for tls-enabled stores
2026-08-14 12:13:29 +02:00
Pradip Subedi bab93bc9a0 [tests-only][full-ci] test: Backport fix for coreApiShareManagementToShares (#12797)
test: enable secure viewer role before upload in moveReceivedShare scenarios
2026-08-14 15:51:24 +05:45
Michal Klos a3460e506f chore: [stable-8.1] bump go packages (#12774)
chore: bump go and web packages (#12765)

* chore: bump go packages

* chore: bump web packages
2026-08-12 13:29:36 +02:00
Michal Klos 73c874927d test: [stable-8.1] e2e ldap (#12711)
* test: e2e ldap

* test: e2e ldap distributed
2026-08-06 12:16:19 +02:00
Michal Klos 9e914ecaa2 fix: [OCISDEV-1031][OCISDEV-1032][stable-8.1] LDAP introductionVersion values (#12733)
fix: introductionVersion values
2026-08-06 10:03:02 +02:00
Michal Klos 4d49f21963 feat: [OCISDEV-1032][stable-8.1] ldap config and retry policy (#12672) (#12710)
feat: [OCISDEV-1032] ldap config and retry policy (#12672)

* feat: ldap config and retry policy

Co-authored-by: Roman Perekhod <2403905@gmail.com>

^ Conflicts:
^	go.mod
^	go.sum
^	services/graph/pkg/identity/ldap.go
^	services/graph/pkg/identity/ldap_education_class.go
^	services/graph/pkg/identity/ldap_education_class_test.go
^	services/graph/pkg/identity/ldap_education_school.go
^	services/graph/pkg/identity/ldap_education_school_test.go
^	services/graph/pkg/identity/ldap_education_user.go
^	services/graph/pkg/identity/ldap_education_user_test.go
^	services/graph/pkg/identity/ldap_group.go
^	services/graph/pkg/identity/ldap_writeback.go
^	services/graph/pkg/identity/ldap_writeback_test.go
^	services/graph/pkg/service/v0/service.go
^	vendor/github.com/owncloud/reva/v2/pkg/utils/ldap/config.go
^	vendor/modules.txt
2026-08-04 15:18:58 +02:00
Lukas HirtandMichal Klos e7ed967a3e feat(ldap): [OCISDEV-1031] add opt-in LDAP connection pool (#12686)
* feat(ldap): [OCISDEV-1031] add opt-in LDAP connection pool

Bump the vendored reva dependency to pick up the opt-in bounded LDAP
connection pool (owncloud/reva#658, #665), and wire it into oCIS: add
pool_enabled/pool_size/pool_checkout_timeout config to auth-basic,
users, groups and graph, forward it into the reva config map for the
first three, and unify graph's identity backend onto reva's LDAP
client (utils.GetLDAPClientFromConfig) instead of its own hand-rolled
reconnecting client, now that reva implements PasswordModify and
ModifyWithResult on both LDAP clients. Pooling is off by default and
fully backwards compatible.

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

test(ldap): [OCISDEV-1031] run graph LDAP suites with pooling enabled in CI

Add a dedicated ldap-pool-tests job to acceptance-tests.yml that reruns
apiGraphUser/apiGraph/apiGraphGroup with OCIS_LDAP_POOL_ENABLED=true, so
concurrent behat requests exercise checkout/release, eviction and the
pooled PasswordModify/ModifyWithResult path end-to-end, in addition to
the existing pooling-disabled runs of the same suites.

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

fix(ldap): [OCISDEV-1031] set real pool_size/pool_checkout_timeout defaults

Only PoolEnabled: false was set in the four defaultconfig.go files;
PoolSize/PoolCheckoutTimeout were left as Go zero values (0/0s),
relying on reva's NewLDAPPool substituting 5/30s when <= 0. That
reads as "zero connections" to an operator in the generated yaml
config rather than "default 5". Set the real defaults (5, 30s)
so documented defaults match what's emitted.

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

chore(deps): [OCISDEV-1031] bump reva to pick up LDAP TLS fixes

Bumps the vendored reva dependency to owncloud/reva@8ee2020, picking
up owncloud/reva#672 (restore MinVersion: tls.VersionTLS12 on LDAP
TLS connections) and owncloud/reva#674 (restore pinned-CA-only trust
and PEM validation for the CA-cert path), both flagged during review
of this PR.

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

docs: point changelog fragment at forward-port PR #12686

* chore: bump reva

---------

Co-authored-by: Michal Klos <michal.klos@kiteworks.com>
2026-08-04 11:27:59 +02:00
Roman PerekhodandClaude Opus 4.8 c8b131013d feat: [ocisdev-1033] forward port to 8.1 (#12708)
* feat(graph): eliminate LDAP read-after-write on create/update

Every graph LDAP create/update wrote the entry, then immediately re-read it
back by DN solely to recover the entry ID for the response model. Against a
replicated directory reached through a proxy, that read-back can hit a lagging
replica and fail or return stale data.

When oCIS generates the UUID itself (GRAPH_LDAP_SERVER_UUID disabled, the
default), the read-back returns nothing new: create responses are now
synthesized from the data already sent, and update responses are built by
folding the applied modifications onto the entry read before the write. When
the directory assigns the ID (GRAPH_LDAP_SERVER_UUID enabled), creates keep the
existing read-back since the generated ID cannot otherwise be recovered.

New ldap_writeback.go with two pure helpers:
- attrsFromAddRequest: flatten an AddRequest for ldap.NewEntry (create paths)
- applyModifyToEntry: fold a ModifyRequest (Replace/Add/Delete,
  case-insensitive, non-mutating, ByteValues populated for octet-string id
  parity) onto a copy of the pre-read entry (update paths)

All 9 write sites updated:
- creates (user, group, education user/class/school): synthesize when the ID is
  client-generated, keep the read-back when the server assigns it
- updates (user, education user): fold the ModifyRequest onto the pre-read
  entry; the AccountEnabled trailing override and the rename read-back inside
  changeUserName are preserved (rename is out of scope)
- education school update: updateSchoolProperties now returns its ModifyRequest
  so the caller can fold it; the displayName ModifyDN rename is folded as a
  displayName attribute replace
- education class update: pre-read widened from name/id only to the full
  education-class attribute set so classification/externalID are not dropped
  from the response; the externalID ModifyDN rename is folded as an attribute
  replace

Model builders are untouched, preserving the response shape. Existing update
tests were reconciled: read-back Search mocks that are no longer issued were
removed and the pre-read fixtures now carry the full baseline entry, with all
assertions unchanged.

OCISDEV-1033

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

* fix: hardcoded groupAttributeMap.id and wrong getLDAPGroup filter

* fix(graph): reject octet-string IDs without server-assigned UUIDs

Octet-string ID attributes (e.g. Active Directory's objectGUID) are assigned by
the directory server and require GRAPH_LDAP_SERVER_UUID=true. With
GRAPH_LDAP_SERVER_UUID=false oCIS generates the ID and writes it as a string
UUID, so an octet-string ID attribute would be decoded from raw string bytes
and produce a corrupt ID on both the read-back and the synthesize path.
NewLDAPBackend now rejects this incompatible combination at startup instead of
silently returning bad IDs.

Also adds regression tests for the id-attribute and group-name lookup fixes:
- CreateGroup / CreateEducationClass synthesize the response id under the
  configured GroupIDAttribute (not a hardcoded attribute name)
- getLDAPGroupByNameOrID filters by the group name attribute, not the user one

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

* fix: update the staled DN

* test(graph): assert no read-back by search scope, not hard-coded DN

The synthesize-on-create test matched the read-back on a hard-coded
createdDN whose correctness relied on the school base DN being empty.
Match on ScopeBaseObject instead: DN-independent and precise about the
read-back being eliminated.

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

* fix: fixed calling it with a nil argumets. prevent the slice mutations

* chore: tests

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-03 17:01:46 +02:00
Roman Perekhod 5fa92060dc chore: update the changelog (#12682) 2026-07-30 10:11:42 +00:00
kobergjandClaude Opus 5 2922769be9 fix(graph): [OCISDEV-1088] fix concurrent map access in share listing (#12670)
The errgroup workers converting CS3 shares into Graph DriveItems read from
the shared driveItems map while the collecting loop was already writing
results into the same map. The results channel is buffered, so workers never
blocked on the handover and the collecting loop started writing while workers
were still reading. The Go runtime aborts the process on a detected
concurrent map read and write, which is unrecoverable and dropped all
in-flight connections.

Collect the results after all workers have finished instead. Applies to
cs3UserSharesToDriveItems, cs3OCMSharesToDriveItems and
cs3PublicSharesToDriveItems, which all shared the same pattern.

Lowering OCIS_MAX_CONCURRENCY/GRAPH_MAX_CONCURRENCY was not a workaround: a
single worker still ran concurrently with the collecting loop.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-29 10:30:38 +02:00
kobergjandClaude Opus 5 88e6ce4844 fix(webdav): log unmapped thumbnail errors at error level (#12663) (#12666)
Failures of the thumbnails service were logged at debug level only, so
errors which are not a property of the requested file — such as the
thumbnails service being unreachable — were invisible at production log
levels. A complete preview outage produced HTTP 500 responses without a
single log line explaining them.

Unmapped errors are now logged at error level, while expected per-file
outcomes such as an unsupported file type or a file still being processed
stay at debug level. Two of the four thumbnail handlers also logged
without the request context, so their messages carried no request id.

Also add the missing codesEnum entries for 403, 425 and 429 and fall back
to a generic exception name for any remaining unmapped status code, so
error responses no longer render an empty <s:exception></s:exception>.


(cherry picked from commit 6950f47885)

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-07-28 21:01:24 +02:00
Roman Perekhod 683312afe6 fix: [OCISDEV-1045] Show vault-shared mountpoints in the vault drive list (#12644) 2026-07-27 11:27:27 +00:00
Roman PerekhodandClaude Opus 4.8 dad1bc306b chore: bump deps (#12647)
* chore: bump deps

* chore: bump axios to fix GHSA-gcfj-64vw-6mp9

Bump axios in services/idp from 1.16.1 to 1.18.x to resolve the HIGH
severity Trivy finding GHSA-gcfj-64vw-6mp9 (Node HTTP adapter can use
an inherited proxy after a redirect). Fixed in axios 1.18.0.

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

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-27 09:10:03 +02:00
Michal Klos a64576be7b fix: [backport][OCISDEV-886] harden group join (#12584)
fix: ocisdev-886 harden group join
2026-07-15 14:56:33 +02:00
1cdfbf67e0 [backport stable-8.1] feat(graph): allow disabling the last sign-in timestamp update (#12531)
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.



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



* 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.



---------



(cherry picked from commit 49c897e37a)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Martin <github@diemattels.at>
2026-07-09 14:33:12 +02:00
Roman Perekhod 730d9a047a [docs-only] release 8.1.0 fix changelog (#12507)
* empty

* fix: changelog
2026-07-06 11:12:07 +02:00
Roman PerekhodandMatteo bb74d4943f [docs-only] fix: changelog (#12506)
* fix: changelog

* empty

* ci: skip acceptance tests on docs-only changes (#12381)

Port the skip-if-unchanged logic from the old Drone pipeline to GitHub
Actions. A new detect-changes job checks whether all modified files match
documentation patterns (docs/, changelog/, .github/, .vscode/,
deployments/, CHANGELOG.md, CONTRIBUTING.md, LICENSE, README.md). When
they do, all test jobs are skipped. The [full-ci] PR title override and
workflow_dispatch bypass are preserved.

---------

Co-authored-by: Matteo <193476828+mzner@users.noreply.github.com>
2026-07-06 10:59:28 +02:00
Roman Perekhod 17e118ddae fix: downgrade the trivy action (#12504) 2026-07-06 10:15:36 +02:00
2fb1fc4cb7 [full-ci] Release 8.1.0 (#12498)
* chore: release 8.1.0-rc.2

* fix: skip docker jobs

* chore: update changelog

* chore: bump version to 12.4.2

* fix: changelog titles too long

* feat: ci, changelog lint

* fix: fixed the empty mount ID for storage-users (#12492)

* fix: fixed the empty mount ID for storage-users

* bump deps

* Release 8.1.0

* feat: translations

* chore: backport trivy scan

---------

Co-authored-by: Michal Klos <michal.klos@kiteworks.com>
Co-authored-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-07-03 17:20:22 +02:00
Roman Perekhod 2094b031b8 fix conflict (#12497) 2026-07-03 13:25:38 +02:00
Roman Perekhod 10bed5f347 fix: fixed the empty mount ID for storage-users (#12492)
* fix: fixed the empty mount ID for storage-users

* bump deps
2026-07-02 14:25:24 +02:00
Firas Frikha 7998d2c5a6 [backport]: Deprecate the owncloudsql storage driver (#12488)
Deprecate the owncloudsql storage driver (#12486)
2026-07-01 14:51:56 +00:00
Michal Klos 695c442eeb chore: [backport] bump form-data (#12463)
chore: bump form-data
2026-06-24 12:31:14 +02:00
Roman Perekhod 51c0ec9f52 fix: [OCISDEV-879] fix the config mask (#12397) (#12445) 2026-06-19 11:21:29 +00:00
Lukas HirtandClaude Sonnet 4.6 98a6fcd81c [full-ci] chore(web): bump ownCloud Web to v12.4.1 (#12450)
chore(web): bump ownCloud Web to v12.4.1

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-19 09:17:33 +00:00
Roman PerekhodandClaude Opus 4.8 adc6465b5e Backport/8.1/fix/ocisdev-884 (#12443)
* 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>

* bump reva latest stable-8.1

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 14:18:52 +02:00
Martin d1df3c409a docs(stable-8.1 PR12433): add delta envvar tables for 8.1 (#12434)
docs: add delta envvar tables for 8.1
2026-06-15 11:21:39 +00:00
Martin f86213dae4 fix(stable-8.1 PR12424): update docs relevant envvar placeholders for 8.1.0 (#12425)
fix: update docs relevant envvar placeholders for 8.1.0
2026-06-15 07:49:19 +00:00
kobergjandClaude Opus 4.8 71d91a08fd fix(deps): [OCISDEV-834] recover from dead NATS connections in nats-js-kv (stable-8.1) (#12402)
fix(deps): [OCISDEV-834] recover from dead NATS connections in nats-js-kv

Bumps the kobergj/plugins nats-js-kv replace pin to fc78af4, which fixes
hasConn() to treat a permanently-closed NATS connection as no connection.
Previously hasConn() only checked n.conn != nil, so once the client
exhausted its reconnect attempts the connection stayed non-nil but dead,
initConn() never re-ran, and every KV operation failed with
'nats: connection closed' until the pod was restarted.

Backport of #12401 to stable-8.1.

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 08:47:09 +02:00
kobergjandClaude Opus 4.8 61a97e162b fix(graph): [OCISDEV-751] return correct issuerAssignedId on /me (#12411)
The /graph/v1.0/me endpoint reported the internal user UUID as
identities[].issuerAssignedId instead of the OIDC sub. The fast path
built the user model from the CS3 context user, which does not carry the
external identity. /me now always resolves the user through the identity
backend; group memberships are still only expanded on $expand=memberOf.

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 08:46:53 +02:00
Roman Perekhod cebe1142ae feat: bump reva (#12410) 2026-06-12 18:12:41 +02:00
kobergjandClaude Opus 4.7 a36f7d7416 [backport stable-8.1] fix(graph): [OCISDEV-964] education user delete uses wrong id (#12400)
* fix(graph): [OCISDEV-964] education user delete uses wrong id

DeleteEducationUser called the LDAP backend with user.GetExternalID(),
while the regular /users handler and the pre-v8.0 code path used
user.GetId(). With the default RequireExternalID=false, the LDAP backend
looked up the user by name-or-UUID, so the externalID never matched, the
LDAP entry was never removed, and the response was a 404.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
(cherry picked from commit 27c9de6c72)
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>

* chore: bump high criticality dependencies

Bumps golang.org/x/image to v0.41.0 to clear 2 govulncheck advisories
(BMP/TIFF) that started failing CI on stable-8.1 after the vulnerability
database was updated.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>

* ci: pin node to 24.15.0 to unbreak e2e playwright install

Node 24.16.0 ships a yauzl regression that makes Playwright's post-download
zip extraction hang indefinitely, consuming the entire 6h job budget without
producing any output after the chromium download finishes.

Backported from master, see microsoft/playwright#40724.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
(cherry picked from commit dcdc1758dc)
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>

---------

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-12 14:57:11 +02:00
kobergj c6fb4b13c1 Release 8.1.0-rc.1 (#12355)
* chore: release 8.1.0-rc.1

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>

* chore: bump high criticality dependencies

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>

---------

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-06-09 10:51:30 +02:00
1036 changed files with 148516 additions and 50820 deletions

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.25.11
go 1.25.10
require github.com/vektra/mockery/v2 v2.53.5
+167 -135
View File
@@ -37,9 +37,8 @@ jobs:
DOCS_ONLY=true
while IFS= read -r file; do
case "$file" in
.github/workflows/*) DOCS_ONLY=false; break ;;
.github/*|.vscode/*|changelog/*|docs/*|deployments/*) ;;
*/CHANGELOG.md|*/CONTRIBUTING.md|*/README.md|CHANGELOG.md|CONTRIBUTING.md|LICENSE|README.md) ;;
CHANGELOG.md|CONTRIBUTING.md|LICENSE|README.md) ;;
*) DOCS_ONLY=false; break ;;
esac
done <<< "$CHANGED_FILES"
@@ -54,7 +53,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
@@ -66,18 +65,12 @@ jobs:
- name: Enable pnpm
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
with:
php-version: "8.4"
extensions: curl, xml, mbstring, zip, ldap, gd
tools: composer
- name: Install libvips-dev for ENABLE_VIPS build
run: |
sudo apt-get update -qq
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
sudo NEEDRESTART_MODE=a apt-get install -y libvips-dev
- name: Pre-checks and generate
run: |
# Phase 1 — I/O + light CPU, no contention between tasks.
@@ -135,10 +128,9 @@ jobs:
# from the ocis build. Critical path = ocis build (~300 s).
vmstat 2 > /tmp/vmstat-phase2.log & MONITOR_PID=$!
make ci-golangci-lint > /tmp/golangci-lint.log 2>&1 & PIDS=($!)
ENABLE_VIPS=true make -C ocis build > /tmp/ocis-build.log 2>&1 & PIDS+=($!)
make test > /tmp/unit-tests.log 2>&1 & PIDS+=($!)
GOWORK=off make -C tests/ociswrapper build > /tmp/ociswrapper-build.log 2>&1 & PIDS+=($!)
make ci-golangci-lint > /tmp/golangci-lint.log 2>&1 & PIDS=($!)
make -C ocis build > /tmp/ocis-build.log 2>&1 & PIDS+=($!)
make test > /tmp/unit-tests.log 2>&1 & PIDS+=($!)
FAILED=0
for PID in "${PIDS[@]}"; do wait "$PID" || FAILED=1; done
@@ -150,23 +142,12 @@ jobs:
END { printf "=== phase 2 load (2 vCPU): avg busy %d%% peak %d%% | avg runq %.0f peak %d | avg wa %d%%\n",
sum_b/n, pk_b, sum_r/n, pk_r, sum_wa/n }' /tmp/vmstat-phase2.log
echo "=== golangci-lint ===" && cat /tmp/golangci-lint.log
echo "=== ocis build ===" && cat /tmp/ocis-build.log
echo "=== ociswrapper build ===" && cat /tmp/ociswrapper-build.log
echo "=== unit tests ===" && cat /tmp/unit-tests.log
echo "=== golangci-lint ==="&& cat /tmp/golangci-lint.log
echo "=== ocis build ===" && cat /tmp/ocis-build.log
echo "=== unit tests ===" && cat /tmp/unit-tests.log
exit $FAILED
- name: Upload build artifacts
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: ocis-build-artifacts
path: |
ocis/bin/ocis
tests/ociswrapper/bin/ociswrapper
retention-days: 1
if-no-files-found: error
local-api-tests:
name: ${{ matrix.suite }}
needs: [build-and-test]
@@ -219,8 +200,19 @@ jobs:
- apiCollaboration
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "24"
- name: Enable pnpm
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
with:
php-version: "8.4"
extensions: curl, xml, mbstring, zip, ldap, gd
@@ -234,7 +226,9 @@ jobs:
key: libcurl-8.12.0-${{ runner.os }}
- name: Install libcurl 8.12.0 build dependencies
# Always run: libvips-dev is needed at runtime (govips thumbnails in the pre-built binary)
# Always run: libvips-dev is needed at runtime (govips thumbnails) and for
# pkg-config --exists vips to succeed so oCIS is built with ENABLE_VIPS=true.
# Skipping this on cache hit would cause oCIS to fall back to the imaging library.
run: |
sudo apt-get update -qq
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
@@ -268,14 +262,6 @@ jobs:
}
'
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: ocis-build-artifacts
- name: Restore binary permissions
run: chmod +x ocis/bin/ocis tests/ociswrapper/bin/ociswrapper
- name: Run ${{ matrix.suite }}
run: BEHAT_SUITES=${{ matrix.suite }} python3 tests/acceptance/run-github.py
@@ -290,30 +276,59 @@ jobs:
- cliCommands,apiServiceAvailability # grouped: both need ClamAV + email services
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "24"
- name: Enable pnpm
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
with:
php-version: "8.4"
extensions: curl, xml, mbstring, zip, ldap, gd
tools: composer
- name: Install libvips runtime
run: |
sudo apt-get update -qq
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: ocis-build-artifacts
- name: Restore binary permissions
run: chmod +x ocis/bin/ocis tests/ociswrapper/bin/ociswrapper
- name: Run ${{ matrix.suite }}
run: BEHAT_SUITES="${{ matrix.suite }}" python3 tests/acceptance/run-github.py
ldap-pool-tests:
needs: [build-and-test]
name: ldapPool-${{ matrix.suite }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
suite:
- apiGraphUser,apiGraph,apiGraphGroup
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "24"
- name: Enable pnpm
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
with:
php-version: "8.4"
extensions: curl, xml, mbstring, zip, ldap, gd
tools: composer
- name: Run ${{ matrix.suite }} with OCIS_LDAP_POOL_ENABLED=true
run: BEHAT_SUITES="${{ matrix.suite }}" OCIS_LDAP_POOL_ENABLED=true python3 tests/acceptance/run-github.py
core-api-tests:
name: ${{ matrix.suite }}
needs: [build-and-test]
@@ -333,8 +348,19 @@ jobs:
- "coreApiWebdavMove1,coreApiWebdavPreviews,coreApiWebdavUpload,coreApiWebdavUploadTUS"
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "24"
- name: Enable pnpm
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
with:
php-version: "8.4"
extensions: curl, xml, mbstring, zip, ldap, gd
@@ -348,7 +374,9 @@ jobs:
key: libcurl-8.12.0-${{ runner.os }}
- name: Install libcurl 8.12.0 build dependencies
# Always run: libvips-dev is needed at runtime (govips thumbnails in the pre-built binary)
# Always run: libvips-dev is needed at runtime (govips thumbnails) and for
# pkg-config --exists vips to succeed so oCIS is built with ENABLE_VIPS=true.
# Skipping this on cache hit would cause oCIS to fall back to the imaging library.
run: |
sudo apt-get update -qq
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
@@ -382,14 +410,6 @@ jobs:
}
'
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: ocis-build-artifacts
- name: Restore binary permissions
run: chmod +x ocis/bin/ocis tests/ociswrapper/bin/ociswrapper
- name: Run ${{ matrix.suite }}
run: >
BEHAT_SUITES="${{ matrix.suite }}"
@@ -430,29 +450,23 @@ jobs:
oidc_iframe: true
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
# 24.16.0 breaks playwright install (yauzl zip extraction hangs); pin to last known good.
# https://github.com/microsoft/playwright/issues/40724
node-version: "24.15.0"
- name: Enable pnpm
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
- name: Generate code
run: |
corepack enable && corepack prepare pnpm@10.28.1 --activate
pnpm config set store-dir ./.pnpm-store
- name: Install libvips runtime
run: |
sudo apt-get update -qq
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: ocis-build-artifacts
- name: Restore binary permissions
run: chmod +x ocis/bin/ocis tests/ociswrapper/bin/ociswrapper
make ci-node-generate
env:
CHROMEDRIVER_SKIP_DOWNLOAD: "true"
- name: Cache Playwright Chromium
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
@@ -541,21 +555,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install libvips runtime
run: |
sudo apt-get update -qq
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
name: ocis-build-artifacts
- name: Restore binary permissions
run: chmod +x ocis/bin/ocis
go-version-file: go.mod
cache: true
- name: Run litmus
run: python3 tests/acceptance/run-litmus.py
@@ -565,21 +568,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install libvips runtime
run: |
sudo apt-get update -qq
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
name: ocis-build-artifacts
- name: Restore binary permissions
run: chmod +x ocis/bin/ocis
go-version-file: go.mod
cache: true
- name: Run cs3api validator
run: python3 tests/acceptance/run-cs3api.py
@@ -589,21 +581,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install libvips runtime
run: |
sudo apt-get update -qq
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
name: ocis-build-artifacts
- name: Restore binary permissions
run: chmod +x ocis/bin/ocis
go-version-file: go.mod
cache: true
- name: Run WOPI validator (builtin)
run: python3 tests/acceptance/run-wopi.py --type builtin
@@ -613,26 +594,77 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install libvips runtime
run: |
sudo apt-get update -qq
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
name: ocis-build-artifacts
- name: Restore binary permissions
run: chmod +x ocis/bin/ocis
go-version-file: go.mod
cache: true
- name: Run WOPI validator (cs3)
run: python3 tests/acceptance/run-wopi.py --type cs3
external-ldap-tests:
name: external-ldap-smoke
needs: [build-and-test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version-file: go.mod
cache: true
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: "24"
- name: Enable pnpm
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
# web/idp assets must be embedded for `ocis server` to come up (same as run-github.py)
- name: Generate assets
run: make ci-node-generate
- name: Build oCIS
run: make -C ocis build
# Boots an external osixia LDAP + oCIS (embedded idm excluded) and runs the
# smoke scope against the graph API — exercises the external-directory
# read-after-write / retry path (OCISDEV-1030/1032/1033) that the embedded-idm
# acceptance jobs never hit.
- name: Run external-LDAP smoke
run: tests/ldap-smoke/run.sh
external-ldap-distributed-tests:
name: external-ldap-distributed-smoke
needs: [build-and-test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version-file: go.mod
cache: true
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: "24"
- name: Enable pnpm
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
# web/idp assets must be embedded for `ocis server` to come up (same as run-github.py)
- name: Generate assets
run: make ci-node-generate
- name: Build oCIS
run: make -C ocis build
# Distributed LDAP topology (proxy over an async syncrepl replica + write master);
# the replication lag exercises the retry / read-after-write path (OCISDEV-1030/1032/1033).
- name: Run external-LDAP distributed smoke
run: tests/ldap-smoke-distributed/run.sh
all-acceptance-tests:
needs: [detect-changes, local-api-tests, cli-tests, core-api-tests, litmus, cs3api, wopi-builtin, wopi-cs3, e2e-tests]
needs: [detect-changes, local-api-tests, cli-tests, core-api-tests, litmus, cs3api, wopi-builtin, wopi-cs3, e2e-tests, ldap-pool-tests, external-ldap-tests, external-ldap-distributed-tests]
runs-on: ubuntu-latest
if: always()
steps:
+1 -1
View File
@@ -31,7 +31,7 @@ jobs:
repository: owncloud/ocis
- name: Set up Docker Compose
uses: docker/setup-compose-action@16feee727cbdc83b6a014e6cc26fec4a79bcf30c # v2.2.0
uses: docker/setup-compose-action@8cccb8c14b6500aaffebff1aa49c502c34d2e5e6 # v2.1.0
- name: Prepare hosts entry
run: |
+43 -68
View File
@@ -3,59 +3,34 @@ name: Release
on:
push:
tags:
- 'v*'
branches:
- 'feat/release-pipeline**'
- "v*"
workflow_dispatch:
inputs:
version_override:
description: 'Version override (leave empty to auto-detect from latest tag)'
description: "Version (required, e.g. 8.1.0-rc.3)"
type: string
default: ''
required: true
env:
PRODUCTION_RELEASE_TAGS: '5.0,7,8'
PRODUCTION_RELEASE_TAGS: "5.0,7,8"
DOCKER_REPO_ROLLING: owncloud/ocis-rolling
DOCKER_REPO_PRODUCTION: owncloud/ocis
NODE_VERSION: '24'
PNPM_VERSION: '10.28.1'
NODE_VERSION: "24"
PNPM_VERSION: "10.28.1"
jobs:
determine-release-type:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.info.outputs.version }}
version: ${{ steps.info.outputs.version }}
is_production: ${{ steps.info.outputs.is_production }}
is_prerelease: ${{ steps.info.outputs.is_prerelease }}
docker_repos: ${{ steps.info.outputs.docker_repos }}
docker_repos: ${{ steps.info.outputs.docker_repos }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
if: ${{ github.ref_type == 'branch' || (github.event_name == 'workflow_dispatch' && inputs.version_override == '') }}
with:
fetch-depth: 0
fetch-tags: true
- id: info
run: |
next_dev() {
# If latest tag is already a pre-release (e.g. v8.0.2-dev.1), reuse its base
# version (8.0.2-dev.1) so repeated branch runs don't bump the patch counter.
# If latest tag is a production release (e.g. v8.0.1), increment patch (8.0.2-dev.1).
local tag=$(git tag --sort=-version:refname | grep -m1 '^v' || echo "v0.0.0")
local ver="${tag#v}"
if [[ "$ver" == *"-"* ]]; then
echo "${ver%%-*}-dev.1"
else
IFS='.' read -r M m p <<< "$ver"
echo "${M}.${m}.$((p + 1))-dev.1"
fi
}
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
VERSION="${{ inputs.version_override }}"
[[ -z "$VERSION" ]] && VERSION=$(next_dev)
elif [[ "${{ github.ref_type }}" == "branch" ]]; then
VERSION=$(next_dev)
else
VERSION="${GITHUB_REF#refs/tags/v}"
fi
@@ -83,19 +58,19 @@ jobs:
needs: [determine-release-type]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ env.NODE_VERSION }}
- run: npm install --silent -g yarn npx --force
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v4
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v4
with:
version: ${{ env.PNPM_VERSION }}
- run: pnpm config set store-dir ./.pnpm-store && make ci-node-generate
env:
CHROMEDRIVER_SKIP_DOWNLOAD: 'true'
CHROMEDRIVER_SKIP_DOWNLOAD: "true"
- run: make ci-go-generate
env:
BUF_TOKEN: ${{ secrets.BUF_API_TOKEN }}
@@ -112,6 +87,7 @@ jobs:
retention-days: 1
docker-build:
if: false
name: docker-build (${{ matrix.arch }}, ${{ matrix.repo }})
runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }}
needs: [determine-release-type, generate-code, security-scan-trivy]
@@ -125,13 +101,13 @@ jobs:
with:
name: generated-code
path: .
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- id: goversion
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
- run: |
@@ -151,21 +127,8 @@ jobs:
ARCH="${{ matrix.arch }}"
printf "tags<<EOF\n%s\nEOF\n" \
"${REPO}:${VERSION}-linux-${ARCH}" >> $GITHUB_OUTPUT
- id: build
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
with:
context: ocis
file: ocis/docker/Dockerfile.linux.${{ matrix.arch }}
platforms: linux/${{ matrix.arch }}
load: true
push: false
provenance: false
build-args: |
REVISION=${{ github.sha }}
VERSION=${{ needs.determine-release-type.outputs.version }}
tags: ${{ steps.tags.outputs.tags }}
- id: trivy
uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
continue-on-error: true
with:
image-ref: ${{ steps.tags.outputs.tags }}
@@ -196,7 +159,7 @@ jobs:
repo: ${{ fromJSON(needs.determine-release-type.outputs.docker_repos) }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
- uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
id: trivy
continue-on-error: true
with:
@@ -217,6 +180,7 @@ jobs:
exit 1
docker-manifest:
if: false
name: docker-manifest (${{ matrix.repo }})
runs-on: ubuntu-latest
needs: [determine-release-type, docker-build, docker-scan]
@@ -224,7 +188,7 @@ jobs:
matrix:
repo: ${{ fromJSON(needs.determine-release-type.outputs.docker_repos) }}
steps:
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -242,6 +206,7 @@ jobs:
"${{ matrix.repo }}:${{ needs.determine-release-type.outputs.version }}-linux-arm64"
docker-readme:
if: false
name: docker-readme (${{ matrix.repo }})
runs-on: ubuntu-latest
needs: [determine-release-type, docker-manifest]
@@ -270,7 +235,7 @@ jobs:
with:
name: generated-code
path: .
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
- run: |
@@ -289,7 +254,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
- uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
with:
scan-type: fs
format: table
@@ -309,7 +274,7 @@ jobs:
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
- run: npm install --silent -g yarn npx "pnpm@$PNPM_VERSION" --force
@@ -329,11 +294,19 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
- run: |
make changelog CHANGELOG_VERSION=$(echo "${{ needs.determine-release-type.outputs.version }}" | cut -d'-' -f1)
VERSION="${{ needs.determine-release-type.outputs.version }}"
# For prereleases (e.g. 8.1.0-rc.2), pass the full version so calens finds
# changelog/8.1.0-rc.2_*/ rather than falling through to the missing 8.1.0_*/ dir.
if [[ "$VERSION" == *-* ]]; then
CHANGELOG_VERSION="$VERSION"
else
CHANGELOG_VERSION=$(echo "$VERSION" | cut -d'-' -f1)
fi
make changelog CHANGELOG_VERSION="$CHANGELOG_VERSION"
# calens produces empty output when no versioned changelog directory exists (e.g. dev builds).
# Fall back to a pointer to the unreleased entries.
if [[ $(wc -l < ocis/dist/CHANGELOG.md) -lt 5 ]]; then
@@ -347,7 +320,14 @@ jobs:
create-github-release:
runs-on: ubuntu-latest
needs: [determine-release-type, build-binaries, license-check, generate-changelog, security-scan-trivy, docker-readme]
needs:
[
determine-release-type,
build-binaries,
license-check,
generate-changelog,
security-scan-trivy,
]
steps:
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
@@ -365,7 +345,7 @@ jobs:
with:
name: changelog
path: .
- uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
- uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
with:
tag_name: v${{ needs.determine-release-type.outputs.version }}
name: v${{ needs.determine-release-type.outputs.version }}
@@ -378,10 +358,6 @@ jobs:
needs:
- determine-release-type
- generate-code
- docker-build
- docker-scan
- docker-manifest
- docker-readme
- build-binaries
- security-scan-trivy
- license-check
@@ -405,7 +381,6 @@ jobs:
python3 scripts/audit-release.py \
--version "${{ needs.determine-release-type.outputs.version }}" \
--dir release-assets/ \
--github-release --docker
--github-release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+771 -5
View File
@@ -1,6 +1,10 @@
# Table of Contents
* [Changelog for unreleased](#changelog-for-unreleased-unreleased)
* [Changelog for 8.1.0](#changelog-for-810-2026-07-03)
* [Changelog for 8.0.4](#changelog-for-804-2026-05-22)
* [Changelog for 8.0.2](#changelog-for-802-2026-04-30)
* [Changelog for 8.0.1](#changelog-for-801-2026-03-09)
* [Changelog for 8.0.0](#changelog-for-800-2026-02-13)
* [Changelog for 7.3.1](#changelog-for-731-2025-11-24)
* [Changelog for 7.3.0](#changelog-for-730-2025-10-13)
@@ -65,11 +69,114 @@
The following sections list the changes for unreleased.
[unreleased]: https://github.com/owncloud/ocis/compare/v8.0.0...master
[unreleased]: https://github.com/owncloud/ocis/compare/v8.1.0...master
## Summary
* Bugfix - Show vault-shared mountpoints in the vault drive list: [#12644](https://github.com/owncloud/ocis/pull/12644)
* Bugfix - Log unmapped thumbnail errors and always report a sabredav exception: [#12666](https://github.com/owncloud/ocis/pull/12666)
* Bugfix - Fix concurrent map access when listing shares: [#12670](https://github.com/owncloud/ocis/pull/12670)
* Enhancement - Make OIDC group sync opt-in: [#12490](https://github.com/owncloud/ocis/pull/12490)
* Enhancement - Allow disabling the last sign-in timestamp update: [#12522](https://github.com/owncloud/ocis/pull/12522)
## Details
* Bugfix - Show vault-shared mountpoints in the vault drive list: [#12644](https://github.com/owncloud/ocis/pull/12644)
Shares of vault resources are mountpoints hosted on the shares storage provider
that grant into the vault storage provider. When listing spaces with the vault
`storage_id`, the storage registry skipped the shares provider entirely, so the
vault share mountpoint was missing from the vault drive list while still showing
up in the regular drive list.
The registry now also queries the shares provider when the vault storage id is
requested and segregates share mountpoints by their `grantStorageID`, so a vault
share only appears in the vault drive list and a regular share only in the
regular one.
https://github.com/owncloud/ocis/pull/12644
https://github.com/owncloud/reva/pull/666
* Bugfix - Log unmapped thumbnail errors and always report a sabredav exception: [#12666](https://github.com/owncloud/ocis/pull/12666)
The webdav service logged failures of the thumbnails service at debug level
only. Errors which are not a property of the requested file, such as the
thumbnails service being unreachable, were therefore invisible at production log
levels: a complete preview outage produced HTTP 500 responses without a single
log line explaining them. Unmapped errors are now logged at error level, while
expected per-file outcomes such as an unsupported file type or a file still
being processed stay at debug level. Two of the four thumbnail handlers also
logged without the request context, so their messages carried no request id.
In addition, `codesEnum` only mapped four status codes, so error responses for
all other codes were rendered with an empty `<s:exception></s:exception>`
element. The missing entries for 403, 425 and 429 have been added and any
remaining unmapped code now falls back to a generic exception name, so clients
always receive a usable exception.
https://github.com/owncloud/ocis/pull/12666
* Bugfix - Fix concurrent map access when listing shares: [#12670](https://github.com/owncloud/ocis/pull/12670)
Listing shares could abort the whole oCIS process with the Go runtime error
"fatal error: concurrent map read and map write". This is an unrecoverable
runtime fault, so it could not be caught and recovered from, and it dropped all
connections that were in flight at that moment.
When converting CS3 shares into Graph DriveItems, the worker goroutines read
from the shared driveItems map while the collecting loop was already writing
results into the very same map. The results channel is buffered, so the workers
never blocked when handing over an item and the collecting loop started writing
while workers were still running. The results are now collected after all
workers have finished, which removes the overlapping access.
Note that lowering the maximum concurrency did not avoid this, as a single
worker could still run concurrently with the collecting loop.
https://github.com/owncloud/ocis/pull/12670
* Enhancement - Make OIDC group sync opt-in: [#12490](https://github.com/owncloud/ocis/pull/12490)
**What changed.** `PROXY_AUTOPROVISION_CLAIM_GROUPS` now defaults to `""`, which disables OIDC group membership sync (and, with it, creation of local groups from claim values). It previously defaulted to `groups`. Setting it to a non-empty claim name restores the previous behaviour unchanged: memberships are synced and groups named in the claim are created if they do not exist locally.
**Why.** With `PROXY_AUTOPROVISION_ACCOUNTS=true` and the previous `groups` default, the proxy synced group memberships from the OIDC `groups` claim on every authenticated request out of the box, creating local groups for any claim value that did not already exist. In identity providers that let ordinary users create groups with arbitrary names, this allowed an unprivileged user to inject group names into oCIS. Defaulting the claim to empty makes group sync an explicit opt-in.
**Upgrade note.** Deployments that set `PROXY_AUTOPROVISION_CLAIM_GROUPS` explicitly are unaffected. Deployments that relied on the previous `groups` default without setting it will stop syncing group memberships after upgrade; set `PROXY_AUTOPROVISION_CLAIM_GROUPS=groups` to restore the previous behaviour.
Note: matching claim values to existing local groups is still done by display
name. Hardening that matching is tracked separately and is not part of this
change.
https://github.com/owncloud/ocis/pull/12490
* Enhancement - Allow disabling the last sign-in timestamp update: [#12522](https://github.com/owncloud/ocis/pull/12522)
The graph service maintains the 'oCLastSignInTimestamp' LDAP attribute of a user
on every sign-in (when the LDAP identity backend has write access). This can
cause a significant amount of LDAP write load, especially when the proxy's OIDC
userinfo cache has a short TTL and sign-in events are emitted frequently.
A new setting 'OCIS_LDAP_UPDATE_LAST_SIGNIN_DATE' /
'GRAPH_LDAP_UPDATE_LAST_SIGNIN_DATE' (default 'true') allows disabling the
update of the last sign-in timestamp without having to disable all LDAP writes
('OCIS_LDAP_SERVER_WRITE_ENABLED') or the graph events consumer. When set to
'false' the graph service no longer listens for 'UserSignedIn' events and does
not write the 'oCLastSignInTimestamp' attribute.
https://github.com/owncloud/ocis/issues/9942
https://github.com/owncloud/ocis/pull/12522
# Changelog for [8.1.0] (2026-07-03)
The following sections list the changes for 8.1.0.
[8.1.0]: https://github.com/owncloud/ocis/compare/v8.0.4...v8.1.0
## Summary
* Security - Add X-XSS-Protection header: [#12092](https://github.com/owncloud/ocis/pull/12092)
* Security - Upgrade libvips to 8.18.2: [#12301](https://github.com/owncloud/ocis/pull/12301)
* Security - Fix signing-key to public share guests: [#12332](https://github.com/owncloud/ocis/pull/12332)
* Bugfix - Fix postprocessing resume command --restart flag: [#11692](https://github.com/owncloud/ocis/issues/11692)
* Bugfix - Don't use hardcoded groupOfNames in group creation: [#11776](https://github.com/owncloud/ocis/pull/11776)
* Bugfix - Translation for some email notifications: [#11979](https://github.com/owncloud/ocis/pull/11979)
@@ -82,7 +189,24 @@ The following sections list the changes for unreleased.
* Bugfix - Prevent incomplete Tika extractions from permanently blocking re-index: [#12095](https://github.com/owncloud/ocis/pull/12095)
* Bugfix - Use O(1) document lookup instead of full search during reindexing: [#12096](https://github.com/owncloud/ocis/pull/12096)
* Bugfix - Fix IDP build on FreeBSD by disabling absolute Babel runtime: [#12114](https://github.com/owncloud/ocis/pull/12114)
* Bugfix - Always descend into directories during space reindexing: [#12119](https://github.com/owncloud/ocis/pull/12119)
* Bugfix - Don't index failed uploads: [#12121](https://github.com/owncloud/ocis/pull/12121)
* Bugfix - Avoid superfluous GetPublicShare call when deleting space permissions: [#12122](https://github.com/owncloud/ocis/pull/12122)
* Bugfix - Fix CreateHome cache: [#12128](https://github.com/owncloud/ocis/pull/12128)
* Bugfix - Return 200 OK for WOPI Lock requests in read-only and view-only modes: [#12257](https://github.com/owncloud/ocis/pull/12257)
* Bugfix - Fix typo in README: [#12263](https://github.com/owncloud/ocis/pull/12263)
* Bugfix - Fix space management middleware removing users from spaces on download: [#12285](https://github.com/owncloud/ocis/pull/12285)
* Bugfix - Search no longer disabled when OCIS_DISABLE_PREVIEWS=true: [#12303](https://github.com/owncloud/ocis/pull/12303)
* Bugfix - Stable order for user search attributes: [#12337](https://github.com/owncloud/ocis/pull/12337)
* Bugfix - Cache compiled rego policies to avoid recompiling on every request: [#12345](https://github.com/owncloud/ocis/pull/12345)
* Bugfix - SpaceEditorWithoutTrashbin roles now correctly allow file editing: [#12346](https://github.com/owncloud/ocis/pull/12346)
* Bugfix - Skip indexing of files still in postprocessing: [#12350](https://github.com/owncloud/ocis/pull/12350)
* Bugfix - Mask configs that hold secrets: [#12397](https://github.com/owncloud/ocis/pull/12397)
* Bugfix - Education user DELETE no longer 404s while leaving LDAP entry behind: [#12400](https://github.com/owncloud/ocis/pull/12400)
* Bugfix - Recover from permanently-closed NATS connections in the nats-js-kv store: [#12402](https://github.com/owncloud/ocis/pull/12402)
* Bugfix - Return correct issuerAssignedId on /me: [#12411](https://github.com/owncloud/ocis/pull/12411)
* Bugfix - Keep personal space when Drives.Create permission check is inconclusive: [#12429](https://github.com/owncloud/ocis/issues/12429)
* Bugfix - Fix the empty mount ID for reva config: [#12492](https://github.com/owncloud/ocis/pull/12492)
* Enhancement - Add web extensions deployment configuration: [#11940](https://github.com/owncloud/ocis/pull/11940)
* Enhancement - Add AI-assisted development guide: [#11941](https://github.com/owncloud/ocis/pull/11941)
* Enhancement - Bump Web to 12.3.1: [#12015](https://github.com/owncloud/ocis/pull/12015)
@@ -93,7 +217,25 @@ The following sections list the changes for unreleased.
* Enhancement - Support numeric range queries in KQL: [#12094](https://github.com/owncloud/ocis/pull/12094)
* Enhancement - Add blobstore CLI commands to storage-users service: [#12102](https://github.com/owncloud/ocis/pull/12102)
* Enhancement - Optimize search index after bulk reindexing: [#12104](https://github.com/owncloud/ocis/pull/12104)
* Enhancement - Add vault storage with MFA-protected access: [#12108](https://github.com/owncloud/ocis/pull/12108)
* Enhancement - Retry and abort on repeated extraction failures during indexing: [#12111](https://github.com/owncloud/ocis/pull/12111)
* Enhancement - Log effective data and config paths at startup: [#12117](https://github.com/owncloud/ocis/pull/12117)
* Enhancement - Allow resetting IDM service user passwords: [#12118](https://github.com/owncloud/ocis/pull/12118)
* Enhancement - Update images in the ocis_full deployment example: [#12123](https://github.com/owncloud/ocis/pull/12123)
* Enhancement - Add `ocis search optimize` CLI command: [#12136](https://github.com/owncloud/ocis/pull/12136)
* Enhancement - Add Keycloak to the ocis_full deployment example: [#12139](https://github.com/owncloud/ocis/pull/12139)
* Enhancement - Allow multiple objectClasses on group creation: [#12229](https://github.com/owncloud/ocis/pull/12229)
* Enhancement - Add SpaceEditorWithoutVersionsWithoutTrashbin space membership role: [#12261](https://github.com/owncloud/ocis/pull/12261)
* Enhancement - Add vault capabilities to the OCS capabilities endpoint: [#12283](https://github.com/owncloud/ocis/pull/12283)
* Enhancement - Disable public link sharing for vault resources: [#12321](https://github.com/owncloud/ocis/pull/12321)
* Enhancement - Update web-extension images in ocis_fuill: [#12324](https://github.com/owncloud/ocis/pull/12324)
* Enhancement - Bump dependencies: [#12325](https://github.com/owncloud/ocis/pull/12325)
* Enhancement - Add VaultMode permission: [#12328](https://github.com/owncloud/ocis/pull/12328)
* Enhancement - Add vault themes: [#12329](https://github.com/owncloud/ocis/pull/12329)
* Enhancement - Bump Web to 12.4.2: [#12450](https://github.com/owncloud/ocis/pull/12450)
* Enhancement - Deprecate the owncloudsql storage driver option: [#12486](https://github.com/owncloud/ocis/pull/12486)
* Enhancement - Bump Web to 12.3.3: [#13705](https://github.com/owncloud/web/pull/13705)
* Enhancement - Bump Web to 12.4.0: [#13809](https://github.com/owncloud/web/pull/13809)
## Details
@@ -108,6 +250,22 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/12092
* Security - Upgrade libvips to 8.18.2: [#12301](https://github.com/owncloud/ocis/pull/12301)
Bumped libvips to 8.18.2 in all Docker images to pick up the fix for a stack
buffer overflow.
https://github.com/owncloud/ocis/pull/12301
* Security - Fix signing-key to public share guests: [#12332](https://github.com/owncloud/ocis/pull/12332)
The /ocs/v[12].php/cloud/user/signing-key endpoint was reachable through a
public share session. The endpoint `public-token` is no longer allowed by the
public-share resource scope in reva.
https://github.com/owncloud/ocis/pull/12332
https://github.com/owncloud/reva/pull/608
* Bugfix - Fix postprocessing resume command --restart flag: [#11692](https://github.com/owncloud/ocis/issues/11692)
The `--restart` / `-r` flag for `ocis postprocessing resume` was broken due to a
@@ -253,6 +411,18 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/issues/12065
https://github.com/owncloud/ocis/pull/12114
* Bugfix - Always descend into directories during space reindexing: [#12119](https://github.com/owncloud/ocis/pull/12119)
The search indexer's `IndexSpace` walk previously used `filepath.SkipDir` to
skip entire directory subtrees when the directory itself was already indexed.
After a failed or interrupted indexing run (e.g. Tika crash), this caused
thousands of unindexed files to be permanently skipped because the parent
directory's mtime had not changed. The indexer now always descends into
directories, relying on the O(1) per-file DocID lookup to skip already-indexed
files efficiently.
https://github.com/owncloud/ocis/pull/12119
* Bugfix - Don't index failed uploads: [#12121](https://github.com/owncloud/ocis/pull/12121)
The search service was indexing uploads even when they failed. This caused
@@ -261,6 +431,178 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/12121
* Bugfix - Avoid superfluous GetPublicShare call when deleting space permissions: [#12122](https://github.com/owncloud/ocis/pull/12122)
We fixed `DeletePermission` to recognise space permission IDs (prefixed with
`u:` or `g:`) by their format before making any gateway calls. Previously,
deleting a space member always triggered a `GetPublicShare` lookup that was
guaranteed to fail, producing a confusing error log.
https://github.com/owncloud/ocis/issues/12012
https://github.com/owncloud/ocis/pull/12122
* Bugfix - Fix CreateHome cache: [#12128](https://github.com/owncloud/ocis/pull/12128)
Move the CreateHome middleware cache to the proxy.
https://github.com/owncloud/ocis/pull/12128
https://github.com/owncloud/reva/pull/562
* Bugfix - Return 200 OK for WOPI Lock requests in read-only and view-only modes: [#12257](https://github.com/owncloud/ocis/pull/12257)
OnlyOffice sends a WOPI Lock request when opening any document, even when the
user only has read access. The WOPI Lock handler was attempting to acquire a CS3
write lock regardless of the view mode, causing a permission error for read-only
tokens that OnlyOffice displayed as an error message on load.
The Lock handler now returns 200 OK immediately for READ_ONLY and VIEW_ONLY view
modes without attempting to acquire a lock, consistent with the WOPI spec.
https://github.com/owncloud/ocis/pull/12257
* Bugfix - Fix typo in README: [#12263](https://github.com/owncloud/ocis/pull/12263)
Fixed a typo in the README documentation.
https://github.com/owncloud/ocis/pull/12263
* Bugfix - Fix space management middleware removing users from spaces on download: [#12285](https://github.com/owncloud/ocis/pull/12285)
The space management middleware ran on every authenticated request, including
signed URL requests used for file downloads. Since signed URL auth does not
carry OIDC claims, the middleware interpreted the absence of claims as "user
should have no space access" and removed the user from all project spaces. On
the next OIDC request the user was re-added, causing an oscillating add/remove
cycle that led to intermittent download failures and transient "space not found"
errors.
The middleware now skips reconciliation entirely when no OIDC claims are present
in the request context.
https://github.com/owncloud/ocis/issues/12285
https://github.com/owncloud/ocis/pull/12285
* Bugfix - Search no longer disabled when OCIS_DISABLE_PREVIEWS=true: [#12303](https://github.com/owncloud/ocis/pull/12303)
Setting OCIS_DISABLE_PREVIEWS=true removed the WebDAV REPORT routes from the
router, breaking search on /dav/files, /dav/spaces and /webdav. The search
routes are now registered independently of the preview flag.
https://github.com/owncloud/ocis/pull/12303
* Bugfix - Stable order for user search attributes: [#12337](https://github.com/owncloud/ocis/pull/12337)
The `attributes` field returned from the user search endpoint came back in a
random order because `getUsersAttributes` ranged over a Go map. The function now
iterates over the configured `UserSearchDisplayedAttributes` slice, so the
returned attribute values follow the configured order.
https://github.com/owncloud/ocis/pull/12337
* Bugfix - Cache compiled rego policies to avoid recompiling on every request: [#12345](https://github.com/owncloud/ocis/pull/12345)
The policies service was reading and compiling .rego files from disk on every
request, causing unnecessary memory pressure and per-request latency. The
compiled PreparedEvalQuery is now cached per query string so compilation happens
at most once per query string over the lifetime of the service.
https://github.com/owncloud/ocis/pull/12345
* Bugfix - SpaceEditorWithoutTrashbin roles now correctly allow file editing: [#12346](https://github.com/owncloud/ocis/pull/12346)
Fixed a bug where the *WithoutTrashbin space editor roles were rendered as
read-only in the Web frontend. The OCS PermissionWrite bit was not set for these
roles because the RoleFromResourcePermissions round-trip required
RestoreRecycleItem, which these roles intentionally omit.
https://github.com/owncloud/ocis/pull/12346
* Bugfix - Skip indexing of files still in postprocessing: [#12350](https://github.com/owncloud/ocis/pull/12350)
When the search service re-indexed a space in response to an UploadReady event,
the walker visited sibling nodes whose blobs were not yet finalized in the
blobstore. Content extraction for those in-flight nodes triggered spurious
storage-users error logs (S3 NoSuchKey). The walker now skips nodes marked as
processing; they are indexed when their own UploadReady event arrives.
https://github.com/owncloud/ocis/pull/12350
* Bugfix - Mask configs that hold secrets: [#12397](https://github.com/owncloud/ocis/pull/12397)
Envvars and their config structs can hold secrets. The ServiceAccount config is
now masked.
https://github.com/owncloud/ocis/pull/12397
* Bugfix - Education user DELETE no longer 404s while leaving LDAP entry behind: [#12400](https://github.com/owncloud/ocis/pull/12400)
The education user delete handler used `user.GetExternalID()` for the backend
DELETE, while the regular `/users` handler and the pre-v8.0 code path used
`user.GetId()`. With the default `RequireExternalID=false`, the LDAP backend
looked up the user by name-or-UUID, so the externalID never matched, the LDAP
entry was never removed, and the response was a 404. This is now fixed.
https://github.com/owncloud/ocis/pull/12400
* Bugfix - Recover from permanently-closed NATS connections in the nats-js-kv store: [#12402](https://github.com/owncloud/ocis/pull/12402)
The `nats-js-kv` go-micro store plugin's `hasConn()` only checked whether the
connection object was non-nil, not whether it was still alive. Once the
underlying NATS client exhausted its reconnect attempts (e.g. a NATS pod restart
longer than the client's reconnect window), the connection stayed non-nil but
permanently closed. Because connection initialization is gated on `!hasConn()`,
it never re-ran, so every subsequent KV operation failed with `nats: connection
closed` until the affected pod was restarted.
This surfaced as several user-visible failures backed by the NATS KV cache, e.g.
all spaces becoming invisible (`storage-users` `ListStorageSpaces`) and download
failures from missing signing keys (`ocs`).
The store plugin now treats a closed connection as no connection, so the next
operation transparently re-initializes it.
https://github.com/owncloud/ocis/pull/12402
* Bugfix - Return correct issuerAssignedId on /me: [#12411](https://github.com/owncloud/ocis/pull/12411)
The `/graph/v1.0/me` endpoint reported the internal user UUID as
`identities[].issuerAssignedId` instead of the issuer-assigned identity (the
OIDC `sub`). The endpoint took a fast path that built the user model from the
CS3 user in the request context, which does not carry the external identity, so
it fell back to the internal UUID. `/me` now always resolves the user through
the identity backend, which reads the stored external identity and returns the
correct value. Group memberships are still only expanded when `$expand=memberOf`
is requested.
https://github.com/owncloud/ocis/pull/12411
* Bugfix - Keep personal space when Drives.Create permission check is inconclusive: [#12429](https://github.com/owncloud/ocis/issues/12429)
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. The permission check
collapsed two very different outcomes into a single `false`: the user genuinely
lacks the permission, and the permission could not be determined (a transport
error, or a non-OK status such as `CODE_INTERNAL` returned by the
settings/gateway service). In the second case the code proceeded to disable the
personal space, moving it to the trash, even though the user's entitlement was
never actually denied.
`utils.CheckPermission` now distinguishes the three cases at the root: a
transport error or a non-OK status other than `PERMISSION_DENIED` is surfaced as
an error and the callers fail closed. The personal space is left untouched, and
the graph appRoleAssignment handler additionally reverts the role assignment it
just persisted so the user is not left in a half-applied state. The role
transition is retried on the next login.
https://github.com/owncloud/ocis/issues/12429
* Bugfix - Fix the empty mount ID for reva config: [#12492](https://github.com/owncloud/ocis/pull/12492)
We fixed the empty mount ID for storage-users
https://github.com/owncloud/ocis/pull/12492
* Enhancement - Add web extensions deployment configuration: [#11940](https://github.com/owncloud/ocis/pull/11940)
We added deployment configuration for the photo-addon and advanced-search web
@@ -311,6 +653,10 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/12051
https://github.com/owncloud/ocis/pull/12087
https://github.com/owncloud/ocis/pull/12137
https://github.com/owncloud/ocis/pull/12302
https://github.com/owncloud/ocis/pull/12410
https://github.com/owncloud/ocis/pull/12492
* Enhancement - Add ResourceID field to UploadReady event: [#12060](https://github.com/owncloud/ocis/pull/12060)
@@ -375,6 +721,60 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/issues/12093
https://github.com/owncloud/ocis/pull/12104
* Enhancement - Add vault storage with MFA-protected access: [#12108](https://github.com/owncloud/ocis/pull/12108)
Added a dedicated vault storage that can be protected with MFA. A separate
`storage-users` service instance configured in vault mode runs and serves
`/vault/users` and `/vault/projects` mount points with a dedicated
`VaultStorageProviderID`. The `graph` service gained a new vault mode
(`OCIS_ENABLE_VAULT_MODE`) that serves the vault API under the `/vault` prefix.
The storage registry now routes vault-specific requests exclusively to the vault
storage provider, preventing accidental access to vault spaces when no explicit
storage ID is provided.
MFA status is propagated through gRPC metadata and forwarded in HTTP headers for
WOPI/collaboration flows.
https://github.com/owncloud/ocis/pull/12108
* Enhancement - Retry and abort on repeated extraction failures during indexing: [#12111](https://github.com/owncloud/ocis/pull/12111)
During `ocis search index` bulk reindexing, if the content extractor (e.g. Tika)
becomes unavailable, individual file extractions are now retried up to 5 times
with a 1-second delay between attempts. If a file still fails after all retries,
the failure is logged and the walk continues.
If 5 consecutive files fail extraction (indicating the extraction service is
down rather than a single file being problematic), the index walk is aborted
with an error so the admin can investigate.
Previously, extraction failures were silently logged and the walk continued at
full speed, accumulating thousands of wasted "connection refused" errors when
Tika was down.
https://github.com/owncloud/ocis/pull/12111
* Enhancement - Log effective data and config paths at startup: [#12117](https://github.com/owncloud/ocis/pull/12117)
OCIS now logs the effective data path and config path at startup so operators
can immediately verify that data is written to the expected location. This helps
catch misconfigured Docker volume mounts where data silently falls back to an
ephemeral container path instead of the intended persistent mount.
https://github.com/owncloud/ocis/issues/12044
https://github.com/owncloud/ocis/pull/12117
* Enhancement - Allow resetting IDM service user passwords: [#12118](https://github.com/owncloud/ocis/pull/12118)
The `ocis idm resetpassword` command now supports a `--user-type` flag to select
the account type: `user` (default, ou=users) or `service` (ou=sysusers). This
allows resetting passwords for service accounts (libregraph, idp, reva) which
live in `ou=sysusers`. Previously, the DN was hardcoded to `ou=users`, making it
impossible to reset service user passwords via the CLI.
https://github.com/owncloud/ocis/issues/12106
https://github.com/owncloud/ocis/pull/12118
* Enhancement - Update images in the ocis_full deployment example: [#12123](https://github.com/owncloud/ocis/pull/12123)
- Update the docker images for core services and web-extensions - Moving all
@@ -382,6 +782,372 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/12123
* Enhancement - Add `ocis search optimize` CLI command: [#12136](https://github.com/owncloud/ocis/pull/12136)
Added a new `ocis search optimize` command that compacts the search index by
merging Bleve segments, without re-indexing content. The command opens the index
directly (without requiring the search service to be running), making it safe to
run during maintenance windows without blocking search queries.
This is useful after bulk reindexing operations that create many small index
segments, which can degrade search performance over time.
https://github.com/owncloud/ocis/pull/12136
* Enhancement - Add Keycloak to the ocis_full deployment example: [#12139](https://github.com/owncloud/ocis/pull/12139)
Added Keycloak to the ocis_full deployment example.
https://github.com/owncloud/ocis/pull/12139
* Enhancement - Allow multiple objectClasses on group creation: [#12229](https://github.com/owncloud/ocis/pull/12229)
Added support for configuring additional LDAP objectClasses when creating
groups. The new `OCIS_LDAP_GROUP_ADDITIONAL_OBJECTCLASSES` /
`GRAPH_LDAP_GROUP_ADDITIONAL_OBJECTCLASSES` environment variable accepts a list
of extra objectClasses that are set alongside the primary
`GRAPH_LDAP_GROUP_OBJECTCLASS` when a new group is created in LDAP.
https://github.com/owncloud/ocis/pull/12229
* Enhancement - Add SpaceEditorWithoutVersionsWithoutTrashbin space membership role: [#12261](https://github.com/owncloud/ocis/pull/12261)
Added a new space membership role "Can edit"
(SpaceEditorWithoutVersionsWithoutTrashbin) that grants full editor permissions
(create, upload, download, edit, move, delete) on a space without access to file
versions or the trashbin.
https://github.com/owncloud/ocis/pull/12261
* Enhancement - Add vault capabilities to the OCS capabilities endpoint: [#12283](https://github.com/owncloud/ocis/pull/12283)
Added `OCIS_ENABLE_VAULT_MODE` / `FRONTEND_ENABLE_VAULT_MODE` config option to
the frontend service. When enabled, the OCS capabilities endpoint advertises
`vault.enabled = true`. Clients can request vault-specific capabilities via
`/ocs/v2.php/cloud/capabilities?vault=true`, which returns a response with
public sharing and federation sharing disabled.
https://github.com/owncloud/ocis/pull/12283
https://github.com/owncloud/reva/pull/584
* Enhancement - Disable public link sharing for vault resources: [#12321](https://github.com/owncloud/ocis/pull/12321)
The `graph` service now rejects creating, updating, and setting passwords on
public links when the target resource lives in the vault storage provider.
Requests targeting a vault resource return `400 Bad Request` with the message
`public links are not allowed for vault resources`.
https://github.com/owncloud/ocis/pull/12321
* Enhancement - Update web-extension images in ocis_fuill: [#12324](https://github.com/owncloud/ocis/pull/12324)
The imgages for web-extensions have been updated for the ocis_full deployment
example.
https://github.com/owncloud/ocis/pull/12324
* Enhancement - Bump dependencies: [#12325](https://github.com/owncloud/ocis/pull/12325)
Bumped Go and npm dependencies, including security fixes:
- `github.com/owncloud/reva/v2` to `v2.0.0-20260519092700-9da01c6fb954` -
`github.com/shamaton/msgpack/v2` v2.4.0 → v2.4.1 (CVE: denial of service) -
`filippo.io/edwards25519` v1.1.0 → v1.1.1 - `github.com/cloudflare/circl`
v1.6.1 → v1.6.3 - `github.com/russellhaering/goxmldsig` v1.5.0 → v1.6.0 -
`postcss`, `fast-uri`, `@babel/plugin-transform-modules-systemjs` (npm, via pnpm
lock regen) - GitHub Actions: `actions/upload-artifact` 4→7,
`actions/download-artifact` 4→8, `pnpm/action-setup` 5→6,
`fpicalausa/remove-stale-branches` 2.4→2.6
https://github.com/owncloud/ocis/pull/12325
* Enhancement - Add VaultMode permission: [#12328](https://github.com/owncloud/ocis/pull/12328)
Add a new `VaultMode.ReadWriteEnabled` permission that gates the visibility of
the vault mode switcher in the web UI. The permission is assigned to the admin,
space admin and user roles. The user light role does not receive it.
https://github.com/owncloud/ocis/pull/12328
* Enhancement - Add vault themes: [#12329](https://github.com/owncloud/ocis/pull/12329)
We've added new themes that are available in the vault. These new themes are
intended to make a clear distinction between regular drives and vault.
https://github.com/owncloud/ocis/pull/12329
* Enhancement - Bump Web to 12.4.2: [#12450](https://github.com/owncloud/ocis/pull/12450)
- Security [owncloud/web#13844](https://github.com/owncloud/web/issues/13844):
Validate postMessage origin in embed mode modals - Bugfix
[owncloud/web#13822](https://github.com/owncloud/web/issues/13822): Add explicit
size to space header image - Bugfix
[owncloud/web#13826](https://github.com/owncloud/web/pull/13826): Apply vault
theme after OIDC callback - Bugfix
[owncloud/web#13827](https://github.com/owncloud/web/pull/13827): Gate MFA
expiry dialog on vault capability - Bugfix
[owncloud/web#13834](https://github.com/owncloud/web/pull/13834): Logo not
rendering in Firefox - Bugfix
[owncloud/web#13843](https://github.com/owncloud/web/pull/13843): Fix theme
switching issues - Bugfix
[owncloud/web#13867](https://github.com/owncloud/web/pull/13867): Pass vault
parameter to capabilities endpoint - Bugfix
[owncloud/web#13877](https://github.com/owncloud/web/pull/13877): Filter
notifications by vault mode - Bugfix
[owncloud/web#13907](https://github.com/owncloud/web/pull/13907): Use
authMfaRequiredLevelname from capabilities instead of hardcoded value
https://github.com/owncloud/ocis/pull/12450
https://github.com/owncloud/web/releases/tag/v12.4.2
* Enhancement - Deprecate the owncloudsql storage driver option: [#12486](https://github.com/owncloud/ocis/pull/12486)
The value `owncloudsql` in the `STORAGE_USERS_DRIVER` environment variable is no
longer a valid option and has been marked for deprecation.
https://github.com/owncloud/ocis/pull/12486
* Enhancement - Bump Web to 12.3.3: [#13705](https://github.com/owncloud/web/pull/13705)
- Bugfix [owncloud/web#13638](https://github.com/owncloud/web/pull/13638): Share
button not usable when role dropdown text is too long - Bugfix
[owncloud/web#13667](https://github.com/owncloud/web/pull/13667): Shared with
does not show members - Bugfix
[owncloud/web#13680](https://github.com/owncloud/web/pull/13680): Escape strings
when returned from server
https://github.com/owncloud/web/pull/13705
https://github.com/owncloud/web/releases/tag/v12.3.3
* Enhancement - Bump Web to 12.4.0: [#13809](https://github.com/owncloud/web/pull/13809)
- Bugfix [owncloud/web#13363](https://github.com/owncloud/web/issues/13363):
Prevent duplicate call for password protected public links - Bugfix
[owncloud/web#13578](https://github.com/owncloud/web/pull/13578): Use dynamic
viewport units (dvh/dvw) instead of viewport units (vh/vw) - Bugfix
[owncloud/web#13610](https://github.com/owncloud/web/pull/13610): Cannot edit
public link when name is too long - Bugfix
[owncloud/web#13634](https://github.com/owncloud/web/pull/13634): Fix space key
selecting wrong resource - Bugfix
[owncloud/web#13793](https://github.com/owncloud/web/pull/13793): Fix share
invite button being pushed down in space sharing - Bugfix
[owncloud/web#13799](https://github.com/owncloud/web/pull/13799): Fix upload
confirmation not visible on file drop page - Enhancement
[owncloud/web#13545](https://github.com/owncloud/web/pull/13545): Strip WebDAV
prefix - Enhancement
[owncloud/web#13577](https://github.com/owncloud/web/pull/13577): Use spaceId -
Enhancement [owncloud/web#13631](https://github.com/owncloud/web/pull/13631):
Add theme mode - Enhancement
[owncloud/web#13632](https://github.com/owncloud/web/issues/13632): Support log
and conf files in text editor - Enhancement
[owncloud/web#13759](https://github.com/owncloud/web/pull/13759): Show correct
modal for saveAs and open actions - Enhancement
[owncloud/web#13769](https://github.com/owncloud/web/pull/13769): Add vault
search separation - Enhancement
[owncloud/web#13795](https://github.com/owncloud/web/pull/13795): Add new theme
colors - Enhancement
[owncloud/web#13802](https://github.com/owncloud/web/pull/13802): Check vault
permission - Enhancement
[owncloud/web#13803](https://github.com/owncloud/web/pull/13803): MFA session
expiry warning - Enhancement
[owncloud/web#13803](https://github.com/owncloud/web/pull/13803): Vault-aware
breadcrumbs
https://github.com/owncloud/web/pull/13809
https://github.com/owncloud/web/releases/tag/v12.4.0
# Changelog for [8.0.4] (2026-05-22)
The following sections list the changes for 8.0.4.
[8.0.4]: https://github.com/owncloud/ocis/compare/v8.0.2...v8.0.4
## Summary
* Security - Upgrade libvips to 8.18.2: [#12301](https://github.com/owncloud/ocis/pull/12301)
* Security - Bump Go to 1.25.10: [#12306](https://github.com/owncloud/ocis/pull/12306)
* Bugfix - SpaceEditorWithoutTrashbin roles now correctly allow file editing: [#12346](https://github.com/owncloud/ocis/pull/12346)
## Details
* Security - Upgrade libvips to 8.18.2: [#12301](https://github.com/owncloud/ocis/pull/12301)
Bumped libvips to 8.18.2 in all Docker images to pick up the fix for a stack
buffer overflow.
https://github.com/owncloud/ocis/pull/12301
* Security - Bump Go to 1.25.10: [#12306](https://github.com/owncloud/ocis/pull/12306)
Fixes CVE-2026-33811, CVE-2026-33814, CVE-2026-39820, CVE-2026-39836,
CVE-2026-42499.
https://github.com/owncloud/ocis/pull/12306
* Bugfix - SpaceEditorWithoutTrashbin roles now correctly allow file editing: [#12346](https://github.com/owncloud/ocis/pull/12346)
Fixed a bug where the *WithoutTrashbin space editor roles were rendered as
read-only in the Web frontend. The OCS PermissionWrite bit was not set for these
roles because the RoleFromResourcePermissions round-trip required
RestoreRecycleItem, which these roles intentionally omit.
https://github.com/owncloud/ocis/pull/12346
# Changelog for [8.0.2] (2026-04-30)
The following sections list the changes for 8.0.2.
[8.0.2]: https://github.com/owncloud/ocis/compare/v8.0.1...v8.0.2
## Summary
* Bugfix - Fix OCM share permission change notification: [#12190](https://github.com/owncloud/ocis/pull/12190)
* Bugfix - Fix the internal links: [#12231](https://github.com/owncloud/ocis/pull/12231)
* Bugfix - Return 200 OK for WOPI Lock requests in read-only and view-only modes: [#12257](https://github.com/owncloud/ocis/pull/12257)
* Bugfix - Fix space management middleware removing users from spaces on download: [#12285](https://github.com/owncloud/ocis/pull/12285)
* Enhancement - Add spaceid to REPORT: [#12241](https://github.com/owncloud/ocis/pull/12241)
* Enhancement - Allow multiple objectClasses on group creation: [#12242](https://github.com/owncloud/ocis/pull/12242)
* Enhancement - Add SpaceEditorWithoutVersionsWithoutTrashbin space membership role: [#12245](https://github.com/owncloud/ocis/pull/12245)
* Enhancement - Bump Web to 12.3.3: [#13705](https://github.com/owncloud/web/pull/13705)
## Details
* Bugfix - Fix OCM share permission change notification: [#12190](https://github.com/owncloud/ocis/pull/12190)
Fix the OCM share permission change notification handling.
https://github.com/owncloud/ocis/pull/12190
* Bugfix - Fix the internal links: [#12231](https://github.com/owncloud/ocis/pull/12231)
We fixed the internal links access control
https://github.com/owncloud/ocis/pull/12231
* Bugfix - Return 200 OK for WOPI Lock requests in read-only and view-only modes: [#12257](https://github.com/owncloud/ocis/pull/12257)
OnlyOffice sends a WOPI Lock request when opening any document, even when the
user only has read access. The WOPI Lock handler was attempting to acquire a CS3
write lock regardless of the view mode, causing a permission error for read-only
tokens that OnlyOffice displayed as an error message on load.
The Lock handler now returns 200 OK immediately for READ_ONLY and VIEW_ONLY view
modes without attempting to acquire a lock, consistent with the WOPI spec.
https://github.com/owncloud/ocis/pull/12257
* Bugfix - Fix space management middleware removing users from spaces on download: [#12285](https://github.com/owncloud/ocis/pull/12285)
The space management middleware ran on every authenticated request, including
signed URL requests used for file downloads. Since signed URL auth does not
carry OIDC claims, the middleware interpreted the absence of claims as "user
should have no space access" and removed the user from all project spaces. On
the next OIDC request the user was re-added, causing an oscillating add/remove
cycle that led to intermittent download failures and transient "space not found"
errors.
The middleware now skips reconciliation entirely when no OIDC claims are present
in the request context.
https://github.com/owncloud/ocis/issues/12285
https://github.com/owncloud/ocis/pull/12285
* Enhancement - Add spaceid to REPORT: [#12241](https://github.com/owncloud/ocis/pull/12241)
Added the `spaceid` to the REPORT responses. This is aligning the `REPORT`
method with the `PROPFIND` method.
https://github.com/owncloud/ocis/pull/12241
* Enhancement - Allow multiple objectClasses on group creation: [#12242](https://github.com/owncloud/ocis/pull/12242)
Added support for configuring additional LDAP objectClasses when creating
groups. The new `OCIS_LDAP_GROUP_ADDITIONAL_OBJECTCLASSES` /
`GRAPH_LDAP_GROUP_ADDITIONAL_OBJECTCLASSES` environment variable accepts a list
of extra objectClasses that are set alongside the primary
`GRAPH_LDAP_GROUP_OBJECTCLASS` when a new group is created in LDAP.
https://github.com/owncloud/ocis/pull/12242
* Enhancement - Add SpaceEditorWithoutVersionsWithoutTrashbin space membership role: [#12245](https://github.com/owncloud/ocis/pull/12245)
Added a new space membership role "Can edit"
(SpaceEditorWithoutVersionsWithoutTrashbin) that grants full editor permissions
(create, upload, download, edit, move, delete) on a space without access to file
versions or the trashbin.
https://github.com/owncloud/ocis/pull/12245
* Enhancement - Bump Web to 12.3.3: [#13705](https://github.com/owncloud/web/pull/13705)
- Bugfix [owncloud/web#13638](https://github.com/owncloud/web/pull/13638): Share
button not usable when role dropdown text is too long - Bugfix
[owncloud/web#13667](https://github.com/owncloud/web/pull/13667): Shared with
does not show members - Bugfix
[owncloud/web#13680](https://github.com/owncloud/web/pull/13680): Escape strings
when returned from server
https://github.com/owncloud/web/pull/13705
https://github.com/owncloud/web/releases/tag/v12.3.3
# Changelog for [8.0.1] (2026-03-09)
The following sections list the changes for 8.0.1.
[8.0.1]: https://github.com/owncloud/ocis/compare/v8.0.0...v8.0.1
## Summary
* Bugfix - Don't use hardcoded groupOfNames in group creation: [#11776](https://github.com/owncloud/ocis/pull/11776)
* Bugfix - Expose the signature-auth attribute: [#12052](https://github.com/owncloud/ocis/pull/12052)
* Bugfix - Don't write empty externalID to LDAP: [#12085](https://github.com/owncloud/ocis/pull/12085)
* Enhancement - Bump Web to 12.3.2: [#12074](https://github.com/owncloud/ocis/pull/12074)
* Enhancement - Bump reva: [#12097](https://github.com/owncloud/ocis/pull/12097)
## Details
* Bugfix - Don't use hardcoded groupOfNames in group creation: [#11776](https://github.com/owncloud/ocis/pull/11776)
Formerly, when creating a group with a different objectClass, it will always use
groupOfNames instead of the one provided in the config. Now, the server creates
groups using the objectClass defined in the config.
https://github.com/owncloud/ocis/pull/11776
* Bugfix - Expose the signature-auth attribute: [#12052](https://github.com/owncloud/ocis/pull/12052)
Expose the "oc:signature-auth" attribute for the subfolders in the public link
propfinds. This is a necessary change to be able to support archive downloads in
password protected public links.
https://github.com/owncloud/ocis/pull/12052
* Bugfix - Don't write empty externalID to LDAP: [#12085](https://github.com/owncloud/ocis/pull/12085)
When creating new users in the graph service, the externalID attribute was being
written to LDAP even when it was empty. Now, the externalID attribute is only
written when it has a non-empty value.
https://github.com/owncloud/ocis/pull/12085
* Enhancement - Bump Web to 12.3.2: [#12074](https://github.com/owncloud/ocis/pull/12074)
- Enhancement
[owncloud/ocis#11963](https://github.com/owncloud/ocis/issues/11963): Use
signature auth
https://github.com/owncloud/ocis/pull/12074
https://github.com/owncloud/web/releases/tag/v12.3.2
* Enhancement - Bump reva: [#12097](https://github.com/owncloud/ocis/pull/12097)
Bumped reva to the latest version. This includes a refactoring of the scope
expansion and verification logic, as well as a fix for the signature-auth
propfind attribute that now correctly supports archive downloads in
password-protected public links.
https://github.com/owncloud/ocis/pull/12097
# Changelog for [8.0.0] (2026-02-13)
The following sections list the changes for 8.0.0.
@@ -10358,7 +11124,7 @@ The following sections list the changes for 2.0.0.
* Enhancement - Update linkshare capabilities: [#3579](https://github.com/owncloud/ocis/pull/3579)
* Enhancement - Wrap metadata storage with dedicated reva gateway: [#3602](https://github.com/owncloud/ocis/pull/3602)
* Enhancement - Align service naming: [#3606](https://github.com/owncloud/ocis/pull/3606)
* Enhancement - Added `share_jail` and `projects` feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
* Enhancement - Added share_jail and projects feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
* Enhancement - Add initial version of the search extensions: [#3635](https://github.com/owncloud/ocis/pull/3635)
* Enhancement - Don't setup demo role assignments on default: [#3661](https://github.com/owncloud/ocis/issues/3661)
* Enhancement - Restrict admins from self-removal: [#3713](https://github.com/owncloud/ocis/issues/3713)
@@ -11483,7 +12249,7 @@ The following sections list the changes for 2.0.0.
https://github.com/owncloud/ocis/issues/3603
https://github.com/owncloud/ocis/pull/3606
* Enhancement - Added `share_jail` and `projects` feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
* Enhancement - Added share_jail and projects feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
We've added feature flags to the `spaces` capability to indicate to clients
which features are supposed to be shown to users.
@@ -15599,7 +16365,7 @@ The following sections list the changes for 1.2.0.
* Change - Update ownCloud Web to v2.0.0: [#1661](https://github.com/owncloud/ocis/pull/1661)
* Enhancement - Introduce ADR: [#1042](https://github.com/owncloud/ocis/pull/1042)
* Enhancement - Functionality to map home directory to different storage providers: [#1186](https://github.com/owncloud/ocis/pull/1186)
* Enhancement - Use a default protocol parameter instead of explicitly disabling tus: [#1331](https://github.com/cs3org/reva/pull/1331)
* Enhancement - Use default upload protocol instead of explicitly disabling tus: [#1331](https://github.com/cs3org/reva/pull/1331)
* Enhancement - Switch to opencontainers annotation scheme: [#1381](https://github.com/owncloud/ocis/pull/1381)
* Enhancement - Update reva to v1.5.2-0.20210125114636-0c10b333ee69: [#1482](https://github.com/owncloud/ocis/pull/1482)
* Enhancement - Migrate ocis-graph to ocis monorepo: [#1594](https://github.com/owncloud/ocis/pull/1594)
@@ -15683,7 +16449,7 @@ The following sections list the changes for 1.2.0.
https://github.com/owncloud/ocis/pull/1186
https://github.com/cs3org/reva/pull/1142
* Enhancement - Use a default protocol parameter instead of explicitly disabling tus: [#1331](https://github.com/cs3org/reva/pull/1331)
* Enhancement - Use default upload protocol instead of explicitly disabling tus: [#1331](https://github.com/cs3org/reva/pull/1331)
https://github.com/cs3org/reva/pull/1331
https://github.com/owncloud/ocis/pull/1374
+1 -1
View File
@@ -28,7 +28,7 @@ COPY --from=generate /ocis /ocis
WORKDIR /ocis/ocis
RUN make ci-go-generate build ENABLE_VIPS=true
FROM alpine:3.24.1
FROM alpine:3.23.4
RUN apk add --no-cache attr ca-certificates curl mailcap tree \
&& apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community "vips=8.18.2-r0" \
@@ -0,0 +1,5 @@
Bugfix: Fix the empty mount ID for reva config
We fixed the empty mount ID for storage-users
https://github.com/owncloud/ocis/pull/12492
@@ -0,0 +1,18 @@
Bugfix: Keep personal space when Drives.Create permission check is inconclusive
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. The permission check collapsed two very
different outcomes into a single `false`: the user genuinely lacks the permission, and
the permission could not be determined (a transport error, or a non-OK status such as
`CODE_INTERNAL` returned by the settings/gateway service). In the second case the code
proceeded to disable the personal space, moving it to the trash, even though the user's
entitlement was never actually denied.
`utils.CheckPermission` now distinguishes the three cases at the root: a transport error
or a non-OK status other than `PERMISSION_DENIED` is surfaced as an error and the callers
fail closed. The personal space is left untouched, and the graph appRoleAssignment handler
additionally reverts the role assignment it just persisted so the user is not left in a
half-applied state. The role transition is retried on the next login.
https://github.com/owncloud/ocis/issues/12429
@@ -6,5 +6,5 @@ https://github.com/owncloud/ocis/pull/12051
https://github.com/owncloud/ocis/pull/12087
https://github.com/owncloud/ocis/pull/12137
https://github.com/owncloud/ocis/pull/12302
https://github.com/owncloud/ocis/pull/12439
https://github.com/owncloud/ocis/pull/12266
https://github.com/owncloud/ocis/pull/12410
https://github.com/owncloud/ocis/pull/12492
@@ -1,4 +1,4 @@
Change: Deprecate the owncloudsql storage driver option
Enhancement: Deprecate the owncloudsql storage driver option
The value `owncloudsql` in the `STORAGE_USERS_DRIVER` environment variable is no
longer a valid option and has been marked for deprecation.
@@ -1,4 +1,4 @@
Enhancement Add vault themes
Enhancement: Add vault themes
We've added new themes that are available in the vault. These new themes are intended to make a clear distinction between regular drives and vault.
@@ -0,0 +1,14 @@
Enhancement: Bump Web to 12.4.2
- Security [owncloud/web#13844](https://github.com/owncloud/web/issues/13844): Validate postMessage origin in embed mode modals
- Bugfix [owncloud/web#13822](https://github.com/owncloud/web/issues/13822): Add explicit size to space header image
- Bugfix [owncloud/web#13826](https://github.com/owncloud/web/pull/13826): Apply vault theme after OIDC callback
- Bugfix [owncloud/web#13827](https://github.com/owncloud/web/pull/13827): Gate MFA expiry dialog on vault capability
- Bugfix [owncloud/web#13834](https://github.com/owncloud/web/pull/13834): Logo not rendering in Firefox
- Bugfix [owncloud/web#13843](https://github.com/owncloud/web/pull/13843): Fix theme switching issues
- Bugfix [owncloud/web#13867](https://github.com/owncloud/web/pull/13867): Pass vault parameter to capabilities endpoint
- Bugfix [owncloud/web#13877](https://github.com/owncloud/web/pull/13877): Filter notifications by vault mode
- Bugfix [owncloud/web#13907](https://github.com/owncloud/web/pull/13907): Use authMfaRequiredLevelname from capabilities instead of hardcoded value
https://github.com/owncloud/ocis/pull/12450
https://github.com/owncloud/web/releases/tag/v12.4.2
@@ -6,4 +6,4 @@ DELETE, while the regular `/users` handler and the pre-v8.0 code path used
looked up the user by name-or-UUID, so the externalID never matched, the LDAP
entry was never removed, and the response was a 404. This is now fixed.
https://github.com/owncloud/ocis/pull/12405
https://github.com/owncloud/ocis/pull/12400
@@ -0,0 +1,12 @@
Bugfix: Return correct issuerAssignedId on /me
The `/graph/v1.0/me` endpoint reported the internal user UUID as
`identities[].issuerAssignedId` instead of the issuer-assigned identity (the
OIDC `sub`). The endpoint took a fast path that built the user model from the
CS3 user in the request context, which does not carry the external identity, so
it fell back to the internal UUID. `/me` now always resolves the user through
the identity backend, which reads the stored external identity and returns the
correct value. Group memberships are still only expanded when
`$expand=memberOf` is requested.
https://github.com/owncloud/ocis/pull/12411
@@ -15,4 +15,4 @@ download failures from missing signing keys (`ocs`).
The store plugin now treats a closed connection as no connection, so the next
operation transparently re-initializes it.
https://github.com/owncloud/ocis/pull/12404
https://github.com/owncloud/ocis/pull/12402
@@ -1,18 +0,0 @@
Bugfix: Always set an audit action for share updates
Share-update audit events were written with an empty `action` and a message of
`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 not audited correctly because
the conversion matched `SHARE_STATE_DECLINED`, which is not a CS3 share state
(the enum value is `SHARE_STATE_REJECTED`), again producing 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 meaningful,
countable action.
https://github.com/owncloud/ocis/issues/7661
https://github.com/owncloud/ocis/pull/12423
@@ -1,10 +0,0 @@
Bugfix: Return 404 when deleting a non-existing link share on a space
Deleting an already-removed link share via
`DELETE /graph/v1beta1/drives/{driveID}/root/permissions/{permissionID}`
returned `400 Bad Request` instead of `404 Not Found`. The underlying
reva `RemovePublicShare` and `RemoveShare` handlers now propagate
not-found errors as `CODE_NOT_FOUND` rather than `CODE_INTERNAL`,
ensuring the correct `404` HTTP response is returned.
https://github.com/owncloud/ocis/issues/12266
@@ -0,0 +1,13 @@
Bugfix: Remove the unmarshalable request body field from graph log messages
We've removed the `body` field from the log messages of the graph service's HTTP
handlers. The field was set from `http.Request.Body`, an `io.ReadCloser`, which
can never be serialized into a useful log value.
The tracing middleware replaces the request body with a wrapper that carries an
exported function field, so serializing it failed outright and the log line was
emitted with `"body": "marshaling error: json: unsupported type: func(int64)"`
instead of the payload. Without the tracing middleware the field serialized to an
empty object. In both cases the intended payload was never logged.
https://github.com/owncloud/ocis/pull/12917
@@ -1,13 +0,0 @@
Bugfix: Honor $select=actions on the drive item permissions endpoint
Listing the permissions of a drive item with
`$select=@libre.graph.permissions.actions.allowedValues` still returned the
roles allowedValues as well. The handler only had a projection for the roles
selection (`@libre.graph.permissions.roles.allowedValues`), which drops the
actions, but no symmetric handling for an actions-only selection, so the roles
were always included. The actions selection now drops the roles allowedValues
(and, like the roles selection, skips the share lookup since only the allowed
values are requested).
https://github.com/owncloud/ocis/issues/10816
https://github.com/owncloud/ocis/pull/12419
@@ -0,0 +1,10 @@
Bugfix: Cache LDAP instance mapper lookups
In multi-instance deployments, resolving a user's instance name/ID during
`GET /graph/v1.0/users` (and group member expansion) issued a fresh, uncached
LDAP search per instance/guest attribute value on every request. Under load
this multiplied into large numbers of redundant LDAP round-trips per page of
users, saturating the LDAP connection pool and causing request timeouts. The
LDAP identity backend now caches instance mapper lookups, including negative
(not-found) results, for a configurable TTL
(`OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL`, default 60s).
@@ -0,0 +1,10 @@
Bugfix: Honor per-record expiry in the nats-js-kv store
The nats-js-kv store ignored the per-record expiry written by callers and kept
every entry for the bucket-wide MaxAge, which is fixed at bucket creation. An
entry could therefore outlive the deadline stored in it and be served as stale
data — for the proxy userinfo cache this signed still-authenticated clients out.
Writes now stamp an absolute deadline on each record and reads treat a record
past its deadline as a cache miss, matching the memory store's behavior.
https://github.com/owncloud/ocis/pull/12863
@@ -1,12 +0,0 @@
Bugfix: Fix double HTML-escaping of notification emails for multiple recipients
The notifications service reuses the same template variables map for every
recipient of an event (for example when a group is invited to a space). The
helper that HTML-escapes those variables for the HTML email body escaped the
map in place, so every recipient after the first received a plain-text body
containing HTML entities and an HTML body with one additional layer of escaping
per recipient (a space named `R&D` became `R&amp;amp;D`). The helper now returns
a new map and leaves the shared variables untouched, so every recipient renders
from the original values.
https://github.com/owncloud/ocis/pull/12413
@@ -1,16 +0,0 @@
Bugfix: Keep group memberships when the OIDC groups claim is absent
When auto-provisioning group memberships from an OIDC claim, the proxy
reconciled the user's groups against the groups claim and removed them from any
group not present in the claim. If a token carried no groups claim at all — for
example a token issued for an OIDC client that has no groups mapper configured,
such as a dedicated desktop-client registration — the parsed group set was empty
and the user was removed from all of their groups.
The sync is now skipped when the groups claim is absent or null in the token. A
present-but-empty claim is still treated as a legitimate "no groups" and
reconciled as before. This mirrors the guard the role-assignment path already
has for a missing roles claim.
https://github.com/owncloud/ocis/issues/11435
https://github.com/owncloud/ocis/pull/12420
@@ -1,11 +0,0 @@
Bugfix: Fix the proxy readiness check for NATS
The proxy readiness check passed the events cluster ID instead of the events
endpoint to the NATS reachability check. NATS then tried to resolve the cluster
ID (e.g. `ocis-cluster`) as a host name, which always failed, so the proxy
`/readyz` endpoint reported the service as not ready even when NATS was
reachable. The check now uses the events endpoint, consistent with every other
service.
https://github.com/owncloud/ocis/issues/10661
https://github.com/owncloud/ocis/pull/12421
@@ -1,14 +0,0 @@
Bugfix: Prevent panic in presigned URL auth when signing key is missing
The presigned-URL authenticator read the per-user signing key from a store and
indexed the first record without checking that the result was non-empty. When
the 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 request panicked with `index out of range
[0] with length 0` (recovered per request as an HTTP 502), so all signed-URL
downloads failed. The authenticator now guards the lookup and returns a normal
authentication error instead of panicking; it also no longer returns a nil
error when the stored key is empty.
https://github.com/owncloud/ocis/issues/12384
https://github.com/owncloud/ocis/pull/12418
@@ -1,11 +0,0 @@
Bugfix: Pass the space ID when purging revision blobs
The `revisions purge` command removed a revision's metadata but did not delete
its blob, because it called the blobstore without the space ID. The blobstore
builds the blob path from the space ID and blob ID, so an empty space ID
targeted the wrong path: the deletion was a no-op (S3) or missed the file
(POSIX), leaving the blob orphaned while the revision was already removed. The
space ID parsed from the revision path is now passed to the blobstore.
https://github.com/owncloud/ocis/issues/11644
https://github.com/owncloud/ocis/pull/12422
@@ -0,0 +1,9 @@
Bugfix: Fix share metadata corruption during concurrent share operations
When multiple sharing service replicas processed share operations concurrently
for the same user, the share metadata could become corrupted with references to
missing data, making all shares inaccessible to that user. The received share
cache now uses compare-and-swap (etag) validation to detect concurrent writes
and retries gracefully, preventing metadata corruption.
https://github.com/owncloud/ocis/pull/12621
@@ -1,15 +0,0 @@
Enhancement: Add `ocis shares clean-corrupt-public-shares` maintenance command
A single public-share entry with a nil/empty `resource_id` makes the json
public-share manager's `ListPublicShares` panic with a nil-pointer dereference.
Because the manager reads all entries and filters them in memory, that one bad
entry poisons the endpoint for the whole tenant: every Members/permissions panel
load and every password-protected link creation fails.
The new `ocis shares clean-corrupt-public-shares` command detects and removes
such corrupt entries. It reads the raw persistence (so it never triggers the
panic itself) and writes back through the same metadata storage path the manager
uses, recomputing blob size, mtime and etag automatically. It defaults to
`--dry-run` and supports the `jsoncs3` and `json` public-share drivers.
https://github.com/owncloud/ocis/pull/12494
@@ -1,5 +0,0 @@
Enhancement: Replace embedded IDP React SPA with server-rendered login page
Replaced the embedded IDP login's React SPA (pnpm, 21k LOC) with server-rendered HTML keeping theming and localiation support. The login page now works with minimal JavaScript, loads faster, and has a much smaller dependecy vulnerability surface.
https://github.com/owncloud/ocis/pull/12086
@@ -0,0 +1,19 @@
Enhancement: Add an opt-in bounded LDAP connection pool
The auth-basic, users, groups and graph services can now be switched from a
single long-lived reconnecting LDAP connection to a bounded pool of connections,
so concurrent requests no longer serialize on one socket. Connections are dialed
and bound lazily on checkout, unhealthy connections are discarded and lazily
re-dialed rather than eagerly reconnected, and checkout blocks with a configurable
timeout once the pool is exhausted.
Pooling is off by default and fully backwards compatible. Enable it per service
via 'OCIS_LDAP_POOL_ENABLED' (or the service-specific '<SERVICE>_LDAP_POOL_ENABLED'
override), and tune it with 'OCIS_LDAP_POOL_SIZE' (default 5) and
'OCIS_LDAP_POOL_CHECKOUT_TIMEOUT' (default 30s).
The graph service's identity backend now shares the same LDAP client
implementation used by the reva auth/user/group managers instead of maintaining
its own separate reconnecting client.
https://github.com/owncloud/ocis/pull/12686
@@ -0,0 +1,14 @@
Enhancement: Eliminate redundant LDAP read-after-write on create and update
The graph LDAP backend no longer re-reads an entry immediately after writing it
just to recover the entry ID for the response. When oCIS generates the ID itself
(GRAPH_LDAP_SERVER_UUID disabled), the create response is now synthesized from the
data already sent to the directory, and update responses are built by folding the
applied modifications onto the entry that was read before the write. This avoids a
round-trip that, against a replicated directory reached through a proxy, could hit
a lagging replica and fail or return stale data.
When the directory assigns the ID (GRAPH_LDAP_SERVER_UUID enabled), creates keep
the existing read-back, since the generated ID cannot otherwise be recovered.
https://github.com/owncloud/ocis/pull/12618
@@ -0,0 +1,16 @@
Enhancement: Retry LDAP operations against a lagging replica
The graph LDAP backend can now retry operations against a replicated directory
where a write to the primary is followed by a read that lands on a replica which
has not yet caught up. This covers the read-back that recovers a directory-assigned
ID after a create (GRAPH_LDAP_SERVER_UUID enabled), which is retried until the entry
becomes visible. The retry count and backoff are tunable through
`GRAPH_LDAP_RETRY_MAX_COUNT`, `GRAPH_LDAP_RETRY_BASE_DELAY` and
`GRAPH_LDAP_RETRY_MAX_DELAY`; the defaults keep the previous behaviour (a single
immediate retry with no delay), so existing deployments are unaffected.
Retries now distinguish reads from writes: a write is no longer retried on a network
error, which can surface after the request was already sent and would otherwise apply
the mutation twice.
https://github.com/owncloud/ocis/pull/12672
@@ -0,0 +1,10 @@
Enhancement: Add TLS support for the frontend stat cache store connection
The frontend service was the only remaining place where a `nats-js-kv` store
connection could not be secured. Its OCS stat cache forwarded the store type,
nodes, database, table, TTL and credentials to reva, but not the TLS settings,
so the connection stayed plaintext with no operator toggle to change it. The
stat cache now honours `OCIS_CACHE_ENABLE_TLS`, `OCIS_CACHE_TLS_INSECURE` and
`OCIS_CACHE_TLS_ROOT_CA_CERTIFICATE` like every other cache and store.
https://github.com/owncloud/ocis/pull/12933
@@ -0,0 +1,8 @@
Enhancement: Add TLS support for NATS store and registry connections
All `nats-js-kv` store, cache, and service registry connections now support
TLS. Configure via `OCIS_CACHE_ENABLE_TLS`, `OCIS_PERSISTENT_STORE_ENABLE_TLS`,
and `MICRO_REGISTRY_ENABLE_TLS`, with corresponding `*_TLS_INSECURE` and
`*_TLS_ROOT_CA_CERTIFICATE` variants per connection type.
https://github.com/owncloud/ocis/pull/12765
@@ -0,0 +1,11 @@
Enhancement: Make OIDC group sync opt-in
**What changed.** `PROXY_AUTOPROVISION_CLAIM_GROUPS` now defaults to `""`, which disables OIDC group membership sync (and, with it, creation of local groups from claim values). It previously defaulted to `groups`. Setting it to a non-empty claim name restores the previous behaviour unchanged: memberships are synced and groups named in the claim are created if they do not exist locally.
**Why.** With `PROXY_AUTOPROVISION_ACCOUNTS=true` and the previous `groups` default, the proxy synced group memberships from the OIDC `groups` claim on every authenticated request out of the box, creating local groups for any claim value that did not already exist. In identity providers that let ordinary users create groups with arbitrary names, this allowed an unprivileged user to inject group names into oCIS. Defaulting the claim to empty makes group sync an explicit opt-in.
**Upgrade note.** Deployments that set `PROXY_AUTOPROVISION_CLAIM_GROUPS` explicitly are unaffected. Deployments that relied on the previous `groups` default without setting it will stop syncing group memberships after upgrade; set `PROXY_AUTOPROVISION_CLAIM_GROUPS=groups` to restore the previous behaviour.
Note: matching claim values to existing local groups is still done by display name. Hardening that matching is tracked separately and is not part of this change.
https://github.com/owncloud/ocis/pull/12490
@@ -0,0 +1,18 @@
Bugfix: Fix concurrent map access when listing shares
Listing shares could abort the whole oCIS process with the Go runtime error
"fatal error: concurrent map read and map write". This is an unrecoverable
runtime fault, so it could not be caught and recovered from, and it dropped all
connections that were in flight at that moment.
When converting CS3 shares into Graph DriveItems, the worker goroutines read
from the shared driveItems map while the collecting loop was already writing
results into the very same map. The results channel is buffered, so the workers
never blocked when handing over an item and the collecting loop started writing
while workers were still running. The results are now collected after all
workers have finished, which removes the overlapping access.
Note that lowering the maximum concurrency did not avoid this, as a single
worker could still run concurrently with the collecting loop.
https://github.com/owncloud/ocis/pull/12670
@@ -0,0 +1,6 @@
Bugfix: Correct introduction version for OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL
We changed the documented introduction version of the
OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL from 8.0.0 to 8.3.0.
https://github.com/owncloud/ocis/pull/12950
@@ -1,11 +0,0 @@
Bugfix: Fix PostgreSQL container restart loop in Keycloak deployments
The PostgreSQL volume was mounted directly at `/var/lib/postgresql/data`.
On ext4 storage backends, Docker creates a `lost+found` directory at the volume root,
causing PostgreSQL's `initdb` to fail because the data directory is not empty.
This resulted in the container entering a restart loop.
The volume mount path has been changed to `/var/lib/postgresql` so that
PostgreSQL creates the `data/` subdirectory itself, avoiding the conflict.
https://github.com/owncloud/ocis/pull/12359
@@ -0,0 +1,15 @@
Bugfix: Show vault-shared mountpoints in the vault drive list
Shares of vault resources are mountpoints hosted on the shares storage provider
that grant into the vault storage provider. When listing spaces with the vault
`storage_id`, the storage registry skipped the shares provider entirely, so the
vault share mountpoint was missing from the vault drive list while still showing
up in the regular drive list.
The registry now also queries the shares provider when the vault storage id is
requested and segregates share mountpoints by their `grantStorageID`, so a vault
share only appears in the vault drive list and a regular share only in the
regular one.
https://github.com/owncloud/ocis/pull/12644
https://github.com/owncloud/reva/pull/666
@@ -0,0 +1,18 @@
Bugfix: Log unmapped thumbnail errors and always report a sabredav exception
The webdav service logged failures of the thumbnails service at debug level only.
Errors which are not a property of the requested file, such as the thumbnails
service being unreachable, were therefore invisible at production log levels: a
complete preview outage produced HTTP 500 responses without a single log line
explaining them. Unmapped errors are now logged at error level, while expected
per-file outcomes such as an unsupported file type or a file still being
processed stay at debug level. Two of the four thumbnail handlers also logged
without the request context, so their messages carried no request id.
In addition, `codesEnum` only mapped four status codes, so error responses for
all other codes were rendered with an empty `<s:exception></s:exception>`
element. The missing entries for 403, 425 and 429 have been added and any
remaining unmapped code now falls back to a generic exception name, so clients
always receive a usable exception.
https://github.com/owncloud/ocis/pull/12666
@@ -0,0 +1,16 @@
Enhancement: Allow disabling the last sign-in timestamp update
The graph service maintains the 'oCLastSignInTimestamp' LDAP attribute of a user
on every sign-in (when the LDAP identity backend has write access). This can
cause a significant amount of LDAP write load, especially when the proxy's OIDC
userinfo cache has a short TTL and sign-in events are emitted frequently.
A new setting 'OCIS_LDAP_UPDATE_LAST_SIGNIN_DATE' / 'GRAPH_LDAP_UPDATE_LAST_SIGNIN_DATE'
(default 'true') allows disabling the update of the last sign-in timestamp
without having to disable all LDAP writes ('OCIS_LDAP_SERVER_WRITE_ENABLED') or
the graph events consumer. When set to 'false' the graph service no longer
listens for 'UserSignedIn' events and does not write the 'oCLastSignInTimestamp'
attribute.
https://github.com/owncloud/ocis/pull/12522
https://github.com/owncloud/ocis/issues/9942
@@ -0,0 +1,5 @@
Security: Bump google.golang.org/grpc to v1.83.2
Upgraded google.golang.org/grpc from v1.83.1 to v1.83.2.
https://github.com/owncloud/ocis/pull/12911
@@ -0,0 +1,6 @@
Security: Bump google.golang.org/grpc to v1.83.1
Upgraded google.golang.org/grpc from v1.83.0 to v1.83.1 to address
CVE-2026-84304 (HIGH) reported by the Trivy vulnerability scan.
https://github.com/owncloud/ocis/pull/12861
@@ -0,0 +1,6 @@
Security: Bump golang.org/x/image to v0.45.0
Upgraded golang.org/x/image from v0.44.0 to v0.45.0 to address
GO-2026-6222: excessive memory allocation during VP8L decoding.
https://github.com/owncloud/ocis/pull/12807
@@ -1,7 +0,0 @@
Security: Do not leak internal error details in webdav error responses
The webdav service returned raw internal error messages to the client when a server-side error occurred. For example, a thumbnail request with a null byte in the filename and `?preview=1` could trigger a `500 Internal Server Error` whose body exposed the internal storage filesystem path (information disclosure).
Server-side error handlers now return a generic, user-relevant message to the client, while the detailed error is only logged server-side.
https://github.com/owncloud/ocis/pull/12398
+1 -1
View File
@@ -1,4 +1,4 @@
# Pins the ownCloud Web frontend version used in CI tests.
# Read by: tests/acceptance/run-e2e.py and .github/workflows/acceptance-tests.yml (Playwright cache key).
WEB_COMMITID=7dbf6ee5d4df704d19cc33da5564042e226e6871
WEB_COMMITID=6a0f8cd37c3348a354f491634677273d27959266
WEB_BRANCH=stable-12.4
-55
View File
@@ -23,58 +23,3 @@ Keycloak can be optionally enabled by uncommenting the corresponding variables i
- `KEYCLOAK=:keycloak.yml`
Note that Keycloak requires the default `ocis` Identity Provider to be disabled, which is automatically handled when the `keycloak.yml` configuration is used.
### Kiteworks Storage
Enables a read-only Kiteworks storage provider alongside the default oCIS storage.
Kiteworks top-level folders appear as project spaces in the oCIS web UI.
Creating new project spaces from the UI continues to use decomposedfs.
**Prerequisites:**
The Kiteworks storage driver is not part of an upstream oCIS release. Build the `owncloud/ocis:dev` image locally from this branch:
```bash
make -C ocis dev-docker
```
**Required `.env` variables:**
```env
KITEWORKS_ENDPOINT=https://your-kiteworks-instance.example.com
KITEWORKS_API_TOKEN=<your-api-token>
```
**Optional `.env` variables:**
```env
KITEWORKS_MOUNT_ID=aa309def-b364-417b-8e41-85b8a9393c4b # stable UUID; change only to avoid collision with another deployment
KITEWORKS_INSECURE=false # set true only if the Kiteworks TLS cert is self-signed
```
**Start command:**
```bash
docker compose -f docker-compose.yml -f ocis.yml -f kiteworks-storage.yml up -d
```
**Verify:**
```bash
# Kiteworks folders appear as project spaces alongside the personal decomposedfs space
curl -ksu admin:admin "https://${OCIS_DOMAIN}/graph/v1.0/me/drives" \
| jq '.value[] | {id, name, driveType}'
# Creating a new project space must succeed (HTTP 201) and land on decomposedfs
curl -ksu admin:admin -X POST "https://${OCIS_DOMAIN}/graph/v1.0/drives" \
-H "Content-Type: application/json" \
-d '{"name":"my space","driveType":"project"}' -w "\nHTTP %{http_code}\n"
# List files in a Kiteworks space → HTTP 207 (smoke-tests KW ListFolder)
# Use the space id from the drives listing above (the one with driveType "project" whose id
# starts with the KITEWORKS_MOUNT_ID, default aa309def-b364-417b-8e41-85b8a9393c4b)
curl -ksu admin:admin -X PROPFIND \
"https://${OCIS_DOMAIN}/dav/spaces/<kw-space-id>/" \
-H "Depth: 1" -w "\nHTTP %{http_code}\n"
# Download a file from a Kiteworks space → HTTP 200 (smoke-tests KW Download)
# Use any file path from the PROPFIND listing above
curl -ksu admin:admin \
"https://${OCIS_DOMAIN}/dav/spaces/<kw-space-id>/<subfolder>/<filename>" \
-w "\nHTTP %{http_code}\n"
```
Loaded 100 of 1036 files, more files were not shown because too many files have changed in this diff. Show more