fix(api): Use fixed-layout epub format in Kobo sync when necessary (Booklore PR Port) (#16)

* fix(api): Correct format for fixed-layout epub when using Kobo Sync

* chore: Cleanup duplicate code

* feat: Cache fixed-layout property in db

* fix: Missing nullcheck in after retrieving BookFileEntity

* fix: Remove memory leak in EpubReaderService.java

* chore: Avoid opening the epub twice for fixed-layout extraction

* chore: Fix DB migration from rebase

---------

Co-authored-by: brios <127139797+balazs-szucs@users.noreply.github.com>
This commit is contained in:
Yussur Mustafa Oraji
2026-04-22 17:26:30 -04:00
committed by Zach Yale
co-authored by brios
parent 5f1d34d716
commit dc1fa74af7
8 changed files with 277 additions and 299 deletions
@@ -0,0 +1,2 @@
ALTER TABLE book_file
ADD COLUMN IF NOT EXISTS is_fixed_layout BOOLEAN NOT NULL DEFAULT FALSE;