Commit Graph

628 Commits (071f14a9c6b3880ddd3d4aa30c8e2a423a018b5a)

Author SHA1 Message Date
CaptainB da7f0edecd refactor: configure logging levels for mcp and mcp.server 2025-10-21 17:59:25 +08:00
wxg0103 39aaee8e02 fix: handle empty message case in common.py and update username regex validation in user.py 2025-10-20 18:42:55 +08:00
CaptainB c47c70afb0 feat: implement knowledge tag management functionality 2025-10-15 11:35:34 +08:00
zhangzhanwei 89749a3006 feat: Folder authorization backend 2025-10-14 16:33:13 +08:00
CaptainB cae5682110 feat: add smart_split_paragraph function for intelligent text segmentation
--bug=1061634 --user=刘瑞斌 【知识库】知识库智能分段,如果切分段落太长的话,可以按照完整段落进行切分,创建多个片段。 https://www.tapd.cn/62980211/s/1783998
2025-10-13 10:26:06 +08:00
wxg0103 01ba883946 feat: add permission for clearing operation log policy 2025-10-11 15:08:51 +08:00
CaptainB f3ef42b76f chore: enhance re_findall function to handle None and empty string patterns 2025-10-10 10:37:02 +08:00
CaptainB 80629b9574 chore: enhance re_findall function to handle empty patterns and regex errors
--bug=1062401 --user=刘瑞斌 【知识库】知识库文档分段的时候,如果使用的分段标识是文档中不存在的符号,点击生成预览会报错,希望这个报错提示词可以优化一下,方便识别 https://www.tapd.cn/62980211/s/1782047
2025-10-09 13:23:10 +08:00
CaptainB 2922f9e8f2 fix: update current_time formatting to include timezone information
--bug=1062367 --user=刘瑞斌 【知识库】文档状态中的时间与实际时间有时区差 https://www.tapd.cn/62980211/s/1780536
2025-09-28 16:25:19 +08:00
CaptainB df442272e9 feat: add MCP transport validation to ToolExecutor 2025-09-28 15:33:25 +08:00
shaohuzhang1 d92dcd722b
fix: Add file name to prompt when processing images with doc (#4114) 2025-09-25 18:51:21 +08:00
shaohuzhang1 801891de82
fix: OpenAPI authentication (#4110) 2025-09-25 17:16:39 +08:00
shaohuzhang1 4269eeb2c9
docs: OpenAPI request URL (#4070) 2025-09-22 11:51:59 +08:00
zhangzhanwei 53082657d7 feat: Remove debug 2025-09-22 10:37:51 +08:00
zhangzhanwei 6a0145758c feat: Remove debug permission 2025-09-19 16:54:24 +08:00
wxg0103 74c454532d feat: enhance user authentication with RSA key handling and encrypted data support 2025-09-18 18:42:55 +08:00
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 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
--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 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 2025-08-05 11:56:04 +08:00
shaohuzhang1 83a1ffb891
feat: Support session variables (#3792) 2025-08-01 17:11:36 +08:00
shaohuzhang1 2de1d817d7
fix: Error response optimization (#3789) 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 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 2025-07-28 10:29:29 +08:00
zhangzhanwei ca070d7466 fix: Model swagger 2025-07-25 18:35:58 +08:00
CaptainB 6ce1eb7116 feat: add create and drop knowledge index functions for improved database management 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 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 2025-07-20 14:16:13 +08:00
CaptainB 6e16c74a5e refactor: improve logging and status updates in embedding methods 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 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