1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2026-05-14 03:45:07 +00:00

129 Commits

Author SHA1 Message Date
Sunwuyuan
ba6aab2ba2
feat: 优化噪音监测设置,添加晚自习时间段配置和校准功能 2026-03-07 13:05:10 +08:00
Sunwuyuan
21a63661cd
feat: 添加麦克风权限引导弹框和噪音监测设置卡片,优化用户体验 2026-03-07 11:59:54 +08:00
Sunwuyuan
c4b95aede2
添加主题模式设置,优化显示设置卡片,移除不必要的主题设置组件 2026-03-06 20:34:28 +08:00
Sunwuyuan
8f2c9be179
优化设备名称展示逻辑,支持离线模式下使用本地班级编号 2026-03-03 21:28:45 +08:00
Sunwuyuan
cf3412db6a
重构代码,优化组件加载和样式,移除不必要的依赖,增强首屏渲染性能 2026-03-03 21:16:32 +08:00
Sunwuyuan
26d77acc79
添加时间卡片组件及相关设置 2026-03-03 19:53:29 +08:00
Sunwuyuan
1325038fa0
feat: 添加教师列表卡片组件并更新设置页面 2026-01-11 16:01:33 +08:00
Sunwuyuan
4d634095b9
feat: add notification sound settings component and sound management utilities
- Implemented NotificationSoundSettings.vue for managing notification sounds.
- Added functionality for selecting and previewing single and urgent notification sounds.
- Integrated autoplay warning for first-time audio playback.
- Created soundList.js to manage available sound files and playback functions.
- Included methods for resetting sounds to default settings.

Co-authored-by: tempChanghong <tuantule622@gmail.com>
2026-01-11 15:30:28 +08:00
Sunwuyuan
3a6f6f5fdc
chore: 删除不再使用的考试播放器组件 2025-12-28 17:06:55 +08:00
Sunwuyuan
f6b8d76906
feat: 更新KV服务器地址,添加PWA安装卡片及权限请求逻辑 2025-12-28 13:16:18 +08:00
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
7d90e6ee33
feat: 添加一言卡片及其设置功能,支持动态内容刷新 2025-12-07 16:21:02 +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
copilot-swe-agent[bot]
f282f1f4bc Fix notification deletion: save {} instead of [] when list is empty
Only modify the two files that need the fix, without any formatting changes.

Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-12-01 10:24:14 +00:00
copilot-swe-agent[bot]
056225b6b3 Fix notification deletion bug: save {} instead of [] when list is empty
When all notifications are deleted, the persistentNotifications array
becomes empty ([]). The backend doesn't accept an empty array as a
valid value, requiring an empty object ({}) instead. This fix modifies
both index.vue and UrgentTestDialog.vue to save {} when the
notification list is empty.

Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-12-01 10:16:47 +00: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
8f7b3db552
feat: 添加作业内容复制到今天的功能,优化浮动工具栏 2025-11-30 13:06:36 +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
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
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
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
干冰DryIce
c36e4defc2 Merge branch 'main' of https://github.com/ZeroCatDev/Classworks 2025-11-02 12:09:46 +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
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
b9efaee7ee
初步添加ea2 2025-10-12 08:32:54 +08:00
SunWuyuan
68d6582ae0
适配ClassworksKV 2025-10-06 14:30:32 +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