Collabora convert-to converter dialect (#631) #647
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-631"
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?
Closes #631.
internal/preview:NewCollaboraConverternext to the Gotenberg constructor via a sharednewConverter(baseURL, route, field, ...)— Collabora's route is/cool/convert-to/pdf, the upload travels in multipart fielddata(Gotenberg:files). Cache, single-flight, eviction and error semantics unchanged and shared.preview.converterKind: "gotenberg" | "collabora", default gotenberg;CAIRN_PREVIEW_CONVERTER_KINDenv wins (CAIRN_LICENSE_KEY rule). Unknown kind warns and falls back to gotenberg.interop-collabora.yml(permanent, manual dispatch): live convert-to against the homelab CODE via the internal service address — verified green (12.5 KB PDF back). The public hostname path is denied by coolwsd's post_allow on purpose (Caddy forwards the real client in X-Forwarded-For); homelab-config now allows private callers incl. the IPv6-mapped::ffff:forms.Tests: internal/preview/convert_collabora_test.go (route append,
datafield, Gotenberg dialect regression).