Commit graph

18 commits

Author SHA1 Message Date
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
bdd7c0865e Refactor DSL list retrieval to support conditional data source selection
- Enhanced the List method in the DSL struct to conditionally retrieve data from either the database or file system based on the StoreType specified in ListOptions.
- Updated the Info struct to include a new Source field for optional source content retrieval.
- Modified the List methods in both DB and FS to include source information when requested, improving data accessibility and flexibility.
2025-07-15 16:58:41 +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
fb70a53705 [fix] plugins load 2023-04-02 16:53:24 +08:00
Max
4139a751a9 [add] migrate flow 2023-02-02 11:07:50 +08:00
Max
725162b0f5 [add] migrate model 2023-02-02 10:05:50 +08:00
Max
a807899f95 [*] migrate to gou v0.10.3 (50%) 2023-02-01 17:25:11 +08:00
Max
d489feb99b [fix] widget table bind model bug 2023-01-17 18:57:30 +08:00
Max
827e0f1884 [i18n] support 2022-10-16 22:23:32 +08:00
Max
2349d17d99 [add] language pack support for model 2022-08-19 21:33:48 +08:00
Max
34f4382c19 更新命名空间 2022-02-09 09:17:23 +08:00
Max
ea72f26d5e 调整环境变量 2022-02-09 00:49:57 +08:00
Max
42262ce799 + 共享库支持 2021-11-06 15:11:53 +08:00
Max
9d423245dd + page 2021-10-20 19:23:16 +08:00
Max
36bfeb8aad 优化载入逻辑: Step 4/5 2021-10-18 23:53:22 +08:00
Max
9cffe860d8 优化载入逻辑: Step 3/5 2021-10-18 23:42:28 +08:00
Max
e08df986d3 优化载入逻辑: Step 1/5 2021-10-18 23:15:00 +08:00
Max
1f6a9cf6db 优化目录结构 2021-10-18 22:01:25 +08:00