Commit Graph

66 Commits

Author SHA1 Message Date
hmo a5cf74161e fix: remove '内容:' label from student_goals in PDF export 2026-04-28 09:31:09 +08:00
hmo 4f6aea66f2 fix: use g.goal.content instead of g.goal_content 2026-04-28 09:22:21 +08:00
hmo c8df4d84a0 fix: replace {student_goals} in PDF export template 2026-04-28 09:13:56 +08:00
hmo 13a3bed557 docs: update v1.5.0 docs - statistics API, PDF watermark, class teacher_id, sidebar order 2026-04-27 21:39:18 +08:00
hmo c4f5559c59 refactor: reorder sidebar navigation 2026-04-27 21:29:03 +08:00
hmo 8ae7def939 fix: remove trailing spacers before PDF build to avoid blank last page 2026-04-27 21:19:35 +08:00
hmo 0898e2da8f fix: save and load watermark_text in config.py 2026-04-27 20:26:50 +08:00
hmo abfe1c2192 fix: save watermark_text in update_api_config 2026-04-27 20:22:45 +08:00
hmo ec5bb62ad4 debug: add watermark debug logging 2026-04-27 20:20:38 +08:00
hmo 994e97fec1 fix: load api_config before generate_pdf call in export_pdf 2026-04-27 20:17:20 +08:00
hmo c8d77187d1 feat: add configurable watermark text in API settings 2026-04-27 20:14:17 +08:00
hmo 1c9d539653 feat: add watermark to generated PDF (仅供学习参考, diagonal, semi-transparent) 2026-04-27 20:11:28 +08:00
hmo 1ec3b2e5d8 fix: add login_required_json to statistics API endpoint 2026-04-27 19:55:58 +08:00
hmo 7256cb44eb fix: toggle button style between btn-primary and btn-outline-primary 2026-04-27 19:49:48 +08:00
hmo ef6f05929c feat: add mine and class filters to statistics page 2026-04-27 19:45:01 +08:00
hmo 3e9d899178 feat: add problem name distribution and problem×class matrix to statistics 2026-04-27 19:37:25 +08:00
hmo dcc0457848 feat: add student/class statistics page with Chart.js visualizations 2026-04-27 19:28:04 +08:00
hmo 7c35f4cac3 fix: wrap table cell content in Paragraph to parse XML markup 2026-04-27 16:42:51 +08:00
hmo 5a7629bea3 fix: use correct Chinese font path on Linux Docker container 2026-04-27 13:53:19 +08:00
hmo 0f96bb157b fix: make edit plan buttons sticky at bottom 2026-04-27 11:26:40 +08:00
hmo 3fb57de404 fix: allow dry_run mode without API key for prompt preview 2026-04-27 10:48:13 +08:00
hmo b32d86dbb4 fix: return 4 values from generate_ai_report when API key missing 2026-04-27 10:42:59 +08:00
hmo 236f64510b refactor: move '我的' filter to first position in student and class list toolbars 2026-04-27 03:59:54 +08:00
hmo d6128e623d refactor: unify toolbar style with card wrapper in problems and classes pages 2026-04-27 03:57:46 +08:00
hmo 70678095ce fix: restore student list row wrapper 2026-04-27 03:54:56 +08:00
hmo 0628936b09 refactor: unify student list toolbar with card wrapper and consistent layout 2026-04-27 03:51:55 +08:00
hmo 3bb477ebc6 fix: simplify button text in student list toolbar 2026-04-27 03:48:25 +08:00
hmo 590e047c51 fix: index.html mobile UI - wrap buttons and filters properly
- Split filters and action buttons into separate rows
- Use flex-wrap for mobile responsiveness
- Remove duplicate btn-group on student list page
2026-04-27 03:42:39 +08:00
hmo e6d3726d47 fix: classes.html JavaScript syntax error - remove template literals in onclick attributes
- Replace template literals with string concatenation to avoid HTML attribute parsing issues
- Add escape function for proper HTML attribute values
2026-04-27 03:34:35 +08:00
hmo e50a9207b4 feat: v1.4.0 - 典型方案采纳、推荐方案列表、审计字段、导航优化
- 添加典型方案采纳功能 (POST /api/plans/<id>/adopt)
- 添加推荐方案列表 (GET /api/students/<id>/recommended-plans)
- PracticePlan 新增 created_by/updated_by/updated_at 审计字段
- 方案编辑/详情页导航优化 (bfcache 处理、pageshow 事件)
- 方案列表支持删除功能
- 学员列表'暂无方案/问题'样式统一
- 更新文档:问题文件已废弃(迁移到数据库)
- 更新部署脚本和验证清单
2026-04-27 02:01:22 +08:00
hmo 6abdd49c04 更新:models/routes/services/templates/docs 2026-04-26 18:02:36 +08:00
hmo f7a82ac48a docs: v1.3.1 deployment complete 2026-04-24 10:54:06 +08:00
hmo ad621d9426 docs: DRY开发规范 and v1.3.1 SOP update 2026-04-24 10:33:32 +08:00
hmo a33a5532cc docs: 更新模板结构,新增fragments目录说明 2026-04-24 10:23:43 +08:00
hmo f4ea6c9a77 refactor: 提取分配目标模态窗体为共享fragment,实现DRY 2026-04-24 10:22:53 +08:00
hmo 08cc0541f2 fix: 班级分配目标模态窗体也默认90天后 2026-04-24 10:13:03 +08:00
hmo 812715cf5e fix: 分配目标默认90天后,dropdown文案修正为'指定天数' 2026-04-24 10:08:47 +08:00
hmo 070533326a feat: 班级管理增加分配目标功能,支持批量分配目标给班级所有学员 2026-04-24 09:24:24 +08:00
hmo 8e0f6ec46d docs: v1.3部署SOP更新;版本目录结构;schema发布;双备份规范 2026-04-24 00:51:00 +08:00
hmo 587aa79c16 feat: 学员详情页改为学习历程时间线,显示目标启动/达成和方案生成记录 2026-04-24 00:33:30 +08:00
hmo a133f26fd5 fix: 评估日期选择器联动,天数自动计算日期或手动选日期 2026-04-24 00:19:42 +08:00
hmo 977e82dbb6 docs: 更新目标和学员目标数据模型文档 2026-04-24 00:08:40 +08:00
hmo 035c599c2f feat: 重构学员目标系统,支持评估日期/状态自动计算/评估目标,同时恢复方案列表的典型设置 2026-04-24 00:06:26 +08:00
hmo 68e106018b fix: 修复分类显示文字,标签统一为问题描述,新建目标也用Markdown编辑器 2026-04-23 23:02:25 +08:00
hmo 26dd158f01 feat: 统一编辑Modal样式,添加sticky底部按钮栏,目标内容使用Markdown编辑器 2026-04-23 22:43:23 +08:00
hmo 378c9913ec fix: 分组视图添加col-包装器以正确显示网格布局 2026-04-23 22:33:15 +08:00
hmo 66451c2006 feat: settings页面改名为problems,移除调试代码 2026-04-23 22:29:51 +08:00
hmo 22143bad78 fix: 修复JS语法错误,删除多余代码块 2026-04-23 22:20:40 +08:00
hmo ce75a288e8 feat: 目标和问题列表添加筛选和分组功能 2026-04-23 22:02:56 +08:00
hmo f83769fa20 feat: 目标和问题统一分类体系(综合/乐理相关/演奏能力/其他),添加数据库迁移 2026-04-23 21:57:00 +08:00