Commit Graph

145 Commits

Author SHA1 Message Date
CaptainB aa901c7fc7 fix: update file URL paths to use relative references 2025-07-02 22:45:11 +08:00
zhangzhanwei f01bf625ef feat: System common user permission to knowledge application tool model by resource authorization 2025-07-02 19:07:42 +08:00
CaptainB b011cd7d26 feat: add tool creation with automatic permissions and cache refresh
--bug=1057901 --user=刘瑞斌 【资源授权】社区版从工具商店添加工具失败 https://www.tapd.cn/62980211/s/1722159
2025-07-02 18:15:45 +08:00
CaptainB aff1ab7d1b refactor: add create_user field to tool serialization and update related logic
--bug=1057413 --user=刘瑞斌 【工具】搜索项选择创建者,创建者列表为空 https://www.tapd.cn/62980211/s/1721870
2025-07-02 15:58:48 +08:00
CaptainB 9541b27d76 refactor: enhance deletion process by removing associated permissions for knowledge, model, and tool 2025-07-02 10:06:05 +08:00
CaptainB f9a8b9c270 refactor: update dynamic URL handling in tool serialization 2025-07-01 18:00:47 +08:00
CaptainB d5bfe98c23 refactor: update tool icon paths for consistency 2025-07-01 17:14:46 +08:00
CaptainB e724ffbebd refactor: simplify query set handling in tool.py and list_tool_user.sql 2025-07-01 11:57:42 +08:00
CaptainB cc692ffbe1 feat: update permission constants to include ResourcePermission
--bug=1057659 --user=刘瑞斌 【共享资源】企业版-创建共享工具失败 https://www.tapd.cn/62980211/s/1720006
2025-06-30 10:53:58 +08:00
CaptainB 0c2a17ed56 feat: update get_query_set method to accept workspace_manage and is_x_pack_ee parameters 2025-06-26 19:43:45 +08:00
CaptainB 8fc074fecb feat: enhance tool query logic and add user-specific SQL files for improved access control 2025-06-26 19:06:58 +08:00
CaptainB 8b960b96a1 feat: implement automatic authorization and cache refresh for new tool creation 2025-06-26 19:06:58 +08:00
CaptainB 8f62257fee chore: improve URL formatting and readability in urls.py 2025-06-25 14:51:47 +08:00
CaptainB 2570114edf feat: add icon attribute to internal tool data structure 2025-06-25 12:41:18 +08:00
CaptainB 83e9a8ce98 feat: add folder_id support in knowledge and tool modules 2025-06-25 12:17:06 +08:00
CaptainB b496a2b2c5 feat: update migration files and add new models for application settings and chat functionality 2025-06-23 10:25:45 +08:00
CaptainB 23b47f24e7 fix: add folder_id to ToolSerializer initialization 2025-06-21 15:06:13 +08:00
CaptainB 717c204d22 fix: update template_id assignment in tool creation logic 2025-06-20 17:16:44 +08:00
CaptainB c8a5048c7c feat: add user role permissions to workspace operations 2025-06-20 15:17:36 +08:00
CaptainB 01a25efe1c feat: standardize label field values in tool SQL insert statements 2025-06-20 13:24:29 +08:00
CaptainB 9a89565931 feat: update community file with new hash value 2025-06-20 12:46:46 +08:00
CaptainB f646a5caad fix: update icon paths for various tools in internal_tool.sql 2025-06-20 12:24:23 +08:00
CaptainB 63abffec3c feat: add label field to tool serializer and SQL queries 2025-06-20 11:57:55 +08:00
CaptainB e13bd094fa feat: add label field to tool model and update SQL insert statements 2025-06-20 11:52:51 +08:00
CaptainB 7aa73e7110 fix: make folder_id parameter optional in document.py 2025-06-19 19:45:26 +08:00
CaptainB 80b3be46fd fix: add template_id to tool and tool_folder queries in list_tool.sql 2025-06-19 19:39:16 +08:00
CaptainB 35b30c2009 fix: add template_id to tool and tool_folder queries in list_tool.sql 2025-06-19 19:22:31 +08:00
CaptainB c9bdb9ca8a fix: add scope column to tool and folder queries in list_tool.sql 2025-06-19 19:15:46 +08:00
CaptainB 4e87048053 fix: add tool_type field to Tool serializer in tool.py 2025-06-19 19:08:38 +08:00
CaptainB a6b8cc4a31 fix: add scope parameter to tool serializer in tool.py 2025-06-19 18:38:12 +08:00
CaptainB 317db5ae18 fix: add scope parameter to tool serializer in tool.py 2025-06-19 18:33:43 +08:00
CaptainB 7dc3cb98ef refactor: comment out RunSQL migration for internal_tool.sql in initial migration
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-18 20:53:40 +08:00
CaptainB c1ca6eafe6 refactor: enhance workspace authorization handling in shared knowledge, model, and tool 2025-06-18 17:54:00 +08:00
CaptainB 9068c1fca0 refactor: simplify serializer field definitions in tool.py 2025-06-18 16:43:08 +08:00
CaptainB 45508b08a3 fix: update file extension from .fx to .tool in export functionality 2025-06-18 15:28:07 +08:00
CaptainB f4e15d76a0 feat: add is_active field to tool and tool_folder queries 2025-06-18 15:22:05 +08:00
CaptainB 707094359b feat: add icon field to tool and tool_folder queries 2025-06-18 15:13:22 +08:00
CaptainB c056cd85ac fix: allow null values for tool edit request fields 2025-06-18 15:09:16 +08:00
CaptainB 9ab90a7b21 fix: update ToolCreateRequest to ToolEditRequest for validation in edit method 2025-06-17 15:00:41 +08:00
CaptainB 93daee5bc7 fix: remove required label from workspace_id in Pylint serializer 2025-06-17 14:07:56 +08:00
wxg0103 f773792424 refactor: log add workspace_id 2025-06-16 16:31:28 +08:00
CaptainB b8f80931d2 fix: update default folder reference from 'root' to 'default' in multiple models 2025-06-16 12:59:51 +08:00
CaptainB cbcad3cc83 fix: update default folder reference from 'root' to 'default' in multiple models
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-16 11:42:28 +08:00
CaptainB 7aa0b10f93 fix: update Dockerfile to use 'build-only' command for UI build process 2025-06-16 11:33:20 +08:00
CaptainB 3f5180d54d fix: remove default value for folder_id and use workspace_id instead 2025-06-12 11:52:46 +08:00
CaptainB ba0dcf6b1b feat: enhance permission checks by incorporating role constants for workspace management 2025-06-11 17:00:14 +08:00
CaptainB c758059fe4 feat: add migration to insert default data for ToolFolder and KnowledgeFolder 2025-06-11 15:07:38 +08:00
CaptainB 840fa68b98 fix: rename parameter in put method for clarity 2025-06-11 10:35:13 +08:00
wxg0103 e6e3acdfea refactor: log add workspace_id
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-10 14:50:25 +08:00
wxg0103 5f10b70e24 refactor: tools add default workspace_id 2025-06-09 15:26:21 +08:00
wxg0103 93833849c1 refactor: file to oss
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-06 11:42:31 +08:00
CaptainB 8f98b7188d feat: add INTERNAL scope to tools and update related SQL queries 2025-06-05 20:22:39 +08:00
CaptainB a4b6570110 feat: rename tool_type to scope and update related query parameters for tool filtering 2025-06-05 16:27:54 +08:00
zhangzhanwei e63572b89b feat: System operate log 2025-06-05 14:12:14 +08:00
CaptainB 5cb7fc8d9a feat: refactor shared tool API to utilize ToolSerializer for create, update, and import operations 2025-06-05 11:12:17 +08:00
CaptainB 6cb3ae74d9 feat: update permission checks to use workspace knowledge permissions for document and knowledge operations 2025-06-05 10:12:59 +08:00
CaptainB 40137f147b feat: enhance init_params handling with encryption and decryption for tools and shared tools 2025-06-04 19:15:33 +08:00
CaptainB 64e26dd2cc feat: change icon edit method from POST to PUT for tools and shared tools 2025-06-04 19:05:19 +08:00
CaptainB fd2b1245b8 feat: add debug and edit icon functionalities for tools and shared tools 2025-06-04 18:52:24 +08:00
CaptainB c775f2a57f feat: add edit icon functionality for tools and shared tools 2025-06-04 18:48:20 +08:00
CaptainB d686bc3625 feat: refactor pylint handling and update endpoint for workspace tool 2025-06-04 11:09:58 +08:00
CaptainB e525f77fa0 feat: refactor pylint handling and update endpoint for workspace tool 2025-06-04 11:08:05 +08:00
CaptainB aa593f3790 feat: refactor user_id handling and enhance tool query logic 2025-06-03 16:31:07 +08:00
wxg0103 30a60c9ab8 refactor: sql 2025-05-27 14:44:57 +08:00
CaptainB e24f211674 feat: add optional user_id parameter to tool queries and serializers 2025-05-15 11:04:54 +08:00
CaptainB 74fac81c7b feat: enhance knowledge pagination to include child folders in response 2025-05-15 10:49:47 +08:00
CaptainB 7780d89c55 feat: add pagination method for tools with folder data in tool.py 2025-05-15 10:40:29 +08:00
CaptainB b13799d584 feat: add Pylint API for code checking and integrate with tool operations 2025-05-14 14:35:13 +08:00
CaptainB 25da46d13f fix: make desc field optional in KnowledgeFolder and ToolFolder models 2025-05-14 11:31:54 +08:00
CaptainB a5fb2e15c6 feat: add initial SQL migration for tool data and integrate file content retrieval 2025-05-12 11:22:12 +08:00
CaptainB 94c5c4197c fix: add type ignore comments for operation_id and tags in various API schemas 2025-05-09 11:29:05 +08:00
CaptainB 3010fa835f feat: implement File API for file upload and retrieval with new endpoints 2025-05-08 10:42:00 +08:00
CaptainB 1448927f4e feat: add ToolFolderFlatSerializer for flat folder serialization in Tool API 2025-05-07 10:29:23 +08:00
CaptainB 4cb513dd3f feat: enhance Tool API to return folder and tool structure for a given folder ID 2025-05-07 10:05:53 +08:00
CaptainB 0e66b8a186 feat: add summary fields to extend_schema for folder and document APIs 2025-05-06 13:55:14 +08:00
CaptainB 770089e432 feat: add initial implementation of document and paragraph models with serializers 2025-04-29 10:04:34 +08:00
CaptainB ee37d7c320 feat: implement web knowledge synchronization with ForkManage and related handlers 2025-04-28 11:27:59 +08:00
CaptainB 724686762e feat: add knowledge management API and permissions 2025-04-25 18:18:47 +08:00
CaptainB 3205ff2a65 feat: add knowledge management
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-04-25 14:58:22 +08:00
CaptainB f08b551a72 chore: fix typo. 2025-04-25 13:32:26 +08:00
CaptainB 4c38e8a82b feat: add dynamic SQL execution and pagination functionality with custom query compiler 2025-04-24 11:37:11 +08:00
CaptainB 91f16aa394 feat: add ToolEditRequest serializer for editing tool properties
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-23 11:34:19 +08:00
CaptainB a9d962c1f1 feat: implement RestrictedUnpickler for secure deserialization and enhance import functionality 2025-04-23 10:33:26 +08:00
CaptainB 11331a60e0 feat: enhance Tool API by adding module_id and tool_type parameters, and refactor query handling
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-22 17:53:47 +08:00
CaptainB bbd7079166 feat: add import and export endpoints to ToolView for workspace tools 2025-04-22 17:06:39 +08:00
CaptainB a8cda7d4a4 feat: consolidate module and tool views by removing redundant classes and updating API endpoints 2025-04-21 10:59:42 +08:00
CaptainB 16cafec6af fix: update module and tool URLs to avoid duplicate paths for ModuleTreeView and ToolTreeView
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-04-18 21:16:31 +08:00
CaptainB 2c0cb5b6e6 feat: update module and tool delete APIs to use DefaultResultSerializer for responses 2025-04-18 19:11:26 +08:00
CaptainB 7c15082e53 feat: update API documentation to specify retrieval of tool by module 2025-04-18 19:05:53 +08:00
CaptainB 83b494f700 feat: add DefaultResultSerializer to module and tool delete operations responses 2025-04-18 18:58:49 +08:00
CaptainB fe032822f4 feat: add ToolTreeView and ToolTreeReadAPI for retrieving tools by workspace and module 2025-04-18 17:54:06 +08:00
CaptainB 9b0f9b04b7 refactor: remove tool_type field and update imports in tool model
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-18 17:08:59 +08:00
CaptainB 0b8f5d7597 feat: implement CRUD operations for tools with API views 2025-04-18 16:42:46 +08:00
CaptainB d49fd74305 feat: add ToolModule model and API for managing tool modules with workspace support 2025-04-18 13:33:29 +08:00
CaptainB 4c23b9aded feat: implement Tool model and related API for Tool management 2025-04-17 14:11:57 +08:00