16 Commits
Author SHA1 Message Date
ngthanhvu 2dac79e5f5 feat(admin): smart dropdown positioning, filter & pagination fixes
- Add getDropdownPosition() to handle table dropdown placement dynamically
- Remove overflow-hidden on admin-card so dropdowns aren't clipped
- Fix totalPages calculation using total/limit instead of missing API field
- Add role/status filters + full pagination to member page
- Create .agents/admin-ui-pitfalls.md for future reference
2026-08-10 00:22:54 -04:00
ngthanhvu f6532d992d feat(admin): improve styling, light mode fixes, filter & pagination for members
- Member page: add role/status filters and pagination (like movie page)
- Member table: match movie table style (centered columns, #eeee borders)
- AdminToggle: change from yellow to CineK Blue (#095DF2)
- Sort icons & pagination: use CineK Blue instead of yellow
- Light mode: fix dropdowns/modals dark bg, narrow text-white override
- Sidebar: white background with proper light-mode colors
- Sync dialog: convert from dark to light mode theme
2026-08-09 22:49:28 -04:00
ngthanhvu 31ddec0739 feat: enhance admin pages with filtering and pagination for members 2026-08-09 22:45:00 -04:00
ngthanhvu 9c8a77f134 feat: cập nhật admin layout 2026-08-07 12:41:20 -04:00
ngthanhvu dda92c2cc6 refactor: remove sync functionality and clean up unused code in index.vue 2026-08-06 05:35:52 -04:00
ngthanhvu 262836b75e refactor: update border colors and improve styling in thanh-vien.vue
- Changed border color classes for better visibility and consistency.
- Adjusted hover effects for table rows to enhance user experience.
- Modified gradient class for member initials for improved aesthetics.
- Updated select input styles for better alignment with design guidelines.
2026-08-05 05:46:40 -04:00
ngthanhvu a36e6c77f8 feat: implement cache busting mechanism and UI improvements
- Added `useCacheBust` composable to manage cache invalidation after movie edits in the admin panel.
- Integrated cache busting in movie sync and delete actions to ensure data consistency across pages.
- Enhanced UI components in the admin movie management and member management pages for better readability and usability.
- Introduced a suggestions tab in the movie detail page to recommend similar movies based on categories.
- Updated styles for various elements to improve the overall aesthetic and user experience.
2026-08-05 05:19:34 -04:00
ngthanhvu 00036a7cc2 feat: implement sorting functionality for movie management and add sections API for recent comments and trending movies 2026-07-29 23:10:40 -04:00
ngthanhvu 1c92c0d50b feat: Update nhiều thứ 2026-07-28 21:55:39 -04:00
ngthanhvu 72bc657d86 feat: implement admin interface for managing custom movie sources and servers with new API endpoint and database schema updates 2026-07-28 03:29:55 -04:00
ngthanhvu 6c1dd39935 feat: change libraly icons 2026-07-25 10:39:40 -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 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