Commit Graph

23 Commits

Author SHA1 Message Date
movingsam
8d2eeea982 fix(workflows): 修正 Docker 镜像推送的认证令牌
Some checks failed
Build and Deploy / build (push) Successful in 19s
Build and Deploy / docker (push) Failing after 21s
Build and Deploy / deploy (push) Has been skipped
- 将 Docker 镜像推送步骤中的认证密码从 GITEA_TOKEN 更新为 DOCKER_TOKEN
- 确保使用正确的 Docker 注册表访问令牌进行认证
- 避免因令牌错误导致的镜像上传失败
2026-02-27 22:04:23 +08:00
movingsam
1295246daf chore(workflows): 移除docker.yml中无用的docker服务配置
Some checks failed
Build and Deploy / build (push) Successful in 22s
Build and Deploy / docker (push) Failing after 20s
Build and Deploy / deploy (push) Has been skipped
- 删除了docker.yml中docker:dind服务相关配置
- 去除了DOCKER_HOST和DOCKER_TLS_VERIFY环境变量设置
- 简化了工作流以减少不必要的服务启动
- 保留了checkout步骤以保证代码获取正常运行
2026-02-27 21:50:07 +08:00
movingsam
c12e3f22f1 ci(workflows): 优化docker.yml配置以支持docker服务
Some checks failed
Build and Deploy / build (push) Successful in 22s
Build and Deploy / docker (push) Failing after 9s
Build and Deploy / deploy (push) Has been skipped
- 在docker.yml工作流中添加docker-in-docker服务支持
- 配置服务端口2376并设置特权模式
- 添加环境变量DOCKER_HOST和DOCKER_TLS_VERIFY以正确连接docker服务
- 修正密码环境变量名称由GITEATOKEN改为GITEA_TOKEN保证一致性
2026-02-27 21:42:50 +08:00
movingsam
b2478fb25b chore(ci): 添加集中管理NuGet包版本并优化GitHub Actions工作流
Some checks failed
Build and Deploy / build (push) Successful in 36s
Build and Deploy / docker (push) Failing after 30s
Build and Deploy / deploy (push) Has been skipped
- 在Directory.Build.props和Directory.Packages.props中启用包版本集中管理
- 统一管理多个关键依赖项的版本号,包括Fengling服务发现、Microsoft和Serilog组件
- 重构YarpGateway.csproj从项目引用改为包引用以支持包版本集中管理
- 新增NuGet.Config文件配置企业私有源和官方源凭证
- 完善GitHub Actions工作流,添加.NET环境设置及依赖恢复
- 拆分构建、Docker构建推送及部署步骤,增加Kubernetes部署实现
- 支持push和pr触发,使用动态标签和metadata管理镜像版本
- 自动更新Kubernetes部署镜像标签并进行回滚状态检查与验证
2026-02-27 21:11:13 +08:00
b9aea78495 Update secret name to GITEATOKEN
Some checks failed
Build and Push Docker / build (push) Failing after 49s
2026-02-26 13:05:40 +08:00
9a25793740 Update Docker CI for org
Some checks failed
Build and Push Docker / build (push) Has been cancelled
2026-02-26 13:00:20 +08:00
8d8a009bbd Add Docker CI workflow
Some checks failed
Build and Push Docker / build (push) Failing after 30s
2026-02-26 10:58:23 +08:00
Sam
60c0a4d5cf Add .gitignore 2026-02-25 17:28:18 +08:00
movingsam
abe3456ccb feat[gateway]: add K8s service discovery with pending approval workflow
- Add PendingServiceDiscovery model and database migration
- Add PendingServices API controller for service assignment
- Add KubernetesPendingSyncService for background sync
- Add RBAC configuration for K8s service discovery
- Update Dockerfile and K8s deployment configs
- Add service discovery design documentation

Workflow: K8s services with label managed-by=yarp are discovered
and stored in pending table. Admin approves before they become
active gateway downstream services.
2026-02-22 22:14:54 +08:00
movingsam
a39824397c refactor: align TenantRepository with CleanDDD/NetCorePal规范
- remove duplicate ITenantRepository/TenantRepository from Console
- extend Platform ITenantRepository with GetByIdAsync, GetPagedAsync, CountAsync
- update Console services to use Platform.Infrastructure.Repositories
- fix nullable warnings (UserDto, OAuthClientService)
- fix YarpGateway Directory.Build.props duplicate import
- fix DynamicProxyConfigProvider CS8618 warning
2026-02-19 19:20:06 +08:00
movingsam
6f690c76fa chore: update docs, fix strongly typed ID, add docker config
- docs: move completed docs to completed folder (points-rule-system, migrate-to-vben-admin)
- docs: update project progress (Member 175 tests, Fengling.Console mostly done)
- fix: update CampaignExecutionService to use campaignId.Id instead of .Value
- chore: add dockerignore and docker config to YarpGateway
2026-02-19 18:45:48 +08:00
movingsam
110464e622 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
sam
ebd1dc3264 feat(gateway): integrate Kubernetes service discovery in YarpGateway
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-02-15 10:39:50 +08:00
sam
71a15fd9fb 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
a6a7a5754e 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
1621f59e4a chore: update gitignore to allow Vben packages directory 2026-02-13 21:34:52 +08:00
Sam
3263a33bbd fix: configure TenantInfo as owned entity and use AsNoTracking
- Add AsNoTracking to tenant query to avoid tracking conflicts
- Configure TenantInfo as owned entity in ApplicationUser
- Map TenantInfo properties to separate columns in AspNetUsers table
2026-02-06 00:55:58 +08:00
Sam
df8b9589f9 chore: add .gitignore and remove tracked binary files (bin, obj, dll, pdb) 2026-02-02 10:20:22 +08:00
Sam
a3be629bce feat(auth): add seed data for admin and test users 2026-02-02 09:53:06 +08:00
Sam
974e94427d chore: upgrade all projects to .NET 10.0 and latest packages 2026-02-02 01:04:51 +08:00
Sam
c3c2d6cb05 feat(auth): add user and role models with EF Core migrations 2026-02-01 23:36:20 +08:00
Sam
f6e1ee38fa feat(auth): upgrade all dependencies to latest versions 2026-02-01 23:31:33 +08:00
Sam
1be6309567 chore(auth): upgrade OpenIddict to 7.2.0 2026-02-01 23:24:47 +08:00