Commit Graph

32 Commits

Author SHA1 Message Date
dd4a19751b Update secret name to GITEATOKEN
Some checks failed
Build and Push Docker / build (push) Failing after 17m24s
2026-02-26 13:05:39 +08:00
da96e5a1f8 Update Docker CI for org
Some checks failed
Build and Push Docker / build (push) Failing after 30s
2026-02-26 13:00:19 +08:00
343150e226 Add Docker CI workflow
Some checks failed
Build and Push Docker / build (push) Failing after 30s
2026-02-26 10:59:01 +08:00
6f4388b673 Add Dockerfile
Some checks failed
CI / Test (ubuntu-latest) (push) Has been skipped
CI / Lint (ubuntu-latest) (push) Has been skipped
CI / Check (ubuntu-latest) (push) Has been skipped
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been skipped
Deploy Website on push / Deploy Push Playground Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Docs Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Antd Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Element Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Naive Ftp (push) Has been skipped
Deploy Website on push / Rerun on failure (push) Has been skipped
Release Drafter / update_release_draft (push) Has been skipped
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / CI OK (push) Has been cancelled
2026-02-26 10:56:24 +08:00
Sam
51588525c7 Remove bin/obj and add .gitignore
Some checks failed
CI / Test (ubuntu-latest) (push) Has been skipped
CI / Lint (ubuntu-latest) (push) Has been skipped
CI / Check (ubuntu-latest) (push) Has been skipped
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been skipped
Deploy Website on push / Deploy Push Playground Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Docs Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Antd Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Element Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Naive Ftp (push) Has been skipped
Deploy Website on push / Rerun on failure (push) Has been skipped
Release Drafter / update_release_draft (push) Has been skipped
Lock Threads / action (push) Has been skipped
Issue Close Require / close-issues (push) Has been skipped
Close stale issues / stale (push) Has been skipped
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / CI OK (push) Has been cancelled
2026-02-25 17:35:00 +08:00
Sam
aad1163724 docs: add hierarchical AGENTS.md for subdirectories
Some checks are pending
CI / Test (windows-latest) (push) Waiting to run
CI / Lint (windows-latest) (push) Waiting to run
CI / Check (windows-latest) (push) Waiting to run
CI / CI OK (push) Blocked by required conditions
CI / Test (ubuntu-latest) (push) Has been skipped
CI / Lint (ubuntu-latest) (push) Has been skipped
CI / Check (ubuntu-latest) (push) Has been skipped
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been skipped
Deploy Website on push / Deploy Push Playground Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Docs Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Antd Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Element Ftp (push) Has been skipped
Deploy Website on push / Deploy Push Naive Ftp (push) Has been skipped
Deploy Website on push / Rerun on failure (push) Has been skipped
Release Drafter / update_release_draft (push) Has been skipped
2026-02-23 00:55:03 +08:00
movingsam
5cbfb2866c refactor: clean up Member module and update Console
- Remove redundant PointsRule repositories (use single PointsRuleRepository)
- Clean up Member migrations and consolidate to single Init migration
- Update Console frontend API and components for Tenant
- Add H5LinkService for member H5 integration
2026-02-18 23:34:40 +08:00
movingsam
cd9be23693 feat(member): add member management module with frontend and backend
- Add MemberQueryEndpoints with CRUD operations and status management
- Add frontend member management pages (list, detail, points, tags)
- Add frontend routes and API client for member module
- Move completed docs to docs/completed/
2026-02-17 16:29:34 +08:00
sam
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
8e0448d5c2 docs: reorganize documentation structure
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-02-15 10:32:23 +08:00
Sam
ef599f9465 fix: unblock frontend logs directory in gitignore
Add exception rules to both root and subproject .gitignore files to allow tracking the frontend logs page component at src/Fengling.Console.Web.Vben/apps/web-ele/src/views/fengling/logs/
2026-02-14 13:25:16 +08:00
Sam
8f2e07a2cf Vben项目的packages倒入 2026-02-13 21:37:52 +08:00
sam
86af935416 chore: update gitignore to allow Vben packages directory 2026-02-13 21:34:52 +08:00
Sam
bda792c89d feat(member): change MemberId to Guid strongly typed id
- Convert MemberId from long to Guid strongly typed ID
- Update all Member commands to use record pattern with MemberId
- Update all Member endpoints to use record pattern with MemberId
- Update entity configurations to use GuidVersion7ValueGenerator
- Add implicit conversion operators for MemberId

Migration: ChangeMemberIdToGuid
2026-02-10 00:41:35 +08:00
Sam
38db4e2e73 feat(gateway): 添加活动服务网关支持及管理面板
- 新增 docker-compose 配置,包含活动服务、YARP 网关、PostgreSQL 与 Redis
- 添加活动服务与网关集成文档,详细介绍配置步骤、API 和故障排查
- 删除旧的 bash 注册脚本,新增跨平台 PowerShell 和通用 bash 注册脚本
- 实现网关相关接口的 TypeScript 客户端调用封装,支持服务注册、路由管理
- 新增网关管理前端界面,包含服务统计、服务注册、路由刷新等功能
- 调整请求客户端默认开启 token 刷新以支持更稳定的认证体验
- 制定微服务命名与版本规范,标准化 API 路径和集群命名规则
2026-02-08 20:44:03 +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
b0f656da63 fix: remove 'roles' from default scope to prevent 403 error
- Remove 'roles' from default oauthConfig scope
- Roles scope is not registered in OpenIddict
- This was causing 403 Forbidden when requesting access token
2026-02-06 15:50:16 +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
65ea3ecf79 feat: export OAuth2 service functions 2026-02-06 01:48:19 +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
02415839ab feat: add OAuth2 configuration to web-ele 2026-02-06 01:44:17 +08:00
Sam
bad60b5108 feat: add expiresAt support to access store 2026-02-06 01:43:34 +08:00
Sam
c803c2a633 docs: add OAuth2 integration design for Fengling.AuthService
Design document for integrating Vben Admin with Fengling.AuthService using OAuth2 Authorization Code flow with PKCE.

Key features:
- OAuth2 Authorization Code flow with PKCE
- JWT token management with automatic refresh
- Single Logout (SLO) support
- Multi-tenant and RBAC support via claims
- Full error handling and security considerations
2026-02-06 01:24:18 +08:00
Sam
0003b0f1fd feat: implement OAuth 2.0 login flow with auto-redirect
- Modify login page to auto-redirect to auth center
- Update auth store to use OAuth login flow
- Handle OAuth callback and token exchange
- Update logout to use OAuth logout endpoint
2026-02-06 01:14:11 +08:00
Sam
0ebe467927 feat: integrate OAuth 2.0 authentication with Fengling Auth Center 2026-02-06 00:41:41 +08:00
Sam
393296ef3d fix: rename typings.d.ts to typings.ts for proper module resolution 2026-02-06 00:38:28 +08:00
Sam
87db42b5db feat(fengling): add routes and pages for Fengling Console management 2026-02-06 00:30:00 +08:00
Sam
e5bbe101c9 chore: configure environment variables for Fengling API 2026-02-06 00:14:35 +08:00
Sam
9b5198f87a feat(api): migrate TypeScript type definitions and API services 2026-02-06 00:11:36 +08:00
Sam
9600147586 chore: initialize Vben Admin project 2026-02-06 00:04:38 +08:00