Commit Graph

223 Commits

Author SHA1 Message Date
Emrik Östling
e125326720 Merge commit from fork
Co-authored-by: Ayushi Rathore <ayushirathore@Ayushis-MacBook-Air.local>
2026-06-21 21:04:29 +02:00
Fluxmux
0965928949 security: fix path traversal vulnerability in conversion API (#532) 2026-04-27 21:43:47 +02:00
Dante Barbieri
1ba82cf1b2 fix(assimp): pass -f<format> so non-extension targets work (#557)
* fix(assimp): pass -f<format> so non-extension targets work

The assimp converter invokes `assimp export <in> <out>` and relies on
assimp's extension-based format inference to pick the output format.
That works for targets whose id happens to match a real file extension
(glb, gltf, obj, stl, ply, etc.) but silently fails for every target
whose assimp id is not a conventional filename extension:

  glb2, gltf2, objnomtl, stlb, plyb, fbxa, assbin, assxml, pbrt, assjson

Picking any of those in the UI aborts the job with:

  assimp export: no output format specified and I failed to guess it

assimp_cmd's `-f<h>` flag overrides extension inference, and the values
in `properties.to.object` already correspond 1:1 to assimp's format ids
(verified against `assimp listexport`). Passing `-f${convertTo}` makes
every advertised target work without changing anything else.

Reproduction: upload any .stl, convert to glb2. Before: ENOENT on the
nonexistent output file. After: valid binary glTF 2.0.

* fix(assimp): write real file extensions for non-extension format ids

Follow-up to the previous commit. With `-f<format>` now passed to
assimp, every advertised target exports successfully — but seven of
them still produce files with assimp's internal format id as the
extension, which no third-party viewer recognises:

  glb2 → .glb2   (really binary glTF 2.0, should be .glb)
  gltf2 → .gltf2 (text glTF 2.0, should be .gltf)
  objnomtl → .objnomtl   (OBJ without .mtl, should be .obj)
  stlb → .stlb   (binary STL, should be .stl)
  plyb → .plyb   (binary PLY, should be .ply)
  fbxa → .fbxa   (ASCII FBX, should be .fbx)
  assjson → .assjson   (JSON dump, should be .json)

Map these in `normalizeOutputFiletype`, the same helper that already
handles jpeg→jpg, latex→tex, markdown→md. The format id on `convertTo`
is untouched, so `assimp -f<id>` still selects the correct
encoding/variant — only the output filename changes.

assbin, assxml, and pbrt are both the format id and the canonical
extension, so they need no mapping.

* style(assimp): fix prettier formatting
2026-04-22 22:28:52 +02:00
Giulio Librando
d291f049b8 fix: allow dynamic server port via environment variable (#530) 2026-02-11 18:06:23 +01: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
renovate[bot]
18f2aa8562 chore(deps): update dependency eslint-plugin-better-tailwindcss to v4 (#506)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Emrik Östling <emrik.ostling@gmail.com>
2026-01-26 19:44:19 +01:00
Emrik Östling
7a936bdc04 Merge commit from fork 2026-01-13 20:34:21 +01:00
kunal763
c3f17cc5a7 feat: add VCF to CSV converter (#497) 2026-01-11 16:38:32 +01:00
Sahil sharma
f2a92aaf39 feat: markitdown implementation (#486)
* feat: markitdown implementation

* fix: code review and docker file:

* fix: add markitdown PATH in container

* fix: feedback changes

* en: readme changed
2025-12-27 12:59:17 +05:30
Namit
8af8e59b4f feat: bulk job deletion with multi-select UI (#481)
Closes #445
2025-12-27 00:24:39 +01:00
lif
9ac5e7569b Fix timezone display in history page (#479) 2025-12-23 02:29:34 +01:00
Geek Squirrel
5d70df424e add .wma file as input (#485) 2025-12-23 02:11:07 +01:00
Emrik Östling
4598745956 Potential fix for code scanning alert no. 6: Unnecessary use of cat process (#473)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-14 20:32:56 +01:00
Emrik Östling
df3330fdc2 fix: add FFMPEG_OUTPUT_ARGS (#470) 2025-12-14 14:12:21 +01:00
Emrik Östling
12a5580694 fix: ffmpeg args (#469) 2025-12-14 13:43:20 +01:00
Emrik Östling
5268838975 chore: fix format 2025-12-01 22:31:10 +01:00
Emrik Östling
550f472451 Merge commit from fork 2025-12-01 22:26:56 +01:00
Emrik Östling
74ebf5e4dc fix: getPossibleTargets select correct targets (#441) 2025-11-23 19:56:57 +01:00
Emrik Östling
64264a41d9 feat: add delete button in history (#440) 2025-11-16 00:34:49 +01:00
Emrik Östling
53c1a54df5 workaround for #435 (#438) 2025-11-14 19:28:40 +01:00
Rdeisenroth
b5c20778f9 fix: ensure data dir exists before loading db (#433)
* fix: ensure data dir exists before loading db

* Update src/db/db.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-07 09:26:19 +01:00
Emrik Östling
80b55657a4 feat: add healthcheck endpoint (#431) 2025-11-02 13:58:57 +01:00
Param Siddharth
4d65cc7228 feat: add button and API endpoint to delete job (#423) 2025-10-29 20:35:43 +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
C4illin
7691594b10 chore: fix formatting 2025-10-05 14:54:19 +00:00
C4illin
17325a6e6d chore: fix lint 2025-10-05 14:19:13 +00:00
C4illin
d984891791 chore: add devcontainer 2025-10-05 13:57:54 +00:00
C4illin
126e60fec7 chore: remove gif from vips 2025-10-05 14:48:57 +02:00
C4illin
c9b65c7652 chore: use auth macro instead of checking it on every path 2025-10-02 17:29:58 +02:00
Ben Burwood
1cc4862d51 Change require to import for FS and Remove Test 2025-09-09 18:54:29 +01:00
Ben Burwood
c6b64ced91 Formatting 2025-09-09 09:17:39 +01:00
Ben Burwood
c3e4f676fc Add Dasel Converter 2025-09-09 00:26:40 +01:00
Ben Burwood
e668b828ea Add Dasel VersionCheck 2025-09-09 00:18:26 +01:00
C4illin
9696cc7188 chore: format files 2025-08-13 20:51:41 +02:00
Sahil
43524dcdb1 Refactor and fix: clean up dockerfile and format done with fix in types 2025-08-13 18:26:17 +05:30
Sahil
45a0540edf vtracer: bug fix in vtracer.ts file and code refactor 2025-08-13 17:55:45 +05:30
Sahil
76c840dbaa feat: vtracer implemented and added docker file binaries install 2025-08-12 22:26:39 +05:30
Sahil
e78de6f6de vtracer implementation in converter directory 2025-08-12 20:53:23 +05:30
Jörg Krzeslak
d994c38219 test: fix imports after eslint config changes 2025-08-11 15:09:20 +02:00
Emrik Östling
c3d461f102 Merge branch 'main' into AddUnitTests 2025-08-11 14:10:42 +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
e5ac60c187 test: add unit test for msgconvert.ts 2025-08-11 13:15:52 +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
c0f0dc5192 test: add optional options parameter to ExecFileFn type 2025-08-11 13:15:33 +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