173 Commits

Author SHA1 Message Date
f3725ba95e debug: check_uapi.dspy to inspect data/response field format 2026-08-06 18:23:15 +08:00
bf2bf48e3e fix(uapi): uapiio input_fields 改为 bricks 兼容格式,uapi stream 修正 2026-08-06 18:19:10 +08:00
520accdade fix(pricing): correct YAML pricing_data format per pricing skill spec - unit_values + fields + pricings 2026-08-06 17:20:42 +08:00
e583189321 fix(pricing): 1 pricing_program + 2 pricing_program_timing for MiniMax-H3 2026-08-06 17:18:50 +08:00
6f15f86e2a feat(uapi): MiniMax-H3 - SQL script + DSPY for video gen uapi + pricing
- uapiio: m_h3_video_gen_io (input/output definition)
- uapi x2: create task + query task
- upapp: minimax platform (https://api.minimax.chat)
- pricing x2: 2K (0.80 CNY/s), 768P (0.50 CNY/s)
- SQL script: sql/minimax_h3_setup.sql
2026-08-06 17:08:33 +08:00
148ce17f82 feat(uapi): MiniMax-H3 setup DSPY with pricing - uapiio, uapi x2, upapp, upappkey, pricing_program x2 (2K:0.80/s, 768P:0.50/s) 2026-08-06 17:02:35 +08:00
258b46e600 feat(uapi): MiniMax-H3 video generation API integration
- uapiio: MiniMax-H3 video gen input/output definition
- uapi x2: create task (POST /v2/video_generation) + query task (GET /v2/query/video_generation/{task_id})
- upapp: minimax platform registration (https://api.minimax.chat)
- upappkey: placeholder for API key
2026-08-06 16:35:57 +08:00
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