Commit graph

19 commits

Author SHA1 Message Date
Max
5d3c03db1f Update OAuth store management and enhance cache configurations
- Added support for a new OAuth data store in the system store management, allowing for better organization and retrieval of OAuth-related data.
- Updated the OAuth cache store configuration to increase the cache size from 4096 to 8192, improving performance and storage capacity.
- Enhanced test utilities to include the new OAuth store, ensuring comprehensive testing coverage for the updated store management features.
2025-07-20 11:47:57 +08:00
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
fb20eb54c5 Add user model integration and enhance OAuth user provider
- Introduced a new user model `yao/models/user.mod.yao` to support user management functionalities.
- Updated the OAuth service to utilize the new `DefaultUser` provider, enhancing user authentication and management capabilities.
- Refactored user retrieval methods to align with the new user model structure, ensuring compatibility and improved functionality.
- Added token management methods to the user provider interface, streamlining token handling processes.
- Enhanced test utilities to include the new user model for comprehensive testing coverage.
2025-07-18 11:31:39 +08:00
Max
57d61c1ba3 Set default prefix in Prepare function for test environment
- Added logic to set a default prefix of "yao_" for the application if none is provided, ensuring consistent naming conventions in the test setup.
2025-07-16 17:05:05 +08:00
Max
d5dd0f56c7 Add system model loading functionality for testing
- Introduced a new function `loadSystemModels` to load predefined system models for testing purposes, enhancing the test environment setup.
- Implemented error handling for model loading and migration, ensuring robust integration of system models.
- Updated the `Prepare` function to call `loadSystemModels`, streamlining the test preparation process.
2025-07-16 16:43:45 +08:00
Max
af65a2d5fa Refactor assistant management and enhance API response structure
- Updated the assistant management functions to utilize a unified response structure, replacing the previous 'Items' field with 'Data' for consistency across the API.
- Refactored the handling of assistant mentions and details to streamline data processing, improving code readability and maintainability.
- Enhanced the AssistantResponse type to include pagination fields directly, facilitating better management of assistant data retrieval.
- Implemented new methods for adding, saving, deleting, and searching assistants, ensuring robust functionality across different storage backends.
- Updated tests to reflect changes in the assistant management logic and response structure, ensuring comprehensive coverage and reliability.
2024-12-29 12:57:17 +08:00
Max
eaf17e2b27 [add] sui page fetch data 2023-11-20 13:20:02 +08:00
Max
198fd88449 [add] SUI & Page Builder API (10%) 2023-09-24 17:27:03 +08:00
Max
e394e75ffa fixt tests 2023-09-21 17:23:05 +08:00
Max
894c574db4 [add] aigc widget done 2023-04-27 22:31:51 +08:00
Max
0c438d088a [add] load application from bin data 2023-04-24 11:58:10 +08:00
Max
082bcf57ff [add] pack & start command support license 2023-04-23 10:57:28 +08:00
Max
8761a26d52 [change] refactor the app engine load func 2023-03-26 15:59:05 +08:00
Max
d43da2ff5c [remove] unused code 2023-03-25 22:11:19 +08:00
Max
f1f58cc99f [add] migrate widgets.table api 2023-03-25 17:46:57 +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
4139a751a9 [add] migrate flow 2023-02-02 11:07:50 +08:00
Max
d014be2e3c [add] migrate api 2023-02-01 18:18:54 +08:00