196 Commits

Author SHA1 Message Date
caccd22893 feat: add dapi and uapi module entries to global menu 2026-05-29 13:15:22 +08:00
5cb9cef2a9 fix: remove Jinja2 condition from accounting menu items (Jinja2 not effective at menu render time) 2026-05-29 00:10:50 +08:00
ed17dc0c86 feat: add credit limit menu entry to global menu 2026-05-28 22:39:54 +08:00
459f00d995 fix: remove hardcoded dark colors from global_menu and mainpage 2026-05-28 16:14:02 +08:00
60033946ce fix: rbac menu URL from /rbac/index.ui (nonexistent) to /rbac 2026-05-28 15:59:12 +08:00
f1447e737a fix: move reallife_asset menu item outside {% if get_user() %} block for universal visibility 2026-05-28 15:28:54 +08:00
4111c72474 feat: add reallife_asset to global menu 2026-05-28 15:23:28 +08:00
01d2385a26 i18n: add new dashboard strings (暂无数据, 排名, 用户金额TOP5, etc.) 2026-05-28 14:53:29 +08:00
30ef2d133c fix: remove hardcoded dark theme colors from index.ui, use CSS classes for theme support 2026-05-28 14:13:55 +08:00
1117dc7b67 i18n: comprehensive translation update - 921 strings across all modules
- Scanned ALL .ui/.json/.dspy files using regex + JSON parsing
  (regex fallback handles template syntax that breaks JSON parser)
- Covers: dashboard_for_sage, menu labels, CRUD headers/tools,
  llmage, accounting, appbase, charge, cpcc, dapi, discount,
  filemgr, hermes-web-cli, msp, platformbiz, pricing, rag, rbac,
  unipay, uapi, and sage core
- zh: 921 entries (Chinese strings as key=value)
- en: 921 entries (Chinese->English translations, preserves existing 227)
- ko: 921 entries (Korean translations, was empty)
- jp: 921 entries (Japanese translations, was empty)
- Generated msg.txt (backend MiniI18N format) in both i18n/ and
  wwwroot/i18n/ directories
- Dashboard translations: 仪表盘, 快捷入口, 今日活跃用户,
  今日交易金额, 数据看板, 在线用户, etc.
- Menu translations: 供应链管理, 平台业务, 折扣管理, 用户与权限,
  算力中心管理, 计费管理, 运维管理, LLM模型管理, etc.
- CRUD: all table headers, tool labels, field labels translated
2026-05-28 14:12:22 +08:00
7ea16d65ce fix: add language switch and window dock buttons to shell top bar
Restored from old top.ui:
- i18n/language.ui: language switcher
- Svg app-dock: show_windows_panel for minimized windows
2026-05-28 13:41:56 +08:00
f71c5f737b i18n: scan all .ui/.dspy files, complete translations for zh/en/ko/jp
- Scanned 193 .ui files across sage/wwwroot/ and pkgs/*/wwwroot/
- Extracted 169 unique otext/label strings
- Generated msg.txt (backend MiniI18N format) for all 4 languages
- Updated i18n.json (frontend reference) for all 4 languages
- zh: 169 entries (Chinese strings as key=value)
- en: 227 entries (Chinese→English translations + existing)
- ko: 169 entries (Korean translations)
- jp: 169 entries (Japanese translations)
- Covered modules: cpcc, dapi, discount, filemgr, hermes-web-cli,
  llmage, msp, platformbiz, pricing, rag, rbac, unipay, accounting,
  appbase, charge, sage core
2026-05-28 11:23:05 +08:00
c40492b320 feat(global_menu): restore supplychain module 2026-05-28 11:18:20 +08:00
9f7633f572 fix: remove supplychain from global_menu (not in Sage) 2026-05-28 11:07:57 +08:00
9b710966d2 fix: remove build.sh-managed symlinks from git, clean global_menu
- Remove 55 symlinks/module files from git tracking (build.sh creates them)
- Add .gitignore rules for all build.sh module symlinks
- Remove 7 non-Sage modules from global_menu.ui:
  unified_dashboard, integrated_crm_app, customer_management,
  opportunity_management, contract_management, financial_management,
  workflow_approval
- Keep only Sage modules: dashboard, product_management, supplychain,
  pricing, discount, llmage, rag, cpcc, msp, platformbiz, accounting, rbac
2026-05-28 11:06:35 +08:00
08feced001 fix: remove non-sage modules (cms, hermes-web-cli) from global_menu, use comma-prefix pattern for JSON safety 2026-05-28 10:38:38 +08:00
ac64a9b376 fix: remove id from urlwidget container (belongs in global_menu.ui) 2026-05-28 10:35:08 +08:00
8119e7dbd9 fix: relative symlinks + imgs/msp.svg for production compatibility
- Convert all 21 wwwroot symlinks from absolute to relative paths
  - Internal pkgs: ../pkgs/MODULE/wwwroot
  - External repos: ../../MODULE/wwwroot
- Add imgs/msp.svg logo placeholder (replaces missing msp.png)
- Remove stale shell.ui symlink (index.ui is the shell now)
- Update index.ui to reference msp.svg instead of msp.png
2026-05-27 19:11:45 +08:00
3481d80f24 feat: track wwwroot/ in git for simpler deployment
Remove wwwroot/ from .gitignore so production deployment is just git pull.

Changes:
- wwwroot/index.ui: Shell layout with sidebar and main content
- wwwroot/global_menu.ui: Global navigation menu (22 modules)
- wwwroot/dashboard_for_sage/: Dashboard widgets and stats
- wwwroot/product_management/: Product management pages
- Module symlinks (accounting, rbac, bricks, etc.)

Ignored: .DS_Store, *.bak, tmp/
2026-05-27 19:00:46 +08:00
da47ad0cdb bugfix 2026-05-27 18:50:01 +08:00
46bc814fdc feat: replace index.ui with shell left-right layout, add missing routes for dashboard widgets and module index.ui files 2026-05-26 15:52:45 +08:00
b841f79e13 fix: add dark mode background (#0B1120) to public/mainpage/index.ui 2026-05-26 11:57:10 +08:00
63ee4b324d fix: add local dev env vars and fix DB password format
- start.sh: add placeholder env vars (ALIPAY_PUB, BAIDU_SMS_*) for local dev
- conf/config.json: fix DB password to AES-encoded format
2026-05-26 09:27:32 +08:00
8260637bf2 bugfix 2026-05-25 15:18:19 +08:00
3cda907ba2 Add dashboard_for_sage module: menu submenu, sage.py import/load, build.sh module list 2026-05-24 14:25:00 +08:00
8b387ab71c bugfix 2026-05-23 11:13:51 +08:00
d557c7266b bugfix 2026-05-19 16:33:34 +08:00
497f143f26 bugfix 2026-05-19 16:14:10 +08:00
3791b65236 bugfix 2026-05-19 16:07:33 +08:00
b1073c6afe fix: 推理菜单submenu指向正确的harnessed_reasoning菜单
之前'推理'菜单的submenu错误指向了/harnessed_agent/menu.ui,
改为/harnessed_reasoning/menu.ui后可以看到:
- 推理控制台
- 推理交互
- 推理会话
- 推理配置
2026-05-13 14:29:35 +08:00
9d2c89d811 bugfix 2026-05-13 12:52:24 +08:00
65064f0f67 bugfix 2026-05-13 11:00:35 +08:00
a87d34da93 bugfix 2026-05-12 13:32:20 +08:00
c515824bd9 append api doc in Engine, Japense, and Korenes 2026-05-09 12:43:41 +08:00
74da86f7bf add api language version 2026-05-08 19:00:53 +08:00
9a473a19bd bugfix 2026-05-08 18:53:11 +08:00
71afc6c866 bugfix 2026-05-08 18:42:32 +08:00
9815fd1ac8 bugfix 2026-05-06 10:45:02 +08:00
6220e8546a bugfix 2026-04-29 13:41:44 +08:00
bce3fc1889 bugfic 2026-04-26 12:03:04 +08:00
410a8f34e1 bugfix 2026-04-24 23:39:21 +08:00
2ffc08556c bugfix 2026-04-24 23:35:00 +08:00
9ffba3112f bugfix 2026-04-24 18:44:29 +08:00
78a604a399 bugfix 2026-04-23 17:03:21 +08:00
33d8c3e208 bugfix 2026-04-22 15:29:43 +08:00
09a6e212b3 bugfix 2026-04-21 16:11:18 +08:00
1e26de85f5 bugfix 2026-04-21 15:50:40 +08:00
15d0c1e84e bugfix 2026-04-15 18:08:58 +08:00
a229e4084b bugfix 2026-04-03 14:46:19 +08:00
822e3b9dca bugfix 2026-04-02 17:32:22 +08:00