Commit Graph

180 Commits

Author SHA1 Message Date
KevinLiao
ac1e367a69 feat: 增加每日费用限制 2025-07-27 14:47:59 +08:00
github-actions[bot]
bf9ffa831e chore: sync VERSION file with release v1.1.29 [skip ci] 2025-07-27 04:33:22 +00:00
Wesley Liddick
3b6eb3d8f1 Merge pull request #85 from kevinconan/main
feat: APIKeys 列表,统计周期选项增加今日。
2025-07-27 12:33:13 +08:00
github-actions[bot]
a20bd94f51 chore: sync VERSION file with release v1.1.28 [skip ci] 2025-07-27 04:04:37 +00:00
KevinLiao
375d70ee1f feat: APIKeys 列表,统计周期选项增加今日。 2025-07-27 12:03:22 +08:00
github-actions[bot]
fc58be95b0 chore: sync VERSION file with release v1.1.27 [skip ci] 2025-07-27 03:43:12 +00:00
Wesley Liddick
e15ef83b03 Merge pull request #84 from geminiwen/main
feat: improve dashboard UI formatting and responsive layout
2025-07-27 11:43:03 +08:00
Gemini Wen
5ca568e693 feat: format numbers >= million with M suffix and remove billion k formatting
- Update formatNumber function to display numbers >= 1 million with 'M' suffix
- Remove previous billion formatting with 'k' suffix
- Example: 2,500,000 displays as '2M' for better readability
- Use Math.floor() to ensure no decimal points in formatted numbers

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-27 10:50:39 +08:00
Gemini Wen
2dbcb9d6f3 fix: remove decimal points from k-formatted numbers
- Use Math.floor() to display whole numbers for billion+ values
- Example: 2,500,123,456 displays as '2,500,123k' instead of '2,500,123.456k'
- Cleaner display for large token numbers

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-27 10:04:21 +08:00
Gemini Wen
53e9e421c8 feat: format numbers >= billion with k suffix
- Update formatNumber function to display numbers >= 1 billion with 'k' suffix
- Example: 2,500,000,000 displays as '2,500,000k' for better readability
- Improves token statistics display for large numbers

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-27 10:02:16 +08:00
Gemini Wen
c201a17cd4 feat: add flex-wrap to token display containers
- Add flex-wrap class to both today and total token stat containers
- Allows token numbers and costs to wrap on smaller screens
- Improves responsive layout for token statistics display

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-27 09:58:25 +08:00
Gemini Wen
e7940ea9f3 fix: stat-icons shrink behavior
- Fix missing space in flex-shrink-0 class for yellow stat-icon
- Add missing flex-shrink-0 to indigo stat-icon
- Ensures all stat icons have proper flex behavior

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-27 09:53:36 +08:00
github-actions[bot]
112d660d1f chore: sync VERSION file with release v1.1.26 [skip ci] 2025-07-26 15:12:11 +00:00
Wesley Liddick
eb68fe03c9 Merge pull request #80 from geminiwen/main
fix: improve spacing in Token statistics cards
2025-07-26 23:12:01 +08:00
Gemini Wen
ebccf2116d fix: improve spacing in Token statistics cards
- Add mr-8 right margin to flex-1 containers in Token cards
- Prevents overcrowding between cache data and card icons

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 22:38:14 +08:00
github-actions[bot]
16b1533753 chore: sync VERSION file with release v1.1.25 [skip ci] 2025-07-26 03:33:40 +00:00
Wesley Liddick
7ffc942a1f Merge pull request #76 from kevinconan/main
fix: docker下没有默认的APIKey客户端限制选项
2025-07-26 11:33:30 +08:00
KevinLiao
1e66838a41 Merge branch 'main' of https://github.com/Wei-Shaw/claude-relay-service 2025-07-26 11:24:57 +08:00
KevinLiao
cd139706a6 fix: config.example.js 添加默认的客户端限制配置 2025-07-26 11:24:34 +08:00
github-actions[bot]
bc1f78611d chore: sync VERSION file with release v1.1.24 [skip ci] 2025-07-26 03:03:16 +00:00
Wesley Liddick
383f33fa77 Merge pull request #72 from kevinconan/main
feat: 增加APIKey 客户端限制功能
2025-07-26 11:03:06 +08:00
KevinLiao
b37a7055ae Merge branch 'main' of https://github.com/Wei-Shaw/claude-relay-service 2025-07-26 10:32:05 +08:00
github-actions[bot]
ff612685f6 chore: sync VERSION file with release v1.1.23 [skip ci] 2025-07-26 02:05:54 +00:00
Wesley Liddick
ab43fd13f0 Merge pull request #71 from lesignals/main
feat: claude账号维度添加使用次数统计
2025-07-26 10:05:44 +08:00
Wesley Liddick
cf0eaf0534 Merge branch 'main' into main 2025-07-26 10:05:24 +08:00
kevinconan
441361f3b4 Merge branch 'Wei-Shaw:main' into main 2025-07-26 08:57:03 +08:00
github-actions[bot]
4e91f241cf chore: sync VERSION file with release v1.1.22 [skip ci] 2025-07-26 00:47:38 +00:00
Wesley Liddick
45c70594e7 Merge pull request #75 from csdbit/add-sort
给API Keys和账号管理列表增加关键字段排序
2025-07-26 08:47:29 +08:00
csdbit
fb306242c2 给API Keys和账号管理列表增加关键字段排序 2025-07-26 01:53:23 +08:00
KevinLiao
b8c7c3e9f5 feat: 增加APIKey 客户端限制功能 2025-07-25 23:36:48 +08:00
leslie
578d3ca34b 重复计次修复 2025-07-25 22:08:30 +08:00
leslie
53e0577e19 添加claude账号维度计算token费用前端修复 2025-07-25 21:48:54 +08:00
leslie
1cf70a627f 添加claude账号维度计算token费用 2025-07-25 21:36:17 +08:00
leslie
5522967792 添加claude账号维度计算token费用 2025-07-25 21:27:17 +08:00
github-actions[bot]
6f2fe2f643 chore: sync VERSION file with release v1.1.21 [skip ci] 2025-07-25 12:45:22 +00:00
Wesley Liddick
11ca3a9179 Merge pull request #69 from LeslieLai1999/main
解决轮询问题
2025-07-25 20:45:14 +08:00
leslie
4325de90e1 解决轮询问题 2025-07-25 20:27:20 +08:00
github-actions[bot]
fe1300de65 chore: sync VERSION file with release v1.1.20 [skip ci] 2025-07-25 07:36:49 +00:00
shaw
7936f1aa21 Merge branch 'dev' 2025-07-25 15:36:07 +08:00
shaw
3eba158387 fix: 修复管理员登录在Redis缓存失效后无法登录的问题
- 在登录时如果Redis中没有管理员凭据,自动从init.json重新加载
- 重新加载时不设置过期时间,避免24小时后再次失效
- 保持init.json作为唯一真实数据源的设计原则

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 15:30:50 +08:00
github-actions[bot]
bafd64488d chore: sync VERSION file with release v1.1.19 [skip ci] 2025-07-25 04:55:19 +00:00
Wesley Liddick
cc1759a0b1 Merge pull request #67 from kevinconan/main
修复API统计问题,并新增API过期,续期能力
2025-07-25 12:55:07 +08:00
KevinLiao
60585fea71 Merge branch 'feat_api_expired' 2025-07-25 10:52:54 +08:00
KevinLiao
e53724aa61 feat: 测试数据生成脚本 2025-07-25 10:47:09 +08:00
KevinLiao
e8d795713a feat: API页面增加统计时间选择 2025-07-25 10:42:19 +08:00
github-actions[bot]
7582136eba chore: sync VERSION file with release v1.1.18 [skip ci] 2025-07-25 09:53:28 +08:00
breaker
6a22163d83 feat: 支持通过URL参数切换管理界面标签页
- 添加URL参数解析功能,支持 ?tab=apiKeys 等参数直接跳转到指定标签页
- 切换标签页时自动更新URL,方便分享和书签
- 支持浏览器前进后退按钮,保持标签页状态同步
- 默认dashboard标签页不显示URL参数,保持简洁
2025-07-25 09:53:28 +08:00
KevinLiao
f614d54ab5 fix: APIKey列表费用及Token显示不准确的问题,目前显示总数
feat: 增加APIKey过期设置,以及到期续期的能力
2025-07-25 09:53:16 +08:00
github-actions[bot]
b34964b47e chore: sync VERSION file with release v1.1.18 [skip ci] 2025-07-25 00:35:19 +00:00
Wesley Liddick
a6b1e5fb43 Merge pull request #64 from iBreaker/main
feat: 支持通过URL参数切换管理界面标签页
2025-07-25 08:35:09 +08:00