Commit Graph

1748 Commits

Author SHA1 Message Date
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
zhangzhanwei
60e3005aa9 fix: Tool permission by extend workspace manager 2025-07-04 10:41:45 +08:00
wxg0103
ba3a2153e0 refactor: simplify data handling in ApplicationChatRecordAddKnowledgeSerializer 2025-07-04 10:13:40 +08:00
wxg0103
85afde5e61 refactor: update role constants to include ADMIN in permission checks 2025-07-04 09:15:53 +08:00
wxg0103
7d7f085e3a refactor: update role constants to include ADMIN in permission checks 2025-07-04 09:13:29 +08:00