Commit Graph
30 Commits
Author SHA1 Message Date
Henry_Du daa86ef50f fix(song-management): add lang=ts to script setup to fix catch type annotation SFC parse error
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Successful in 3m25s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Successful in 9m14s
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Successful in 6s
2026-09-06 17:58:38 +08:00
Henry_Du bd8df1f026 feat(songs): 歌曲管理支持批量驳回、投稿留言自动审查与排期范围可见性过滤
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Failing after 6m31s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Skipped
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Failing after 4s
- 新增 /api/admin/songs/batch-reject.post 批量驳回接口(事务清排期/投票/扣接纳数/黑名单去重/异步通知)
- requireSongAdmin 三角色校验 + createApiError 统一错误包装
- scheduleDaysBefore/After 四字段排期可见范围限制(开放 API 与公开排期接口三处缓存路径 + DB 条件过滤)
- submissionNoteAutoModeration 基于黑名单 KEYWORD/LANGUAGE/GENRE 自动判定留言 publicStatus,命中自动关闭 submissionNotePublic
- 更新 songs/request.post 与 songs/[id]/update.put 接入自动审查逻辑
2026-09-06 17:03:20 +08:00
Henry_Du 43e2a05666 fix(ci): docker-compose.override.yml 生成方式从 heredoc 改 printf 单行拼,彻底绕开 bash heredoc 结束分隔符必须行首 + 变量不展开 + YAML parser 误判 services: 三重坑
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Successful in 2m22s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Successful in 9m14s
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Successful in 6s
2026-09-06 15:10:36 +08:00
Henry_Du 732c9c6725 fix(ci): deploy Job 增加目录可写性预检查 + docker-compose.override.yml heredoc 分隔符改 COMPOSE_OVERRIDE 并对齐缩进(绕开 YAML parser 误判 + 权限问题友好排查)
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Successful in 2m31s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Successful in 9m16s
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Successful in 4s
2026-09-06 14:17:05 +08:00
Henry_Du 496edf9f71 fix(ci): buildx build --load -> 宿主 docker push 两阶段,彻底绕开 buildkitd OAuth2 空 token 推送失败
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Successful in 2m35s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Successful in 9m43s
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Failing after 4s
2026-09-06 13:55:40 +08:00
Henry_Du 2097608f51 fix(ci): buildkitd.toml 注入 Gitea Basic Auth 凭据,绕开 OAuth2 空 token(authorization server did not include a token)
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Successful in 2m26s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Failing after 7m35s
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Skipped
2026-09-06 13:42:04 +08:00
Henry_Du 455438aa64 fix(ci): Docker Registry 仓库路径 owner/repo/tag 强制全小写,修 repository name must be lowercase
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Successful in 2m30s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Failing after 17m18s
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Skipped
2026-09-06 13:17:50 +08:00
Henry_Du d98fe53658 fix(ci): docker buildx build 删除不支持的 --context flag,改为末尾位置参数 .
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Successful in 2m57s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Failing after 4m14s
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Skipped
2026-09-06 12:23:15 +08:00
Henry_Du 7b8dabdb49 perf(ci): buildx builder 预拉 moby/buildkit 走国内 registry-mirrors,提速启动 5-10 倍
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Successful in 2m26s
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 0s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Canceled after 52s
2026-09-06 12:19:49 +08:00
Henry_Du e65c65d8e3 fix(ci): 构建 Job 修复 buildx create 空 env= 参数导致的 invalid driver option env 报错
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Successful in 2m29s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Failing after 14m44s
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Skipped
2026-09-06 11:59:42 +08:00
Henry_Du d247cfbda3 refactor(cleanup): 清理第二轮非酷狗组件残留(PlaylistSelection/NeteaseUpload/BilibiliIframe)
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Successful in 2m22s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Failing after 4m3s
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Skipped
- RequestForm.vue:删除 PlaylistSelectionModal.vue / NeteaseUploadDialog.vue 2 行无效 import
  (2 组件在合并阶段已物理删除,grep 确认无 ref / 赋值 / template 渲染段残留)
- AudioPlayer.vue:彻底清理 BilibiliIframeModal 相关 8 处残留:
  ① 封面点击事件 @click 三元嵌套语法 bug 修复 → 简化为 !isMobile ? toggleLyrics()
  ② 删除 v-if=false 的「观看视频」Icon 按钮(保留歌词按钮)
  ③ 删除 ClientOnly 包裹的 BilibiliIframeModal 渲染段
  ④ 删除 BilibiliIframeModal.vue / getBilibiliUrl 2 行 import
  ⑤ 删除 showBilibiliIframe ref 定义
  ⑥ 删除 resolveFallbackUrl 中 if(false) 包裹的 bilibili 死代码分支
  ⑦ 删除整个 openBilibiliVideo 函数(含 iframe 预览 + 新窗口跳转逻辑)
  ⑧ handlePlayerClick 移动端逻辑简化为直接 toggleLyrics(移除 bilibili 平台分支)
- 验证:
  ・IDE GetDiagnostics 0 error / 0 warning
  ・grep 本轮 3 Modal 关键字在 app/components 下 0 命中(仅 utils/url.ts 保留 getBilibiliUrl
    工具函数定义,未被 import,不影响 build)
  ・上一轮 4 Modal(NeteaseLogin/PodcastEpisodes/BilibiliEpisodes/RecentSongs)
    grep 0 命中(持续干净)
2026-09-06 11:50:33 +08:00
Henry_Du 167b60a368 fix(ci): 修复 Preflight/构建 Job 源死循环(ca-certificates 与 HTTPS 镜像源鸡生蛋问题)
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Failing after 1m36s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Skipped
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Failing after 4s
- env 新增 HTTP/HTTPS 双套镜像源变量(Debian bookworm + Ubuntu 22.04)
- Preflight(Debian slim 容器):Step 0 先用 HTTP 清华源 apt-get 装 ca-certificates
  + update-ca-certificates;Step 1 有证书后再切 HTTPS 清华源装 git/curl
- build-image(Ubuntu 宿主 Runner):apt-get 用默认 HTTP archive.ubuntu.com 先装
  ca-certificates;之后再 sed 换 HTTPS 清华源,避免同样的证书死循环
- 本地 yaml.safe_load 验证通过(YAML_OK);grep uses: 0 行;grep GH_PROXY_PREFIX 7 处
  全部走用户指定的 https://v4.gh-proxy.org/ 前缀
2026-09-06 11:40:32 +08:00
Henry_Du 10117fc7e2 perf(ci): 所有 Job Debian/Ubuntu 换清华源 + GitHub 访问统一走 v4.gh-proxy.org 前缀代理 + Buildx registry-mirrors
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Failing after 8s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Skipped
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Failing after 4s
2026-09-06 11:32:31 +08:00
Henry_Du cfd90865c8 refactor(ci): 移除所有第三方 uses action,改用纯 run 命令(规避 GitHub 下载超时)
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Canceled after 0s
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 0s
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Canceled after 11m42s
2026-09-06 11:20:52 +08:00
Henry_Du f4aa9884e2 fix: 删除 4 个已清理 Modal 的残留 import/ref/template(ScheduleList + RequestForm)
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Canceled after 0s
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 0s
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Canceled after 3m0s
2026-09-06 11:14:30 +08:00
Henry_Du cfe3d5bfc5 fix: 同步 package-lock.json + 删除 qq-music-api 残留 + npm ci 加 --legacy-peer-deps
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Failing after 1m18s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Skipped
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Failing after 2m1s
2026-09-06 10:58:20 +08:00
Henry_Du 10d363ca2b style(ci): 移除工作流步骤中的 emoji,改用专业风格命名
构建并部署 BYW VoiceHub / Preflight 语法与构建检查 (push) Canceled after 4m27s
构建并部署 BYW VoiceHub / 构建并推送容器镜像 (push) Skipped
构建并部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 5m33s
2026-09-06 10:35:56 +08:00
Henry_Du 97af401d89 fix(ci): Preflight 改为 Gitea 标准 container:image 写法(runs-on 只填 ubuntu-latest,避免 no runner matched)
构建 & 部署 BYW VoiceHub / 构建并推送镜像 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / Preflight 语法 & 构建检查 (push) Canceled after 3m0s
2026-09-06 10:32:55 +08:00
Henry_Du 7b3294a380 fix(ci): Preflight 直接跑 docker://node:22-bookworm-slim 跳过 setup-node 下载(国内 GitHub release 超时)
构建 & 部署 BYW VoiceHub / Preflight 语法 & 构建检查 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 构建并推送镜像 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 0s
2026-09-06 10:30:51 +08:00
Henry_Du 082b5c854c fix(ci): deploy.yml 改为用户真实 GITEA_HOST 和 DEPLOY_PATH(/data/opt/byw-voicehub)
构建 & 部署 BYW VoiceHub / 构建并推送镜像 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / Preflight 语法 & 构建检查 (push) Canceled after 3m44s
2026-09-06 10:21:48 +08:00
Henry_Du f999d58eef fix: 删除 voicehub 顶层 cpus/mem_limit,避免与 deploy.resources 重复定义报错
构建 & 部署 BYW VoiceHub / 构建并推送镜像 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / Preflight 语法 & 构建检查 (push) Canceled after 4m43s
2026-09-06 09:46:55 +08:00
Henry_Du 3ff6c9dd3e fix: docker-compose 顶级 name 小写合法 + .env.example 补充 REDIS_PASSWORD
构建 & 部署 BYW VoiceHub / Preflight 语法 & 构建检查 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 构建并推送镜像 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 0s
2026-09-06 09:44:58 +08:00
Henry_Du 47d63a48b0 fix: 修复 Docker Compose v2 严格类型下 cpus 双引号导致 ParseFloat 报错
构建 & 部署 BYW VoiceHub / Preflight 语法 & 构建检查 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 构建并推送镜像 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 0s
2026-09-06 09:41:34 +08:00
Henry_Du 7421906fb9 fix: 修复 Ubuntu 24.04 下 setup-deploy-user.sh useradd 参数错误(--disabled-password 是 adduser 的)
构建 & 部署 BYW VoiceHub / Preflight 语法 & 构建检查 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 构建并推送镜像 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 0s
2026-09-06 09:35:33 +08:00
Henry_Du a027816831 fix: 修复 Gitea Runner 下载 404(v3+ 改名 gitea-runner,改为 assets 匹配 + 多源回退)
构建 & 部署 BYW VoiceHub / Preflight 语法 & 构建检查 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 构建并推送镜像 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 0s
2026-09-06 09:13:06 +08:00
Henry_Du ed66d2d79f fix: 兼容中文 Gitea 1.27 的纯字母数字 Registration Token
构建 & 部署 BYW VoiceHub / Preflight 语法 & 构建检查 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 构建并推送镜像 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 0s
2026-09-06 09:01:23 +08:00
Henry_Du 08a6a66977 ci: 适配 Gitea 1.27+ 的 Runner 注册 Token(RGT/RGO/RG 三种前缀)
构建 & 部署 BYW VoiceHub / Preflight 语法 & 构建检查 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 构建并推送镜像 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 0s
2026-09-06 08:56:16 +08:00
Henry_Du 5d015a3529 ci: 新增 Gitea Actions 部署流水线 + Runner/Deploy 一键脚本
构建 & 部署 BYW VoiceHub / Preflight 语法 & 构建检查 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 构建并推送镜像 (push) Canceled after 0s
构建 & 部署 BYW VoiceHub / 部署到生产服务器 (push) Canceled after 0s
2026-09-06 08:44:11 +08:00
Henry_Du 1718542228 chore(deploy): 修复 Docker 启动链 + 补 compose + Gitea Actions
构建并部署 VoiceHub / 构建 Docker 镜像 (push) Canceled after 0s
构建并部署 VoiceHub / 部署到服务器 (push) Canceled after 0s
2026-09-06 08:23:39 +08:00
Henry_Du 4ce4649aaf 初次提交
Build VoiceHub FPK / build-fpk (push) Failing after 56m5s
Build and Push Docker Image / build-and-push (push) Canceled after 1h9m35s
2026-09-06 08:19:02 +08:00