shaw
bd9001bdbe
build: 优化admin-spa构建配置和环境变量
...
- 添加 .env.production 配置文件,确保workflow构建时使用正确的基础路径
- 更新 .gitignore 规则,允许提交生产环境配置
- 调整环境变量配置,支持自动化构建流程
这些更改确保GitHub Actions构建的前端能正确配置路由和API路径
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-29 14:06:33 +08:00
shaw
7b81106949
feat: 将admin-spa构建迁移到GitHub Actions workflow
...
🔄 主要改进:
- 在自动发布流程中添加admin-spa前端构建步骤
- 仅在web/admin-spa目录有改动时才触发构建
- 构建后的dist目录会自动包含在版本发布中
- 移除手动提交的dist目录,避免安全风险
🐛 修复:
- 修复登录后用户名显示为默认"Admin"的问题
- 现在会正确从服务器获取并显示实际用户名
🔒 安全优化:
- 防止恶意代码通过dist目录注入
- 所有前端代码都会在CI环境中重新构建
现在开发者无需手动构建前端,workflow会自动处理
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-29 13:45:11 +08:00
shaw
19cab40b77
feat(admin-spa): 添加构建后的dist目录并更新.gitignore
...
- 添加 admin-spa 构建后的 dist 目录
- 从 .gitignore 中移除 dist 忽略规则
- 确保 /admin-next 路由可以正常访问
现在访问 /admin-next/api-stats 将能正确加载新版管理界面
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-29 12:48:15 +08:00
shaw
414856f152
feat: 全新的Vue3管理后台(admin-spa)和路由重构
...
🎨 新增功能:
- 使用Vue3 + Vite构建的全新管理后台界面
- 支持Tab切换的API统计页面(统计查询/使用教程)
- 优雅的胶囊式Tab切换设计
- 同步了PR #106的会话窗口管理功能
- 完整的响应式设计和骨架屏加载状态
🔧 路由调整:
- 新版管理后台部署在 /admin-next/ 路径
- 将根路径 / 重定向到 /admin-next/api-stats
- 将 /web 页面路由重定向到新版,保留 /web/auth/* 认证路由
- 将 /apiStats 页面路由重定向到新版,保留API端点
🗑️ 清理工作:
- 删除旧版 web/admin/ 静态文件
- 删除旧版 web/apiStats/ 静态文件
- 清理相关的文件服务代码
🐛 修复问题:
- 修复重定向循环问题
- 修复环境变量配置
- 修复路由404错误
- 优化构建配置
🚀 生成方式:使用 Claude Code
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-29 12:40:51 +08:00
shaw
c98de2aca5
feat(admin-spa): 同步PR #106的会话窗口管理功能到新版管理后台
...
- 在账户管理表格中添加'会话窗口'列
- 显示Claude账户的会话窗口状态(进度条、时间范围、剩余时间)
- 添加formatSessionWindow和formatRemainingTime格式化函数
- 完整同步原版PR #106的前端功能到重构后的admin-spa
2025-07-29 11:11:25 +08:00
shaw
f6948a04f6
Merge pull request #106 from kevinconan/main - feat: 账号管理页面,给Claude账号添加了会话窗口管理与显示
2025-07-29 11:08:56 +08:00
github-actions[bot]
dfcd3da39d
chore: sync VERSION file with release v1.1.41 [skip ci]
2025-07-28 07:52:06 +00:00
KevinLiao
718733b78b
feat: 增加账号session窗口管理与显示。后续可以据此优化账号轮转逻辑。
...
scripts目录有相关管理脚本,请自行探索
2025-07-28 15:51:38 +08:00
shaw
4913be3b21
Merge remote-tracking branch 'origin/main' into dev
2025-07-28 09:30:33 +08:00
github-actions[bot]
7c91e9424f
chore: sync VERSION file with release v1.1.40 [skip ci]
2025-07-28 01:25:52 +00:00
Wesley Liddick
67b86d588e
Merge pull request #104 from kevinconan/main
...
fix: 修正apikey查询的BUG
2025-07-28 09:25:42 +08:00
github-actions[bot]
7d27cf8e13
chore: sync VERSION file with release v1.1.39 [skip ci]
2025-07-28 01:07:01 +00:00
KevinLiao
13eb28a77e
Merge branch 'main' of github.com:kevinconan/claude-relay-service
2025-07-28 09:05:16 +08:00
KevinLiao
fcecb75c21
fix: 1.修正用户查询apikey时区问题
...
2.修正用户apikey查询,当日APIKey没有数据,显示数据不正确的问题
2025-07-28 09:04:04 +08:00
github-actions[bot]
0664b1dd6e
chore: sync VERSION file with release v1.1.38 [skip ci]
2025-07-28 01:01:54 +00:00
Wesley Liddick
b745b0a95b
Merge pull request #100 from kevinconan/main
...
feat: 优化APIKey查询
2025-07-28 09:01:44 +08:00
github-actions[bot]
c27526f26e
chore: sync VERSION file with release v1.1.37 [skip ci]
2025-07-28 01:01:32 +00:00
Wesley Liddick
e2f5c32cc0
Merge branch 'main' into main
2025-07-28 09:01:23 +08:00
Wesley Liddick
921b0c657b
Merge pull request #101 from Edric-Li/main
...
feat: 添加 OEM 设置功能并统一 API 统计页面样式[skip ci]
2025-07-28 08:57:17 +08:00
Edric Li
9193d64d2a
feat: 添加 OEM 设置功能并统一 API 统计页面样式
...
- 添加 OEM 设置管理功能,支持自定义网站名称和图标
- 支持图标文件上传和 Base64 编码存储
- 实现动态更新网站标题和 favicon
- 统一 API 统计页面与管理页面的样式和布局
- 修复文本颜色显示问题,提升可读性
- 优化错误处理和默认值回退机制
- 移除测试文件和冗余代码
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-27 23:20:44 +08:00
github-actions[bot]
334a55fd12
chore: sync VERSION file with release v1.1.36 [skip ci]
2025-07-27 15:20:34 +00:00
KevinLiao
75b4919693
feat: 优化APIKey查询
...
1. 查询相关接口修改为APIKey的UUID
2. 输入APIKey查询后,自动查询API的UUID并添加浏览器地址参数,后续可以直接复制链接进行查询。同时保证了APIKey的安全性
2025-07-27 23:20:15 +08:00
KevinLiao
fb2faca840
Merge branch 'main' of https://github.com/Wei-Shaw/claude-relay-service
2025-07-27 22:26:28 +08:00
github-actions[bot]
1e51a367b6
chore: sync VERSION file with release v1.1.35 [skip ci]
2025-07-27 13:05:38 +00:00
Wesley Liddick
20c2443296
Merge pull request #97 from kevinconan/main
...
feat: 新增APIKeys统计页面,并修复一系列问题
2025-07-27 21:05:28 +08:00
KevinLiao
64a5e4c773
fix: APIKey查询页面顶部文字颜色修正
2025-07-27 21:01:12 +08:00
github-actions[bot]
fc80a9163e
chore: sync VERSION file with release v1.1.34 [skip ci]
2025-07-27 12:06:01 +00:00
KevinLiao
2de9c9e843
fix: 修复新增编辑APIKeys时,填写Token限制报错
2025-07-27 20:05:26 +08:00
KevinLiao
8a12bda3c5
Merge branch 'main' of github.com:kevinconan/claude-relay-service
2025-07-27 19:55:12 +08:00
KevinLiao
bdf125e001
fix: APIKey查询页面数据不正确的情况
2025-07-27 19:51:37 +08:00
github-actions[bot]
fd2a2c8a5b
chore: sync VERSION file with release v1.1.33 [skip ci]
2025-07-27 10:42:24 +00:00
KevinLiao
dfabd77928
fix: 调整样式
2025-07-27 18:42:07 +08:00
KevinLiao
85a8cae5ab
feat: 新增用户统计页面,并作为默认路由
2025-07-27 18:12:50 +08:00
KevinLiao
a04dd06be9
feat: 新增ApiKey查询页面
2025-07-27 17:38:12 +08:00
github-actions[bot]
da4d6d24f6
chore: sync VERSION file with release v1.1.32 [skip ci]
2025-07-27 08:42:04 +00:00
Wesley Liddick
f424ab8240
Merge pull request #88 from geminiwen/main
...
feat: add pre-built Docker image reference
2025-07-27 16:41:55 +08:00
Gemini Wen
9db0fdfe3d
feat: add pre-built Docker image reference
...
Add image reference to weishaw/claude-relay-service:latest in docker-compose.yml to enable using pre-built images instead of always building from source.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-27 16:33:35 +08:00
github-actions[bot]
59675bf5ae
chore: sync VERSION file with release v1.1.31 [skip ci]
2025-07-27 07:27:18 +00:00
Wesley Liddick
230ce77152
Merge pull request #86 from kevinconan/main
...
feat: 增加每日费用限制
2025-07-27 15:27:04 +08:00
Wesley Liddick
924aceb824
Merge pull request #87 from geminiwen/main
...
Support separate deployment by specifying -p pro1 in docker compose up [skip ci]
2025-07-27 15:26:21 +08:00
Gemini Wen
245ce5ed67
opt: remove container name for scale
2025-07-27 15:09:54 +08:00
Gemini Wen
5966692576
fix: simplify docker network configuration
...
Remove custom subnet configuration from docker-compose network to use default bridge settings.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-27 15:07:13 +08:00
github-actions[bot]
fc67b60fd5
chore: sync VERSION file with release v1.1.30 [skip ci]
2025-07-27 06:48:20 +00:00
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