183 Commits

Author SHA1 Message Date
Julien Neuhart
9ff44a6846 feat: add --libreoffice-max-memory and --chromium-max-memory to kill a runaway conversion before the container is OOM-killed 2026-11-16 18:58:28 +01:00
Julien Neuhart
9caeff8f16 feat(pdf): add --pdf-disable-stages 2026-11-09 19:09:21 +01:00
Julien Neuhart
8334a8d558 feat(pdf): add --pdf-max-render-pixels 2026-11-09 17:38:45 +01:00
Julien Neuhart
9d1033042d feat(pdf): add the compose stage and route 2026-11-07 19:27:04 +01:00
Julien Neuhart
0dfd3bbf75 feat(pdf): add /forms/pdf/extract-text route 2026-11-06 19:11:43 +01:00
Julien Neuhart
bbab36d352 test(pdf): tag the extract-attachments scenarios pdf-extract-attachments 2026-11-06 18:43:32 +01:00
Julien Neuhart
77fa381241 test(corpus): move the release QA corpus into its own suite 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
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
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
46ac5cc031 feat(api): unpack zip archives sent in the archives form field 2026-11-05 18:38:55 +01:00
Julien Neuhart
f82e7e2317 feat(pdf): render pages as images with a render stage 2026-11-05 18:38:55 +01:00
Julien Neuhart
e67e35ab3e test(integration): clean up on interrupt and keep failed scenario outputs on demand 2026-11-05 18:38:55 +01:00
Julien Neuhart
0da0c8cdbe test(integration): test variant images against the version they report 2026-11-05 18:38:55 +01:00
Julien Neuhart
8208d68b2d ci(integration): run three scenarios at once instead of one 2026-11-05 18:38:55 +01:00
Julien Neuhart
1aace83084 test(integration): cover the body limit, the request timeout and a full queue 2026-11-05 18:38:55 +01:00
Julien Neuhart
acb7e18bed feat(libreoffice): add --libreoffice-enable-macros 2026-11-05 18:38:55 +01:00
Julien Neuhart
f3f44376fd feat!: remove the deprecated Prometheus module in favor of OpenTelemetry metrics 2026-11-05 18:38:54 +01:00
Julien Neuhart
cc4b671f97 test(integration): assert with litho instead of the integration-tools container 2026-11-05 18:38:54 +01:00
Julien Neuhart
5f1a0a9d56 feat!: remove the PDF engines and the PdfEngine interface in favor of litho 2026-11-05 18:38:54 +01:00
Julien Neuhart
4a4fde3827 feat(pdf): add the litho-backed pdf module with stages and the /forms/pdf routes 2026-11-05 18:38:53 +01:00
Julien Neuhart
5c8cdeab67 refactor!: move the module path to github.com/gotenberg/gotenberg/v9 2026-11-05 18:38:53 +01:00
Julien Neuhart
3123fbccde build(lint): pin golangci-lint v2.15.0 in the Makefile and lint through make in CI 2026-10-28 19:50:41 +01:00
Julien Neuhart
7b604da4f1 fix(chromium)!: isolate each conversion in its own browser context 2026-10-13 18:53:41 +02:00
Antonio Pauletich
c83dbd7baf test(chromium): cover header and footer image deduplication 2026-10-05 13:32:59 +02:00
Julien Neuhart
430ed38cc5 build(makefile): re-enable the embedlit go fix modernizer 2026-09-11 16:13:06 +02:00
Julien Neuhart
34b7b4845e perf(pdfengines): process a request's files concurrently behind an opt-in ceiling 2026-09-08 18:34:51 +02:00
Julien Neuhart
df3bac99ed fix(api): keep upload order when de-duplicating repeated filenames 2026-09-05 11:26:10 +02:00
Julien Neuhart
8f415186d5 fix(api): bound downloadFrom decoding by the entry limit 2026-09-05 10:03:56 +02:00
Julien Neuhart
4de9b0f68b docs(outbound): document the allow-list bypass on every allow-list flag and terminate the example patterns 2026-09-04 19:55:57 +02:00
Julien Neuhart
e29b7cb4f5 build(makefile): fix lint-todo for golangci-lint v2 2026-09-03 19:23:14 +02:00
Julien Neuhart
8a0de7d5d7 build(makefile): disable two go fix modernizers that emit broken code
go fix runs the modernize suite since Go 1.26, and two of its analyzers
rewrite this codebase into code that does not compile, so make fmt broke
the build and then make lint. CONTRIBUTING tells every contributor to run
both before opening a PR.

embedlit folded telemetryCfg.LogLevel into a literal that already set that
key, and errorsastype rewrote errors.As to errors.AsType[HttpError] even
though HttpError does not embed error. Disable both, with a TODO covering
when each can come back.
2026-09-03 19:22:23 +02:00
Julien Neuhart
8944db131c fix(api): bound downloadFrom concurrency and entry count 2026-09-02 14:57:29 +02:00
Julien Neuhart
c0f487e333 feat(api): add OIDC bearer token authentication 2026-08-14 17:04:20 +02:00
Julien Neuhart
1303e0ebc9 refactor(pdfengines): remove qpdf embed fallback (#1628) 2026-08-14 11:07:16 +02:00
Julien Neuhart
cc1341c3cf chore(deps): update pdfcpu to v0.15.0 (#1628) 2026-08-13 20:39:11 +02:00
Julien Neuhart
1ac1d9887e feat(pdfengines): optimize PDF images to reduce file size (#359) 2026-08-13 19:39:09 +02:00
Julien Neuhart
dc61c3631e test(libreoffice): rename the linked-content tag to libreoffice-ssrf 2026-08-13 08:21:35 +02:00
Julien Neuhart
dc7c68152c fix(chromium): filter WebSocket handshakes against the outbound policy 2026-08-13 08:21:35 +02:00
Julien Neuhart
a92a7fedba feat(outbound): support authenticated proxy from environment variables 2026-07-15 20:08:29 +02:00
Julien Neuhart
5558e43821 feat(pdfengines): inject Factur-X/ZUGFeRD XMP metadata 2026-06-05 17:50:01 +02:00
Julien Neuhart
0f5e1b794a chore: expose log-std-level-case in Makefile and Compose 2026-06-04 20:47:55 +02:00
Julien Neuhart
4998870723 feat(libreoffice): SSRF guard for embedded external content 2026-04-30 14:16:59 +02:00
hubert.lenoir
3187980ead feat: add embeds metadata 2026-04-16 17:28:16 +02:00
Julien Neuhart
53e6a0ecf8 Revert "test(integration): increase timeout to 90min"
This reverts commit f1d1215c7c.
2026-04-07 21:11:52 +02:00
Julien Neuhart
3f01ca18d3 fix: better denied list 2026-04-07 21:11:41 +02:00
Julien Neuhart
f1d1215c7c test(integration): increase timeout to 90min 2026-04-07 16:21:56 +02:00
Julien Neuhart
cdf861bcfd fix(Makefile): remove prometheus deprecated flag 2026-03-30 19:08:37 +02:00
Julien Neuhart
9e5b05ad3c feat(Dockerfile): libreoffice and chromium only variants 2026-03-30 18:14:15 +02:00