Commit Graph

1560 Commits

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