|
|
82ac147762
|
feat: 生产环境使用独立数据库
continuous-integration/drone/push Build is passing
- 创建生产数据库 new_platform_prod
- 配置使用 database_url_prod secret
|
2026-01-24 17:50:23 +08:00 |
|
|
|
cc3a6ab0c7
|
fix: 修复认证 422 错误和生产环境部署配置
continuous-integration/drone/push Build is passing
- HTTPBearer 使用 auto_error=False 避免 422 错误
- 生产环境使用与测试相同的数据库密钥配置
|
2026-01-24 17:43:21 +08:00 |
|
|
|
aa3f5f6108
|
fix: 修复 HTTPBearer 返回 422 错误的问题
continuous-integration/drone/push Build is passing
- 设置 HTTPBearer(auto_error=False) 避免验证错误
- 在 get_current_user 中手动检查并返回 401
|
2026-01-24 17:39:04 +08:00 |
|
|
|
9ff89f4a7d
|
fix: 修复日志查询接口访问不存在字段的问题
continuous-integration/drone/push Build is passing
- ip_address 从 context.ip 获取
- 移除不存在的 extra_data 字段
- 修复 CSV/Excel 导出中的同样问题
|
2026-01-24 17:25:17 +08:00 |
|
|
|
b04ee51020
|
chore: 触发 CI/CD 部署
continuous-integration/drone/push Build is passing
|
2026-01-24 17:18:53 +08:00 |
|
|
|
b6b5ac61af
|
fix: 修复 Drone 配置和 nginx 多环境支持
continuous-integration/drone/push Build is passing
- 分离测试/生产环境的前端镜像构建
- nginx 配置使用 BACKEND_HOST 变量区分环境
- 生产环境添加独立的 Docker network
- 生产环境使用独立的密钥配置 (xxx_prod)
- 修复前端空白问题:确保前后端在同一 network
|
2026-01-24 17:15:12 +08:00 |
|
111
|
6c6c48cf71
|
feat: 新增告警、成本、配额、微信模块及缓存服务
continuous-integration/drone/push Build is passing
- 新增告警模块 (alerts): 告警规则配置与触发
- 新增成本管理模块 (cost): 成本统计与分析
- 新增配额模块 (quota): 配额管理与限制
- 新增微信模块 (wechat): 微信相关功能接口
- 新增缓存服务 (cache): Redis 缓存封装
- 新增请求日志中间件 (request_logger)
- 新增异常处理和链路追踪中间件
- 更新 dashboard 前端展示
- 更新 SDK stats_client 功能
|
2026-01-24 16:53:47 +08:00 |
|
111
|
eab2533c36
|
fix: 修复 nginx 代理地址,解决页面空白问题
continuous-integration/drone/push Build is passing
Docker 网桥地址从 172.17 变为 172.18,导致 API 代理失败
|
2026-01-24 15:53:32 +08:00 |
|
111
|
b055be1bb6
|
feat: 所有租户选择改为下拉列表
continuous-integration/drone/push Build is passing
|
2026-01-24 10:31:57 +08:00 |
|
111
|
1c95fef01a
|
fix: health 路由加上 /api 前缀
continuous-integration/drone/push Build is passing
|
2026-01-24 10:24:59 +08:00 |
|
111
|
63e38ceb60
|
fix: 兼容 corp_id 字段不存在 + 添加迁移 API
continuous-integration/drone/push Build is passing
|
2026-01-24 10:23:19 +08:00 |
|
111
|
ab84f6b87d
|
feat: 企微应用租户下拉选择 + corp_id 自动填入
continuous-integration/drone/push Build is passing
- 租户表增加 corp_id 字段(企业微信企业ID)
- 租户管理页面支持配置 corp_id
- 企微应用页面租户从下拉选择
- 选择租户后自动填入 corp_id 并禁用编辑
- 提示用户如租户未配置 corp_id 需先去配置
|
2026-01-24 10:20:02 +08:00 |
|
111
|
0a799ee276
|
fix: 完善菜单和应用验证
continuous-integration/drone/push Build is passing
- 侧边栏菜单增加「应用管理」和「企微应用」
- 租户订阅页面应用选择增加前端验证
- 后端增加 app_code 存在性验证
|
2026-01-24 10:10:56 +08:00 |
|
111
|
6a93e05ec3
|
feat: 应用扁平化与 Token 验证 API
continuous-integration/drone/push Build is passing
- 新增 /api/auth/verify 接口供外部应用验证 token
- 简化应用管理:移除 tools 字段,每个应用独立存在
- 简化应用配置:移除 allowed_tools,专注于租户订阅
- 优化 Token 展示和复制功能
|
2026-01-24 10:05:24 +08:00 |
|
111
|
c4bd7c8251
|
feat: 租户级企微配置改造
continuous-integration/drone/push Build is passing
- 新增 platform_tenant_wechat_apps 表(租户企微应用配置)
- platform_apps 增加 require_jssdk 字段
- platform_tenant_apps 增加 wechat_app_id 关联字段
- 新增企微应用管理 API 和页面
- 应用管理页面增加 JS-SDK 开关
- 应用配置页面增加企微应用选择
|
2026-01-23 19:05:00 +08:00 |
|
111
|
f815b29c51
|
feat: 静态 Token 鉴权改造
continuous-integration/drone/push Build is passing
- 将 token_secret 改为 access_token(长期有效)
- 移除 token_required 字段,统一使用 token 验证
- 生成链接简化为 ?tid=xxx&token=xxx 格式
- 前端移除签名验证开关,链接永久有效
|
2026-01-23 18:43:04 +08:00 |
|
111
|
39f33d7ac5
|
feat: 添加应用管理和生成签名链接功能
continuous-integration/drone/push Build is passing
- 新增 platform_apps 表和 App 模型
- 新增应用管理页面 /apps
- 应用配置页面添加"生成链接"功能
- 支持一键生成带签名的访问 URL
|
2026-01-23 18:22:17 +08:00 |
|
111
|
2a9f62bef8
|
fix: use correct token fields (input_tokens + output_tokens)
continuous-integration/drone/push Build is passing
|
2026-01-23 16:14:55 +08:00 |
|
111
|
b018844078
|
fix: add GET endpoints for stats summary and logs query
continuous-integration/drone/push Build is passing
|
2026-01-23 16:12:18 +08:00 |
|
111
|
64f07a9af5
|
fix: use ports 3003/4003 (3002 used by Drone)
continuous-integration/drone/push Build is passing
|
2026-01-23 16:04:40 +08:00 |
|
111
|
d108b168dd
|
fix: change frontend ports to 3002/4002 (3001 used by Gitea)
continuous-integration/drone/push Build is failing
|
2026-01-23 16:01:59 +08:00 |
|
111
|
4e954af55c
|
fix: use npm install instead of npm ci (no lock file)
continuous-integration/drone/push Build is failing
|
2026-01-23 15:56:36 +08:00 |
|
111
|
531d9522c5
|
fix: use China mirrors for pip and npm in Dockerfiles
continuous-integration/drone/push Build is failing
|
2026-01-23 15:54:22 +08:00 |
|
111
|
b89d5ddee9
|
feat: add admin UI frontend and complete backend APIs
continuous-integration/drone/push Build is failing
- Add Vue 3 frontend with Element Plus
- Implement login, dashboard, tenant management
- Add app configuration, logs viewer, stats pages
- Add user management for admins
- Update Drone CI to build and deploy frontend
- Frontend ports: 3001 (test), 4001 (prod)
|
2026-01-23 15:51:37 +08:00 |
|
111
|
daa8125c58
|
Initial commit: 000-platform project skeleton
continuous-integration/drone/push Build is passing
|
2026-01-23 14:32:09 +08:00 |
|