Commit graph

28 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
bd95ac0604 Enhance DSL data handling and model structure
- Introduced a new fmtRow function to format row data for DSL info, improving data consistency and readability.
- Updated the Inspect and List methods to utilize the fmtRow function for better data representation.
- Added new fields for 'readonly' and 'built_in' in the DSL model, allowing for more detailed metadata management.
- Enhanced the Create and Update methods to handle the new fields, ensuring proper data storage and retrieval.
- Updated the ListOptions struct to include a Pattern field for file name matching, improving search capabilities.
2025-07-15 18:28:01 +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
0b5d7fcc41 Remove unused indexes from multiple model files and delete the mcp model file to streamline the database schema. 2025-07-14 11:26:58 +08:00
Max
a13fe36aa6 Update dependencies in go.mod and go.sum to latest versions for improved stability and performance 2025-07-13 09:15:54 +08:00
Max
f0a4a8d4ea Remove deprecated storage and import API definitions 2024-11-06 09:16:30 +08:00
Max
c88002ae3e Update field values in model.trans.json 2024-03-14 12:43:48 +08:00
Max
ae4880c6dc [_] 2023-05-13 19:20:58 +08:00
Max
9a2b859457 [update] table & from & langs 2023-05-13 18:39:03 +08:00
Max
0c438d088a [add] load application from bin data 2023-04-24 11:58:10 +08:00
Max
ddda7924c9 [add] import & storage api ( WILL BE DEPRECATED ) 2023-04-02 17:39:54 +08:00
Max
0ff7fccc55 [change] bindata: update generated bindata 2023-04-02 16:06:02 +08:00
Max
f2f43e7f96 [remove] workfow table 2022-11-17 12:50:41 +08:00
Max
fd78073dbc [add] table & form bind password & json filed 2022-11-10 23:13:59 +08:00
Max
409b449f85 [change] optimize table widget default values 2022-10-22 13:08:52 +08:00
Max
cd7a776a5e [fix] table widget bug 2022-10-18 19:48:51 +08:00
Max
92cc28df20 [add] widget table i18n support 2022-10-07 20:11:53 +08:00
Max
5d32073ffc [add] widget table bind model support 2022-10-06 19:58:23 +08:00
Max
886513f9ff [fix] GetURL ( refactoring later ) 2022-06-21 23:45:47 +08:00
Max
4bb2d342cd [security] update build-in storage API guard 2022-06-15 18:52:03 +08:00
Max
486fd702c0 fix table find API bug 2022-04-13 20:26:07 +08:00
Max
47c52fba32 [add] [add] table API custom guard 2022-03-31 22:11:40 +08:00
Max
b816b03eca + buid-in dashboard update 2022-02-17 17:19:13 +08:00
Max
5ce9df8495 buid-in dashboard security update 2022-02-17 17:05:25 +08:00
Max
e1e36bcaae + simple user & menu admin 2022-02-14 21:43:35 +08:00
Max
8daba92c6b build-in app xiang -> yao 2022-02-14 20:20:16 +08:00