* fix: apply renewed access token in embed mode with delegated authentication The "owncloud-embed:update-token" message listener was registered unbound, so it crashed on `this.configStore` before applying the renewed token. It also passed the whole message payload to updateContext instead of the access token string. The embedded instance therefore kept the initial access token until it expired and the user got logged out. * test: merge delegated token update tests into the existing describe block Move the window.dispatchEvent based tests into the pre-existing handleDelegatedTokenUpdate block and add coverage for update-token messages arriving without an access token. * test: assert renewed token payload and shorten changelog title Assert the exact updateContext payload in the trusted-origin test so it guards againsst the payload regression, and parameterize the message event helper so the positive case can send a distinct renewed token. Shorten the changelog title to fit the 80 character lint limit.
ownCloud Web
ownCloud Web is the next-generation frontend for ownCloud Infinite Scale, built as a single-page application with Vue.js and TypeScript. It provides a modern, accessible and themeable user interface for managing files, sharing, real-time collaboration and administration -- designed to be extensible through a plugin-based architecture that allows third-party developers to build custom apps and extensions.
Getting Started
Set up a local development environment for ownCloud Web:
Prerequisites
- Node.js (LTS recommended)
- pnpm
- Docker Compose (for backend)
For the complete development setup, see the setup guide.
Structure
The web/packages directory contains the core modules:
- client -- Generated TypeScript client for the oCIS Graph API
- container -- Static assets and base files
- extension-sdk -- Utilities for developing custom extensions
- pkg -- Shared logic used across the codebase
- runtime -- Authentication, routing, theming and application handling
Built-in apps (also in web/packages):
- files -- Core file sync-and-share functionality
- admin-settings -- User, group and space administration
- activities -- Activity stream
- app-store -- Browse and install extensions
- epub-reader -- Ebook file viewer
- external -- WOPI-based document editing (Collabora, ONLYOFFICE)
- pdf-viewer -- PDF file viewer
- preview -- Audio, video and image previewer
- text-editor -- Plain text editor