Commit Graph
69 Commits
Author SHA1 Message Date
Sunwuyuan 76c2dba502 规范代码格式 2025-11-16 15:14:17 +08:00
Sunwuyuan 0af2c4cc63 feat: 修改下载数据逻辑,支持强制清空数据以避免覆盖现有数据 2025-11-09 16:15:45 +08:00
SunWuyuan 670666aa41 feat: 优化标题显示,添加设备名称和命名空间信息的加载逻辑 2025-11-08 17:22:32 +08:00
SunWuyuan 7f166ffddc feat: 添加设备认证对话框的预配置支持,优化自动认证逻辑 2025-11-02 15:15:46 +08:00
干冰DryIce c36e4defc2 Merge branch 'main' of https://github.com/ZeroCatDev/Classworks 2025-11-02 12:09:46 +08:00
SunWuyuan 5c3fa9a0e5 fix: 优化数据加载逻辑,避免覆盖已有的本地数据 2025-11-02 11:46:24 +08:00
SunWuyuan df3c8e5a12 feat: Add ReadOnlyTokenWarning component and implement student name management dialog
- Introduced ReadOnlyTokenWarning.vue to alert users when using a read-only token.
- Added StudentNameManager.vue for managing student names with a dialog interface.
- Implemented AlternativeCodeDialog.vue for entering alternative codes (functionality pending).
- Created DeviceAuthDialog.vue for device authentication using namespace and password.
- Developed FirstTimeGuide.vue to guide users through the initial setup of Classworks KV.
- Added TokenInputDialog.vue for manual input of KV authorization tokens.
- Updated settings.vue to include a button for opening Classworks KV.
- Enhanced error handling and user feedback across components.
2025-11-01 19:31:41 +08:00
干冰DryIce 5c27a30fde fix: 移除双滚动条 2025-11-01 17:20:30 +08:00
SunWuyuan a2b0cc9e08 feat: Add Chat Widget and Init Service Chooser components
- Implemented ChatWidget component for real-time chat functionality with socket integration.
- Added InitServiceChooser component for selecting services with manual token input and auto-authorization.
- Updated settings and data provider to support local development with localhost.
- Enhanced settings page with Classworks KV card and improved styles.
- Introduced debug socket page for monitoring connection status and device interactions.
- Refactored socket client utility for better connection management and event handling.
- Added glow highlight effect in styles for UI enhancements.
2025-10-25 17:10:20 +08:00
SunWuyuan 68d6582ae0 适配ClassworksKV 2025-10-06 14:30:32 +08:00
SunWuyuan f546621ab9 添加考试看板功能 2025-08-30 14:55:55 +08:00
SunWuyuan cd10d0f49a 添加key查看器 2025-08-29 21:24:21 +08:00
SunWuyuan f5dab48276 Add vuedraggable dependency for improved drag-and-drop functionality. Refactor index.vue to use subject names as keys and streamline subject management. Update settings.vue to include SubjectManagementCard for better subject configuration. 2025-07-05 14:18:22 +08:00
SunWuyuan f2d88437e6 Refactor index.vue to replace v-dialog with homework-edit-dialog for improved homework editing experience. Add HomeworkTemplateCard to settings.vue for homework management. Enhance kvServerProvider with additional error logging for better debugging. 2025-07-05 13:32:34 +08:00
SunWuyuan 53ed1f556f Update .hintrc to disable no-inline-styles hint, modify GlobalMessage.vue to reposition snackbar, remove AppFooter from default layout, and enhance index.vue with a floating toolbar and ICP component. Clean up unused imports in settings.vue. 2025-07-05 10:05:52 +08:00
SunWuyuan 088e19eaa7 Update AppFooter.vue, NamespaceAccess.vue, and index.vue for improved links and UI enhancements. Change footer links to reflect new repository and website, streamline password hint display in NamespaceAccess, and clean up index.vue by removing unnecessary template elements. 2025-05-18 15:40:32 +08:00
SunWuyuan 31cff8a867 Add js-base64 library for Base64 encoding/decoding and enhance password management features. Update axios.js to use Base64 for encoding site key and namespace password. Implement password hint functionality in NamespaceAccess and NamespaceSettingsCard components, including dialogs for setting and verifying password hints. Refactor kvServerProvider to support password hint updates during password management operations. 2025-05-18 14:33:39 +08:00
SunWuyuan c42c878ac8 Enhance App.vue, axios.js, MigrationTool.vue, index.vue, settings.vue, and related utilities to support namespace management and improve configuration handling. Add namespace password to axios request headers, load namespace info on App mount, and update settings structure to include namespace settings. Refactor dataProvider to utilize new kvLocalProvider and kvServerProvider for data operations, ensuring better separation of concerns and improved error handling. 2025-05-18 10:54:39 +08:00
SunWuyuan be3ffb945c Refactor RandomPicker.vue for improved readability and maintainability. Enhance template formatting by standardizing indentation and spacing, and update button properties for consistency. Add a new button for navigating to the list page in index.vue, and adjust date handling in settings and index pages for better date management. Update dataProvider and settings utility functions for improved response handling and configuration management. 2025-05-11 16:23:41 +08:00
SunWuyuan 3c722875dd Refactor MigrationTool and data handling to support student list migration. Update index.vue and settings.vue to streamline configuration loading and improve data provider integration. Remove deprecated local and server storage providers for cleaner architecture. 2025-05-10 21:49:18 +08:00
SunWuyuan a542e9b91f Implement data migration tool and enhance KV storage support. Add automatic redirection for legacy data providers, improve user interface for migration settings, and update data handling for Classworks cloud storage. Refactor components for better integration with new storage options. 2025-05-10 20:51:56 +08:00
SunWuyuan eefd9eb054 Refactor index.vue and settings.vue for improved layout and functionality. Added URL configuration dialog and settings link generator component. Enhanced button formatting and code readability. 2025-04-19 20:29:39 +08:00
孙悟元 94149d0381 Update index.vue 2025-04-09 11:55:05 +08:00
孙悟元 9db9860622 Update index.vue 2025-04-08 21:54:32 +08:00
SunWuyuan 291c593178 pwa,设置项,自动刷新 2025-04-04 21:40:24 +08:00
SunWuyuan 8af43f0960 优化编辑框 2025-03-23 11:16:06 +08:00
SunWuyuan fa29c63a96 规避来自“教师”的限制 2025-03-23 10:37:27 +08:00
SunWuyuan 3c021c1bd8 修复 2025-03-23 10:20:33 +08:00
SunWuyuan ac417b1432 全屏按钮! 2025-03-23 10:07:51 +08:00
SunWuyuan c0d235a0fe 1 2025-03-22 16:17:01 +08:00
SunWuyuan 5a394ab6f6 1 2025-03-22 16:12:10 +08:00
SunWuyuan 29ce2a9336 1 2025-03-22 16:07:23 +08:00
SunWuyuan d0d0e3a6b4 1 2025-03-22 15:34:47 +08:00
SunWuyuan 66a503a062 1 2025-03-22 15:17:11 +08:00
SunWuyuan 69c67a7e52 1 2025-03-16 09:41:48 +08:00
SunWuyuan 3ac1f86b96 1 2025-03-15 21:45:14 +08:00
SunWuyuan 4adc0474e4 1 2025-03-15 21:37:14 +08:00
SunWuyuan efd622f819 1 2025-03-15 21:09:08 +08:00
SunWuyuan 6ab280e484 111 2025-03-15 20:49:25 +08:00
SunWuyuan 137c305cf8 1 2025-03-15 16:52:49 +08:00
SunWuyuan 49c93ecd08 1 2025-03-15 15:35:01 +08:00
SunWuyuan e46f44bee2 1 2025-03-15 12:46:29 +08:00
SunWuyuan 882bf08ad9 1 2025-03-15 11:21:26 +08:00
SunWuyuan c6b6bd2ce5 1 2025-03-15 09:11:11 +08:00
SunWuyuan 9bb3f06ba1 1 2025-03-14 21:53:22 +08:00
SunWuyuan ebf3e9df94 1 2025-03-09 15:52:51 +08:00
SunWuyuan cc950d1fc6 11 2025-03-09 15:45:27 +08:00
SunWuyuan f9e1dd5412 1 2025-03-09 15:37:36 +08:00
SunWuyuan 8aaf537f84 1 2025-03-09 15:36:01 +08:00
SunWuyuan 39d6bfec60 1 2025-03-09 15:15:24 +08:00