74 Commits

Author SHA1 Message Date
agile.zhou 5623a4af4d refactor: migrate user and role management to application layer 2026-08-30 15:29:28 +08:00
agile.zhou 5e07e77c8c fix: embed neutral message resources 2026-08-26 22:08:34 +08:00
agile.zhou 4f89e6daef test: raise unit test coverage to 60 percent 2026-08-26 01:47:44 +08:00
agile.zhou 32fe29c661 fix: address v2 API review feedback 2026-08-24 23:05:00 +08:00
agile.zhou 1c1519f62c test: make v2 checks platform independent 2026-08-24 01:54:27 +08:00
agile.zhou 3fe2c0cd2c docs: split Swagger documents by API version 2026-08-24 01:07:09 +08:00
agile.zhou 2ea3d8532a feat: add v2 REST API application layer 2026-08-24 00:57:44 +08:00
agile.zhou 88f348d2c0 feat: support jsonc config, map comments to config description
Parse jsonc comments with Utf8JsonReader and store them as Config.Description; write them back when getting/exporting config json. Accept .jsonc uploads and show the description in the import preview.
2026-08-03 02:23:40 +08:00
agile.zhou d326cb39ef fix: 修复管理端 Basic 认证接口初始化缺陷并补集成测试
- 修复 PermissionCheckByBasicAttribute 构造函数参数与 TypeFilter 用法不匹配导致所有 AdmBasicAuthentication 接口 500 的问题

- 收敛系统角色与权限初始化到唯一幂等入口 EnsureSystemRolePermissions,重复执行不再产生重复的角色-权限绑定

- 调整启动顺序:先初始化权限体系(Function/角色/绑定)再初始化 superadmin user,并从 InitSa 移除冗余的 EnsureSystemRoles(Freesql+Mongodb)

- 重命名 TryInitSuperAdminRole 为 TryInitSystemRolesAndPermissions 以反映真实职责

- 新增 ApiSite 集成测试覆盖全部 AdmBasicAuthentication 接口、错误凭证 403 及初始化幂等性
2026-07-06 01:32:57 +08:00
super-niuma-001 d93702707a feat: add app import preview flow 2026-04-15 17:29:25 +08:00
super-niuma-001 3d1a720f08 feat: support batch app export 2026-04-10 16:18:14 +08:00
kklldog 138f446aba Disable nullable warnings in 7 csproj files
Changed <Nullable>enable</Nullable> to <Nullable>disable</Nullable> in:
- src/AgileConfig.Server.Data.Abstraction
- src/AgileConfig.Server.Data.Freesql
- src/AgileConfig.Server.Data.Mongodb
- src/AgileConfig.Server.Data.Repository.Mongodb
- src/AgileConfig.Server.EventHandler
- test/AgileConfig.Server.Data.AbstractionTests
- test/AgileConfig.Server.Data.FreesqlTests

This reduces build warnings from 150 to 102.
2026-03-22 01:40:33 +08:00
agile.zhou a766175d57 Fix testcases 2025-12-29 23:58:51 +08:00
agile.zhou 8a85977e1d fixbug: can not add item if the key exist different group 2025-12-22 22:18:29 +08:00
agile.zhou 87bd8209e7 clearn code 2025-11-24 01:39:04 +08:00
agile.zhou 3cf3208a73 Update NET version to 10 2025-11-24 01:11:06 +08:00
agile.zhou 74084adb9e control backend permission 2025-11-23 02:35:25 +08:00
agile.zhou 4935a8d079 fix obvious issue 2025-11-11 01:13:34 +08:00
agile.zhou 0c14bef6a2 Use publish timeline virtual id to compare the version between client 2025-09-22 23:45:11 +08:00
agile.zhou 52dcc24e48 syslog message refine 2025-08-10 21:13:20 +08:00
agile.zhou a62dc79bda Fix test case issue 2025-08-10 17:38:02 +08:00
agile.zhou 094e9a4258 Update ref project 2025-08-10 03:30:39 +08:00
agile.zhou 18c2dda1fb fix test cases 2025-02-23 16:57:38 +08:00
agile.zhou 5e5f3bb57b Correct naming; 2024-11-02 23:42:32 +08:00
agile.zhou 54e00f7143 Fix build error 2024-09-28 22:37:38 +08:00
agile.zhou 05c468b308 Refactor the TinyEventBus 2024-09-12 01:12:24 +08:00
agile.zhou 973348d709 Update test cases; 2024-09-08 17:13:02 +08:00
agile.zhou 03d2148866 Update test cases; 2024-09-08 16:52:54 +08:00
agile.zhou e4204e7def Update mysql test cases 2024-09-08 15:45:25 +08:00
agile.zhou 7131695e01 Enable test cases on mysql 2024-09-08 11:57:39 +08:00
agile.zhou 7eee7d9bd8 Refactor IfEnvEmptySetDefault to a static method 2024-09-08 11:46:00 +08:00
agile.zhou 9287c2cb21 Use a static var to cache the env list 2024-09-08 11:30:34 +08:00
agile.zhou 2cec041863 Refactor MeterService 2024-05-27 00:16:29 +08:00
agile.zhou 245e3a0115 Fix test case 2024-05-13 00:28:10 +08:00
agile.zhou b68f9f06fc Refactoring the TinyEventBus 2024-05-05 23:30:20 +08:00
InCerryGit da2d09bfbc fix potential thread safety issues. 2024-03-01 13:04:07 +08:00
agile.zhou 1481902856 Update test cases; 2024-01-28 02:22:22 +08:00
agile.zhou 497fa7bb50 Update test cases; 2024-01-28 02:09:38 +08:00
agile.zhou 8ec4382b14 Update test cases; 2024-01-27 23:53:31 +08:00
agile.zhou 406c044e30 Update test cases; 2024-01-27 23:31:50 +08:00
agile.zhou c052747c79 Update mongo test case; 2024-01-27 23:09:17 +08:00
agile.zhou b62a055134 Update mongodb test cases; 2024-01-27 16:51:55 +08:00
agile.zhou bd5b55c486 Update test case; 2024-01-26 02:32:56 +08:00
agile.zhou 14e7429b83 Update testcase 2024-01-26 02:23:14 +08:00
agile.zhou 757f622d7c Update test case; 2024-01-26 02:18:59 +08:00
agile.zhou 151a898aa3 Update test cases; 2024-01-26 02:11:30 +08:00
agile.zhou 09a35483fd update test packages 2024-01-26 01:50:38 +08:00
agile.zhou 80b2588327 use testcontainer run testing 2024-01-26 01:40:24 +08:00
agile.zhou e054b2b974 Use testcontainers to run mysql intergration testing. 2024-01-24 03:21:34 +08:00
agile.zhou 6da6f614f4 测试用例适配 mongodb; 2024-01-21 20:46:04 +08:00