Commit Graph

1523 Commits

Author SHA1 Message Date
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)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-09 11:16:50 +08:00
wxg0103 980a27bb74 refactor: add logout
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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