Commit Graph

1867 Commits

Author SHA1 Message Date
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