This repository was archived by the owner on Jul 14, 2026. It is now read-only.
Repository navigation
fix(web-app-external): enable Collabora Save As / export to storage #13906
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
1b24e73
fix(web-app-external): enable Collabora Save As (save a copy / export)
dj4oC 42654c2
docs(changelog): add unreleased entry for Collabora Save As
dj4oC ed7188f
fix(web-app-external): fail closed on origin check + validate Save-As…
dj4oC fabe692
fix(web-app-external): gate Collabora Save-As behavior and close revi…
LukasHirt b48d42e
fix(web-app-external): harden Save-As against hazards flagged in review
LukasHirt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| Enhancement: Save a copy of office documents to another format (Collabora) | ||
|
|
||
| Office documents opened in Collabora Online could be renamed but not saved as a | ||
| copy or exported to another format back into oCIS storage: "Save As" silently | ||
| did nothing. Collabora exposes "Save As" as a host-delegated operation - it | ||
| posts a `UI_SaveAs` message and waits for the integration to reply with the | ||
| target filename via `Action_SaveAs` - but the app-provider integration never | ||
| opened that postMessage channel. | ||
|
|
||
| The app-provider now announces itself to the editor with `Host_PostmessageReady` | ||
| once the iframe has loaded, requests the grouped Save-As control via | ||
| `ui_defaults` (`SaveAsMode=group`), and on `UI_SaveAs` prompts for the copy's | ||
| name and replies with `Action_SaveAs`. The collaboration service already | ||
| implements WOPI `PutRelativeFile`, so the copy is written into the same space, | ||
| respecting the user's permissions. The chosen file extension selects the export | ||
| format (e.g. docx to pdf/odt, xlsx to ods, pptx to pdf). | ||
|
|
||
| https://github.com/owncloud/web/pull/13906 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.