Commit Graph

1646 Commits

Author SHA1 Message Date
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