* 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
* 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>
* 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
* 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
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.
* 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
* feat(stats): add 5 new user statistics charts
* fix(stats): use COALESCE for dateFinished in heartbeat and page turner queries
* refactor(stats): remove heartbeat, genre flow, reading seasons, and abandonment autopsy charts
* feat(stats): add 5 new user statistics charts
* feat(stats): add info tooltips to all 5 new charts
* perf(stats): limit completion race chart to 15 most recent books server-side
* fix(stats): limit completion race to 10 books and cap progress at 100%
* refactor(stats): replace streak bars with GitHub-style activity heatmap calendar
* fix(stats): widen chart info tooltips to prevent tall narrow box
* feat(stats): add info tooltip to Page Turner Score chart
* feat(stats): add info tooltips to 7 existing charts
* refactor(stats): deduplicate chart-info-icon style into global styles.scss
* refactor(stats): fix scoring bugs and improve Reading DNA and Reading Habits charts
* refactor(stats): rebalance Series Progress Tracker layout and unify heatmap footer pills
* feat(stats): add info tooltips to 4 remaining charts
* fix(stats): fix session duration and overlap bugs in Reading Session Timeline