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
Julien Neuhart
a7dfa21cbf
fix(pdfengines): correct merge order - fixes #1168
2025-04-12 17:25:39 +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
3dc8c18849
fix(fs): get file by ext sorted by mod time
2025-02-11 17:00:18 +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
71d571a25c
fix(Makefile): wrong arg for --pdfengines-convert-engines
2025-02-03 11:36:05 +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
Khiet Tam Nguyen
6478528ebc
feat(api): add dummy root route pointing to docs ( #1099 )
...
* feat(api): added dummy root route pointing to docs
* test(api): root request test added
* feat(api): added NoContent return for favicon
from @gulien
Co-authored-by: Julien Neuhart <neuhart.julien@gmail.com >
* test(api): added favicon
* lint(api): fix format
* refactor(api): use %s for favicon.ico for consistency with /health
* test(api): added new recorder for each check
* docs(api): consistent comment for favicon
---------
Co-authored-by: Julien Neuhart <neuhart.julien@gmail.com >
2025-01-17 09:58:58 +01:00
Julien Neuhart
a6f4c5651c
feat(chromium): set the default value of the flag --chromium-restart-after to 10
2025-01-11 11:08:19 +01:00
Julien Neuhart
e3a961623b
feat(logging): add new field log_type with access or application as values
2025-01-10 16:58:26 +01:00
Hugo Tacla
1ca27fdba2
fix(pdfengines): wrong variable name ( #1093 )
2025-01-08 19:24:43 +01:00
Julien Neuhart
f72428056a
chore(code): fmt
2025-01-08 17:15:30 +01:00
Hugo Tacla
bdb3f11ac7
fix(typo): medata -> metadata ( #1092 )
...
* Update pdfengines.go
* Update pdfengines_test.go
* Update multi.go
* Update multi_test.go
2025-01-08 17:14:53 +01:00
Julien Neuhart
984cf77ee0
fix(chromium): info log into debug log + slight improvement of the killing of stuck processes
2025-01-02 17:22:13 +01:00
Julien Neuhart
910eb9b770
feat(state): improve clean up when LibreOffice and Chromium are restarted
2024-12-25 17:04:25 +01:00
Julien Neuhart
16807bd57f
fix(split): wrong output paths when converting to PDF/A & PDF/UA
2024-12-23 10:04:24 +01:00