Commit Graph

139 Commits

Author SHA1 Message Date
zhangzhanwei e39aa24dca feat: Knowledge workflow back route permission 2025-12-02 14:56:18 +08:00
shaohuzhang1 bfae088df6
feat: knowledge workflow (#4399)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
* feat: init knowledge workflow

* feat: add knowledge workflow and version models, serializers, and API views

* feat: knowledge workflow

* feat: knowledge workflow

* feat: add KnowledgeWorkflowModelSerializer and Operate class for workflow management

* fix: route

* feat: knowledge workflow

* feat: Knowledge workflow permission

* feat: knowledge workflow

* feat: knowledge workflow

* feat: knowledge workflow

* feat: knowledge workflow

* feat: Data source web node

* fix: Back route

* feat: knowledge workflow

* feat: knowledge workflow

* feat: Knowledge write node

* feat: add Data Source tool functionality and localization

* feat: add Data Source tool functionality and localization

* feat: knowledge workflow

* feat: knowledge workflow

* fix: simplify export tool permission check in ToolListContainer.vue

* fix: simplify export condition in ToolResourceIndex.vue

* fix: simplify condition for copying tool in ToolListContainer

* feat: knowledge workflow

* fix: Upload local files and add output fields

* feat: Knowledge write

* feat: add Document Split Node functionality and localization

* feat: add Document Split Node functionality and localization

* feat: Knowledge write

* feat: enhance Document Split Node with result processing and problem list generation

* fix: Allow problem be blank

* feat: enhance Document Split Node with result processing and problem list generation

* feat: tool datasource

* fix: Optimization of knowledge base workflow execution logic

* refactor: streamline image handling by updating application and knowledge ID management

* refactor: streamline image handling by updating application and knowledge ID management

* feat: extend support modes in variable aggregation node to include knowledge workflows

* feat: Chunks stored

* refactor: simplify file handling in document extraction by removing unnecessary byte conversion and enhancing file saving logic

* refactor: update file ID assignment in document extraction to use provided metadata

* feat: Workflow menu that distinguishes between applications and knowledge bases

* refactor: update file ID assignment in document extraction to use provided metadata

* fix: Add workspace ID as workflow execution parameter

* feat: add code template for Data Source tool form functionality

* refactor: remove unused sys import and improve module handling

* feat: Execution details support loading status

* refactor: update tool type handling and improve category merging logic

* feat: Alter fork depth

* fix: ensure filterList is properly initialized and updated in getList function

* refactor: simplify ToolStoreDialog by removing unused toolType logic

* perf: Optimize the style

* style: adjust div width for improved layout in Tree component

* refactor: improve polling mechanism for knowledge workflow action

* fix: Get workspace_id from workflow params

* fix: filter out 'file_bytes' from result in get_details method

* feat: add recursive filtering for file_bytes in context data

* fix: append results to paragraph_list instead of replacing it

* perf: Optimize translation files

* fix: include document name in bytes_to_uploaded_file call for better file handling

* refactor: optimize buffer retrieval in document processing

* refactor: remove redundant parameter from bytes_to_uploaded_file call

* fix: Page style optimization

* feat: add slider for setting limit in document rules form

* feat: add workflow knowledge management endpoints and related functionality

* fix: swap file size and file count limits in form inputs

* refactor: update tool_config args to use list format for improved readability

* feat: Node supports knowledge base workflow

* feat: Node supports knowledge base workflow

* fix: Basic node data cannot be obtained in the workflow

* style: Knowledge base workflow debugging page style adjustment

* fix: Loop nodes cannot be used in the knowledge base workflow

* fix: Knowledge base workflow variable assignment node

* feat: add chunk size slider to form for custom split strategy

* fix: Workflow style optimization

---------

Co-authored-by: CaptainB <bin@fit2cloud.com>
Co-authored-by: zhangzhanwei <zhanwei.zhang@fit2cloud.com>
Co-authored-by: wangdan-fit2cloud <dan.wang@fit2cloud.com>
2025-11-28 15:38:20 +08:00
zhangzhanwei f3350980c7 perf: Memory optimization
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-14 18:42:53 +08:00
wangxuhui 57195f277a
fix(permission): 修复权限常量解析操作符索引错误 (#4275)
- 修正了权限字符串解析时操作符索引,从原来的第三部分改为第二部分
- 确保权限实例创建时操作符获取正确
- 改善权限常量解析的准确性和稳定性

Co-authored-by: 王旭辉 <2569429256@qq.com>
2025-10-28 18:31:31 +08:00
zhangzhanwei 4648f08f98 feat: About permission
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-10-22 14:13:49 +08:00
zhangzhanwei 4487964d17 feat: Replace source file permission 2025-10-22 11:25:11 +08:00
zhangzhanwei c0ae78411e feat: Tag permission interface 2025-10-22 10:18:41 +08:00
CaptainB c47c70afb0 feat: implement knowledge tag management functionality 2025-10-15 11:35:34 +08:00
zhangzhanwei 89749a3006 feat: Folder authorization backend 2025-10-14 16:33:13 +08:00
wxg0103 01ba883946 feat: add permission for clearing operation log policy 2025-10-11 15:08:51 +08:00
zhangzhanwei 53082657d7 feat: Remove debug 2025-09-22 10:37:51 +08:00
zhangzhanwei 6a0145758c feat: Remove debug permission 2025-09-19 16:54:24 +08:00
zhangzhanwei 76766ebc23 fix: Information regarding role permissions management has not been internationalised.
--bug=1061417 --user=张展玮 【国际化BUG】2.10版本,角色权限管理的信息没有国际化 https://www.tapd.cn/62980211/s/1768834
2025-09-08 10:30:59 +08:00
wxg0103 d9ad9aabf2 chore: update file hashes for community and fix formatting in permission_constants.py 2025-09-01 17:35:08 +08:00
zhangzhanwei d69a753491 feat: Permission constants 2025-08-26 18:35:13 +08:00
zhangzhanwei e28c858351 fix: Application menu displays conversation users and conversation logs
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
--bug=1060818 --user=张展玮 【应用】应用只授权用户查看权限,详情页,没有展示对话用户、对话日志菜单 https://www.tapd.cn/62980211/s/1760973
2025-08-25 18:30:05 +08:00
zhangzhanwei 2714a941f9 feat: Resource authorization permission 2025-08-18 14:24:31 +08:00
zhangzhanwei d2978906a6 feat: Shared knowledge problem related permission constant
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-08-05 11:56:04 +08:00
shaohuzhang1 83a1ffb891
feat: Support session variables (#3792)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-08-01 17:11:36 +08:00
zhangzhanwei aee0b251dc fix: Permission constants 2025-07-31 16:07:33 +08:00
zhangzhanwei 6adc051cad fix: Resource tool permission constants 2025-07-29 15:07:41 +08:00
zhangzhanwei c2b626774c fix: Permission label 2025-07-29 11:01:57 +08:00
zhangzhanwei 9cc051ded4 feat: Knowledge permission constants 2025-07-29 10:28:29 +08:00
zhangzhanwei cac05c747b feat: Permission constants
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-28 18:26:41 +08:00
zhangzhanwei f4ef5f227c fix: Resource model permission 2025-07-28 16:12:55 +08:00
zhangzhanwei 7942b12afa feat: Permission constants 2025-07-28 15:56:58 +08:00
CaptainB 41cb4fedb1 feat: add application access token and API key management endpoints 2025-07-28 11:58:47 +08:00
wxg0103 60c7f78a90 refactor: update resource permission constants for improved clarity
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-28 10:29:29 +08:00
wxg0103 97061073c1 fix: reorder OTHER permission constant in permission_constants.py 2025-07-16 14:03:03 +08:00
wxg0103 5c1f105cab feat: update resource management permissions and localization strings 2025-07-15 18:22:42 +08:00
wxg0103 89dcac64e6 feat: add is_show parameter to Permission class to control frontend visibility 2025-07-15 18:05:38 +08:00
wxg0103 1ebfc5882d refactor: reorganize permission constants for document operations 2025-07-14 16:34:26 +08:00
wxg0103 ea199e23f1 refactor: reorganize permission constants for MODEL and TOOL to remove duplicates 2025-07-14 16:29:38 +08:00
wxg0103 b53034727f fix: update permission operate type from READ to DOWNLOAD for document access 2025-07-14 16:17:29 +08:00
wxg0103 02afb6a0bc refactor: update API KEY translations and improve formatting in permission constants 2025-07-11 17:24:38 +08:00
wxg0103 9d1549fc76 feat: add application resource API with pagination and filtering 2025-07-03 18:26:31 +08:00
zhangzhanwei 97269d5445 fix: System common user permission by role 2025-07-03 18:21:57 +08:00
shaohuzhang1 e8418f6f5c
fix: role user permission (#3452) 2025-07-02 14:26:57 +08:00
zhangzhanwei 8b40762218 fix: Application permission 2025-07-02 14:19:11 +08:00
zhanweizhang7 b71a854d7c
feat: Shared knowledge access permission (#3450) 2025-07-02 11:35:14 +08:00
zhangzhanwei a4143eed23 feat: hit test permission 2025-07-01 18:12:31 +08:00
zhangzhanwei 60a0c6039e feat: Knowledge chat user permission 2025-06-30 18:23:44 +08:00
wxg0103 e6f9238005 refactor: i18n 2025-06-30 16:39:33 +08:00
shaohuzhang1 91e2dd7ea6
feat: add extends role (#3428) 2025-06-30 11:50:59 +08:00
shaohuzhang1 8e29562e30
feat: Knowledge chat user permission (#3426) 2025-06-30 11:08:30 +08:00
shaohuzhang1 f5ee7b5c25
feat: user resource permission (#3424) 2025-06-30 10:47:28 +08:00
shaohuzhang1 d4d7bdde41
feat: user resource permission ui (#3423)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-27 22:38:00 +08:00
shaohuzhang1 c5bdada6dc
feat: user resource permission (#3422) 2025-06-27 22:22:52 +08:00
zhangzhanwei 62cb3704cf feat: System setting permission 2025-06-27 15:11:57 +08:00
wxg0103 644247b1cb refactor: permission 2025-06-27 15:03:43 +08:00