2755 Commits
Author SHA1 Message Date
kobergj fbd21b636c chore: release 8.2.2 (#13210)
Web Tests / web-build-test (push) Canceled after 0s
Web Tests / detect-web-changes (push) Canceled after 1m2s
Check licenses / license-check (push) Canceled after 1m8s
Web Tests / web-tests-passed (push) Failing after 7s
* chore: release 8.2.2

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

* fix(web): bump vulnerable web dependencies

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

---------

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-10-21 11:49:16 +02:00
LarsJurgensen cb93f12eb2 fix(graph): [stable-8.2][OCISDEV-1561] tolerate preferred language lookup failures (#13190)
Backport of owncloud/ocis#13188.
2026-10-20 11:57:09 +02:00
Roman PerekhodandClaude Sonnet 5 84908d0810 fix: [OCISDEV-1476] fix AuthApp requests failing with a custom PROXY_… (#13078)
* fix: [OCISDEV-1476] fix AuthApp requests failing with a custom PROXY_USER_OIDC_CLAIM

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

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

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

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-09 09:37:00 +02:00
Roman PerekhodandClaude Sonnet 5 8948de6633 fix: [OCISDEV-1523] fix the LDAP master-ID filter for an empty base filter (#13096)
* fix: [OCISDEV-1523] fix the LDAP master-ID filter for an empty base filter

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

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

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

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

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

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

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

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

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

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

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-08 17:50:06 +02:00
Roman PerekhodandJuan Pablo Villafañez 8d8a015d1a backport: ocis_multi ldap group fix and marketplace CSP (#13090)
* fix: [OCISDEV-969] ocis_multi deployment with proper ldap groups (#12466)

fix: ocis_multi deployment with proper ldap groups
(cherry picked from commit 8dc7afc07c)

* feat(app-store): allow ownCloud Marketplace in ocis_multi CSP
Backport the ocis_multi portion of the marketplace CSP allowlisting
introduced in master so csp.yaml and csp-ocm.yaml also permit
connections to the new ownCloud Marketplace domain.

Backports #12793

---------

Co-authored-by: Juan Pablo Villafañez <jpvillafanez@izertis.com>
2026-10-07 18:32:07 +02:00
Roman PerekhodandMatteo 853d7d19d2 bump vue to 3.5.43 (#13073) (#13080)
chore(web): bump vue to 3.5.43 and source-map-js

Co-authored-by: Matteo <193476828+mzner@users.noreply.github.com>
2026-10-06 20:53:16 +02:00
kobergjandClaude Opus 5 2b4204ddb8 chore: release 8.2.1 (#12980)
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-10-02 23:11:22 +02:00
Roman PerekhodandClaude Sonnet 5 12d4423284 fix: [ocisdev-1433] fix public share, add The grpc clients keepalive … (#13048)
* fix: [ocisdev-1433] fix public share, add The grpc clients keepalive and more (#13020)

* fix: the public share configuration and fixed graceful shutdown

* fix: [OCISDEV-1433] remove GRPC_MAX_CONNECTION_AGE

The setting closed healthy grpc connections on a timer so that clients would redo
their DNS lookup. It never helped against the failure it was reached for - a
connection whose peer stopped answering - because the age limit is enforced by
the server, the grace period was left at infinity so a request already in flight
was never ended, and any value without a unit suffix silently disabled it again.

Detecting a peer that stops answering is now the job of the grpc clients, which
ping the peer while a request is in flight. The servers here got the matching
enforcement policy so they accept those pings; the client side arrives with the
next reva bump.

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

* fix: Added the new variable OCDAV_DISABLE_PROPFIND_PUBLIC_LINK_RESOLUTION that disable the resolution of public link shares when answering PROPFIND requests.

* chore: bump reva

* fix: The keepalive added to grpc clinet

* chore: bump reva

* build(deps): bump go 1.26.8, grpc-go dependency

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

* chore: bump pnpm dependencies

* fix: avoid go vet false positive in userlog conversion.go

The go.mod bump to go 1.26.8 made go vet flag loadTemplates' calls to
t.Get(nt.Subject/nt.Message) as non-constant format strings, breaking
the build for services/userlog/pkg/service. These are translation
lookup keys, not printf format strings, so route the call through a
local func value to defeat vet's static trace.

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

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-10-02 19:46:33 +00:00
Michal Klos 5988f8b8e6 feat: [backport][OCISDEV-1411] don't logout users on a transient IdP userinfo failure (#13049)
axios >=1.20.0 strips any outgoing header literally named "purge" (case-insensitive) as a reserved per-HTTP-method bucket name, silently dropping the Purge header the web client sent to permanently delete a space. The graph service now also accepts an X-Purge alias (Purge still works for other API clients), the web client sends that instead, and axios stays bumped to 1.20.0 for the CVE fix. .trivyignore reverted to its original state since no exemption is needed.

Signed-off-by: Michal Klos <michal.klos@kiteworks.com>
2026-10-02 21:13:28 +02:00
Roman PerekhodandClaude Opus 4.8 2eff54dcb2 fix: [stable-8.2] harden public link brute force protection (#12945)
fix: [OCISDEV-1404] harden public link brute force protection

The proxy public share authenticator set the brute force protection skip
marker on every authentication, including requests where the proxy is the
only authenticator. Failed password attempts on those requests were never
counted, so the rate limit for password protected public links was not
enforced.

The skip marker is now only set for requests that are re-authenticated
downstream, so failed attempts are reliably counted and the throttle is
applied consistently.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-09-15 12:24:04 +02:00
Roman PerekhodandClaude Opus 4.8 cb9ced39f0 fix: [backport] correct introductionVersion for OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL (#12951)
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:23:56 +00:00
Roman Perekhod ef46003751 fix: [stable-8.2] harden nats communication (#12932)
* fix: [OCISDEV-1115] harden nats communication

(cherry picked from commit 3deec26d89)

* chore: update changelog PR number to #12932
2026-09-14 09:24:34 +02:00
Roman Perekhod 791a895b2f fix: [OCISDEV-1360] Cache LDAP instance mapper lookups (#12898) 2026-09-11 11:41:37 +02:00
Roman Perekhod 22ce901173 fix: [stable-8.2] Remove the unmarshalable request body field from graph log messages (#12916)
fix: Remove the unmarshalable request body field from graph log messages
2026-09-10 16:25:57 +00:00
Michal Klos 5e132219c0 chore: [stable-8.2] bumps (#12912)
chore: bumps
2026-09-09 19:20:40 +02:00
Roman Perekhod 09e7446f84 build(deps): bump dependencies (#12902)
build(deps): bump dependencies
2026-09-09 13:10:09 +00:00
LarsJurgensen 2faf44b0db security: bump golang.org/x/image to v0.45.0 (#12806)
chore: bump golang.org/x/image to v0.45.0
2026-08-18 09:37:58 +02:00
Michal Klos a137821862 feat: [stable-8.2][OCISDEV-1115] harden nats communication (#12792)
feat: [OCISDEV-1115] harden nats communication (#12777)

* feat: [OCISDEV-1115] harden nats communication

* feat: bump reva for tls-enabled stores
2026-08-14 13:09:46 +02:00
Michal Klos 895d09db3f feat: [stable-8.2][OCISDEV-855] receivedsharecache: retry on transient storage errors in CAS loop (#12789)
feat: [OCISDEV-855] receivedsharecache: retry on transient storage errors in CAS loop (#12621)
2026-08-14 09:41:31 +02:00
kobergj 42f7fdcfee fix: remove trailing period from changelog title (#12770)
calens rejects changelog titles ending in ".!?", which failed the
generate-changelog job of the v8.2.0 release pipeline. The entry was
copied from #12492 where the title still had the period; the version
that shipped in 8.1.0 had it stripped.

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-08-10 20:03:10 +02:00
kobergj 55102a205f chore: release 8.2.0 (#12766)
* chore: release 8.2.0

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

* fix: bump go-git and nanoid to address CVEs

- github.com/go-git/go-git/v5 v5.19.1 -> v5.19.2 (CVE-2026-71556)
- nanoid 3.3.15 -> 3.3.17, 5.1.5 -> 5.1.16 via pnpm overrides
  (CVE-2026-67213, CVE-2026-67214)

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

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

Cherry-picked the code fix from #12492 (commit 10bed5f) which landed on
stable-8.1 but never reached master, so stable-8.2 branched without it.
Adds mount_id to the OcisNoEvents, S3NG and S3NGNoEvents driver configs.

The dependency bump bundled in that PR was deliberately excluded: it
would downgrade reva (20260807 -> 20260702) and golang.org/x/image
(v0.44.0 -> v0.43.0) on this release branch.

(cherry picked from commit 10bed5f347)
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>

---------

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-08-10 17:29:58 +02:00
Roman Perekhod 56b73d55d6 fix: [OCISDEV-615] Allow renaming and editing files with the editor-lite role (#12721)
* fix: [OCISDEV-615] Allow renaming and editing files with the editor-lite role

* fix(docs): changelog
2026-08-07 18:39:45 +00:00
Matteo d24c9ba2c4 fix(web): [backport] remove focus from file name in app top bar (#12753)
fix(web): remove focus from file name in app top bar

The open file name in the top bar was tabbable via keyboard even
though it is not clickable, which was confusing during keyboard
navigation.
2026-08-07 15:23:38 +02:00
Matteo a015a5e578 fix(web): [backport] use centralized vault detection for nav labels (#12729) (#12738)
fix(web): use centralized vault detection for nav labels (#12729)

The Files app nav labels checked window.location.pathname directly,
which missed hash-based vault routes and the post-login redirect
target, so labels didn't always reflect vault state.
2026-08-06 13:12:59 +02:00
Matteo 459a54c88f backport: Fix/ocisdev 1165/resource with same name gets prefix on share (#12730) (#12737)
fix: [ocisdev 1165] resource with same name gets prefix on share (#12730)

* feat: bump reva

Bumps reva to 441d6e77b33d, pulling in the vault/non-vault share
mountpoint collision fix, decomposedfs DisableVersioning aspect
handling, ChunkHandler.Assemble/scan fields, and LDAP retry policy
config. Also picks up the transitive nats-server, grpc, go-sqlite3
and antithesis-sdk-go bumps from reva's go.mod.

* docs: add changelog for vault share mountpoint collision fix

Documents the reva fix (owncloud/reva#691) that stops resources shared
under the same name from vault and non-vault mountpoints from getting
a spurious (1) suffix.
2026-08-06 12:58:05 +02:00
Michal Klos f3a6a12f95 fix: [OCISDEV-1032][stable-8.2] LDAP retry and config, post rebase wiring (#12731)
fix: ocisdev-1032 post rebase wiring
2026-08-06 12:18:16 +02:00
kobergjandClaude Opus 4.8 0806aed6a7 fix(graph): [OCISDEV-751] return correct issuerAssignedId on /me (#12727)
fix(graph): [OCISDEV-751] return correct issuerAssignedId on /me (#12431)

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.

Forward-port of #12411 to master.



(cherry picked from commit 9f72d77bfc)

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-06 10:41:09 +02:00
Roman PerekhodandClaude Opus 4.8 5d6d57465d fix: [OCISDEV-1053] Warn when resetting a service user password locks out login (#12716)
fix(idm): sync bind config when resetting a service user password

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

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

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

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-06 08:12:37 +00:00
Matteo 3292b2efb7 fix(web): use correct color variable for group icon in share list (#12726)
The group icon in the share collaborator autocomplete list referenced a
removed CSS variable, making it invisible. Switch to the current default
text color variable.
2026-08-05 17:31:12 +03:00
Lukas HirtandMichal Klos 8bda37b02d feat(ldap): [OCISDEV-1031] add opt-in LDAP connection pool (#12688)
* 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 #12688

* 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 #12688

* chore: bump brace-expansion

---------

Co-authored-by: Michal Klos <michal.klos@kiteworks.com>
2026-08-05 10:15:52 +02:00
Roman PerekhodandClaude Opus 4.8 e73022e3c4 feat: [ocisdev-1033] forward port to 8.2 (#12707)
* 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:02:02 +02:00
Matteo c4f5f80558 fix(idp): announce sign-in errors and fix keyboard use (#12699)
Error messages on the login, consent, and account chooser pages were not
announced when shown, invalid inputs gave no indication of their error
state, the consent scope list had no label/checkbox association, and the
account chooser entries were not keyboard reachable or activatable. The
login form's input focus outline had also been removed with no
replacement.
2026-07-31 16:12:38 +00:00
Matteo 31a68bbb77 fix(web): focus New/Upload dropdown menus on open (#12698)
The New and Upload button dropdowns did not receive focus when opened,
so arrow key navigation between menu items didn't work, unlike the
context menu.
2026-07-31 16:12:06 +00:00
Matteo 2f7a7ed095 fix(web): preserve focus in file versions sidebar (#12695)
- Keep keyboard and screen-reader focus inside the versions sidebar while panels transition or reload.
- Restore focus to the opening control when the sidebar closes and to the matching Restore action after a version is restored.
- Improve version date and action announcements without introducing duplicate announcements or additional tab stops.

Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-07-31 16:10:42 +00:00
Matteo 6f8a092547 fix(web): stop breadcrumb items from being announced twice (#12697)
Each breadcrumb list item had tabindex="0", putting it in the
keyboard/screen reader focus order alongside the link or button
nested inside it, causing every segment to be announced twice.
2026-07-31 12:25:41 +00:00
Matteo 42a3e4ad9c feat: add missing main/footer regions and fix skip-to-main link (#12696)
Add missing main and footer elements to the 404, private/public link
resolving, missing-config, logout, and access-denied pages, and fix the
skip-to-main link which silently did nothing on plain-layout pages due
to a missing target id and a stale cached DOM reference.
2026-07-31 13:59:17 +02:00
Matteo 429b5ba085 feat(web): show select-all checkbox label in tile view (#12694)
Make the select-all checkbox label visible in the tile view to match
the list view and make the checkbox's purpose clear.
2026-07-31 13:59:06 +02:00
Matteo a0c68115c1 fix: restore hover feedback lost to background-highlight/default coll… (#12692)
fix: restore hover feedback lost to background-highlight/default collision

The Light/Dark High-Contrast themes set colorPalette.background-highlight
equal to background-default, making hover backgrounds indistinguishable
from the resting page background wherever background-highlight was used
for interactive feedback (e.g. the global search results dropdown). The
non-high-contrast Dark theme had the same collision.

Set background-highlight to the same value as background-hover in those
theme blocks, and point SearchBar's result-preview hover/active state and
CreateShortcutModal's context-menu hover/active state at
--oc-color-background-hover directly, since background-highlight is
otherwise used for static surfaces (cards, modals, form fields) rather
than interaction feedback.
2026-07-31 13:35:53 +02:00
Matteo 5864af0675 fix(web): improve contrast of form controls in dark and vault themes (#12691)
Fixes low-contrast sliders, switches, select highlights, and the global
search input/placeholder, including an !important override that blocked
theme-specific search colors and an invalid CSS var() fallback.
2026-07-31 13:35:39 +02:00
Matteo 67b9407807 fix(web): remove unneeded keyboard focus stops (#12690)
Icons and date columns in tables received keyboard focus without
triggering any action, and the contextual helper icon duplicated its
button's label.
2026-07-31 13:35:25 +02:00
kobergjandClaude Opus 5 b521fdff4e fix(graph): [OCISDEV-1088] fix concurrent map access in share listing (#12670) (#12673)
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.


(cherry picked from commit 2922769be9)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-30 09:25:32 +02:00
Roman Perekhod 45e4ffbee7 fix: [OCISDEV-1045] Show vault-shared mountpoints in the vault drive list (#12656) 2026-07-28 21:02:20 +02:00
kobergjandClaude Opus 5 bae5dafc0c fix(webdav): log unmapped thumbnail errors at error level (#12663) (#12667)
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:14 +02:00
Gaurav Soni dbe5aabe6d fix(admin-settings): prevent deleting your own account (#12657) (#12661)
* fix(admin-settings): prevent deleting your own account (#12657)

In the user management, the account you are currently logged in as could
be selected and included in a delete action, even though the backend
always rejects self-deletion. Deleting a selection that included your own
account produced a "Failed to delete 1 user" error and made your own row
temporarily disappear from the list until the page was refreshed.

The delete action now excludes the current user from the request, so all
other selected users are deleted while your own account is left
untouched. When your own account is part of the selection, the delete
confirmation dialog shows a hint that it will not be deleted.

(cherry picked from commit 898f89c697)
2026-07-28 11:30:39 +02:00
Roman Perekhod 6cbeab1935 chore: fix the changelog for the 8.1.0 (#12627) 2026-07-21 18:13:02 +02:00
Deyan Zhekov 2f03cc7521 [OCISDEV-1060]: Fix CHANGELOG.md for Ebadi - 8.2.0-rc.1 (#12626)
fix:[OCISDEV-1060] Added missing Changelog for release Deledda - 8.1.0
2026-07-21 18:05:49 +02:00
Roman PerekhodandMartin a9d040f438 fix: Add audience restriction for OIDC access tokens (#12581)
* chore: Add audience restriction for OIDC access tokens

* fix: add new envvar to added table

Signed-off-by: Martin Mattel <github@diemattels.at>

* fix: add updated env_vars.yaml file

* Update services/proxy/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

* chore: var name to plural

---------

Signed-off-by: Martin Mattel <github@diemattels.at>
Co-authored-by: Martin Mattel <github@diemattels.at>
2026-07-16 15:47:58 +00:00
Michal KlosandRoman Perekhod 7c57cb63bd Release 8.2.0 rc.1 (#12550)
* chore: move the changelog

* chore: release 8.2.0-rc.1

---------

Co-authored-by: Roman Perekhod <2403905@gmail.com>
2026-07-10 18:01:13 +02:00
Roman PerekhodandClaude Opus 4.8 aa9aa9b454 fix: [OCISDEV-810] fix the space role and custom role checks (#12540)
* fix: [OCISDEV-810] fix the space role and custom role checks

* test: [OCISDEV-810] expect 400 when updating a share to a disabled role

The update (PATCH) permission handlers now enforce the admin role
allowlist, consistent with invite. Updating a share to a disabled role
(Secure Viewer, Denied, Space Editor Without Versions) therefore returns
400 instead of the previous silent 200. Update the @issue-10768 scenarios
to assert the new, correct behavior.

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

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 15:13:52 +02:00
Roman Perekhod b49335fce6 feat: Clean up the deployment examples (#12521) 2026-07-10 12:38:23 +02:00