1702 Commits

Author SHA1 Message Date
Julien Neuhart
7fb3873307 fix(pdf): refuse set-bookmarks without bookmarks, without a title or leading past the last page 2026-11-05 18:38:57 +01:00
Julien Neuhart
0e74ff4ade fix(pdf): let a decrypt stage without a password cover optimize 2026-11-05 18:38:57 +01:00
Julien Neuhart
660a322505 fix(api): word the downloadFrom errors like the other form field errors 2026-11-05 18:38:57 +01:00
Julien Neuhart
46cf968cb5 fix(api): encode a non-ASCII output filename per RFC 6266 2026-11-05 18:38:57 +01:00
Julien Neuhart
5eec9074ff fix(chromium): reject a waitDelay that cannot fit in the API timeout 2026-11-05 18:38:57 +01:00
Julien Neuhart
e8ede5f844 fix(api): carry the trace and version headers on every answer 2026-11-05 18:38:57 +01:00
Julien Neuhart
50b58e8c0b fix(webhook): require the webhook URL header with the events URL header 2026-11-05 18:38:57 +01:00
Julien Neuhart
79fb67cef0 fix(api): require an http or https URL with a host for webhooks and downloadFrom 2026-11-05 18:38:57 +01:00
Julien Neuhart
d437c7c672 fix(chromium): only an exact scope key scopes an extra HTTP header 2026-11-05 18:38:57 +01:00
Julien Neuhart
00641aba11 test(integration): validate the corpus under the corpus tag 2026-11-05 18:38:57 +01:00
Julien Neuhart
5465a15d59 test(integration): add the release QA corpus fixtures 2026-11-05 18:38:57 +01:00
Julien Neuhart
f73f9f587a feat(libreoffice): report the lok version in /debug 2026-11-05 18:38:57 +01:00
Julien Neuhart
e004ba34eb fix(chromium): reject an out-of-range scale and a negative length 2026-11-05 18:38:57 +01:00
Julien Neuhart
8b0812d10f fix(libreoffice): drop .epub from the accepted extensions 2026-11-05 18:38:57 +01:00
Julien Neuhart
67bf4c8c49 build: pass GOTENBERG_VERSION to docker build so a custom tag reports its version 2026-11-05 18:38:57 +01:00
Julien Neuhart
2fadd622be build(docker): install lok v0.0.4 so CSV columns split and displayPDFDocumentTitle false applies 2026-11-05 18:38:57 +01:00
Julien Neuhart
0f4f25bc2d fix(chromium): keep the DevTools Protocol messages out of the debug logs unless --chromium-debug-protocol is set 2026-11-05 18:38:57 +01:00
Julien Neuhart
b260c36691 chore: mirror --chromium-clear-storage into the Makefile and compose 2026-11-05 18:38:56 +01:00
Julien Neuhart
049239ed6c fix(chromium): keep the query of request URLs and the extra header values out of the logs 2026-11-05 18:38:56 +01:00
Julien Neuhart
49540cf8bc fix(telemetry): name the server span and http.route after the matched route only, and keep the Host out of the metrics 2026-11-05 18:38:56 +01:00
Julien Neuhart
e178965a50 fix(api): listen on an IPv6 --api-bind-ip 2026-11-05 18:38:56 +01:00
Julien Neuhart
3fa58a0dcb fix(telemetry): keep the query of outbound URLs out of errors, logs and traces 2026-11-05 18:38:56 +01:00
Julien Neuhart
27326482d7 fix(telemetry): rename the queue, process, render and Chromium print span attributes, and drop an empty pdf_a 2026-11-05 18:38:56 +01:00
Julien Neuhart
625de04ee1 fix(telemetry): trace each webhook and download attempt as an HTTP client span, under an internal span for the whole call 2026-11-05 18:38:56 +01:00
Julien Neuhart
0f7b951257 fix(telemetry): name the engine and async spans in lowercase, like pdf.render 2026-11-05 18:38:56 +01:00
Julien Neuhart
5b65fa538c fix(telemetry): type a failed engine run with error.type on its metrics, and drop the status attribute and the errors counter 2026-11-05 18:38:56 +01:00
Julien Neuhart
17da7b16d8 refactor(telemetry): import the semantic conventions from v1.43.0 only 2026-11-05 18:38:56 +01:00
Julien Neuhart
061a235e95 fix(api): let the server span read its address from the Host when no bind IP is set 2026-11-05 18:38:56 +01:00
Julien Neuhart
978fc1c480 fix(telemetry): leave the span status unset on success and on a 4xx, and type a 5xx with its status code 2026-11-05 18:38:56 +01:00
Julien Neuhart
644f9155b0 fix(telemetry): classify a filtered or unresolvable URL as invalid input 2026-11-05 18:38:56 +01:00
Julien Neuhart
2dac9192d1 fix(telemetry): rename the span attributes and events after the OpenTelemetry conventions 2026-11-05 18:38:56 +01:00
Julien Neuhart
4c7bce3eb2 fix(telemetry): rename the engine gauges and metric attributes after the OpenTelemetry conventions 2026-11-05 18:38:56 +01:00
Julien Neuhart
1ce758d703 fix(telemetry): prefix the metrics with gotenberg and drop their total suffix 2026-11-05 18:38:56 +01:00
Julien Neuhart
728688401b feat(pdf): remediate and validate a PDF/A profile and a PDF/UA one together 2026-11-05 18:38:56 +01:00
Julien Neuhart
8ca7f7b3dd chore(deps): bump github.com/gotenberg/litho to v0.0.3-0.20261102175005-70cfe4dc5982 2026-11-05 18:38:56 +01:00
Julien Neuhart
2a9a04e2dd feat(pdf): let set-form select several items of a list, refuse a value a field cannot hold, and leave XFA-only names out of its hints 2026-11-05 18:38:56 +01:00
Julien Neuhart
c449fc76d6 feat(pdf): add the /forms/pdf/form route, which lists the form's fields as set-form takes them 2026-11-05 18:38:56 +01:00
Julien Neuhart
b6b1979d82 docs(bruno): leave the webhook headers out of the read routes, which refuse them 2026-11-05 18:38:56 +01:00
Julien Neuhart
de5e9ff883 chore(deps): bump github.com/gotenberg/litho to v0.0.3-0.20261101205431-e8a91625f9b2 2026-11-05 18:38:56 +01:00
Julien Neuhart
fab7d6639b fix(pdf): report a failed edit under the stage that queued it, and say how to fix unencodable text, invalid images and deleting every page 2026-11-05 18:38:56 +01:00
Julien Neuhart
8525b0b9f7 docs: say which Chromium flags turn off the DNS-rebinding pinning proxy, and state litho's default PDF limits 2026-11-05 18:38:56 +01:00
Julien Neuhart
ad8ff096fa fix(api): name the PDF/A profile sent in the pdfa upgrade hint, and stop passing optimize off as lossy 2026-11-05 18:38:56 +01:00
Julien Neuhart
28cfa16bf7 fix(pdf): answer the removed /forms/pdfengines routes with the /forms/pdf route that replaced each 2026-11-05 18:38:56 +01:00
Julien Neuhart
9a8ad846cc fix(pdf): point an encrypted input to a decrypt stage, or to the read routes' password field 2026-11-05 18:38:56 +01:00
Julien Neuhart
15ab3728b3 fix(webhook): refuse webhook headers up front on the routes that answer JSON directly 2026-11-05 18:38:56 +01:00
Julien Neuhart
e95182e479 fix(pdf): refuse the stages that would rewrite a signed PDF and drop its signatures 2026-11-05 18:38:56 +01:00
Julien Neuhart
dd959583a0 fix(chromium): let the HTML and Markdown routes' own page pass the allow and deny lists, which keep governing what it loads 2026-11-05 18:38:56 +01:00
Julien Neuhart
334b78bb40 feat(api): log each outbound request the filters refuse, with the request's context, its redacted URL and the rule 2026-11-05 18:38:56 +01:00
Julien Neuhart
57910d03b1 docs(libreoffice): say the outbound filter flags cover linked HTML style sheets and macro requests only 2026-11-05 18:38:56 +01:00
Julien Neuhart
2feb82fc8e fix(webhook): say what the webhook URL answered, or why it was unreachable, when an upload fails for good 2026-11-05 18:38:56 +01:00