Commit Graph

184 Commits

Author SHA1 Message Date
neon 7d3a88e23d feat(client): add staging and statistics nav buttons to header 2026-03-20 03:19:38 -06:00
neon 72f587859b fix(reader): extract CBZ cover via central directory for data ZIPs 2026-03-20 01:06:28 -06:00
neon 9d61ded2ff chore: add OSS readiness files and contributor docs 2026-03-20 00:34:07 -06:00
neon a7df587c1e feat: implement reading session tracking for epub, pdf, and cbz readers 2026-03-19 20:18:09 -06:00
neon 069fa1488c feat: add user-level statistics pipeline and dashboard charts 2026-03-19 18:05:22 -06:00
neon d65a4815bc feat(stats): add advanced analytics charts and defaults 2026-03-19 08:11:17 -06:00
neon 6557a2b9e1 feat(metadata): add runtime provider throttle status in settings 2026-03-19 05:32:17 -06:00
neon 0cf8eff3b4 feat(client): implement route-aware page titles and author deletion 2026-03-19 04:29:06 -06:00
neon 9adf7fc85b fix(metadata): enforce genre provider scope and update resolver tests 2026-03-18 12:04:20 -06:00
neon 55c28195d6 fix(server): use insert-first upsert for genre/author/tag race condition 2026-03-18 11:53:37 -06:00
neon 9ef641e650 feat: add audit logging system
- audit_log table with action, resource, resourceId, description, ip, countryCode, meta
- AuditEventsService (EventEmitter), AuditRepository, AuditService, AuditInterceptor
- @Auditable decorator wired on all mutating endpoints across every controller
- auth events (login, logout, register, password change, failed login) emitted directly in AuthService with IP capture
- geoip-lite for offline IP-to-country resolution
- nightly retention cleanup via cron with configurable audit_retention_days setting
- superuser-only GET /audit-log endpoint with userId, action, resource, date range filters
- AuditLogPage.vue with table, filters, pagination, and failed-auth row highlighting
- regenerated baseline migration to include audit_log in 0000_baseline.sql
2026-03-18 11:34:13 -06:00
neon c836eedca9 feat: add per-provider throttle backoff for metadata fetch
- detect HTTP 429 via fetchWithThrottle utility and throw ProviderThrottleError
- track per-provider cooldown windows with exponential backoff in ProviderThrottleTracker
- Google Books uses a conservative schedule (10m/30m/1h/2h/4h); others use default (2m/5m/10m/30m/1h)
- pipeline filters throttled providers before each book fetch
- orchestrator extends inter-book delay to 10-20s when any provider is throttled
2026-03-18 09:09:32 -06:00
neon d07b876b9c feat: add multi-book edit action to selection bar 2026-03-18 08:12:25 -06:00
neon 416952a3a0 feat: refine theme tokens and apply consistent styling 2026-03-18 06:57:19 -06:00
neon e61486fae9 feat(stats): introduce statistics with charts, KPI summary, and filter 2026-03-17 23:38:29 -06:00
neon 3c27802be2 fix(client): improve virtual grid layout stability and alignment 2026-03-16 22:42:52 -06:00
neon 4b6f276070 refactor(settings): rename Operations section to Maintenance 2026-03-16 20:10:18 -06:00
neon 6842a43f6c feat: add sort toolbar and extended filters to authors page 2026-03-16 18:06:44 -06:00
neon 0a11d54fe0 feat: add drag-and-drop reorder for libraries, lenses, and collections
- add displayOrder column to lenses and collections schema
- add POST /api/v1/{lenses,collections}/reorder endpoints (user-scoped)
- move Lens type to @projectx/types; add displayOrder to Collection type
- add useDraggableOrder composable with optimistic updates, debounce, rollback, and unmount cleanup
- wire VueDraggable into AppSidebar with per-section edit-mode toggle
- replace section header add/reorder buttons with a single kebab dropdown
2026-03-16 16:19:19 -06:00
neon 854ab783c8 feat: multi-format read and download support
- add split Read button on book detail page (primary format direct, dropdown for others)
- add useBookDownload composable with auth-aware blob download and ZIP export
- add BookDownloadButton component for detail page and files tab
- refactor useBookBulkActions to delegate export to useBookDownload
- add Open/Download submenus to book card dropdown
- group Edit/Refresh/Regenerate under Metadata submenu in book card
2026-03-16 08:33:03 -06:00
neon d0329aa391 feat: separate author cover size/shape settings with circle layout 2026-03-16 06:55:38 -06:00
neon 52f1727fb1 feat: overhaul scanner module with 14 improvements and 147 unit tests 2026-03-16 05:24:37 -06:00
neon c00410f02e chore: tighten sidebar spacing and nav item padding 2026-03-16 03:38:44 -06:00
neon f81fef7b9b feat: overhaul book detail tab layout and metadata 2026-03-16 01:56:15 -06:00
neon 08fbad434b chore: update app defaults and improve book card rating overlay
- set metadata fetch preferences defaults (goodreads-first provider order, saveProviderIds, genre merge)
- set appearance defaults: dark theme, vinyl pattern, brightness 50, updated card overlays
- set cover size 140px, grid gap 20px, new indicator threshold 7 days
- replace rating dots with colored star badge (per-rating color scale)
- set convert-to-kepub default to false
2026-03-15 22:20:21 -06:00
neon 3340ee7388 feat: enhance metadata fetch and author enrichment config 2026-03-15 21:11:58 -06:00
neon aa2456fbf8 feat(authors): add auto-enrichment queue, worker safety, and live status 2026-03-13 08:14:45 -06:00
neon c5fcabded7 feat: enhance book metadata editing and details view
- add tags input to book edit page
- rearrange provider IDs in edit page to a single row
- make rating stars clickable in book details for direct updates
- always display rating in book details even if not set
- improve alignment of title, score badge, and provider icons
2026-03-13 03:31:18 -06:00
neon c9221f92be feat(metadata): add configurable metadata score with filter support 2026-03-13 03:05:51 -06:00
neon 3d8dabf9ae feat(library): apply watcher toggle changes without restart 2026-03-12 20:16:52 -06:00
neon 52a44a7970 fix: fix kobo cover sync and split device controller by concern 2026-03-12 19:50:47 -06:00
neon dd156da144 feat: add iTunes metadata provider support 2026-03-12 14:41:26 -06:00
neon febed98ff5 feat(settings): update reader and library settings with auto-finalize 2026-03-11 20:33:31 -06:00
neon c8bb7dd90a chore: tighten settings page sizing and polish
- reduce icon/card sizes in Libraries, Kobo settings to match other pages
- shrink accent color swatches in Appearance settings
- widen OIDC input fields
- reduce Save button height in File Naming settings
- constrain Kobo slider ranges to sane values (reading 0.5-10%, finished 75-100%, KEPUB 1-500MB)
- collapse Kobo setup guide to single column
- update DTO validation bounds to match new slider ranges
- remove vue/v-on-handler-style ESLint rule
2026-03-11 18:10:02 -06:00
neon 8abfb82214 chore: speed up Docker builds
- drop arm64/QEMU — build amd64 only
- add pnpm store cache mounts to client and server install steps
2026-03-11 14:07:42 -06:00
neon 4c4a5cbf25 chore: migrate server tests from Jest to Vitest 2026-03-11 13:30:04 -06:00
neon b64aa519ef chore: migrate server tests from Jest to Vitest 2026-03-11 13:07:31 -06:00
neon 173d7585bf feat: add empty states and improve sidebar badge styling 2026-03-11 09:47:42 -06:00
neon 2102d0f9d8 feat(scanner): improve staging metadata and destination finalize flow 2026-03-11 03:33:31 -06:00
neon 9d25e219ab chore: remove unused files and keep staged settings updates 2026-03-10 22:44:53 -06:00
neon 909806636c chore: update husky hook scripts for v9 2026-03-10 20:32:52 -06:00
neon 1b9db4f374 feat(client): wire book detail actions and reorganize reader structure
refactor(reader): reorganize epub/pdf/cbz into sub-folders, apply theme tokens, fix PDF blur and text selection
2026-03-10 20:25:52 -06:00
neon 956801f907 feat: redesign settings pages, theme tokens, and fix layout alignment 2026-03-10 04:21:33 -06:00
neon 440972cb89 refactor(settings): move settings from drawer to dedicated tabbed view 2026-03-10 04:20:33 -06:00
neon 652dcba69a feat: replace roles system with flat permissions and isSuperuser flag 2026-03-10 04:19:33 -06:00
neon dbed51fcd0 feat: expand background patterns and reorganize by visual type 2026-03-10 04:18:33 -06:00
neon 86a1b512cc feat(auth): add initial setup flow and harden auth/session handling 2026-03-10 04:17:33 -06:00
neon 17e8ba0f49 fix(client): extract onSearchBlur to prevent Prettier multiline issue
- Prettier was re-expanding the inline semi-colon separated handler back to multi-line on each commit, breaking the Vue compiler
- extract into a named function to avoid the issue
2026-03-10 04:16:33 -06:00
neon dcc60006f5 feat: expand accent palette and replace ThemeToggle with ThemePicker
- add 16 pastel accent colors (coral, peach, butter, lemon, celadon, sage, mint, seafoam, powder, mist, periwinkle, wisteria, lavender, orchid, blush, grey)
- replace ThemeToggle icon button with ThemePicker segmented light/dark control
- wire ThemePicker into AppHeader alongside existing accent/radius/background pickers
- update AccentPicker, BackgroundPicker, RadiusPicker to reflect new palette structure
- update theme store with ACCENT_VIVID/ACCENT_PASTEL split and full type union
2026-03-10 04:15:33 -06:00
neon c882b8f2fe fix: smooth book navigation by preventing view remount on bookId change 2026-03-10 04:14:33 -06:00