Commit Graph
972 Commits
Author SHA1 Message Date
ACXandacx10 67269ffe4c fix(audiobook-reader): use preload=none with explicit load() for faster streaming (#2520)
* fix(audiobook-reader): use preload=none with API duration for instant load

* fix(audiobook-reader): debounce seek and limit streaming chunk size to 2MB

* no message

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-29 17:45:10 -07:00
Benjamin Erb 54eb3e0ee0 feat(ui): provide hyperlinks for books as book cards in grid view (#2500)
* feat(ui): provide hyperlinks for books as book cards in grid view

* feat(ui): provide hyperlinks for books as book cards in grid view
2026-01-27 16:28:34 -07:00
Sergio Visinoni be16c7ef3c fix(ui): clean cached properties (#2499)
This fixes the issue with buttons and icons reported in #2472 due to
properties being cached.
2026-01-27 16:27:34 -07:00
ACX 872bf5a3f7 fix(audiobook-reader): use preload=none for immediate streaming playback (#2518) 2026-01-27 16:20:55 -07:00
ACX 74ac2d25d1 fix(additional-file-uploader): add file size validation with UI feedback (#2516) 2026-01-27 11:09:24 -07:00
ACX 2efe452441 refactor: centralize access-denied card styles into shared mixin (#2515)
* refactor: centralize access-denied card styles into shared mixin

* fix: use bracket notation for bookType index signature access
2026-01-27 10:49:57 -07:00
Balázs Szücs df52e9924e fix(book-rule-evaluator): fix file type handling and add mapping for specific formats to fix magic shelve based on filetype (#2480)
* fix(book-rule-evaluator): fix file type handling and add mapping for specific formats to fix magic shelve based on filetype

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* fix(book-rule-evaluator): update test to simplify book creation for group rule evaluation

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

---------

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-27 10:27:19 -07:00
xcashyandACX 496a67a784 fix(series-page): add missing overlay preference service to book card component (#2466)
Co-authored-by: ACX <8075870+acx10@users.noreply.github.com>
2026-01-27 10:24:59 -07:00
ACXandacx10 3f334202b6 Introduce multi-format book support, including audiobooks (#2486)
* fix: support reading alternative book formats using bookType query param

* feat: add streaming reader support for alternative EPUB formats

* refactor: extract tabs section into MetadataTabsComponent

* feat: implement per-file reading progress tracking

* feat: add configurable format priority with cascading fallback

* refactor: redesign library creator with single-page layout

* refactor: unify reading progress into ReadingProgressService

* refactor: improve delete options with clearer file format and book deletion

* refactor: improve book format matching with normalization and fuzzy fallback

* feat: add folder-based audiobook support with ZIP downloads and preparing state

* fix: display unique format types in metadata viewer

* refactor: auto-attach files to single book in folder during rescan

* feat: implement folder-centric book file grouping with fuzzy matching

* refactor: consolidate book grouping with organization mode support

* fix: use folder hash for folder-based audiobooks in auto-attach

* fix: delete only BookFileEntity on file removal, not entire book

* fix: set folderBased flag and correct file size for auto-attached audiobook folders

* fix: use count query to avoid lazy initialization in file delete handler

* fix: preserve book metadata when file is moved by detecting hash match

* fix: skip books with no files in restoration to avoid NPE

* fix: round all progress percentages to one decimal place before sending to UI

* style: improve library creator dialog spacing and layout

* fix: migrate FOLDER_AS_BOOK to BOOK_PER_FOLDER for backwards compatibility

* fix: FileMoveService now handles multi-file BookEntity properly

* style: redesign metadata-picker and file-mover UI components

* style: redesign file-naming-pattern UI and improve theme contrast

* style: relax spacing in library-creator component

* style: tighten directory-picker layout for consistency

* fix: PathPatternResolver now respects folderBased flag for audiobooks

* style: move checkmark column to left side and add pending status in file-mover

* refactor: consolidate BookFileType into BookType and add audiobook styling

* feat: show 'Continue Reading' button for in-progress books

* fix: preserve dots in folder names during grouping and prevent duplicate attachments

* style: reduce gap between download-all button and primary file section

* style: shorten 'Continue Reading' button to 'Read' on mobile

* feat: add DISK_TYPE config to disable file moves on network storage

* style: standardize settings pages with shared styles and consistent spacing

* style: revamp settings pages with modern card-based layouts

* style: revamp OPDS, auth, and task management settings layouts

* fix: update FileMoveService tests to include AppProperties parameter

* fix: derive BookFileType from extension when uploading additional book files

* feat: show format type and size in download button with dropdown for alternatives

* feat: add audiobook streaming player with HTTP Range support

* feat: add M4B chapter extraction and chapter navigation

* feat: add audiobook bookmarks and sleep timer

* refactor: split AudiobookReaderService into focused services

* feat: add Media Session API for background audio playback

* feat: display file extensions in format tags with distinct colors and add audiobook upload support

* feat: require bookFileId for viewer settings API

* fix: show split button for audiobooks with readable alternatives

* feat: improve reading sessions table with book type badges and better formatting

* feat: add audiobook play button in files tab

* feat: use file extension for format display and meaningful tab values

* feat: add extension field to BookFile DTO

* feat: use extension field for book card format pill

* fix: use mixed orientation for format priority drag-drop to support multi-line layout

* feat: add attach book files feature to consolidate single-file books

* fix: increase drag handle size for format priority chips

* fix: add missing BookFileRepository mock to BookServiceDeleteTests

* feat: add delete buttons to files tab and move shelf to other items menu

* feat: add physical books support for cataloging books without digital files

* refactor: redesign icon-picker component with improved styling

* refactor: redesign metadata-picker component with improved layout and alignment

* refactor: move Add Physical Book to top of library menu

* refactor: use p-autoComplete for authors/categories in add-physical-book dialog

* feat: add square cover search and display support for audiobooks

* fix: navigate to first page when opening unread ebooks

* fix: exclude API requests from service worker interception

* feat: support fileless books with automatic file attachment

* fix: bypass service worker for audiobook streaming requests

* refactor: remove alphabetical filter sorting, default to count, limit filters to 100

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-27 10:12:50 -07:00
Balázs Szücs c23e38b5a5 feat(dashboard-settings): update sort field options for Surname, and Personal Rating (#2456)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-24 09:36:07 -07:00
Balázs Szücs a1ff5ee519 feat(themes): add AMOLED theme with distinct light and dark color schemes (#2457)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-24 09:35:32 -07:00
ACX a45a50b383 feat(book-browser): preserve scroll position when navigating back from book details (#2449) 2026-01-23 23:18:07 -07:00
ACX 596bfc5798 fix(book-browser): correct mobile grid card size calculation and reduce gap 2026-01-23 21:59:21 -07:00
ACX d6fa1bd9b8 fix(ui): rename bg.png to topbar.png and fix asset path 2026-01-23 21:27:31 -07:00
ACX 330c31a70a feat(book-browser): add responsive grid columns for mobile view (#2446) 2026-01-23 21:23:15 -07:00
James Ward ffae8dfce3 fix(ui): use local asset for page background (#2445)
this avoids a remote call to github's raw download
so the application is less reliant on public internet
access.  further this prevents unknown failures
when the bg.png is removed or changed in the external repo
2026-01-23 20:56:05 -07:00
ACXandacx10 27c764f0f1 feat(pwa): add offline handling and fallback support (#2444)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-23 20:51:22 -07:00
ACX 8278f47c6a fix(stats): show tooltip for single bubble and allow overflow in author universe chart (#2443) 2026-01-23 19:33:52 -07:00
acx10 b616ef8723 fix: top bar layout issues 2026-01-23 19:19:47 -07:00
ACX 1aea55faea perf: lazy-load accordion content in library metadata settings (#2442) 2026-01-23 19:17:53 -07:00
ACX 308d5bf87d fix(cbx-reader): prevent touch drag on mobile and fix header title overflow (#2441) 2026-01-23 17:48:56 -07:00
ACXandacx10 18419c970f refactor: reduce re-renders and improve filter sidebar performance (#2440)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-23 17:34:33 -07:00
ACXandacx10 28adb75a1a Add clear warning when deleting books that files will be permanently removed (#2438)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-23 12:48:44 -07:00
Giroux Arthur 5d1a295d49 feat(book-uploader): Improved UX of drag&drop when adding books. (#2410)
The current experience was not great when you have several libraries, instead of swallowing the drop it was disabling the drag/drop zone leading to the browser taking over and opening the file.
This changes keeps the drag & drop enabled but just swallows the files and displays an error if no library is selected.
It also improves the UI by making it more clear when a drag event is happening.
2026-01-23 09:39:35 -07:00
ACXandacx10 d1c4836917 Fix H/L keys interfering with search in EPUB reader (#2426)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-23 09:38:16 -07:00
ACXandacx10 8ba0f38cca Hide Page View toggle on mobile portrait since two-page view is unsupported (#2425)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-23 09:35:32 -07:00
acx10 f3e96bc0ee Update frontend dependency versions and lockfile 2026-01-22 23:59:33 -07:00
ACXandacx10 a0870cac86 Remove Tailwind CSS and all remaining references (#2413)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-22 23:41:57 -07:00
ACXandacx10 eb57af85a5 Fix showstopper bugs in v1.18.0 (#2399)
- Fix issue with hardcover toggle not being selectable
- Resolve syncing problem with Booklore toggle
- Address CSS warnings for cleaner styling

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-22 13:27:06 -07:00
WorldTeacherandWorldTeacher d137055b83 fix(reading sessions): Split sessions, re-calculate times in book overview (#2393)
* do not group reading sessions on a per-day basis

* calculate actual duration for reading sessions

---------

Co-authored-by: WorldTeacher <coding_contact@pm.me>
2026-01-22 13:04:17 -07:00
ACXandacx10 b95248e4e5 Fix touch issues with ebook reader (#2395)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-22 09:45:48 -07:00
Balázs Szücs 14fa7b058b feat(metadata): add 'Replace When Provided' option to metadata replacement modes (#2379)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-21 22:40:40 -07:00
dependabot[bot] 270813d93e chore(deps): bump tar from 7.5.2 to 7.5.6 in /booklore-ui (#2387)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.2 to 7.5.6.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.2...v7.5.6)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-21 22:39:28 -07:00
dependabot[bot] 34cee9386a chore(deps): bump lodash-es from 4.17.21 to 4.17.23 in /booklore-ui (#2388)
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.17.23)

---
updated-dependencies:
- dependency-name: lodash-es
  dependency-version: 4.17.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-21 22:39:07 -07:00
ACXandacx10 020bca7feb Introduced additional library charts to surface meaningful insights (#2390)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-21 22:31:53 -07:00
acx10 3afc82e210 Update charts 2026-01-21 09:42:08 -07:00
ACXandacx10 54af081a32 Introduce three new analytical charts: Taste Ratings, Reading Backlog, and Series Progress (#2383)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-21 09:17:41 -07:00
ACXandacx10 8d8759921b Fix: Yes/No buttons on bookdrop import have reversed colors/icons (#2363)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-20 13:55:42 -07:00
ACXandacx10 ab06b0d50f Polish view and metadata settings page UI (#2362)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-20 12:23:45 -07:00
ACXandacx10 4c346cd2ea Optimize metadata picker for mobile layout (#2361)
...

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-20 11:18:28 -07:00
Balázs Szücs 5451bb470a feat(metadata): add replace mode option for metadata fetching (#2356)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-20 09:21:50 -07:00
ACXandacx10 36546061b5 Initialize progress web app (#2351)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-20 09:08:05 -07:00
Balázs Szücs 691845adb8 feat(custom-covers): add functionality to generate custom covers for selected books (#2355)
* feat(custom-covers): add functionality to generate custom covers for selected books

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* feat(book-menu): add option to generate custom covers in metadata menu

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

---------

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-20 08:56:18 -07:00
ACXandacx10 7efb0e138d Implement streaming EPUB reader with on-demand loading (#2350)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-19 18:07:57 -07:00
Balázs Szücs 87cefbffbc chore(metadata-warning): add warnings about metadata quality for file naming and moving features (#2340)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-19 08:49:58 -07:00
69c3c88375 Feat/komga api (#2071)
* Implement Komga API endpoints with OPDS authentication

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* Add database migration and documentation for Komga API

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* Address code review comments - improve performance and maintainability

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* chore: update with main develop

* chore: log cleanup

* chore: fixed switch with missing types

* chore: missing case

* Merge pull request #4 from farfromrefug/copilot/fix-500-error-on-books-api

Fix NPE in Komga books API when pageCount is null and add unpaged parameter

* Add collections endpoint and page download with PNG conversion support

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* Address code review feedback for better resource management and error messages

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* Fix convert parameter to match specification (convert=png)

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* chore: renamed migration

* chore: migration

* chore: migration fix

* chore: should work now

* chore: settings

* chore: working with mihon

* Initial plan

* Add clean query parameter for Komga API endpoints

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* Address code review comments - remove unused imports and add @Primary annotation

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* Add demo test to illustrate clean mode effectiveness

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* Support both ?clean and ?clean=true syntax

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* Filter out empty arrays in clean mode

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* chore: missing field

* chore: missing field

* chore: fix error with missing number

* fix: added groupUnknown API parameters to sort by "Unknown Series" (true by default)

* Initial plan

* Convert groupUnknown from query parameter to Booklore setting

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* Remove unused groupUnknown variables from service and mapper

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* chore: fix seriesTitle in ungrouped unknowns

* Initial plan

* Optimize Komga API performance for series listing

- Optimize getAllSeries to only convert series on current page to DTOs
- Optimize getBooksBySeries to fetch books only once (not twice)
- Add database query methods for future optimizations
- Update tests to work with new optimizations
- All existing tests pass

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* Clean up unused database query methods in BookRepository

Remove unused optimization queries that don't align with application-level series grouping logic

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* Optimize getAllSeries to query distinct series names from database

- Add database queries to fetch distinct series names directly (no need to load all books)
- Add queries to fetch books only for specific series (when building DTOs)
- Support both groupUnknown=true and groupUnknown=false modes
- Add test to verify optimization works and books aren't loaded unnecessarily
- Performance improvement: For 1000+ books grouped into 100+ series, now only queries series names (~100 rows) instead of loading all books (~1000+ rows), then loads books only for the current page (~20-50 books per series on page)

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* chore: migration fix from merge

* chore: address comments

* fix: handle getBookPage for PDF/CBX

* chore: rename migration

* chore: komga specific series queries fix

* chore: komga tests fix

* chore: front end komga tests

---------

Co-authored-by: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com>
Co-authored-by: ACX <8075870+acx10@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-01-19 08:44:53 -07:00
arjunsrinivasan1997andACX 4253322d2c feat(ui): add password confirmations (#2291)
* feat(ui): add password confirmation to setup screen

* feat(ui): add password confirmation to create user dialog

* fix(tests): force frontend tests to use jsdom, and run tests in isolated environment. Also add debug statements to further diagnose failing test if needed

---------

Co-authored-by: ACX <8075870+acx10@users.noreply.github.com>
2026-01-19 08:41:42 -07:00
Balázs Szücs dfd757fe36 fix(metadata-viewer): update file type handling to filter comic book formats as CBX (#2338)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-19 08:24:04 -07:00
acx10 ca8ace3759 Add global and per-book settings for the streaming PDF reader 2026-01-18 23:30:40 -07:00
ACXandacx10 a39043c2a0 Revamp streaming PDF reader to render pages on demand (#2332)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-18 22:38:19 -07:00