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
CaptainB
48959a1e77
feat: add optional folder_id to tool import functionality
2025-07-14 16:06:26 +08:00
CaptainB
77af823879
refactor: replace FileLock with utility functions for locking mechanism
2025-07-14 15:49:09 +08:00
wxg0103
65d2045751
refactor: enhance role_setting validation in user role assignment logic
2025-07-14 14:39:21 +08:00
shaohuzhang1
b299ef0c53
fix: Page optimization when the application is unavailable ( #3580 )
2025-07-14 14:09:31 +08:00
CaptainB
ea56fd6212
feat: add db_index to various fields for improved query performance
2025-07-14 11:54:19 +08:00
shaohuzhang1
07b19fe90e
fix: Chat ui prefix ( #3579 )
2025-07-14 11:07:53 +08:00
wxg0103
92fba08185
fix: handle potential None values for user in model serialization
2025-07-14 11:07:10 +08:00
wxg0103
bb4ad680fc
feat: enhance password regex for improved security and clarity
2025-07-14 10:59:32 +08:00
zhangzhanwei
86da8918f5
fix: Locales
2025-07-14 10:53:49 +08:00
CaptainB
1ac7fc4669
refactor: Update user foreign key constraints and add new fields across multiple models
2025-07-14 10:52:08 +08:00
wxg0103
f0357e5944
feat: enhance user role management by passing user_id to relevant methods
2025-07-14 10:49:47 +08:00
zhangzhanwei
1a792dd2e7
feat: Locales
2025-07-12 21:03:30 +08:00
shaohuzhang1
34842e4ae4
feat: application chat api ( #3574 )
2025-07-12 17:54:37 +08:00
wangdan-fit2cloud
34e84602ff
fix: embed height
2025-07-12 14:33:32 +08:00
wxg0103
3d36c3fa2d
feat: add DocHeadersMiddleware to middleware list for document access handling
2025-07-12 11:44:05 +08:00
wxg0103
224fe26f28
feat: add DocHeadersMiddleware to handle document access and redirect unauthorized users
2025-07-12 11:41:50 +08:00
wxg0103
2d734d0aaa
refactor: enhance chat record processing and update translations for user-related fields
2025-07-12 10:30:47 +08:00
wxg0103
1374ed4171
refactor: update chat record processing to include chat count updates
2025-07-12 09:50:57 +08:00
shaohuzhang1
1a2a02b808
fix: Importing an application that references tools from the tool store will create tools from the tool store in the new workspace ( #3568 )
2025-07-11 22:13:54 +08:00
shaohuzhang1
d8c35fffd7
fix: The limit on the number of conversations in the application is invalid ( #3567 )
2025-07-11 22:02:42 +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
wxg0103
d7a3b7fd3f
feat: enhance password reset functionality with email verification and validation
2025-07-11 18:47:27 +08:00
CaptainB
bf1062ff04
fix: improve error handling in valid_reference_value function
2025-07-11 18:00:47 +08:00
CaptainB
7ec7984b9f
fix: handle JSON parsing for string values in reference fields
2025-07-11 17:44:20 +08:00
shaohuzhang1
570bcfbaf2
fix: Crossing does not take effect ( #3561 )
2025-07-11 17:37:54 +08:00
CaptainB
31f87119b6
fix: improve document deletion process and ensure related files are removed
...
--bug=1058582 --user=刘瑞斌 【知识库】知识库的文档删除报错了 https://www.tapd.cn/62980211/s/1729344
2025-07-11 17:30:26 +08:00
wxg0103
02afb6a0bc
refactor: update API KEY translations and improve formatting in permission constants
2025-07-11 17:24:38 +08:00
wxg0103
4a36f78468
refactor: update password requirements in Chinese translations to include uppercase letters
2025-07-11 16:54:32 +08:00
wxg0103
2783d7dcde
refactor: add 'show_exec' field to application access token response
2025-07-11 15:13:11 +08:00
CaptainB
cdd146dc58
feat: add negative prompt handling in image generation
...
--bug=1058523 --user=刘瑞斌 【应用】图片生成节点的执行详情中没有显示负向提示词 https://www.tapd.cn/62980211/s/1729010
2025-07-11 15:11:18 +08:00
wxg0103
414769f42d
refactor: update default password configuration key and improve model field formatting
2025-07-11 15:05:51 +08:00
wxg0103
99d94abe85
refactor: improve image URL handling and clean up unused code in base_image_generate_node.py and tti.py
2025-07-11 14:44:04 +08:00
wxg0103
ebb475c19a
refactor: update default password configuration key and improve model field formatting
2025-07-11 14:12:26 +08:00
zhangzhanwei
1e20526819
fix: Workspace manager resource authorization permission
2025-07-11 11:33:15 +08:00
shaohuzhang1
210e09681f
feat: Apikey call supports cross domain and application whitelist ( #3556 )
2025-07-11 11:15:21 +08:00
wangdan-fit2cloud
4437361eed
feat: style
2025-07-10 22:37:48 +08:00
shaohuzhang1
bc350c2eb2
fix: Tool permission settings ( #3553 )
2025-07-10 20:50:22 +08:00
shaohuzhang1
c370e99304
feat: Support openai dialogue ( #3551 )
2025-07-10 19:16:47 +08:00
wxg0103
d94972bc9c
refactor: enhance role management by adding user-specific role filtering and permissions checks
2025-07-10 17:49:07 +08:00
CaptainB
17e1cbcf48
refactor: optimize batch_sync method to include knowledge_id and workspace_id
...
--bug=1057859 --user=刘瑞斌 【知识库】正在向量化/生成问题中的文档,点击同步文档后没有取消当前文档的向量化/生成问题任务,重新进行同步+向量化/生成问题 https://www.tapd.cn/62980211/s/1728222
2025-07-10 17:34:55 +08:00
CaptainB
12feaac958
feat: add check for inactive tool libraries
...
--bug=1058425 --user=刘瑞斌 【工具】应用中引用的工具被禁用后,对话时依然可以调用工具 https://www.tapd.cn/62980211/s/1728140
2025-07-10 17:01:17 +08:00
CaptainB
0bcf7e311c
feat: update paragraph processing to include status updates for embedding tasks
...
--bug=1058487 --user=刘瑞斌 【知识库】在文档中添加分段,没有执行向量化操作 https://www.tapd.cn/62980211/s/1728041
2025-07-10 16:53:14 +08:00
shaohuzhang1
4f4565f85b
fix: Shared workspace permission control error ( #3548 )
2025-07-10 16:45:13 +08:00
CaptainB
4d87e01682
chore: adjust paragraph positions for document consistency
2025-07-10 16:34:41 +08:00
wxg0103
64f61a3beb
refactor: update cache handling in user.py to improve timeout management
2025-07-10 15:36:27 +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
wxg0103
79537cade9
refactor: update user field in application and knowledge models to allow null values and set null on delete
2025-07-10 14:49:44 +08:00
zhangzhanwei
e697ddafbc
feat: Locales
2025-07-10 14:20:54 +08:00
CaptainB
9534247713
fix: extract content from image meta before uploading file
2025-07-10 13:57:28 +08:00
zhangzhanwei
c78c2b39fe
fix: Model params permission
2025-07-10 13:49:31 +08:00
CaptainB
ed5cc3a0fa
fix: update file handling in base_document_extract_node.py to use image metadata
...
--bug=1058385 --user=刘瑞斌 【应用】文档内容提取节点提取文档失败 https://www.tapd.cn/62980211/s/1727581
2025-07-10 13:04:48 +08:00
shaohuzhang1
9d2fd05604
fix: Token auth ( #3543 )
2025-07-10 12:07:33 +08:00
shaohuzhang1
1611bc7f75
fix: The original document download file name is incorrect ( #3542 )
2025-07-09 22:32:40 +08:00
shaohuzhang1
7c47f4d0b3
fix: Embed icon cannot be displayed ( #3541 )
2025-07-09 22:12:58 +08:00
shaohuzhang1
3b33078555
fix: Workflow knowledge base retrieval node recall error ( #3539 )
2025-07-09 21:46:44 +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
zhangzhanwei
bddc3cfd53
feat: Locales
2025-07-09 20:03:06 +08:00
wxg0103
580adc5a88
refactor: enhance document and knowledge deletion logic to remove associated files
2025-07-09 19:09:34 +08:00
wxg0103
1703923f58
refactor: update default password configuration key to uppercase in user.py
2025-07-09 18:38:57 +08:00
liqiang-fit2cloud
a43bde9a01
fix: remove PATH env.
2025-07-09 18:11:36 +08:00
wxg0103
16088975fa
refactor: enhance text-to-speech processing by splitting content into chunks and merging audio segments
2025-07-09 18:08:41 +08:00
CaptainB
3eb5a49e63
chore: update query filters to use case-insensitive containment for name and description
...
--bug=1058435 --user=刘瑞斌 【工具】工具名称搜索不支持忽略大小写 https://www.tapd.cn/62980211/s/1726980
2025-07-09 17:50:00 +08:00
zhangzhanwei
5d8e64cbb2
fix: Chat user permission of common user
2025-07-09 17:42:56 +08:00
zhangzhanwei
14eea7df42
fix: common user use of shared model params
2025-07-09 16:22:45 +08:00
shaohuzhang1
c4293c34d1
fix: ai chat node mcp ( #3531 )
2025-07-09 16:14:44 +08:00