* fix(web): [OCISDEV-1128] app drawer leaks menu items to public link visitors The top bar app drawer offered "Activities" and "Library" to anonymous visitors following a public link. Both apps registered their app menu item unconditionally at bootstrap, before any authentication context exists, and the extension registry is shared between the authenticated and the public link context. Gate both registrations on a signed-in user, matching the idiom already used by the files, text editor, app store, admin settings and ScienceMesh apps. Add a cross-package spec pinning the invariant for all seven apps that contribute a drawer entry.
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