1702 Commits

Author SHA1 Message Date
Julien Neuhart
9efc55715f fix(api): answer 400 naming the host when a webhook, downloadFrom or Chromium URL does not resolve 2026-11-05 18:38:56 +01:00
Julien Neuhart
5c86fce615 fix(pdf): reject decrypt with sign or timestamp before running the stages 2026-11-05 18:38:56 +01:00
Julien Neuhart
bd255444c8 fix(pdf): reject a second sign or timestamp stage, which would replace the first 2026-11-05 18:38:56 +01:00
Julien Neuhart
fb72a8899d fix(pdf): answer 400 naming the form fields a PDF has when set-form names one it lacks 2026-11-05 18:38:56 +01:00
Julien Neuhart
90a312f81c build(docker): install lok v0.0.3 so a watermark rotation of 0 draws horizontal text 2026-11-05 18:38:56 +01:00
Julien Neuhart
5209f60d06 test(webhook): expect the module stopped log records of a graceful shutdown 2026-11-05 18:38:56 +01:00
Julien Neuhart
8177da3b34 fix(pdf): leave litho's pipeline and mutation prefixes out of stage failure messages 2026-11-05 18:38:56 +01:00
Julien Neuhart
e17a021638 fix(pdf): rewrite the document whole on optimize so its compaction passes run, refusing what a rewrite would drop 2026-11-05 18:38:56 +01:00
Julien Neuhart
fd8aa640c1 fix(chromium): answer 503 naming the wait field and value when a wait outlasts the request 2026-11-05 18:38:56 +01:00
Julien Neuhart
cad2fcb270 fix(api): answer 400 for form fields a route does not read, pointing Gotenberg 8 ones to their replacement 2026-11-05 18:38:56 +01:00
Julien Neuhart
cd42135ef8 fix(bruno): resolve file paths from the collection root and send requests the API accepts 2026-11-05 18:38:56 +01:00
Julien Neuhart
e485c3bc28 fix(pdf): answer 400 when detach names a file the PDF does not embed 2026-11-05 18:38:56 +01:00
Julien Neuhart
1d6782c1be fix(pdf): name the stage option and the value it wants instead of Go types in stage JSON errors 2026-11-05 18:38:56 +01:00
Julien Neuhart
63f86db17a fix(api): word invalid form fields as the value sent and what the field wants 2026-11-05 18:38:56 +01:00
Julien Neuhart
3d3da61957 fix(pdf): check the stage order in three passes so each rule reports its own message 2026-11-05 18:38:56 +01:00
Julien Neuhart
2803340a6f fix(chromium): wait for Chromium's networkAlmostIdle lifecycle event when skipNetworkAlmostIdleEvent is false 2026-11-05 18:38:56 +01:00
Julien Neuhart
4585939110 fix(chromium): name a failing status without a trailing colon when its reason phrase is empty 2026-11-05 18:38:56 +01:00
Julien Neuhart
6a779a0008 fix(chromium): tell the main page by its frame for failOnHttpStatusCodes, not by its URL 2026-11-05 18:38:56 +01:00
Julien Neuhart
13db9f91a2 fix(pdf): draw and redact non-embedded fonts with the system's fonts 2026-11-05 18:38:56 +01:00
Julien Neuhart
794ecd55e4 fix(pdf): answer the set-metadata option names on /forms/pdf/metadata 2026-11-05 18:38:56 +01:00
Julien Neuhart
393d198755 fix(pdf): answer an empty object for a PDF without metadata on /forms/pdf/metadata 2026-11-05 18:38:56 +01:00
Julien Neuhart
65b9ffcfce fix(libreoffice): send the watermark rotation only when set and reject a plain and a tiled watermark together 2026-11-05 18:38:56 +01:00
Julien Neuhart
8d2dd825c6 fix(libreoffice): limit pageLayout to the layouts LibreOffice writes and drop firstPageOnLeft 2026-11-05 18:38:56 +01:00
Julien Neuhart
2307cf20fe chore(bruno): give the Render request its own sequence number in the Pages folder 2026-11-05 18:38:56 +01:00
Julien Neuhart
a3351f399a chore(bruno): move the Render request to the Pages folder, as it returns images, not JSON 2026-11-05 18:38:56 +01:00
Julien Neuhart
ec232d339f chore(bruno): add the skipNetworkAlmostIdleEvent field to the Chromium requests 2026-11-05 18:38:55 +01:00
Julien Neuhart
037c2d059f build(docker): install lok v0.0.2 from its release instead of building a pinned commit 2026-11-05 18:38:55 +01:00
Julien Neuhart
2c0c343c6e chore(deps): bump github.com/gotenberg/litho to v0.0.2 2026-11-05 18:38:55 +01:00
Julien Neuhart
4094c763bc fix(log): color the level of terminal text logs without the handler escaping it 2026-11-05 18:38:55 +01:00
Julien Neuhart
dbd386edf0 feat(gotenberg): replace the banner with an aligned startup summary, logged as one record outside a terminal 2026-11-05 18:38:55 +01:00
Julien Neuhart
65230376bc refactor!: rename nativePageRanges to nativePages, after its litho twin 2026-11-05 18:38:55 +01:00
Julien Neuhart
3a32690f43 refactor(chromium)!: take a screenshot quality from 1 to 100, as render does 2026-11-05 18:38:55 +01:00
Julien Neuhart
53ad0c729e refactor(libreoffice)!: take the values and names the pdf stages take for watermarks, PDF/UA and viewer preferences 2026-11-05 18:38:55 +01:00
Julien Neuhart
50673e2a55 refactor!: align the names of the split, stamp-pdf, sign, timestamp and Chromium wait options 2026-11-05 18:38:55 +01:00
Julien Neuhart
be336474a9 test(integration): fail the run on undefined steps 2026-11-05 18:38:55 +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
26fcab3284 feat(pdf): aggressive remediation, remediation outcome headers and Factur-X repair 2026-11-05 18:38:55 +01:00
Julien Neuhart
feef4c2072 fix(pdf): keep the clause and severity of Factur-X violations 2026-11-05 18:38:55 +01:00
Julien Neuhart
1749161418 feat(api): send the headers a route sets with the output 2026-11-05 18:38:55 +01:00
Julien Neuhart
3d7f260cc2 feat(telemetry): select propagators with OTEL_PROPAGATORS 2026-11-05 18:38:55 +01:00
Julien Neuhart
7e0bb41232 feat(pdf): trace each written document and each stage 2026-11-05 18:38:55 +01:00
Julien Neuhart
a052f017b3 docs: document every exported identifier and enforce it with godoclint 2026-11-05 18:38:55 +01:00
Julien Neuhart
3d62c3ec80 test(integration): reuse default containers across scenarios, one scenario at a time 2026-11-05 18:38:55 +01:00
Julien Neuhart
1f26082016 ci: test the Chromium and LibreOffice variant images 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
6e727d4ddd ci: run the integration tests on every push to main, without pushing images 2026-11-05 18:38:55 +01:00
Julien Neuhart
0d86bb1037 test(integration): timestamp documents against a local timestamp authority 2026-11-05 18:38:55 +01:00
Julien Neuhart
1ce3e5ca15 test(integration): fill a form field with set-form 2026-11-05 18:38:55 +01:00