Commit Graph
795 Commits
Author SHA1 Message Date
ACX 4d2eace655 fix comic book deletion failing with transient entity error (#3000) (#3067) 2026-02-27 01:49:10 -07:00
ACX f9132fea12 add library health indicator in sidebar (#3005) (#3066) 2026-02-27 01:32:27 -07:00
ACX c67291cc7f add codec, chapter count, and bitrate magic shelf filters (#3065) 2026-02-27 00:50:43 -07:00
ACX 6a610c0bb1 fix magic shelf audiobook duration filter and add missing audio file types (#3059) (#3064) 2026-02-27 00:41:38 -07:00
Balázs Szücs 88d7192d87 fix(goodreads): handle null and blank timestamps in date conversion (#3034) 2026-02-26 23:45:18 -07:00
ACX 0c23424f68 fix medium and high severity security vulnerabilities (#3062) 2026-02-26 23:43:30 -07:00
ACX d2075fd371 fix medium severity security vulnerabilities (#3061) 2026-02-26 23:01:05 -07:00
ACX 46d744318d fix critical and high severity security vulnerabilities (#3060) 2026-02-26 22:34:01 -07:00
dependabot[bot] e1005e5ac6 chore(deps): bump the gradle-dependencies group (#3048)
Bumps the gradle-dependencies group in /booklore-api with 8 updates:

| Package | From | To |
| --- | --- | --- |
| org.flywaydb:flyway-mysql | `12.0.1` | `12.0.2` |
| com.twelvemonkeys.imageio:imageio-jpeg | `3.13.0` | `3.13.1` |
| com.twelvemonkeys.imageio:imageio-tiff | `3.13.0` | `3.13.1` |
| com.twelvemonkeys.imageio:imageio-webp | `3.13.0` | `3.13.1` |
| com.twelvemonkeys.imageio:imageio-bmp | `3.13.0` | `3.13.1` |
| [com.github.junrar:junrar](https://github.com/junrar/junrar) | `7.5.7` | `7.5.8` |
| [tools.jackson:jackson-bom](https://github.com/FasterXML/jackson-bom) | `3.0.4` | `3.1.0` |
| org.hibernate.orm | `7.2.4.Final` | `7.2.5.Final` |


Updates `org.flywaydb:flyway-mysql` from 12.0.1 to 12.0.2

Updates `com.twelvemonkeys.imageio:imageio-jpeg` from 3.13.0 to 3.13.1

Updates `com.twelvemonkeys.imageio:imageio-tiff` from 3.13.0 to 3.13.1

Updates `com.twelvemonkeys.imageio:imageio-webp` from 3.13.0 to 3.13.1

Updates `com.twelvemonkeys.imageio:imageio-bmp` from 3.13.0 to 3.13.1

Updates `com.github.junrar:junrar` from 7.5.7 to 7.5.8
- [Release notes](https://github.com/junrar/junrar/releases)
- [Changelog](https://github.com/junrar/junrar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/junrar/junrar/compare/v7.5.7...v7.5.8)

Updates `tools.jackson:jackson-bom` from 3.0.4 to 3.1.0
- [Commits](https://github.com/FasterXML/jackson-bom/compare/jackson-bom-3.0.4...jackson-bom-3.1.0)

Updates `org.hibernate.orm` from 7.2.4.Final to 7.2.5.Final

---
updated-dependencies:
- dependency-name: org.flywaydb:flyway-mysql
  dependency-version: 12.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gradle-dependencies
- dependency-name: com.twelvemonkeys.imageio:imageio-jpeg
  dependency-version: 3.13.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gradle-dependencies
- dependency-name: com.twelvemonkeys.imageio:imageio-tiff
  dependency-version: 3.13.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gradle-dependencies
- dependency-name: com.twelvemonkeys.imageio:imageio-webp
  dependency-version: 3.13.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gradle-dependencies
- dependency-name: com.twelvemonkeys.imageio:imageio-bmp
  dependency-version: 3.13.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gradle-dependencies
- dependency-name: com.github.junrar:junrar
  dependency-version: 7.5.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gradle-dependencies
- dependency-name: tools.jackson:jackson-bom
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gradle-dependencies
- dependency-name: org.hibernate.orm
  dependency-version: 7.2.5.Final
  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-26 21:02:13 -07:00
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