Commit Graph

1770 Commits

Author SHA1 Message Date
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
zhangzhanwei
dd621b59b9 Application model use 2025-07-03 20:23:24 +08:00
CaptainB
08695cea0c refactor: update query parameter handling in workspace retrieval 2025-07-03 20:05:30 +08:00
zhangzhanwei
7dc20732d5 fix: Application model use 2025-07-03 19:51:34 +08:00
wxg0103
b2e4d2dc20 feat: add chat background setting to application settings 2025-07-03 19:20:35 +08:00
wxg0103
22bc1931c8 fix: improve chat user filtering and update input maxlength 2025-07-03 18:33:35 +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
CaptainB
a67820bc48 refactor: add deletion of ApplicationKnowledgeMapping entries when knowledge is deleted
--bug=1058030 --user=刘瑞斌 【知识库】知识库已关联应用-删除报错 https://www.tapd.cn/62980211/s/1722902
2025-07-03 18:10:22 +08:00
zhangzhanwei
1ef0146389 feat: Application conversation 2025-07-03 17:40:28 +08:00
wxg0103
1d35700d2a refactor: enhance model retrieval logic and update optional parameters 2025-07-03 17:28:19 +08:00
CaptainB
f186b25afe refactor: streamline permission handling and remove unused cache logic in tool management 2025-07-03 17:16:16 +08:00
CaptainB
c8d901ba4d refactor: use consistent tool ID generation and add automatic permission assignment for tool creators 2025-07-03 17:11:41 +08:00
CaptainB
7e3589a81a refactor: add integrity check for folder tree structure in get_folder_tree method 2025-07-03 17:01:59 +08:00
wxg0103
8f1b0e0da5 fix: improve chat user filtering and update input maxlength 2025-07-03 16:18:16 +08:00
shaohuzhang1
c2256a5305
fix: Community user permissions (#3465) 2025-07-03 15:30:28 +08:00
CaptainB
e0075c3dd5 refactor: update default icon path in tool models and related logic 2025-07-03 15:20:48 +08:00
shaohuzhang1
df49c5ba5c
fix: Automatic authorization for resource creation (#3464) 2025-07-03 14:46:55 +08:00
shaohuzhang1
0b27836ccb
fix: Chat prefix (#3463) 2025-07-03 14:34:41 +08:00
shaohuzhang1
66699ef497
fix: Application embed (#3462) 2025-07-03 12:26:20 +08:00
wxg0103
e1df14b16d refactor: update role constants to use names instead of values 2025-07-03 12:03:37 +08:00
CaptainB
1639d4b31c feat: enhance file upload with source_id and source_type metadata 2025-07-03 11:58:43 +08:00
CaptainB
79dc3e4909 feat: add source_id and source_type fields to FileSerializer and update related components 2025-07-03 11:40:02 +08:00
wxg0103
50cc851f4f fix: change user role to a list for compatibility with role relations 2025-07-03 10:39:40 +08:00
CaptainB
1064e8bc63 refactor: update icon paths for internal tools in SQL definitions 2025-07-03 10:16:09 +08:00
wxg0103
4c3b2b6040 fix: update translations 2025-07-03 09:54:38 +08:00
wxg0103
557f82af7c fix: update translations and correct workspace API import path 2025-07-03 09:27:18 +08:00
CaptainB
aa901c7fc7 fix: update file URL paths to use relative references 2025-07-02 22:45:11 +08:00
shaohuzhang1
da0be4b0ce
fix: URL 404 (#3460) 2025-07-02 21:49:55 +08:00
shaohuzhang1
9166528504
feat: File URL adaptation (#3459) 2025-07-02 21:02:45 +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
shaohuzhang1
ef15d819cf
fix: Related knowledge base (#3456) 2025-07-02 16:54:22 +08:00
CaptainB
da0d633121 refactor: update user option label to use nick_name and fetch member list on mount 2025-07-02 16:51:35 +08:00
CaptainB
621cd37385 refactor: add create_user field to knowledge query and update filtering logic 2025-07-02 16:22:51 +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
shaohuzhang1
191e62f96d
fix: role user permission (#3453) 2025-07-02 14:58:02 +08:00
wxg0103
a98f20e5b9 refactor: add django_apscheduler to installed apps 2025-07-02 14:30:08 +08:00
CaptainB
ac4bf303f4 refactor: update SQL queries to include embedding_model_id and adjust filters for knowledge_id 2025-07-02 14:28:03 +08:00
CaptainB
a34c089b73 refactor: enhance knowledge retrieval logic for workspace management and x-pack EE 2025-07-02 14:28:03 +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
CaptainB
de1ec6addb refactor: improve model data serialization and update user field names 2025-07-02 14:00:04 +08:00
CaptainB
5ac0b2be3d refactor: simplify cache timeout handling in user token management 2025-07-02 12:43:50 +08:00
CaptainB
6068530cdd refactor: update locking mechanism to use a consistent key format and set default timeout 2025-07-02 12:36:43 +08:00
CaptainB
0ad38e2540 refactor: improve document status update logic and enhance post handler functionality 2025-07-02 11:44:45 +08:00
zhanweizhang7
b71a854d7c
feat: Shared knowledge access permission (#3450) 2025-07-02 11:35:14 +08:00
CaptainB
868b4b6eab refactor: include workspace_id in document query return values
--bug=1057837 --user=刘瑞斌 【知识库】、压缩包文件中存在视频和图片,只能分段上传后提示信息存在问题 https://www.tapd.cn/62980211/s/1721454
2025-07-02 11:01:32 +08:00
CaptainB
bdba4bc34c refactor: improve knowledge editing logic to prevent name duplication
--bug=1057801 --user=刘瑞斌 【知识库】不同文件夹下创建相同名称的知识库成功,当切换知识库向量模型时会提示知识库名称重复 https://www.tapd.cn/62980211/s/1721429
2025-07-02 10:38:23 +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
wxg0103
0e339701da refactor: user role 2025-07-02 09:43:34 +08:00
shaohuzhang1
3f6faa7592
feat: dynamic URL (#3448) 2025-07-01 20:10:47 +08:00
wxg0103
487e7eda6f refactor: user role 2025-07-01 19:53:53 +08:00
wxg0103
411a0446b3 refactor: user role 2025-07-01 19:23:53 +08:00
wxg0103
816bf19d86 refactor: role 2025-07-01 18:22:56 +08:00
zhangzhanwei
a4143eed23 feat: hit test permission 2025-07-01 18:12:31 +08:00
CaptainB
8c0361bbc2 refactor: update API endpoint paths to include admin prefix 2025-07-01 18:08:12 +08:00
CaptainB
f9a8b9c270 refactor: update dynamic URL handling in tool serialization 2025-07-01 18:00:47 +08:00
wxg0103
f73721c73e refactor: workspace permission 2025-07-01 17:37:50 +08:00
CaptainB
d5bfe98c23 refactor: update tool icon paths for consistency 2025-07-01 17:14:46 +08:00
CaptainB
a58ee19fab refactor: update default admin path to include leading slash 2025-07-01 16:31:07 +08:00
CaptainB
cecd3f90c6 refactor: remove unused logging import and enhance knowledge base query 2025-07-01 16:07:43 +08:00
CaptainB
cc06d07016 refactor: enhance document download function with additional parameter and add new MIME types 2025-07-01 15:59:08 +08:00
shaohuzhang1
2ad5883aef
feat: dynamic URL (#3444) 2025-07-01 15:43:00 +08:00
CaptainB
9b89e8f75c refactor: enhance file parsing by saving source files and linking document IDs 2025-07-01 15:24:07 +08:00
wxg0103
38c3dcae7e fix: field error message 2025-07-01 15:15:38 +08:00
CaptainB
b0b269f3d4 refactor: extend KnowledgeModelSerializer fields to include file size and count limits
--bug=1057593 --user=刘瑞斌 【共享资源】共享知识库设置界面,向量模型为空,不回显 https://www.tapd.cn/62980211/s/1720862
2025-07-01 14:21:10 +08:00
CaptainB
089915f488 refactor: improve error logging for image reading and enhance image handling logic
--bug=1057749 --user=刘瑞斌 【知识库】qa问答对文档中带图片,导入后图片未显示 https://www.tapd.cn/62980211/s/1720856
2025-07-01 14:17:10 +08:00
CaptainB
407fe83582 refactor: streamline folder deletion process and enhance permission checks 2025-07-01 13:21:04 +08:00
CaptainB
b1dd321e28 refactor: add user_id to folder operations for permission checks 2025-07-01 12:54:55 +08:00
CaptainB
ad5c8122d3 refactor: remove unnecessary condition for workspace management in knowledge.py and update SQL query in list_knowledge_user.sql 2025-07-01 11:58:44 +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
wxg0103
5dc51836ef refactor: chat 2025-07-01 11:14:28 +08:00
CaptainB
2cf01dd12c refactor: remove license validation message for community version knowledge bases 2025-07-01 11:08:07 +08:00
liqiang-fit2cloud
94847bb8f0 Merge remote-tracking branch 'origin/v2' into v2 2025-07-01 10:45:09 +08:00
liqiang-fit2cloud
636c219979 feat: add MAXKB_ADMIN_PATH env. 2025-07-01 10:44:42 +08:00
CaptainB
ea5fae09c4 refactor: remove license validation message for community version knowledge bases 2025-07-01 10:44:26 +08:00
liqiang-fit2cloud
f0ef375010 Merge remote-tracking branch 'origin/v2' into v2 2025-07-01 10:24:58 +08:00
liqiang-fit2cloud
d655028f9e feat: add MAXKB_ADMIN_PATH env. 2025-07-01 10:24:49 +08:00