Commit Graph
272 Commits
Author SHA1 Message Date
Iván Ruiz Gázquez 3e64d35957 fix: add content-type header for koreader-sync auth (#1016)
* test: add content-type assertion for user auth

* fix: specify JSON content type in authorizeUser method

Set content type to JSON for user authorization response.
2025-08-29 10:31: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 b81a8d1422 Book additional files support (1/3) (#868)
* 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
2025-08-27 08:11:04 -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 a092d629c9 Refine bookdrop results and related websocket events 2025-08-16 10:18:33 -06:00
aditya.chandel 800cc4054f Support adding private, user-specific notes to books 2025-08-13 15:54:45 -06:00
aditya.chandel c660497e0b Implement public review fetching from metadata providers 2025-08-13 13:02:53 -06:00
aditya.chandel dd7453fae1 Implement file moving based on library naming rules, falling back to app defaults 2025-08-11 16:59:42 -06:00
aditya.chandel fb5a70c7e7 Allow book upload GUI to upload into Bookdrop 2025-08-09 00:50:50 -06:00
aditya.chandel 850ecb0b0c Improve version checking 2025-08-08 19:54:58 -06:00
Aditya Chandel 9ae1c6e2dc Add koreader sync support for book progress tracking 2025-08-08 09:38:20 -06:00
aditya.chandel f69110c164 feat(bookdrop): add full pagination support with select-all and metadata caching
- Implemented backend pagination for Bookdrop file review
- Updated finalizeImport logic to support select-all with excluded IDs
- Handled partial metadata submission from frontend
- Refactored chunk processing and logging for clarity
- Enhanced frontend Bookdrop UI with paginated selection, metadata sync, and virtual scroll compatibility
- Improved UX for bulk finalize and discard actions
2025-08-05 12:34:44 -06:00
Alexander Puzynia f4207cf9b3 refactor(services): update BookFileProcessor to use BookFileType for processor retrieval 2025-07-23 14:11:27 -06:00
Alexander Puzynia d6c3c8e4c6 test(service): add unit tests for FileAsBookProcessor to validate library file processing 2025-07-23 14:11:27 -06:00
Alexander Puzynia 31e4ae2972 refactor(service): integrate BookFileProcessorRegistry for handling multiple book file formats 2025-07-23 14:11:27 -06:00
aditya.chandel 177528e640 Implement Bookdrop: Watch folder for file drops and auto-process uploads 2025-07-19 11:05:59 -06:00
aditya.chandel 116f0c950e Implement interactive metadata review for batch updates, with progress tracking and a unified notification system 2025-07-13 23:32:08 -06:00
aditya.chandel 841e359b92 Support File Move Operations with Watcher Refactor for Accurate Tracking 2025-07-04 11:19:23 -06:00
aditya.chandel b155f567a4 Deleting books now cleans up empty directories left behind 2025-06-30 17:31:34 -06:00
aditya.chandel 494aba24c6 WIP: Dockerize 2025-01-22 16:05:47 -07:00
aditya.chandel baff376b9c Initial commit 2024-12-13 12:58:23 -07:00