Skip to content

feat: Add support for automatically converting source document to PDF using Gotenberg#5

Open
xitij2000 wants to merge 4 commits intomasterfrom
kshitij/add-support-for-gotenberg
Open

feat: Add support for automatically converting source document to PDF using Gotenberg#5
xitij2000 wants to merge 4 commits intomasterfrom
kshitij/add-support-for-gotenberg

Conversation

@xitij2000
Copy link
Copy Markdown
Member

@xitij2000 xitij2000 commented Aug 9, 2024

This change works with the Gotenberg tutor plugin to add support for converting any source document supported my LibreOffice to PDF.

It utilises the Gotenberg service, which providers a document to PDF conversion API using LibreOffice. If this XBlock detects that the Gotenberg host has been configured, it will show a UI to auto-convert the source document to a PDF.

The setting to convert the source document to PDF is not backed by an XBlock field on purpose. Each time you use this feature it will upload a document to the default storage and add its link to the PDF url. It will overwrite the previous file.

Private-ref: https://tasks.opencraft.com/browse/BB-9002

Private-ref: BB-9340 (follow-up tracking ticket)

@xitij2000 xitij2000 force-pushed the kshitij/add-support-for-gotenberg branch from f981d73 to 72fa664 Compare August 9, 2024 11:24
Adds the ability to convert a source document automatically into a PDF.
@xitij2000 xitij2000 force-pushed the kshitij/add-support-for-gotenberg branch from 461377d to 63a4a5d Compare August 9, 2024 11:31
@xitij2000 xitij2000 changed the title Kshitij/add support for gotenberg feat: Add support for automatically converting source document to PDF using Gotenberg Aug 14, 2024
@samuelallan72
Copy link
Copy Markdown
Member

@xitij2000 do we have a private ref (jira ticket) for this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants