75b2d130c2
refactor: major project restructuring and cleanup
...
Changes:
- Remove deprecated Fengling.Activity and YarpGateway.Admin projects
- Add points processing services with distributed lock support
- Update Vben frontend with gateway management pages
- Add gateway config controller and database listener
- Update routing to use header-mixed-nav layout
- Add comprehensive test suites for Member services
- Add YarpGateway integration tests
- Update package versions in Directory.Packages.props
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode )
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-02-15 10:34:07 +08:00
Sam
d2d70b462e
fix: 修复前端API调用和响应处理,补全i18n多语言包
...
1. 修复启动卡住问题
- 创建专用 authRequestClient 连接到认证中心
- 修复认证相关API路由错误
2. 修复API响应处理
- 移除错误的 defaultResponseInterceptor
- 添加自定义响应拦截器直接返回 response.data
- 修复分页数据提取(response.items)
3. 修复类型定义
- Tenant: contactPhone 可选,status 改为 string
- User: 添加 phone, tenantId, tenantName, emailConfirmed
- Role: 添加 tenantId, isSystem, userCount
- OAuth: 修改 Id 类型为 string
- 修正所有 DTO 的必填字段
4. 修复查询参数
- 租户列表使用 name 而不是 keyword
5. 补全 i18n 多语言包
- 添加 app, tenant, user, role, oauth, common 模块
- 中文:"蜂铃管理平台"、"蜂铃控制台"
- 英文:Fengling Management Platform、Fengling Console
6. 修复租户管理逻辑
- 添加 editingId 跟踪编辑状态
- 修复 handleSave 使用正确的租户ID
2026-02-08 20:18:36 +08:00
Sam
fa93d71725
feat: 添加OAuth2认证配置和实现
...
添加OAuth2认证相关配置文件和服务实现,包括环境变量配置、PKCE流程支持、token管理等功能。主要变更:
- 新增OAuth2配置文件
- 实现OAuth2服务层
- 更新请求拦截器支持token自动刷新
- 修改认证API和store以支持OAuth2流程
2026-02-07 17:47:11 +08:00
Sam
e32b8b3080
fix: update auth service URL to port 5132
...
- Change VITE_AUTH_SERVICE_URL from localhost:5000 to localhost:5132
- This matches the actual auth service port in launchSettings.json
2026-02-06 16:16:20 +08:00
Sam
8bd64b8ea3
fix: remove unregistered 'roles' scope from OAuth2 requests
...
- Remove 'roles' from .env.development and .env.production
- Remove 'roles' from SeedData.cs
- 403 error was caused by requesting unregistered scope
- All registered scopes: openid, profile, email, api, offline_access
2026-02-06 15:49:40 +08:00
Sam
c0874bfab8
feat: implement OAuth2 integration in web-ele
...
- Add OAuth2 configuration and PKCE service
- Update request interceptor for OAuth2 token management
- Update auth API for OAuth2 token handling
- Update auth store for OAuth2 flow
- Create OAuth callback page
- Update login page for OAuth2
- Add OAuth callback route
- Update environment configuration for OAuth2
2026-02-06 01:47:05 +08:00
Sam
0ebe467927
feat: integrate OAuth 2.0 authentication with Fengling Auth Center
2026-02-06 00:41:41 +08:00
Sam
e5bbe101c9
chore: configure environment variables for Fengling API
2026-02-06 00:14:35 +08:00
Sam
9600147586
chore: initialize Vben Admin project
2026-02-06 00:04:38 +08:00