feat/ui-perf-ci-security
main
.gitea/workflows/pr-check.yml
.gitea/workflows/nightly-prerelease.yml
prerelease: true
等待 pr-check 流水线全部通过后合并。夜间预发布首次运行可在 Actions 页面手动触发验证。
- 启动:健康检查与设置并行请求,页面按需构建并 Offstage 保活,封面按展示尺寸解码 - UI:模型卡片增加悬停动效、封面渐变遮罩、版本/作者/标签胶囊,空简介占位 - 主题:设置页新增主色调选择(预设 + 自定义 #RRGGBB),前后端持久化并实时生效 - CI:新增 PR 审核流水线(后端编译/自检、Flutter 分析测试、漏洞与密钥扫描、汇总门禁) - CI:新增每晚 21:00(UTC 13:00)预发布流水线,prerelease 且不设为 Latest,先删旧再建新 - 安全:后端新增安全响应头、Host/Origin 校验、写入限流、请求体上限、ID 与设置白名单、错误信息脱敏 - 源:暂时只启用 Xhmcl;GitCode 实现保留但不再调用,旧配置自动迁移
No dependencies set.
The note is not visible to the blocked user.
变更概览
1. Flutter 启动速度
2. UI 美化(模型列表)
3. 主题颜色
4. Gitea 自动化
.gitea/workflows/pr-check.yml:PR 审核.gitea/workflows/nightly-prerelease.yml:每天 21:00(UTC 13:00)prerelease: true,不会成为 Latest5. 后端安全加固
6. 模型源调整
审核建议
等待 pr-check 流水线全部通过后合并。夜间预发布首次运行可在 Actions 页面手动触发验证。