1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2026-02-04 16:03:10 +00:00

178 Commits

Author SHA1 Message Date
Sunwuyuan
fb4da655c6
feat: 添加拉起EA2播放器功能,支持将配置JSON转换为base64并通过协议打开 2025-12-28 17:08:08 +08:00
Sunwuyuan
3a6f6f5fdc
chore: 删除不再使用的考试播放器组件 2025-12-28 17:06:55 +08:00
Sunwuyuan
aa2c45be25
Merge branch 'main' of https://github.com/ZeroCatDev/Classworks 2025-12-28 13:17:07 +08:00
Sunwuyuan
f6b8d76906
feat: 更新KV服务器地址,添加PWA安装卡片及权限请求逻辑 2025-12-28 13:16:18 +08:00
copilot-swe-agent[bot]
b873486dde Fix comment to match actual font size ratio (75%)
Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-12-25 10:00:27 +00:00
Sunwuyuan
13e188c9b1
Update Hitokoto font size ratio
Adjust Hitokoto font size ratio from 0.85 to 0.75.
2025-12-25 17:57:57 +08:00
copilot-swe-agent[bot]
628fdc52c4 Refactor: Extract HITOKOTO_FONT_RATIO to module-level constant
Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-12-25 09:57:09 +00:00
copilot-swe-agent[bot]
1ca0606485 Make Hitokoto font size smaller (85% of general font size)
Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-12-25 09:55:50 +00:00
copilot-swe-agent[bot]
7bbae7fd73 Revert unrelated linting changes, keep only HitokotoCard modifications
Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-12-24 12:33:02 +00:00
copilot-swe-agent[bot]
bf56de8299 Address code review: use named constant and safe initialization
Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-12-24 10:36:30 +00:00
copilot-swe-agent[bot]
a332d9365f Improve font size initialization and style organization
Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-12-24 10:35:23 +00:00
copilot-swe-agent[bot]
487da6324f Align hitokoto text to left and apply custom font size settings
Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-12-24 10:29:42 +00: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
d2efa19107
Update exam URL to new domainq 2025-12-08 17:55:05 +08:00
tempChanghong
f71ccfc30e [修复] 调整一言默认数据源为诏预 (Zhaoyu) 并增加内容安全提示 2025-12-07 22:52:37 +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
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
copilot-swe-agent[bot]
7049c35f2a revert: remove unrelated formatting changes, keep only the fix for duplicate deletePersistentNotification method
Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-11-30 10:16:43 +00:00
copilot-swe-agent[bot]
5d3721d069 fix: remove duplicate deletePersistentNotification method definition
Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-11-30 10:07:04 +00: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
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
copilot-swe-agent[bot]
511ddc358e chore: Remove all unnecessary formatting changes from previous commits
Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-11-28 12:53:48 +00:00
copilot-swe-agent[bot]
f3b625839d chore: Remove unnecessary formatting changes, keep only feature additions
Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-11-28 12:49:42 +00: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
copilot-swe-agent[bot]
f7f703466f feat: Add configurable prompt text for homework edit dialog
Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-11-19 13:07:03 +00:00
Sunwuyuan
76c2dba502
规范代码格式 2025-11-16 15:14:17 +08:00
Sunwuyuan
0af2c4cc63
feat: 修改下载数据逻辑,支持强制清空数据以避免覆盖现有数据 2025-11-09 16:15:45 +08:00