Wesley Liddick
|
48c647b5d2
|
Merge pull request #7833 from ShanYi-Hui/fix/preserve-email-binding-draft
fix(profile): preserve email binding draft during user refresh
|
2026-10-08 11:37:25 +08:00 |
|
ShanYi-Hui
|
abbe42ac44
|
fix(profile): preserve email binding draft during user refresh
|
2026-10-03 17:09:38 +08:00 |
|
duckducktw
|
4407849142
|
fix(channels): 追加模型时不再改写已留空的价格条目
渠道定价条目价格留空时按各模型官方默认价回退计费,但向这类条目追加
模型时,前端会用「第一个新增模型」的默认价回填整条价格字段,保存后
条目内所有模型被静默统一成同一个价格,造成少计费或多计费。
自动填充现在只作用于「空条目首次加入单个模型」:条目已有模型时追加、
或一次加入多个模型时都不再改写价格,留空条目继续按各模型默认价回退。
- 新增 PricingEntryCard.modelDefaultPrice.spec.ts 覆盖 4 种场景
- 把该 spec 加入 Makefile 的 FRONTEND_CRITICAL_VITEST,使 CI 覆盖该回归
Closes #7796
|
2026-10-01 23:59:58 +08:00 |
|
Wesley Liddick
|
b717ac7f0b
|
Merge pull request #7289 from wucm667/fix/issue-7281-platform-quota-options
fix(admin): align platform quota editor with supported platforms
|
2026-09-22 20:29:26 +08:00 |
|
wucm667
|
992c4f4b89
|
test(frontend): run platform quota modal spec in CI
|
2026-09-21 08:16:18 +08:00 |
|
haruka
|
fc96132e72
|
fix(openai): harden referral outcomes and isolate HTTP transport
|
2026-09-20 15:47:53 +08:00 |
|
Wesley Liddick
|
0bba06d64a
|
Merge pull request #6691 from yan9651688/feat/api-key-bulk-edit
feat(keys): add bulk editing to API key management
|
2026-09-15 08:56:07 +08:00 |
|
yan9651688
|
58f461b087
|
feat(keys): add bulk editing to API key management
|
2026-09-06 11:25:33 +08:00 |
|
Steven Moder
|
b3ad9b67cf
|
fix(i18n): fail builds on missing locale keys
|
2026-09-06 04:16:06 +08:00 |
|
IanShaw027
|
d2d91ff9a8
|
feat(channel-monitor-v2): 补齐管理端配置、隐藏吞吐开关与测试
管理端 V2 配置面板与系统设置中的模式/隐藏 RPM·TPM 开关,纳入关键
vitest 与 Makefile 前端关键路径,覆盖门控与展示行为。
|
2026-08-07 11:05:32 +08:00 |
|
litongtongxue@gmail.com
|
38081ef72e
|
fix(auth): prevent refresh token rotation races
|
2026-08-02 08:13:15 -07:00 |
|
superman2003
|
fc66a30ffc
|
fix: harden billing concurrency and payment recovery
|
2026-07-10 10:56:49 +08:00 |
|
IanShaw027
|
ca4e38aa01
|
fix(profile): stabilize binding compatibility and frontend checks
|
2026-04-22 14:57:47 +08:00 |
|
yangjianbo
|
bb664d9bbf
|
feat(sync): full code sync from release
|
2026-02-28 15:01:20 +08:00 |
|
 yangjianboandClaude Opus 4.6
|
d7011163b8
|
fix: 修复代码审核发现的安全和质量问题
安全修复(P0):
- 移除硬编码的 OAuth client_secret(Antigravity、Gemini CLI),
改为通过环境变量注入(ANTIGRAVITY_OAUTH_CLIENT_SECRET、
GEMINI_CLI_OAUTH_CLIENT_SECRET)
- 新增 logredact.RedactText() 对非结构化文本做敏感信息脱敏,
覆盖 GOCSPX-*/AIza* 令牌和常见 key=value 模式
- 日志中不再打印 org_uuid、account_uuid、email_address 等敏感值
安全修复(P1):
- URL 验证增强:新增 ValidateHTTPURL 统一入口,支持 allowlist 和
私网地址阻断(localhost/内网 IP)
- 代理回退安全:代理初始化失败时默认阻止直连回退,防止 IP 泄露,
可通过 security.proxy_fallback.allow_direct_on_error 显式开启
- Gemini OAuth 配置校验:client_id 与 client_secret 必须同时
设置或同时留空
其他改进:
- 新增 tools/secret_scan.py 密钥扫描工具和 Makefile secret-scan 目标
- 更新所有 docker-compose 和部署配置,传递 OAuth secret 环境变量
- google_one OAuth 类型使用固定 redirectURI,与 code_assist 对齐
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-09 09:58:13 +08:00 |
|
Xu Kang
|
f6dd4752e7
|
fix: 修复 Go 版本、包管理器和技术栈文档 (#195)
- backend/Dockerfile: Go 版本从 1.21 更新到 1.25.5(与 go.mod 一致)
- Makefile: 使用 pnpm 替代 npm(与 pnpm-lock.yaml 和 CI 一致)
- README.md/README_CN.md: 技术栈从 GORM 修正为 Ent
|
2026-01-07 16:35:51 +08:00 |
|
yangjianbo
|
794a9f969b
|
feat(安全): 添加安全开关并完善测试流程
实现安全开关默认关闭与响应头透传逻辑
- URL 校验与响应头过滤支持开关并覆盖流式路径
- 非流式 Content-Type 透传/默认值按配置生效
- 接入 go test、golangci-lint 与前端 lint/typecheck
- 补充相关测试与配置/文档说明
|
2026-01-05 13:54:43 +08:00 |
|
yangjianbo
|
3d617de577
|
refactor(数据库): 迁移持久层到 Ent 并清理 GORM
将仓储层/基础设施改为 Ent + 原生 SQL 执行路径,并移除 AutoMigrate 与 GORM 依赖。
重构内容包括:
- 仓储层改用 Ent/SQL(含 usage_log/account 等复杂查询),统一错误映射
- 基础设施与 setup 初始化切换为 Ent + SQL migrations
- 集成测试与 fixtures 迁移到 Ent 事务模型
- 清理遗留 GORM 模型/依赖,补充迁移与文档说明
- 增加根目录 Makefile 便于前后端编译
测试:
- go test -tags unit ./...
- go test -tags integration ./...
|
2025-12-29 10:03:27 +08:00 |
|