Commit Graph
774 Commits
Author SHA1 Message Date
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
ACX 0899b99188 feat: add metadata presence filter to magic shelf (#2757) 2026-02-14 21:41:03 -07:00
ACX 6f77223686 perf: optimize book list API with ETag, delta sync, and IndexedDB caching (#2753) 2026-02-14 17:47:08 -07:00
ACX 218befb3b5 feat: add grouped field dropdown and composite fields to magic shelf (#2750) 2026-02-14 15:47:34 -07:00
ACX ffd2adb032 perf: strip unused fields from book list API response (#2741)
* perf: strip unused fields from book list API response

* fix: regenerate package-lock.json to sync with package.json
2026-02-13 22:09:01 -07:00
ACX 77b4deb942 feat: add button to fetch metadata from book file in metadata editor (#2739) 2026-02-13 21:04:00 -07:00
ACXandacx10 54f633faad feat: add annotation notebook with server-side pagination (#2736)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
2026-02-13 14:43:31 -07:00
ACX 6b0cc27d1b feat: add else clause and value modifiers to file naming patterns (#2724) 2026-02-12 22:17:55 -07:00
dependabot[bot] 9d3be9ec92 chore(deps): bump the gradle-dependencies group (#2720)
Bumps the gradle-dependencies group in /booklore-api with 2 updates: org.flywaydb:flyway-mysql and [jakarta.xml.bind:jakarta.xml.bind-api](https://github.com/jakartaee/jaxb-api).


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

Updates `jakarta.xml.bind:jakarta.xml.bind-api` from 4.0.4 to 4.0.5
- [Release notes](https://github.com/jakartaee/jaxb-api/releases)
- [Commits](https://github.com/jakartaee/jaxb-api/compare/4.0.4...4.0.5)

---
updated-dependencies:
- dependency-name: org.flywaydb:flyway-mysql
  dependency-version: 12.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gradle-dependencies
- dependency-name: jakarta.xml.bind:jakarta.xml.bind-api
  dependency-version: 4.0.5
  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-12 20:48:48 -07:00
acx10 5e0de4d3eb fix(epub): suppress FileNotFoundException for optional EPUB files 2026-02-12 16:40:34 -07:00
ACX 414b6d8d9e fix(ui): encode filter values in query params to handle commas in names (#2117) (#2717) 2026-02-12 09:21:23 -07:00
Balázs Szücs ae041f900f feat(epub): enhance EPUB processing with optimized path validation and content type mapping (#2598)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
2026-02-12 09:13:01 -07:00
ACX f8f448a19b fix: reset audiobook progress and clear cached progress in UI (#2641) (#2711) 2026-02-12 08:21:05 -07:00