Commit Graph

31 Commits

Author SHA1 Message Date
github-actions[bot]
aef39b10d9 chore: sync VERSION file with release v1.1.61 and rebuild frontend [skip ci] 2025-07-31 03:28:28 +00:00
github-actions[bot]
ca61807906 chore: sync VERSION file with release v1.1.60 and rebuild frontend [skip ci] 2025-07-31 02:54:24 +00:00
github-actions[bot]
0d98467688 chore: sync VERSION file with release v1.1.58 and rebuild frontend [skip ci] 2025-07-30 16:19:43 +00:00
KevinLiao
3c797a85e0 feat: Claude Console账号增强,升级模型支持列表为模型映射表! 2025-07-30 23:13:59 +08:00
github-actions[bot]
acf8dbb970 chore: sync VERSION file with release v1.1.57 and rebuild frontend [skip ci] 2025-07-30 12:51:30 +00:00
KevinLiao
6216433b0b Merge branch 'main' of https://github.com/Wei-Shaw/claude-relay-service
# Conflicts:
#	web/admin-spa/dist/assets/LoginView-BJ0LLv16.js
#	web/admin-spa/dist/assets/LogoTitle-DHj-MjwS.js
#	web/admin-spa/dist/assets/MainLayout-CLydIeqJ.js
#	web/admin-spa/dist/assets/SettingsView-DicW12bL.js
#	web/admin-spa/dist/assets/index-HYE9xPuR.js
#	web/admin-spa/dist/index.html
#	web/admin-spa/src/components/apikeys/CreateApiKeyModal.vue
#	web/admin-spa/src/components/apikeys/EditApiKeyModal.vue
#	web/admin-spa/src/views/ApiKeysView.vue
2025-07-30 20:41:10 +08:00
KevinLiao
b86adcd6d2 fix: 1.修复ClaudeConsole账号设置为专属绑定的功能
2. 修复Claude 官方账号会话窗口计算错误的问题
2025-07-30 20:20:12 +08:00
github-actions[bot]
334823a5e6 chore: sync VERSION file with release v1.1.55 and rebuild frontend [skip ci] 2025-07-30 08:20:24 +00:00
github-actions[bot]
18e67f5632 chore: sync VERSION file with release v1.1.54 and rebuild frontend [skip ci] 2025-07-30 07:38:48 +00:00
github-actions[bot]
363d1c3ed3 chore: sync VERSION file with release v1.1.53 and rebuild frontend [skip ci] 2025-07-30 04:51:05 +00:00
shaw
9a346a22d0 Merge branch 'dev' into main
合并dev分支的时区修复和其他改进:
- 修复仪表板图表时区处理问题
- 修复自定义时间选择器的UTC转换
- 删除dist构建产物目录
2025-07-30 12:50:20 +08:00
shaw
4eedc2e6b5 fix(admin-spa): 修复仪表板时区处理 - 前端显示系统时区,发送UTC时间
- 简化 getSystemTimezoneDay 函数,正确处理系统时区到UTC的转换
- 修复 setDateFilterPreset 中昨天/前天的计算逻辑,使用本地时间计算日期
- 确保自定义时间选择器显示系统时区时间,但发送UTC时间给后端
- API Keys页面已经使用正确的时间范围参数,无需修改
2025-07-30 12:05:30 +08:00
github-actions[bot]
555834227f chore: sync VERSION file with release v1.1.52 and rebuild frontend [skip ci] 2025-07-30 03:37:10 +00:00
shaw
496569d110 修复仪表板折线图时间范围计算错误(UTC+8时区) 2025-07-30 10:34:20 +08:00
shaw
43dce7db4e 合并 main 分支到 dev 分支 2025-07-30 10:18:35 +08:00
shaw
d2ac3961e8 Merge remote-tracking branch 'origin/main' into main 2025-07-30 10:17:25 +08:00
github-actions[bot]
dae8e8e914 chore: sync VERSION file with release v1.1.51 and rebuild frontend [skip ci] 2025-07-30 02:12:10 +00:00
shaw
4c64e6df4b fix(timezone): 修复数据写入时的时区错误(关键修复)
- 修复 redis.js 中所有时区相关的日期获取方法
  - 使用 getUTC* 方法替代 get* 方法获取正确的时区日期
  - 影响:incrementTokenUsage, incrementAccountUsage, incrementDailyCost 等
- 修复 admin.js 中查询数据时的日期键生成
- 确保所有 Redis 键格式一致:
  - 日期:YYYY-MM-DD
  - 月份:YYYY-MM
  - 小时:YYYY-MM-DD:HH
- 添加服务端时间标签,避免前端时区转换问题

这是核心修复,确保数据从源头就是正确的。
2025-07-30 10:07:25 +08:00
shaw
53d6f77753 fix(admin-spa): 修复使用趋势图表按小时粒度不显示数据的问题 2025-07-30 08:55:07 +08:00
KevinLiao
98eef591d7 feat: 新增标准Claude Console API 账号支持(WEB) 2025-07-30 08:21:50 +08:00
github-actions[bot]
864c7c76e6 chore: sync VERSION file with release v1.1.49 and rebuild frontend [skip ci] 2025-07-29 11:22:36 +00:00
shaw
d761e89925 fix(admin-spa): 替换原生确认弹窗为自定义弹窗并修复按钮样式
- 替换API Key删除确认弹窗为自定义ConfirmDialog组件
- 替换API Key创建成功后关闭确认弹窗为自定义弹窗
- 修复'我已保存'按钮样式,增加背景色对比度和边框
- 添加降级方案以确保兼容性
2025-07-29 19:21:01 +08:00
github-actions[bot]
96520bca57 chore: sync VERSION file with release v1.1.48 and rebuild frontend [skip ci] 2025-07-29 10:37:16 +00:00
shaw
eff796ed8e fix(admin-spa): 修复API Key创建成功后的弹窗显示问题
- 完全复刻原版的API Key成功弹窗样式
- 修复API Key字段读取问题,支持apiKey和key两种字段名
- 添加完整的显示/隐藏功能,默认隐藏API Key内容
- 实现与原版一致的警告提示和关闭确认
- 优化复制功能,添加降级方案
2025-07-29 18:36:35 +08:00
github-actions[bot]
7a9e04f169 chore: sync VERSION file with release v1.1.47 and rebuild frontend [skip ci] 2025-07-29 09:06:30 +00:00
github-actions[bot]
514d2f5377 chore: sync VERSION file with release v1.1.46 and rebuild frontend [skip ci] 2025-07-29 08:38:31 +00:00
github-actions[bot]
31ccf48b00 chore: sync VERSION file with release v1.1.45 and rebuild frontend [skip ci] 2025-07-29 08:14:59 +00:00
github-actions[bot]
f23b9bd222 chore: sync VERSION file with release v1.1.44 and rebuild frontend [skip ci] 2025-07-29 07:50:00 +00:00
shaw
ff6a361720 fix(admin-spa): 完善账户管理代理信息显示功能
- 修复账户列表中代理信息显示,支持用户名密码部分隐藏
- 修复编辑账户时自动勾选代理设置并正确显示代理信息
- 改进代理密码输入框使用密码类型
- 将 admin-spa/dist 目录加入 .gitignore 并从版本控制中移除

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 15:49:15 +08:00
github-actions[bot]
5795e8cdef chore: sync VERSION file with release v1.1.43 and rebuild frontend [skip ci] 2025-07-29 07:12:23 +00:00
github-actions[bot]
5a6740cce7 chore: sync VERSION file with release v1.1.42 and rebuild frontend [skip ci] 2025-07-29 06:23:07 +00:00