Commit Graph

569 Commits

Author SHA1 Message Date
CaptainB
638a09d4f4 chore: redirect access logs to /dev/null in gunicorn and local_model 2025-07-18 10:40:46 +08:00
CaptainB
03ba4df625 fix: update Gunicorn access log file configuration to use stdout 2025-07-17 21:43:27 +08:00
CaptainB
7eeb42c9fd refactor: replace Status with State for consistent status handling 2025-07-17 16:59:12 +08:00
CaptainB
9e80a652c4 refactor: replace try_lock and un_lock with RedisLock for improved locking mechanism 2025-07-17 15:34:11 +08:00
liqiang-fit2cloud
c96de7a5f5 refactor: change log level. 2025-07-17 09:55:21 +08:00
wxg0103
8231ae66e4 refactor: update license validation logic to ensure proper function calls 2025-07-16 18:23:13 +08:00
CaptainB
8adca34c88 refactor: change log level from info to debug for clean_debug_file_lock 2025-07-16 17:20:22 +08:00
CaptainB
f385bb3aec refactor: rename validation method to follow naming conventions 2025-07-16 16:42:26 +08:00
CaptainB
948ec2fde6 refactor: centralize scheduler initialization and improve logging in job files 2025-07-16 16:25:23 +08:00
liqiang-fit2cloud
caf89e39a7 Merge remote-tracking branch 'origin/v2' into v2 2025-07-16 16:24:50 +08:00
liqiang-fit2cloud
e982bb0ca1 feat: add MAXKB_SANDBOX_PYTHON_BANNED_KEYWORDS env to ban keywords in tool content. 2025-07-16 16:24:41 +08:00
CaptainB
b1144d5ee9 refactor: centralize scheduler initialization and improve logging in job files 2025-07-16 16:23:55 +08:00
shaohuzhang1
2febd83a68
fix: Application apikey call failed (#3629) 2025-07-16 15:52:13 +08:00
shaohuzhang1
d76c85ca3b
fix: Interface parameters disappear after dialogue password authentication (#3626) 2025-07-16 14:10:11 +08:00
liqiang-fit2cloud
232e90fd12 refactor: change log level. 2025-07-16 14:09:07 +08:00
wxg0103
97061073c1 fix: reorder OTHER permission constant in permission_constants.py 2025-07-16 14:03:03 +08:00
shaohuzhang1
e4c1c39972
fix: Startup error (#3622) 2025-07-16 10:15:45 +08:00
wxg0103
c035dc5f39 fix: remove empty lines from text before text-to-speech conversion 2025-07-16 10:12:49 +08:00
shaohuzhang1
df9245a5a4
feat: Access num reset job (#3614) 2025-07-15 18:35:00 +08:00
wxg0103
5c1f105cab feat: update resource management permissions and localization strings 2025-07-15 18:22:42 +08:00
wxg0103
89dcac64e6 feat: add is_show parameter to Permission class to control frontend visibility 2025-07-15 18:05:38 +08:00
shaohuzhang1
dd2fbb5c98
fix: Scheduled file scheduled deletion (#3613) 2025-07-15 18:02:25 +08:00
CaptainB
816825d5de fix: remove unnecessary db_index from content field in models
--bug=1058812 --user=刘瑞斌 【知识库】多选问题批量关联分段,向量数据没有关联,导致向量检索结果为空 https://www.tapd.cn/62980211/s/1732046
2025-07-15 17:48:21 +08:00
shaohuzhang1
158bd2f43b
fix: rsa_key cache setting (#3610) 2025-07-15 17:21:18 +08:00
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