Commit Graph

2095 Commits (b3073c8aade7c19c7d212157e963f1ca488651ca)

Author SHA1 Message Date
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
zhangzhanwei c468952274 feat: Locales 2025-08-11 16:25:52 +08:00
zhangzhanwei 919c4e3f7f feat: Modify the authorization information of resources for users 2025-08-11 15:54:09 +08:00
liqiang-fit2cloud 154fd5e52b refactor: change dir permission. 2025-08-08 18:39:43 +08:00
liqiang-fit2cloud ce52ee3ca7 refactor: change dir permission. 2025-08-08 18:02:10 +08:00
shaohuzhang1 2367b8747e
fix: There is a tool node in the application - the tool node has startup parameters - after importing, the tool should be disabled (#3831) 2025-08-06 16:38:37 +08:00
wxg0103 e84a215114 fix: correct role filtering in user role deletion logic 2025-08-06 15:44:03 +08:00
shaohuzhang1 bd589e50e2
fix: Calling the model using non stream cannot obtain the token (#3826) 2025-08-06 11:00:43 +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
shaohuzhang1 ec12ad0c2e
fix: MCP node display nesting issue (#3822) 2025-08-05 19:23:48 +08:00
shaohuzhang1 44645734f5
fix: There is a tool node in the application - the tool node has startup parameters - after importing, the tool should be disabled (#3821) 2025-08-05 17:30:36 +08:00
CaptainB f668daa902 fix: refactor delete method in DocumentSerializers for improved clarity
--bug=1060005 --user=刘瑞斌 【资源管理】知识库-删除文档报错 https://www.tapd.cn/62980211/s/1749123
2025-08-05 15:08:12 +08:00
shaohuzhang1 9a626efe35
fix: When the reference variable in the workflow is empty, take the value of None (#3814) 2025-08-05 15:07:09 +08:00
zhangzhanwei d2978906a6 feat: Shared knowledge problem related permission constant 2025-08-05 11:56:04 +08:00
shaohuzhang1 f7623dcfdc
feat: Application list search criteria support querying by status (#3803) 2025-08-04 15:38:20 +08:00
shaohuzhang1 fe94ca578e
fix: After the application name change - the application name on the demo page has not been updated (#3800) 2025-08-04 14:02:53 +08:00
CaptainB d635cc24b4 fix: add validation checks in page and list methods of KnowledgeFolder 2025-08-04 11:10:30 +08:00
wxg0103 0e684f2946 chore: update SVG icons in local_icon_svg and modify community file hash
--bug=1059658 --user=王孝刚 【模型】icon 替换 https://www.tapd.cn/62980211/s/1747959
2025-08-04 11:09:50 +08:00
CaptainB 39ac62745e feat: enhance SystemKnowledgeSerializer and related components to support workspace and folder IDs
--bug=1059926 --user=刘瑞斌 【资源管理】知识库文档迁移时,可选择的目标知识库展示了系统所有的知识库 https://www.tapd.cn/62980211/s/1747947
2025-08-04 11:08:44 +08:00
zhangzhanwei 6660552618 fix: Problem related 2025-08-01 17:31:45 +08:00
shaohuzhang1 83a1ffb891
feat: Support session variables (#3792) 2025-08-01 17:11:36 +08:00
shaohuzhang1 efbcec98bc
fix: Opening statement character limit 40960 (#3790) 2025-07-31 16:43:52 +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 4e6d19235b fix: remove unnecessary validation checks for query sets in paragraph handling 2025-07-31 15:41:28 +08:00
CaptainB 7fc0bd2396 fix: simplify validation checks in document and paragraph retrieval methods 2025-07-31 15:37:38 +08:00
wxg0103 3d1ebad70b chore: update commit hashes for community and xpack; modify SQL queries to cast meta as JSON 2025-07-31 15:12:33 +08:00
CaptainB 651b96dbb5 fix: add update_time field to edit_dict for tracking modification time
--bug=1059909 --user=刘瑞斌 【资源管理】工具列表-编辑并保存工具后,工具的更新时间依然展示原来的时间 https://www.tapd.cn/62980211/s/1746435
2025-07-31 14:55:54 +08:00
shaohuzhang1 525af67387
fix: Some nodes cannot obtain data after form collection (#3786) 2025-07-31 14:21:38 +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
wxg0103 9b54fcb048 fix: remove unsupported sync type messages from translations in django.po 2025-07-30 17:34:17 +08:00
wxg0103 dd7b2a7bda feat: enhance chat authentication logic and update model handling for chat platform 2025-07-30 16:44:05 +08:00
wxg0103 83a53e61b6 feat: add translations for OIDC, OAuth2, DingTalk, WeCom, and Lark in multiple languages 2025-07-30 16:11:11 +08:00
wxg0103 1f1a1bbad9 feat: add translations for sync type and configuration error messages in multiple languages 2025-07-30 15:38:12 +08:00
shaohuzhang1 2281202921
fix: The dialogue interface cannot be opened (#3774) 2025-07-30 11:15:40 +08:00
CaptainB a3a124d581 feat: update permission checks to remove row.id dependency and add workspace_id to knowledge retrieval 2025-07-30 09:56:33 +08:00
zhangzhanwei 6adc051cad fix: Resource tool permission constants 2025-07-29 15:07:41 +08:00
wxg0103 a62ed23315 fix: correct gettext usage for application publish error message
--bug=1058890 --user=王孝刚 【应用】应用未发布状态下对话,提示语国际化不对 https://www.tapd.cn/62980211/s/1744119
2025-07-29 15:05:09 +08:00
wxg0103 392aaf9d87 feat: add is_active and source fields to user query parameters
--bug=1059690 --user=王孝刚 【用户管理】筛选项加上:状态、用户来源 https://www.tapd.cn/62980211/s/1744107
2025-07-29 14:53:01 +08:00
zhangzhanwei c2b626774c fix: Permission label 2025-07-29 11:01:57 +08:00
shaohuzhang1 d33ae01d5a
fix: MCP calling node error #3752 (#3762) 2025-07-29 10:48:30 +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 dc9ae84466 feat: enhance permission checks for delete, switch, edit, export, and debug operations 2025-07-28 14:22:30 +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
liqiang-fit2cloud 0eb1cf701e refactor: enable pre_ping explicitly. 2025-07-25 17:19:39 +08:00
shaohuzhang1 65ab0ef170
fix: Interface parameter asker, user cannot be seen in the conversation log #3735 (#3748) 2025-07-25 17:16:05 +08:00
shaohuzhang1 9a706c7ac5
fix: Dialogue prefix (#3746) 2025-07-25 16:38:15 +08:00
CaptainB 4d18b78d29 fix: update SQL queries to improve similarity calculations and indexing 2025-07-24 16:18:53 +08:00
CaptainB 6ce1eb7116 feat: add create and drop knowledge index functions for improved database management 2025-07-23 21:42:33 +08:00
liqiang-fit2cloud fc4a7df669 refactor: recycle db connection to avoid "the connection is closed" exception. 2025-07-23 16:40:58 +08:00
liqiang-fit2cloud 063920ce59 refactor: recycle db connection to avoid "the connection is closed" exception. 2025-07-23 16:28:38 +08:00
CaptainB 3d08263f79 fix: change logging level for django.server to ERROR for improved error handling 2025-07-23 14:22:57 +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 47dd177b7e fix: update CELERY_timezone to use CONFIG.get_time_zone() for improved timezone handling 2025-07-21 18:43:43 +08:00
CaptainB 1df333bffc refactor: reorganize post handler and introduce post scheduler handler 2025-07-21 15:52:54 +08:00
liqiang-fit2cloud 18c0be36a6 refactor: disable pylint output log to console. 2025-07-21 15:35:13 +08:00
shaohuzhang1 e85d5b9714
fix: The conversation user in the workflow cannot be passed into the function (#3685) 2025-07-21 14:47:35 +08:00
CaptainB 2ec98d9c3b fix: update request data handling to use request.data instead of request.query_params 2025-07-21 12:25:17 +08:00
CaptainB b5d2982812 chore: validate transport types in mcp_servers configuration 2025-07-21 11:23:53 +08:00
shaohuzhang1 073e7e31e1
fix: Professional version opens the application dialogue interface with an error message without authorization #3677 (#3679) 2025-07-21 10:45:06 +08:00
CaptainB a25d7b9aa0 chore: update Redis configuration to use unified REDIS_DB setting 2025-07-21 10:41:23 +08:00
CaptainB 6f2db6f488 feat: Implement daily log rotation with DailyTimedRotatingFileHandler 2025-07-20 14:16:13 +08:00
shaohuzhang1 4cf2b74cb8
fix: After enabling application access authentication, closing the public access connection will still display the application login page (#3675) 2025-07-18 18:43:36 +08:00
CaptainB 6e16c74a5e refactor: improve logging and status updates in embedding methods 2025-07-18 15:21:01 +08:00
shaohuzhang1 7e78b7fa81
fix: Multiple recall error when the previous node has no data (#3665) 2025-07-18 11:34:20 +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 a86d286a34 feat: add support for HTTP range requests for audio files 2025-07-17 21:12:13 +08:00
CaptainB 7eeb42c9fd refactor: replace Status with State for consistent status handling 2025-07-17 16:59:12 +08:00
CaptainB 19a1b5a788 refactor: enhance paragraph positioning logic in ApplicationChatRecord 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
shaohuzhang1 c14aa518fb
fix: Community cannot be embedded (#3644) 2025-07-16 21:12:38 +08:00
CaptainB b85ba190db feat: add compression for file storage and retrieval in knowledge.py 2025-07-16 20:54:55 +08:00
shaohuzhang1 8a9e0abe3b
fix: Unable to play voice after publishing (#3643) 2025-07-16 20:49:13 +08:00
shaohuzhang1 925a9b02fa
fix: Dialogue user data debugging has also increased (#3641) 2025-07-16 20:17:20 +08:00
zhangzhanwei 1ea86202b8 fix: Application debug 2025-07-16 19:10:20 +08:00
shaohuzhang1 ca6630f258
fix: Application export misalignment (#3638) 2025-07-16 18:44:51 +08:00
wxg0103 8231ae66e4 refactor: update license validation logic to ensure proper function calls 2025-07-16 18:23:13 +08:00
shaohuzhang1 173cf52584
fix: The startup parameters of the application import tool were not imported (#3636) 2025-07-16 18:22:57 +08:00
wxg0103 778b706776 fix: update license validation logic in profile and user role update functions 2025-07-16 18:03:33 +08:00
shaohuzhang1 c7a9a4d4bd
fix: Floating window image cannot be displayed (#3634)
* fix: After modifying the voice playback settings in the application, save the unpublished settings, and the conversation page should display the settings before modification

* fix: Floating window image cannot be displayed
2025-07-16 17:55:24 +08:00
wxg0103 c817df393f refactor: improve default global variable retrieval logic for better clarity 2025-07-16 17:44:46 +08:00
shaohuzhang1 faebf60478
fix: Third party access without conversation user data (#3632) 2025-07-16 17:20:56 +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
wxg0103 8d28ac27d2 refactor: improve default global variable retrieval logic for better clarity 2025-07-16 17:16:53 +08:00
CaptainB e7f61994ec feat: add validation to prevent usage of 'stdio' in MCP servers 2025-07-16 16:51:30 +08:00
shaohuzhang1 69f004359b
fix: Application debugging will add new users (#3630) 2025-07-16 16:47:32 +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 f91afd593b
fix: Dialogue user does not display username (#3628) 2025-07-16 15:35:33 +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
wxg0103 e5397af848 feat: enhance file handling in serializers and models for improved upload functionality 2025-07-16 11:37:12 +08:00
zhangzhanwei b044554559 fix: Knowledge document paragraph permission 2025-07-16 10:27:38 +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 43c7d1c3c4
fix: User input parameters do not take effect (#3620) 2025-07-15 21:50:00 +08:00
zhangzhanwei 7317d5510d fix: Application api key 2025-07-15 20:56:13 +08:00
shaohuzhang1 902a97c0f8
fix: Unable to display when refreshing the page (#3615) 2025-07-15 19:24:09 +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
zhangzhanwei 922ecb983c fix: Knowledge document problem related permission 2025-07-15 17:28:01 +08:00
shaohuzhang1 158bd2f43b
fix: rsa_key cache setting (#3610) 2025-07-15 17:21:18 +08:00
CaptainB 949c6d5ce1 fix: remove unnecessary db_index from content field in models 2025-07-15 16:59:00 +08:00
shaohuzhang1 d2560c664c
fix: Simple application full-text search cannot retrieve data (#3606) 2025-07-15 16:26:53 +08:00
shaohuzhang1 a67b39c87e
fix: reranker prefix (#3605) 2025-07-15 16:00:22 +08:00
CaptainB b352e495a1 fix: update knowledge_id reference in problem mapping queries
--bug=1058790 --user=刘瑞斌 【知识库】导出知识库没导出关联问题 https://www.tapd.cn/62980211/s/1731826
2025-07-15 15:20:39 +08:00
shaohuzhang1 28b97cd2dd
fix: Access can only be granted after OpenAPI authentication (#3601) 2025-07-15 14:51:50 +08:00
zhangzhanwei ad44d4d6b2 Historical conversation batch delete 2025-07-15 14:49:26 +08:00
CaptainB dc960d1628 fix: correct select_one parameter default value in edit method of KnowledgeSerializer
--bug=1058784 --user=刘瑞斌 【知识库】编辑知识库,保存失败 https://www.tapd.cn/62980211/s/1731590
2025-07-15 14:01:39 +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
CaptainB 05409b8f90 fix: update error message for non-existent files in document handling 2025-07-15 12:20:32 +08:00
shaohuzhang1 55985a2460
fix: Simple application dialogue not handled as published (#3598) 2025-07-15 12:13:22 +08:00
shaohuzhang1 82cbe08cc3
fix: Simple application dialogue not handled as published (#3597) 2025-07-15 12:05:56 +08:00
wxg0103 243745dc07 feat: update email templates and translations for improved clarity and consistency 2025-07-15 11:42:36 +08:00
CaptainB 7ee7a51200 feat: enhance edit method to support select_one parameter in KnowledgeSerializer
--bug=1058726 --user=刘瑞斌 【共享知识库】编辑非本人创建的共享知识库报错 https://www.tapd.cn/62980211/s/1731246
2025-07-15 10:56:59 +08:00
wxg0103 bd1f75a4ae refactor: streamline SQL queries in list_application.sql, list_application_user.sql, and list_application_user_ee.sql 2025-07-15 09:49:21 +08:00
wxg0103 cef7075382 fix: update image size format and expand available options in tti.py 2025-07-15 09:23:50 +08:00
zhangzhanwei a7fd1ac650 fix: Locales 2025-07-14 20:20:22 +08:00
CaptainB 67859e9873 feat: add ChatUser, UserGroup, and authorization models to initial migration 2025-07-14 19:54:18 +08:00
zhangzhanwei a7afdb769b fix: Chat user model 2025-07-14 19:37:17 +08:00
shaohuzhang1 3cc272c5e0
fix: chat user (#3591) 2025-07-14 19:27:31 +08:00
shaohuzhang1 ca073fd0d6
fix: The conversation user is not authorized to use (#3590) 2025-07-14 18:44:37 +08:00
zhangzhanwei d8254f9e45 refactor: Chat user model 2025-07-14 18:43:57 +08:00
shaohuzhang1 340ca6c436
fix: The conversation user is not authorized to use (#3588) 2025-07-14 18:24:46 +08:00
wxg0103 b3698b30ca feat: add authentication fields to ApplicationAccessToken and update related serializers 2025-07-14 18:02:32 +08:00
zhangzhanwei 0356dfed1f feat: Operation log 2025-07-14 17:41:18 +08:00
shaohuzhang1 fdc9f9eb0b
fix: The conversation user is not authorized to use (#3583) 2025-07-14 17:11:54 +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
shaohuzhang1 074375478d
fix: The conversation user is not authorized to use (#3581) 2025-07-14 16:13:53 +08:00