Julien Neuhart
83fdc01df1
fix(chromium): accept case-insensitive values for the cookies' sameSite attribute - closes #1331
2025-10-24 14:46:14 +00:00
Julien Neuhart
c7ccabc6cb
fix(chromium): mark the flag --chromium-incognito as deprecated and ignore its value
2025-10-24 14:03:17 +00:00
Julien Neuhart
d6ebc7f230
chore(pdfengines): better custom error message if invalid args
2025-09-04 14:49:04 +02:00
Julien Neuhart
0ad6623e24
fix(pdgengines): encrypt behavior accross different engines
2025-09-04 14:49:04 +02:00
Julien Neuhart
ba944f9dc2
chore: slight improvement of the encrypt feature to be more in line with others features
2025-09-04 14:49:04 +02:00
Stevenson Michel
99307befdd
feat: add PDF encryption feature ( #1217 )
...
* Adding PDF encryption option
* LibreOffice
* QPDF
* PDFtk
* pdfcpu
* Update pkg/modules/pdfengines/pdfengines.go
Co-authored-by: Julien Neuhart <neuhart.julien@gmail.com >
* npx prettier
* go fmt
* PR comments
* Update test/integration/scenario/scenario.go
Co-authored-by: Julien Neuhart <neuhart.julien@gmail.com >
* renamed ProtectWithPassword to encrypt
* more clean up
* Use the same input path as requested
* This commit completes the encryption implementation
* Clean up. Added webhook, disable route and download from tests
---------
Co-authored-by: Julien Neuhart <neuhart.julien@gmail.com >
2025-09-04 14:49:04 +02:00
Julien Neuhart
3dd9ce1fcd
feat(chromium): add MathJaX support
2025-08-29 21:06:20 +02:00
Julien Neuhart
db8f0ad9ee
fix(chromium): hypen-data now work everytime
2025-08-12 20:54:53 +02:00
Julien Neuhart
02ad6c7834
feat(webhook): switch to --webhook-enable-sync-mode flag instead of header
2025-08-09 16:17:27 +02:00
Yash Narwal
fc11f557fa
feat(webhook) add support for sync upload with webhook url ( #1233 )
...
* Add support for having sync upload with webhook url
* Update tests
* Make SendOutputFileParams interface private
* Make interface params private
2025-08-08 09:25:46 +02:00
RJ Sampson
f299f3ed20
fix(chromium): Enable GPU support
...
Chromium 139 is set to deprecate the Swiftshader backend entirely:
https://chromestatus.com/feature/5166674414927872
And 138 doesn't provide fallback without explicitly enabling it,
breaking functionality such as WebGL in Gotenberg
Re-enable GPU support to work around this
Signed-off-by: RJ Sampson <rj.sampson@chainguard.dev >
2025-08-06 10:31:00 +02:00
Julien Neuhart
6ff5109b00
fix(integration): non-working scenarios because of a remote service down
2025-08-03 18:02:35 +02:00
Julien Neuhart
aa58615650
fix(api): outpout filename as path - fixes #1227
2025-06-06 15:14:06 +00:00
Julien Neuhart
f75912033e
feat(chromium): split filenames can be controlled with the Gotenberg-Output-Filename header - closes #1130
2025-05-20 14:14:05 +02:00
Julien Neuhart
1d8630810b
fix(godoc): typo
2025-05-20 11:50:18 +02:00
Julien Neuhart
ce155fb43e
feat(chromium): add generateTaggedPdf to form fields - closes #1210
2025-05-20 11:49:10 +02:00
Julien Neuhart
f13a6c0a3b
Revert "fix(libreoffice): correct values for CreateDate, MetadataDate, and ModifyDate metadata entries - fixes #1193 "
...
This reverts commit e662f5ce0b .
2025-05-18 14:15:22 +02:00
Julien Neuhart
e662f5ce0b
fix(libreoffice): correct values for CreateDate, MetadataDate, and ModifyDate metadata entries - fixes #1193
2025-05-15 10:38:22 +02:00
Julien Neuhart
9aaab97d6a
fix(pdfengines): read metadata better webhook error - fixes #1148
2025-05-15 09:22:52 +02:00
Julien Neuhart
66317197b6
fix: graceful shutdown with asynchronous processes - fixes #1022
2025-05-14 15:27:14 +02:00
Julien Neuhart
be3145aae9
chore(libreoffice): switch to env var for handling non-basic latin characters in filenames
2025-05-13 16:10:14 +02:00
Julien Neuhart
4b30567c39
feat(chromium): close page after conversion
2025-05-12 09:35:10 +02:00
teng
71f1f3dd22
feat(chromium): change sort of wait delay action and wait expression action ( #1186 )
...
eg: scroll screen to load all lazy image.
2025-05-06 10:26:46 +02:00
Julien Neuhart
fabe323e34
fix(chromium): add --no-zygote and --disable-dev-shm-usage flags - fixes #1177
2025-04-17 11:28:17 +02:00
Julien Neuhart
3cbf772acf
docs(godoc): fix a bunch of typos
2025-04-17 11:15:52 +02:00
Julien Neuhart
9701f88ae3
fix(pdfcpu): use custom sort to retrieve the splitted PDFs
2025-04-12 19:40:16 +02:00
stephentgrammer
10588efe25
fix(webhook): content-disposition header ( #1164 )
...
* fix(webhook): pass content-disposition header through and fix spelling of attachment on default
* code review
Co-authored-by: Julien Neuhart <neuhart.julien@gmail.com >
* formatting
---------
Co-authored-by: Julien Neuhart <neuhart.julien@gmail.com >
2025-04-04 03:04:14 +02:00
Julien Neuhart
45f04ae8d4
fix(chromium): printBackground now works as expected and PDF are not tagged anymore - fixes #1154 and fixes #1058
2025-04-02 14:07:15 +02:00
Julien Neuhart
368c4fa1a7
chore(logging): better description for --log-enable-gcp-fields flag [skip ci]
2025-03-28 12:17:18 +01:00
Julien Neuhart
0b7c51a323
chore(deps): update golangci-lint to v2
2025-03-26 20:08:34 +01:00
Julien Neuhart
6c727b7e51
refactor(logging): use log-enable-gcp-fields
2025-03-26 11:37:48 +01:00
Hector Zarate
a9754d6a1c
fix(logging): correctly map GCP structured log keys ( #1159 )
...
* fix: correctly map GCP structured log keys
* Update pkg/modules/logging/logging.go
Co-authored-by: Julien Neuhart <neuhart.julien@gmail.com >
---------
Co-authored-by: Julien Neuhart <neuhart.julien@gmail.com >
2025-03-26 10:28:58 +01:00
Julien Neuhart
0febb60a3f
test: add integration tests
2025-03-21 14:09:34 +01:00
Julien Neuhart
ea6854fadc
docs(godoc): add link to issue 1149 [ci skip]
2025-03-18 08:55:09 +01:00
Julien Neuhart
147e3b1173
docs(godoc): improve the UpdateIndexes godoc
2025-03-17 14:51:24 +01:00
Julien Neuhart
6e2270632e
chore(logging): remove unit tests - integration tests are inc anyway
2025-03-17 13:56:48 +01:00
Julien Neuhart
7d14546d3b
feat(logging): add GCP severity mapping
2025-03-17 13:56:48 +01:00
Julien Neuhart
b31024c362
feat(libreoffice): add updateIndexes form field
2025-03-17 13:32:26 +01:00
Julien Neuhart
904e0f61a8
fix(pdfengines): split and read metadata pdf engines calls
2025-03-04 18:08:57 +01:00
Zdravko
70953aa66e
fix(qpdf): allow warnings ( #1135 )
...
* Optionally allow warnings in QPDF operations
* warnings are not errors by default
* Apply suggestions from code review
Co-authored-by: Julien Neuhart <neuhart.julien@gmail.com >
* fix some merge artifacts
* follow the args convention
---------
Co-authored-by: Julien Neuhart <neuhart.julien@gmail.com >
2025-02-28 10:43:38 +01:00
Julien Neuhart
81cc483166
test: fix issues with go 1.24
2025-02-13 09:21:38 +01:00
Julien Neuhart
80f3f89a89
fix(pdfcpu): correct sorting for the output paths of the split method
2025-02-12 11:47:45 +01:00
Julien Neuhart
08daa86766
test(api): add missing context
2025-02-06 09:07:09 +01:00
Julien Neuhart
f0c1952dfe
ci(lint): fix missing error handling
2025-02-06 08:51:38 +01:00
Julien Neuhart
198d9115cc
chore(deps): switch to github.com/mholt/archives
2025-02-05 17:00:48 +01:00
Julien Neuhart
a1596f7c62
feat(api): add debug route
2025-02-04 10:20:29 +01:00
Julien Neuhart
1d1b4fb04d
feat(pdfengines): add flatten form field to split route
2025-01-28 17:15:14 +01:00
Peter Chakalov
b418f1eb05
feat(pdfengines): add support for flattening annotations ( #1105 )
...
* initial changes
* Add tests
* Fix edge case when we need to regenerate appearances
* Fix comments
* Add missing comment
* Add missing comment
* Add missing comment
* Add flatten option to the merge route
* Add flatten option to the libreoffice convert route
* Add flatten option to the chromium convert route
* Revert "Add flatten option to the chromium convert route"
This reverts commit cdab8b4e6b .
* Ignore lint false positives
* Add missing tests
* Add flatten route tests
* Replace input instead of creating a new file
* create copy before flatten in tests
---------
Co-authored-by: Peter Chakalov <peter.chakalov@abraxa.com >
2025-01-28 14:38:27 +01:00
Julien Neuhart
19c91aff19
feat(api): add root, favicon and version routes to basic auth middleware if enabled
2025-01-17 14:08:01 +01:00
Julien Neuhart
8e0cc7dd2f
fix(typo): root route HTML
2025-01-17 10:00:08 +01:00