146 Commits

Author SHA1 Message Date
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
f04917363d bugfix 2026-04-07 14:06:28 +08:00
cf636d97db bugfix 2026-04-07 13:43:02 +08:00
861b531c37 bugfix 2026-04-02 15:29:13 +08:00
051c7dbd99 bugfix 2026-04-02 15:25:10 +08:00
2e46489537 bugfix 2026-03-30 12:01:36 +08:00
f09bad64a7 bugfix 2026-03-29 16:24:12 +08:00
660b4a19df bugfix 2026-03-27 18:30:43 +08:00
1ddf9c0b3a bugfix 2026-03-27 17:21:03 +08:00
5a67103432 bugfix 2026-03-27 16:21:42 +08:00
67295c216f bugfix 2026-03-27 14:05:23 +08:00
692bc58818 bugfix 2026-03-27 13:34:51 +08:00
accb61a398 bugfix 2026-03-27 12:04:13 +08:00
db31437d7c bugfix 2026-03-27 11:52:44 +08:00
26f54e7be4 bugfix 2026-03-27 11:50:36 +08:00
00f41b8900 bugfix 2026-03-27 11:49:40 +08:00
a052509fda bugfix 2026-01-08 16:24:54 +08:00
03249a2e22 bugfix 2026-01-07 10:59:03 +08:00
542c2d2660 bugfix 2025-10-14 15:59:42 +08:00
817a2b9639 bugfix 2025-10-11 12:11:53 +08:00
e636fbd81b bugfix 2025-09-22 18:11:12 +08:00