Commit Graph

1617 Commits

Author SHA1 Message Date
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
wxg0103
e8f80094ce refactor: model 2025-06-26 17:26:50 +08:00
CaptainB
d49f448a5f fix: correct image path replacement logic in zip_split_handle 2025-06-26 17:02:34 +08:00
wxg0103
0886459bad refactor: Add log records for image understanding
--bug=1057568 --user=王孝刚 【模型管理】阿里云百炼视觉模型输入错误的基础模型可正常创建 https://www.tapd.cn/62980211/s/1719185
2025-06-26 16:58:18 +08:00
CaptainB
37ac79dc5a feat: import File model in zip_split_handle for enhanced functionality
--bug=1057478 --user=刘瑞斌 【知识库】通用知识库上传ZIP文件,分段失败 https://www.tapd.cn/62980211/s/1719181
2025-06-26 16:56:28 +08:00
CaptainB
e24a2001c5 feat: refine regex patterns in text_split_handle for improved comment detection
--bug=1057526 --user=刘瑞斌 【知识库】markdown文件导入知识库,分段详情中代码块展示异常 https://www.tapd.cn/62980211/s/1719131
2025-06-26 16:23:32 +08:00
CaptainB
56fe631ed6 feat: update knowledge export methods to use knowledge_id for filtering documents and paragraphs
--bug=1057505 --user=刘瑞斌 【知识库】导出知识库是空白的 https://www.tapd.cn/62980211/s/1719080
2025-06-26 15:55:37 +08:00
CaptainB
dfa66c1d23 feat: adjust position handling in paragraph serializer to ensure integer type
--bug=1057467 --user=刘瑞斌 【知识库】企业版-知识库文档中添加分段失败 https://www.tapd.cn/62980211/s/1719011
2025-06-26 15:15:50 +08:00
shaohuzhang1
ce5850b6d4
feat: tool model resource permission (#3395) 2025-06-26 14:20:57 +08:00
wxg0103
ac7e39fb18 refactor: model 2025-06-26 14:15:08 +08:00
CaptainB
ad72517ebe feat: add validation for folder name uniqueness and parent folder assignment
--bug=1057431 --user=刘瑞斌 【工具】文件夹编辑,可以修改名称与同级文件夹重名 https://www.tapd.cn/62980211/s/1718940
2025-06-26 14:06:30 +08:00
wxg0103
183d6c74d5 refactor: knowledge model 2025-06-26 11:40:57 +08:00
wxg0103
f463786710 fix: PASSWORD_REGEX 2025-06-26 10:44:19 +08:00
shaohuzhang1
ea7b8547be
fix: user permission (#3390) 2025-06-25 20:37:27 +08:00
CaptainB
67bb79079f feat: update logging configuration for improved log level management and format 2025-06-25 18:48:10 +08:00
wxg0103
a26c4320dd refactor: user filter 2025-06-25 18:38:50 +08:00
shaohuzhang1
6cdd8ffe39
feat: add download operate permission (#3388) 2025-06-25 17:57:55 +08:00
CaptainB
40fcc5bcb9 refactor: replace logging calls with maxkb_logger for consistency 2025-06-25 17:37:09 +08:00
wxg0103
3a2294e53b fix: chat user change error 2025-06-25 17:30:12 +08:00
CaptainB
a73e0b10f9 refactor: replace logging with maxkb_logger for consistent logging across modules 2025-06-25 17:00:18 +08:00
shaohuzhang1
4a90127a92
fix: Application workspace restrictions (#3385) 2025-06-25 16:56:10 +08:00
CaptainB
fe8f87834d refactor: replace logging with maxkb_logger for consistent logging across modules 2025-06-25 16:46:50 +08:00
wxg0103
fe066aea68 fix: Modify password verification regular expression
--bug=1057464 --user=王孝刚 【对话用户】用户-修改密码-修改密码为「Abc123」,修改成功了-与密码规则不符 https://www.tapd.cn/62980211/s/1718453
2025-06-25 16:29:06 +08:00
CaptainB
3aa0847506 refactor: replace print statements with logging for improved error tracking 2025-06-25 16:18:19 +08:00
wxg0103
13dc156a58 fix: model save failed message error
--bug=1057469 --user=王孝刚 【模型】 删除模型提示信息和需求不符 https://www.tapd.cn/62980211/s/1718440
2025-06-25 16:11:04 +08:00
liqiang-fit2cloud
0e3ae6a8f8 feat: add MAXKB_LOG_LEVEL env. 2025-06-25 16:05:02 +08:00
wxg0103
b06d5685f2 refactor: i18n 2025-06-25 15:15:21 +08:00
CaptainB
f1e6b5adec fix: update FileSerializer operation to use data dictionary for file ID 2025-06-25 15:10:01 +08:00
CaptainB
8f62257fee chore: improve URL formatting and readability in urls.py 2025-06-25 14:51:47 +08:00
wxg0103
2f9052279a fix: VolcanicEngine tts error 2025-06-25 14:47:08 +08:00
wxg0103
9f684dadd2 refactor: add aliyun llm example
--bug=1057451 --user=王孝刚 【模型】-阿里百炼的基础模型中增加千问3的模型,保持和v1相同 https://www.tapd.cn/62980211/s/1718320
2025-06-25 14:34:29 +08:00
wxg0103
44c318e8c8 fix: VolcanicEngine stt error
--bug=1057449 --user=王孝刚 【模型】添加火山语音识别模型失败 https://www.tapd.cn/62980211/s/1718297
2025-06-25 14:28:31 +08:00
CaptainB
2570114edf feat: add icon attribute to internal tool data structure 2025-06-25 12:41:18 +08:00
CaptainB
83e9a8ce98 feat: add folder_id support in knowledge and tool modules 2025-06-25 12:17:06 +08:00
wxg0103
66ab7fdf34 refactor: default embedding model edit workspace_id 2025-06-25 11:42:56 +08:00
CaptainB
73ee9bf602 fix: replace get_byte() with get_bytes() for consistency in file handling 2025-06-25 10:55:48 +08:00
CaptainB
758f424000 fix: replace get_byte() with get_bytes() for consistency in file handling 2025-06-25 10:54:36 +08:00
wxg0103
93530e0a9b fix: shared model edit error 2025-06-25 10:52:43 +08:00
wxg0103
f248697794 refactor: ui warning message 2025-06-24 19:14:22 +08:00
shaohuzhang1
fc6b087d75
fix: User delete resource delete policy (#3376) 2025-06-24 18:46:20 +08:00
shaohuzhang1
31c92fb492
fix: Application user delete policy (#3375) 2025-06-24 17:56:20 +08:00
CaptainB
d0f70ab466 feat: add workspace_id field to Create serializer
--bug=1057315 --user=刘瑞斌 【文件夹】-非默认工作空间,在根目录下创建文件夹失败 https://www.tapd.cn/62980211/s/1717846
2025-06-24 17:52:57 +08:00
shaohuzhang1
275ec80701
feat: chat record (#3374) 2025-06-24 17:44:59 +08:00
CaptainB
8d5c3e6068 feat: refresh cache for permission list on knowledge save 2025-06-24 16:11:39 +08:00
wxg0103
c253e8b696 refactor: remove print 2025-06-24 15:30:42 +08:00
liqiang-fit2cloud
66bb8f605d refactor: change logfile name. 2025-06-24 15:13:15 +08:00
shaohuzhang1
e98ecf4c2f
fix: application knowledge list (#3368) 2025-06-24 15:11:08 +08:00
shaohuzhang1
6dfcc5e54d
fix: application knowledge list (#3367) 2025-06-24 15:01:43 +08:00
CaptainB
2ab57802f4 feat: update sys.path to exclude multiple directories in tool_code.py 2025-06-24 14:45:05 +08:00
shaohuzhang1
28efdb49f7
fix: resource permission (#3366) 2025-06-24 14:09:57 +08:00
CaptainB
d459beb1a0 feat: update Python package paths in tool_code.py and Dockerfile 2025-06-24 14:08:18 +08:00
shaohuzhang1
af6f88a616
fix: application knowledge list (#3365) 2025-06-24 13:45:36 +08:00
CaptainB
3a91562289 feat: refactor tool_code.py to use sys.executable and update Dockerfile for diskcache2 installation 2025-06-24 13:35:02 +08:00
shaohuzhang1
1a5db6b5ea
fix: user role (#3362) 2025-06-24 11:14:51 +08:00
wxg0103
a8127efd86 refactor: add valid 2025-06-24 11:09:19 +08:00
shaohuzhang1
869812d87b
fix: application list (#3359) 2025-06-24 10:29:37 +08:00
shaohuzhang1
7f9caca5c7
feat: historical conversation (#3358) 2025-06-23 21:28:10 +08:00
shaohuzhang1
dca48d1388
feat: Chat vote (#3355) 2025-06-23 20:19:32 +08:00
CaptainB
01ed7045e0 feat: update Dockerfile to set up Python virtual environment and adjust memory settings for builds 2025-06-23 19:42:28 +08:00
wxg0103
eeb101d150 refactor: i18n 2025-06-23 19:04:38 +08:00
wxg0103
0b64e92a33 fix: remove workspace message error
--bug=1057308 --user=王孝刚 【工作空间】删除有工具的工作空间-应该不允许删除 https://www.tapd.cn/62980211/s/1717164
2025-06-23 18:11:15 +08:00
wxg0103
92fd481aff refactor: shared model 2025-06-23 17:22:07 +08:00
shaohuzhang1
4a722575df
fix: knowledge list (#3349) 2025-06-23 17:08:13 +08:00
wxg0103
516c8ea9d2 refactor: shared model 2025-06-23 17:06:19 +08:00
shaohuzhang1
b971a2c15f
fix: knowledge list (#3348) 2025-06-23 16:54:48 +08:00
wxg0103
37a2041d8d refactor: shared model 2025-06-23 16:43:08 +08:00
shaohuzhang1
f32f158876
fix: application permission label (#3345) 2025-06-23 13:46:50 +08:00
shaohuzhang1
a00860528a
fix: application query (#3344) 2025-06-23 12:09:44 +08:00
CaptainB
bb109d65cf feat: update permission checks to include workspace-specific roles for knowledge document operations 2025-06-23 11:47:46 +08:00
CaptainB
3e9c3c0602 feat: update UUID generation to use uuid7 for improved uniqueness across models 2025-06-23 11:19:20 +08:00
CaptainB
1a60d8c972 feat: add dependency for system_manage in initial migration and update subproject commit hashes 2025-06-23 10:57:54 +08:00
wxg0103
7e67fbc592 refactor: add model initial sql 2025-06-23 10:35:42 +08:00
shaohuzhang1
06e910b630
feat: application publish (#3342) 2025-06-23 10:35:21 +08:00
CaptainB
b496a2b2c5 feat: update migration files and add new models for application settings and chat functionality 2025-06-23 10:25:45 +08:00
CaptainB
47a3489a0a fix: add LOG_DIR import and update log directory paths 2025-06-21 22:42:46 +08:00
CaptainB
23b47f24e7 fix: add folder_id to ToolSerializer initialization 2025-06-21 15:06:13 +08:00
CaptainB
c598a1586e fix: specify application.id in permission query 2025-06-21 12:48:30 +08:00
shaohuzhang1
9c73c8dea0
fix: Complete application permissions (#3339) 2025-06-20 22:40:48 +08:00
shaohuzhang1
145e96594f
fix: Complete application permissions (#3338) 2025-06-20 22:31:41 +08:00
CaptainB
9777c92e34 feat: add automatic permission assignment for knowledge creators 2025-06-20 17:50:49 +08:00
CaptainB
717c204d22 fix: update template_id assignment in tool creation logic 2025-06-20 17:16:44 +08:00
shaohuzhang1
35d86c6484
feat: workspace manage role (#3333) 2025-06-20 17:15:55 +08:00
liqiang-fit2cloud
0c8a80897b fix: remove REDIS env from sandbox. 2025-06-20 16:29:04 +08:00
wxg0103
c46c631d52 refactor: i18n 2025-06-20 15:52:21 +08:00
CaptainB
4c41a40438 feat: add user role permissions to workspace operations 2025-06-20 15:24:39 +08:00
CaptainB
c8a5048c7c feat: add user role permissions to workspace operations 2025-06-20 15:17:36 +08:00
shaohuzhang1
961e67e98d
fix: resource permission group list (#3331) 2025-06-20 14:35:58 +08:00
shaohuzhang1
5e67c0b40a
fix: resource permission group list (#3330) 2025-06-20 14:26:15 +08:00
wxg0103
1f5587eeeb fix: workspace add member 2025-06-20 14:23:25 +08:00
CaptainB
83e9b45e79 feat: handle None case for knowledge_dict in knowledge.py 2025-06-20 14:01:13 +08:00
shaohuzhang1
a39010bc4a
fix: resource auth (#3327) 2025-06-20 13:36:28 +08:00
CaptainB
01a25efe1c feat: standardize label field values in tool SQL insert statements 2025-06-20 13:24:29 +08:00
CaptainB
9a89565931 feat: update community file with new hash value 2025-06-20 12:46:46 +08:00
CaptainB
f646a5caad fix: update icon paths for various tools in internal_tool.sql 2025-06-20 12:24:23 +08:00