-LAN-
4919e138e2
Fix migration base revision
2025-12-20 02:37:17 +08:00
-LAN-
eadf137b75
Delete soft-deleted conversations before dropping is_deleted column
...
Use sa.table() with sa.delete() and sa.true() to generate cross-database
compatible SQL that works in both online and offline modes without
requiring schema reflection.
2025-12-20 02:37:17 +08:00
-LAN-
4ad79538e2
Simplify is_deleted migration: drop column without backup
2025-12-20 02:37:17 +08:00
-LAN-
5efe443d85
Drop offline guards in is_deleted migration
2025-12-20 02:37:17 +08:00
-LAN-
53c6c27a98
Use SQLAlchemy expressions for is_deleted migration backup
2025-12-20 02:37:17 +08:00
-LAN-
26c2ad3d2b
Handle offline migrations and MySQL/PostgreSQL booleans
2025-12-20 02:37:17 +08:00
-LAN-
b31b0446dd
Make conversation is_deleted migration cross-database safe
2025-12-20 02:37:16 +08:00
-LAN-
ab142a302e
Fix migration down_revision after merge
2025-12-20 02:37:16 +08:00
-LAN-
62f2288460
refactor: use SQLAlchemy inspector for database-agnostic table existence check
...
Replace PostgreSQL-specific information_schema query with SQLAlchemy's
inspector API that works across all supported database types.
2025-12-20 02:37:16 +08:00
-LAN-
4e8e53c579
refactor: extract backup table name as module constant
...
Share backup_table_name between upgrade() and downgrade() functions
to avoid duplication and ensure consistency.
2025-12-20 02:37:16 +08:00
-LAN-
d3490ebb0f
refactor: backup soft-deleted conversations instead of deleting them
...
- Create backup table conversations_4f02b6704509_bak for soft-deleted records
- Only create backup table if soft-deleted records exist
- Support recovery during downgrade migration
- Drop backup table after successful restoration
2025-12-20 02:37:16 +08:00
-LAN-
b8885fa029
fix: delete soft-deleted conversations before dropping is_deleted column
...
Ensure any existing soft-deleted conversations are removed from the
database before dropping the is_deleted column in the migration.
2025-12-20 02:37:16 +08:00
-LAN-
8e666b4704
refactor: remove unused is_deleted field from conversations table
...
Remove the is_deleted field that was never utilized for soft deletion.
This simplifies queries and reduces unnecessary database overhead.
Fixes #25017
2025-12-20 02:37:14 +08:00
Asuka Minato
4320503209
refactor: split changes for api/controllers/console/explore/completio… ( #29894 )
2025-12-19 17:51:13 +08:00
Asuka Minato
054d3f0da5
refactor: split changes for api/tests/test_containers_integration_tes… ( #29897 )
2025-12-19 17:50:58 +08:00
Asuka Minato
3b8650eb6b
refactor: split changes for api/controllers/web/completion.py ( #29855 )
2025-12-19 12:16:12 +08:00
Asuka Minato
95a2b3d088
refactor: split changes for api/libs/helper.py ( #29875 )
2025-12-19 12:00:34 +08:00
Asuka Minato
82220a645c
refactor: split changes for api/controllers/web/audio.py ( #29856 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-18 17:30:58 +08:00
呆萌闷油瓶
5067e4f255
fix 29184 ( #29188 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-18 17:11:52 +08:00
quicksand
b0bef1a120
fix(api): resolve errors when setting visibility to partial members ( #29830 )
2025-12-18 16:56:24 +08:00
Asuka Minato
a954bd0616
refactor: part of remove all reqparser ( #29848 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-18 16:52:51 +08:00
wangxiaolei
78ca5ad142
fix: fix fixed_separator ( #29861 )
2025-12-18 16:50:44 +08:00
wangxiaolei
e6545f2727
perf: decrease db query ( #29837 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-18 15:35:52 +08:00
huku
eb5a444d3d
fix: plugin execution timeout not respecting PLUGIN_MAX_EXECUTION_TIMEOUT ( #29785 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-12-18 15:11:01 +08:00
wangxiaolei
dd237f129d
fix: fix json object validate ( #29840 )
2025-12-18 14:46:00 +08:00
hj24
46c9a59a31
feat: sandbox retention basic settings ( #29842 )
2025-12-18 14:16:23 +08:00
hj24
9a51d2da57
feat: add billing subscription plan api ( #29829 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-18 13:11:47 +08:00
yihong
acbeb04edc
fix: drop some dead links ( #29827 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-12-18 10:52:19 +08:00
wangxiaolei
b3e5d45755
chore: compatiable opendal modify ( #29794 )
2025-12-18 10:00:31 +08:00
fanadong
df2f1eb028
fix(deps): restore charset_normalizer, revert accidental chardet reintroduction ( #29782 )
2025-12-17 16:56:41 +08:00
wangxiaolei
4fce99379e
test(api): add a test for `detect_file_encodings` ( #29778 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-17 14:33:30 +08:00
zhaobingshuang
8d1e36540a
fix: detect_file_encodings TypeError: tuple indices must be integers or slices, not str ( #29595 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-12-17 13:58:05 +08:00
fanadong
44f8915e30
feat: Add Aliyun SLS (Simple Log Service) integration for workflow execution logging ( #28986 )
...
Co-authored-by: hieheihei <270985384@qq.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-12-17 13:43:54 +08:00
FFXN
a93eecaeee
feat: Add "type" field to PipelineRecommendedPlugin model; Add query param "type" to recommended-plugins api. ( #29736 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
2025-12-17 11:26:08 +08:00
Ryusei Hashimoto
86131d4bd8
feat: add datasource_parameters handling for API requests ( #29757 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-17 10:37:55 +08:00
wangxiaolei
dda7eb03c9
feat: _truncate_json_primitives support file ( #29760 )
2025-12-17 08:10:43 +09:00
zyssyz123
b7649f61f8
fix: Login secret text transmission ( #29659 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-12-16 16:55:51 +08:00
Jyong
ae4a9040df
Feat/update notion preview ( #29345 )
...
Co-authored-by: twwu <twwu@dify.ai>
2025-12-16 16:43:45 +08:00
-LAN-
0749e6e090
test: Stabilize sharded Redis broadcast multi-subscriber test ( #29733 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-16 16:35:55 +08:00
crazywoola
a915b8a584
revert: "security/fix-swagger-info-leak-m02" ( #29721 )
2025-12-16 14:19:33 +08:00
非法操作
7695f9151c
chore: webhook with bin file should guess mimetype ( #29704 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maries <xh001x@hotmail.com>
2025-12-16 13:34:27 +08:00
heyszt
bdccbb6e86
feat: add GraphEngine layer node execution hooks ( #28583 )
2025-12-16 13:26:31 +08:00
longbingljw
4cc6652424
feat: VECTOR_STORE supports seekdb ( #29658 )
2025-12-16 12:35:04 +09:00
quicksand
4bf6c4dafa
chore: add online drive metadata source enum ( #29674 )
2025-12-15 21:13:23 +08:00
wangxiaolei
187450b875
chore: skip upload_file_id is missing ( #29666 )
2025-12-15 21:09:53 +08:00
wangxiaolei
09982a1c95
fix: webhook node output file as file variable ( #29621 )
2025-12-15 19:55:59 +08:00
zyssyz123
bd7b1fc6fb
fix: csv injection in annotations export ( #29462 )
...
Co-authored-by: hj24 <huangjian@dify.ai>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-15 17:14:05 +08:00
zyssyz123
2bf44057e9
fix: ssrf, add internal ip filter when parse tool schema ( #29548 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
2025-12-15 16:28:25 +08:00
zyssyz123
724cd57dbf
fix: dos in annotation import ( #29470 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-15 15:22:04 +08:00
NeatGuyCoding
714b443077
fix: correct i18n SSO translations and fix validation/type issues ( #29564 )
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-15 15:58:33 +09:00