Commit Graph
653 Commits
Author SHA1 Message Date
Ruben GM b8f5edeb95 partially read series: add number of books read from total (#1168) 2025-09-19 12:17:00 -06:00
Aditya Chandel 03fd812bbc Fix Bookdrop file processing due to duplicate inotify events (#1169)
* Filter "Continue Reading" to only show READING, RE_READING, or PAUSED books

* Fix Bookdrop file processing due to duplicate inotify events
2025-09-16 09:41:30 -06:00
Aditya Chandel 79861a863d Filter "Continue Reading" to only show READING, RE_READING, or PAUSED books (#1167) 2025-09-15 20:07:37 -06:00
Aditya Chandel 02e47ff98b Optimize topbar search for better performance (#1161) 2025-09-15 11:29:07 -06:00
Aditya Chandel 1df21551f6 Rollback background blur and transparency due to high CPU/GPU usage (#1160) 2025-09-15 11:03:34 -06:00
aditya.chandel 23b92a747e Minor layout adjustments 2025-09-13 22:28:34 -06:00
aditya.chandel cf383f2ac6 Minor layout adjustments 2025-09-13 22:25:23 -06:00
Aditya Chandel 2712a8b40c Add note specifying the maximum file size allowed for the background image (#1150) 2025-09-13 22:13:01 -06:00
Ionuț Staicu 3db92c236c ctrl+click will select the book cover (#1133) 2025-09-13 22:02:27 -06:00
Aditya Chandel 49bcb5ab65 Add read status icons to book card and book browser table (#1149) 2025-09-13 22:00:19 -06:00
Aditya Chandel 226cffec6d Add EPUB reader progress tracking and auto-update read status (#1148)
- Track EPUB reading progress (CFI)
- Calculate and update read status based on progress percentage
- Handle EPUB, PDF, and CBX file types consistently
2025-09-13 21:20:54 -06:00
Aditya Chandel e99c8a9172 Remove EPUB reader transparency (#1147) 2025-09-13 20:43:50 -06:00
Aditya Chandel 308b710a56 Automatically detect and set book subtitle from title field (#1146) 2025-09-13 20:26:32 -06:00
Patrick Deuley acd71e1f54 fix: sort direction URL parameter persistence (#1134)
- Fix URL parameters not updating when sort direction changes
- Prioritize URL parameters over user preferences for sort state
- Fix case sensitivity bug in direction parameter comparison
- Ensure both sort field and direction persist on page refresh
2025-09-12 12:10:30 -06:00
Aditya Chandel 6ea2eb58bc Add auto-move option on metadata update and simplify file monitoring (#1137)
- Introduce option to automatically move books when their metadata is updated
- Simplify the file monitoring workflow for improved reliability and clarity
2025-09-12 11:59:36 -06:00
Aditya Chandel 1008a9476b Support configurable background image and transparency (#1126) 2025-09-09 22:18:52 -06:00
Ruben GM d8be663a4d feat: Row alignment, badge to right (#1122)
* row alignment, badge to right

* unnecessary css
2025-09-09 21:44:04 -06:00
Ruben GM 0b45f63f35 consider series name when sorting books (#1123) 2025-09-09 21:42:48 -06:00
Ruben GMandCopilot 99c21eb5ac feat: Series Enhancements (#1086)
* show active comic in the series banner

* Hide pi-info button in series banner when book is active

* When collapsed series: displays series title instead of book title, substitutes series number overlay by series count

* New series page w/ redirections from other pages

* Update booklore-ui/src/app/book/components/book-card-lite/book-card-lite-component.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update booklore-ui/src/app/book/components/series-page/series-page.component.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* removed commented unused status

* cleaned minor warnings

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-09 08:17:18 -06:00
Ruben GMandCopilot 2e537bb2a1 feat: ComicInfo.xml support for CBX files (#1073)
* write, read ComicInfo.xml for CBZ files

* updated with recommendations from previous PR https://github.com/booklore-app/booklore/pull/1069

* read ComicInfo.xml on CBR, extract first image for CBZ/CBR files, save CBR metadata in ComicInfo.xml as CBZ

* Delete CBR file after CBZ conversion. Update DB

* Backs up file before updating. Restores back up if errored

* Test classes

* Update booklore-api/src/main/java/com/adityachandel/booklore/service/metadata/BookMetadataUpdater.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update booklore-api/src/main/java/com/adityachandel/booklore/service/metadata/writer/CbxMetadataWriter.java

Updating RAR binary availability check

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update booklore-api/src/main/java/com/adityachandel/booklore/service/metadata/extractor/CbxMetadataExtractor.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update booklore-api/src/main/java/com/adityachandel/booklore/service/metadata/extractor/CbxMetadataExtractor.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Code updates from PR suggestions

* Support to extract ComicInfo.xml for .cb7 files

* Writer extension for .cb7 files

* Adding com.github.junrar to build.gradle (forgot in previous commit)

* Settings toggle to control CBR/CB7 to CBZ conversion

* indentation complains

* removed duplicated junrar inport

* Restore comicinfo.xml metadata in edit view

* retrieve ComicInfo.xml metadata for new files in library scan

* private class definition was missed after merge

* Delete 

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-09 08:16:29 -06:00
Aditya Chandel d316d24326 Fix multi-book review dialog to accurately reflect current state (#1111) 2025-09-07 14:03:00 -06:00
Aditya Chandel f39e1b264b Ensure Magic Shelf correctly evaluates rules with fractional numeric values (#1110) 2025-09-07 11:36:31 -06:00
Aditya Chandel 8aa3dfffc8 Preserve sidebar filter state in mobile view (#1108) 2025-09-07 10:57:59 -06:00
Aditya Chandel e693efb410 Expand menu item clickable area to full width for better UX (#1107) 2025-09-07 10:57:37 -06:00
Aditya Chandel 089e7fd781 Add chart button to mobile layout (#1103) 2025-09-06 22:13:40 -06:00
Aditya Chandel 074d8d6e69 Fix database lockout caused by duplicate files in library (#1102) 2025-09-06 21:22:59 -06:00
aditya.chandel af622d9f75 Add 'Books Finished per Month' heat map chart 2025-09-05 18:23:22 -06:00
Aditya Chandel f5e084d09c Implement comprehensive library stats and charts (#1089)
* Implement comprehensive library stats and charts

* fix(stats): handle null or unknown readStatus consistently

* Fix readStatus in AuthorPopularityChartService

* Fix missing x-axis label in chart

* Add radar charts

* Increase css budget

* Chart positioning and subscription improvements

* Add data labels

* Increase budgets
2025-09-05 13:06:53 -06:00
aditya.chandel 63dc2bcbc7 Fix issue where metadata updates to file caused books to be removed from booklore 2025-09-02 17:15:06 -06:00
aditya.chandel 47e24e2241 Add "OPDS Server Enabled" button to OPDS v2 settings 2025-09-01 15:44:20 -06:00
aditya.chandel cdd9b06b1d Fix settings page EPUB's reader font color 2025-09-01 12:34:21 -06:00
aditya.chandel 0159fcf2a8 Allow free-text and suggestion selection in authors and categories auto-complete 2025-09-01 12:29:55 -06:00
aditya.chandel 48c9f1d422 Show bookdrop button on mobile view 2025-09-01 11:05:03 -06:00
aditya.chandel b3fd860783 Add text selection tool in PDF reader 2025-09-01 10:34:12 -06:00
aditya.chandel 0d95817ae8 OPDS v2 fixes 2025-08-31 08:45:59 -06:00
aditya.chandel 31b724a0b8 Minor layout tweaks 2025-08-31 00:20:20 -06:00
aditya.chandel 13df6a79b6 Revamp styling and layout of settings pages 2025-08-30 23:47:34 -06:00
aditya.chandel 443dcad59a Implement OPDS v2 to return user-specific book feeds 2025-08-30 17:02:35 -06:00
aditya.chandel bb2c1f4c27 Fix OIDC stomp initialization and notification 2025-08-29 13:50:09 -06:00
aditya.chandel 614af906b7 Set RxStomp reconnect delay to 10 seconds for stable websocket reconnection 2025-08-29 13:03:17 -06:00
aditya.chandel db5e840aec Hide sidebar by default on mobile devices 2025-08-29 11:10:16 -06:00
Yonghao ZouandAditya Chandel 342039ea4b feat: support Douban as a metadata provider (#1000)
* feat: support Douban as metadata provider.
Douban.com is a platform of sharing films, music and books in China.

* format code

* support douban reviews

---------

Co-authored-by: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com>
2025-08-29 10:32:55 -06:00
aditya.chandel addf7c0c17 Allow manual bookdrop folder refresh for non-local file systems 2025-08-29 10:30:57 -06:00
aditya.chandel 4abf5eccaa Add ISBN to Metadata Search 2025-08-28 23:35:24 -06:00
aditya.chandel 12b7aaa8e9 Allow users to disable kobo shelf 2025-08-28 21:12:45 -06:00
Aditya Chandel 09bc2f6e9e Feature/999 add high resolution cover support upload storage and search (#1006)
* Add high-resolution cover support: upload, storage, and search

* Disable tests until fixed
2025-08-27 21:47:27 -06:00
Alexander PuzyniaandAditya Chandel 694ee11540 Book additional files support library (3/3) (#872)
* feat(api/model): add new entity BookAdditionalFileEntity

* feat(api/db): add book additional file repository

* feat(api/db): add migration

* test(api/db): add book additional file repository test

* test(api/db): add book additional file repository tests for hash uniqueness

* feat(api/domain): add support to additional file model

* feat(api): add additional files controller

* refactor(api): move addAdditionalFile to FileUploadService as uploadAdditionalFile method

* feat(service): search book by additional file

* feat(services): process deleted additional files with ability to promote alternative formats to book instead of deleting them

* refactor(util): use common code to resolve patter for entity and domain object

* feat(service): move additional files

* test(service): test move additional files along with book itself

* feat(ui/domain): add alternativeFormats and supplementaryFiles to book model

* feat(ui/domain): add download additional file method to book service

* refactor(api/domain): extract FileInfo interface with common fields

Allow to share the same interface thet is implemented by AdditionFile and Book

* feat(ui): show multiple download options

* feat(ui/domain): add delete additional file method to book service

* feat(ui): add delete additional file ui

* feat(ui): add additional-file-uploader.component

* feat(ui/domain): add uploadAdditionalFile to the service

* feat(ui): add Upload File menu item

* feat(ui): show supplementary files in download menu item

* feat(ui): show supplementary files in delete file menu item

* feat(ui): book card allow to select single file to download or delete

* feat(api/domain): add scan mode and default book format to the library

* feat(ui): select scan mode and default book format

* feat(api): create/update library settings

* refactor(services): get processor based on scan mode

* feat(services): read all files if processor supports supplimentary files

* fix(services): detectNewBookPaths should check additional files as well

* feat(services): implement folder as book file processor

* test(service): add tests for FolderAsBookFileProcessor

* feat(services): allow follow links for search library files

* test(library): add tests for folder as book file processor

* refactor(library): use Path instead of String for directory path

* feat(library): sort directories before processing

* feat(library): reuse library file book type

* fix(library): do not add additional format if it is used in another book

* test(library): test same hashes files

* refactor(library): simplify FolderAsBookFileProcessor

* test(library): add test with deep folder structure

* test(library): add additional files to existing book

---------

Co-authored-by: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com>
2025-08-27 08:20:29 -06:00
Alexander Puzynia f725ececf5 Book additional files support UI (2/3) (#870)
* feat(api/model): add new entity BookAdditionalFileEntity

* feat(api/db): add book additional file repository

* feat(api/db): add migration

* test(api/db): add book additional file repository test

* test(api/db): add book additional file repository tests for hash uniqueness

* feat(api/domain): add support to additional file model

* feat(api): add additional files controller

* refactor(api): move addAdditionalFile to FileUploadService as uploadAdditionalFile method

* feat(service): search book by additional file

* feat(services): process deleted additional files with ability to promote alternative formats to book instead of deleting them

* refactor(util): use common code to resolve patter for entity and domain object

* feat(service): move additional files

* test(service): test move additional files along with book itself

* feat(ui/domain): add alternativeFormats and supplementaryFiles to book model

* feat(ui/domain): add download additional file method to book service

* refactor(api/domain): extract FileInfo interface with common fields

Allow to share the same interface thet is implemented by AdditionFile and Book

* feat(ui): show multiple download options

* feat(ui/domain): add delete additional file method to book service

* feat(ui): add delete additional file ui

* feat(ui): add additional-file-uploader.component

* feat(ui/domain): add uploadAdditionalFile to the service

* feat(ui): add Upload File menu item

* feat(ui): show supplementary files in download menu item

* feat(ui): show supplementary files in delete file menu item

* feat(ui): book card allow to select single file to download or delete
2025-08-27 08:11:43 -06:00
aditya.chandel 11289adf79 Persist sidebar filter state when toggling visibility 2025-08-25 14:49:38 -06:00
aditya.chandel 0e4fb47580 feat(search): add ISBN & genre filters; disable author/category filters in drawer for performance 2025-08-25 10:24:12 -06:00