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
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
Julien Neuhart
94c831cd05
fix(integration): failing scenarios
2025-08-03 18:49:14 +02:00
Julien Neuhart
53b4c70e4b
chore: prettify
2025-08-03 18:19:43 +02:00
Julien Neuhart
6ff5109b00
fix(integration): non-working scenarios because of a remote service down
2025-08-03 18:02:35 +02:00
Andrea
3a71032d62
tests(integration): use same targeted platform for integration-tools image ( #1275 )
...
* Use same targeted platform integration-tools image @ integration tests
* run make fmt
2025-07-16 11:30:41 +02:00
Julien Neuhart
aa58615650
fix(api): outpout filename as path - fixes #1227
2025-06-06 15:14:06 +00:00
Julien Neuhart
b0a84bcbf7
chore(integration): prettify
2025-06-02 11:45:44 +02:00
Julien Neuhart
cf2d413a28
test(integration): comment scenario that is not happening anymore on amd architectures
2025-06-02 11:27:25 +02: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
ce155fb43e
feat(chromium): add generateTaggedPdf to form fields - closes #1210
2025-05-20 11:49:10 +02:00
Julien Neuhart
e1870429b9
Revert "test(integration): fix rules failed toleration"
...
This reverts commit de1b887d29 .
2025-05-18 14:15:12 +02:00
Julien Neuhart
de1b887d29
test(integration): fix rules failed toleration
2025-05-15 14:23:31 +02:00
Julien Neuhart
790b69a32e
test(integration): fix typo
2025-05-15 10:16:57 +02:00
Julien Neuhart
9aaab97d6a
fix(pdfengines): read metadata better webhook error - fixes #1148
2025-05-15 09:22:52 +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
02c4343dfd
fix(test): missing env var for debug
2025-04-10 16:28:15 +02:00
Hector Zarate
1bfe86738f
feat(debug): only build debug data when flag is true ( #1167 )
...
* only build debug info when log level is debug
* introduce new flag 'gotenberg-build-debug-data'
* add gotenberg-build-debug-data flag to Makefile
* add new integration test for gotenberg-build-debug-data flag
* update GET /debug (Enabled) test with gotenberg-build-debug-data flag
* reorder GOTENBERG_BUILD_DEBUG_DATA in Makefile
* reorder Build Debug Data Disabled test scenario
---------
Co-authored-by: Hector Zarate <hector@Hectors-MacBook-Pro.local >
2025-04-10 13:30:24 +02:00
Julien Neuhart
7fe0e05050
test(webhook): add integration testing for the webhook feature - testing the custom Content-Disposition header from #1165
2025-04-08 18:51:51 +02:00
Julien Neuhart
218052d5dd
chore(tests): fix typo [skip ci]
2025-03-22 18:05:47 +01:00
Julien Neuhart
33f9f1ddf4
docs(test): add TODOs [ci skip]
2025-03-21 14:14:00 +01:00
Julien Neuhart
2131de77b0
ci(test): no concurrency
2025-03-21 14:09:34 +01:00
Julien Neuhart
0febb60a3f
test: add integration tests
2025-03-21 14:09:34 +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
80f3f89a89
fix(pdfcpu): correct sorting for the output paths of the split method
2025-02-12 11:47:45 +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
ecb5d974c5
chore(Dockerfile): add apt-get upgrade -yqq
2025-01-17 15:24:37 +01:00
Julien Neuhart
711b43070d
feat(chromium): add failOnResourceLoadingFailed and failOnResourceHttpStatusCodes form fields
2024-11-05 11:44:01 +01:00
Julien Neuhart
e371a4a3c3
fix: add DOCKER_REGISTRY for tests image
2024-09-20 21:06:11 +02:00
Julien Neuhart
b06d7445d9
feat(libreoffice): add password form field for converting protected document
2024-09-20 20:36:45 +02:00
Julien Neuhart
4602332dbb
chore(Dockerfile): remove legacy alerts
2024-07-19 15:16:30 +02:00
Jonas Geiler
20b8991fa4
feat(api): added tls/ssl support
2024-05-27 14:11:37 +02:00
Julien Neuhart
b9e6a38037
fix(tests): test script now returns the correct exit code
2024-03-19 14:23:34 +01:00
Julien Neuhart
a7ba8c8213
chore(testdata): add more data
2024-02-18 13:13:01 +01:00
Julien Neuhart
ed82170c2c
chore(testdata): switch to px instead of rem in header.html & footer.html
2024-02-11 11:38:56 +01:00
Julien Neuhart
017872c5ef
chore: improving scripts and add thecodingmachine to edge release
2023-10-29 11:43:47 +01:00
Julien Neuhart
052448c59a
chore(libreoffice): switch to supervisor ( #708 )
2023-10-28 17:55:53 +02:00
Julien Neuhart
54daac329e
fix: chromium memory leaks ( #705 )
2023-10-23 17:52:30 +02:00
Julien Neuhart
258876d13f
fix: LibreOffice newer versions stability ( #697 )
2023-10-23 17:05:10 +02:00
Julien Neuhart
f5ce319c24
feat: improve Dockerfiles for a better DX
2023-07-19 09:50:43 +02:00
Julien Neuhart
875f97813e
fix: tests
2023-01-13 10:21:36 +01:00
Julien Neuhart
159c0b3350
fix: Golang Docker image for tests version
2022-08-19 14:52:36 +02:00
Julien Neuhart
0512dd1e86
fix(tests): add -buildvcs=false as a temporary fix for go 1.18 bug (see https://github.com/golang/go/issues/51723 )
2022-03-21 17:13:35 +01:00
Julien Neuhart
84875aaf82
fix(chromium): remove local files from extra ling tags & extra script tags ( closes #418 )
2022-02-08 19:45:10 +01:00
Julien Neuhart
24817d5707
feat: add more PDF formats, drastically improve LibreOffice long-running instance management
2022-02-08 11:33:55 +01:00
Julien Neuhart
415e2ff265
feat(chromium): add 'extraLinkTags' and 'extraScriptTags' form fields, add auto-detection of files for URL endpoint, disable some functionalities if JavaScript is disabled
2021-11-24 17:33:55 +01:00
Julien Neuhart
df98e7512b
feat(chromium): add new form field 'failOnConsoleExceptions' ( fixes #262 )
2021-11-24 17:33:55 +01:00
Julien Neuhart
ee0debe14a
feat(chromium): add --chromium-disable-javascript property ( fixes #175 )
2021-11-24 17:33:55 +01:00