Commit Graph

662 Commits

Author SHA1 Message Date
shaohuzhang1 7264545ab6
feat: Support loop node (#4045) 2025-09-16 15:49:49 +08:00
zhangzhanwei 76766ebc23 fix: Information regarding role permissions management has not been internationalised.
--bug=1061417 --user=张展玮 【国际化BUG】2.10版本,角色权限管理的信息没有国际化 https://www.tapd.cn/62980211/s/1768834
2025-09-08 10:30:59 +08:00
CaptainB 383957abb3 chore: update regex pattern and file path in common.py
--bug=1061351 --user=刘瑞斌 【知识库】知识库导出zip没有图片 https://www.tapd.cn/62980211/s/1768275
2025-09-05 11:48:14 +08:00
CaptainB b5005e4744 fix: correct JSON serialization in exec_code method
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-09-04 18:10:11 +08:00
CaptainB 817d5bcd5a chore: replace pickle with json for data serialization in tool_code.py 2025-09-04 16:42:59 +08:00
CaptainB 59efb68bb5 feat: add model caching to get_dynamics_model function in search.py 2025-09-02 14:20:41 +08:00
wxg0103 d9ad9aabf2 chore: update file hashes for community and fix formatting in permission_constants.py 2025-09-01 17:35:08 +08:00
shaohuzhang1 f6aaac4e00
perf: Parsing Tokens (#3964) 2025-08-29 11:54:16 +08:00
CaptainB 75c461f385 chore: replace datetime.now() with timezone.now() for consistent time handling 2025-08-29 10:16:53 +08:00
zhangzhanwei d69a753491 feat: Permission constants 2025-08-26 18:35:13 +08:00
zhangzhanwei e28c858351 fix: Application menu displays conversation users and conversation logs
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
--bug=1060818 --user=张展玮 【应用】应用只授权用户查看权限,详情页,没有展示对话用户、对话日志菜单 https://www.tapd.cn/62980211/s/1760973
2025-08-25 18:30:05 +08:00
wxg0103 044465fcc6 feat: enhance model credential validation and support for multiple API versions 2025-08-18 16:46:27 +08:00
zhangzhanwei 2714a941f9 feat: Resource authorization permission 2025-08-18 14:24:31 +08:00
CaptainB af4f9e5139 fix: improve default parameter handling in MCP tool code generation 2025-08-13 13:37:00 +08:00
CaptainB 3830ee920d feat: enhance function parameter handling to support default values 2025-08-13 12:44:39 +08:00
CaptainB 5e99770999 feat: enhance MCP tool execution with unique ID generation and improved file handling 2025-08-13 12:30:30 +08:00
CaptainB f0a3391897 refactor: simplify error handling in MCP server code execution 2025-08-13 11:49:37 +08:00
CaptainB 541f1f26c8 feat: refactor MCP code generation and update cleanup logic 2025-08-12 17:23:22 +08:00
CaptainB 1d7a5af626 feat: refactor MCP server code generation and add execution method 2025-08-12 17:13:30 +08:00
liqiang-fit2cloud b1a70b7b99 Merge remote-tracking branch 'origin/v2' into v2
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-12 10:45:02 +08:00
liqiang-fit2cloud 8183858adf refactor: change dir permission. 2025-08-12 10:44:51 +08:00
CaptainB f1356e9b61 feat: add MCP tool support with new form and dropdown options 2025-08-12 10:41:42 +08:00
shaohuzhang1 ca3815e6fe
fix: Create a blank document name with more than 128 characters, prompt message needs to be translated (#3825) 2025-08-06 10:48:24 +08:00
zhangzhanwei d2978906a6 feat: Shared knowledge problem related permission constant
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-08-05 11:56:04 +08:00
shaohuzhang1 83a1ffb891
feat: Support session variables (#3792)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-08-01 17:11:36 +08:00
shaohuzhang1 2de1d817d7
fix: Error response optimization (#3789)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-31 16:17:23 +08:00
zhangzhanwei aee0b251dc fix: Permission constants 2025-07-31 16:07:33 +08:00
CaptainB 6184058e4d feat: implement charset detection utility in fork.py
--bug=1059829 --user=刘瑞斌 【知识库】web导入知识库中文字符乱码 https://www.tapd.cn/62980211/s/1746162
2025-07-31 11:39:02 +08:00
zhangzhanwei 6adc051cad fix: Resource tool permission constants 2025-07-29 15:07:41 +08:00
zhangzhanwei c2b626774c fix: Permission label 2025-07-29 11:01:57 +08:00
zhangzhanwei 9cc051ded4 feat: Knowledge permission constants 2025-07-29 10:28:29 +08:00
zhangzhanwei cac05c747b feat: Permission constants
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-28 18:26:41 +08:00
zhangzhanwei f4ef5f227c fix: Resource model permission 2025-07-28 16:12:55 +08:00
zhangzhanwei 7942b12afa feat: Permission constants 2025-07-28 15:56:58 +08:00
CaptainB 41cb4fedb1 feat: add application access token and API key management endpoints 2025-07-28 11:58:47 +08:00
wxg0103 60c7f78a90 refactor: update resource permission constants for improved clarity
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-28 10:29:29 +08:00
zhangzhanwei ca070d7466 fix: Model swagger
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-07-25 18:35:58 +08:00
CaptainB 6ce1eb7116 feat: add create and drop knowledge index functions for improved database management
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-23 21:42:33 +08:00
CaptainB 567a7612ed refactor: change log level from debug to info for chat log and access number jobs
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-23 10:26:49 +08:00
CaptainB b41b054c49 fix: update LOG_KEEP_DAYS to use CONFIG for configurable log retention 2025-07-22 10:23:14 +08:00
CaptainB 1df333bffc refactor: reorganize post handler and introduce post scheduler handler 2025-07-21 15:52:54 +08:00
CaptainB 6f2db6f488 feat: Implement daily log rotation with DailyTimedRotatingFileHandler
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-20 14:16:13 +08:00
CaptainB 6e16c74a5e refactor: improve logging and status updates in embedding methods
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-07-18 15:21:01 +08:00
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
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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.
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
--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)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
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)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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