Commit Graph
1374 Commits
Author SHA1 Message Date
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
ACXandacx10 60095c2173 Tele BE (#2026)
* WIP

* Tel BE

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-28 18:49:43 -07:00
ACXandacx10 9e151010e7 Improve the SVG fetching and caching logic (#2011)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-27 15:26:11 -07:00
acx10 81757317e5 Some chart shuffles 2025-12-27 11:53:53 -07:00
ACXandacx10 3fc4d08def Fix: Custom/Added icons not visible when assigning shelf (#2010)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-27 09:37:00 -07:00
acx10 71617a77ff Misc. layout fixes 2025-12-26 18:32:31 -07:00
acx10 65a439f9c1 Increase angular budget 2025-12-26 16:56:43 -07:00
descensus fb162cb2ad Disable nginx IPv6 listener when disabled on host (#1998)
* Disable nginx IPv6 listener when disabled on host

Patch nginx.conf when host has IPv6 disabled so nginx does not fail to start.

* clarified comment
2025-12-26 16:50:11 -07:00
MightyHalfGinger 4d8092e5bc Fix(metadata): Improve handling of non-author creator roles (#1987)
* Fix(metadata): Don't import creators with a non-author role as author

Looks at either the meta tag for the creators or the opf role attribute
to determine the role of a creator. If no role is specified its assumed
to be an author.

Also only prunes handled created roles when writing the epub data back
out to prevent clobbering any extra data that might be present in the
epub already.

* Fix(metadata): Add testcases for non-author creator handling

Just adds testcases for the previous changes to the extraction and
writer logic.
2025-12-26 16:47:24 -07:00
Balázs Szücs 87fe405455 test(util): expand and improve utility test coverage for BookUtils, FileUtils, PathPatternResolver, MetadataChangeDetector, and UserPermissionUtils (#1985)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2025-12-26 16:45:55 -07:00
ACXandacx10 4712f53b8e Display paginated reading sessions in the book metadata view (#2003)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-26 16:44:44 -07:00
ACXandacx10 2c1e8a99e3 Add more user-specific charts (#1991)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-26 12:08:27 -07:00
ACXandacx10 ad8904550b Update github templates (#1990)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-25 21:38:09 -07:00
ACXandacx10 97cb781229 Fix Reading Session Timeline bars (#1978)
* Fix Reading Session Timeline bars

* Remove header

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-25 12:20:09 -07:00
farfromrefuge 5f2000f085 fix: when selecting a series, select all books from the series (#1979) 2025-12-25 11:42:30 -07:00
cwar 811a7e0906 fix(metadata): Use existing Goodreads ID for batch refresh instead of searching (#1973)
When refreshing metadata for books that already have a goodreadsId stored,
the GoodReadsParser now fetches directly from the book page instead of
performing a title search first.

Problem:
- Books with goodreadsId populated but missing goodreadsRating
- Batch refresh would search by title, ignoring the stored ID
- If search failed (rate limits, transient errors), ratings never populated

Solution:
- Check for existing goodreadsId before searching
- If valid ID exists, fetch directly from /book/show/{id}
- Fall back to search only if no ID or direct fetch fails

This ensures previously matched books get their ratings updated reliably.
2025-12-25 11:35:53 -07:00
cwar cb91a4ae6e fix: Prevent transaction rollback when cover download fails (#1971)
Cover download failures in updateThumbnailIfNeeded() were propagating
exceptions that poisoned the @Transactional method, causing the entire
book's metadata update to roll back - even though the metadata itself
was fetched successfully.

This commonly occurs when CDNs serve WebP images with JPEG extensions/
headers (e.g., Amazon CDN), causing ImageIO to fail validation.

The fix wraps the thumbnail download in a try-catch and logs a warning
instead of propagating the exception. Cover failures are non-critical
and shouldn't prevent metadata updates from persisting.
2025-12-25 11:17:28 -07:00
Balázs Szücs 21bcc7d382 perf(cbz): optimize CBZ reading (#1980)
* perf(cbz): improve zip file compatibility by enabling Unicode extra fields and ignoring local file headers

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

* feat(perf): Implement robust ZipFile optimization with fallback

Updated ZipFile reading logic in CbxReaderService, CbxProcessor, and CbxConversionService. Implemented a 'Fast Path' (Central Directory only) for speed (20x faster on large archives). Implemented a 'Slow Path' (Local Header scanning) fallback if the fast path fails or finds no images. Ensures compatibility with older or malformed archives where Unicode names are only present in local headers. Refactored extraction logic to helper methods where appropriate to support retry mechanism.

---------

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2025-12-25 10:10:14 -07:00
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
Balázs Szücs 77e06b868e fix(epub-metadata): properly decode URL-encoded cover image hrefs in EPUB files (#1983)
- Ensure cover image paths in EPUB manifest are URL-decoded before file access
- Update EpubMetadataExtractor and EpubMetadataWriter to handle encoded hrefs
- Add comprehensive tests for unicode and URL-encoded cover image filenames

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2025-12-25 10:05:24 -07:00
ACXandacx10 b4b4d8f492 Readme styling (#1982)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-25 00:17:19 -07:00
acx10 e85dab8580 Revert 2025-12-24 23:35:12 -07:00
acx10 b649433ec3 Update readme styling 2025-12-24 23:18:06 -07:00
ACXandacx10 776a03b890 Fix CI (#1976)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2025-12-24 12:27:24 -07:00