dekun
5f00f07dbe
成绩复盘独立导航页,柱状图点击展示各科考试明细。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 17:26:53 +08:00
dekun
b4df6e5e18
移除已废弃的 ReviewTreeChart 组件。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 17:17:15 +08:00
dekun
4b55eb54b0
复盘统计改为分色堆叠柱状图,替代节点树图。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 17:16:44 +08:00
dekun
f7a761da33
修复复盘保存 405:复盘改走成绩更新接口,并修正 API 404 回退。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 16:48:20 +08:00
dekun
bec9df5d6f
修复复盘保存失败:原地更新成绩并新增 review 专用接口。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 16:38:20 +08:00
dekun
ff4e0b1d37
成绩复盘与 PC 端上传优化:各科考试状态多选及树状统计。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 16:33:21 +08:00
dekun
acfe002fbf
上传前人工裁剪错题区域,OCR 原文排除手写作答。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 16:01:46 +08:00
dekun
23be608521
清理 Ollama/API URL 中的终端控制字符,修复 AI 调用失败。
2026-06-28 15:42:28 +08:00
dekun
e5ff76c20b
修复 update 后 start.sh 无执行权限导致服务无法启动。
2026-06-28 15:39:01 +08:00
dekun
4de460c235
OCR Worker 改用 RapidOCR/ONNX,修复 Paddle SIGILL。
2026-06-28 15:27:59 +08:00
dekun
035b65dcc8
OCR 修复:无 cuDNN 用 CPU、禁用 ir_optim 避免 SIGILL。
2026-06-28 15:18:42 +08:00
dekun
0d4861fa62
OCR 500: GPU 回退 CPU、返回详细错误、增加 test-ocr 诊断。
2026-06-28 15:04:33 +08:00
dekun
edd3e80ef1
install: show wait progress, shorten OCR health wait, log to file.
2026-06-28 14:58:06 +08:00
dekun
04f1381a2d
完善 uninstall.sh:停止服务并可选清除目录与数据库。
2026-06-28 14:46:34 +08:00
dekun
357f61c57c
一键部署:主程序+OCR同机(screen/GPU),Ollama外置局域网。
2026-06-28 14:44:51 +08:00
dekun
9713c640b4
OCR Worker: add check and systemd install scripts.
2026-06-28 14:39:38 +08:00
dekun
ff0c103dc5
支持局域网 GPU OCR 服务,配置方式类似 Ollama。
2026-06-28 14:16:06 +08:00
dekun
14bf314544
加速错题 OCR:上传压缩、识别缩放、启动预热与 MKL-DNN。
2026-06-28 14:12:01 +08:00
dekun
6200dbb596
修复错题一直显示处理中:超时、自动刷新与状态更新。
2026-06-28 14:09:10 +08:00
dekun
c42cd0b46d
修复更新后服务无法访问:强制 systemd 配置与健康检查。
...
- update.sh 必须 root 运行,自动注册并重启 grade-archive
- 新增 deploy/repair.sh 一键修复连接被拒绝
2026-06-28 14:03:36 +08:00
dekun
1c50ebc0ec
修复 OCR libGL.so.1 缺失:安装 libgl1 等系统依赖。
...
- 新增 deploy/install-ocr-deps.sh,update.sh 自动检查
- install.sh 预装 OpenGL/Mesa 库
2026-06-28 13:57:49 +08:00
dekun
a145f38606
错题处理失败时直接显示具体错误信息。
2026-06-28 13:54:43 +08:00
dekun
a2a6d59f7c
作业帮式错题标注:OCR 定位错误红框 + 解题思路。
...
- PaddleOCR 行级坐标 + AI 识别错答区域,生成标注图
- 解法拆分为「解题思路」与「详细解答」
- 详情页标注图/原图切换,列表显示标注缩略图
2026-06-28 13:50:20 +08:00
dekun
c30e21b51e
修复错题图片显示、Tab 刷新跳转,奥数仅数学并支持删除。
...
- 图片通过带 Token 的 blob 请求加载,修复不显示
- URL ?tab= 保持当前标签,刷新列表不再重置到成绩录入
- 奥数区固定数学科目;错题卡片与详情增加删除
2026-06-28 13:47:53 +08:00
dekun
43483bf56f
移动端拍照上传、奥数区、学段约束解题与 AI 模型配置。
...
- 手机/平板响应式布局,支持拍照与相册上传
- 学生详情新增奥数区,按初/高中学段生成解法并禁止超纲
- 系统设置可配置 Ollama 或 OpenAI 兼容 API
- 更新 frontend/dist 与使用说明
2026-06-28 13:39:54 +08:00
dekun
4375ea491e
部署文档与脚本增加 HTTP 代理配置(192.168.8.246:10810)。
2026-06-28 13:24:19 +08:00
dekun
f1ad4273f4
零 Node 部署、超级管理员,并完善本地构建发布文档。
...
- FastAPI 单进程托管 frontend/dist,systemd 替代 PM2
- 超级管理员 admin、注册开关与用户管理
- README/DEPLOY/USAGE 说明:改代码须本地构建 dist 后 push,服务器 update.sh
- 提交 frontend/dist 与 build-frontend 脚本
2026-06-28 13:19:41 +08:00
dekun
a3d4875bde
Standardize API port 23568 and web port 23566 across docs and dev config.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 13:07:46 +08:00
dekun
2a5fb5f469
Fix API port conflict default 23568, bcrypt registration, clearer login errors.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 13:04:59 +08:00
dekun
8652476abc
Fix registration: use bcrypt directly and show real API error messages.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 13:02:06 +08:00
dekun
9f34ce8e07
Fix PM2 startup: run only the sudo line from pm2 startup output.
...
Avoid executing PM2 banner text as shell commands during install.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 12:55:55 +08:00
dekun
521a0fc66f
Remove built-in proxy from deploy scripts and show pip install progress.
...
Proxy is optional via manual env vars only; update.sh also drops quiet pip/npm flags.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 12:50:06 +08:00
dekun
e797d188ee
Switch production deployment from Docker to PM2 on Ubuntu.
...
Add Express gateway, ecosystem config, and one-click install with native PostgreSQL, Node, and Python venv on port 23566.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 11:52:20 +08:00
dekun
e329d3398a
Initial commit: secondary school grade archive system.
...
Add FastAPI/React app with Docker deployment, Ubuntu one-click install, and docs for junior/senior high score tracking and mistake bank.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-28 11:18:58 +08:00