Commit Graph

1888 Commits

Author SHA1 Message Date
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
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
CaptainB
63abffec3c feat: add label field to tool serializer and SQL queries 2025-06-20 11:57:55 +08:00
CaptainB
e13bd094fa feat: add label field to tool model and update SQL insert statements 2025-06-20 11:52:51 +08:00
wxg0103
d2ec6d558b fix: model add workspace_id 2025-06-20 10:40:51 +08:00
shaohuzhang1
f40e625ee1
fix: workspace (#3320) 2025-06-19 21:43:57 +08:00
shaohuzhang1
ba078a9aab
fix: user role (#3319) 2025-06-19 20:29:28 +08:00
shaohuzhang1
4e170c6ed7
feat: chat password auth (#3318) 2025-06-19 20:02:52 +08:00
CaptainB
7aa73e7110 fix: make folder_id parameter optional in document.py 2025-06-19 19:45:26 +08:00
CaptainB
2c3eb20592 fix: make folder_id parameter optional in document.py 2025-06-19 19:42:29 +08:00
CaptainB
80b3be46fd fix: add template_id to tool and tool_folder queries in list_tool.sql 2025-06-19 19:39:16 +08:00
CaptainB
35b30c2009 fix: add template_id to tool and tool_folder queries in list_tool.sql 2025-06-19 19:22:31 +08:00
CaptainB
c9bdb9ca8a fix: add scope column to tool and folder queries in list_tool.sql 2025-06-19 19:15:46 +08:00
CaptainB
4e87048053 fix: add tool_type field to Tool serializer in tool.py 2025-06-19 19:08:38 +08:00
CaptainB
a6b8cc4a31 fix: add scope parameter to tool serializer in tool.py 2025-06-19 18:38:12 +08:00
CaptainB
317db5ae18 fix: add scope parameter to tool serializer in tool.py 2025-06-19 18:33:43 +08:00
CaptainB
5237f8b5fc fix: enhance folder movement validation to prevent exceeding depth limit 2025-06-19 17:45:29 +08:00
shaohuzhang1
e02d417af9
feat: application assess (#3312) 2025-06-19 17:25:46 +08:00
CaptainB
52ba4d6342 refactor: update model instance retrieval to use workspace_id and enhance document syncing with image linking 2025-06-19 16:20:15 +08:00
wxg0103
dbfbcdd0b6 refactor: model 2025-06-19 15:50:02 +08:00
wxg0103
c4642a3595 refactor: user 2025-06-19 15:26:29 +08:00
shaohuzhang1
598b72fd12
fix: chat bugs (#3308) 2025-06-19 14:53:24 +08:00
wxg0103
af61494779 refactor: user 2025-06-19 14:37:59 +08:00
CaptainB
6d9068c378 fix: validate folder_id in list method and use request.user.id for user_id 2025-06-19 13:23:58 +08:00
CaptainB
45908b91ff refactor: update dataset_id to knowledge_id in zip_split_handle.py and tools.py 2025-06-18 21:28:33 +08:00
CaptainB
c0b770f41e refactor: update dataset_id to knowledge_id in zip_split_handle.py and tools.py 2025-06-18 21:15:53 +08:00
CaptainB
7dc3cb98ef refactor: comment out RunSQL migration for internal_tool.sql in initial migration 2025-06-18 20:53:40 +08:00
CaptainB
ef9e80f900 feat: add batch_cancel_task endpoint to document routes in urls.py 2025-06-18 20:50:46 +08:00
wxg0103
acd0adaf3c refactor: model nick_name 2025-06-18 20:46:36 +08:00
wxg0103
3af2dc7f7c refactor: model nick_name 2025-06-18 20:44:49 +08:00
wxg0103
4e5285ce23 refactor: permission 2025-06-18 20:21:25 +08:00
wxg0103
395f3f91ec refactor: i18n 2025-06-18 20:17:01 +08:00
wxg0103
9ec3a72352 refactor: i18n 2025-06-18 20:00:44 +08:00
CaptainB
4a58954567 feat: add new SQL queries for embedding and keyword searches 2025-06-18 19:48:20 +08:00
wxg0103
9ac2710b24 refactor: permission 2025-06-18 19:21:27 +08:00
CaptainB
89023d14fe refactor: update embedding model ID references in knowledge.py and dataset_lark_serializer.py 2025-06-18 18:46:41 +08:00
CaptainB
63d8906639 refactor: update user reference to use nick_name in index.vue and shared_tool.py 2025-06-18 18:44:48 +08:00
shaohuzhang1
dbbd2f95af
fix: model permission (#3300) 2025-06-18 18:16:05 +08:00
CaptainB
b9304f0fda refactor: improve SQL queries to include user nicknames and enhance readability 2025-06-18 18:15:16 +08:00
shaohuzhang1
13c5833d42
fix: model permission (#3299) 2025-06-18 18:09:50 +08:00
shaohuzhang1
c793f429de
fix: model permission (#3298) 2025-06-18 17:55:31 +08:00
CaptainB
c1ca6eafe6 refactor: enhance workspace authorization handling in shared knowledge, model, and tool 2025-06-18 17:54:00 +08:00
wxg0103
4975c4b2bf refactor: permission 2025-06-18 17:25:24 +08:00
shaohuzhang1
f7a0ee6184
fix: permission role (#3295) 2025-06-18 17:07:38 +08:00
shaohuzhang1
acb00e92d8
fix: permission role (#3294) 2025-06-18 16:49:17 +08:00
CaptainB
9068c1fca0 refactor: simplify serializer field definitions in tool.py 2025-06-18 16:43:08 +08:00
wxg0103
ee1ca6fb23 refactor: permission 2025-06-18 16:12:54 +08:00
CaptainB
e6c2e4fb13 feat: enhance knowledge retrieval with JSON metadata support 2025-06-18 16:10:24 +08:00
wxg0103
3498d799cf refactor: permission 2025-06-18 16:06:18 +08:00
CaptainB
45508b08a3 fix: update file extension from .fx to .tool in export functionality 2025-06-18 15:28:07 +08:00
CaptainB
f4e15d76a0 feat: add is_active field to tool and tool_folder queries 2025-06-18 15:22:05 +08:00
CaptainB
707094359b feat: add icon field to tool and tool_folder queries 2025-06-18 15:13:22 +08:00
zhangzhanwei
4eb594598c feat: Permission update 2025-06-18 15:10:01 +08:00
CaptainB
c056cd85ac fix: allow null values for tool edit request fields 2025-06-18 15:09:16 +08:00
wxg0103
b16d1d68dc refactor: user 2025-06-18 14:01:43 +08:00
shaohuzhang1
4205dc902f
fix: permission (#3292) 2025-06-18 13:33:49 +08:00
shaohuzhang1
fb4880f3f4
fix: redis db (#3291) 2025-06-18 12:24:26 +08:00
shaohuzhang1
5e9a7583a3
fix: ui 404 (#3290) 2025-06-18 12:14:40 +08:00
shaohuzhang1
a08dd98ffb
fix: permission (#3289) 2025-06-18 11:26:21 +08:00
CaptainB
fbc37edf3c fix: include workspace_id in batch save for document processing 2025-06-17 20:20:35 +08:00
shaohuzhang1
d0ba49456f
fix: chat user token (#3284) 2025-06-17 20:08:39 +08:00
CaptainB
62d0089c9e fix: change HTTP methods from GET to PUT for document synchronization endpoints 2025-06-17 19:00:30 +08:00
CaptainB
0d36704f63 fix: correct position parameter usage in adjust_position method 2025-06-17 18:31:11 +08:00
CaptainB
9221c7c93a fix: remove default model reference from embedding_model and add export paths for templates 2025-06-17 17:20:00 +08:00
shaohuzhang1
a93d7ca6d7
feat: chat captcha (#3279) 2025-06-17 15:01:59 +08:00
CaptainB
9ab90a7b21 fix: update ToolCreateRequest to ToolEditRequest for validation in edit method 2025-06-17 15:00:41 +08:00
shaohuzhang1
695773df7d
fix: user role (#3278) 2025-06-17 14:47:17 +08:00
CaptainB
3c39c508cf fix: set paragraph positions based on maximum existing position 2025-06-17 14:21:11 +08:00
CaptainB
93daee5bc7 fix: remove required label from workspace_id in Pylint serializer 2025-06-17 14:07:56 +08:00
CaptainB
119f678224 fix: update paragraph ordering and adjust position during bulk creation 2025-06-17 13:23:34 +08:00
shaohuzhang1
00e486c3fe
feat: chat message ui (#3275) 2025-06-17 11:58:35 +08:00
wxg0103
863e08120a refactor: model 2025-06-16 21:04:46 +08:00
wxg0103
63eefa3ffa refactor: model 2025-06-16 20:46:04 +08:00
CaptainB
77a824235f fix: correct embedding_model_id references in SQL and Vue files 2025-06-16 20:16:23 +08:00
CaptainB
8e93e1ea2e fix: handle None source_file_id in link_file method 2025-06-16 16:57:10 +08:00
wxg0103
f773792424 refactor: log add workspace_id 2025-06-16 16:31:28 +08:00
shaohuzhang1
60b3bcdd64
feat: operate log workspace (#3266) 2025-06-16 16:28:07 +08:00
wxg0103
d8ca74a2f5 refactor: xpack license 2025-06-16 15:08:33 +08:00
shaohuzhang1
1ea78ea0c7
fix: role authentication (#3263) 2025-06-16 14:05:08 +08:00
CaptainB
8fd4541d67 fix: add psutil dependency version 7.0.0 to pyproject.toml 2025-06-16 13:34:24 +08:00
CaptainB
b8f80931d2 fix: update default folder reference from 'root' to 'default' in multiple models 2025-06-16 12:59:51 +08:00
CaptainB
cbcad3cc83 fix: update default folder reference from 'root' to 'default' in multiple models 2025-06-16 11:42:28 +08:00
CaptainB
7aa0b10f93 fix: update Dockerfile to use 'build-only' command for UI build process 2025-06-16 11:33:20 +08:00
shaohuzhang1
719ad9c9c1
Update django.po 2025-06-13 23:57:51 +08:00
wxg0103
f4efdca5ed refactor: permission 2025-06-13 18:36:01 +08:00
CaptainB
43087e7ca3 feat: add compilation and installation scripts for MaxKB project 2025-06-13 17:58:52 +08:00
shaohuzhang1
b6fb059512
feat: web ui (#3257) 2025-06-13 17:35:25 +08:00
shaohuzhang1
9558e4053d
feat chat ui (#3253) 2025-06-13 16:17:02 +08:00
shaohuzhang1
f7349d2b3d
feat local model config (#3252) 2025-06-13 15:31:51 +08:00
shaohuzhang1
466175fb19
perf: workflow chat (#3247) 2025-06-13 12:01:08 +08:00
CaptainB
54578eff33 fix: update logging messages to reflect new MaxKB branding 2025-06-13 11:18:39 +08:00
shaohuzhang1
bf630b9d07
feat: workflow application debug chat (#3245) 2025-06-12 21:10:10 +08:00
shaohuzhang1
c7e30bb098
feat: simple application debug chat (#3244) 2025-06-12 20:07:31 +08:00
wxg0103
02e7cacb10 refactor: user reset password 2025-06-12 19:16:30 +08:00
CaptainB
156b490f1a fix: add workspace_id to knowledge retrieval 2025-06-12 18:22:00 +08:00
CaptainB
42c6157404 fix: add workspace_id to knowledge retrieval 2025-06-12 18:09:08 +08:00
CaptainB
dad309193a fix: add workspace_id to knowledge retrieval 2025-06-12 18:06:28 +08:00
CaptainB
a3e2e8b548 fix: change workspace_id field type from UUIDField to CharField in serializers 2025-06-12 17:47:41 +08:00
CaptainB
10cbfcf795 fix: change workspace_id field type from UUIDField to CharField in document serializer 2025-06-12 17:46:12 +08:00
shaohuzhang1
14ae7864aa
fix: resource permission auth (#3243) 2025-06-12 17:10:33 +08:00
CaptainB
bba9e62d43 fix: add migrations for altering workspace_id and creating ModelWorkspaceAuthorization 2025-06-12 16:32:40 +08:00
CaptainB
9a7281212d fix: update image URL paths to use OSS endpoints 2025-06-12 15:49:54 +08:00
shaohuzhang1
e5e993986c
feat: application chat debug (#3241) 2025-06-12 15:21:59 +08:00
CaptainB
31838f8099 fix: update embedding_mode_id to embedding_model_id across multiple files 2025-06-12 15:12:26 +08:00
CaptainB
64d5217dc9 fix: update folder_id retrieval to use workspace_id from localStorage 2025-06-12 14:29:00 +08:00
CaptainB
3f5180d54d fix: remove default value for folder_id and use workspace_id instead 2025-06-12 11:52:46 +08:00
wxg0103
6ad9682465 refactor: add switch language 2025-06-12 11:25:19 +08:00
wxg0103
e0d08ac590 refactor: add switch language 2025-06-12 11:25:07 +08:00
CaptainB
e81a7962b8 fix: add scope field to knowledge serializers and update related SQL queries 2025-06-11 20:35:25 +08:00
CaptainB
ace03e5b5a fix: enhance knowledge retrieval logic with dynamic SQL selection based on workspace management 2025-06-11 20:07:33 +08:00
CaptainB
0695b281d8 fix: enhance knowledge retrieval logic with dynamic SQL selection based on workspace management 2025-06-11 20:06:13 +08:00
wxg0103
16482af519 refactor: chat user add login auth 2025-06-11 19:36:35 +08:00
wxg0103
6c342e02f0 refactor: add all user list 2025-06-11 18:29:26 +08:00
CaptainB
ba0dcf6b1b feat: enhance permission checks by incorporating role constants for workspace management 2025-06-11 17:00:14 +08:00
wxg0103
874dd34cba refactor: user add log 2025-06-11 16:40:09 +08:00
shaohuzhang1
59d78679b0
feat: application add workspace manage role (#3235) 2025-06-11 15:21:01 +08:00
CaptainB
c758059fe4 feat: add migration to insert default data for ToolFolder and KnowledgeFolder 2025-06-11 15:07:38 +08:00
CaptainB
9877c825bc fix: update check_depth function to include workspace_id for folder hierarchy validation 2025-06-11 14:58:08 +08:00
CaptainB
b63bd8bbea fix: update check_depth function to include workspace_id for folder hierarchy validation 2025-06-11 14:56:49 +08:00
wxg0103
fa818fc6e8 refactor: workspace add user member 2025-06-11 14:27:06 +08:00
wxg0103
7ca61274f2 refactor: workspace add user member 2025-06-11 14:15:49 +08:00
shaohuzhang1
f5baae4117
fix: application page (#3233) 2025-06-11 12:21:13 +08:00
wxg0103
c07fd323bf refactor: workspace add user member 2025-06-11 11:35:47 +08:00
wxg0103
bec1cbd000 refactor: workspace add user member 2025-06-11 11:25:26 +08:00
CaptainB
840fa68b98 fix: rename parameter in put method for clarity 2025-06-11 10:35:13 +08:00
shaohuzhang1
e0bfe0cd73
fix: Modify openAPI description (#3231) 2025-06-10 21:03:50 +08:00
shaohuzhang1
87ab2178bf
feat: application chat log (#3230) 2025-06-10 20:35:20 +08:00
wxg0103
cfafc3f0ba refactor: cache 2025-06-10 19:50:33 +08:00
wxg0103
e6e3acdfea refactor: log add workspace_id 2025-06-10 14:50:25 +08:00
CaptainB
982604d39a fix: change order of query results to ascending by creation time 2025-06-10 13:03:50 +08:00
wxg0103
bc91e94079 refactor: add shared model 2025-06-10 11:30:15 +08:00
wxg0103
3233058146 refactor: permission 2025-06-10 11:29:30 +08:00
shaohuzhang1
5f19924f9f
perf: model manage (#3226) 2025-06-09 21:09:51 +08:00
shaohuzhang1
6a0a57e785
feat: application stats (#3225) 2025-06-09 21:08:04 +08:00
shaohuzhang1
e8886d5c65
feat: application api key (#3224) 2025-06-09 20:25:58 +08:00
CaptainB
56dc0c89de feat: alter document and paragraph status fields and update foreign key constraints 2025-06-09 19:12:52 +08:00
wxg0103
68201d3f87 refactor: model 2025-06-09 19:08:50 +08:00
CaptainB
42509f46ab feat: update permission constants and views for system knowledge management 2025-06-09 18:59:13 +08:00
CaptainB
9ccb501a90 feat: update permission constants and views for system knowledge management 2025-06-09 18:42:21 +08:00
shaohuzhang1
5da47a140d
feat: Access restrictions (#3222) 2025-06-09 18:40:56 +08:00
CaptainB
fff46e5c28 feat: add workspace_id field to Create serializer in paragraph.py 2025-06-09 17:56:24 +08:00
CaptainB
f1e19a1ace feat: add resource management module with CRUD operations and permissions 2025-06-09 17:56:24 +08:00
CaptainB
2b097e5c97 feat: update problem serializers to use ListField for batch requests 2025-06-09 17:38:08 +08:00
shaohuzhang1
c83bce3cef
fix: anonymous authentication (#3216) 2025-06-09 16:57:04 +08:00
wxg0103
6e0e0d2366 refactor: model api 2025-06-09 16:32:29 +08:00
shaohuzhang1
66c868e71f
fix: anonymous authentication (#3214) 2025-06-09 16:25:18 +08:00
shaohuzhang1
3807cf1960
feat: application chat (#3213) 2025-06-09 16:18:43 +08:00
wxg0103
5f10b70e24 refactor: tools add default workspace_id 2025-06-09 15:26:21 +08:00
wxg0103
07caf1ffa5 refactor: add share model 2025-06-09 15:10:13 +08:00
wxg0103
c0eac6d97c refactor: model 2025-06-09 14:28:17 +08:00
wxg0103
515e8555aa refactor: cache 2025-06-09 11:16:50 +08:00
wxg0103
980a27bb74 refactor: add logout 2025-06-07 19:05:27 +08:00
wxg0103
8d40004c67 refactor: add logout 2025-06-07 19:03:18 +08:00
wxg0103
b8b14884bd refactor: add application settings 2025-06-07 17:57:11 +08:00
shaohuzhang1
7d898d870c
feat: add application migrations (#3208) 2025-06-06 22:59:00 +08:00
shaohuzhang1
b2b5c331fa
fix: setup error (#3207) 2025-06-06 22:32:17 +08:00
shaohuzhang1
165de1ad73
feat: chat authentication (#3206) 2025-06-06 22:28:21 +08:00
CaptainB
7abd9dfb71 refactor: improve code formatting and enhance folder_id handling in knowledge serializers 2025-06-06 18:54:59 +08:00
wxg0103
c3c6a551ae refactor: application add chat_background 2025-06-06 18:26:51 +08:00
CaptainB
2fccb9db67 feat: add shared document and paragraph views with related permissions 2025-06-06 17:55:06 +08:00
wxg0103
66d4b6c81a refactor: application add show_exec 2025-06-06 17:17:52 +08:00
wxg0103
8ab4456ec3 refactor: permission 2025-06-06 17:05:25 +08:00
CaptainB
16dc78d5a4 feat: implement pagination and deletion for shared knowledge API 2025-06-06 15:45:21 +08:00
CaptainB
c0ea174275 feat: implement pagination and deletion for shared knowledge API 2025-06-06 15:42:02 +08:00
wxg0103
927b12a5ca refactor: delete dbmodelManage 2025-06-06 15:18:28 +08:00
CaptainB
643200cc06 feat: add scope field to knowledge creation serializers and update related views 2025-06-06 15:13:17 +08:00
CaptainB
a2cc83ec31 style: format URL paths for consistency in spacing 2025-06-06 14:43:40 +08:00
CaptainB
fd441b6986 feat: add file_size_limit and file_count_limit to list_knowledge.sql 2025-06-06 13:14:33 +08:00
wxg0103
4d76f08b14 refactor: file to oss 2025-06-06 12:31:41 +08:00
CaptainB
448bbb3aae feat: rename CELERY_ACKS_LATE to CELERY_TASK_ACKS_LATE for consistency 2025-06-06 12:30:39 +08:00
CaptainB
fc11fcf0e1 feat: add file_count_limit to knowledge model and create KnowledgeWorkspaceAuthorization model 2025-06-06 12:04:02 +08:00
wxg0103
b17cf3fea8 refactor: file to oss 2025-06-06 12:03:25 +08:00
wxg0103
93833849c1 refactor: file to oss 2025-06-06 11:42:31 +08:00
zhangzhanwei
6f2f4d93bb feat: Locations 2025-06-06 10:46:16 +08:00
CaptainB
8f98b7188d feat: add INTERNAL scope to tools and update related SQL queries 2025-06-05 20:22:39 +08:00
wxg0103
0cb33dad5a feat: ui add system settings 2025-06-05 19:47:47 +08:00
wxg0103
40df595173 refactor: model 2025-06-05 18:39:35 +08:00
wxg0103
d05d82106e refactor: model 2025-06-05 18:37:51 +08:00
CaptainB
fee5993c22 feat: add SQL query for embedding text and update model API routes to remove workspace_id 2025-06-05 18:35:31 +08:00
CaptainB
269960649d feat: add gunicorn and python-daemon dependencies to pyproject.toml 2025-06-05 17:56:42 +08:00
CaptainB
a4b6570110 feat: rename tool_type to scope and update related query parameters for tool filtering 2025-06-05 16:27:54 +08:00
zhangzhanwei
e63572b89b feat: System operate log 2025-06-05 14:12:14 +08:00
CaptainB
5cb7fc8d9a feat: refactor shared tool API to utilize ToolSerializer for create, update, and import operations 2025-06-05 11:12:17 +08:00
CaptainB
f5bc003aaf feat: update knowledge permissions to include resource permission groups for various operations 2025-06-05 10:37:55 +08:00
CaptainB
7998133e35 feat: update permission constants for knowledge documents and problems to include resource permission groups 2025-06-05 10:31:29 +08:00
CaptainB
0ca2c72e52 feat: update permission check to use workspace permission for knowledge read operations 2025-06-05 10:17:04 +08:00
CaptainB
6cb3ae74d9 feat: update permission checks to use workspace knowledge permissions for document and knowledge operations 2025-06-05 10:12:59 +08:00
wxg0103
74ce98c39b refactor: gemini 2025-06-05 09:12:38 +08:00
CaptainB
26f84338d6 feat: update folder serializer to remove allow_null and allow_blank from workspace_id and parent_id 2025-06-04 20:34:07 +08:00
shaohuzhang1
1641039fd2
feat: application version (#3194) 2025-06-04 20:14:52 +08:00
CaptainB
8b9e03d7cf feat: update knowledge retrieval logic and optimize SQL queries for application listing 2025-06-04 19:39:21 +08:00
CaptainB
40137f147b feat: enhance init_params handling with encryption and decryption for tools and shared tools 2025-06-04 19:15:33 +08:00
CaptainB
64e26dd2cc feat: change icon edit method from POST to PUT for tools and shared tools 2025-06-04 19:05:19 +08:00
CaptainB
fd2b1245b8 feat: add debug and edit icon functionalities for tools and shared tools 2025-06-04 18:52:24 +08:00
CaptainB
c775f2a57f feat: add edit icon functionality for tools and shared tools 2025-06-04 18:48:20 +08:00
CaptainB
578fb34361 feat: add import, export, and debug functionalities for shared tools 2025-06-04 18:36:36 +08:00
CaptainB
7a34ba6fe3 feat: add shared resource tool functionality 2025-06-04 17:19:23 +08:00
wxg0103
824e02521c refactor: permission 2025-06-04 17:18:04 +08:00
shaohuzhang1
445a87143b
feat: system profile (#3193) 2025-06-04 17:16:35 +08:00
CaptainB
fb6314cd69 feat: implement file download functionality in document handler 2025-06-04 14:25:01 +08:00
shaohuzhang1
faeee1b92c
feat: log management (#3189) 2025-06-04 14:23:10 +08:00
shaohuzhang1
d92fdb999c
feat: use redis cache (#3185) 2025-06-04 14:21:12 +08:00
shaohuzhang1
bc03deabfc
feat: Resources authorization (#3183) 2025-06-04 13:05:39 +08:00
zhangzhanwei
596dbedd39 fix: Fix Swagger document image upload 2025-06-04 12:01:12 +08:00
CaptainB
d686bc3625 feat: refactor pylint handling and update endpoint for workspace tool 2025-06-04 11:09:58 +08:00
CaptainB
e525f77fa0 feat: refactor pylint handling and update endpoint for workspace tool 2025-06-04 11:08:05 +08:00
CaptainB
56a9e69912 feat: add endpoint to download source files with updated parameter handling 2025-06-04 10:57:32 +08:00
wxg0103
642920e916 refactor: permission 2025-06-04 10:17:17 +08:00
CaptainB
852313217d feat: add migration endpoints for documents and paragraphs with parameter handling 2025-06-03 18:43:41 +08:00
wxg0103
070a5d4ed3 refactor: user add batch delete 2025-06-03 18:35:42 +08:00
CaptainB
efd273b3bc feat: add export and export_zip endpoints for knowledge base and document with image handling 2025-06-03 17:44:13 +08:00
wxg0103
4de998dee2 refactor: user nick_name 2025-06-03 16:48:14 +08:00
CaptainB
aa593f3790 feat: refactor user_id handling and enhance tool query logic 2025-06-03 16:31:07 +08:00
CaptainB
a8a19f357a feat: add endpoint to retrieve embedding model for knowledge base 2025-06-03 16:31:07 +08:00
wxg0103
11ce2e26b5 refactor: permission 2025-06-03 15:54:48 +08:00
CaptainB
15eea403ec feat: remove user_id permission check for embedding model in knowledge processing 2025-06-03 11:24:08 +08:00
CaptainB
787da980b8 feat: rename embedding_mode_id to embedding_model_id across multiple files 2025-06-03 11:20:53 +08:00
shaohuzhang1
43654bddaf
feat: application operate api (#3176) 2025-05-30 20:02:39 +08:00
wxg0103
b1a6c463d0 refactor: user page add role 2025-05-30 11:07:24 +08:00
zhangzhanwei
1dadc06220 feat: System api permission setting 2025-05-29 18:49:00 +08:00
shaohuzhang1
345e588ef6
feat: application list (#3160) 2025-05-28 18:57:09 +08:00
wxg0103
743b04aebf refactor: user role 2025-05-28 17:45:02 +08:00
shaohuzhang1
129d52dff2
fix: common (#3154) 2025-05-28 10:13:47 +08:00
shaohuzhang1
896fb5fa52
feat: application flow (#3152) 2025-05-27 18:24:28 +08:00
wxg0103
0c9d8ccf71 refactor: add login auth permission 2025-05-27 16:17:56 +08:00
shaohuzhang1
6bbb181927
feat: application save (#3151) 2025-05-27 15:21:57 +08:00
wxg0103
30a60c9ab8 refactor: sql 2025-05-27 14:44:57 +08:00
shaohuzhang1
080a6031bd
feat: application save (#3150) 2025-05-27 11:08:55 +08:00
shaohuzhang1
60ff19be17
feat: Application Apikey (#3149)
Co-authored-by: zhangzhanwei <zhanwei.zhang@fit2cloud.com>
2025-05-27 10:41:05 +08:00
wxg0103
ba79dd8582 refactor: user add role setting 2025-05-27 09:47:33 +08:00
shaohuzhang1
41dd3c4f3d
feat: application view init (#3147) 2025-05-26 18:39:53 +08:00