* fix(bookdrop): improve error handling and cleanup for file move failures
- Ensure target file is deleted if processing or metadata refresh fails after move
- Only delete source file on successful processing
- Add tests to verify file cleanup and source preservation on failure scenarios
- Use lenient mocking for Files in tests to support error simulation
* fix(bookdrop): enhance file and cover cleanup logic, improve test coverage for import finalization
* test(bookdrop): improve finalize import test with LibraryPathRepository mock and enhanced stubbing
* feat(api): add @Builder.Default to entity fields for safer builder initialization and update mappers to ignore unmapped targets; add tests for builder defaults
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* test: set isDefaultPassword in test user builder for KoboReadingStateServiceTest
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* test: verify isDefaultPassword is false in BookLoreUserEntityTest
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
---------
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* ci: Add OCI labels to Dockerfile
Added OCI labels for metadata and documentation.
* ci: Add APP_VERSION and APP_REVISION arguments
Added ARG directives for application version and revision to Dockerfile.
* ci: Add APP_REVISION build argument to Docker build
* fix(metadata-refresh): change replace mode to REPLACE_ALL when editing metadata
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* fix(metadata-refresh): update metadata update method to support customizable replace mode
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* fix(metadata-refresh): refactor updateBookMetadata to use MetadataUpdateContext for improved clarity and flexibility
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
---------
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(file-service): implement image downloading using RestTemplate with better headers and error handling
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* feat(config): enhance RestTemplate with custom connection and read timeouts
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
---------
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
* 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
* Autocomplete for publisher and series on book metadata edit screen
* Add autocomplete to bulk edit metadata form
* seriesName was missing the [disabled]="clearFields.seriesName" attribute
---------
Co-authored-by: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com>
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)