Commit Graph
786 Commits
Author SHA1 Message Date
ACX 27e86beb9e fix NPE when re-attaching a book file to a physical book after deleting the previous one (#3056) 2026-02-26 21:00:09 -07:00
ACX 78345eaf52 show friendly error when email send fails and warn on large attachments (#3008) (#3055) 2026-02-26 20:42:07 -07:00
ACX af1c1e7b71 save cover and fetch metadata by ISBN for physical books (#3035) (#3046) 2026-02-26 19:53:51 -07:00
ACX bb6b24eb89 trim trailing/leading whitespace in metadata fields (#1390) (#3025) 2026-02-26 08:53:37 -07:00
ACX 3e374a197f add detach book file feature and fix attach not respecting move preference (#3024) 2026-02-26 08:16:12 -07:00
Balázs Szücs 073bc1045e fix(http): enable restricted headers for DNS rebinding protection and improve host header handling (#3022) 2026-02-26 08:14:01 -07:00
ACX e53c545dcb Fix audiobook chapter extraction for M4B/M4A formats (#2976)
* Fix audiobook chapter extraction for M4B/M4A formats

* Add unit tests for ffprobe service, chapter backfill, and audiobook rescan

* Add collapsible chapter list to audiobook details section
2026-02-25 18:35:46 -07:00
ACX bc844fc57e Apply content restrictions to OPDS and Komga feeds (#2889) (#2937) 2026-02-25 17:51:15 -07:00
ACX a8c356297c fix attach file without move when source/target have different library paths (#2999) 2026-02-25 16:17:34 -07:00
ACXandacx10 f0824e2984 Fix Hibernate NPE in bookdrop notification by replacing entity findAll with scalar JPQL query (#2993)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-02-25 14:06:41 -07:00
ACXandacx10 e3b0501935 Fix Kobo sync URLs missing port when Host header omits it (#2986)
* Fix Kobo sync URLs missing port when Host header omits it (#2980)

* bump hono to fix high severity audit vulnerability

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-02-25 12:48:50 -07:00
ACX 9ca44a5a03 Vendor unrar binaries for Alpine 3.23 compatibility (#2950) 2026-02-24 23:12:29 -07:00
ACX 49063b9f7a Fix updating finished date on physical books throwing unsupported book type error (#2949) 2026-02-24 22:56:12 -07:00
ACX 17daf3bdeb Add unrar CLI fallback for RAR5 CBR/CBX files (#2948) 2026-02-24 22:42:48 -07:00
ACX 53897e684d Fix metadata match weights and provider fields DTO mismatch with UI (#2947) 2026-02-24 21:58:05 -07:00
Balázs Szücs f3fffeadce refactor(misc): Harden request handling, tighten defaults, and pin CI deps (#2878)
* refactor(misc): Harden request handling, tighten defaults, and pin CI dependencies

* feat(auth): normalize usernames for login rate limiting

* refactor(epub): fix XML document builder creation

* feat(http): enhance image download with redirect handling and DNS rebinding protection

* chore: upgrade Node.js version to 24 and add frontend dependency audit step

* feat(auth): refactor username normalization for login rate limiting and enhance image download security

* fix(metadata): simplify JAXB validation event handling by using direct import

* chore(pipeline): remove unnecessary --force flag from npm ci and format audit step

* chore(pipeline): streamline frontend dependency audits and add validation step

* fix(image): improve error handling for image processing and download, enforce pixel limits

* test(image): update tests

* fix(icon): update DOMPurify import and replace deprecated theme package

* fix(imports): update theme package imports and format code for consistency

* fix(cors): update allowed origins configuration to support wildcard and trim whitespace
2026-02-24 12:43:14 -07:00
ACX 161c675f74 Fix settings deserialization failure on upgrade due to Jackson 3 null-to-primitive handling (#2928) 2026-02-24 11:11:42 -07:00
ACX 5d0d21d9c4 Smarter AUTO_DETECT grouping for audiobook series folders and multi-part files (#2900) 2026-02-23 23:34:57 -07:00
ACX 6c8da7d826 Fix metadata match weights failing to deserialize when fields are null (#2886) 2026-02-23 15:49:28 -07:00
ACX c4e6d9eb68 Fix Kobo download/image URLs using wrong port behind reverse proxy (#2875) 2026-02-23 15:01:20 -07:00
ACX 3908bc4df3 Fix app crash on startup when /bookdrop volume is not mounted (#2873) 2026-02-23 12:51:26 -07:00
ACXandacx10 88622a66dd feat: add book distributions endpoint for mobile stats (#2855)
* feat: add book distributions endpoint for mobile stats

Add GET /api/v1/user-stats/book-distributions returning rating,
reading progress, and read status distributions. Progress percentages
are coalesced across all sync sources and bucketed into 6 ranges.

* fix(test): use stable date for thisPeriod_week test to avoid Monday boundary flake

The test used Instant.now().minus(1 day) which falls in the previous
ISO week when CI runs on Monday (UTC). Use a date guaranteed to be
within the current week instead.

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-02-22 19:29:21 -07:00
ACX 4e14b7a8e8 Add 10 advanced stats charts (#2850)
* Add 10 advanced stats charts with new API endpoints and visualizations

* Fix chart rendering and visual readability across all new stats charts

* Remove 6 charts, fix session archetypes outliers, make book flow half-width

* Revert book flow to full width

* Remove avg rating from book flow chart, reorder charts, cleanup unused imports
2026-02-22 16:39:22 -07:00
ACX d2e6722f98 Fix reading session timeline long sessions bug, tooltip perf, and ISO week mismatch (#2848) 2026-02-22 12:46:33 -07:00
ACX 44a22eedcf Fix reading stats queries not accounting for timezone (#2842) (#2844) 2026-02-22 11:12:03 -07:00
ACX 08bfafe544 Add author metadata fetching via Audnexus with browser, detail, and editor pages (#2843) 2026-02-22 10:02:56 -07:00
ACXandacx10 ead04b3f1a feat(mobile): scope filter options to library, shelf, or magic shelf (#2838)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-02-21 12:32:44 -07:00
ACX b28fa3c994 Fix shelf-based filter cartesian product in rule evaluator (#2822) (#2837) 2026-02-21 12:28:18 -07:00
ACX b2dbd57151 Fix CBR/CB7 to CBZ conversion losing track of file path (#2829) (#2835) 2026-02-21 11:48:33 -07:00
ACX 38d7aa1150 Add moveFiles option to attach/merge and per-book delete in duplicate merger (#2833)
* Add moveFiles option to attach/merge and per-book delete in duplicate merger

* Remove single-format restriction from attach-to-book action
2026-02-21 11:36:31 -07:00
ACX d515849b71 Fix read status NULL progress handling in rule evaluator (#2821)
* Fix DOES_NOT_CONTAIN NULL handling for READ_STATUS and add null-progress tests

* Fix IS_EMPTY/IS_NOT_EMPTY parity for readStatus in FE rule evaluator
2026-02-20 16:30:30 -07:00
ACXandacx10 2223b18d0f Add duplicate book detection/merge and fix format-related data loss (#2820)
* Add duplicate book detection and merge feature

* Remove delta sync, ETag, and IndexedDB caching

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-02-20 16:09:45 -07:00
ACXandacx10 9ace45a8ea Fix null collection errors when processing PDFs, audiobooks, and physical books (#2817)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-02-19 23:11:37 -07:00
ACX 303fb905d6 Fix additional file uploader bugs and move formats to metadata header (#2816) 2026-02-19 22:51:58 -07:00
dependabot[bot] 8aa89470ea chore(deps): bump org.springframework.boot (#2813)
Bumps the gradle-dependencies group in /booklore-api with 1 update: [org.springframework.boot](https://github.com/spring-projects/spring-boot).


Updates `org.springframework.boot` from 4.0.2 to 4.0.3
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v4.0.2...v4.0.3)

---
updated-dependencies:
- dependency-name: org.springframework.boot
  dependency-version: 4.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gradle-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-19 21:25:45 -07:00
ACXandacx10 b7fb04235c Increase max HTTP header size to fix Kobo sync with large libraries (#2809)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-02-19 15:53:09 -07:00
acx10 a0a97ffbd1 feat(mobile-api): add book filtering and filter-options endpoint
Add fileType, minRating, maxRating, authors, and language query params
to GET /api/mobile/v1/books. Add GET /api/mobile/v1/filter-options
endpoint returning available authors, languages, file types, and read
statuses for the authenticated user's accessible libraries.
2026-02-19 14:21:34 -07:00
acx10 2b2e0bbd51 Permanently disable Swagger API docs 2026-02-19 13:19:51 -07:00
ACXandacx10 2f6e857005 Fix IllegalArgumentException in BookRuleEvaluatorService numeric comparisons and add tests (#2795)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-02-18 14:27:16 -07:00
ACXandacx10 4878065eff Fix email provider creation failing due to null shared field (#2794)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-02-18 13:42:17 -07:00
ACXandacx10 bb0609a78a Add bidirectional Kobo reading progress sync (#2791)
* Add bidirectional Kobo reading progress sync

* Gate all two-way sync paths behind the toggle

* Add comprehensive unit tests for Kobo services

---------

Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-02-18 13:32:12 -07:00
arjunsrinivasan1997 f4d1ba7aae feat(bookdrop): add ability to poll the bookdrop folder (#2768)
* feat(bookdrop): add ability to poll the bookdrop folder

* fix(bookdrop): Modify bookdrop scan behavior to only enqueue newly seen files to reduce duplicate log messages
2026-02-17 20:19:42 -07:00
ACXandacx10 7175f2cff2 Fix bookdrop race condition processing files before fully written (#2267) (#2785)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-02-17 16:27:22 -07:00
ACXandacx10 4062f1f83f Fix audit log description overflow crashing bulk metadata refresh (#2778) (#2783)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-02-17 15:59:52 -07:00
ACX 2c391cb1f4 chore: fix memory leaks, add aria-labels, improve type safety and logging (#2764) 2026-02-15 09:42:43 -07:00
ACX 0358667323 fix: use audiobook thumbnail URL for audiobook entries in notebook (#2763) 2026-02-15 09:16:11 -07:00
ACX 03272f7c35 chore: add caching, validation, lazy routes, refresh rate limiting, JaCoCo, and cleanup (#2762)
* feat: add login rate limiting to prevent brute-force attacks

* chore: add caching, validation, lazy routes, refresh rate limiting, JaCoCo, and remove dead code
2026-02-15 08:51:25 -07:00
ACX f7650d9fd6 feat: add login rate limiting to prevent brute-force attacks (#2761) 2026-02-15 08:25:12 -07:00
ACX 0318d1b3bb feat: enhance audit logs with geo flags, relative time, and UX improvements (#2760) 2026-02-15 08:11:39 -07:00
ACX c9551ef4ab feat: add audit log system for tracking admin-significant actions (#2759) 2026-02-15 00:24:25 -07:00