Files
filebrowser/backend
manu 9753cfbf8b feat: edit office files in Collabora Online through WOPI
FileBrowser gains a WOPI host, so office documents can open in Collabora
Online (or any WOPI editor, OnlyOffice Docs included) next to the existing
OnlyOffice integration. Refs #641.

- integrations.wopi: url, internalUrl, secret, product, tokenExpirationHours,
  viewOnly. Discovery is fetched from the editor and cached; extensions it
  declares open in the editor, except formats FileBrowser already views
  itself (images, plain text).
- GET /api/wopi/session returns the editor URL and a signed access token
  bound to one file, one user and a mode. The token has its own audience and
  a key derived from the auth key (or integrations.wopi.secret), so it never
  doubles as a session token.
- /wopi/files/{id}[/contents]: CheckFileInfo, GetFile, PutFile and the lock
  operations. Permissions are re-checked on every call, so revoking access
  takes effect mid-session. PutFile receives the whole body before writing,
  and answers Collabora's COOLStatusCode 1010 when the file changed in
  storage since it was loaded, letting the user overwrite or reload.
- access_token is redacted from request logs.
- WopiEditor.vue form-posts the token into an iframe and handles UI_Close.
  Public shares keep using OnlyOffice for now.
2026-10-10 04:21:20 +02:00
..
2026-09-30 13:04:20 -05:00
2026-10-09 19:18:51 -05:00
2026-09-30 13:04:20 -05:00
2026-09-30 13:04:20 -05:00
2026-09-30 13:04:20 -05:00
2026-01-20 15:56:52 -06:00
2025-06-14 16:04:18 -05:00
2026-09-17 17:31:22 -05:00
2026-09-30 13:04:20 -05:00
2026-08-07 16:24:38 -05:00
2026-10-09 19:18:51 -05:00
2026-09-30 13:04:20 -05:00
2026-08-15 11:06:07 -05:00
2026-09-30 13:04:20 -05:00
2026-08-07 16:24:38 -05:00