* feat(opds): allow user to set sorting for opds feed in settings
* patch(opds): re-add search normalization
* patch(opds): add series to feedid determination
---------
Co-authored-by: WorldTeacher <admin@theprivateserver.de>
* feat(bookmark): implement bookmark management with CRUD operations and UI integration
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(bookmark): add uniqueness constraint for bookmarks and check for existing bookmarks before creation
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
---------
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* fix(search): Optimize book search with denormalized search_text column
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* fix(search): Enhance search text normalization for diacritics in author names
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* fix(migration): Implement batch processing for populating search text and enhance error handling
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* fix(search): Manually trigger search text update after author modifications and enhance special character handling
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* fix(search): Update special character handling to be more permissive in search text normalization
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(AppMigrationService): add FileService dependency for enhanced file handling
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(database): add search_text column to book_metadata for improved search functionality
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(database): add search_text column to book_metadata for improved search functionality
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* fix(database): correct join condition and ordering in findBooksForMigrationBatch query
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
---------
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* Feature/kobo sync cbx support (#3)
* Feature: Add CBX syncing support to Kobo sync (#2)
* feat: add cbx sync support
* fix: phrasing of setting description to align with CBX terminology
* fix: resolve issue with CBX setting persistence
* fix: updated dev docker compose to align with Dockerfile
* feat: add cbx files as allowed entitlements
* fix: relax tomcat query characters for kobo sync
* fix: remove hardcoded epub restrictions
* fix: reduce image size and resolve relative content paths
* fix: resolve issues with the image file encoding
* feat: add rar and cb7 support
* feat: bring generated epub more in line with epub standard
* fix: resolve issues with extra metadata fields
* fix: make css background colour white to improve e-ink performance
* cleanup: code comments
* feat: add cbx unit tests
* fix: update zipfile to use builder pattern as current method is deprecated
* fix: remove comments
* fix: replace regex pattern to a simpler check
* fix: remove unused imports
* fix: update epub template to use standard language string
* fix: missing line end on css
* fix: remove duplicate query characters
* fix: grammer issue
* fix: resolve typo in the entitlement service test
* fix: redundant imports and update long types
* chore: update test descriptions for cbx conversion
* fix: add check for larger images in archive files. unlikely to occur.
* fix: merge temp dir logic for the book download
* fix: update kobo entitlement to always report the format as epub3
* fix: implement suggested changes around javadocs and some edge cases to handle gracefully
* chore: cleanup variable names to be clearer in download service
* feat: change function to extract to disk instead of storing images in memory
* fix: add temp file clean up into the conversion service
* fix: add visual divider to seperate CBX and EPUB settings
* fix: update lambdas to use method references
* fix: reword setting description for cbx to epub sync
---------
Co-authored-by: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com>
* feat: kobo sync improvements (push changes from booklore, and properly delete kobo data on reset)
* fix: issues with sync race conditions and improve readability
* fix: update function names to be clearer and more explicit
* fix: move partially_read to reading status mapping
* fix: make the bufferwindow more explicit in the unsynced progress check
* chore: add unit tests for additional sync logic
* fix: improve bi-directional logic to account for changes in progress and status
* chore: add additional tests to check the kobo sync logic and remove redundant tests
* feat: add kobo reading progress sync
* fix: remove old variable references
* fix: avoid changing koreader behaviour
* fix: resolve typo in koreader progress
* fix: remove link between booklore progress and kobo sync progress
* feat: add unit tests for kobo reading status sync
* fix: remove unnecessary conversion value for kobo progress
* fix: resolve issue with kobo_progress beiong optional in template
* fix: update entitlement to provide existing reading progress back to kobo on sync
* fix: use stored bookmark before creating new bookmark
* fix: update default thresholds to full numbers. kobo doesn't report progress with any decimal places
* chore: update unit tests
* fix: remove decimal places in kobo settings progress threshold
Adds a checkbox to the create/edit magic shelf dialog to set the shelf
as public.
If public then it shows up for all users.
Only admins can edit public shelves (edit options disabled for
non-admin)
* 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>
* 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
* Added migration for new field in user_book_progress table
* Added ability to set date finished when book status changes to read, and reset date finished when book status changes to another value
* Added ability to use date published in a Magic Shelf
- Removed global `readStatus` field from `BookEntity`
- Added `read_status` column to `UserBookProgressEntity` for per-user tracking
- Added Flyway migration to introduce `read_status` column to `user_book_progress`