Commit Graph

42 Commits

Author SHA1 Message Date
virtus 878018ca11 refactor: Streamline EPUB handling with new split modes and improved error management
Build and Push Reader Image / docker (push) Successful in 1m32s
- Removed legacy AI Tool references and unnecessary fields from the README and various components.
- Introduced new EPUB split modes (toc, regex, tag) to enhance flexibility in chapter extraction.
- Updated import and chapter management components to utilize the new EPUB split functionality.
- Improved error handling in the login API route for better user feedback.
- Cleaned up unused files and optimized the overall code structure for maintainability.
2026-05-19 00:15:19 +07:00
virtus 3036854cf2 refactor: Remove series-related fields and components to streamline novel management
Build and Push Reader Image / docker (push) Successful in 41s
- Eliminated seriesId and related fields from various models and components to simplify the data structure.
- Updated UI components to reflect the removal of series dependencies, enhancing clarity and maintainability.
- Adjusted API calls and data handling to ensure compatibility with the new structure.
2026-05-12 14:37:37 +07:00
virtus 09734cdadd chore: Update Dockerfile and pnpm configuration to enable build scripts for dependencies
Build and Push Reader Image / docker (push) Successful in 1m9s
2026-05-11 15:49:24 +07:00
virtus 7ad39b3639 fix: Update Dockerfile to allow build script approvals for pnpm dependencies
Build and Push Reader Image / docker (push) Failing after 26s
2026-05-11 15:42:52 +07:00
virtus 8df539fa87 chore: Update package.json to include built dependencies for pnpm
Build and Push Reader Image / docker (push) Failing after 21s
2026-05-11 15:32:06 +07:00
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 3cc0ea1b9f refactor: Remove unused volume fields and improve error handling in novel and chapter management
Build and Push Reader Image / docker (push) Successful in 40s
2026-05-05 01:09:12 +07:00
virtus 9005cfa5ef feat: Enhance AI suggestion functionality in ImportClient and improve compactLine handling
Build and Push Reader Image / docker (push) Successful in 42s
2026-05-04 20:59:30 +07:00
virtus 350c4dfa18 Refactor code structure for improved readability and maintainability
Build and Push Reader Image / docker (push) Successful in 1m51s
2026-05-04 19:43:12 +07:00
virtus 5f2c6d26f6 feat: Refactor Import Client for EPUB management with enhanced UI and functionality
Build and Push Reader Image / docker (push) Successful in 1m17s
- Implemented a multi-step wizard for importing EPUB files, including search, metadata review, chapter preview, and import progress tracking.
- Added genre management features, allowing users to create, select, and delete genres during the import process.
- Enhanced asset search functionality with improved API integration and user feedback.
- Updated the UI components for better user experience and responsiveness.
- Removed unused AI Tool links from the Novel Client and Mod Dashboard.
- Cleaned up the HomePage API response handling to streamline data fetching for popular and latest novels.
- Adjusted TypeScript definitions for route types in the Next.js environment.
2026-05-03 20:57:50 +07:00
virtus a6acb2b816 Remove unused dependencies from pnpm-lock.yaml to streamline package management
Build and Push Reader Image / docker (push) Successful in 1m8s
2026-05-01 19:23:03 +07:00
virtus 36ecff2725 Refactor ImportClient component: add pagination, tab switching, and auto-review functionality; remove unused models and scripts
Build and Push Reader Image / docker (push) Failing after 10s
2026-05-01 19:20:19 +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 e22b34088b Add proxy route for truyen API: implement GET and POST methods with dynamic handling
Build and Push Reader Image / docker (push) Successful in 50s
2026-05-01 17:13:06 +07:00
virtus 3e8496cfeb Add import functionality for EPUB files: create ImportClient component and ModImportPage
Build and Push Reader Image / docker (push) Successful in 48s
2026-04-30 01:54:08 +07:00
virtus 19cca5b5d0 Remove deprecated agent files and add new architecture, contract, and feature documentation for the Reader Suite
Build and Push Reader Image / docker (push) Successful in 50s
2026-04-29 23:24:53 +07:00
virtus 9b1f7bb060 Refactor Google Identity handling: improve script loading, enhance error management, and streamline authentication flow
Build and Push Reader Image / docker (push) Successful in 39s
2026-04-24 02:54:54 +07:00
virtus 6e0d1831a5 Refactor Google Identity handling: improve script loading, enhance error management, and streamline token request process
Build and Push Reader Image / docker (push) Successful in 37s
2026-04-24 02:44:50 +07:00
virtus 223850922e Add Google Client ID fetching in auth context and create auth config API route
Build and Push Reader Image / docker (push) Successful in 38s
2026-04-24 02:08:33 +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 d9a6629d31 Add NODE_OPTIONS for IPv4-first DNS resolution and set timeout for Google provider in auth options
Build and Push Reader Image / docker (push) Successful in 38s
2026-04-24 01:16:09 +07:00
virtus 0be9b5d577 Refactor authentication options to improve environment variable handling and add error logging for API sync failures
Build and Push Reader Image / docker (push) Successful in 1m25s
2026-04-24 01:05:29 +07:00
virtus 73c607fee7 Add new agent and prompt files for API contract, backend security, mobile app, SDET, sleuth debugging, system architecture, web frontend, and regression testing
Build and Push Reader Image / docker (push) Successful in 1m12s
2026-04-07 18:48:52 +07:00
virtus fbec3877d0 Refactor Gitea Registry login to use SERVER_URL variable for improved clarity
Build and Push Reader Image / docker (push) Successful in 1m18s
2026-04-07 05:30:24 +00:00
virtus ce11541a4c Refactor Docker publish workflow to use Gitea actor for username and streamline image tagging
Build and Push Reader Image / docker (push) Failing after 5s
2026-04-07 05:28:03 +00:00
virtus 253a13cc68 Add GitHub Actions workflow for building and pushing Docker image
Build and Push Reader Image / docker (push) Failing after 5s
2026-04-07 05:13:05 +00:00
virtus c811135b92 Add genre management functionality and update sidebar navigation 2026-04-06 18:24:05 +00: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 ffd177718f Refactor code structure for improved readability and maintainability 2026-03-23 11:12:56 +07:00
virtus e345d9ccce Refactor code structure for improved readability and maintainability 2026-03-14 02:25:36 +07:00
virtus 7f7ee254d8 Refactor code structure for improved readability and maintainability 2026-03-14 02:15:09 +07:00
virtus ac9cecdcdb feat: add missing fields management for novels
- Implemented API routes for fetching and updating novels with missing fields.
- Created a client-side interface for moderators to manage novels with missing information.
- Added bulk update functionality for missing fields including author, cover, description, and genres.
- Integrated genre management with the ability to create new genres on the fly.
- Enhanced the home page with a carousel for displaying popular novels.
2026-03-13 18:50:56 +07:00
virtus 5686753ab7 Refactor code structure for improved readability and maintainability 2026-03-11 17:02:31 +07:00
virtus 1139125460 Merge branch 'main' of github.com:fevirtus/reader 2026-03-10 16:38:56 +07:00
virtus 8908395867 Refactor code structure for improved readability and maintainability 2026-03-10 16:37:55 +07:00
fevirtus c5f1cc03e9 Delete 2026-03-09 23:38:18 +07:00
virtus 75ed8e233b Add moderation APIs and admin UI
Add moderator/admin backend APIs and client features for managing novels and chapters. New endpoints include mod chapter routes (paginated list, single GET, PUT, DELETE, and bulk optimize), mod novel routes (create, GET by id, update, delete), genre CRUD, user bookmarks, novel comments, and rating endpoints. Update EPUB import to use a shared slugify util. Enhance moderator UI: chapter manager gains pagination, bulk optimization preview/apply, edit/delete dialogs; novel client adds genre management and edit/delete flows. Also update Prisma schema, add a DB wipe script, remove unused lib/data.ts, and adjust related types/utils and bookmark context.
2026-03-06 17:30:56 +07:00
virtus ce805adb08 Add EPUB upload + DB integration
Add server-side EPUB import and integrate Prisma + Mongo for novels/chapters. Introduces a new moderator API route (app/api/mod/epub/route.ts) that parses .epub files, creates a novel record in Prisma, and inserts chapter documents into MongoDB via the Chapter Mongoose model. Frontend: novel management UI now supports EPUB upload (app/mod/truyen/novel-client.tsx) with progress/toasts and preserves the manual 'Add novel' dialog. Convert app pages to fetch real data from Prisma and Mongo (app/page.tsx, app/truyen/[slug]/page.tsx, app/truyen/[slug]/[chapterId]/page.tsx), adapt types/props to use authorName, and adjust chapter/comment IDs to use Mongo _id strings. Minor fixes: TTS player logs playback errors, UI text fixes (e.g. "Chương"), and novel-card/other components updated for authorName. package.json updated with epub2, html-to-text and types; pnpm lock updated. Adds tsconfig.tsbuildinfo.
2026-03-05 18:02:11 +07:00
virtus 112e8604e2 Initial commit 2026-03-05 16:46:38 +07:00