Commit Graph

55 Commits

Author SHA1 Message Date
monsterlag 550f83855b fix(ffmpeg): preserve cover art when converting to m4b (#679) 2026-10-21 23:32:03 +02:00
Jörg Krzeslak af74294672 test: add djvu converter to main test case 2026-10-17 16:36:38 +02:00
Laertes87 ac5e6e765c Merge pull request #663 from C4illin/ExtendAndImproveUnitTests
test: extend and improve unit tests
2026-10-17 16:25:28 +02:00
al-n aabd0ccb3d feat: add DjVu conversion support (#612)
* feat: add DjVu conversion support

* fix: support DjVu aliases and prioritize converter

* fix: restore DjVu converter priority

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Alex N <alex@alex-n.net>
Co-authored-by: Emrik Östling <emrik.ostling@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-14 21:53:06 +02:00
Jörg Krzeslak c3bae75d9c test: add unit tests after rebase 2026-10-13 08:41:14 +02:00
Jörg Krzeslak 149a1fae1d test: set runtime's timezone to utc 2026-10-13 08:41:14 +02:00
Jörg Krzeslak e6a335bb0f test: apply suggested changes from review 2026-10-13 08:41:14 +02:00
Jörg Krzeslak 1248009e30 test: add tests for pages 2026-10-13 08:41:14 +02:00
Jörg Krzeslak 411ffabd8c test: improve converter tests 2026-10-13 08:41:14 +02:00
Emrik Östling 36cee01dde test: run tests against docker image (#664)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-06 17:45:45 +02:00
Emrik Östling 163b1b58b4 fix: markitdown filestypes and version printing (#657) 2026-09-26 02:20:08 +02:00
Justin Shetty 9d1c093780 fix(auth): redirect unauthorized page requests (#628) 2026-09-11 23:30:26 +02:00
Orban Gergo b9ee1f664e feat(pdftops): added pdftops converter (#611) 2026-09-09 23:48:34 +02:00
JDubb 2ea8e00f1e fix(graphicsmagick): apply EXIF auto-orient so portrait images don't convert sideways (#590) (#637) 2026-09-09 22:34:44 +02:00
JDubb ce8637307c fix(ffmpeg): raise execFile maxBuffer so long conversions don't overflow stderr (#629) 2026-09-03 20:40:28 +02:00
Laertes87 ddd782decc fix: version printing (#606)
Co-authored-by: Emrik Östling <emrik.ostling@gmail.com>
2026-08-19 21:45:07 +02:00
Laertes87 84e954948b test: add unit tests for main and db and improve coverage (#596) 2026-08-07 20:31:44 +02:00
Rayan Salhab 3602f12113 fix(dasel): update converter for v3 CLI (#591) 2026-08-03 21:37:21 +02:00
桌子潔 15e4046c19 fix(results): encode download filenames (#587) 2026-08-03 21:21:08 +02:00
casi3 7157d2398e Apply EXIF orientation when converting images with ImageMagick (#577) 2026-08-03 21:20:35 +02:00
tr3lane dc61643912 fix(libreoffice): don't force MS Word 97 infilter on .wps (#585)
* fix(libreoffice): don't force MS Word 97 infilter on .wps

.wps is Microsoft Works, not MS Word 97/.doc. Forcing that infilter
makes soffice reject a genuine Works document with "source file could
not be loaded", even though the same file converts fine when no
--infilter is passed at all (LibreOffice auto-detects it correctly).

Fixes #582

* test: lock in wps export direction; document why null covers both sides

Per review: the filter map feeds both --infilter and the --convert-to
suffix, so wps: null also affects exporting TO wps. That is deliberate
and behavior-preserving: LibreOffice has no Works export filter (its
MS_Works filter is import-only), and bare `--convert-to wps` falls back
to LibreOffice's default export filter for the extension - "MS Word 97",
the exact filter this map pinned before, so export output is unchanged.
Adds a regression test asserting the docx -> wps invocation.

---------

Co-authored-by: tr3lane <182920672+tr3lane@users.noreply.github.com>
2026-07-29 11:01:02 +02:00
Toni Ros 52af8d5824 PDF to DOCX using LibreOffice, fixes #425 (#510)
* Fix to issue #425

* Fix to Fix error in previous fix, and adapt tests

* Fix to Fix error in previous fix, and adapt tests plus prettier

* Update tests/converters/libreoffice.test.ts

Thanks

Co-authored-by: Emrik Östling <emrik.ostling@gmail.com>

* Update src/converters/libreoffice.ts

Thanks

Co-authored-by: Emrik Östling <emrik.ostling@gmail.com>

* Update src/converters/libreoffice.ts

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: Emrik Östling <emrik.ostling@gmail.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-01-29 17:20:12 +01:00
kunal763 c3f17cc5a7 feat: add VCF to CSV converter (#497) 2026-01-11 16:38:32 +01:00
Jörg Krzeslak 0521af0d52 test: fix code style issue 2025-12-14 02:57:00 +01:00
Jörg Krzeslak 826dc1062a test: add awaits to rejects and resolves 2025-12-14 02:57:00 +01:00
Jörg Krzeslak 84d7da0195 test: add tests for dasel, pandoc and vtracer 2025-12-14 02:57:00 +01:00
Jörg Krzeslak ad000f35ba test: add libreoffice.test.ts 2025-12-14 02:57:00 +01:00
Emrik Östling 3e7e95b53c feature: add download all file by file alongside the tar download (#415) 2025-10-07 21:27:31 +02:00
Jörg Krzeslak d994c38219 test: fix imports after eslint config changes 2025-08-11 15:09:20 +02:00
Jörg Krzeslak c0105889ab test: extract duplicate code into another helper 2025-08-11 13:16:31 +02:00
Jörg Krzeslak c6006b58d2 test: add test case to libjxl.test.ts when input and output are not jxl 2025-08-11 13:16:23 +02:00
Jörg Krzeslak 178f009458 test: extend fail test with different error messages 2025-08-11 13:16:17 +02:00
Jörg Krzeslak 9c24cf4aba test: add test case to ffmpeg.test.ts 2025-08-11 13:16:11 +02:00
Jörg Krzeslak af68498494 test: change order of parameters in ExecFileFn type 2025-08-11 13:16:05 +02:00
Jörg Krzeslak eac22d53d3 test: prettify test for msgconvert.ts 2025-08-11 13:15:59 +02:00
Jörg Krzeslak e5ac60c187 test: add unit test for msgconvert.ts 2025-08-11 13:15:52 +02:00
Jörg Krzeslak 4b42a5fbda test: add test if stderror and stdout get logged if both are present 2025-08-11 13:15:46 +02:00
Jörg Krzeslak 08a833f1cf test: add parameter options to usage of type ExecFileFn 2025-08-11 13:15:39 +02:00
Jörg Krzeslak 6452d0b357 test: add unit test for xelatex.ts 2025-08-11 13:15:23 +02:00
Jörg Krzeslak 9f6b815197 test: add unit test for vips.ts 2025-08-11 13:15:16 +02:00
Jörg Krzeslak d8cbc0aaee test: add unit test for resvg.ts 2025-08-11 13:15:08 +02:00
Jörg Krzeslak b1f70ec36c test: add unit test for potrace.ts 2025-08-11 13:15:02 +02:00
Jörg Krzeslak 311d2516ce test: add unit test for libjxl.ts 2025-08-11 13:14:55 +02:00
Jörg Krzeslak 5957873534 test: add unit test for libheif.ts 2025-08-11 13:14:48 +02:00
Jörg Krzeslak 7524f304fe test: add unit test for inkscape.ts 2025-08-11 13:14:39 +02:00
Jörg Krzeslak f1730ede97 test: add unit test for imagemagick.ts 2025-08-11 13:14:30 +02:00
Jörg Krzeslak 7f9c8868fd test: add unit test for graphicsmagick.ts 2025-08-11 13:14:23 +02:00
Jörg Krzeslak 72b484a480 test: add unit test for ffmpeg.ts 2025-08-11 13:14:14 +02:00
Jörg Krzeslak c47c1dd4f4 test: add unit test for dvisvgm.ts 2025-08-11 13:14:06 +02:00
Jörg Krzeslak 3975c70de7 test: move converters test helper to avoid confusion 2025-08-11 13:13:58 +02:00