json was absent from the format-showcase demo content despite being
trivial to produce validly (no proprietary converter needed), unlike
the genuinely skipped formats. Adds sample.json alongside the other
text/markup samples and updates File-Format-Coverage.md accordingly.
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: David Walter <david.walter@kiteworks.com>
config/ocis/apps.yaml (added in a prior commit) was a plain bind-mounted
file using ocis-style ${VAR|default} placeholders. Per the existing
warning comment in ocis.yml, that syntax is silently never resolved for
apps.yaml's per-app "config:" blocks (they decode into a generic
map[string]any in the web service, bypassing oCIS's env-parsing decode
hook) - so the drawio url and Kiteworks external-sites entry never
actually took effect.
Moves both into the real, already-working mechanism: the inline
configs.apps_yaml.content block in ocis.yml, which every extension
mounts via `configs: - source: apps_yaml`, and which relies on Docker
Compose's own ${VAR:-default} interpolation instead. Also adds the
missing apps_yaml mount to drawio.yml itself, since drawio was the only
extension that didn't already contribute it. Removes the now-dead
config/ocis/apps.yaml file.
The AI_LLM_MODEL_DEFAULT/AI_LLM_MODEL_VISION wiring for the ai-*
extensions' model fields already existed correctly in this same block
prior to this change.
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: David Walter <david.walter@kiteworks.com>
Explicitly sets restart: "no" to match the sibling compose files,
which all state their restart policy explicitly, instead of relying
on Compose's implicit default.
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: David Walter <david.walter@kiteworks.com>
Adds a drawio service (jgraph/drawio) with Traefik routing so the
draw-io web extension points at our own instance rather than the
public embed.diagrams.net. Wires up the extension config in
apps.yaml and adds the matching frame-src entry in csp.yaml.
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: David Walter <david.walter@kiteworks.com>
Signed-off-by: David Walter <david.walter@mb-kmwfdk9rwm.fritz.box>
Relocates it under demo-content/personal/Demo-Project-Notes so it's actually
part of the seeded demo content tree instead of sitting at the deployment
example's top level.
🤖 Generated with Claude Code
Signed-off-by: David Walter <david.walter@kiteworks.com>
Adds demo-pii-sample.md, a fully fabricated "customer intake form" (fictional
names/SSN/cards/health data using reserved-for-fiction ranges) for exercising
PII-detection features like the ai-sensitive-data-scanner web extension.
🤖 Generated with Claude Code
Signed-off-by: David Walter <david.walter@kiteworks.com>
Rounds out demo-content/project/06-Format-Showcase with genuinely valid
samples for the OOXML template/macro-enabled family (docm/dotx/dotm,
xlsm/xltx/xltm, pptm/potx/potm/ppsx/ppsm), the ODF template and flat-XML
family (ott/oth/ots/otp/otg, fodt/fods/fodp/fodg), plain-text/data formats
(csv, tsv, dif, slk, xml, htm, xhtml, mhtml), e-books (epub, fb2), a
LibreOffice extension package (oxt), a PDF/A-flavored PDF, and hand-built
legacy binary formats (dbf, pdb, emf, wmf, dxf).
Formats needing proprietary tooling we don't have available (legacy OLE
binary Office, CorelDRAW, WordPerfect, Hangul, Visio, Apple iWork, etc.)
are intentionally left out and documented in File-Format-Coverage.md
rather than shipped as invalid placeholder files.
🤖 Generated with Claude Code
Signed-off-by: David Walter <david.walter@kiteworks.com>
Add demo-content-init.yml/.sh: whenever DEMO_USERS is "true", this seeds
admin's personal space (Welcome.md, notes) and a "Demo Space" project space
(a themed "Aurora" document-review project: planning docs, a real .drawio
diagram, meeting notes, and a 06-Format-Showcase/ folder covering every
common file type - txt/md/html/url/docx/xlsx/pptx/odt/ods/odp/rtf/odg/pdf,
seven picture formats, and five video containers - plus markdown files
exercising every object type the editor supports, a full Mermaid diagram
gallery, and ~38 highlight.js language code blocks) on first startup, then
adds the standard demo users (einstein, marie, moss, richard, katherine) as
editors of the Demo Space. The container is always present in the compose
graph but the script no-ops immediately unless DEMO_USERS is "true", and is
idempotent on reruns (finds the existing space/members rather than
duplicating, tolerates already-existing folders).
This needs oCIS Basic Auth, since oCIS's OIDC has no password grant for a
script like this to use - PROXY_ENABLE_BASIC_AUTH now defaults to following
DEMO_USERS (still independently overridable) rather than a hardcoded
"false". The script itself talks to oCIS directly over the internal docker
network (http://ocis:9200) rather than through Traefik, so it never has to
deal with the self-signed certificate either.
API calls (space creation, invite, role UUIDs) were verified by capturing
the real requests oCIS Web itself makes for the same actions, and the full
script was tested end to end against a running stack, including its
no-op/idempotent paths, before writing this commit.
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: David Walter <david.walter@kiteworks.com>
Add web_extensions/ocis-app-tokens.yml, enabling "App Tokens"
(https://github.com/mschlachter/ocis-app-tokens, listed in
owncloud/awesome-ocis) - lets users create/manage app-specific tokens for
third-party API/CLI access against Infinite Scale.
It has no published docker image; it ships as a static JS bundle
(manifest.json + index.js) via GitHub releases, so an init container
downloads and extracts the v0.1.0 release zip into the shared ocis-apps
volume, matching the pattern used for other manually-installed extensions
(drawio, importer, etc.). oCIS auto-discovers it from its manifest.json,
same as those - no external_apps registration needed.
Requires the Auth App Service, already enabled in this deployment via
'auth-app' + PROXY_ENABLE_APP_AUTH (set for Workflows).
Enabled by default via OCIS_APP_TOKENS in .env, consistent with this
branch's other extensions.
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: David Walter <david.walter@kiteworks.com>
- Add config/ocis/web.yaml, mounted into the ocis container, to add
html-editor to oCIS's bundled web-app list (Web.Config.Apps). It ships
with oCIS but isn't in the built-in default list
(services/web/pkg/config/defaults/defaultconfig.go), and unlike the
per-app external_apps config, that list has no env var - it can only be
set via a mounted config file.
- Flip every web extension, AI_LLM_PROXY, and WORKFLOWS in .env from
commented-out (opt-in) to enabled, and add 'auth-app' to
START_ADDITIONAL_SERVICES (required by Workflows), so this deployment
example demonstrates the full feature set described in its branch name
out of the box rather than requiring manual .env editing first.
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: David Walter <david.walter@kiteworks.com>
ai-llm-proxy hardcodes a 60s AbortSignal.timeout() on its call to the
configured LLM backend. That's fine against a fast hosted API, but far too
short for a local/self-hosted reasoning model (e.g. Ollama): measured
195-296s of real generation time for a realistic document-drafting prompt
against a 12B model on modest hardware, with significant run-to-run
variance. Every such request currently fails with a misleading
"Could not reach LLM endpoint" 502 once the LLM is slower than a minute.
Vendor ai-llm-proxy's source locally (unchanged apart from this one patch)
instead of building from the upstream git context, and make the timeout
configurable via LLM_TIMEOUT_MS (default 600000ms / 10 min - upstream had
no way to configure this at all). Wired through .env's AI_LLM_TIMEOUT_MS.
Verified end-to-end against a running Ollama instance: the same prompt that
previously 502'd after 60s now completes successfully within the new
timeout.
Revert to a pinned upstream image/context once this is fixed upstream in
owncloud/web-extensions.
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: David Walter <david.walter@kiteworks.com>
web_extensions/drawio.yml pinned owncloud/web-extensions:draw-io-0.4.4,
which was never published to Docker Hub (highest published tag is
draw-io-0.4.1) - `docker compose up` fails to pull it. Pin to 0.4.1 instead.
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: David Walter <david.walter@mb-kmwfdk9rwm.fritz.box>
Signed-off-by: David Walter <david.walter@kiteworks.com>
apps.yaml's per-app "config:" block binds to a map[string]any in the web
service, which bypasses oCIS's own ${VAR|default} env-parsing decode hook -
so those placeholders (model, endpoint, companionUrl, backendUrl) were never
actually resolved and were shipped to the browser as literal, unresolved
strings. Move the file inline into ocis.yml as a Compose `configs:` block
with `${VAR:-default}` syntax instead, since Compose's own interpolation
reliably resolves before the file is ever written/mounted. Verified end to
end with `docker compose config` against real values.
Also add NODE_TLS_REJECT_UNAUTHORIZED to ai-llm-proxy, matching the existing
companion service workaround, since it otherwise fails to validate tokens
against oCIS's self-signed dev certificate.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The model name for the ai-* web extensions was hardcoded in apps.yaml.
Add AI_LLM_MODEL_DEFAULT and AI_LLM_MODEL_VISION env vars, pass them
into the ocis container's environment, and reference them from
apps.yaml so the model can be overridden from .env.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adds 9 new owncloud/web-extensions packages with published Docker Hub images
(chat-with-file, file-comments, group-management, version-changelog,
ai-doc-summary, ai-image-alt-text-sidebar, ai-data-insights-sidebar,
ai-sensitive-data-scanner, ai-folder-brief-sidebar), following the existing
init-container-into-shared-volume pattern.
Also adds 6 extensions whose upstream release CI never published an image
(startup_failure with no jobs ever created) by building them directly from
the web-extensions git repo instead, working around their tsconfig.json
extending a monorepo-root config that doesn't exist in a narrower
git-context checkout.
Adds ai-llm-proxy (the backend all ai-* extensions call) and ocis-workflows
(owncloud/ocis-workflows) the same way, since neither has a published image
yet. All git-built services and the AI extensions are disabled by default
in .env and documented as build-from-source until real images exist.
cast is intentionally excluded (loads a third-party Google script).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
feat(web): show select-all checkbox label in tile view
Make the select-all checkbox label visible in the tile view to match
the list view and make the checkbox's purpose clear.
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.
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.
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
feat: add missing main/footer regions and fix skip-to-main link
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.
- 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>
Migrates all v-translate directive usages to $gettext() calls since
v4 removes the deprecated <translate> component/directive entirely
and silently drops such strings during extraction. Also drops the
now-unsupported disableHtmlEscaping positional argument from ~40
call sites (v4 no longer HTML-escapes interpolated values; none of
the affected strings are rendered via v-html) and removes the pnpm
patch that only backported a types export field v4 now ships
natively.
Signed-off-by: Lukas Hirt <info@hirt.cz>
* build(deps): bump pnpm dependencies
* style(web): format code with prettier
Signed-off-by: Lukas Hirt <info@hirt.cz>
* test(web): update ActivitiesPanel snapshot for dompurify/happy-dom sanitization change
The dependency bump upgraded dompurify to 3.4.3+, which combined with
happy-dom's DOM implementation drops a leading <strong> tag that is the
first sanitized child node. Real browsers are unaffected; only the
happy-dom test snapshot needed updating.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
---------
Signed-off-by: Lukas Hirt <info@hirt.cz>
Co-authored-by: Lukas Hirt <info@hirt.cz>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
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.
- OcBreadcrumb: add `inert` to truncation placeholder <li> so its
focusable <a> child is unreachable (fixes aria-hidden-focus)
- OcTable: remove aria-hidden from header cell span and fall back to
field.name so icon/avatar columns always have discernible text
(fixes empty-table-header)
- Plain layout: wrap router-view in <main> so login/public-link pages
have a landmark (fixes region violations)
- SidebarNav: change root element to <aside> with aria-label so the
versions div is inside a landmark (fixes region violations)
- web-app-ocm App: change root element to <main> (fixes region)
- Add v-if="pageTitle" to sr-only <h1> in 6 components so empty
headings are never rendered (fixes empty-heading)
- Disable aria-allowed-role in search dropdown check — axe 4.11
incorrectly rejects <li role="group"> inside <ul role="listbox">
which is valid per ARIA 1.2
- Disable label rule in Application.open() check for pages that may
transiently render Keycloak's OTP setup form
- Remove stale post-navigation check in createFileFromTemplate
sidebar branch (sidebar is unmounted before check runs)
The groups API could return group membership details to callers who
should not have had access to it via the single-group GET endpoint.
Access to group member data is now properly restricted based on the
caller's permissions.
Signed-off-by: Lukas Hirt <info@hirt.cz>
* test: add test to check vault mode capabilities endpoint response
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
* test: add cleanup for Keycloak related configs after each test
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
* test: use ocs version 2
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
---------
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
* fix: fix CI (#12551)
* fix(ci): disable docker release jobs like in 8.1
The docker-build/manifest/readme jobs were enabled in 8.2 and wired into
create-github-release/audit-release. They fail at docker/login-action
("Username and password required") because DockerHub credentials are not
available, which cascades and cancels the whole release.
Restore the 8.1 behavior: re-add `if: false` to the docker jobs and unwire
them from the downstream release jobs.
* fix(ci): reinstall web deps in license-check job
Excluding web from the generated-code artifact (#12557, to avoid OOM on
upload) also dropped web/node_modules, which provides the
license-checker-rseidelsohn binary used by `make ci-node-check-licenses`.
The job failed with "license-checker-rseidelsohn: not found".
Run `pnpm install` in web before the license check so its node_modules is
present again.
---------
Co-authored-by: Roman Perekhod <2403905@gmail.com>
The release workflow is running out of memory when uploading the generated code.
This fixes it by excluding the web directory. The web directory is not needed because the build is handled via the generation.
Signed-off-by: Lukas Hirt <info@hirt.cz>
* fix(e2e): resolve admin-settings general spec violations
- prevent focusable elements inside hidden breadcrumb items
- make OcDrop tippy role configurable, default to none
- wait for logo-wrapper element after page reload in e2e
* fix(e2e): resolve admin-settings groups spec violations
- add aria-label to the icon-only groups filter-confirm button, which
had no name for screen readers to announce
- set reducedMotion on e2e browser contexts so notification fade-in
animations don't race axe scans and produce false color-contrast
failures
- fix tippbBox selector typo (-> tippyBox) that made the scan on the
group context menu throw instead of running
- fix groupList and editPanel selectors in the shared selector map:
groupList pointed at a nonexistent class, and editPanel used the
non-standard :visible pseudo-selector which is invalid in native
querySelectorAll
* fix(e2e): skip tooltip fade transition under reduced motion
Plain tooltips (v-oc-tooltip) use tippy.js's default fade animation
and default #333/#fff colors, driven by tippy's own duration option
rather than a CSS transition. Setting reducedMotion on the Playwright
browser context does not stop this, since tippy's animation ignores
prefers-reduced-motion on its own. Axe scans could catch the tooltip
mid-fade, when the text is still low-opacity, and report a false
color-contrast violation. Now the duration is forced to 0 when the
media query matches, mirroring how oc-fade-in already handles this
for CSS-driven animations.
* fix(e2e): resolve officeSuites spec progressbar violation and test bugs
- add aria-label to the global loading progress bar, which had no name
- point the space quota progress bar at its existing text label via
aria-labelledby instead of leaving it unnamed
- fix a string-literal-instead-of-variable typo, an XPath selector that
axe can't use (only CSS), and a scan that ran after clicking closed
the element it was targeting, all in the public link test helpers
- move the create-document-modal scan to after the modal actually
opens, since it was scanning too early and finding nothing
* fix(e2e): resolve app-store details spec contrast violation and scan bug
- override md-editor-v3's default link and inline-code colors in the
read-only markdown preview, which didn't meet WCAG AA contrast
against the app card background
- point the download-app a11y scan at the app list page instead of a
details-page selector that isn't present on that page, a leftover
from copying the sibling download-version helper
* fix(e2e): resolve participantManagement pagination spec violations
- patch vue-select to render aria-controls on its combobox toggle,
which it already computed internally but never attached to the
element with role="combobox"
- add aria-label to the account menu quota bar and upload progress
bar, both missing a name on their progressbar role, same gap fixed
earlier in LoadingIndicator/SpaceQuota
- add aria-label to the file-details preview-loading spinner, which
rendered role="img" with an empty aria-label
- stop scanning the sidebar actions panel in deleteResource after it
was already closed, which made the scan throw instead of running
* fix(e2e): add missing aria-label to hide-share quick action button
The icon-only hide/unhide-share button in the shared-with-me table had
a tooltip but no aria-label, so it had no accessible name. Reused the
label already computed for the tooltip instead of duplicating it.
* fix(e2e): fix sidebarPanel selector typo in downloadResources
Used the string 'sidebarPanel', which isn't a key in the shared a11y
selector map, so it fell through to being used as a literal (and
broken) CSS selector. Switched to the existing appSidebar key, which
resolves to the same #app-sidebar selector already used for this
concept elsewhere.
* fix(e2e): add accessible name to markdown editor's content area
md-editor-v3's underlying CodeMirror instance renders its editable
content div with role="textbox" but no accessible name, and the
library exposes no prop to pass one through. Set aria-label on it
directly after mount, since that's the only available hook.
* fix(e2e): fix users-filter button label and navigate scan selector
- add aria-label to the icon-only users search/filter-confirm button,
the same button-name gap already fixed for the groups page
- fix Users.navigate scanning appSidebar, which isn't rendered until a
sidebar panel is actually opened; switched to scanning body, matching
the working pattern already used by Groups.navigate
* fix(e2e): fix global search dropdown ARIA structure and scan bugs
- restructure the search results listbox so its direct children are
valid group/option roles instead of plain nested <li>/<ul>, fixing
aria-required-children/parent, list, and listitem violations
- give the loading/no-results states no listbox role at all, since
they're informational text rather than actual options
- give the listbox an accessible name via the existing search label
- fix the icon-only "search options" listbox missing aria-controls
becoming null instead of a static string when the dropdown isn't
rendered
- add a disableRules option to assertNoSevereA11yViolations, using it
for two narrow, investigated cases: search-result rows render a real
<a href> so native middle-click/ctrl-click "open in new tab" keeps
working (nested-interactive can't be satisfied without removing
that), and a checkbox nested in a clickable filter-list button that
would otherwise lose its only accessible selection-state indicator
- fix the same aria-controls transient-timing gap in two more call
sites that hit it after a route change (closing the editor, opening
any app via the app switcher)
* fix(e2e): fix low contrast search input in select combobox
vue-select's vendor CSS dims the search input to 20% opacity while
searching but not yet open, dropping text contrast to 1.51:1 against
the required 4.5:1. Override the opacity back to 1 for that state.
* fix(e2e): add labels to app gallery navigation buttons
The prev/next/set-image buttons in the app details image gallery only
render a decorative icon with no text or label, leaving them with no
discernible name for screen reader users.
* fix(e2e): add label to clear-clipboard button in files app bar
The clear-clipboard button next to "Paste here" only renders a
decorative close icon with no text or label, leaving it with no
discernible name for screen reader users.
* fix(e2e): add label to generic app-loading spinner
The spinner shown while an external app is loading has no aria-label,
leaving the role="img" element with no accessible name even though a
visually-hidden "Loading app" text already exists right next to it.
* fix(e2e): add label to GDPR export loading spinner
The spinner shown while the GDPR export status is loading has no
aria-label, leaving the role="img" element with no accessible name.
* fix(e2e): fix combobox aria attributes in create shortcut modal
The suggestion dropdown had no explicit toggle target, so tippy fell
back to the input wrapper div and set aria-expanded on an element with
no ARIA role. Point the drop at the actual input and give it proper
combobox semantics.
* fix(e2e): fix users filter checkbox-button scan and delete selector bug
Suppress the already-accepted checkbox-in-button nested-interactive
rule at the two roles filter scan sites in filterUsers, matching the
pattern used elsewhere for the same ItemFilter.vue markup. Also fix a
string-literal selector in deleteUserUsingContextMenu that was never
actually calling util.format, so axe scanned for a nonexistent element.
* fix(e2e): resolve admin-settings spaces spec violations
- replace removed #files-toggle-sidebar with the "Show details" button
(that button now opens the sidebar in one click; selecting via the
checkbox first would toggle the space off when Show details toggles it on)
- fix broken scan selectors: 'appSidebarDiv' -> 'appSidebar' (not a key in
the selectors map, was silently falling through to the literal string);
'tippyBox' -> 'ocModal' at the confirm-action scan (the modal is what's
actually rendered there, not a tippy); 'filesView' -> 'adminSettingsWrapper'
in performSpaceAction (this runs on the admin-settings page, not files)
- wrap transitionend waits in Promise.all with their triggering click, so
the listener attaches before the transition begins - otherwise a near-
instant transition (under prefers-reduced-motion: reduce, enabled by an
earlier fix in this branch) can finish before the listener binds and
the wait never resolves, hanging the "list members via sidebar" test
* fix(e2e): mark kindergarten journey test as slow
The journey performs 16 downloads plus shares and deletes, each cycling
the sidebar with a11y scans, and consistently runs 3-4 minutes even in
isolation - past the default 180s timeout. When the deadline hits, the
axe scan in flight fails with "Target page, context or browser has been
closed" from a different call site each run.
test.slow() triples the timeout to 540s, the idiomatic Playwright hint
for legitimately long journey tests.
* fix(e2e): add aria-label to create-user button when icon-only
When admin-settings shrinks to a limited-width viewport, the create-user
button collapses to icon-only and its visible text label is hidden. The
tooltip already switches to the accessible name in that mode; mirror
that on aria-label so the button retains an accessible name in the
collapsed state (WCAG 4.1.2).
* fix(e2e): import expect in crashPage step helpers
expectCrashPageHasNoAccessibilityViolations uses expect() but the
import only included Page - the file wouldn't compile if that helper
was referenced anywhere.
* fix(e2e): pass selector variables to admin-settings users a11y scans
Four call sites passed string keys ('loginToggleWithDropdown',
'loginDropDown', 'groupsModalInput') that don't exist in the shared
selectors map - assertNoSevereA11yViolations' fallback then used those
literal strings as raw CSS selectors, matching nothing, so axe threw
"No elements found for include" instead of actually scanning. Same
class of bug as the earlier 'tippbBox'/'sidebarPanel'/'linkUpdateDialog'
fixes in this branch.
Switched to passing the local const variables directly, which resolve
to the real CSS selectors defined in the same file.
* fix(e2e): scan notifications dropdown container instead of message list
Both notification-related scans passed notificationItemsMessages, which
is a selector that matches multiple elements (one per notification). axe
throws on multi-match includes. Switched to notificationsDrop, the
single container that wraps the message list.
* fix(e2e): wait for link-update dialog before scanning it
Four call sites (changeRole, changeName, addExpiration, deleteLink) ran
assertNoSevereA11yViolations on the linkUpdateDialog notification right
after the action that triggers it, without waiting for the notification
to actually appear - axe would race and sometimes scan before the DOM
was there.
Also fixed copyLinkToClipboard: previously scanned '.snackbar' (which
doesn't exist in this codebase) unconditionally; now waits for the
linkUpdateDialog and scans it, or for the password-protected-folder
case, waits inside the iframe and scans the iframe locator instead
(mirroring the pattern already used by open() in utils/sidebar.ts).
* fix(e2e): scan iframe locator for password-protected-folder sidebar
Two scans in the passwordProtectedFolder branch were pointed at
top-level page selectors ('tippyBox', the plain sidebarPanel const)
but that sidebar lives inside its own iframe (#iframe-folder-view),
not on the top-level page - so axe found nothing to scan and threw.
Switched to scanning the iframe locator itself. In open()'s post-open
scan, made the target conditional so the non-iframe branch keeps
scanning #app-sidebar as before.
* fix(e2e): drop premature tippyBox scan before more-options dropdown opens
createShare scanned the tippyBox before clicking showMoreOptionsButton,
but the tippy isn't in the DOM yet at that point - the click on the
button is what opens it. The second scan a couple of lines below runs
after the click, when the dropdown is actually rendered, which is the
only place the scan belongs.
* fix(e2e): scan body in shared createSpace instead of #files-view
createSpace is invoked from both the Files app spaces view (which has
#files-view) and the admin-settings spaces page (which has
#admin-settings-wrapper instead) - scanning a single view-specific
root failed in one of the two callers. Scan the always-present body
so both callers work.
* fix(e2e): make resource-action a11y scans robust to timing and view mode
- clickResource: it's used for both folder navigation (breadcrumb
appears) and file-open (navigates away into a viewer/editor with no
breadcrumb). The unconditional post-click scan of 'breadcrumb' timed
out on file opens. Wait for the breadcrumb with a 5s cap and skip
the scan when it never appears.
- createNewFolder: was scanning 'filesSpaceTable' which only exists in
table view. Scan the view-mode-agnostic 'filesView' wrapper instead.
- downloadResources / pasteResource / moveOrCopyResource: add waitFor
on the target selector before axe scans it, otherwise axe can race
and scan before the DOM updates from the preceding click.
* fix(web-app-app-store): fix TS2322 type error in AppImageGallery aria-label
Security: Restrict group member data to authorized users
The groups API could return group membership details to callers who should not have had access to it. Access to group member data is now properly restricted based on the caller's permissions.
Loaded 100 of 455 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.