Skip to content

Dev - #117

Draft
magrhino wants to merge 26 commits into
masterfrom
dev
Draft

Dev#117
magrhino wants to merge 26 commits into
masterfrom
dev

Conversation

@magrhino

Copy link
Copy Markdown
Owner

No description provided.

magrhino and others added 26 commits December 4, 2025 22:23
  Codebase Structure

  - Updated views list: Removed SearchView.vue and ShowcaseView.vue, added DiscoverView.vue, LibraryView.vue, SettingsView.vue
  - Added new components: GearMenu.vue, ViewToggle.vue, GlassSelect.vue, GlassTitle.vue
  - Added new composables: useDiscoverSearch.js, useViewToggle.js, useAddTorrentFlow.js
  - Updated route count from 5 to 6

  Key Workflows

  - Replaced "Search" workflow with "Discover Search (Unified)" explaining the single-API architecture

  Frontend Architecture

  - Updated router section with all 6 routes and their purposes
  - Updated views list to match new structure
  - Updated components list with new Glass* and toggle components
  - Added useDiscoverSearch() and useViewToggle() to composables list

  Key Features

  - Replaced "Showcase View" section with "Discover View (Unified Search)"
  - Documents: single API architecture, cards/table modes, instant view switching, unified limits (25/50/100)
  - Updated "Library Visibility" to reference Discover view
  - Updated "Description Fetching" to reference Discover view detail panel
- Add `cover_source_priority` setting (env `COVER_SOURCE_PRIORITY`) and wire it through the Settings API + UI
- Copy a best-match cover image on import (Shelfarr cache vs torrent image, with fallback)
- Track auto-import failures with exponential backoff retries and persist last_error/retry_count
- Retry ABS verification when unreachable and record verify_retry_count
- Ignore image-only directories during multi-book detection and keep image files separate from audio
- Add migration 020 for retry/verification tracking columns
Changes:
- Add ABS auth API endpoints under /api/auth
- Add frontend auth composable + LoginView
- Add router auth guards and conditional navbar/logout
- Attach X-ABS-Token header to API requests
- Polish login branding (larger transparent logo)
- Switch ABS integration from static API key/library id to user token auth and settings-managed library list
- Add library discovery/refresh + update cover proxy handling
- Unify frontend API calls under useApi() with centralized X-ABS-Token injection
Persist series-to-Hardcover mappings in covers.db and expose link/unlink + auto-link flows for faster diffs.

Thread X-ABS-Token through import/manual verify and add a regression test; update frontend to show link status, completion, and missing counts.
Show a dialog when Discover searches hit MAM HTTP 502 responses so users can refresh an expired API token instead of seeing a generic failure.
…nd import path vulnerabilities, and restore ABS cover/metadata fetching with token-aware secure caching and healing.
… in build/frontend/src/main.js:11 now resolves during the Vite build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant