Commit Graph

263 Commits

Author SHA1 Message Date
Jörg Krzeslak 21dbe2338d fix: centralize server URL construction for eden client
Extract server URL into a dedicated serverUrl() helper with explicit
fallbacks for hostname and port. This addresses the review finding that
app.server?.hostname and app.server?.port may be undefined at creation
time (Elysia's Server type is a union that doesn't expose these
directly).

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-26 21:55:13 +01:00
Jörg Krzeslak 538bedfdd2 feat: addressed concerns about type safety and xss possibilities from review 2026-10-26 21:31:01 +01:00
Jörg Krzeslak 4372c13305 feat: migrate from clientside javascript to elysiajs eden
# Conflicts:
#	public/script.js
#	src/index.tsx
2026-10-26 21:30:59 +01:00
ZaSourceCode 710b842e2d fix: keep long auto-delete intervals from overflowing setTimeout (#672)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Emrik Östling <emrik.ostling@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Signed-off-by: YodHeVauHe <mugharold@gmail.com>
2026-10-26 20:21:31 +01:00
Emrik Östling 64cd0130d3 feature: use bun archive instead of tar package (#678)
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-25 19:52:26 +01:00
Emrik Östling 2135c6b9f1 chore: use bun fmt and bun check (#685)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-23 18:23:49 +02:00
Jörg Krzeslak eb5e484042 fix(review): fix issues based on review comments 2026-10-22 19:08:32 +02:00
Jörg Krzeslak f7976fa55d fix(linting): fixed some linting and prettier issues 2026-10-22 18:10:23 +02:00
Jörg Krzeslak e17f29552c fix(pages): fix session preservation on unauthenticated route 2026-10-22 16:56:13 +02:00
Jörg Krzeslak 5cdce6b4b4 fix(converters): fix converter discovery and array sharing bugs 2026-10-22 16:55:41 +02:00
Jörg Krzeslak cc1689a2ef fix(pages): improve request handling, session persistence, and file operations 2026-10-22 13:51:53 +02:00
Jörg Krzeslak a95effbc83 fix(converters): improve CSV header generation and FFMPEG argument parsing 2026-10-22 13:51:27 +02:00
Jörg Krzeslak 285d812f8e fix(converters): resolve reference mutation and discovery priority in main.ts 2026-10-22 13:49:32 +02:00
monsterlag 550f83855b fix(ffmpeg): preserve cover art when converting to m4b (#679) 2026-10-21 23:32:03 +02:00
Emrik Östling 38829ac393 build: use bun build to create binary (#674) 2026-10-16 20:46:57 +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
Emrik Östling 8e2b375204 fix: close db on shutdown (#667) 2026-10-14 21:15:17 +02:00
Justin Shetty 3f69a7acb2 feat(auth): prettier login failure page (#665) 2026-10-06 17:48:47 +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
Orban Gergo 87ba195fd5 fix(ffmpeg): handle embedded cover art in audio conversions (#607) 2026-10-04 21:52:53 +02:00
Emrik Östling 163b1b58b4 fix: markitdown filestypes and version printing (#657) 2026-09-26 02:20:08 +02:00
Orban Gergo aac8dd6439 fix(imagemagick): handle multi-page PDF outputs and improve rasterization quality (#593) 2026-09-22 22:44:28 +02:00
Kanashimo 75feea0d9c feat: add custom branding (#575)
Co-authored-by: Emrik Östling <emrik.ostling@gmail.com>
2026-09-15 20:59:04 +02:00
Emrik Östling 0ca17dad7f Merge commit from fork 2026-09-15 20:57:46 +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
Orban Gergo 5c96086d4e feat(ffmpeg): added m2ts, ts, vob, wmv input types, and mka output (#636) 2026-09-09 18:16:50 +02:00
Justin Shetty e94d037a61 fix(results): hide actions for failed conversions (#625) 2026-09-03 20:41:57 +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
Justin Shetty acee10f8df feat(auth): autofocus login email field (#627) 2026-09-01 11:11:14 +02:00
Orban Gergo 126fd4357d feat(calibre): add azw3 to supported input formats (#610) 2026-08-19 22:01:08 +02:00
Orban Gergo 3f91d518ba feat(soffice): add support for Excel and Calc spreadsheet conversions (#609) 2026-08-19 21:58:02 +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
Emrik Östling 5cf7703dd4 fix: better 404 message in logs (#599) 2026-08-04 22:02:26 +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
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