Commit Graph

1710 Commits

Author SHA1 Message Date
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
shaohuzhang1
56932b3afd
fix: Debugging dialogue error (#3440) 2025-07-01 10:15:01 +08:00
liqiang-fit2cloud
bc87101bc8 feat: add MAXKB_SANDBOX_PYTHON_PACKAGE_PATHS env. 2025-07-01 10:09:54 +08:00
CaptainB
482fbf4003 fix: update Redis host comment and increase default session timeout 2025-06-30 22:18:14 +08:00
shaohuzhang1
05f4eb532e
fix: search knowledge (#3439) 2025-06-30 21:47:54 +08:00
shaohuzhang1
219ea75244
feat: Knowledge base search based on authorized users (#3438) 2025-06-30 20:58:30 +08:00
CaptainB
305cdea34b refactor: remove SOCKET_TIMEOUT from Redis configuration 2025-06-30 18:25:14 +08:00
zhangzhanwei
60a0c6039e feat: Knowledge chat user permission 2025-06-30 18:23:44 +08:00
CaptainB
b2667998a4 refactor: remove incompatible CONNECTION_POOL_KWARGS from Redis config 2025-06-30 18:19:54 +08:00
CaptainB
a6f0081c94 feat: enhance Redis Sentinel configuration to support dynamic sentinel settings 2025-06-30 18:17:30 +08:00
shaohuzhang1
d8a9c9ccdd
feat: Application text to speech and speech to text functions (#3433) 2025-06-30 18:03:11 +08:00
wxg0103
2aa86ebfaa refactor: model params 2025-06-30 18:02:30 +08:00
wxg0103
7e80b951ac refactor: model params 2025-06-30 17:47:31 +08:00
wxg0103
da3c945b56 refactor: model 2025-06-30 17:42:48 +08:00
wxg0103
e6f9238005 refactor: i18n 2025-06-30 16:39:33 +08:00
shaohuzhang1
2c0a8afd5f
fix: add extends role (#3430) 2025-06-30 15:05:53 +08:00
CaptainB
71ad83a267 feat: update Redis Sentinel configuration to use SENTINEL_SENTINELS 2025-06-30 14:54:28 +08:00
CaptainB
91f68781fe feat: add Redis Sentinel support to cache settings 2025-06-30 13:27:21 +08:00
CaptainB
0f1d57f0cb feat: enhance error logging for file processing in CSV, XLS, and DOC handlers 2025-06-30 12:49:50 +08:00
CaptainB
82a2203be6 fix: handle string type for limit and improve error logging in pdf_split_handle
--bug=1057493 --user=刘瑞斌 【知识库】上传文档,使用高级分段报错 https://www.tapd.cn/62980211/s/1720110
2025-06-30 12:47:47 +08:00
CaptainB
049c0e0bb0 refactor: improve readability of model data retrieval in model_serializer 2025-06-30 12:29:51 +08:00
shaohuzhang1
91e2dd7ea6
feat: add extends role (#3428) 2025-06-30 11:50:59 +08:00
wxg0103
1107b70a4a refactor: model 2025-06-30 11:16:55 +08:00
shaohuzhang1
8e29562e30
feat: Knowledge chat user permission (#3426) 2025-06-30 11:08:30 +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
shaohuzhang1
f5ee7b5c25
feat: user resource permission (#3424) 2025-06-30 10:47:28 +08:00
wxg0103
e85aee434c refactor: resource model add create_time update_time 2025-06-30 09:47:58 +08:00
CaptainB
7862c17b21 refactor: remove debug print statement for session timeout in UserToken class 2025-06-28 19:44:19 +08:00
CaptainB
1dc6d6e8ba feat: add session timeout configuration to Config class 2025-06-28 19:43:40 +08:00
shaohuzhang1
d4d7bdde41
feat: user resource permission ui (#3423) 2025-06-27 22:38:00 +08:00
shaohuzhang1
c5bdada6dc
feat: user resource permission (#3422) 2025-06-27 22:22:52 +08:00
CaptainB
327b6cc563 refactor: adjust paragraph position indexing to start from 1 2025-06-27 19:01:05 +08:00
shaohuzhang1
4b4691d689
feat: Chat record details (#3418) 2025-06-27 18:54:05 +08:00
CaptainB
22d86f046a refactor: adjust paragraph positions during migration for consistency 2025-06-27 18:40:52 +08:00
CaptainB
cd25bcf074 refactor: adjust paragraph position handling to insert new paragraphs at the top
--bug=1057642 --user=刘瑞斌 【知识库】文档中添加分段,最后添加的没显示在最上面 https://www.tapd.cn/62980211/s/1719802
2025-06-27 17:59:09 +08:00
shaohuzhang1
276378a9ae
feat: application workflow (#3415) 2025-06-27 17:35:01 +08:00
wxg0103
a7cbba161c refactor: xfembedding model 2025-06-27 16:34:22 +08:00
CaptainB
db58ed8aba fix: allow null and blank values for status and order_by fields in document queries
--bug=1057473 --user=刘瑞斌 【知识库】文档列表通过列表字段筛选文档不生效 https://www.tapd.cn/62980211/s/1719702
2025-06-27 16:28:11 +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
wxg0103
8f70bacc02 refactor: sql 2025-06-27 14:40:22 +08:00
wxg0103
c1e01e005b feat: role setting 2025-06-27 14:38:32 +08:00
wxg0103
e25544e032 feat: role setting 2025-06-27 14:37:16 +08:00
wxg0103
c5c06254b7 feat: role setting 2025-06-27 14:29:44 +08:00
wxg0103
d0e447774f refactor: model 2025-06-27 11:54:27 +08:00
wxg0103
594ca6cd89 refactor: model 2025-06-27 11:18:02 +08:00
CaptainB
173f7e8321 fix: ensure limit parameter is an integer in split_model initialization
--bug=1057597 --user=刘瑞斌 【知识库】通用知识库高级分段生成预览为空 https://www.tapd.cn/62980211/s/1719490
2025-06-27 11:06:55 +08:00
shaohuzhang1
c95a49c972
fix: application related knowledge (#3407) 2025-06-26 22:38:32 +08:00
shaohuzhang1
3447da58bd
fix: application related knowledge (#3406) 2025-06-26 22:31:12 +08:00
zhangzhanwei
530928af38 fix: System router permission 2025-06-26 21:03:10 +08:00
CaptainB
c2c1d4eeb9 feat: make folder_id optional in KnowledgeSerializer query
--bug=1057489 --user=刘瑞斌 【知识库】-文档迁移功能报错,无法选择文件夹和目标知识库 https://www.tapd.cn/62980211/s/1719276
2025-06-26 20:13:56 +08:00
wxg0103
20010ee227 refactor: model 2025-06-26 20:06:26 +08:00
wxg0103
e1c37636d6 refactor: resource model list 2025-06-26 19:54:28 +08:00
wxg0103
3bab501f08 refactor: i18n 2025-06-26 19:53:56 +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
wxg0103
75df321783 refactor: model list 2025-06-26 19:08:23 +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
shaohuzhang1
f13a29a611
fix: model share (#3402) 2025-06-26 18:18:19 +08:00
CaptainB
974f61d2d9 feat: update document and paragraph status default to use get_default_status function 2025-06-26 17:48:18 +08:00
shaohuzhang1
8ce3a44ef8
fix: list shard model (#3399) 2025-06-26 17:40:37 +08:00