Julien Neuhart
57e1b7efda
chore(golangci-lint): bump golangci-lint to v2.10.1
2026-02-21 17:54:46 +01:00
Julien Neuhart
2baa59cb3a
refactor(gofix): modernize
2026-02-20 21:21:19 +01:00
Tom Brouws
12c25a2d21
feat(chromium): re-add concurrency support for Chromium ( #1467 )
...
* feat: add concurrency support to ProcessSupervisor
- Replace the single-slot mutex channel with a configurable semaphore to
allow multiple concurrent tasks.
- Add drain logic to ensure all active
tasks complete before process restarts.
* feat: add chromium-max-concurrency flag
- Add a --chromium-max-concurrency flag (1-6) to the Chromium module to
control how many conversions run in parallel.
- Update LibreOffice to pass maxConcurrency=1 as LibreOffice only supports
a single concurrent conversion.
* test: add integration tests for concurrent Chromium conversions
- Add concurrent request support to the integration test framework with
new step definitions for sending parallel requests and asserting on all
responses.
- Add a feature file for concurrent HTML to PDF conversions.
2026-02-13 10:00:58 +01:00
Julien Neuhart
f9ad8bd2d5
test(integration): add more tags, complete embed feature tests suite, fix order with metadata
2025-11-13 22:08:28 +01:00
Hubert Lenoir
a0ee800002
feat(pdfengines): add embed feature
2025-11-05 13:57:23 +01: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
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
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
3cbf772acf
docs(godoc): fix a bunch of typos
2025-04-17 11:15:52 +02: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
b31024c362
feat(libreoffice): add updateIndexes form field
2025-03-17 13:32:26 +01:00
Julien Neuhart
81cc483166
test: fix issues with go 1.24
2025-02-13 09:21:38 +01:00
Julien Neuhart
a1596f7c62
feat(api): add debug route
2025-02-04 10:20:29 +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
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
Julien Neuhart
c30da805b3
feat(pdfengines): add split feature
2024-12-20 16:16:32 +01:00
Julien Neuhart
42ee593708
chore(pdfengines): add stubs for common workflows
2024-11-25 09:28:42 +01:00
Julien Neuhart
333ab7066c
chore(libreoffice): remove non-relevant comment about old gc module
2024-11-19 14:25:07 +01:00
Julien Neuhart
10a290b065
chore(libreoffice): improve HTTP error messages
2024-09-29 13:19:44 +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
c9f10d248e
fix(libreoffice): use default options in PDF engines method - resolves #939
2024-08-11 14:53:05 +02:00
Julien Neuhart
4e1b347797
feat(libreoffice): retry on core dumped ( #930 )
2024-07-23 14:21:09 +02:00
Julien Neuhart
d90e431b5b
fix(libreoffice): add PDFUACompliance arg
2024-07-11 15:14:50 +02:00
Julien Neuhart
0c40b230dc
chore(libreoffice): fix wrong comment on quality option
2024-07-03 10:35:23 +02:00
Julien Neuhart
84dc57373a
feat(libreoffice): add many more options for conversions
2024-06-30 21:34:57 +02:00
maniack
d6fe895f6e
feat(libreoffice): add exportNotesInMargin form field ( #904 )
...
* ExportNotesInMargin allows to export comments in margin
https://help.libreoffice.org/latest/en-US/text/shared/guide/pdf_params.html
* Resolve requested changes
Move ExportNotesInMargin above LosslessImageCompression
Remove overhead ExportNotes=true
2024-06-17 08:31:42 +02:00
Julien Neuhart
697fa08d8b
chore(godoc): add breaklines
2024-06-13 11:14:24 +02:00
garethjudson
669a35afef
feat(libreoffice): add image options ( #898 )
...
* feat: libre office image options
* refactor: PR comment changes
* fix: change lossLessImageCompression default to false
---------
Co-authored-by: Gareth Judson <gareth.judson@delwp.vic.gov.au >
2024-06-13 10:28:36 +02:00
Martin
43a13ff2c5
feat(libreoffice): add singlePageSheets option
2024-03-25 15:46:48 +01:00
Julien Neuhart
0a8625227f
feat(exiftool): refactor read write metadata
2024-03-23 16:47:28 +01:00
Julien Neuhart
2008ac5663
chore: improve the godoc of all PDF engine packages
2024-03-23 16:47:28 +01:00
Piyush Srivastava
71911cb1a7
feat(ExifTool): add capability to overwrite metadata of the PDF generated ( #776 )
...
* add new metadata functions to pdf engine interface
* add exiftool module with relevant test cases
* use exiftool to overwrite metadata in libreoffice
* use exiftool to overwrite metadata in chromium
* fix linter issues
* fix more linter issues
* more test cases for better coverage
* remove utils
* minor changes
* remove metadata from pdfoptions
* correct indentation
* read/write metadata one file at a time.
2024-03-23 16:47:28 +01:00
Julien Neuhart
31e7582216
feat(libreoffice): improve ExportFormFields godoc
2024-03-22 15:50:34 +01:00
Martin
91f63047e0
feat(libreoffice): add exportFormFields option
2024-03-22 15:50:34 +01:00
Andrea
c9aa4938f4
feat(libreoffice): add more extensions according to online docs ( #841 )
...
* #840 : added more extensions according to online docs @ libreoffice
* #840 : align test
---------
Co-authored-by: Andrea Esposito <a.esposito@hyperborea.com >
2024-03-19 15:46:36 +01:00
Julien Neuhart
5ad90ccdb8
fix: file rename now correctly works for zip archive
2024-03-15 16:12:18 +01:00
Julien Neuhart
ef97d81ca8
fix(libreoffice): wrong number of file extensions
2024-03-15 11:37:34 +01:00
Julien Neuhart
d6c857f4a8
chore(libreoffice): disable PDF tagging by default - for consistency with Chromium
2024-03-15 11:11:51 +01:00
Julien Neuhart
804fcff5b6
fix(chromium): remove tagged PDF by default
2024-03-04 10:28:54 +01:00
Julien Neuhart
d18e6920fc
chore(libreoffice): order ext list alphabetically
2024-03-04 10:09:42 +01:00
eMerzh
c95174ff11
feat(libreoffice): add macOS *.key support
2024-02-26 16:47:52 +01:00
Julien Neuhart
34f69263a2
feat(libreoffice): explicity set tagged PDF as default
2024-02-24 13:45:01 +01:00
Julien Neuhart
c47f5b06ba
feat(libreoffice): add macOS *.pages support
2024-02-23 18:16:42 +01:00
Julien Neuhart
366eebb68c
chore: using error middleware to handle common errors and lighten codebase
2024-02-23 14:52:43 +01:00
Julien Neuhart
376a7db545
feat(pdfengines): preserve filenames in convert route
2024-02-18 18:17:12 +01:00