Converter: Collabora convert-to driver — drop Gotenberg on Collabora-equipped deployments #631
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Cordy/Cairn#631
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up from #629. The office→PDF step for previews always needs a LibreOffice engine, but it does not need to be a separate one: Collabora Online exposes a
convert-toendpoint (POST /cool/convert-to, multipart,format=pdf) backed by the same LibreOffice core it uses for editing. Deployments that run Collabora for the editing story (office.url) can then run zero Gotenberg — one service covers editing and office heroes.Scope:
internal/previewgains a second driver next to the Gotenberg-compatible one. Selection: explicitpreview.converterKind: "gotenberg" | "collabora"in config (defaulting to gotenberg for compatibility), OR — nicer — a documented convention thatpreview.converterUrlpointing at a Collabora origin uses convert-to (sniff on first use via discovery, cache the answer). Decide at build time; explicit config is the safer default and matches the "config = how to find your services" line.data(Gotenberg usesfiles), target format in the URL path orformatfield per Collabora's API; response is the PDF body either way, so/api/v1/preview/pdfand everything above it are unchanged.interop-rclone.ymlpattern).Not in scope: convert-to's PNG output (heroes rasterize client-side per #629), any converter UI beyond the existing admin health row.
Build after pane v2 slices land.