Commit Graph
172 Commits
Author SHA1 Message Date
f5e99d52c1 Fix: regenerate improvements (#1981)
* chore: report error on cover regeneration fail

* refactor: use RxJS forkJoin instead of Promise.all

- Replace Promise-based approach with RxJS forkJoin for better consistency
- Remove console.log debug statement
- Improve error handling with proper RxJS operators

Co-authored-by: farfromrefug <655344+farfromrefug@users.noreply.github.com>

* chore: cleanup

* chore: rework per development upstream

* chore: updating books on bulk cover regenerate

* chore: working

* chore: metadata regenerateCover pdate UI

* chore: review per comments

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-12-25 10:09:33 -07:00
ACXandacx10 b8fb843b7a Introduce more granular permission controls and update the user management UI (#1965)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-22 11:24:54 -07:00
ACXandacx10 b5ada2fff0 Introduce reading session tracking with visual insights (#1957)
* Introduce reading session tracking with visual insights (#1957)

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-21 21:14:42 -07:00
Pedro Nave bfa08054b5 Fix: Add missing kobo progress bar and stats (#1942)
* fix: added missing kobo progress bar from book card

* fix: added kobo progress bar to metadata viewer

* fix: consider kobo progress in stats
2025-12-19 18:59:31 -07:00
CounterClops 54108754f9 feat: add additional cover art actions and settings (#1938)
* feat: add cover image auto cropping when oversized

* feat: add smart cropping to ignore sections of constant colours in cover images

* fix: description implied cbx files would be excluded from cover regeneration when they are not

* feat: add options to bulk edit cover images in the library view

* fix: resolve issues with batching requests and data validation for cover images
2025-12-19 11:20:50 -07:00
Giancarlo Perroneandakiraslingshot 2da01e7a2e feat(hardcover): sync Kobo reading progress to Hardcover (#1926)
* feat(hardcover): sync Kobo reading progress to Hardcover

- Add HardcoverSyncService to sync reading progress asynchronously
- Store hardcover_book_id in book_metadata for faster lookups
- Integrate with KoboReadingStateService to trigger sync on progress updates
- Add database migration for hardcover_book_id column

* test(hardcover): add unit tests for HardcoverSyncService

* test(hardcover): add HardcoverSyncService mock to unit tests for improved coverage

* refactor(hardcover): update syncProgressToHardcover method to use book ID

- Changed syncProgressToHardcover to accept book ID instead of BookEntity.
- Integrated BookRepository to fetch BookEntity within the method.
- Updated related unit tests to reflect the new method signature and ensure proper functionality.

* feat(hardcover): enhance HardcoverSyncService with edition lookup and logging

- Added a method to find an edition by ISBN, improving the accuracy of edition information.
- Enhanced logging for progress calculations, search responses, and reading progress updates for better traceability.
- Updated the handling of default edition IDs to ensure correct page counts are used when available.

* feat(metadata): add hardcoverBookId and its locking mechanism

- Introduced hardcoverBookId and hardcoverBookIdLocked fields to MetadataClearFlags, BookMetadata, and BookMetadataEntity.
- Updated BookMetadataUpdater to handle locking for hardcoverBookId.
- Enhanced MetadataChangeDetector to compare changes for hardcoverBookId, ensuring proper metadata management.

* feat(metadata): add hardcoverBookId input and display in metadata dialogs

- Introduced hardcoverBookId input field in the metadata editor with locking mechanism.
- Updated metadata restore dialog to display hardcoverBookId when available.
- Enhanced user interface for better metadata management and visibility.

* feat(metadata): integrate hardcoverBookId across components and forms

- Added hardcoverBookId and hardcoverBookIdLocked fields to relevant models and interfaces.
- Updated metadata editor, picker, and review components to include hardcoverBookId input and locking functionality.
- Enhanced form controls and metadata handling to support the new hardcoverBookId feature for improved user experience.

* feat(migration): add hardcover_book_id_locked column to book_metadata table

- Introduced a new column hardcover_book_id_locked with a default value of FALSE to the book_metadata table for enhanced metadata management.

* fix(metadata): realign html with develop

---------

Co-authored-by: akiraslingshot <akiraslingshot@gmail.com>
2025-12-19 10:56:40 -07:00
ACXandacx10 f869ac0ac4 Add sequential next/previous book navigation from library, filtered, and search views (#1931)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-18 14:48:40 -07:00
ACXandacx10 690dbb0aa2 Upgrade from Angular 20 to 21 + update other dependencies (#1916)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-16 23:29:18 -07:00
acx10 5a54ed509d UI Tweaks 2025-12-15 21:20:39 -07:00
Dmitry Manannikov 708e851e0b Add support for fb2 books (#1757) 2025-12-13 21:16:56 -07:00
Muppetteer 0486a4f070 fix: Consistent dialogs (#1842)
* fix/consistent-dialogs

* fix: enforce consistent mobile dialog width

* fix: cover search dialog image size
2025-12-13 21:08:43 -07:00
Muppetteer 8ee53ff7ba Per user personal ratings (#1820)
* Change personal ratings to be saved per user

* Only copy ratings to users with existing progress records
2025-12-11 18:37:21 -07:00
Muppetteer 73b27944e2 Random sort option for libraries and shelves (#1817) 2025-12-10 20:43:18 -07:00
Muppetteer 78d8f8e596 Fix vertical overflow on metadata edit form dialog: part deux (#1816)
* Fix display overflow on metadata edit form dialog

* More fixes to books in dialog mode
2025-12-10 20:37:51 -07:00
Balázs Szücs 3bfece030b feat(search): Add denormalized search_text column for better book search (#1791)
* 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>
2025-12-10 12:51:18 -07:00
Balázs Szücs 9ba06eae7b fix(book-card): add menu toggle events and update styles for open state (#1813)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2025-12-10 12:49:01 -07:00
Balázs Szücs c945c95e17 fix(book-card): indicate collapse series number on the library tooltip (#1800)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2025-12-09 13:25:26 -07:00
Aditya Chandel 42d2e83599 Add loader for long running operations (#1790) 2025-12-07 20:23:47 -07:00
Aditya Chandel ad0a99bcbc Add support for uploading and assigning custom SVG icons to libraries… (#1788)
* Add support for uploading and assigning custom SVG icons to libraries and shelves

* Add few default icons
2025-12-07 15:16:22 -07:00
Aditya Chandel 04b9f88510 Fix: Assign Books to Shelves popup visually broken (#1783) 2025-12-06 20:56:16 -07:00
Muppetteer 474e95c4f2 Hide empty filters from sidebar (#1759) 2025-12-05 09:45:10 -07:00
MuppetteerandAditya Chandel a7fe7b555d Feature: filter mode preference (#1739)
* Feature: filter mode preference

* Flter sorting mode preference

* Filter sorting mode preference

---------

Co-authored-by: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com>
2025-12-03 21:19:52 -07:00
Aditya Chandel f22f9bd1e0 Add a user-facing option to enable or disable series view (#1748) 2025-12-03 21:17:06 -07:00
aditya.chandel 9281fd9559 Improve the UI of the shelf edit dialog 2025-12-03 20:11:48 -07:00
Aditya Chandel bb31f67d80 More UI tweaks (#1740) 2025-12-02 23:31:48 -07:00
aditya.chandel 0b286619ae Highlight color 2025-12-02 20:58:35 -07:00
aditya.chandel 82e003a080 Remove tooltip 2025-12-02 20:35:51 -07:00
Muppetteer 76e904436b Add filter mode to querystring (#1728)
* Add filter mode to query string

* Fix state of clear filters button

* Ensures filter divider lines meet container border
2025-12-02 19:40:56 -07:00
Aditya Chandel 6b0b078044 Align the layout to be consistent throughout all dialogs (#1737) 2025-12-02 16:31:19 -07:00
Aditya Chandel 4da832cd19 Fix: Missing close button from dialogue window (#1717) 2025-12-01 20:02:53 -07:00
Aditya Chandel b5460a5e90 Fix: Date filter doesn't work very well (#1715) 2025-12-01 19:25:17 -07:00
aditya.chandel 4b206115ce Tweak UI for dashboard settings and book filter 2025-12-01 12:46:51 -07:00
aditya.chandel 0c9409b087 Metadata viewer minor layout tweaks 2025-11-30 17:36:19 -07:00
Aditya Chandel 914d05b464 Enable jumping to filters by clicking page count, file size, or match score ranges (#1685) 2025-11-29 17:42:44 -07:00
Aditya Chandel 3017d0413c Improve computed filter label logic for cleaner and more readable summaries (#1684) 2025-11-29 16:58:53 -07:00
Aditya Chandel 16ffd5f558 Upgrade Angular to v21 and update all major frontend dependencies (#1674) 2025-11-28 19:15:04 -07:00
MuppetteerandAditya Chandel 7ff72a8916 Add single select filter mode (#1671)
* Add single select filter mode

* Update booklore-ui/src/app/features/book/components/book-browser/book-filter/book-filter.component.ts

Co-authored-by: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com>

---------

Co-authored-by: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com>
2025-11-28 18:43:06 -07:00
Aditya Chandel 806ffe22b4 Enable navigation by library, year, language, file type, and read status in metadata viewer (#1672) 2025-11-28 18:22:37 -07:00
Aditya Chandel 3a9cb965e3 Fix unique file constraint to allow identical filenames in different sub-paths (#1668)
* Upgrade Spring Boot to version 4.0.0

* Fix flyway config

* Fix unique file constraint to allow identical filenames in different sub-paths
2025-11-28 14:10:51 -07:00
Muppetteer 721952a679 Maintain book selections when switching between table and grid views (#1651) 2025-11-28 09:31:01 -07:00
Muppetteer 3a291f7770 Keep track of applied filters in URL query string (#1654) 2025-11-28 09:22:16 -07:00
Muppetteer e2bdb6cea7 Enable assign to shelf on shelves and magic shelves (#1628) 2025-11-25 04:43:33 -07:00
Muppetteer bcee8db6c4 Fixes display of Tags field on bulk lock/unlock metadata screen (#1627) 2025-11-25 04:38:55 -07:00
Aditya Chandel d17a3c0afc Add display of selected item count in book action footer for easier batch editing (#1623) 2025-11-24 20:29:12 -07:00
Aditya Chandel c12add5e5a Add ISBN column to table view (#1622) 2025-11-24 19:59:58 -07:00
Aditya Chandel 6fc7718be9 Reposition delete action to bottom of menus (#1621) 2025-11-24 19:51:56 -07:00
Aditya Chandel d3ab346dab Introduce new book sorting mode: Author first, then Series, then Series Index (#1620) 2025-11-24 19:45:38 -07:00
Aditya Chandel 4d9362a1b4 Add a shelf creation button to the left menu bar and improve the layout of the shelf creation page (#1617) 2025-11-24 08:42:07 -07:00
Balázs Szücs 57199004ca feat(sort): implement natural order sorting titles and names (#1606)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2025-11-24 07:19:28 -07:00
CounterClops 7ebdc7b106 Feature: Sync reading progress from Kobo in-built reader (#1541)
* 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
2025-11-21 00:17:57 -07:00