Commit graph

150 commits

Author SHA1 Message Date
Max
8523170992 Implement system store management and enhance store loading functionality
- Introduced a new system store management feature, allowing for the loading of predefined system stores such as cache and OAuth client stores.
- Added a `loadSystemStores` function to handle the loading of system stores with variable replacement for configuration paths.
- Enhanced the `Load` function to include the loading of system stores, improving the overall store management process.
- Updated test utilities to support loading system stores for testing, ensuring comprehensive coverage and functionality.
- Refactored the `replaceVars` function to facilitate variable replacement in JSON strings, enhancing flexibility in store configurations.
2025-07-20 11:23:00 +08:00
Max
c74916296a Enhance model definitions and loading process for system models
- Added new system models for assistant, attachment, audit, chat, config, dsl, history, and kb with metadata including tags, built-in status, read-only attributes, and sort order.
- Refactored the model loading process to include a dedicated function for loading system models, improving organization and maintainability.
- Updated the application loading logic to set a default prefix for system tables, ensuring consistent naming conventions.
- Improved error handling during model loading and migration processes for better reliability.
2025-07-15 16:33:14 +08:00
Max
4c026755c4 feat: Update versioning and commit information in Makefile and version command
- Added CUI commit information to the Makefile for artifact generation.
- Enhanced version command output to include Yao and CUI commit details with improved formatting.
- Updated constant names in share/const.go for clarity on versioning.
- Fixed references to CUI commit in process and app files to align with new naming conventions.
2025-05-18 16:47:32 +08:00
Max
f55fc7b374 ⚠️ BREAKING: Rename XGen to CUI and update license terms
1. Major Changes:
   - Migrate all XGen references to CUI
   - Update project naming conventions across codebase

2. License Updates:
   - Revise open source license terms
   - Update copyright and usage conditions

This is a breaking change that requires updates in dependent projects.
2025-05-18 12:16:45 +08:00
Max
645861d7a1 feat: Add Developer information to AppInfo structure and update processXgen
- Introduce Developer struct to encapsulate developer details such as ID, Name, Info, Email, and Homepage.
- Update processXgen to include developer information in the generated settings map, enhancing app metadata.
2025-04-09 23:05:45 +08:00
Max
54e946c61d Add support for field selection in assistant filtering
- Implemented `select` parameter parsing in `parseAssistantFilter`
- Added support for selecting fields via string, string array, or interface array
- Enhanced `neo/process.go` to handle flexible field selection
- Improved error handling in stream chat processing
- Fixed function message handling in message appending
2025-01-31 11:02:31 +08:00
Max
2c5b323d7d Add option to disable Gzip compression for static files and update headers 2024-11-30 18:23:21 +08:00
Max
dc162bb206 feat: app afterMigrate hook support 2024-09-29 08:53:27 +08:00
Max
fc1f80e0f5 feat: Add sourceRoots to Static struct in types.go 2024-08-01 18:16:59 +08:00
Max
0703743e72 Add AfterLoad process execution in Load and Reload functions 2024-05-02 19:49:43 +08:00
Max
01d4b49c33 [add] server rewrite support and fix api reload 2023-11-22 18:10:17 +08:00
Max
c19d4b0534 [add] moapi process and api 2023-11-10 01:37:09 +08:00
Max
68ebf1e6cc [add] multiple single page applications support 2023-09-06 22:13:45 +08:00
Max
6cb73059b9 v0.10.4 2023-06-12 20:42:20 +08:00
Max
082bcf57ff [add] pack & start command support license 2023-04-23 10:57:28 +08:00
Max
49430cf5b3 [add] load application from the package file 2023-04-20 19:39:52 +08:00
Max
d8d14f1994 [add] public dir PWA support 2023-04-11 21:24:16 +08:00
Max
8761a26d52 [change] refactor the app engine load func 2023-03-26 15:59:05 +08:00
Max
5de550781c [add] migrate widgets.table 2023-03-25 13:37:35 +08:00
Max
8b5563f697 [add] migrate runtime 2023-02-03 10:58:39 +08:00
Max
a807899f95 [*] migrate to gou v0.10.3 (50%) 2023-02-01 17:25:11 +08:00
Max
9a54e15ae9 [optimize] close the DB connections when reloading 2023-01-16 15:15:44 +08:00
Max
d3349edf09 [optimize] yao start command 2023-01-14 18:02:12 +08:00
Max
e68920176c [_] bump version to v0.10.3 2022-11-21 13:43:36 +08:00
Max
d041b2a760 [add] setup validate db & hosting 2022-10-28 19:23:26 +08:00
Max
f5fbef9e39 [add] widgets config 2022-10-20 05:00:20 +08:00
Max
a57b312560 [add] XGen v1.0 packing 2022-09-27 23:54:06 +08:00
Max
4830c55441 [add] app & login widget 2022-09-21 00:03:09 +08:00
Max
1eea668d02 [change] version -> 0.10.2 2022-09-13 11:45:24 +08:00
Max
11da4cea39 [add] v0.10.1 release prepare 2022-08-22 16:13:56 +08:00
Max
2349d17d99 [add] language pack support for model 2022-08-19 21:33:48 +08:00
Max
f2b392e8b2 v0.10.0 2022-06-16 23:42:26 +08:00
Max
33ae449cd9 [add] YAO CMD PRVERSION Support 2022-06-09 18:18:40 +08:00
Max
94a2a6d3c4 [add] Buntdb for session store 2022-05-27 14:18:59 +08:00
Max
074b2f4269 fix session redis store bug 2022-05-26 11:19:53 +08:00
Max
6e9bc9b7be [add] redis session store 2022-05-25 23:38:53 +08:00
Max
af639688df [add] xiang.table.Export process 2022-04-14 15:54:04 +08:00
Max
89b8fbfdcc fix misspelling 2022-04-10 18:11:52 +08:00
Max
77d49483fb fix session init log bug 2022-04-10 17:34:35 +08:00
Max
c775df16f4 Fix FreePort DNS deps & Session bug 2022-04-10 17:29:37 +08:00
Max
8566db96b0 [add] Socket client mode support & fix watch bug 2022-03-01 16:39:36 +08:00
Max
06808b33b2 v0.9.2 2022-02-25 22:16:17 +08:00
Max
5ce9df8495 buid-in dashboard security update 2022-02-17 17:05:25 +08:00
Max
3f7deb9a25 + Watch 2022-02-14 23:34:56 +08:00
Max
9b604ec846 v0.9.1 2022-02-13 19:14:12 +08:00
Max
9dea6c8885 v0.9.1 2022-02-13 18:51:59 +08:00
Max
5fea5fe71b 拆分 Release workflow & 增加 Docker Images 2022-02-13 17:28:55 +08:00
Max
5a76a2b110 COS debug 2022-02-13 10:52:42 +08:00
Max
a1dc64726c pip3 test 2022-02-13 10:31:39 +08:00
Max
89b60f3884 env 2022-02-13 10:21:31 +08:00