Commit Graph

303 Commits

Author SHA1 Message Date
yuming d1f411ccf7 Merge: CI 装 Docker CLI 加详细排查日志
部署到群晖 / deploy (push) Failing after 1m33s
2026-07-04 14:35:28 +08:00
yuming a7741b9de2 ci: 装 Docker CLI 步骤加详细排查日志
之前 apt-get update 用 -qq 静默,看不到到底卡在哪。加日志:
- 打印 os-release、sources 文件列表和内容
- 换源后对比确认 sed 生效
- DNS 解析 + HTTP 探测 mirrors.aliyun.com
- apt-get update 去 -qq 输出详细

拿到日志再定位下一步(DNS 问题?network 问题?sources 格式问题?)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-07-04 14:35:18 +08:00
yuming 1055b6f01f Merge: CI runner apt 源换阿里云
部署到群晖 / deploy (push) Failing after 1m33s
2026-07-04 14:28:23 +08:00
yuming 9038c39afa ci: 换 runner 内 Ubuntu apt 源到阿里云
上次跑到 apt-get update 60s 超时(timeout 兜底生效)。原因:
- Runner (ubuntu-latest) 用的是 archive.ubuntu.com / security.ubuntu.com
- 之前的 sed 只匹配 deb.debian.org,对 Ubuntu 源根本没换

修改:
- 换 Ubuntu 源到 mirrors.aliyun.com,兼容 legacy /etc/apt/sources.list、
  deb822 .sources 和 sources.list.d/*.list 三种格式
- update timeout 60s → 90s,install 180s → 240s,给国内源一点余量

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-07-04 14:28:12 +08:00
yuming 145c6b48f3 Merge feature/merge-upstream: CI 安装 Docker CLI 超时保护
部署到群晖 / deploy (push) Failing after 1m2s
2026-07-04 11:27:47 +08:00
yuming 1899f90b5c ci: 装 Docker CLI 前先探测 + apt 加超时兜底
上次两次构建都在"安装 Docker CLI"这步 3h9m 卡死超时。原因:
- Runner 是 ubuntu-latest(Ubuntu 源),但 sed 只匹配 deb.debian.org,实际未换源
- apt-get 走原始 Ubuntu 源,网络出去慢就无限挂到全局 timeout

修改:
- 先 command -v docker 探测(gitea act_runner 大概率预装了 docker)
- 没有再走 apt 装,用 timeout 包裹各命令(update 60s / install 180s),超时快速失败而非 3h 挂死

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-07-04 11:27:31 +08:00
yuming a0133fe02d Merge feature/merge-upstream: 数据看板视频封面接口 + Cookie 编辑弹窗全屏化
部署到群晖 / deploy (push) Failing after 3h9m17s
2026-07-03 23:35:06 +08:00
yuming 45d3a3de4d feat: 数据看板视频封面接口 + Cookie 编辑弹窗全屏化
- Controllers/VideoController.cs:补回 upstream merge 时丢失的 GetVideoCover 接口(/api/video/cover/{id}),修复数据看板作者视频列表封面加载失败
- app/src/App.vue:.full-modal 改成 flex + height:100vh 全屏抽屉式布局,footer 常驻底部,body flex:1 承担滚动,解决大视口下 modal 底部大片空白
- app/src/pages/cok/CookieTable.vue:删除 .modal-scroll-body 的双层滚动 hack(max-height + overflow:scroll),让 .ant-modal-body 独家承担滚动,修复小屏下 Cookie 编辑弹窗内容滑不动

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-07-03 23:34:20 +08:00
yuming cf40a7e89a Merge feature/merge-upstream: Modal 小屏 + 视频播放 + Docker Alpine(冲突以 feature 为准)
部署到群晖 / deploy (push) Failing after 3h9m39s
# Conflicts:
#	Dockerfile
#	Dockerfile-arm
#	dto/VideoPageRequestDTO.cs
#	model/AppConfig.cs
#	repository/DyCollectVideoRepository.cs
#	service/CommonService.cs
#	service/DyCollectVideoService.cs
#	service/DyHttpClientService.cs
2026-07-03 20:03:46 +08:00
yuming e6c5587637 feat: Modal 小屏滚动 + 数据看板视频播放 + Docker Alpine 化
- 数据看板作者视频播放接口从 /api/video/stream 改为 /api/Video/play(后端只有 Play action,之前笔误导致 404)
- 全局 Modal 小屏适配:body max-height + 自定义 10px 深色滚动条,兼容 full-modal 和登录页 login-modal
- Docker 镜像换 Alpine + 内置 ffmpeg,避开 Ubuntu apt 网络问题
- 新增 .dockerignore 排除 node_modules / logs / videos / db 等构建噪音
- 移除已废弃的 DyQrCodeService(旧扫码登录)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-07-03 18:03:57 +08:00
yuming 30060fe29c feat: 将本地独有功能移植到 upstream 最新版本
基于 upstream/master (c5922f9) 新建分支,移植以下功能:
1. 扫码登录(DyQrCodeService + ConfigController 3个接口)
2. 视频预览组件(VideoPlayer.vue)
3. 下载配置服务(DownloadConfigService + AppConfig 6个扩展字段)
4. Gitea CI/CD(.gitea/workflows/deploy.yml)
5. 生产 Dockerfile(Dockerfile.prod,含中国镜像源配置)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-02 20:58:08 +08:00
jianzhichu c5922f9b08 1、博主签名字符串长度限制
2、仅下载图片时-一直重复下载BUG修复
3、cookie授权界面优化
2026-06-16 22:09:22 +08:00
jianzhichu e83ad8d85c 手动添加关注博主BUG修复 2026-06-10 20:26:16 +08:00
jianzhichu cc96e03cb9 1 2026-06-09 22:32:48 +08:00
jianzhichu 522fc6f699 修改查询腾讯docker镜像接口,检查最新版本的接口 2026-06-09 21:49:04 +08:00
jianzhichu c88afc2fd0 123 2026-06-08 12:28:34 +08:00
jianzhichu e48bada605 1 2026-05-10 23:45:21 +08:00
jianzhichu fdd19cd22b 1 2026-05-10 14:31:16 +08:00
jianzhichu 83e185a1f8 readme 2026-05-10 14:27:12 +08:00
jianzhichu 5e89b9c66f 重置cookie工具 2026-05-10 14:25:46 +08:00
jianzhichu 432ab60dd0 注释掉很多之前为了兼容旧数据的脚本(数据量大会导致启动时耗时很久)
增加重置密码功能
2026-05-01 17:54:53 +08:00
yuming 8e8d256e9a ci: 触发重新构建(NAS 代理已修复)
部署到群晖 / deploy (push) Failing after 33s
2026-04-27 13:09:28 +08:00
yuming 467e8cbad5 fix: 使用 Azure 中国镜像 mcr.azurecr.cn 替代 mcr.microsoft.com,解决国内网络连接超时
部署到群晖 / deploy (push) Failing after 31s
2026-04-27 13:00:36 +08:00
yuming 66b3f2f4db fix: 切换 apt 源为阿里云镜像,解决国内网络构建超时问题
部署到群晖 / deploy (push) Failing after 58s
2026-04-27 10:22:18 +08:00
yuming d76c1cad87 fix(docker): 改用 npx playwright install 下载 Chromium,确保路径存在
部署到群晖 / deploy (push) Failing after 5m10s
之前用 dotnet tool 方式被 || true 吞掉错误导致 /ms-playwright 不存在。
改为在 builder 阶段装 Node.js 18 后用 npx playwright@1.44.0 install 下载,
路径可靠,复制到 final 阶段不再报错。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 09:29:30 +08:00
yuming 2a4ce563b0 fix: 改用 Playwright Headless Chromium 实现扫码登录
部署到群晖 / deploy (push) Failing after 1m27s
sso.douyin.com 有 JS 反爬,纯 HTTP 无法通过。
改用 Microsoft.Playwright 驱动 Headless Chromium 打开
creator.douyin.com 登录页,直接提取 QR 码 base64 和登录后 Cookie。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 09:22:15 +08:00
yuming 0848ebc272 feat: 抖音扫码登录,自动填写 Cookie 和 SecUserId
部署到群晖 / deploy (push) Successful in 32s
新增 DyQrCodeService,调用 sso.douyin.com 二维码接口;
ConfigController 新增 qrcode/qrstatus/qrbind 三个接口;
前端账号列表每行增加"扫码登录"按钮,展示二维码弹窗并自动轮询绑定。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 08:56:56 +08:00
jianzhichu a21f745eac 1 2026-04-26 11:48:03 +08:00
yuming 6803b32b1b chore: .gitignore 屏蔽手动部署脚本,统一走 Gitea CI
部署到群晖 / deploy (push) Successful in 1m23s
2026-04-25 11:05:49 +08:00
yuming b328e82eb2 feat: 视频预览/数据看板/下载配置 三项业务功能
- 新增视频预览:VideoPlayer 组件、VideoController/DyCollectVideoService/Repository、VideoPageRequestDTO 对应后端改动
- 新增数据看板:workplace/statics.vue、RecordTable、相关 store/http/axios 改动
- 新增下载配置:DownloadConfigService、ConfigController、AppSet.vue、AppConfig
- 其他:DyHttpClientService / 同步 Job(Collect, Favorit) / Cookie 表 / CommonService / ServiceExtension 的配套调整
- 仓库卫生:.gitignore 追加 feiniu 过滤;运维脚本归档到 docs/scripts/
2026-04-25 00:22:33 +08:00
yuming ca530312d0 fix(ci): 同步 pnpm-lock.yaml 与 package.json,解决 frozen-lockfile 报错
部署到群晖 / deploy (push) Successful in 29s
2026-04-25 00:01:46 +08:00
yuming c441e060b9 fix(ci): .NET 基础镜像改回 mcr.microsoft.com,代理已通且宿主已预拉缓存
部署到群晖 / deploy (push) Failing after 8m13s
2026-04-24 23:45:30 +08:00
yuming 2f091915e7 fix(ci): .NET 基础镜像改走阿里云 dotnet 官方同步源
部署到群晖 / deploy (push) Failing after 31s
2026-04-24 22:33:50 +08:00
yuming 3cc5ae3719 fix(ci): .NET 基础镜像改走 daocloud mcr 代理
部署到群晖 / deploy (push) Failing after 2m29s
2026-04-24 22:23:34 +08:00
yuming 25dad98d8d fix(ci): .dockerignore 改为纯 ASCII
部署到群晖 / deploy (push) Failing after 30s
buildkit 报 "header key exclude-patterns contains value with non-printable ASCII"
根因:原文件含大量中文注释与中文文件名 pattern
修复:注释全部英文化,中文文件名 pattern 被 *.md 覆盖后删除

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 22:09:23 +08:00
yuming 428fb8aa48 fix(ci): 前端构建镜像源改回 docker.io
部署到群晖 / deploy (push) Failing after 41s
阿里云杭州源 TLS handshake timeout 导致首次 CI 失败,
换回官方 node:18-alpine;mcr.microsoft.com 能通常 docker.io 也能。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 22:05:06 +08:00
yuming c9ee05afde ci: 新增 Gitea Actions 自动部署到群晖
部署到群晖 / deploy (push) Failing after 42s
push main 触发:docker build Dockerfile.prod → 停旧启新容器
端口 10101:10101,数据卷按 volume1(db/logs)+ volume2(视频)分卷

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 22:00:36 +08:00
yuming ad97fd3da5 整理仓库:扩展 gitignore、归档文档、清理冗余 Dockerfile
- .gitignore 新增忽略 .idea/、videos/、*.tar.gz、*.csproj.user、db 运行时文件
- 根目录 15 个中文运维 md 归档到 docs/
- 删除无部署脚本引用的 Dockerfile 与 Dockerfile-arm(保留 Dockerfile.prod)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 21:28:41 +08:00
jianzhichu dd22d46f26 1 2026-04-09 23:50:52 +08:00
jianzhichu 4a7aeeed8c 抽屉滚动事件不触发修复 2026-03-28 13:55:18 +08:00
jianzhichu b1bf488e84 1 2026-03-26 21:09:49 +08:00
jianzhichu a67093405a 移除发布文件 2026-03-26 21:09:43 +08:00
jianzhichu 01073fce52 关注列表bug 2026-03-26 20:52:14 +08:00
jianzhichu fc29ee21ea 收藏夹更新 2026-03-26 20:10:26 +08:00
jianzhichu 63f44adeca 自定义收藏夹bug 2026-03-26 20:07:42 +08:00
jianzhichu 8f738f1714 1 2026-03-19 20:52:48 +08:00
jianzhichu 77dbb8048e 关注列表增加2个搜索条件 2026-03-19 20:22:21 +08:00
jianzhichu 2aef300ab0 readme 2026-03-19 19:54:04 +08:00
jianzhichu 36d301d32b 封板 2026-03-18 19:22:47 +08:00
jianzhichu 3a47b1e028 访问不了外网的问题 docker-compose dns 2026-03-15 08:30:54 +08:00