Commit Graph

545 Commits

Author SHA1 Message Date
shaohuzhang1
28b97cd2dd
fix: Access can only be granted after OpenAPI authentication (#3601) 2025-07-15 14:51:50 +08:00
shaohuzhang1
c2f52d0759
fix: Access can only be granted after OpenAPI authentication (#3599) 2025-07-15 13:49:33 +08:00
CaptainB
26df300105 chore: remove diskcache2 dependency from pyproject.toml 2025-07-15 12:56:02 +08:00
wxg0103
243745dc07 feat: update email templates and translations for improved clarity and consistency 2025-07-15 11:42:36 +08:00
shaohuzhang1
3cc272c5e0
fix: chat user (#3591) 2025-07-14 19:27:31 +08:00
wxg0103
1ebfc5882d refactor: reorganize permission constants for document operations 2025-07-14 16:34:26 +08:00
wxg0103
ea199e23f1 refactor: reorganize permission constants for MODEL and TOOL to remove duplicates 2025-07-14 16:29:38 +08:00
wxg0103
b53034727f fix: update permission operate type from READ to DOWNLOAD for document access 2025-07-14 16:17:29 +08:00
CaptainB
77af823879 refactor: replace FileLock with utility functions for locking mechanism 2025-07-14 15:49:09 +08:00
CaptainB
ea56fd6212 feat: add db_index to various fields for improved query performance 2025-07-14 11:54:19 +08:00
shaohuzhang1
34842e4ae4
feat: application chat api (#3574) 2025-07-12 17:54:37 +08:00
wxg0103
224fe26f28 feat: add DocHeadersMiddleware to handle document access and redirect unauthorized users 2025-07-12 11:41:50 +08:00
shaohuzhang1
592ae54e82
fix: Application import (#3566) 2025-07-11 21:45:08 +08:00
wxg0103
d781797555 refactor: remove encryption from sensitive fields in auth_config_serializer and related modules 2025-07-11 19:47:32 +08:00
wxg0103
28e89ca6ec refactor: replace encryption function with new encrypt method for sensitive data handling 2025-07-11 19:43:53 +08:00
shaohuzhang1
570bcfbaf2
fix: Crossing does not take effect (#3561) 2025-07-11 17:37:54 +08:00
wxg0103
02afb6a0bc refactor: update API KEY translations and improve formatting in permission constants 2025-07-11 17:24:38 +08:00
shaohuzhang1
210e09681f
feat: Apikey call supports cross domain and application whitelist (#3556) 2025-07-11 11:15:21 +08:00
shaohuzhang1
c370e99304
feat: Support openai dialogue (#3551) 2025-07-10 19:16:47 +08:00
CaptainB
4c9756839a chore: normalize with_filter parameter to boolean in split handle files
--bug=1057879 --user=刘瑞斌 【知识库】高级分段中自动清洗功能未生效 https://www.tapd.cn/62980211/s/1727744
2025-07-10 15:06:19 +08:00
wxg0103
fe78de5d3c feat: add email templates for verification codes in English, Chinese, and Traditional Chinese 2025-07-10 15:02:10 +08:00
shaohuzhang1
9d2fd05604
fix: Token auth (#3543) 2025-07-10 12:07:33 +08:00
shaohuzhang1
3450ef78a4
fix: Application import and export (#3538) 2025-07-09 21:34:41 +08:00
wxg0103
0316afa299 refactor: enhance HTML tag removal in text processing to exclude audio, video, and image tags 2025-07-09 20:34:47 +08:00
liqiang-fit2cloud
a43bde9a01 fix: remove PATH env. 2025-07-09 18:11:36 +08:00
zhangzhanwei
5d8e64cbb2 fix: Chat user permission of common user 2025-07-09 17:42:56 +08:00
CaptainB
e0118f1ce9 chore: remove redundant pickle import in tool_code.py 2025-07-09 15:01:19 +08:00
CaptainB
dc04d46518 refactor: replace diskcache with pickle for result handling and organize sandbox directories 2025-07-09 14:14:23 +08:00
CaptainB
4da75ac3e0 refactor: replace FunctionExecutor with ToolExecutor in base_tool_lib_node and base_tool_node 2025-07-09 12:48:19 +08:00
shaohuzhang1
7ff65aef76
fix: Application import and export (#3525) 2025-07-09 12:35:49 +08:00
liqiang-fit2cloud
217e3ce58d fix: wrong group. 2025-07-09 11:43:38 +08:00
shaohuzhang1
f627daf231
fix: Password authentication (#3507) 2025-07-08 15:49:55 +08:00
shaohuzhang1
90abe70e2e
fix: Resource authorization dirty data (#3506) 2025-07-08 13:44:08 +08:00
zhangzhanwei
1f1d4721eb fix: Tool permission of two common user role 2025-07-08 10:40:54 +08:00
liqiang-fit2cloud
8ee575b32e refactor: disable access log. 2025-07-07 15:04:35 +08:00
CaptainB
cb40d62162 refactor: allow loading of truncated images and increase max pixel limit in common_handle.py
--bug=1057749 --user=刘瑞斌 【知识库】qa问答对文档中带图片,导入后图片未显示 https://www.tapd.cn/62980211/s/1723700
2025-07-04 15:53:37 +08:00
liqiang-fit2cloud
8842319805 fix: fix sandbox_path. 2025-07-04 14:53:01 +08:00
wxg0103
9d1549fc76 feat: add application resource API with pagination and filtering 2025-07-03 18:26:31 +08:00
zhangzhanwei
97269d5445 fix: System common user permission by role 2025-07-03 18:21:57 +08:00
shaohuzhang1
c2256a5305
fix: Community user permissions (#3465) 2025-07-03 15:30:28 +08:00
CaptainB
aa901c7fc7 fix: update file URL paths to use relative references 2025-07-02 22:45:11 +08:00
shaohuzhang1
191e62f96d
fix: role user permission (#3453) 2025-07-02 14:58:02 +08:00
shaohuzhang1
e8418f6f5c
fix: role user permission (#3452) 2025-07-02 14:26:57 +08:00
zhangzhanwei
8b40762218 fix: Application permission 2025-07-02 14:19:11 +08:00
CaptainB
5ac0b2be3d refactor: simplify cache timeout handling in user token management 2025-07-02 12:43:50 +08:00
CaptainB
6068530cdd refactor: update locking mechanism to use a consistent key format and set default timeout 2025-07-02 12:36:43 +08:00
CaptainB
0ad38e2540 refactor: improve document status update logic and enhance post handler functionality 2025-07-02 11:44:45 +08:00
zhanweizhang7
b71a854d7c
feat: Shared knowledge access permission (#3450) 2025-07-02 11:35:14 +08:00
zhangzhanwei
a4143eed23 feat: hit test permission 2025-07-01 18:12:31 +08:00
CaptainB
089915f488 refactor: improve error logging for image reading and enhance image handling logic
--bug=1057749 --user=刘瑞斌 【知识库】qa问答对文档中带图片,导入后图片未显示 https://www.tapd.cn/62980211/s/1720856
2025-07-01 14:17:10 +08:00
CaptainB
2cf01dd12c refactor: remove license validation message for community version knowledge bases 2025-07-01 11:08:07 +08:00
zhangzhanwei
60a0c6039e feat: Knowledge chat user permission 2025-06-30 18:23:44 +08:00
wxg0103
e6f9238005 refactor: i18n 2025-06-30 16:39:33 +08:00
shaohuzhang1
2c0a8afd5f
fix: add extends role (#3430) 2025-06-30 15:05:53 +08:00
CaptainB
0f1d57f0cb feat: enhance error logging for file processing in CSV, XLS, and DOC handlers 2025-06-30 12:49:50 +08:00
CaptainB
82a2203be6 fix: handle string type for limit and improve error logging in pdf_split_handle
--bug=1057493 --user=刘瑞斌 【知识库】上传文档,使用高级分段报错 https://www.tapd.cn/62980211/s/1720110
2025-06-30 12:47:47 +08:00
shaohuzhang1
91e2dd7ea6
feat: add extends role (#3428) 2025-06-30 11:50:59 +08:00
shaohuzhang1
8e29562e30
feat: Knowledge chat user permission (#3426) 2025-06-30 11:08:30 +08:00
shaohuzhang1
f5ee7b5c25
feat: user resource permission (#3424) 2025-06-30 10:47:28 +08:00
CaptainB
7862c17b21 refactor: remove debug print statement for session timeout in UserToken class 2025-06-28 19:44:19 +08:00
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