Commit Graph

6 Commits

Author SHA1 Message Date
yuming 49fb1bd55a fix: 无下载任务时速度显示不归零问题
当所有任务处于跳过状态时,update_download_status 不被调用,
导致 _total_download_speed 保留上一次的旧值一直显示。
通过检查 _last_download_time,超过 2 秒无新数据则返回 0。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09 16:11:08 +08:00
yuming 4fc76e27f3 feat: 单条「继续」可突破全局暂停
部署到群晖 / deploy (push) Successful in 50s
全局暂停下对单条点继续,赋予该消息豁免权可绕过全局暂停 while 循环继续下载;
全局恢复下载或单条暂停/跳过时自动清理豁免,避免脏状态残留。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 21:30:46 +08:00
yuming c85d0b726d fix: 末尾频道快照 + h-skip 累加 + 清理死代码
部署到群晖 / deploy (push) Successful in 3m19s
- 补 download_all_chat 末尾 snapshot + reset,修复最后频道永远卡「🚀下载中」
- h-skip 改为跨频道累加,解决切频道视觉归零
- 清理前端 currentFilter 死变量 / download_stat 无意义三元

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 20:28:08 +08:00
yuming e5e375c30d feat: 多频道任务队列总览卡片
部署到群晖 / deploy (push) Successful in 52s
- download_stat 新增 _task_queue / _completed_chats 与三个辅助函数
- 切频道前自动把上一个频道的最终进度快照进 completed_chats
- save_and_restart(_multi) 启动任务时设置队列,供前端渲染总览
- 前端 banner 改为"任务队列"多卡片列表(已完成 / 🚀当前 / 排队中),
  含进度条、跳过明细;兼容单频道场景

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 12:47:44 +08:00
yuming 58194ba29f feat: 队列日期格式化 + 任务分母改为真正要下载的数量
部署到群晖 / deploy (push) Successful in 42s
- 队列卡片:显示 📅 2025-11-20 至 2026-04-23,替代原 SQL filter 字符串
- 任务状态:分母改为 qualified - existing_skipped(本次真正待下载数),
  跳过文案在有本次跳过时追加"其中本次跳过 X"
- 新增 existing_skipped 计数器,在 "文件已存在" 和 "db 标记跳过" 两处独立递增

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 10:18:52 +08:00
yuming cf40343c51 初始化 telegram-downloader 并接入群晖 CI/CD
部署到群晖 / deploy (push) Failing after 10m45s
2026-04-22 21:29:03 +08:00