Wu Clan
bc484bf414
Merge branch 'master' into pre-tenant
...
# Conflicts:
# backend/common/context.py
2026-08-14 17:49:39 +08:00
Wu Clan
8e5c379853
Bump dependencies and pre-commits ( #1228 )
...
* Bump dependencies and pre-commits
* Fix lint
2026-07-21 15:19:20 +08:00
Wu Clan
1916261795
Update plugin config format validation ( #1224 )
2026-07-10 17:55:24 +08:00
Wu Clan
09fd380c3a
Refactor plugin dynamic config loading ( #1222 )
2026-07-09 17:20:01 +08:00
Wu Clan
a0a1bde88c
Update capability plugin config validation ( #1219 )
2026-07-08 11:48:51 +08:00
9251a5d5fd
Add support for capability plugins ( #1217 )
...
* feat(plugin): support capability plugins
Add capability plugin metadata and parsing so plugins without app/api sections can participate in dependency ordering and hooks without being routed as app plugins.
Also rebuild missing plugin status cache from the normalized plugin config when a route dependency checks plugin state.
* refactor code
---------
Co-authored-by: linwu@onemt.com.cn <linwu@onemt.com.cn >
Co-authored-by: Wu Clan <jianhengwu0407@gmail.com >
2026-07-08 11:19:20 +08:00
Wu Clan
df045ac9f0
Fix merge errors
2026-07-01 00:07:34 +08:00
Wu Clan
70159d4615
Merge branch 'master' into pre-tenant
...
# Conflicts:
# backend/app/admin/service/auth_service.py
# backend/plugin/core.py
2026-06-30 23:37:51 +08:00
Wu Clan
08ee3878c1
Refactor cache key and prefix APIs ( #1210 )
2026-06-25 14:19:37 +08:00
Wu Clan
c7e686588e
Add AI dynamic configuration menu ( #1209 )
2026-06-24 11:42:53 +08:00
Wu Clan
ffaa1282cc
Bump dependencies and pre-commits ( #1205 )
2026-06-19 22:47:33 +08:00
Wu Clan
15dda9ab6e
Refactor AI response regeneration
2026-06-16 15:10:38 +08:00
Wu Clan
814068a9e6
Add plugin deps command to the CLI ( #1200 )
...
* Add plugin deps command to the CLI
* Add dependency sync command to the CLI
* Fix plugin dependency index fallback
2026-06-16 11:25:53 +08:00
Wu Clan
4b730099cd
Optimize plugin core and add otel hooks ( #1196 )
2026-06-01 18:15:59 +08:00
Wu Clan
bffc564dd7
Fix tenant context
2026-06-01 02:08:50 +08:00
Wu Clan
4722dceff0
Fix lint
2026-05-31 16:23:50 +08:00
Wu Clan
4eded4f55a
Merge branch 'master' into pre-tenant
...
# Conflicts:
# backend/app/admin/service/auth_service.py
# backend/common/security/jwt.py
# backend/core/registrar.py
# backend/middleware/access_middleware.py
# backend/plugin/oauth2/api/v1/github.py
# backend/plugin/oauth2/api/v1/google.py
# backend/plugin/oauth2/crud/crud_user_social.py
# backend/plugin/oauth2/service/user_social_service.py
# backend/utils/dynamic_config.py
2026-05-31 16:20:49 +08:00
Wu Clan
a5e9a0e805
Refactor physical deletion to logical deletion ( #1191 )
...
* Refactor physical deletion to logical deletion
* Update the usage of unique indexes
* Update scheduler update and delete
* Fix lint
* Add some missing logic
* Optimize codegen get by id
2026-05-30 15:02:00 +08:00
Wu Clan
1897b3198e
Optimize the usage of setex for redis ( #1190 )
2026-05-29 11:14:47 +08:00
Wu Clan
ef9a6b554c
Fix cache invalidation decorator usage ( #1182 )
2026-05-26 16:14:47 +08:00
Wu Clan
2e86d79150
Optimize some global variable definitions ( #1178 )
2026-05-15 11:55:22 +08:00
Wu Clan
5352f98c13
Optimize database operations within loops ( #1177 )
...
* Optimize database operations within loops
* Optimize opera log
2026-05-14 11:38:38 +08:00
Wu Clan
f7051d4f9d
Merge branch 'master' into pre-tenant
2026-04-28 18:04:53 +08:00
Wu Clan
bfe4aa91ce
Add uninstall plugin operation checks ( #1165 )
...
* Add uninstall plugin operation checks
* Fix lint
2026-04-27 17:36:00 +08:00
Wu Clan
5d85bc98d2
Optimize the core code ordering of plugins ( #1164 )
2026-04-27 09:51:18 +08:00
Wu Clan
776482c5d6
Update plugin README content format ( #1158 )
...
* Update plugin README content format
* Fix lint
2026-04-19 21:36:57 +08:00
Toby Wong and Wu Clan
92f182cd09
Add plugin depends on and lifecycle ordering ( #1153 )
...
* feat: add priority support to LifespanManager.register
* feat: support lifespan stages and plugin dependencies
* Optimize implementations
* Fix dependency resolution
* Fix the depends on type
---------
Co-authored-by: Wu Clan <jianhengwu0407@gmail.com >
2026-04-17 16:54:48 +08:00
Wu Clan
9f193c7e7c
Fix mysql enum data type mismatch ( #1155 )
2026-04-14 23:03:15 +08:00
Wu Clan
4e0ca6a214
Remove cleanup operations after plugin install ( #1154 )
...
* Remove cleanup operations after plugin install
* Fix lint
2026-04-13 15:09:45 +08:00
Wu Clan
1f287bbb0c
Merge branch 'master' into pre-tenant
...
# Conflicts:
# .pre-commit-config.yaml
# pyproject.toml
# requirements.txt
# uv.lock
2026-04-08 21:04:56 +08:00
YuWorm
b71179cea9
Add plugin system hook function mechanism ( #1142 )
...
* Enhance plugin system with lifespan registry, setup hooks, and patching utilities
* fix: remove registrar.py unused-import
* Optimize implementations
* Update function docs
* update replace_middleware func docs
* Recover deleted comments
2026-04-08 10:35:02 +08:00
Wu Clan
131bfcf063
Add the installation frontend plugin CLI ( #1141 )
2026-04-03 09:51:19 +08:00
Wu Clan
283d762141
Refactor plugin dependency cache and check ( #1140 )
2026-04-02 17:00:20 +08:00
Wu Clan
7e6856a5e0
Fix plugin dependencies for redis instance ( #1133 )
2026-03-30 14:37:31 +08:00
Wu Clan
c96181bd08
Update plugin config and dependency cache ( #1130 )
...
* Update plugin config and dependency cache
* Fix deps check
2026-03-27 23:50:58 +08:00
Wu Clan
7a934fee32
Update the plugin requirements check ( #1129 )
2026-03-27 22:42:30 +08:00
Wu Clan
5ff7f4bc69
Fix code generation menu sql scripts ( #1127 )
2026-03-24 15:59:06 +08:00
Wu Clan
94f643c587
Fix the logic related to the status field ( #1125 )
2026-03-24 11:43:09 +08:00
Wu Clan
4a08938de7
Merge branch 'master' into pre-tenant
...
# Conflicts:
# uv.lock
2026-03-23 16:48:15 +08:00
Wu Clan
c08f64ae75
Add sql scripts for OAuth2 plugin ( #1121 )
...
* Add sql scripts for OAuth2 plugin
* Fix lint
2026-03-23 16:46:58 +08:00
Wu Clan
48352563ef
Update plugin config and sql validate ( #1122 )
...
* Update plugin config and sql validate
* Fix lint
2026-03-23 16:44:44 +08:00
Wu Clan
f87d8f43c8
Fix zip plugin installation and unzip ( #1120 )
...
* Fix zip plugin installation and unzip
* FIx lint
2026-03-22 20:49:53 +08:00
Wu Clan
96e0635f84
Update get_by_sid query
2026-03-19 12:05:15 +08:00
Wu Clan
15bea9e149
Merge branch 'master' into pre-tenant
...
# Conflicts:
# backend/app/admin/crud/crud_user.py
# backend/app/admin/service/auth_service.py
# backend/cli.py
# backend/common/dataclasses.py
# backend/common/security/jwt.py
# backend/common/security/rbac.py
# backend/middleware/access_middleware.py
# backend/plugin/core.py
# backend/utils/dynamic_config.py
# backend/utils/dynamic_import.py
2026-03-19 11:58:45 +08:00
Wu Clan
2866fc45b1
Fix typos in code and comments ( #1115 )
2026-03-19 11:50:43 +08:00
Wu Clan
23975442d8
Update plugin dynamic import check ( #1112 )
...
* Update plugin dynamic import check
* Update cli dynamic import
2026-03-19 11:49:33 +08:00
Wu Clan
f6507c86dd
Add destroy SQL scripts for OAuth2 plugin
2026-03-15 19:04:23 +08:00
Wu Clan
46ad7a5d7f
Add OAuth2 tenant support
2026-03-15 02:48:53 +08:00
Wu Clan
e5b8a5242d
Fix known issues and improvements
2026-03-15 01:34:05 +08:00
Wu Clan
feb2bcbe82
Fix token for tenant id
2026-03-13 18:46:45 +08:00