Commit Graph
1397 Commits
Author SHA1 Message Date
Balázs Szücs d169a26eb3 fix(recommendations): improve error handling for JSON conversion and return empty set on failure (#2137)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-04 10:57:47 -07:00
ACXandacx10 1ea9cbde3e Ensure Booklore metadata changes are reflected on Kobo books (#2140)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-04 10:55:44 -07:00
ACXandacx10 3b3656c29b Improve robustness of book uploader error handling (#2130)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-03 16:47:59 -07:00
Gavin Mogan d3a0e9ddc9 Fix: Ignore access denied when doing library scan instead of failing (fixes #1342) (#2122) 2026-01-03 14:06:53 -07:00
Balázs Szücs e0b324689e fix(metadata): add unit tests for task execution layer + fix permission validation logic (#2123)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-03 14:06:24 -07:00
Doug Coffin ae30b3434e Fix kobo auto add on bookdrop. (#2116) 2026-01-03 14:02:41 -07:00
Balázs Szücs ab96eee5bc refactor(types): replace most usages of 'any' with 'unknown' and improve type safety across services and components (#2050)
* refactor(types): replace most usages of 'any' with 'unknown' and improve type safety across services and components

- Update method signatures, variables, and interfaces to use 'unknown' instead of 'any'
- Refine event and observable typings for better type inference
- Add or adjust explicit types for function parameters and return values
- Update Chart.js tooltip and context typings for chart services
- Improve type safety in Book, BookState, and related models
- Adjust template bindings and method calls to match stricter typings
- Add SecureSrcDirective for secure image loading with fallback and error handling

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* chore(angular): remove proxy configuration from development build settings

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* refactor(book-browser): streamline entity and book state management with reactive streams

- Refactor entity type and entity fetching logic to use observables and combine route params
- Simplify book state handling by consolidating filtering and fetching into a single reactive pipeline
- Remove redundant applySortOption logic and related subscriptions
- Fix book card index binding in template for improved rendering performance
- Ensure proper cleanup of epub rendition in epub-reader component

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* fix(book-browser, book-uploader): improve permission checks and enhance file upload handling

- Use optional chaining for user permission checks in book-browser.component.html to prevent runtime errors when user data is undefined
- Refactor book-uploader.component.ts to pass destination and IDs explicitly to uploadBatch, reconstruct files for strict type handling, and ensure proper upload flow and UI feedback

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* refactor(charts, services): improve type safety for book state validation and update form field checks

- Refactor isValidBookState methods across chart components and services to use type predicates and stricter type checks for BookState
- Update metadata-picker.component to simplify array field checks for authors, categories, moods, and tags
- Adjust magic-shelf-utils to remove unnecessary fallback in object spread
- Update notification-event.service to use correct timeout type for highlightTimeout

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* fix(theme): ensure safe merging of theme properties and improve type definition for themesMap

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* refactor(epub-reader): streamline book and rendition initialization logic

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

---------

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-02 18:22:54 -07:00
Balázs Szücs 998b07d243 fix(filemove): improve handling of library monitoring during file moves and add tests for operation order (#2104)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-02 10:49:34 -07:00
Balázs Szücs 486781b9cd feat(metadata): add endpoint and service for generating custom book covers for PDFs and CBX (#2108)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-02 10:47:26 -07:00
ACXandacx10 5d7c67cb5f Assign newly created library to the creating user (#2110)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-02 10:42:58 -07:00
Balázs Szücs b3ac58207a refactor(api): modernize codebase with Java 21 idioms and improve null safety (#2106)
* fix(controller): handle null filename in getBackgroundImage method

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* refactor(tests): replace hardcoded replace mode with variable in BookMetadataUpdaterCategoryTest

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

---------

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-02 10:16:01 -07:00
ACXandacx10 5a251d182a Fix inconsistent spacing and label display in reading heatmap chart (#2099)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-01 20:06:07 -07:00
Charlie Le c8e10b5499 feat: Append volume to comic series when extracting cbx metadata (#2072)
* Append volume to comic series when extracting cbx metadata

* Add testing for extracting metadata with and without the volume tag
2026-01-01 17:36:05 -07:00
ACXandacx10 6394d1ef04 Fix date inconsistencies in Favorite Days and Reading Session Timeline charts (#2096)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-01 17:34:33 -07:00
ACXandacx10 c7cfe266d4 Fix: Deselect items when they are removed from current view in book browser (#2093)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-01 13:48:39 -07:00
ACXandacx10 78344d1d0e Enhance EPUB reader navigation by adding tap zones for easier page control (#2092)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-01 13:26:46 -07:00
ACXandacx10 e0dec6f2f6 Add extended permissions for bulk metadata, reading progress, and read status actions (#2091)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-01 11:41:22 -07:00
Doug Coffin 60524ee8a6 Fix/kobo library snapshot (#2051)
* Fix Kobo snapshot ownership and clean existing rows

* Add Kobo snapshot ownership and clean existing rows test.
2026-01-01 01:00:29 -07:00
Balázs Szücs 52329e659c fix(metadata): improve ComicInfo.xml detection and normalize fallback titles (#2080)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-01 00:51:39 -07:00
Balázs Szücs f3299915f5 refactor(pdf): update PDFBox usage for improved 3.x compatibility (#2079)
* refactor(pdf): update PDFBox usage for 3.x compatibility and improve file handling

- Use RandomAccessReadBufferedFile and RandomAccessStreamCache for loading PDFs
- Update methods to use new PDFBox 3.x APIs for reading and writing
- Add pdfbox-io dependency to build.gradle
- Add comments regarding compressed mode in PDFBox 3.x

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* test(pdf): remove outdated comments about PDFBox 3.x default compression in save operations

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* test(pdf): remove outdated comments about PDFBox 3.x default compression in save operations

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

---------

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-01 00:50:46 -07:00
Balázs Szücs 03311b76ee feat(library): improve detection of new files by using unique key and add tests for subpath handling (#2078)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-01 00:49:31 -07:00
Balázs Szücs b31012c986 fix(opds): update mime type support for FB2 and CBX formats based on file extension (#2077)
* fix(opds): add mime type support for FB2 and CBX formats based on file extension

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* fix(opds): return correct MIME types for all supported book formats in feed links

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* fix(opds): remove incorrect MIME type mapping for DJVU and default fallback

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* test(opds): add unit tests for correct MIME type mapping in catalog feed generation

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

---------

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-01 00:48:38 -07:00
Balázs Szücs 200212799c fix(comicvine): handle API rate limiting by skipping requests and logging warning when limit is reached (#2076)
* fix(comicvine): handle API rate limiting by skipping requests and logging warning when limit is reached

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* fix(comicvine): improve rate limit handling by supporting Retry-After header and 429 status code

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

---------

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-01 00:48:11 -07:00
Balázs Szücs a72f6e285c feat(viewer): add context-aware series collapse functionality (#2073)
- Introduced support for context-specific series collapse preferences for libraries, shelves, and magic shelves.
- Improved backward compatibility with legacy preference structures.
- Added JSON aliasing for `seriesCollapse` to maintain API compatibility.
- Extended entity selection in view preferences to include magic shelves.
- Enhanced error handling in app settings service to filter null values.
- Optimized series collapse preference management, ensuring local and global overrides persist accurately.

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-01 00:38:46 -07:00
Muppetteer ff86a93a9f fix: Bookdrop responsive UI (#2070) 2026-01-01 00:31:52 -07:00
Balázs Szücs ded5da9ef2 fix(file-move): ensure library monitoring is restored after file move and update tests (#2057)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-01-01 00:26:47 -07:00
ACXandacx10 73c46908e2 Fix: Editor now properly updates metadata and locked fields after edits (#2084)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-01-01 00:15:20 -07:00
acx10 7d965ec994 Remove custom icon 2025-12-30 23:36:36 -07:00
acx10 f618c21b8c Add official website link and icon 2025-12-30 23:32:49 -07:00
Balázs Szücs 47efb6593d fix(upload): truncate long filenames to safe length while preserving extension for bookdrop and additional files (#2059)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2025-12-30 16:56:05 -07:00
acx10 a26310bb46 Chore: update label 2025-12-30 16:52:31 -07:00
ACXandacx10 e3eb05fd6a Allow hash in file naming pattern (#2062)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-30 16:15:33 -07:00
Balázs Szücs 4f372615cf fix(cbz): exclude macOS metadata and hidden files from image extraction (#2056)
* fix(cbz): exclude macOS metadata and hidden files from image extraction

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* refactor(cbz): restrict isContentEntry method visibility to private in CbxReaderService

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* test(cbz): add unit tests for macOS metadata file exclusion in CbxReaderService

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

---------

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2025-12-30 14:51:44 -07:00
Balázs Szücs 939299f93c fix(upload): preserve original filename as title when metadata extraction returns temp file name (#2053)
* fix(upload): preserve original filename as title when metadata extraction returns temp file name

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

* fix(upload): set original filename as title directly when extracted title is temp name

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>

---------

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2025-12-30 12:12:42 -07:00
CounterClops 161eb05965 fix(ui): update tasks last run time to include timezone information (#2047)
* fix: update tasks last run time to include timezone information

* fix: use system default timezone instead of assuming UTC
2025-12-30 11:55:27 -07:00
David Long 8580670b6e feat(api): add healthcheck endpoint for monitoring health from Docker/Podman (#2024) 2025-12-30 11:54:30 -07:00
xcashy 1b27ca3028 fix(metadata-viewer): show only allowed other actions and localize amazon link (#2031)
* fix(metadata-viewer): show only allowed other actions and localize amazon link

* fix(metadata-viewer): simplify permission checks for displaying other actions
2025-12-30 11:53:21 -07:00
Balázs Szücs 27b366aa3a fix(metadata): add null handling for MetadataRefreshService and improve default initialization in MetadataRefreshOptions (#2034)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2025-12-30 11:50:37 -07:00
MightyHalfGinger bfb77ecee0 fix(metadata): cover no longer fails to extract with invalid zip files (#2012)
Previously if any file in the epub was invalid-ly packed into the zip
container, the covers will fail to fetch due to the EpubReader trying to
load everything in the file into memory.

This patch fixes this by making the EpubReader lazy-load all of the
files in the epub so we only actually try to read the strictly-necesasry
files to find the cover. This should also improve loading times ever so
slightly by not needing to read everything in for no reason.
2025-12-30 11:49:50 -07:00
ACXandacx10 11e64904a5 - Remove library name from payload (#2054)
- Add basic installation ping to track number of active instances

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-30 11:49:28 -07:00
acx10 7c3efaf6db Change the official repository to https://github.com/booklore-app/booklore 2025-12-29 19:47:05 -07:00
ACXandacx10 5bd26b9aa7 Change the official domain from booklore.dev to booklore.org (#2046)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-29 19:42:10 -07:00
CounterClops 91f0e86b00 fix(bookdrop): improve pattern extractor date extraction (#2032)
* fix: add support for yyyy-MM formats and add tests for new edge case

* fix: add support for MM-yyyy formats
2025-12-29 05:29:55 -07:00
Balázs Szücs d9ff9468bd feat(cover-search): trigger search automatically when form is valid after autofill (#2035)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2025-12-29 05:28:40 -07:00
Balázs Szücs 76b2979f37 chore: remove unused imports and minor code cleanup across services, controllers, and tests (#2036)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2025-12-29 05:28:07 -07:00
acx10 d3148b3772 Fix master pipeline 2025-12-28 22:50:27 -07:00
acx10 fa4cb8e334 update domain 2025-12-28 22:42:09 -07:00
Marcin Gajewski dfcd9db368 Feat/lubimyczytac metadata provider (#2019)
* feat: add LubimyCzytac metadata provider

- Add LubimyCzytac parser with web scraping for lubimyczytac.pl
- Extract book metadata including title, authors, description, ratings
- Parse JSON-LD structured data for reliable metadata extraction
- Add database migration with columns and JSON property name updates
- Add comprehensive test coverage for parser

* feat: add LubimyCzytac UI integration

- Add LC ID and LC Rating fields to metadata picker
- Update settings page with Lubimyczytac provider toggle
- Add LubimyCzytac to metadata searcher provider list
- Display Lubimyczytac in all metadata viewer sections
- Add Lubimyczytac to advanced fetch options
- Update TypeScript models to match backend serialization
2025-12-28 19:50:53 -07:00
Balázs Szücs e65aa47552 refactor(api): improve file resource handling in book download and FB2 metadata extraction (#2018)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2025-12-28 19:40:12 -07:00
ACXandacx10 01446c2537 Refactor book service in BE and FE (#2013)
* Refactor book service in BE and FE

* Add missing method

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-28 19:37:35 -07:00