yuming
|
93ef7d54f5
|
fix(ci): 拉取代码改走局域网 gitea,不再依赖外网 action
部署到群晖 / deploy (push) Failing after 40s
actions/checkout 无论走 github.com 还是 gitea.com 都会被国内
网络偶发 reset。runner 跟 gitea 在同一群晖,直接 git clone 本地
仓库最稳。
同时给 apt 安装列表补上 git 和 ca-certificates。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-12 09:01:25 +08:00 |
|
yuming
|
7cb60ae8a8
|
fix(ci): actions/checkout 走 gitea.com 镜像
部署到群晖 / deploy (push) Failing after 6s
避免裸连 github.com 偶发 unexpected EOF 导致部署失败。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-12 08:50:37 +08:00 |
|
yuming
|
79966d2130
|
fix(ci): 彻底清空 Docker daemon 代理,避免拉镜像走 socks5 被 reset
部署到群晖 / deploy (push) Successful in 1m20s
之前只写了空 daemon.json,但 dockerd 仍会继承环境里的
HTTPS_PROXY=socks5://192.168.1.119:1080,导致拉 daocloud
镜像源时被 socks 代理拒绝。
三处同时置空:
1) systemd drop-in:覆盖 dockerd 启动环境变量
2) /etc/docker/daemon.json:显式声明 proxies 全空
3) /root/.docker/config.json:清空 client 端代理
装完 docker 后强制重启 daemon 让新配置生效。
应用容器内部 socks5 配置完全不动。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-11 23:43:52 +08:00 |
|
yuming
|
53d3ab7769
|
fix: 网络断开后任务永久卡在"下载中"
部署到群晖 / deploy (push) Failing after 34s
三处协同修复:
1) worker 异常分支补 _release_stuck_task,
标记 FailedDownload、推进 finish_task、清残留。
2) download_media 中 fetch_message 加 try-except,
连接异常返回 FailedDownload,不再让异常冒泡。
3) download_chat_task 用 try/finally 兜底回写
chat_download_config.total_task,避免 _wait_node_finish
误判频道已完成而切到下一个。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-11 22:46:05 +08:00 |
|
yuming
|
1cb70dabe0
|
fix: 容器时区设为 Asia/Shanghai,日志显示北京时间
部署到群晖 / deploy (push) Successful in 1m28s
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-09 19:55:10 +08:00 |
|
yuming
|
383c8ce17c
|
feat: 过滤条件新增文件类型多选,支持 mp3/mp4/jpg 等常见类型
部署到群晖 / deploy (push) Successful in 1m42s
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-09 17:21:36 +08:00 |
|
yuming
|
6fd4239ab4
|
feat: 任务队列改为横向卡片布局,超出自动换行
部署到群晖 / deploy (push) Successful in 3m11s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-05-09 16:12:11 +08:00 |
|
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
|
3c1f8e4c5a
|
fix: 为 _wait_node_finish 添加超时保护,避免异常时队列永久卡死
部署到群晖 / deploy (push) Successful in 1m39s
默认超时 3600s,超时后记录警告日志并强制跳过当前频道。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-30 10:04:27 +08:00 |
|
yuming
|
e40b15da33
|
fix: 修复任务队列第二个任务不自动启动的问题
部署到群晖 / deploy (push) Successful in 58s
_wait_node_finish 传入的是 TaskNode 但字段在 ChatDownloadConfig 上,
导致 AttributeError 使协程崩溃,第二个任务永远无法启动。
改为传入 ChatDownloadConfig 对象。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-30 09:39:14 +08:00 |
|
yuming
|
ac7c491e6c
|
fix: 在安装Docker前写入干净配置并清除代理环境变量
部署到群晖 / deploy (push) Successful in 1m4s
|
2026-04-29 22:34:30 +08:00 |
|
yuming
|
7b338ad086
|
fix: CI构建前清除Docker代理配置避免镜像拉取失败
部署到群晖 / deploy (push) Failing after 1m2s
|
2026-04-29 22:29:41 +08:00 |
|
yuming
|
64a21620d1
|
fix: CI构建前清除Docker代理配置避免镜像拉取失败
部署到群晖 / deploy (push) Failing after 1m1s
|
2026-04-29 22:20:57 +08:00 |
|
yuming
|
eee81b5b0b
|
fix: 修复任务队列快照中已完成数一直为0的问题
部署到群晖 / deploy (push) Failing after 30s
切换频道前先等待所有 worker 下载完成,再拍快照,
避免快照时任务还在队列中导致 completed_files 始终为 0。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-29 21:59:38 +08:00 |
|
yuming
|
bc926bd972
|
fix: 清理 _download_result 中失败/中断任务的僵尸记录
部署到群晖 / deploy (push) Successful in 47s
UI "正在下载" 数会随时间膨胀(如设置并发=5 却显示 54 个)的根因:
_download_result 仅在用户手动「跳过」时被清理,下载失败/中断(3 次重试
都失败、_check_download_finish 大小不匹配抛 BadRequest 等)路径不会清,
导致中途失败的进度记录永久残留在内存字典里被 UI 误判为"还在下载"。
修复:在 download_task 末尾统一调用 remove_download_entry,无论成功/
失败/跳过任务结束就清掉。该 dict 仅用于 UI/Bot 实时进度展示,不参与
下载触发或重试决策(重试由 ids_to_retry + worker 内部 3 次重试两层兜底),
清理后下载逻辑零影响。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-04-26 15:50:13 +08:00 |
|
yuming
|
cb2a453b5f
|
fix: 保存常规设置时同步内存配置,避免重启前被旧值覆盖
部署到群晖 / deploy (push) Successful in 45s
|
2026-04-26 10:26:10 +08:00 |
|
yuming
|
2c1c1b6a2f
|
fix: 已配置代理时不被环境变量覆盖
部署到群晖 / deploy (push) Successful in 41s
|
2026-04-25 22:44:24 +08:00 |
|
yuming
|
144fad29c2
|
fix: SOCKS5 测试改用 socks5h 避免 DNS 污染
部署到群晖 / deploy (push) Successful in 51s
|
2026-04-25 22:38:34 +08:00 |
|
yuming
|
eb454cbe73
|
feat: 正在下载 / 已完成卡片支持点击折叠
部署到群晖 / deploy (push) Successful in 58s
对齐历史频道的交互:card-hd 整行可点,箭头 ▾ 旋转,
折叠时 card-hd border-bottom 去掉避免多余分隔线。
已完成卡片的分页器 done-pager 跟 card-bd 联动隐藏。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-04-25 00:02:54 +08:00 |
|
yuming
|
a697ce8852
|
feat: 宿主机 ↔ 容器路径双向映射
部署到群晖 / deploy (push) Successful in 46s
config.yaml 新增 path_mapping 段声明宿主机前缀与容器挂载点前缀的对应关系。
用户在 Web 界面和 config 里填宿主机真实路径(如群晖 /volume2/...),
程序在真正落盘、调用云盘 SDK 前透明转成容器内路径,保证文件写到 bind mount
而不是容器 overlay 文件系统;前端显示/返回的路径再反向转回宿主机形式。
无映射配置时所有 to_container/to_host 均原样返回,向后兼容老配置。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-04-24 21:43:55 +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
|
8de92095f7
|
feat: 任务队列卡片显示每个频道的日期范围
部署到群晖 / deploy (push) Successful in 58s
- 后端 _compute_current_task_queue 返回每项附带 download_filter
- 前端三种卡片(已完成/当前/排队中)都加一行 📅 日期范围,
复用既有 parseFilterDisplay 解析 filter 字符串
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-04-23 13:17:58 +08:00 |
|
yuming
|
fbdd3fa31b
|
fix: 任务队列改从 app.chat_download_config 动态构造,解决 os.execv重启后 _task_queue全局变量丢失导致队列只显示 1 个频道的问题
部署到群晖 / deploy (push) Successful in 41s
|
2026-04-23 13:12:47 +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
|
a1499a431f
|
feat: 支持多频道队列下载
部署到群晖 / deploy (push) Successful in 51s
|
2026-04-23 09:56:40 +08:00 |
|
yuming
|
2f70a6627e
|
fix(ui): 手机顶部导航分两行,解决文字被挤压竖排
部署到群晖 / deploy (push) Successful in 55s
|
2026-04-23 08:59:58 +08:00 |
|
yuming
|
b5cd26b35b
|
feat(ui): 主页手机端响应式适配(≤768px)
部署到群晖 / deploy (push) Successful in 44s
|
2026-04-23 08:21:54 +08:00 |
|
yuming
|
c0d49e9bf5
|
chore: 下载目录挂载切换到 /volume2/save/tgdowload
部署到群晖 / deploy (push) Successful in 50s
|
2026-04-22 22:28:31 +08:00 |
|
yuming
|
0243dcd242
|
fix: Alpine 换 USTC 镜像, pip 换清华镜像避免超时
部署到群晖 / deploy (push) Successful in 1m44s
|
2026-04-22 22:19:24 +08:00 |
|
yuming
|
419423562b
|
fix: apt 换清华镜像源避免超时
部署到群晖 / deploy (push) Failing after 17m56s
|
2026-04-22 21:49:20 +08:00 |
|
yuming
|
cf40343c51
|
初始化 telegram-downloader 并接入群晖 CI/CD
部署到群晖 / deploy (push) Failing after 10m45s
|
2026-04-22 21:29:03 +08:00 |
|