feat(account-management): make abnormal status clickable to trigger re-login
Deroino
d18c032
- Added clickable status functionality for accounts with '异常' status
- Implemented handleReLogin method to trigger login flow when clicking abnormal status
- Added visual feedback with hover effects for clickable statuses
- Updated SSE flow to show different success messages for re-login vs new account
- Fixed account data handling to properly work with store objects
- Added dynamic default avatars for accounts
feat(account-management): optimize account loading with async validation
Deroino
2bf8af7
- Add new /getAccounts API for fast account retrieval without validation
- Update frontend to use fast API for initial load, showing accounts immediately
- Add '验证中' status with loading animation to indicate validation progress
- Implement background validation process that doesn't block UI
- Add Loading icon from Element Plus for visual feedback during validation
- Update status display logic to handle '验证中', '正常', and invalid states
- Improve user experience with immediate feedback and async validation
feat(account-management): update cookie buttons text and styling
Deroino
2d4a68c
- Change button text from '下载Cookie文件/上传Cookie文件' to '下载Cookie/上传Cookie'
- Add icons to the buttons for better visual recognition
- Keep the essential 'Cookie' text for clarity while making buttons more concise
- Maintain proper button styling and layout in the account management table
feat(account-management): add upload and download cookie file buttons
Deroino
33afc2c
- Add '上传Cookie文件' and '下载Cookie文件' buttons to account management page
- Implement frontend functionality for cookie file upload and download
- Add backend API endpoints for handling cookie file operations:
- /uploadCookie: Handle cookie file upload with validation
- /downloadCookie: Handle secure cookie file download
- Implement security measures to prevent path traversal attacks
- Add proper error handling and user feedback
- Maintain existing functionality while adding new features
feat(frontend): update draft checkbox text and position
Deroino
4957271
- Change draft checkbox label to '视频号仅保存草稿(用手机发布)'
- Move draft checkbox to appear after platform selection and before title input
- Add proper CSS styling with appropriate margins for the draft section
- Maintain conditional visibility only for video channel platform (type 2)
- Preserve existing functionality while improving UI flow
feat(wechat-channel): add draft upload functionality for video channel
Deroino
46f6718
- Add isDraft parameter to TencentVideo class to control publishing behavior
- Modify click_publish method to click "保存草稿" instead of "发表" when isDraft is true
- Update post_video_tencent function to accept and pass is_draft parameter
- Add is_draft parameter to /postVideo API endpoint to receive frontend data
- Add "视频号上传草稿" checkbox in frontend that appears only for video channel platform
- Update defaultTabInit to include isDraft property with default value false
- Include isDraft in publishData sent to backend API
- Implement proper URL checking for draft vs publish success confirmation
The new functionality allows users to save WeChat Channel videos as drafts
instead of immediately publishing them when the checkbox is selected.
feat(frontend): add loading state to publish button to prevent duplicate clicks
Deroino
46de6a9
- Add publishing state property to each tab to track publishing status
- Implement loading indicator on publish button with visual feedback
- Prevent duplicate clicks during active publishing process
- Update button text to show "发布中..." (Publishing...) when loading
- Ensure publishing state is properly reset in all scenarios (success, failure, validation errors)
- Add duplicate click prevention with user-friendly error message
The publish button now shows a loading spinner and prevents multiple clicks
during the publishing process, improving user experience and preventing
duplicate uploads to social media platforms.
feat(frontend): add UUID column to material management table
Deroino
98f99d1
- Add UUID field extraction in backend /getFiles endpoint
- Extract UUID from file_path (first part before underscore)
- Add UUID column to material management table in frontend
- Set appropriate width for UUID column display
- Maintain data consistency between backend and frontend
- Change upload speed indicator color from white to dark gray
- Add better styling for upload file items with rounded corners
- Add hover effects and improved spacing for upload items
- Enhance overall visual appearance of upload panel
fix(backend): delete actual file when removing from database
Deroino
010e4b2
- Add file deletion logic to delete_file endpoint
- Remove actual file from videoFile directory when deleting record
- Add error handling for file deletion operations
- Add logging for file deletion status
- Ensure data consistency between database and file system
feat(frontend): Implement multi-file upload with progress and speed
Deroino
c0a6b20
fix(playwright): Prevent launch error when LOCAL_CHROME_PATH is empty
Deroino
55b412d
feat: Add proxy to frontend dev server to fix CORS issues
Deroino
a9b669e
chore: Improve error logging for /uploadSave endpoint
Deroino
4886ecd
Merge pull request #148 from leordsong/bug/fix-merge-issue
chore(windows): add Windows batch script for one-click startup
chore(windows): add Windows batch script for one-click startup
Deroino
e7cdf9f
Add a Windows batch script to launch both backend and frontend servers with a single click.
This script:
- Starts the Python backend server in a new window
- Starts the Vue.js frontend server in another window
- Includes proper window titles and logging
- Automatically closes the launcher window after 10 seconds