166 Commits

Author SHA1 Message Date
bcfaa7d677 refactor: import share_cache for future uapi cache migration 2026-07-29 17:16:26 +08:00
21c99f8bec feat(uapiio): add LIKE search for name and description 2026-07-20 12:49:48 +08:00
b8ba97b469 feat(upapp): add LIKE search for name and baseurl 2026-07-20 11:53:28 +08:00
f5c808c976 fix: 复制API去掉选中行要求,源和目标都改为下拉选择; dspy去json.dumps 2026-07-01 15:26:27 +08:00
2068b066e3 fix: 修正 permission 表列名 — permcode→path, permname→name
对照 rbac/models/permission.json 确认:
- path (原 permcode)
- name (原 permname)
- permtype ✓
- id ✓
2026-07-01 15:05:42 +08:00
c0c598ff15 fix: permcode → path — 权限表列名修正
permission 表的列名是 path,不是 permcode。
与 sage/load_path.py 保持一致。
2026-07-01 14:59:43 +08:00
5ebe83207d fix: use data instead of codes for UiCode dropdown (bricks UiCode expects opts.data) 2026-07-01 14:56:36 +08:00
d5f732434c feat: add copy_api tool to upapp — copy all uapi records to another upapp system 2026-07-01 14:21:35 +08:00
7545aef6cb Merge branch 'main' of git.opencomputing.cn:yumoqing/uapi 2026-07-01 13:56:31 +08:00
c771771558 bugfix 2026-07-01 13:55:22 +08:00
e820355f7a bugfix 2026-06-26 13:19:12 +08:00
59e0870f89 bugfix 2026-06-26 13:18:37 +08:00
3aac52a2fe bugfix 2026-06-26 13:17:24 +08:00
Hermes Agent
a4c0d3cbb0 feat: add i18n translations (zh/en/jp/ko) for all modules 2026-06-19 15:01:43 +08:00
Hermes Agent
40291ee9b1 uapi: uapiio data_filter字段key由name改为field修复AssertionError 2026-06-18 11:46:26 +08:00
Hermes Agent
2d0a836549 uapi: upapp删除跳转到tool 2026-06-18 11:42:22 +08:00
Hermes Agent
5e5a2afbba uapi: uapi表editexclouded加upappid; uapiio增加data_filter搜索 2026-06-18 11:38:38 +08:00
87d2cd409d debug: add hot_reload handler logging 2026-06-01 22:53:05 +08:00
7c97676285 chore: remove __pycache__, add to gitignore 2026-06-01 18:10:39 +08:00
e735070007 refactor: bind hot_reload event via EventDispatcher, add on_hot_reload to UAPIData 2026-06-01 18:10:31 +08:00
4360f34576 fix: get_apiusers cache key missing orgid causing cross-org data leak 2026-05-30 11:01:05 +08:00
d67cc0b0da fix: uapi cache key mismatch and write without cache gate 2026-05-30 10:55:31 +08:00
77b4b14525 feat: respect module_cache config for UAPI cache 2026-05-29 17:59:26 +08:00
4892a4e460 chore: remove CRUD definition dirs from tracking, add gitignore 2026-05-29 13:18:22 +08:00
cc5803d4a7 refactor: optimize debug output - use debug_params, truncate SQL; add CRUD definitions 2026-05-29 12:07:55 +08:00
e0296882fe feat: add load_path.py for RBAC permission registration 2026-05-27 16:28:56 +08:00
3e93f61594 refactor(models): convert to json format per database-table-definition-spec 2026-05-27 13:23:33 +08:00
b83828b073 Revert "feat: add token() auth function for Vidu API Token authentication"
This reverts commit 369f6fea54dc2a0692926bd3fdfb3126bb73ce06.
2026-05-25 17:33:23 +08:00
369f6fea54 feat: add token() auth function for Vidu API Token authentication
- Add token(apikey) function in appapi.py returning 'Token {apikey}'
- Import and register token() in init.py ServerEnv
- Supports Vidu API's Token auth scheme (vs existing Bearer/Deerer)
2026-05-25 17:15:56 +08:00
c7bbdb5bda chore: remove uapiset.json (table no longer exists) 2026-05-21 15:50:19 +08:00
0aa5a2a862 fix: remove uapiset references, use upappid for uapi-upapp direct join 2026-05-21 15:49:04 +08:00
8287c2c733 feat: add json table definitions for all models (converted from xlsx) 2026-05-21 12:46:36 +08:00
7bf871e985 fix: increase upappid length to VARCHAR(32) to avoid Data too long error 2026-05-20 16:38:08 +08:00
f0bf47881b fix: remove non-existent auth_apiname from uapi query, add error handling 2026-05-20 16:31:25 +08:00
29a397bbf4 fix: remove duplicate auth_apiname migration from script (already done manually) 2026-05-20 16:15:25 +08:00
f0950f3673 fix: remove apisetid references from uapi.json, add auth_apiname migration to script
- uapi.json: remove apisetid from sortby/browserfields/editexclouded
- migrate script: include upapp.auth_apiname creation and migration from uapiset
2026-05-20 16:13:50 +08:00
af864460f0 fix: correct getConfig import path to appPublic.jsonConfig 2026-05-20 16:01:04 +08:00
f16aa302eb feat: add migration script for uapi apisetid -> upappid
Script copies shared uapi records so each upapp gets its own copy,
then updates the link from apisetid to upappid.
2026-05-20 15:47:41 +08:00
3d11ff3dc1 fix: upapp uapi subtable should link by upappid not apisetid
After removing uapiset, each upapp owns its uapi records directly.
Subtable field changed from apisetid to upappid.
2026-05-20 15:46:50 +08:00
98df132a78 feat: add uapi subtable to upapp CRUD
After removing uapiset, upapp directly manages its uapi records via
apisetid. Added uapi as a subtable in upapp.json so users can view/edit
APIs directly from the upapp detail page.
2026-05-20 15:38:48 +08:00
471362a9f1 chore: remove uapiset.json CRUD definition
uapiset table is being removed. auth_apiname moved to upapp table.
2026-05-20 15:36:37 +08:00
8fe844be48 refactor: remove uapiset from sor_get_uapi()
Remove uapiset intermediate table from JOIN chain. auth_apiname is now
read directly from upapp table.

Before: JOIN uapi a, upapp b, uapiset c WHERE b.apisetid = c.id
After:  JOIN uapi a, upapp b (auth_apiname from upapp)
2026-05-20 15:36:01 +08:00
619399d250 docs: remove deprecated UAPI class from documentation 2026-05-11 18:22:16 +08:00
5189abf931 docs: move development documentation to root README.md, remove docs/ directory 2026-05-11 18:13:54 +08:00
946f1287e0 docs: add uapi module development documentation 2026-05-11 18:12:29 +08:00
35bcc9968a bugfix 2026-04-25 11:11:50 +08:00
1902cfbc53 bugfix 2026-04-20 13:41:03 +08:00
12d64d2dbb bugfix 2026-04-08 18:06:35 +08:00
98004a8052 bugfix 2026-04-08 13:49:24 +08:00
65e6ed36c5 bugfix 2026-04-08 13:43:29 +08:00