Skip to content

fix(wopi): ship document-formats for discovery#118

Merged
rikled merged 1 commit into
mainfrom
fix/wopi-discovery-formats
May 29, 2026
Merged

fix(wopi): ship document-formats for discovery#118
rikled merged 1 commit into
mainfrom
fix/wopi-discovery-formats

Conversation

@juliusknorr
Copy link
Copy Markdown
Member

@juliusknorr juliusknorr commented May 29, 2026

WOPI /hosting/discovery (and /meta/formats) reference <root>/document-formats/onlyoffice-docs-formats.json, but nothing shipped it — so discovery listed no mimetypes.

  • Add document-formats submodule (Euro-Office/document-formats)
  • COPY its onlyoffice-docs-formats.json into the bundle, next to dictionaries/document-templates/core-fonts; the deb Makefile carries it into the package

Server-side fix that consumes the file: Euro-Office/server#26

Fixes #67

Add the document-formats submodule and bundle its
onlyoffice-docs-formats.json into the documentserver tree, so WOPI
/hosting/discovery and /meta/formats find the file the config and nginx
already reference.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Julius Knorr <jus@bitgrid.net>
AI-assistant: Claude Code 2.1.156 (Claude Opus 4.8 claude-opus-4-8)
@rikled rikled merged commit 3add927 into main May 29, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from 👀 In review to ☑️ Done in 📄 Euro-Office team May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

WOPI discovery endpoint returns empty actions list (no docx/xlsx/pptx editors)

2 participants