Commit Graph
29 Commits
Author SHA1 Message Date
ngthanhvu 6ad96873a7 feat: add gender field to user profile and update related components 2026-07-24 04:55:39 -04:00
ngthanhvu 541cb66c33 feat: implement pagination for comments with load more functionality 2026-07-24 04:30:37 -04:00
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 629d5d7d2d feat: add privacy policy, terms of use, FAQ, and contact page with relevant content 2026-07-23 05:50:13 -04:00
ngthanhvu dd42fe4f29 style: update background color and adjust layout for consistency across pages 2026-07-23 05:21:36 -04:00
ngthanhvu c79955f2a3 Refactor code structure for improved readability and maintainability 2026-07-23 04:14:19 -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 f09e3275eb Refactor: Remove Supabase authentication and related code
- Removed Supabase authentication logic from xem/[slug].vue and yeu-thich.vue.
- Updated favorite and watch later messages to be device-specific.
- Removed unused user state and authentication initialization.
- Deleted supabase.ts plugin file and related configurations.
- Updated nuxt.config.ts to remove Supabase runtime configuration.
- Removed Supabase dependencies from package.json and package-lock.json.
- Adjusted Dockerfile for development environment.
- Added admin layout and pages for managing settings, movies, and users.
- Implemented admin dashboard with statistics and recent activities.
- Created movie and user management interfaces with search functionality.
2026-07-21 23:43:04 -04:00
ngthanhvu 2782ffb75e feat: remove overlay all video 2026-05-31 12:38:33 +07:00
thanhvudaynee a16c1d4846 feat: implement movie playback page with HLS and embedded player support 2026-05-28 16:00:21 +07:00
thanhvudaynee 85734ab32c feat: add home and schedule pages with base configuration 2026-05-26 15:06:11 +07: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 4a91b03678 feat: implement core movie streaming features including dashboard, watch history, authentication, and dynamic media pages 2026-05-21 10:15:02 +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 5d50c6b137 feat: add movie viewing page and initialize home page with history support 2026-05-18 11:04:45 +07:00
ngthanhvu 95a150fb51 feat: responsive navbar, hero và trang chi tiết phim
- Navbar: thêm hamburger menu + sidebar slide trên mobile
- Hero: responsive height, font-size, buttons, ẩn thumbnail carousel trên mobile
- Logo: nhỏ hơn trên mobile
- Trang chi tiết phim: layout mobile giống Ophim, nút xem đỏ, action buttons có label
- Movie card: điều chỉnh padding trên mobile
2026-05-17 22:47:43 +07:00
thanhvudaynee 69f6c90eda feat: add Docker support and implement movie detail and playback pages 2026-05-17 21:01:33 +07:00
thanhvudaynee 8832b620f2 docs: rewrite README to document project features, tech stack, and API architecture 2026-05-17 20:31:34 +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
ngthanhvu 90791df93d Init commit 2026-05-17 18:42:09 +07:00