1. 01 Jan, 2026 1 commit
    • IanShaw027's avatar
      refactor(frontend): 优化 Gemini 配额显示,参考 Antigravity 样式 · 81817466
      IanShaw027 authored
      - 简化标签:将 "RPD Pro/Flash" 改为 "Pro/Flash",避免文字截断
      - 添加账号类型徽章(Free/Pro/Ultra),带颜色区分
      - 添加帮助图标(?),悬停显示限流政策和官方文档链接
      - 重构显示布局:账号类型 + 两行配额(Pro/Flash)
      - 移除冗余的 AccountQuotaInfo 组件调用
      81817466
  2. 31 Dec, 2025 1 commit
    • yangjianbo's avatar
      fix(数据层): 修复数据完整性与仓储一致性问题 · 5906f9ab
      yangjianbo authored
      ## 数据完整性修复 (fix-critical-data-integrity)
      - 添加 error_translate.go 统一错误转换层
      - 修复 nil 输入和 NotFound 错误处理
      - 增强仓储层错误一致性
      
      ## 仓储一致性修复 (fix-high-repository-consistency)
      - Group schema 添加 default_validity_days 字段
      - Account schema 添加 proxy edge 关联
      - 新增 UsageLog ent schema 定义
      - 修复 UpdateBalance/UpdateConcurrency 受影响行数校验
      
      ## 数据卫生修复 (fix-medium-data-hygiene)
      - UserSubscription 添加软删除支持 (SoftDeleteMixin)
      - RedeemCode/Setting 添加硬删除策略文档
      - account_groups/user_allowed_groups 的 created_at 声明 timestamptz
      - 停止写入 legacy users.allowed_groups 列
      - 新增迁移: 011-014 (索引优化、软删除、孤立数据审计、列清理)
      
      ## 测试补充
      - 添加 UserSubscription 软删除测试
      - 添加迁移回归测试
      - 添加 NotFound 错误测试
      
      🤖 Generated with [Claude Code](https://claude.com/claude-code
      
      )
      Co-Authored-By: default avatarClaude Opus 4.5 <noreply@anthropic.com>
      5906f9ab
  3. 30 Dec, 2025 5 commits
  4. 28 Dec, 2025 1 commit
  5. 26 Dec, 2025 1 commit
  6. 24 Dec, 2025 1 commit
  7. 23 Dec, 2025 1 commit
  8. 20 Dec, 2025 1 commit
  9. 18 Dec, 2025 3 commits
    • shaw's avatar
      fix: 修复服务用户 shell 导致无法执行 sudo 重启的问题 · 4eb22d8e
      shaw authored
      问题原因:
      - 服务用户 sub2api 的 shell 被设置为 /bin/false
      - 导致无法执行 sudo systemctl restart 命令
      - 安装/升级后服务无法自动重启
      
      修复内容:
      - 新安装时使用 /bin/sh 替代 /bin/false
      - 升级时自动检测并修复旧版本用户的 shell 配置
      - 修复失败时给出警告和手动修复命令,不中断安装流程
      4eb22d8e
    • shaw's avatar
      fix: release error · 6cf60176
      shaw authored
      6cf60176
    • shaw's avatar
      First commit · 642842c2
      shaw authored
      642842c2