Commit graph

177 commits

Author SHA1 Message Date
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
fabced291c fix: Enhance loading functions to handle non-existent directories
- Added checks in various loading functions to ignore processing if the respective directories do not exist, improving error handling and preventing unnecessary operations.
- Updated the Load function signature to return warnings alongside errors, allowing for better feedback on loading issues across different components.
2025-05-13 09:10:10 +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
547b880ca5 fix: Correct processRead output format and enhance unit tests
- Adjust processRead function to ensure it returns the correct string representation of table data.
- Refine unit test for TestProcessRead to validate substring presence in the output, confirming the function's accuracy.
2025-03-31 09:54:07 +08:00
Max
13f89e8395 fix: Update processRead to return string representation of table data
- Modify processRead function to return the string output of the table read operation instead of a map.
- Update unit test for TestProcessRead to check for substring presence in the result, ensuring correct functionality.
2025-03-31 09:02:03 +08:00
Max
eba6ba49c0 feat: Add table listing and DSL retrieval processes
- Implement processList to return all loaded tables and processDSL to retrieve the DSL of a specified table.
- Add unit tests for the new processes to ensure correct functionality and data integrity.
- Update process registration in exportProcess to include the new operations.
2025-03-31 08:52:25 +08:00
Max
38b910108b Add connector support for AI assistants in processXgen
- Import connector package to access AIConnectors
- Update processXgen function to include 'connectors' field in agent map
- Add 'placeholder' field to the assistant data structure for enhanced context
2025-03-16 11:49:22 +08:00
Max
8f57c38b26 Refactor assistant type assertion in Xgen processing
- Improve type safety when accessing Neo's assistant
- Use type assertion with ok check to handle potential nil or incorrect type
- Simplify assistant context retrieval in Xgen settings
2025-02-09 18:26:51 +08:00
Max
ccb1c54927 Add default assistant details to Xgen settings
- Include default assistant information in Xgen settings
- Retrieve assistant details from Neo when available
- Add agent configuration with assistant ID, name, avatar, and deleteable status
- Enhance Xgen settings to support assistant metadata
2025-02-09 17:58:23 +08:00
Max
a420e71118 Translate error messages in login process to English for improved clarity 2024-12-03 16:55:33 +08:00
Max
7efce91092 Add nil checks for Action and Bind in translate function to prevent potential nil pointer dereferences 2024-11-08 07:22:15 +08:00
Max
35f16e107d Add color field support to QueryProp and Option structures 2024-11-04 16:57:55 +08:00
Max
b9aaff7afb Optimize the details of yao.component.getoptions 2024-11-03 11:59:45 +08:00
Max
a258dfa787 Refactor component property handling and add deep copy functionality 2024-11-03 07:53:25 +08:00
Max
bb717a938a Add yao.component.GetOptions and deprecated SelectOptions 2024-11-02 22:02:43 +08:00
Max
a4bb4407d7 Update test assertion for related image API endpoint in process tests 2024-11-02 17:50:16 +08:00
Max
67de1c07cb Securely update hidden props in the DSL that are only visible to the backend 2024-11-02 17:38:37 +08:00
Max
c4e96366bf Use url.QueryUnescape for xpath and method in process components 2024-11-01 12:47:03 +08:00
Max
00b0649296 Fix the Download Process tests 2024-10-30 17:10:56 +08:00
Max
18b212985d Fix memory leaks and optimize the download process. 2024-10-30 16:48:59 +08:00
Max
661c3e6a9f Optimize upload component 2024-10-26 20:26:21 +08:00
Max
c7b83a161c Add default value for Upload API if not provided in props 2024-10-24 20:36:51 +08:00
Max
31a52d03e3 Refactor API to include app parameter in download endpoint 2024-10-23 17:44:35 +08:00
yflau
1ac37b048f return 401 for invalid token 2024-08-04 12:54:05 +08:00
Max
1a1ffabbd8 feat: Add hideLabel option to component and column DSL
Add the hideLabel option to the component and column DSLs. This allows hiding the label for the respective widgets. The hideLabel option is set to true in the component and column DSLs when necessary.
2024-05-23 06:48:12 +08:00
Max
f38a2e4eb4 chore: Set full configuration by default for list widget
Set the full configuration by default for the list widget. This is a temporary solution and will be removed in the future. The full configuration should be set when the list is created.
2024-05-21 20:45:32 +08:00
Max
5a719b6469 [add] Form widget processes: load, reload, unload, read and exists. 2024-05-03 17:27:36 +08:00
Max
f422dd29c6 [add] Table widget processes: load, reload, unload, read and exists. 2024-05-03 13:08:10 +08:00
Max
e72463175f Add icon support to Section and TabsItem components 2024-04-09 11:52:19 +08:00
Max
edad2e76f3 Refactor bind logic in DSL 2024-04-02 12:29:27 +08:00
Max
dff977590b Fix formMap initialization in FieldsDSL 2024-03-23 17:49:05 +08:00
Max
044338f971 Add version to xgenSetting 2024-03-11 12:45:12 +08:00
Max
ef08ff00e7 Add height and width properties to FrameDSL 2024-03-09 20:01:52 +08:00
Max
6208863f31 [add] The WangEditor component 2024-03-08 14:16:51 +08:00
Max
aff27840ae Add FrameDSL to ViewLayoutDSL 2024-02-06 14:42:42 +08:00
Max
25d83cb5cc Update query parameter in FieldsDSL and DSL 2024-02-03 21:29:59 +08:00
Max
5202f4cca3 Update list action and API to include additional parameters 2024-02-03 21:03:59 +08:00
Max
93f5eee811 Fix URL decoding in processUpload function 2024-01-19 17:48:11 +08:00
Max
2453479fe3 Add API endpoint for table component 2024-01-10 09:56:34 +08:00
Max
9791d04eec [fix] the default login process expired bug 2023-11-05 13:46:40 +08:00
Max
89fbbdf314 [add] sui page debug log 2023-10-28 16:41:52 +08:00
Max
e9844819e2 [fix] table & form layout.confg 2023-10-17 17:47:13 +08:00
Max
5a3d42a965 fix CROS bug 2023-09-21 11:32:03 +08:00
Max
dd05336443 [add] app setting token option 2023-07-27 16:05:16 +08:00
Max
760cdb50d7 Optimize yao.table.Export 2023-05-18 13:50:13 +08:00
Max
6d15f1abcb [fix] misspelling 2023-05-16 20:56:05 +08:00
Max
e722144329 [add] __neo.ExecCommand service 2023-05-16 20:45:25 +08:00
Max
e3a60a88c5 Improve error messages 2023-05-15 18:25:23 +08:00
Max
ff2e1b4727 [add] form & table loadFieSync & fix props bug 2023-05-13 20:38:27 +08:00
Max
ae4880c6dc [_] 2023-05-13 19:20:58 +08:00