Commit Graph
640 Commits
Author SHA1 Message Date
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
Aditya Chandel 2be27f34ad CBX reader styling improvements (#977) 2025-08-24 12:01:11 -06:00
Aditya Chandel e5d54d1caa Refine book card styling (#975) 2025-08-24 10:48:33 -06:00
Aditya Chandel fe8925f65e feat(kobo): add optional EPUB → KEpub conversion for Kobo downloads (#969) 2025-08-23 20:51:04 -06:00
aditya.chandel be29e89376 Fix ‘Spoiler’ button alignment in public metadata review 2025-08-22 23:52:55 -06:00
aditya.chandel 6e6861b329 Kobo Phase 1: Enable Book Transfer/Sync 2025-08-22 22:57:03 -06:00
aditya.chandel a092d629c9 Refine bookdrop results and related websocket events 2025-08-16 10:18:33 -06:00
aditya.chandel c75c4dce5b OIDC Authentication Revamp: Smarter Init, Error Handling, and Fallback 2025-08-15 21:02:33 -06:00
aditya.chandel 44541849ff Enhance OIDC flow for better error handling and misconfiguration recovery 2025-08-15 15:44:24 -06:00
aditya.chandel 628a6c7bcf Restrict web-socket connections to the initiating user 2025-08-15 13:45:00 -06:00
aditya.chandel 7cea853756 Expose safe public app settings via dedicated endpoint 2025-08-14 18:19:49 -06:00
aditya.chandel f5e58080ea Add loader for book details component 2025-08-14 15:03:12 -06:00
aditya.chandel d0f8791b14 Fix expensive re-creation of author and book lists due to improper trackBy usage 2025-08-14 12:37:12 -06:00
Alexander PuzyniaandAditya Chandel 60f8442514 Upgrade primeng to 20.0.1 (#903)
* build(npm): add missed packages

* build(npm): upgrade primeng to 20.0.1

* feat(ui): upgrade ui to support 20 primeng

https://primeng.org/migration/v19#compatible

* fix(ui): p-input value max requires value

* refactor(ui): remove unused component imports

* build(npm): allow common js dependencies

* style(ui): fix some warnings

* fix(ui): replace chips with autoComplete

---------

Co-authored-by: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com>
2025-08-14 12:10:45 -06:00