Commit Graph

9 Commits

Author SHA1 Message Date
virtus 669addf799 feat: Revamp EPUB import process with batch upload support and enhanced API integration
Build and Push Reader Image / docker (push) Failing after 22s
- Introduced a new batch import client for handling multiple EPUB files simultaneously.
- Updated API routes for previewing and importing EPUB files, improving error handling and response management.
- Enhanced genre management during import, allowing for dynamic creation and association of genres.
- Implemented long-fetch handling to accommodate lengthy processing times for large EPUB files.
- Refined UI components for better user experience in the import workflow.
2026-05-11 15:27:13 +07:00
virtus 78788c6900 Remove truyen API rewrite rule from next.config.mjs
Build and Push Reader Image / docker (push) Successful in 1m20s
2026-05-01 17:29:04 +07:00
virtus 7c4404ded8 Refactor authentication system: replace NextAuth with custom login/logout/session handling, improve cookie management, and enhance error handling
Build and Push Reader Image / docker (push) Successful in 39s
2026-04-24 01:53:32 +07:00
virtus 690a2fbd51 Add Next.js instrumentation hook and update HTTP agent options to disable keep-alive for Google OAuth
Build and Push Reader Image / docker (push) Successful in 2m21s
2026-04-24 01:30:05 +07:00
virtus d3f3d9c91a Implement user API proxying and enhance missing fields handling 2026-03-30 14:28:40 +07:00
virtus 41aca718c9 Refactor API integration and data fetching for genre, novel, and chapter pages
- Replace Prisma database calls with API fetches from the reader API in GenreDetailPage, GenresPage, SearchPage, ChapterReaderPage, and NovelDetailPage.
- Introduce new utility functions for API requests in server-api.ts, including error handling.
- Update authentication flow in auth.ts to sync Google login with the reader API.
- Modify NextAuth session and JWT types to include additional user information.
- Clean up unused imports and code related to Prisma and MongoDB connections.
- Adjust the configuration in next.config.mjs to remove unnecessary API routes.
2026-03-30 13:54:51 +07:00
virtus f9bb247ff1 Refactor API routes and remove unused endpoints
- Deleted the following API routes:
  - `upload-cover`
  - `truyen/[id]/chapters`
  - `truyen/[id]/comments`
  - `truyen/[id]/rate`
  - `truyen/suggest`
  - `user/bookmarks`
  - `user/recommendations`
  - `user/settings`

- Updated `chapter-client.tsx` and `novel-client.tsx` to handle error messages more gracefully.
- Adjusted pagination logic in `tim-kiem/page.tsx` to improve user experience.
- Added support for additional search parameters in the search functionality.
- Introduced API rewrites in `next.config.mjs` to route requests to a reader API.
2026-03-30 11:35:03 +07:00
virtus 8908395867 Refactor code structure for improved readability and maintainability 2026-03-10 16:37:55 +07:00
virtus 112e8604e2 Initial commit 2026-03-05 16:46:38 +07:00