Commit Graph

535 Commits

Author SHA1 Message Date
CaptainB
1dc6d6e8ba feat: add session timeout configuration to Config class 2025-06-28 19:43:40 +08:00
shaohuzhang1
d4d7bdde41
feat: user resource permission ui (#3423) 2025-06-27 22:38:00 +08:00
shaohuzhang1
c5bdada6dc
feat: user resource permission (#3422) 2025-06-27 22:22:52 +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
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
zhangzhanwei
530928af38 fix: System router permission 2025-06-26 21:03:10 +08:00
wxg0103
e1c37636d6 refactor: resource model list 2025-06-26 19:54:28 +08:00
CaptainB
d49f448a5f fix: correct image path replacement logic in zip_split_handle 2025-06-26 17:02:34 +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
shaohuzhang1
ea7b8547be
fix: user permission (#3390) 2025-06-25 20:37:27 +08:00
shaohuzhang1
6cdd8ffe39
feat: add download operate permission (#3388) 2025-06-25 17:57:55 +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
CaptainB
fe8f87834d refactor: replace logging with maxkb_logger for consistent logging across modules 2025-06-25 16:46:50 +08:00
CaptainB
3aa0847506 refactor: replace print statements with logging for improved error tracking 2025-06-25 16:18:19 +08:00
shaohuzhang1
275ec80701
feat: chat record (#3374) 2025-06-24 17:44:59 +08:00
wxg0103
c253e8b696 refactor: remove print 2025-06-24 15:30:42 +08:00
CaptainB
2ab57802f4 feat: update sys.path to exclude multiple directories in tool_code.py 2025-06-24 14:45:05 +08:00
CaptainB
d459beb1a0 feat: update Python package paths in tool_code.py and Dockerfile 2025-06-24 14:08:18 +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
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
shaohuzhang1
f32f158876
fix: application permission label (#3345) 2025-06-23 13:46:50 +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
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
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
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
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
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
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
wxg0103
395f3f91ec refactor: i18n 2025-06-18 20:17:01 +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
wxg0103
ee1ca6fb23 refactor: permission 2025-06-18 16:12:54 +08:00
wxg0103
3498d799cf refactor: permission 2025-06-18 16:06:18 +08:00
shaohuzhang1
4205dc902f
fix: permission (#3292) 2025-06-18 13:33:49 +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
shaohuzhang1
d0ba49456f
fix: chat user token (#3284) 2025-06-17 20:08:39 +08:00
shaohuzhang1
695773df7d
fix: user role (#3278) 2025-06-17 14:47:17 +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
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
CaptainB
54578eff33 fix: update logging messages to reflect new MaxKB branding 2025-06-13 11:18:39 +08:00
CaptainB
9a7281212d fix: update image URL paths to use OSS endpoints 2025-06-12 15:49:54 +08:00
wxg0103
16482af519 refactor: chat user add login auth 2025-06-11 19:36:35 +08:00
shaohuzhang1
59d78679b0
feat: application add workspace manage role (#3235) 2025-06-11 15:21:01 +08:00
shaohuzhang1
f5baae4117
fix: application page (#3233) 2025-06-11 12:21:13 +08:00
shaohuzhang1
87ab2178bf
feat: application chat log (#3230) 2025-06-10 20:35:20 +08:00
wxg0103
e6e3acdfea refactor: log add workspace_id 2025-06-10 14:50:25 +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
e8886d5c65
feat: application api key (#3224) 2025-06-09 20:25:58 +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
CaptainB
f1e19a1ace feat: add resource management module with CRUD operations and permissions 2025-06-09 17:56:24 +08:00
shaohuzhang1
c83bce3cef
fix: anonymous authentication (#3216) 2025-06-09 16:57:04 +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
515e8555aa refactor: cache 2025-06-09 11:16:50 +08:00
wxg0103
b8b14884bd refactor: add application settings 2025-06-07 17:57:11 +08:00
shaohuzhang1
165de1ad73
feat: chat authentication (#3206) 2025-06-06 22:28:21 +08:00
CaptainB
2fccb9db67 feat: add shared document and paragraph views with related permissions 2025-06-06 17:55:06 +08:00
wxg0103
8ab4456ec3 refactor: permission 2025-06-06 17:05:25 +08:00
wxg0103
927b12a5ca refactor: delete dbmodelManage 2025-06-06 15:18:28 +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
93833849c1 refactor: file to oss 2025-06-06 11:42:31 +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
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
shaohuzhang1
1641039fd2
feat: application version (#3194) 2025-06-04 20:14:52 +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
shaohuzhang1
faeee1b92c
feat: log management (#3189) 2025-06-04 14:23:10 +08:00
zhangzhanwei
596dbedd39 fix: Fix Swagger document image upload 2025-06-04 12:01:12 +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
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
11ce2e26b5 refactor: permission 2025-06-03 15:54:48 +08:00
shaohuzhang1
43654bddaf
feat: application operate api (#3176) 2025-05-30 20:02:39 +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
shaohuzhang1
129d52dff2
fix: common (#3154) 2025-05-28 10:13:47 +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
shaohuzhang1
1aa8fe28ef
feat: delete workflow (#3145) 2025-05-26 16:01:43 +08:00
wxg0103
c0b676ed16 refactor: permission 2025-05-23 18:08:25 +08:00
wxg0103
abadff25e5 refactor: login captcha 2025-05-21 10:35:17 +08:00
wxg0103
f2b0af25da refactor: permission constants 2025-05-19 16:30:31 +08:00
wxg0103
f618dd4f99 refactor: permission constants 2025-05-19 14:26:45 +08:00
wxg0103
0a1d5c4fbf refactor: permission constants 2025-05-16 18:23:27 +08:00
CaptainB
c3581be9bd fix: rename image_name to file_name in zip_split_handle and remove workspace_id assignment in document 2025-05-13 12:47:59 +08:00
CaptainB
680475cb97 feat: add new permission constants for knowledge documents, paragraphs, and problems 2025-05-13 10:58:56 +08:00
CaptainB
5ca3151e90 fix: update permission constants for document operations and adjust serializer field options 2025-05-12 18:34:15 +08:00
shaohuzhang1
5ebfe9b5dd
feat: workflow init (#3072) 2025-05-09 18:55:53 +08:00
wxg0103
a90f6c89cb refactor: email setting 2025-05-07 18:09:45 +08:00
shaohuzhang1
bcf6ccee20
refactor: File model (#3050) 2025-05-07 11:45:00 +08:00
shaohuzhang1
115e11052c
feat: Resources authorization (#3039) 2025-05-06 18:35:11 +08:00
CaptainB
e702af8c2b feat: enhance Document API with workspace ID support for get, put, and delete operations 2025-05-06 15:24:36 +08:00
CaptainB
0d3eb431f6 feat: implement batch processing for document creation, synchronization, and deletion 2025-04-30 18:04:40 +08:00
CaptainB
43bef216d5 refactor: reorganize file handling imports into a structured directory 2025-04-30 16:08:17 +08:00
CaptainB
48297d81e5 feat: add initial implementations of various file handling classes for CSV, XLS, and XLSX formats 2025-04-30 15:52:58 +08:00
CaptainB
4dcd150c8d refactor: improve code readability and formatting in common, knowledge, and paragraph modules 2025-04-30 09:57:11 +08:00
CaptainB
870fabe187 chore: add init file for every folder 2025-04-29 10:31:49 +08:00
CaptainB
770089e432 feat: add initial implementation of document and paragraph models with serializers 2025-04-29 10:04:34 +08:00
wxg0103
06f834b7e3 feat: user manage 2025-04-28 17:36:56 +08:00
shaohuzhang1
5481b8a2aa feat: auth 2025-04-28 14:41:46 +08:00
shaohuzhang1
118db9dd14
fix: authentication errors (#3012) 2025-04-28 13:03:54 +08:00
CaptainB
ee37d7c320 feat: implement web knowledge synchronization with ForkManage and related handlers 2025-04-28 11:27:59 +08:00
shaohuzhang1
c79479d80b
feat: User profile returns permission role information (#3005) 2025-04-27 18:27:35 +08:00
shaohuzhang1
7bda26d92a
feat: Improve workspace resource authorization (#3004) 2025-04-27 18:14:50 +08:00
wxg0103
bca128ec39 feat: support create user 2025-04-27 16:26:40 +08:00
CaptainB
724686762e feat: add knowledge management API and permissions 2025-04-25 18:18:47 +08:00
wxg0103
7f492b4d92 refactor: openai 2025-04-25 17:53:22 +08:00
CaptainB
3205ff2a65 feat: add knowledge management 2025-04-25 14:58:22 +08:00
CaptainB
ec643fca7f feat: add initial model structure for knowledge management 2025-04-25 14:06:23 +08:00
CaptainB
4c38e8a82b feat: add dynamic SQL execution and pagination functionality with custom query compiler 2025-04-24 11:37:11 +08:00
CaptainB
fbb4e7d449 feat: add __init__.py file to initialize the package 2025-04-24 11:10:58 +08:00
CaptainB
bbd7079166 feat: add import and export endpoints to ToolView for workspace tools 2025-04-22 17:06:39 +08:00
wxg0103
6f6b163416 feat: add model setting 2025-04-18 17:45:15 +08:00
CaptainB
0b8f5d7597 feat: implement CRUD operations for tools with API views 2025-04-18 16:42:46 +08:00
CaptainB
8f0dd16949 fix: improve module tree query to use Q object for filtering by workspace_id 2025-04-18 15:01:34 +08:00
liqiang-fit2cloud
ffe8900fb2 build: init directory. 2025-04-18 14:10:16 +08:00
CaptainB
d49fd74305 feat: add ToolModule model and API for managing tool modules with workspace support 2025-04-18 13:33:29 +08:00
shaohuzhang1
dcb77bbe16
feat: Captcha (#2913) 2025-04-17 19:16:54 +08:00
wxg0103
063393d659 feat: add model setting 2025-04-17 18:05:31 +08:00
wxg0103
946de675ff feat: add model setting 2025-04-17 18:01:33 +08:00
shaohuzhang1
934871f5c6 feat:Use distcache 2025-04-17 17:16:45 +08:00
shaohuzhang1
9108971fdc
fix: Swagger warning(#2909) 2025-04-17 14:27:58 +08:00
CaptainB
4c23b9aded feat: implement Tool model and related API for Tool management 2025-04-17 14:11:57 +08:00
shaohuzhang1
5f902ef5de
feat: authentication (#2906) 2025-04-16 20:09:00 +08:00
shaohuzhang1
04642eb497 feat: authentication 2025-04-15 20:37:38 +08:00
shaohuzhang1
e58a5507a9 init project 2025-04-14 20:11:23 +08:00
CaptainB
c78a6babb6 ci: v2 2025-04-11 15:47:59 +08:00