Commit Graph
77 Commits
Author SHA1 Message Date
SunWuyuan 97fe02143f fix: 更新Classworks KV描述为文档形键值数据库 2025-11-02 11:53:57 +08:00
SunWuyuan a7ff0e5714 feat: 添加环境变量配置,更新云端存储和授权服务器的默认设置 2025-11-01 21:08:41 +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
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 b9efaee7ee 初步添加ea2 2025-10-12 08:32:54 +08:00
SunWuyuan 779ca2b278 Merge branch 'main' of https://github.com/ZeroCatDev/Classworks 2025-10-06 14:30:52 +08:00
SunWuyuan 3e3eba4759 内部写死appid 2025-10-06 14:30:49 +08:00
SunWuyuan 68d6582ae0 适配ClassworksKV 2025-10-06 14:30:32 +08:00
干冰DryIce 37b2a8f0a8 feat: 添加「点击空白处完成编辑」提示 2025-09-20 18:27:37 +08:00
干冰DryIce f9498a3de6 feat: 添加「是否显示快捷键盘」选项 2025-09-20 18:10:27 +08:00
SunWuyuan f4e3ce32dd 添加“例” ”变“快捷按钮 2025-09-13 12:01:44 +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 0f9ad4f81a Add mode switching and number range settings to RandomPicker component. Introduce picker modes for name and number, allowing users to set a range for student IDs. Update settings management for new properties and enhance UI for better user experience. 2025-05-24 21:21:20 +08:00
SunWuyuan ab20d6cecb Refactor StudentListCard.vue and settings.vue to improve student data handling and UI interactions. Update student list management methods, enhance data loading and saving functionality, and streamline component props. Remove redundant code and improve overall readability. 2025-05-18 16:04:25 +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 133888355a Merge branch 'main' of github.com:SunWuyuan/homeworkpage-frontend 2025-05-18 15:09:54 +08:00
SunWuyuan 4691114f9b Refactor axios.js and Vue components to conditionally handle namespace settings based on server provider. Update request headers in axios.js to include site key and namespace password only for specific providers. Enhance NamespaceAccess and NamespaceSettingsCard components to show/hide based on provider, and streamline password management functionality. 2025-05-18 15:09:10 +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
孙悟元 7718cf7456 Update AppFooter.vue 2025-05-11 18:50:05 +08:00
SunWuyuan 6d6e4a27a1 Refactor SettingItem.vue for improved readability and maintainability. Standardize template formatting, enhance indentation and spacing, and ensure consistent use of quotation marks. Update component properties and methods for better clarity and organization. 2025-05-11 17:04:09 +08:00
SunWuyuan 8bf9d8700b Update MigrationTool.vue to include setting updates for server provider and domain based on migration target. This enhances configuration management during the migration process. 2025-05-11 17:02:41 +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 c79a850868 Refactor batch data preparation in MigrationTool.vue to enhance clarity by removing unnecessary object initialization. Update key checks for batch payload to improve data handling consistency during migration. 2025-05-11 13:49:49 +08:00
SunWuyuan 08c6776cd1 Refactor MigrationTool.vue to simplify batch data preparation by removing unnecessary keys object. Update batch payload structure for improved clarity and consistency in data handling during migration. 2025-05-11 12:20:24 +08:00
SunWuyuan 3e78e7f60d Update MigrationTool.vue to initialize classNumber, serverUrl, and migrationType from server settings during component mount. This improves configuration management and aligns with recent updates to server settings. 2025-05-11 12:13:52 +08:00
SunWuyuan b82a553b1d Update MigrationTool.vue to clear default values for classNumber and serverUrl, and change targetServerUrl to a production URL for improved configuration. This enhances flexibility and aligns with recent server settings updates. 2025-05-11 12:11:31 +08:00
SunWuyuan d40e467183 Refactor MigrationTool.vue for improved code readability and consistency. Update template formatting, enhance button click handling, and streamline data display logic. Ensure consistent use of quotation marks and spacing throughout the component. 2025-05-11 12:03:56 +08:00
SunWuyuan 9f4fe0b9dd Add @microsoft/clarity and ratelimit-header-parser dependencies; integrate Clarity for user tracking and implement rate limit handling in axios instance. Update App.vue to include RateLimitModal for user notifications. 2025-05-11 11:43:47 +08:00
SunWuyuan 596c6ac918 Refactor DataProviderSettingsCard.vue for improved readability and structure. Clean up template formatting, reorganize data migration and machine ID display sections, and ensure consistent button styling. Update server connection check and migration data handling for better user experience. 2025-05-10 21:56:42 +08:00
SunWuyuan 590cffc6e6 Enhance RandomPicker component with persistent dialog feature and clean up global styles by removing unnecessary whitespace. Update styles for hover effects and ensure consistent formatting across SCSS files. 2025-05-10 21:51:48 +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 c0e33dcbf9 Add uuid dependency and implement KV storage support in settings and data provider components. Enhance server settings with site key configuration and improve data handling for new KV providers. 2025-05-10 17:48:18 +08:00
SunWuyuan 5f4ff2bb59 Add CSES to WakeUP tool link in DataProviderSettingsCard for easy access 2025-04-20 10:47:44 +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
孙悟元 e72f63b2ac Update AboutCard.vue 2025-04-05 17:40:06 +08:00
SunWuyuan 02c8fccb30 页面404提醒,QQ群,开发配置 2025-04-05 14:20:28 +08:00
SunWuyuan eefa858078 更新逻辑,缓存 2025-04-05 12:19:46 +08:00
SunWuyuan 8a1e44f1fa 本地缓存文件 2025-04-05 09:23:27 +08:00
SunWuyuan 291c593178 pwa,设置项,自动刷新 2025-04-04 21:40:24 +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 3988773341 1 2025-03-22 18:36:43 +08:00
SunWuyuan 4a8f4dc097 1 2025-03-22 18:22:16 +08:00