Commit Graph
100 Commits
Author SHA1 Message Date
Sunwuyuan 4244f84b34 feat: 添加强制桌面模式设置,优化移动端显示逻辑 2025-12-14 15:24:53 +08:00
Sunwuyuan 0d91c8844a feat: 使用消息提示替换成功和错误信息的赋值方式 2025-12-13 21:29:25 +08:00
Sunwuyuan 4eb8c74d84 feat: 添加导入配置和AI生成考试配置功能 2025-12-13 21:11:20 +08:00
Sunwuyuan 61d8392d59 feat: Enhance exam management features and add sensitive word filtering
- Implement global sensitive word filtering in HitokotoCard component.
- Add a test button for Jinrishici API in HitokotoSettings component.
- Introduce ConciseExamCard and ExamScheduleCard components for better exam display.
- Add functionality to create and manage exam configurations in examschedule.vue.
- Implement upcoming exam notifications in the main index page.
- Create a new exam store for managing exam data and fetching exam details.
- Add RelativeTimeDisplay component for displaying relative time in a user-friendly format.
2025-12-13 20:42:12 +08:00
Sunwuyuan d2efa19107 Update exam URL to new domainq 2025-12-08 17:55:05 +08:00
Sunwuyuan 8151de7cde Merge pull request #24 from tempChanghong/main
fix: 调整一言默认数据源为诏预 (Zhaoyu) 并增加内容安全提示
2025-12-08 17:49:33 +08:00
Sunwuyuan 1b25332a2f feat: 启用一言功能的默认设置为 true 2025-12-07 16:21:51 +08:00
Sunwuyuan e3e3575c65 fix: 修复代码格式,确保脚本末尾有换行符 2025-12-07 16:21:16 +08:00
Sunwuyuan 7d90e6ee33 feat: 添加一言卡片及其设置功能,支持动态内容刷新 2025-12-07 16:21:02 +08:00
Sunwuyuan 4627605178 refactor: 移除不必要的 Umami 跟踪脚本 2025-12-07 14:20:06 +08:00
Sunwuyuan ac508d5eb4 feat: 添加自定义卡片内容为空时删除卡片的功能 2025-12-07 13:31:41 +08:00
Sunwuyuan 1831c9144d feat: Refactor data migration functionality and introduce cloud migration dialog
- Removed the DataMigration.vue component and integrated its functionality into KvDatabaseCard.vue.
- Added a new CloudMigrationDialog.vue component for handling cloud data migration.
- Updated KvDatabaseCard.vue to include a button for initiating local migration and to manage the visibility of the new CloudMigrationDialog.
- Cleaned up the DataProviderSettingsCard.vue by removing old data migration UI elements.
- Enhanced user experience by providing a more streamlined migration process with clear category selection and progress indication.
2025-12-06 21:32:22 +08:00
Sunwuyuan d50788c1f5 refactor: 修复fingerpointjs名称被拦截的问题 2025-12-06 13:55:39 +08:00
Sunwuyuan 3d81ddb8f9 Merge branch 'main' of https://github.com/ZeroCatDev/Classworks 2025-12-06 12:03:04 +08:00
Sunwuyuan 65af8ba635 feat: 更新 Socket.IO 客户端,支持多种传输方式并添加连接调试器页面 2025-12-06 12:03:01 +08:00
Sunwuyuan a5cd6bcd08 Merge pull request #22 from ZeroCatDev/copilot/fix-notification-bug
Fix notification deletion: save {} instead of [] when list is empty
2025-12-01 18:28:43 +08:00
Sunwuyuan 0ac7f6e6b1 Merge pull request #19 from ZeroCatDev/copilot/fix-persistent-notification-bug
Fix: Remove duplicate deletePersistentNotification method definition
2025-11-30 18:17:41 +08:00
Sunwuyuan 4988199c35 feat: 异步加载 Clarity,优化初始加载速度并集成访客标识功能 2025-11-30 17:10:12 +08:00
Sunwuyuan 5c111e198d feat: 添加报告问题对话框,集成调试信息和反馈渠道 2025-11-30 17:01:22 +08:00
Sunwuyuan 9fde71fea5 优化调试页面提示 2025-11-30 16:33:00 +08:00
Sunwuyuan 5f363aba38 feat: 添加 FingerprintJS 依赖,集成访客 ID 和指纹数据功能 2025-11-30 16:23:43 +08:00
Sunwuyuan ba96069a9b chore: 优化 Azure 工作流配置,调整环境变量和格式化注释 2025-11-30 13:48:11 +08:00
Sunwuyuan 752f6b6bd1 Refactor code structure for improved readability and maintainability 2025-11-30 13:28:52 +08:00
Sunwuyuan 8f7b3db552 feat: 添加作业内容复制到今天的功能,优化浮动工具栏 2025-11-30 13:06:36 +08:00
Sunwuyuan 3182699a78 refactor: update delete functionality in UrgentTestDialog and improve styles
- Changed the delete button action from confirmDelete to deletePersistentNotification in UrgentTestDialog.vue.
- Renamed confirmDelete method to executeDelete for clarity and updated its usage.
- Updated SCSS import from @import to @use for glow styles in index.scss.
- Added vueDevTools plugin to vite.config.mjs for enhanced development experience.
2025-11-30 12:39:55 +08:00
Sunwuyuan 46dffb02ca feat: 添加常驻通知管理功能,支持编辑和删除通知 2025-11-30 11:50:20 +08:00
Sunwuyuan 069f0a31c0 feat: 更新考勤管理逻辑,优化状态同步与自动保存功能 2025-11-29 15:18:21 +08:00
Sunwuyuan ca3d7c9dbf feat: 优化移动端视图,添加空科目显示为可点击的芯片组件 2025-11-29 14:14:00 +08:00
Sunwuyuan 8d9b9a3f32 feat: Add attendance management dialog and sidebar components
- Implemented AttendanceManagementDialog.vue for managing student attendance with search and filter functionalities.
- Created AttendanceSidebar.vue to display attendance statistics and lists of students by status.
- Introduced HomeActions.vue for various actions including upload and random picker.
- Developed HomeworkGrid.vue to display homework and attendance cards in a masonry layout.
- Added glow effect styles in glow.scss for enhanced UI interactions.
- Updated index.scss to include glow styles.
2025-11-29 13:59:32 +08:00
Sunwuyuan b3595422c7 feat: 添加优化网格布局算法,提升列高度平衡性 2025-11-29 11:14:50 +08:00
Sunwuyuan 8f5fc287fb Merge pull request #14 from ZeroCatDev/copilot/update-homework-edit-dialog-text
feat: Add configurable prompt text for homework edit dialog
2025-11-28 21:27:16 +08:00
Sunwuyuan fb20f8a3ea 删除不需要的文件 2025-11-23 17:08:39 +08:00
Sunwuyuan 6c990bd8e4 feat: add urgent notification feature and improve UI components
- Updated index.vue to include an urgent notification button and dialog.
- Added UrgentTestDialog.vue component for sending notifications with urgency options.
- Enhanced UI elements for better user experience, including improved spacing and layout.
- Implemented notification history display with receipt tracking for sent messages.
- Added methods for handling notification sending and receipt updates via socket events.
2025-11-23 16:48:08 +08:00
Sunwuyuan ca4de545b9 初步实现消息通知功能 2025-11-23 14:19:09 +08:00
Sunwuyuan 76c2dba502 规范代码格式 2025-11-16 15:14:17 +08:00
Sunwuyuan 0af2c4cc63 feat: 修改下载数据逻辑,支持强制清空数据以避免覆盖现有数据 2025-11-09 16:15:45 +08:00
Sunwuyuan 49ea5f1b2f feat: 实现渐进式设备注册功能,自动生成设备信息并获取访问令牌,优化用户体验 2025-11-09 14:30:09 +08:00
SunWuyuan 670666aa41 feat: 优化标题显示,添加设备名称和命名空间信息的加载逻辑 2025-11-08 17:22:32 +08:00
SunWuyuan 6eb9bbd79c feat: 优化关于卡片界面,更新图标和图片,增强用户体验 2025-11-02 16:40:52 +08:00
SunWuyuan 1999b09e59 feat: 重构链接生成器,合并预配置认证与设置分享功能,优化界面与安全性 2025-11-02 15:48:39 +08:00
SunWuyuan 7f166ffddc feat: 添加设备认证对话框的预配置支持,优化自动认证逻辑 2025-11-02 15:15:46 +08:00
Sunwuyuan 9aae9601f6 Merge pull request #11 from DryIce-cc/main
fix: 移除双滚动条
2025-11-02 13:42:02 +08:00
SunWuyuan 97fe02143f fix: 更新Classworks KV描述为文档形键值数据库 2025-11-02 11:53:57 +08:00
SunWuyuan 5c3fa9a0e5 fix: 优化数据加载逻辑,避免覆盖已有的本地数据 2025-11-02 11:46:24 +08:00
SunWuyuan a7ff0e5714 feat: 添加环境变量配置,更新云端存储和授权服务器的默认设置 2025-11-01 21:08:41 +08:00
SunWuyuan 6bfd5fdf0e feat: 更新Classworks云端存储的默认设置为生产环境域名 2025-11-01 19:34:50 +08:00
SunWuyuan 865e09a5fa Merge branch 'main' of https://github.com/ZeroCatDev/Classworks 2025-11-01 19:32:38 +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 caaea56e16 ci: add Azure Static Web Apps workflow file
on-behalf-of: @Azure opensource@microsoft.com
2025-11-01 15:09:27 +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 0dceb0c278 添加加载动画 2025-10-06 19:49:53 +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
孙悟元 8a9e000788 Merge pull request #8 from ZeroCatDev/Sunwuyuan-patch-3
将默认数据提供者设为 Classworks KV
2025-09-21 13:52:44 +08:00
孙悟元 b7c88a59fe Update settings.js 2025-09-21 13:47:58 +08:00
孙悟元 86a609b7ae Merge pull request #7 from ZeroCatDev/Sunwuyuan-patch-2
Delete vite.config.mjs.timestamp-1751696302207-c76e023be42d5.mjs
2025-09-21 13:23:13 +08:00
孙悟元 62378d67c4 Delete vite.config.mjs.timestamp-1751696302207-c76e023be42d5.mjs 2025-09-21 13:14:16 +08:00
孙悟元 759ca717f4 Update README.md 2025-09-21 13:13:51 +08:00
孙悟元 be738111ae Update claude.yml 2025-09-21 13:11:26 +08:00
孙悟元 ea9abfebb3 Update claude-code-review.yml 2025-09-21 13:11:00 +08:00
孙悟元 cf1c07f005 Merge pull request #5 from ZeroCatDev/add-claude-github-actions-1758430934836
Add Claude Code GitHub Workflow
2025-09-21 13:04:57 +08:00
孙悟元 fdc4517298 "Claude Code Review workflow" 2025-09-21 13:02:19 +08:00
孙悟元 1e12cbd01e "Claude PR Assistant workflow" 2025-09-21 13:02:17 +08:00
孙悟元 3a9781c1ad Merge pull request #4 from DryIce-cc/main
feat: 添加「是否显示快捷键盘」选项
2025-09-21 09:01:12 +08:00
SunWuyuan 6cf67d17c6 Merge branch 'main' of https://github.com/ZeroCatDev/Classworks 2025-09-13 12:02:15 +08:00
SunWuyuan f4e3ce32dd 添加“例” ”变“快捷按钮 2025-09-13 12:01:44 +08:00
孙悟元 7c9b29f4bb Update README.md 2025-09-07 11:08:01 +08:00
SunWuyuan f546621ab9 添加考试看板功能 2025-08-30 14:55:55 +08:00
SunWuyuan cd10d0f49a 添加key查看器 2025-08-29 21:24:21 +08:00
SunWuyuan c744f37f39 Update README.md to reflect new GitHub organization, modify project description, and enhance contribution guidelines. Change license information to AGPL-3.0 and update copyright details. 2025-07-05 14:35:05 +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 965f36cbf5 Enhance settings page with responsive navigation drawer. Implement drawer state management based on device type, ensuring a better user experience on mobile devices. Update related methods and properties for improved functionality. 2025-07-05 09:00:38 +08:00
SunWuyuan ac0c491765 Revert "修复sw加载bug"
This reverts commit 4029e449d8.
2025-06-11 16:41:33 +08:00
SunWuyuan b0541d1170 Revert "更新sw"
This reverts commit 31969b15b0.
2025-06-11 16:41:29 +08:00
SunWuyuan cbddbeb0a1 Revert "添加壁纸模式,不构建sw"
This reverts commit 1832143055.
2025-06-11 16:41:22 +08:00
SunWuyuan 1832143055 添加壁纸模式,不构建sw 2025-06-11 16:17:35 +08:00
SunWuyuan 31969b15b0 更新sw 2025-06-11 16:03:44 +08:00
SunWuyuan 4029e449d8 修复sw加载bug 2025-06-11 15:55:53 +08:00
SunWuyuan f66031cd18 路径改为相对路径 2025-06-11 15:45:17 +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 88ab5e9064 Remove package-lock.json file to streamline dependency management and avoid potential conflicts. This change simplifies the project structure and aligns with best practices for managing dependencies in modern JavaScript projects. 2025-05-18 15:16:35 +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
孙悟元 30f11d7789 Create 328a0e159cf9b3fb3caacaab9c83bf17.txt 2025-05-11 18:31:48 +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 3654e22fef Enhance Vite configuration by refining caching strategies to only apply to same-origin requests for assets and PWA paths. This improves cache management and ensures that external requests are not inadvertently cached. 2025-05-11 14:01: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