Commit Graph
821 Commits
Author SHA1 Message Date
Muppetteer 0767f75ddb fix: Library icon name bug (#1934) 2025-12-19 10:58:42 -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
CounterClops 63f71d1fde fix: load all pages before doing bulk actions (#1928) 2025-12-18 11:11:09 -07:00
Muppetteer 7c2736229f fix: Bookdrop bulk edit mobile fixes (#1925) 2025-12-18 11:08:32 -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
CounterClops 6df338a0d7 feat(api, ui): add bookdrop bulk edit and metadata pattern extraction (#1846)
* feat: add bulk editors for bookdrop

* fix: update pattern behaviour and remove redundant frontend logic

* fix: clean up pattern extractor

* fix: create shared logic to align bulk edit and pattern extract and resolve some minor behaviour issues

* fix: date matching pattern and resolve issues with pattern matching to ignore extra trailing data

* chore: cleanup tests and code to be cleaner

* chore: cleanup autogenerated testing rules

* fix: update to use the new dialog launcher service

* fix: add boolean null check and data validation on pattern extract api

* feat: add bulk edit batching to avoid issues with extremely large import counts

* fix: adding timeout to avoid potential redos issue

* fix: add try blocks for issues with potential NumberFormatException

* fix: update isbn and asin regex to better match spec

* fix: improve error handling and logging

* fix: make component names consistent with the project

* fix: mising import for pattern syntax exception

* chore: add additional tests for the bulk edit service

* fix: improve accessibility to new ui elements

* fix: further improvements to the pattern extractor timeout

* fix: improve frontend placeholder validation

* fix: add back changes accidently removed by merge
2025-12-16 23:27:17 -07:00
Muppetteer 0a5f12f38c fix: Bookdrop UI mobile support (#1911)
* fix: Bookdrop UI mobile support

* fix: Wrap long select option items in mobile mode
2025-12-16 21:28:26 -07:00
acx10 5a54ed509d UI Tweaks 2025-12-15 21:20:39 -07:00
WorldTeacherandWorldTeacher a4a94b731a feat(opds): allow user to set sorting for opds feed in settings (#1824)
* 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>
2025-12-15 19:24:01 -07:00
Muppetteer 0b4bccb462 fix(ui): Force page reload on logout (#1870) 2025-12-14 19:22:06 -07:00
Muppetteer ed05820658 fix(ui): library directory picker dialog double heading (#1867) 2025-12-14 19:21:19 -07:00
Harsh Vardhan 9da13ae818 Feat/conversion CBX to EPUB compression configuration (#1844)
* feat(conversion): add image compression percentage setting for CBX to EPUB conversion

* feat(conversion): add conversion image compression setting to kobo sync settings frontend
2025-12-13 21:23:19 -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
Aditya Chandel 1916d6c88c Automatically add newly added books to Kobo shelf (#1826) 2025-12-11 20:21:19 -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
aditya.chandel ee12a486dd Layout tweaks 2025-12-10 13:43:19 -07:00
Aditya Chandel d8017ff980 Revert "Fix display overflow on metadata edit form dialog (#1810)" (#1815)
This reverts commit d76251ba21.
2025-12-10 13:24:46 -07:00
aditya.chandel ef7354c256 Update repo url 2025-12-10 13:04:27 -07:00
Balázs Szücs f97b23ea14 feat(bookmark): implement bookmark management with CRUD operations (#1795)
* 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>
2025-12-10 12:51: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
Muppetteer d76251ba21 Fix display overflow on metadata edit form dialog (#1810) 2025-12-10 12:50:47 -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 ac38c5d5f6 fix(metadata): Fix genre/category disappearing bug in metadata updates (#1807)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2025-12-10 00:24:09 -07:00
Aditya Chandel e2062b5dc6 Allow uploading multiple SVG icons and render them directly as inline SVGs instead of using <img> tags (#1796) 2025-12-09 13:38:39 -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
Muppetteer ca1e7ee6e3 Improve metadata edit UI (#1792) 2025-12-08 13:10:51 -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 51fa54bed3 Improve bookdrop UI (#1768)
* Improve bookdrop UI

* Rename resetAll as it doesn't apply to all now

* Fix display of copied metadata fields
2025-12-06 09:16:42 -07:00
Muppetteer 474e95c4f2 Hide empty filters from sidebar (#1759) 2025-12-05 09:45:10 -07:00
Aditya Chandel 66220b80ee Add sort preference option for Magic Shelf names in the left sidebar (#1749) 2025-12-03 21:44:39 -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
Aditya Chandel a4b0e22ad8 Visually indicate the active menu item in the left sidebar (#1738) 2025-12-02 20:22:25 -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
CounterClopsandAditya Chandel dfb73d50d9 Feature: Add EPUB conversion support for CBX files to Kobo Sync (#1538)
* 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>
2025-11-30 09:53:26 -07:00