-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
Coding On Star
39ad9d1569
test: Adding missing tests or correcting existing tests ( #29937 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2025-12-19 17:49:51 +08:00
yyh
079620714e
refactor: migrate common service toward TanStack Query ( #29009 )
2025-12-19 17:34:14 +08:00
Joel
89e4261883
chore: add some tests case code ( #29927 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Coding On Star <447357187@qq.com>
2025-12-19 16:04:23 +08:00
yyh
2efdb7b887
fix: workflow log search input controlled state ( #29930 )
2025-12-19 15:52:21 +08:00
Coding On Star
d7b8db2afc
feat(tests): add comprehensive tests for Processing and EmbeddingProcess components ( #29873 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2025-12-19 15:21:21 +08:00
yyh
933bc72fd7
chore: update packageManager version in package.json to pnpm@10.26.1 ( #29918 )
2025-12-19 12:17:25 +08:00
Asuka Minato
3b8650eb6b
refactor: split changes for api/controllers/web/completion.py ( #29855 )
2025-12-19 12:16:12 +08:00
Stephen Zhou
a26881cb24
refactor: unified cn utils ( #29916 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2025-12-19 12:08:34 +08:00
yyh
80f11471ae
perf: improve Jest caching and configuration in web tests ( #29881 )
2025-12-19 12:00:46 +08:00
Asuka Minato
95a2b3d088
refactor: split changes for api/libs/helper.py ( #29875 )
2025-12-19 12:00:34 +08:00
dependabot[bot]
fbbff7f5c2
chore(deps-dev): bump storybook from 9.1.13 to 9.1.17 in /web ( #29906 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-19 09:49:48 +08:00
yyh
c12f0d16bb
chore(web): enhance frontend tests ( #29869 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-18 17:47:13 +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
Joel
5638dcc7ad
chore: tests for configuration ( #29870 )
2025-12-18 17:18:24 +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
Coding On Star
46e0548731
chore: enhance Jest setup and add new tests for dataset creation components ( #29825 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2025-12-18 16:58:55 +08:00
yyh
e228b802c5
refactor: implement SettingsModal with retrieval settings and add tests for RetrievalChangeTip component ( #29786 )
2025-12-18 16:58:41 +08:00
quicksand
b0bef1a120
fix(api): resolve errors when setting visibility to partial members ( #29830 )
2025-12-18 16:56:24 +08:00
yyh
98b1ec0d29
chore(web): enhance tests follow the testing.md and skills ( #29841 )
2025-12-18 16:54:00 +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
yyh
9f24cff9dd
chore(web): enhance frontend tests ( #29859 )
2025-12-18 16:46:12 +08:00
-LAN-
9bb5670711
chore(codeowners): add migrations code owner ( #29864 )
2025-12-18 16:46:03 +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
Joel
a913cf231f
chore: tests for annotation ( #29851 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-18 15:17:22 +08:00
呆萌闷油瓶
ee4041a526
feat: show generate speed in chatbot ( #29602 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-18 15:13:09 +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
yyh
3cd57bfb60
ci: add detailed test coverage report for web ( #29803 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-12-18 15:00:32 +08:00
Nour Zakhma
32401de4df
fix(theme): make sticky headers opaque in dark mode (Monaco sticky sc… ( #29826 )
2025-12-18 15:00:15 +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
Joel
cdfabec7a4
chore: tests for goto anything ( #29831 )
2025-12-18 13:52:33 +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
crazywoola
c086aa107c
fix: TypeError: outputParameters is not iterable ( #29833 )
2025-12-18 11:21:12 +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
-LAN-
ae17537470
fix: mermaid graph ( #29811 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
2025-12-18 10:50:14 +08:00
wcc0077
114f17f1ca
fix: remove unnecessary min-width css style from AllTools and Blocks components ( #29810 )
2025-12-18 10:14:29 +08:00
yyh
a377352a9e
chore: add AppTypeSelector tests and improve clear button accessibility ( #29791 )
2025-12-18 10:11:33 +08:00
yyh
aae330627d
test: add unit tests for DatasetConfig component with comprehensive coverage of rendering, dataset management, context variables, and metadata filtering ( #29779 )
2025-12-18 10:06:33 +08:00
yyh
4ea2d31a79
chore(web): add some tests ( #29772 )
2025-12-18 10:06:02 +08:00