Commit Graph

15 Commits

Author SHA1 Message Date
virtus 611213ae5a refactor: remove Series table and related fields from Novel model
Build and Push Reader API Image / docker (push) Successful in 12s
- Dropped the Series table and removed the seriesId field from the Novel model.
- Updated database migration scripts to reflect these changes.
- Adjusted relevant queries and data handling to ensure consistency without the Series relationship.
2026-05-12 14:37:32 +07:00
virtus c985df7579 chore: update architecture and documentation to reflect removal of MongoDB and transition to NAS storage for chapter content
Build and Push Reader API Image / docker (push) Successful in 1m3s
- Updated `.env.example` to remove MongoDB configuration.
- Revised `ARCHITECTURE.md` to reflect changes in data orchestration and storage strategy.
- Removed `CHAPTER_SAVE_DEBUG.md` and `FIXES_APPLIED.md` as they are no longer relevant.
- Updated `CONTRACT.md` to include new error codes.
- Adjusted endpoint documentation in `CROSS_REPO_ENDPOINT_MATRIX.md` and `README.md` to align with the new import flow.
- Removed legacy import scripts and tables from the codebase.
2026-05-11 15:27:56 +07:00
virtus 5a14671b6c feat(api): update novel and chapter modification endpoints to use validated payloads
Build and Push Reader API Image / docker (push) Successful in 12s
2026-05-05 01:09:03 +07:00
virtus d93c26757f feat(router): integrate router API for AI model selection and suggestions
Build and Push Reader API Image / docker (push) Successful in 1m1s
2026-05-04 20:59:26 +07:00
virtus 212d4df42f chore: remove legacy tables and series table scripts
Build and Push Reader API Image / docker (push) Successful in 38s
- Removed mongoose dependency from package-lock.json.
- Deleted legacy import tables: ImportCandidateChapter, AssetNovelMapping, ImportJob, ImportSession, SourceAsset via new script `drop_legacy_import_tables.py`.
- Added script `drop_series_table.py` to drop the Series table.

Co-authored-by: Copilot <copilot@github.com>
2026-05-04 19:43:22 +07:00
virtus 1b1217ace2 feat(storage): add delete_href method to remove files and clean up empty directories
Build and Push Reader API Image / docker (push) Successful in 26s
chore(docker): remove MongoDB service and related configurations from local setup

feat(migrations): create ChapterMeta table and add search_name, size_bytes, mtime_epoch, lastScannedAt, review_status, and review_payload columns to SourceAsset

chore(dependencies): remove motor and pymongo from project dependencies
2026-05-03 20:57:29 +07:00
virtus 6b927f20e1 refactor: replace Next.js server with Uvicorn for backend, remove backfill script
Build and Push Reader API Image / docker (push) Successful in 17s
2026-05-01 19:20:30 +07:00
virtus 9a3bb4b6ce feat(storage): implement NAS content storage with read/write capabilities
Build and Push Reader API Image / docker (push) Successful in 1m3s
feat(docker): configure NAS content and EPUB source directories in docker-compose

feat(migrations): add tables for SourceAsset, ImportJob, ChapterContentRef, and AssetNovelMapping

feat(scripts): create backfill script for populating ChapterContentRef from MongoDB chapters
2026-04-30 01:53:52 +07:00
virtus f933898c56 Add access token expiration configuration and new auth session endpoint
Build and Push Reader API Image / docker (push) Successful in 54s
2026-04-24 01:53:25 +07:00
virtus ff90d0e400 Refactor code structure for improved readability and maintainability 2026-04-06 18:24:07 +00:00
virtus db5c1f0881 Enhance MOD panel API: add ISO date conversion, restore novel retrieval endpoint, and improve recommendation response structure 2026-03-30 14:28:55 +07:00
virtus ac5f5db447 Add Google OAuth configuration and enhance API functionality
- Updated .env.example with WEB_GOOGLE_CLIENT_ID and WEB_GOOGLE_CLIENT_SECRET for Google OAuth.
- Modified README.md to reflect changes in docker-compose for unified web and API deployment.
- Enhanced auth.py to support NextAuth JWT session cookies.
- Improved main.py with lifespan management and additional API endpoints.
- Added mod_overview endpoint in mod.py for MOD panel statistics.
- Updated docker-compose.yml for local API and web service configurations.
2026-03-30 13:55:12 +07:00
virtus 5da7cc4530 Refactor code structure for improved readability and maintainability 2026-03-30 11:44:37 +07:00
virtus cd7b8179dd Remove custom NextAuth type definitions for Session and User 2026-03-30 11:44:30 +07:00
virtus 24f070d14e Initial reader-api backend extracted from reader 2026-03-24 13:55:42 +07:00