study-tool
aa48145557
feat: 故障推送 / 公需课自动重学 / 插件解耦,发版 v0.0.8
...
体检修复:启动日志不再打印 AUTH_TOKEN、密钥可清空、推送失败不占整段冷却、目录名与文案统一成 plugins/。
2026-11-01 17:47:22 +08:00
study-tool
cfa960221e
feat(web): 插件管理弹窗(启停 / 重载)
...
- 顶栏新增「插件管理」图标按钮,打开 PluginsDialog
- 弹窗列出 pugins/ 下的插件:标题 / 目录名 / 是否启用与已加载 / 平台 label / 能力清单
- 每个插件可启用、停用、重载,底部有「全部重载」
- 启停成功后重新拉 /api/platforms,「添加账号」的平台下拉同步刷新
- types.ts 新增 PluginInfo;App.tsx 把平台列表加载提成 loadPlatforms 复用
- static/ 重新构建(pnpm typecheck + pnpm build 均通过)
- 顺带把 .vscode/ 纳入跟踪
2026-10-31 16:01:44 +08:00
study-tool
e6515fe278
fix: 运行状态与日志三处修复;依赖改用 uv 锁 + 国内镜像
...
- 重启标记不再污染新一轮运行:hydrate_runs() 标记「已中断」后立即落库,runtime.set_state() 在切入 discovering/studying 时清掉上一轮的 error/progress/finished_at
- 服务重启后卡片「课程日志」能读到 SQLite 历史:前端兜底条件不再拿 status 是否为空做判断(重启后 status 恒为 interrupted)
- 删除账号连带清日志:account_delete() 按账号 id + 用户名清 run_state/run_log/login_log,删除接口同时清内存里两个 key
- 新增 uv.lock 依赖锁定;pyproject 走阿里云 PyPI 镜像,Dockerfile 支持 PIP_INDEX_URL 构建参数
- 文档移入 docs/,.gitignore 忽略 *.egg-info/(uv run 可编辑安装产物)
2026-10-31 00:53:40 +08:00
study-tool
1a3347f7f9
feat: 添加账号支持选择学习平台
...
账号新增 platform 字段,登录/刷新课程/发现课程按平台分发;同时把 JS 脚本收进 script/(目录规范调整)。
2026-10-30 01:13:47 +08:00
study-tool
e8634a6317
refactor: React 前端重构,新旧平台合并为莞易学
2026-10-29 23:53:17 +08:00
study-tool
35853891c9
fix: 页面标题改为莞易学,容器内固定国内 DNS
...
- static/index.html:标题与页头 h1 由「多账号学习控制台」改为「莞易学」
- docker-compose.yml:容器固定 223.5.5.5 / 119.29.29.29,绕过宿主机不可用的 1.1.1.1 上游
2026-10-28 20:41:44 +08:00
study-tool
585a7a28dd
feat: study modes (fast/parallel) and course-container completion fix
...
- settings: study.mode fast|normal and study.parallel 1-5
- normal mode: one headless browser per video, visibility keep-alive, auto-degrade when the platform enforces order
- report study/log/detail/save before isComplete; drop lastProgressTime on completion
- complete periodType 10/13 container nodes and recompute counters via PUT calFinalScore
- capture mode: POST /api/capture records all XHR/fetch including new tabs
- UI: study mode in settings, capture / stop-capture menu items
2026-10-27 22:30:57 +08:00