Commit Graph

1952 Commits

Author SHA1 Message Date
wxg0103
b3698b30ca feat: add authentication fields to ApplicationAccessToken and update related serializers 2025-07-14 18:02:32 +08:00
zhangzhanwei
0356dfed1f feat: Operation log 2025-07-14 17:41:18 +08:00
shaohuzhang1
fdc9f9eb0b
fix: The conversation user is not authorized to use (#3583) 2025-07-14 17:11:54 +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
shaohuzhang1
074375478d
fix: The conversation user is not authorized to use (#3581) 2025-07-14 16:13:53 +08:00
CaptainB
48959a1e77 feat: add optional folder_id to tool import functionality 2025-07-14 16:06:26 +08:00
CaptainB
77af823879 refactor: replace FileLock with utility functions for locking mechanism 2025-07-14 15:49:09 +08:00
wxg0103
65d2045751 refactor: enhance role_setting validation in user role assignment logic 2025-07-14 14:39:21 +08:00
shaohuzhang1
b299ef0c53
fix: Page optimization when the application is unavailable (#3580) 2025-07-14 14:09:31 +08:00
CaptainB
ea56fd6212 feat: add db_index to various fields for improved query performance 2025-07-14 11:54:19 +08:00
shaohuzhang1
07b19fe90e
fix: Chat ui prefix (#3579) 2025-07-14 11:07:53 +08:00
wxg0103
92fba08185 fix: handle potential None values for user in model serialization 2025-07-14 11:07:10 +08:00
wxg0103
bb4ad680fc feat: enhance password regex for improved security and clarity 2025-07-14 10:59:32 +08:00
zhangzhanwei
86da8918f5 fix: Locales 2025-07-14 10:53:49 +08:00
CaptainB
1ac7fc4669 refactor: Update user foreign key constraints and add new fields across multiple models 2025-07-14 10:52:08 +08:00
wxg0103
f0357e5944 feat: enhance user role management by passing user_id to relevant methods 2025-07-14 10:49:47 +08:00
zhangzhanwei
1a792dd2e7 feat: Locales 2025-07-12 21:03:30 +08:00
shaohuzhang1
34842e4ae4
feat: application chat api (#3574) 2025-07-12 17:54:37 +08:00
wangdan-fit2cloud
34e84602ff fix: embed height 2025-07-12 14:33:32 +08:00
wxg0103
3d36c3fa2d feat: add DocHeadersMiddleware to middleware list for document access handling 2025-07-12 11:44:05 +08:00
wxg0103
224fe26f28 feat: add DocHeadersMiddleware to handle document access and redirect unauthorized users 2025-07-12 11:41:50 +08:00
wxg0103
2d734d0aaa refactor: enhance chat record processing and update translations for user-related fields 2025-07-12 10:30:47 +08:00
wxg0103
1374ed4171 refactor: update chat record processing to include chat count updates 2025-07-12 09:50:57 +08:00
shaohuzhang1
1a2a02b808
fix: Importing an application that references tools from the tool store will create tools from the tool store in the new workspace (#3568) 2025-07-11 22:13:54 +08:00
shaohuzhang1
d8c35fffd7
fix: The limit on the number of conversations in the application is invalid (#3567) 2025-07-11 22:02:42 +08:00
shaohuzhang1
592ae54e82
fix: Application import (#3566) 2025-07-11 21:45:08 +08:00
wxg0103
d781797555 refactor: remove encryption from sensitive fields in auth_config_serializer and related modules 2025-07-11 19:47:32 +08:00
wxg0103
28e89ca6ec refactor: replace encryption function with new encrypt method for sensitive data handling 2025-07-11 19:43:53 +08:00
wxg0103
d7a3b7fd3f feat: enhance password reset functionality with email verification and validation 2025-07-11 18:47:27 +08:00
CaptainB
bf1062ff04 fix: improve error handling in valid_reference_value function 2025-07-11 18:00:47 +08:00
CaptainB
7ec7984b9f fix: handle JSON parsing for string values in reference fields 2025-07-11 17:44:20 +08:00
shaohuzhang1
570bcfbaf2
fix: Crossing does not take effect (#3561) 2025-07-11 17:37:54 +08:00
CaptainB
31f87119b6 fix: improve document deletion process and ensure related files are removed
--bug=1058582 --user=刘瑞斌 【知识库】知识库的文档删除报错了 https://www.tapd.cn/62980211/s/1729344
2025-07-11 17:30:26 +08:00
wxg0103
02afb6a0bc refactor: update API KEY translations and improve formatting in permission constants 2025-07-11 17:24:38 +08:00
wxg0103
4a36f78468 refactor: update password requirements in Chinese translations to include uppercase letters 2025-07-11 16:54:32 +08:00
wxg0103
2783d7dcde refactor: add 'show_exec' field to application access token response 2025-07-11 15:13:11 +08:00
CaptainB
cdd146dc58 feat: add negative prompt handling in image generation
--bug=1058523 --user=刘瑞斌 【应用】图片生成节点的执行详情中没有显示负向提示词 https://www.tapd.cn/62980211/s/1729010
2025-07-11 15:11:18 +08:00
wxg0103
414769f42d refactor: update default password configuration key and improve model field formatting 2025-07-11 15:05:51 +08:00
wxg0103
99d94abe85 refactor: improve image URL handling and clean up unused code in base_image_generate_node.py and tti.py 2025-07-11 14:44:04 +08:00
wxg0103
ebb475c19a refactor: update default password configuration key and improve model field formatting 2025-07-11 14:12:26 +08:00
zhangzhanwei
1e20526819 fix: Workspace manager resource authorization permission 2025-07-11 11:33:15 +08:00
shaohuzhang1
210e09681f
feat: Apikey call supports cross domain and application whitelist (#3556) 2025-07-11 11:15:21 +08:00
wangdan-fit2cloud
4437361eed feat: style 2025-07-10 22:37:48 +08:00
shaohuzhang1
bc350c2eb2
fix: Tool permission settings (#3553) 2025-07-10 20:50:22 +08:00
shaohuzhang1
c370e99304
feat: Support openai dialogue (#3551) 2025-07-10 19:16:47 +08:00
wxg0103
d94972bc9c refactor: enhance role management by adding user-specific role filtering and permissions checks 2025-07-10 17:49:07 +08:00
CaptainB
17e1cbcf48 refactor: optimize batch_sync method to include knowledge_id and workspace_id
--bug=1057859 --user=刘瑞斌 【知识库】正在向量化/生成问题中的文档,点击同步文档后没有取消当前文档的向量化/生成问题任务,重新进行同步+向量化/生成问题 https://www.tapd.cn/62980211/s/1728222
2025-07-10 17:34:55 +08:00
CaptainB
12feaac958 feat: add check for inactive tool libraries
--bug=1058425 --user=刘瑞斌 【工具】应用中引用的工具被禁用后,对话时依然可以调用工具 https://www.tapd.cn/62980211/s/1728140
2025-07-10 17:01:17 +08:00
CaptainB
0bcf7e311c feat: update paragraph processing to include status updates for embedding tasks
--bug=1058487 --user=刘瑞斌 【知识库】在文档中添加分段,没有执行向量化操作 https://www.tapd.cn/62980211/s/1728041
2025-07-10 16:53:14 +08:00
shaohuzhang1
4f4565f85b
fix: Shared workspace permission control error (#3548) 2025-07-10 16:45:13 +08:00
CaptainB
4d87e01682 chore: adjust paragraph positions for document consistency 2025-07-10 16:34:41 +08:00
wxg0103
64f61a3beb refactor: update cache handling in user.py to improve timeout management 2025-07-10 15:36:27 +08:00
CaptainB
4c9756839a chore: normalize with_filter parameter to boolean in split handle files
--bug=1057879 --user=刘瑞斌 【知识库】高级分段中自动清洗功能未生效 https://www.tapd.cn/62980211/s/1727744
2025-07-10 15:06:19 +08:00
wxg0103
fe78de5d3c feat: add email templates for verification codes in English, Chinese, and Traditional Chinese 2025-07-10 15:02:10 +08:00
wxg0103
79537cade9 refactor: update user field in application and knowledge models to allow null values and set null on delete 2025-07-10 14:49:44 +08:00
zhangzhanwei
e697ddafbc feat: Locales 2025-07-10 14:20:54 +08:00
CaptainB
9534247713 fix: extract content from image meta before uploading file 2025-07-10 13:57:28 +08:00
zhangzhanwei
c78c2b39fe fix: Model params permission 2025-07-10 13:49:31 +08:00
CaptainB
ed5cc3a0fa fix: update file handling in base_document_extract_node.py to use image metadata
--bug=1058385 --user=刘瑞斌 【应用】文档内容提取节点提取文档失败 https://www.tapd.cn/62980211/s/1727581
2025-07-10 13:04:48 +08:00
shaohuzhang1
9d2fd05604
fix: Token auth (#3543) 2025-07-10 12:07:33 +08:00
shaohuzhang1
1611bc7f75
fix: The original document download file name is incorrect (#3542) 2025-07-09 22:32:40 +08:00
shaohuzhang1
7c47f4d0b3
fix: Embed icon cannot be displayed (#3541) 2025-07-09 22:12:58 +08:00
shaohuzhang1
3b33078555
fix: Workflow knowledge base retrieval node recall error (#3539) 2025-07-09 21:46:44 +08:00
shaohuzhang1
3450ef78a4
fix: Application import and export (#3538) 2025-07-09 21:34:41 +08:00
wxg0103
0316afa299 refactor: enhance HTML tag removal in text processing to exclude audio, video, and image tags 2025-07-09 20:34:47 +08:00
zhangzhanwei
bddc3cfd53 feat: Locales 2025-07-09 20:03:06 +08:00
wxg0103
580adc5a88 refactor: enhance document and knowledge deletion logic to remove associated files 2025-07-09 19:09:34 +08:00
wxg0103
1703923f58 refactor: update default password configuration key to uppercase in user.py 2025-07-09 18:38:57 +08:00
liqiang-fit2cloud
a43bde9a01 fix: remove PATH env. 2025-07-09 18:11:36 +08:00
wxg0103
16088975fa refactor: enhance text-to-speech processing by splitting content into chunks and merging audio segments 2025-07-09 18:08:41 +08:00
CaptainB
3eb5a49e63 chore: update query filters to use case-insensitive containment for name and description
--bug=1058435 --user=刘瑞斌 【工具】工具名称搜索不支持忽略大小写 https://www.tapd.cn/62980211/s/1726980
2025-07-09 17:50:00 +08:00
zhangzhanwei
5d8e64cbb2 fix: Chat user permission of common user 2025-07-09 17:42:56 +08:00
zhangzhanwei
14eea7df42 fix: common user use of shared model params 2025-07-09 16:22:45 +08:00
shaohuzhang1
c4293c34d1
fix: ai chat node mcp (#3531) 2025-07-09 16:14:44 +08:00
wxg0103
eceb8f8375 refactor: simplify optional parameters and update image generation base URL 2025-07-09 15:45:49 +08:00
CaptainB
e0118f1ce9 chore: remove redundant pickle import in tool_code.py 2025-07-09 15:01:19 +08:00
shaohuzhang1
693ed6004a
fix: MCP node execution failed (#3528) 2025-07-09 14:59:55 +08:00
wxg0103
6c27fe68fe refactor: simplify cache timeout handling in authentication modules 2025-07-09 14:18:03 +08:00
CaptainB
dc04d46518 refactor: replace diskcache with pickle for result handling and organize sandbox directories 2025-07-09 14:14:23 +08:00
CaptainB
4da75ac3e0 refactor: replace FunctionExecutor with ToolExecutor in base_tool_lib_node and base_tool_node 2025-07-09 12:48:19 +08:00
shaohuzhang1
7ff65aef76
fix: Application import and export (#3525) 2025-07-09 12:35:49 +08:00
liqiang-fit2cloud
217e3ce58d fix: wrong group. 2025-07-09 11:43:38 +08:00
CaptainB
f0903ac309 refactor: enhance ToolTreeSerializer query parameters 2025-07-09 11:16:59 +08:00
shaohuzhang1
6411f32a3d
fix: The type of resource authorization is incorrect (#3524) 2025-07-09 11:03:19 +08:00
CaptainB
4eda4a0d1b feat: add scope parameter to ToolTreeSerializer and update get_tools method 2025-07-09 10:59:12 +08:00
CaptainB
6a87ccd908 feat: add convert_uuid_to_str function for UUID serialization in document metadata
--bug=1058357 --user=刘瑞斌 【知识库】通用知识库-上传QA问答对csv和excel文档失败 https://www.tapd.cn/62980211/s/1726470
2025-07-09 10:47:56 +08:00
shaohuzhang1
ec2ddedf93
fix: The sub application cannot use the current node (#3523) 2025-07-09 10:46:57 +08:00
shaohuzhang1
cff1f6c80b
fix: The sub application cannot have a conversation (#3522) 2025-07-09 10:36:59 +08:00
zhangzhanwei
3b4702e533 fix: knowledge document paragraph read permission 2025-07-09 10:25:12 +08:00
shaohuzhang1
49d40bb480
fix: Application access restrictions (#3519) 2025-07-08 21:01:32 +08:00
shaohuzhang1
6866ff03b3
fix: Tools cannot be called in the workflow (#3516) 2025-07-08 20:14:33 +08:00
wxg0103
573ec2b706 refactor: remove unused ModelInfo entry for dall-e-2 in openai_model_provider.py 2025-07-08 19:05:53 +08:00
shaohuzhang1
f370840e8b
fix: The form node cannot be used (#3514) 2025-07-08 17:56:11 +08:00
shaohuzhang1
31147c0f6e
fix: AI conversation file upload image cannot be loaded (#3512) 2025-07-08 17:30:32 +08:00
wxg0103
521fff2818 refactor: add is_cache_model method to various model classes to standardize cache behavior 2025-07-08 17:11:31 +08:00
shaohuzhang1
fce2f50a01
fix: Apply MCP node acquisition tool (#3510) 2025-07-08 17:02:02 +08:00
CaptainB
f04de2328a feat: add username field to model serializer and rename nick_name field 2025-07-08 16:57:39 +08:00
CaptainB
334883c2b2 feat: add username field to model serializer and rename nick_name field 2025-07-08 16:47:05 +08:00
shaohuzhang1
f8249cd601
fix: The number of conversations has not been updated (#3509) 2025-07-08 16:35:54 +08:00
wxg0103
b396d95c6f refactor: replace default cache with user-specific cache in ChatManage class 2025-07-08 16:17:34 +08:00
CaptainB
4be308078b refactor: remove redundant validation logic from tool serializer
--bug=1058282 --user=刘瑞斌 【工具】在工具模块,添加工具商店中的mysql查询工具,报错:Tool id does not exist https://www.tapd.cn/62980211/s/1725592
2025-07-08 16:15:56 +08:00
shaohuzhang1
f627daf231
fix: Password authentication (#3507) 2025-07-08 15:49:55 +08:00
wxg0103
a27c09586e refactor: streamline permission checks in model handler for improved readability 2025-07-08 15:03:49 +08:00
CaptainB
8f00184122 refactor: improve embedding handling and ensure float conversion for embeddings
--bug=1058254 --user=刘瑞斌 【知识库】企业版-ldap用户创建通用知识库-创建的空白文档中无法添加分段 https://www.tapd.cn/62980211/s/1725378
2025-07-08 14:19:20 +08:00
shaohuzhang1
90abe70e2e
fix: Resource authorization dirty data (#3506) 2025-07-08 13:44:08 +08:00
CaptainB
8465ac67f0 feat: add workspace validation to tool ID checks in serializers 2025-07-08 12:47:53 +08:00
CaptainB
8aa2c1437c feat: add workspace validation for knowledge id across serializers 2025-07-08 12:47:53 +08:00
wxg0103
337461b683 refactor: update application setting serializer to set default favicon and improve user resource permission handling 2025-07-08 11:47:17 +08:00
shaohuzhang1
1c364c22cf
fix: Resource automatic authorization type error (#3505) 2025-07-08 10:56:24 +08:00
shaohuzhang1
b40c76d3f3
fix: PDF Preview (#3504) 2025-07-08 10:52:27 +08:00
wxg0103
5ba00faf82 refactor: remove unnecessary tobytes() calls when retrieving file content
--bug=1058211 --user=王孝刚 【应用】高级编排-应用对话,图片理解、语音转文本模型执行报错 https://www.tapd.cn/62980211/s/1725144
2025-07-08 10:47:14 +08:00
zhangzhanwei
1f1d4721eb fix: Tool permission of two common user role 2025-07-08 10:40:54 +08:00
shaohuzhang1
7f7704042e
feat: PDF Preview (#3502) 2025-07-07 22:58:23 +08:00
shaohuzhang1
b52c972ac0
feat: Dialogue displays knowledge sources (#3501) 2025-07-07 21:42:17 +08:00
zhangzhanwei
1c18b99429 fix: Split permission in document import dialogue 2025-07-07 20:57:51 +08:00
CaptainB
c8650030fb refactor: replace WorkspaceUserResourcePermission with UserResourcePermissionSerializer for user authorization 2025-07-07 18:37:47 +08:00
shaohuzhang1
1bb2a1ae12
fix: Simple application without dialogue logs (#3497) 2025-07-07 17:33:11 +08:00
zhangzhanwei
6e012e6469 fix: Model permission of workspace manager 2025-07-07 17:27:44 +08:00
shaohuzhang1
6effb8f0fb
feat: Application chat (#3494) 2025-07-07 16:08:37 +08:00
CaptainB
50e93e490a fix: ensure valid class is checked before validation in document processing 2025-07-07 16:04:16 +08:00
liqiang-fit2cloud
8ee575b32e refactor: disable access log. 2025-07-07 15:04:35 +08:00
CaptainB
67f719747c fix: enhance meta validation to check for empty dictionary
--bug=1058076 --user=刘瑞斌 【知识库】飞书知识库-文档列表操作列-设置命中处理方式为“直接回答” 报异常 https://www.tapd.cn/62980211/s/1724448
2025-07-07 14:43:35 +08:00
zhangzhanwei
880697bf35 fix: Add tool from tool store 2025-07-07 14:35:32 +08:00
CaptainB
bed9c500f1 feat: update source_type and source_id defaults in initial migration 2025-07-07 12:54:17 +08:00
wxg0103
181173e2a5 refactor: remove redundant user exclusion logic for improved clarity 2025-07-07 12:07:48 +08:00
zhangzhanwei
4d064f6a37 fix: Model list permission while create knowledge or application 2025-07-07 11:39:04 +08:00
CaptainB
25d395d74a feat: switch Celery broker to Redis with Sentinel support 2025-07-07 11:24:37 +08:00
CaptainB
13596ed7e8 refactor: streamline auth_resource method for improved readability and maintainability 2025-07-05 18:06:00 +08:00
shaohuzhang1
e7a30903ba
feat: application upload file (#3487) 2025-07-04 19:52:45 +08:00
CaptainB
ef51afb96e refactor: filter folder query set by create_user for improved consistency 2025-07-04 18:31:57 +08:00
wxg0103
a097d23299 refactor: add show_exec field to application access token response 2025-07-04 18:17:26 +08:00
wxg0103
ce1884ec60 refactor: add application_id and workspace_id fields to chat record serializer 2025-07-04 18:17:26 +08:00
wxg0103
168fb2e9a8 refactor: update translation for "Think:" in django.po to "思考内容: " 2025-07-04 17:46:27 +08:00
zhangzhanwei
722776623d fix: Locales 2025-07-04 17:40:20 +08:00
wxg0103
66bddc8ed3 refactor: add translation for "Hit-Test" in django.po 2025-07-04 17:07:12 +08:00
wxg0103
519e0dc60b refactor: add source attribute to name field in DocumentEditInstanceSerializer for improved clarity 2025-07-04 16:31:22 +08:00
CaptainB
cb40d62162 refactor: allow loading of truncated images and increase max pixel limit in common_handle.py
--bug=1057749 --user=刘瑞斌 【知识库】qa问答对文档中带图片,导入后图片未显示 https://www.tapd.cn/62980211/s/1723700
2025-07-04 15:53:37 +08:00
CaptainB
d7b4f90798 refactor: update parameter initialization in getList functions for improved clarity
--bug=1058075 --user=刘瑞斌 【知识库】社区版、企业版、专业版搜索框切换完搜索字段后点击知识库文件夹提示必须是一个有效的uuid https://www.tapd.cn/62980211/s/1723617
2025-07-04 15:43:24 +08:00
zhangzhanwei
146d4e2624 fix: Model permission 2025-07-04 15:19:52 +08:00
wxg0103
e4a8047a05 refactor: update user field in Tool and ToolFolder models to allow null values and set on delete 2025-07-04 15:04:29 +08:00
liqiang-fit2cloud
8842319805 fix: fix sandbox_path. 2025-07-04 14:53:01 +08:00
CaptainB
8f851aab61 refactor: add meta field to knowledge user SQL queries
--bug=1058066 --user=刘瑞斌 [知识库]企业&专业版-普通用户查看飞书知识库的设置信息,账号信息显示空白 https://www.tapd.cn/62980211/s/1723533
2025-07-04 14:50:55 +08:00
zhangzhanwei
d114b0013a fix: Extends common user tool permission 2025-07-04 14:32:15 +08:00
wxg0103
a7f55e6c00 refactor: update translation for "Image size" to improve clarity 2025-07-04 13:57:56 +08:00
CaptainB
f3e5f26caf refactor: enhance JSON serialization with custom serializer for datetime and Decimal types 2025-07-04 13:19:09 +08:00
shaohuzhang1
628e7cdfed
feat: application node (#3480) 2025-07-04 12:08:24 +08:00
shaohuzhang1
e21d53b746
feat: Simple application version (#3479) 2025-07-04 11:42:31 +08:00
CaptainB
9c7eb22c61 refactor: improve error message for non-existent files in document handling
--bug=1057925 --user=刘瑞斌 【知识库】知识库快速创建空白文档-添加段落和内容-随后下载源文档-下载文件提示异常 https://www.tapd.cn/62980211/s/1723202
2025-07-04 11:08:20 +08:00