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

257 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
e8014c499d Initial plan 2026-01-18 00:50:10 +00:00
Sunwuyuan
24524c91ec
Merge pull request #32 from user111192/feat-late-students-are-present
feat(settings): 添加迟到学生是否计入出勤人数的显示设置
2026-01-13 18:52:08 +08:00
Sunwuyuan
f3534f9411
feat: 更新作业编辑和考勤管理对话框以支持强制一体机UI模式 2026-01-11 16:11:19 +08:00
Sunwuyuan
1325038fa0
feat: 添加教师列表卡片组件并更新设置页面 2026-01-11 16:01:33 +08:00
Sunwuyuan
472519ef5e
Merge branches 'main' and 'main' of https://github.com/ZeroCatDev/Classworks 2026-01-11 15:34:00 +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
HLYUN
42ecc77ee3
Fix GitHub clone URL in README 2026-01-11 13:04:29 +08:00
user111192
65f73ada7d
Merge branch 'ZeroCatDev:main' into feat-late-students-are-present 2026-01-11 08:02:32 +08:00
chenziang
fca33c1b95
feat(settings): 添加迟到学生是否计入出勤人数的显示设置
- 在设置工具中新增 display.lateStudentsArePresent 配置项
- 修改考勤侧边栏计算逻辑以支持迟到人数统计选项
- 更新作业网格组件中的出勤人数计算方式
- 添加设置导入功能到相关组件中
- 在显示设置卡片中增加新的配置选项界面
2026-01-11 07:34:34 +08:00
Sunwuyuan
d83dd3993d
Merge pull request #30 from user111192/main
如果token为只读则将“点击添加作业”改为“当日无作业”
2026-01-03 17:45:49 +08:00
chenziang
9c78356bf5
feat(grid): 优化只读模式下的作业网格组件
- 实现只读令牌状态检测功能,动态显示不同图标
- 在卡片和按钮中根据只读状态切换图标(加号或取消图标)
- 添加StudentNameManager组件依赖注入
- 重构组件数据结构,添加isReadOnlyToken响应式数据
- 实现异步检查只读状态的方法,支持多种访问方式
- 优化卡片文本显示,只读时显示"当日无作业"提示而不是“点击添加作业”
2025-12-31 19:56:13 +08:00
chenziang
46570636df
config(eslint): 添加浏览器和Web API全局变量配置
- 添加浏览器全局变量如window、document、navigator等
- 添加Vite相关全局变量如import、process等
- 添加Service Worker全局变量如self、caches等
- 添加Web API全局变量如Notification、ServiceWorker等
- 添加Web Storage API全局变量如Storage、StorageEvent等
- 添加WebSocket和Web Workers相关全局变量
2025-12-31 19:55:55 +08:00
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
f96b939a39
chore: 移除不再使用的依赖 @examaware-cs/core 和 @examaware-cs/player 2025-12-28 13:28:22 +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
Sunwuyuan
8a8ea05d81
Merge pull request #28 from ZeroCatDev/copilot/adjust-font-size
[WIP] Adjust font size for 一言 element
2025-12-25 18:00:47 +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]
319ba48c2f Initial plan 2025-12-25 09:52:50 +00:00
Sunwuyuan
adfc7f1438
Merge pull request #27 from ZeroCatDev/copilot/align-text-to-left
Left-align Hitokoto card text and apply custom font size settings
2025-12-25 17:46:03 +08: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]
a89bca2ca4 Remove auto-generated files and update .gitignore
Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-12-24 10:30:50 +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
copilot-swe-agent[bot]
3ab1566ef1 Initial plan 2025-12-24 10:24:33 +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
Sunwuyuan
8151de7cde
Merge pull request #24 from tempChanghong/main
fix: 调整一言默认数据源为诏预 (Zhaoyu) 并增加内容安全提示
2025-12-08 17:49:33 +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
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
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]
5ee4602181 Update .gitignore to exclude auto-generated files
Co-authored-by: Sunwuyuan <88357633+Sunwuyuan@users.noreply.github.com>
2025-12-01 10:17:20 +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