Commit Graph

60 Commits

Author SHA1 Message Date
9276603a70 feat: implement JWT token provider with access and refresh token generation 2026-03-11 19:01:23 +07:00
dc06412f79 done ui 2026-03-11 02:43:33 +00:00
edc1a33547 done i18n 2026-03-06 18:46:21 +00:00
3c24da4af8 refactor: remove i18n dependency and related code
- Removed the i18n module and its related functions from the project.
- Eliminated the usage of getActiveI18n and related locale handling in various components and stores.
- Updated translation handling to use a new instance creation method.
- Cleaned up unused imports and code related to language detection and cookie management.
- Adjusted components to directly utilize the new translation setup.
2026-03-06 12:45:29 +07:00
3491a0a08e fix i18n runtime scoping for SSR requests
Create a dedicated i18next instance per SSR request and remove server context-storage coupling from translation runtime, while keeping a separate client singleton path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 03:02:06 +00:00
6d04f1cbdc replace vue-i18n with i18next-vue
Complete the i18n migration by switching runtime setup and remaining components to i18next-vue, and add shared locale constants/helpers for SSR and client language handling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 02:11:46 +00:00
bbe15d5f3e remove vue-i18n 2026-03-06 00:08:51 +07:00
dba9713d96 add change language 2026-03-05 09:21:06 +00:00
e1ba24d1bf refactor: update video components to use AppButton and improve UI consistency
- Refactored CardPopover.vue to enhance menu positioning and accessibility.
- Replaced Button components with AppButton in VideoEditForm.vue and VideoInfoHeader.vue for consistent styling.
- Simplified VideoSkeleton.vue by removing unused Skeleton imports and improving loading states.
- Updated VideoFilters.vue to replace PrimeVue components with native HTML elements for better performance.
- Enhanced VideoGrid.vue and VideoTable.vue with improved selection handling and UI updates.
- Removed unused PrimeVue styles and imports in SSR routes and configuration files.
2026-03-05 01:35:25 +07:00
77ece5224d refactor: replace PrimeVue components with custom App components for buttons, dialogs, and inputs
- Updated DangerZone.vue to use AppButton and AppDialog, replacing PrimeVue Button and Dialog components.
- Refactored DomainsDns.vue to utilize AppButton, AppDialog, and AppInput, enhancing the UI consistency.
- Modified NotificationSettings.vue and PlayerSettings.vue to implement AppButton and AppSwitch for better styling.
- Replaced PrimeVue components in SecurityNConnected.vue with AppButton, AppDialog, and AppInput for a cohesive design.
- Introduced AppConfirmHost for handling confirmation dialogs with a custom design.
- Created AppToastHost for managing toast notifications with custom styling and behavior.
- Added utility composables useAppConfirm and useAppToast for managing confirmation dialogs and toast notifications.
- Implemented AppProgressBar and AppSwitch components for improved UI elements.
2026-03-04 18:32:17 +07:00
16caa9281b feat: enhance settings pages with save functionality and UI improvements
- Added save functionality with toast notifications in NotificationSettings.vue and PlayerSettings.vue.
- Improved layout and styling in NotificationSettings.vue and PlayerSettings.vue for better user experience.
- Refactored PlayerSettings.vue to use a dynamic settingsItems array for rendering toggle switches.
- Updated SecurityNConnected.vue to enhance security settings UI, including two-factor authentication and connected accounts management.
- Introduced dialogs for changing passwords and enabling two-factor authentication with improved UX.
- Added scrollbar-gutter CSS property to prevent layout shifts when dialogs open in uno.config.ts.
2026-03-02 03:34:47 +07:00
cd9aab8979 feat(settings): add Billing, Danger Zone, Domains DNS, Notification, Player, and Security settings pages
- Implemented Billing page with wallet balance, current plan, usage stats, available plans, and payment history.
- Created Danger Zone page for account deletion and data clearing actions with confirmation prompts.
- Developed Domains DNS page for managing whitelisted domains for iframe embedding, including add and remove functionality.
- Added Notification Settings page to configure email, push, marketing, and Telegram notifications.
- Introduced Player Settings page to customize video player behavior such as autoplay, loop, and controls visibility.
- Established Security and Connected Accounts page for managing user profile, two-factor authentication, and connected accounts.
2026-03-01 22:49:30 +07:00
c6924afe5b feat(video): enhance video management UI and functionality
- Refactor VideoBulkActions.vue to remove unused imports.
- Update VideoFilters.vue to improve search and status filtering with new UI components from PrimeVue.
- Modify VideoTable.vue to enhance action buttons for editing, copying, and deleting videos, using PrimeVue Button components.
- Implement saveImageFromStream function in merge.ts to handle thumbnail image uploads.
- Add new animation rule for card spring effect in uno.config.ts.
- Create FileUploadType.vue icon component for local and remote file uploads.
- Introduce CopyVideoModal.vue for sharing video links with enhanced user experience.
- Add DetailVideoModal.vue for editing video details with form validation using Zod.
- Establish new display routes in display.ts for handling thumbnail and metadata updates.
2026-02-27 18:07:43 +07:00
a5b4028bc8 feat: Implement a global upload dialog and refactor the upload UI/UX, including manifest size tracking. 2026-02-27 03:49:54 +07:00
ff1d4902bc Refactor server structure and enhance middleware functionality
- Consolidated middleware setup into a dedicated setup file for better organization.
- Introduced API proxy middleware to handle requests to the backend API.
- Registered well-known, merge, and SSR routes in separate files for improved modularity.
- Removed unused HTML and SSR layout files to streamline the codebase.
- Implemented a utility for HTML escaping to prevent XSS vulnerabilities.
- Updated the main server entry point to utilize the new middleware and route structure.
2026-02-26 18:38:37 +07:00
00bbe0f503 feat(upload): enhance upload functionality with chunk management and cancellation support
- Updated Upload.vue to include cancelItem functionality in the upload queue.
- Modified UploadQueue.vue to emit cancel events for individual items.
- Enhanced UploadQueueItem.vue to display cancel button for ongoing uploads.
- Added merge.ts for handling manifest creation and S3 operations for chunk uploads.
- Introduced temp.html for testing multi-threaded chunk uploads with progress tracking.
- Created AGENTS.md for comprehensive project documentation and guidelines.
2026-02-26 18:14:08 +07:00
d6183d208e docs: update CLAUDE.md with TinyMqttClient and testing info
- Add note about TinyMqttClient being used for MQTT in `src/lib/liteMqtt.ts`
- Add a note mentioning that testing and linting tools are currently not configured

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 01:19:58 +07:00
1a3dc948a8 feat: Add CLAUDE.md with project architecture documentation
Add comprehensive documentation for Claude Code including:
- Common development commands (dev, build, deploy)
- SSR architecture with custom Vite plugin
- State management patterns (Pinia Colada)
- API client auto-generation setup
- Routing structure and auth flow
- Styling system with UnoCSS configuration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 00:18:52 +07:00
718554dee9 feat: Add CardPopover component for video actions and integrate EllipsisVerticalIcon 2026-02-14 17:18:22 +07:00
85af2da6ad feat: Introduce TinyMqttClient interface and implementation, update auth store for MQTT connection management 2026-02-08 23:59:48 +07:00
66028d934a feat: Implement TinyMqttClient for MQTT communication and enhance video components with loading states 2026-02-07 21:56:05 +07:00
4d41d6540a feat: Add video detail management components and enhance video state sharing 2026-02-06 18:39:38 +07:00
1ee2130d88 feat: Enhance video management with detailed view and improved routing 2026-02-05 21:48:22 +07:00
27a765044d feat: Implement video management with a data table and comprehensive plan and subscription management features. 2026-02-05 18:38:10 +07:00
c3a8e5b474 abc 2026-02-02 09:14:47 +07:00
cf9c488012 add mock video 2026-01-29 18:34:54 +07:00
478c31defa update styles and colors for improved UI consistency 2026-01-27 23:55:10 +07:00
a9e5ea61f8 update ui 2026-01-27 17:53:25 +07:00
7a1f5d5ae0 refactor transition property for improved performance 2026-01-27 02:36:35 +07:00
6200ab7a1b enhance layout with glow effects and animations 2026-01-27 02:31:25 +07:00
4cc2cc0691 change color 2026-01-26 18:23:32 +07:00
fc86b3472e fix color 2 2026-01-26 17:00:07 +07:00
6c4015f8c4 fix color 2026-01-26 16:26:58 +07:00
820aa7a597 update Upload.vue layout for better spacing 2026-01-26 01:23:21 +07:00
b87d18576b update ui 2026-01-26 01:15:38 +07:00
58f2874102 update ui 2026-01-25 23:20:29 +07:00
8bdcbbf527 add noti 2026-01-25 19:18:34 +07:00
770c09b9b2 update ui 2026-01-25 17:30:17 +07:00
ac74faadbe done 2026-01-25 16:12:34 +07:00
5ae0a15a30 update 2026-01-23 22:21:39 +07:00
476c0eb647 update ui 2026-01-23 19:04:24 +07:00
7d3d33ef7e refactor: reorganize imports and replace fetchPlans with useSWRV for data fetching 2026-01-23 15:17:24 +07:00
55f467a10e update ui 2026-01-23 02:21:55 +07:00
1fe77f24dc refactor: update component declarations and remove unused imports
chore: bump dependencies to latest versions for improved stability

fix: update API base URL for client and httpClientAdapter

refactor: reorganize imports in index.tsx for better readability

chore: add observability configuration in wrangler.jsonc
2026-01-20 18:49:17 +07:00
21950753ab update ui 2026-01-20 12:26:19 +07:00
c4244c1097 feat: update icon components to support filled state and improve upload page layout
- Refactored HardDriveUpload, Home, Layout, LinkIcon, Upload, and Video components to include a 'filled' prop for conditional rendering of SVGs.
- Enhanced the Upload.vue page with a more structured layout, including a PageHeader and improved button interactions for local and remote upload modes.
- Added visual feedback for upload tips and improved accessibility with better button labeling.
- Updated the upload queue display and added loading states for files being fetched from external sources.
2026-01-19 23:58:45 +07:00
f805bac0e6 upload ui 2026-01-19 14:10:06 +07:00
eed14fa0e5 feat: Implement initial Vue 3 application structure with SSR, routing, authentication, and core dashboard components. 2026-01-19 00:37:35 +07:00
9f521c76f4 refactor(httpClientAdapter): comment out unused header assignment code 2026-01-18 20:59:25 +07:00
ae61ece0b0 init 2026-01-18 20:56:17 +07:00