Commit Graph
14 Commits
Author SHA1 Message Date
ngthanhvu 320eed551e feat: enhance comment section with reply functionality and pinning feature
- Added ability to pin comments for admin users.
- Implemented nested replies with a recursive component for better organization.
- Improved comment loading with time-ago formatting for replies.
- Refactored comment fetching logic to include replies in a structured format.
- Updated UI to reflect changes in comment state (pinned, anonymous).
- Added loading indicators for comment submission and reply actions.
- Enhanced error handling for comment operations.
2026-07-24 03:39:06 -04:00
ngthanhvu 3d075f320c Add database migration snapshots for comment_votes, comments, movies, and users tables
- Created 0009_snapshot.json with initial structure for comment_votes, comments, movies, and users tables.
- Created 0010_snapshot.json with updated structure for comments, including new fields: pinned and spoiler.
- Created 0011_snapshot.json with further updates to comments, adding anonymous field and refining existing structures.
2026-07-24 00:06:03 -04:00
ngthanhvu 70d8fc5bfa feat: thêm ít avatar 2026-07-23 11:00:05 -04:00
ngthanhvu f42dff9b0a feat: add episode total handling and display across movie pages
- Implemented `getEpisodeDisplay` function to format episode information for movies.
- Updated movie display components to show episode information using the new function.
- Added `episodeTotal` field to the movies schema and updated related API endpoints to handle this new field.
- Enhanced movie synchronization process to fetch and store episode totals from external sources.
- Created a new error page component for better user experience on 404 errors.
- Added migration scripts to update the database schema for episode totals.
2026-07-23 02:56:24 -04:00
ngthanhvu a35403a5b9 feat: implement caching for .ts files in HLS proxy middleware 2026-07-22 23:11:12 -04:00
ngthanhvu 221c132e60 feat: add HLS proxy, view tracking, and player improvements
- Add HLS proxy middleware for CORS bypass
- Add view tracking API endpoint
- Improve HLS player with proxy fallback mechanism
- Add custom episode support in admin
- Update admin movie list with view count
- Add description expand/collapse on movie detail
- Fix hydration warnings in watch page
2026-07-22 11:43:14 -04:00
ngthanhvu d982449464 feat: add authentication modal component and user authentication logic
- Implemented AuthModal.vue for user login and registration with form handling.
- Created useAuth composable for managing user state and authentication requests.
- Added admin route middleware to protect admin routes.
- Developed admin login page with authentication checks.
- Implemented API endpoints for user management (login, logout, fetch user, register).
- Created database migrations for users table and updated movies table.
- Added utility functions for password hashing and JWT token management.
2026-07-22 04:26:58 -04:00
ngthanhvu ad8d577493 feat: add movie management API and database schema
- Implemented movie CRUD operations with endpoints for creating, retrieving, updating, and deleting movies.
- Added pagination and filtering capabilities for movie retrieval.
- Integrated Redis caching for improved performance on movie data retrieval.
- Created database schema for movies with necessary fields and types.
- Added migration files for initial movie table creation and subsequent updates.
- Configured database connection using Drizzle ORM with MySQL.
- Established Redis connection utility for caching.
2026-07-22 00:31:10 -04:00
ngthanhvu 30502c9854 feat: rebrand site to CineK 2026-05-24 22:35:13 +07:00
thanhvudaynee f2479074df feat: implement movie player page with HLS and embedded streaming support, navigation, and watch history tracking 2026-05-23 15:08:57 +07:00
thanhvudaynee 84c3549157 feat: implement AppHeader with authentication, search, and navigation, plus add movie utility types and showtimes page skeleton 2026-05-22 13:20:09 +07:00
thanhvudaynee 9c52a7927c feat: implement movie detail page with multi-source support, library features, and responsive layout 2026-05-21 23:07:59 +07:00
thanhvudaynee bc881aee5b feat: implement movie utility service and detail/view pages for Korean movies 2026-05-18 14:51:01 +07:00
thanhvudaynee 34d25df560 feat: implement core Nuxt application with film browsing, search, and detail page functionality using OPhim and NguonC APIs. 2026-05-17 20:30:19 +07:00