Asuka Minato
58608f51da
replace db with sa to get typing support ( #23240 )
2025-08-02 23:54:23 +08:00
Alex Chim
8ab3fda5a8
[Enhancement] Allow modify conversation variable via api ( #23112 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-01 09:34:56 +08:00
jyong
8e96b9ed77
transform document
2025-07-31 11:51:40 +08:00
jyong
a7a4c8228e
Merge branch 'main' into feat/rag-2
...
# Conflicts:
# web/app/components/workflow/hooks/use-workflow.ts
2025-07-31 10:30:28 +08:00
NeatGuyCoding
07cff1ed2c
minor fix: fix flask api resources only accept one resource for same url ( #23168 )
2025-07-30 17:05:02 +08:00
NeatGuyCoding
070379a900
minor fix: fix wrong check of annotation_ids ( #23164 )
2025-07-30 17:04:31 +08:00
jyong
f37109ef39
transform document
2025-07-30 14:34:38 +08:00
GuanMu
4499cda186
Feat annotations panel ( #22968 )
2025-07-30 13:40:48 +08:00
Harry
875aea1c22
feat: datasource reauthentication
2025-07-30 13:39:04 +08:00
lyzno1
0ea010d7ee
fix: metadata API nullable validation consistency issue ( #23133 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-30 10:33:24 +08:00
Shaun
00cb1c26a1
refactor: pass external_trace_id to message trace ( #23089 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-29 19:34:46 +08:00
jyong
e2df3f182d
transform document
2025-07-29 16:01:06 +08:00
zxhlyh
e19a07c2e6
merge main
2025-07-29 15:44:23 +08:00
jyong
e89398f415
add old auth transform
2025-07-29 14:13:50 +08:00
Yongtao Huang
57e0a12ccd
Refactor: remove redundant full module paths in exception handlers ( #23076 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-29 09:40:51 +08:00
jyong
657e813c7f
add old auth transform
2025-07-28 19:29:36 +08:00
jyong
829e6f0d1a
add old auth transform
2025-07-28 19:29:07 +08:00
NeatGuyCoding
537c04745d
minor fix: using the same AccountInFreezeError ( #23061 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-28 18:24:27 +08:00
zyssyz123
de28bb1075
fix: changed email login use oauth will create an new account ( #23057 )
2025-07-28 16:32:25 +08:00
zxhlyh
a95cf6f8b0
merge main
2025-07-28 16:00:38 +08:00
zhaobingshuang
5c5f61b2aa
fix(dataset): CELERY_BROKER uses amqp rabbitmq. When adding document segments in batches and uploading large files, the status will always remain stuck at "In batch processing" #22709 ( #23038 )
2025-07-28 14:24:13 +08:00
jyong
50fed69c0c
r2 transform
2025-07-28 14:00:18 +08:00
呆萌闷油瓶
ee50a2bcd5
feat: clear all annotation ( #22878 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-25 18:06:03 +08:00
Asuka Minato
a189d293f8
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +08:00
quicksand
8340d775bd
Improve: support custom model parameters in auto-generator ( #22924 )
2025-07-25 09:00:26 +08:00
KVOJJJin
d6b980a2dd
Feat: change user email freezes limit ( #22912 )
...
Co-authored-by: Yansong Zhang <916125788@qq.com>
2025-07-25 08:48:23 +08:00
twwu
bae2af0c85
Merge branch main into feat/rag-2
2025-07-24 17:40:04 +08:00
zyssyz123
6ac06486e3
Feat/change user email freezes limit ( #22900 )
2025-07-24 15:36:53 +08:00
KVOJJJin
de611ab344
Feat: add notification for change email completed ( #22812 )
...
Co-authored-by: Yansong Zhang <916125788@qq.com>
2025-07-24 14:16:39 +08:00
Asuka Minato
ef51678c73
orm filter -> where ( #22801 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-24 00:57:45 +08:00
Junyan Qin (Chin)
eaae79a581
feat: plugin auto upgrade strategy ( #19758 )
...
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Novice <novice12185727@gmail.com>
2025-07-23 15:33:39 +08:00
Maries
ad67094e54
feat: oauth refresh token ( #22744 )
...
Co-authored-by: Yeuoly <admin@srmxy.cn>
2025-07-23 13:12:39 +08:00
qfl
841e53dbbe
feat(trace): support external trace id propagation ( #22623 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-22 15:17:43 +08:00
Harry
e5c7fd5b14
feat: enforce maximum length for authorization name in datasource authentication
2025-07-21 19:31:58 +08:00
Harry
34072371a1
feat: refactor OAuth client retrieval in datasource authentication
2025-07-21 18:55:21 +08:00
Harry
ba7f0b3004
feat: enhance datasource authentication by improving credential handling and updating API parameters
2025-07-21 18:51:55 +08:00
zxhlyh
4d36e784b7
merge main
2025-07-21 17:45:26 +08:00
Harry
7141181732
feat: remove unnecessary blank line in datasource authentication setup
2025-07-21 17:00:10 +08:00
Harry
17da96bdd8
feat: refactor datasource authentication APIs for improved credential management
2025-07-21 16:43:50 +08:00
Harry
af94602d37
feat: add APIs for setting default datasource provider and updating provider name
2025-07-21 15:49:39 +08:00
Harry
529eca70bc
feat: enhance datasource credential and OAuth schema serialization
2025-07-21 14:31:26 +08:00
Harry
e97f03c130
feat: add custom OAuth client setup and enhance datasource provider model with avatar_url
2025-07-21 12:36:02 +08:00
Bowen Liang
74940ad3f2
chore: code improvement for mcp_client and mcp_tools_manage_service ( #22645 )
2025-07-21 09:52:55 +08:00
Aryan Raj
ce794335e9
Fix/replace datetime patterns with naive utc now ( #22654 )
2025-07-20 11:05:53 +08:00
Harry
23a5ff410e
feat: add avatar_url to datasource providers and update OAuth handling
2025-07-18 19:47:59 +08:00
twwu
5b2c99e183
Merge branch 'main' into feat/rag-2
2025-07-18 14:03:48 +08:00
Harry
633bfc25e0
feat: update provider parameter naming and refactor related logic in datasource_auth.py
2025-07-18 13:13:20 +08:00
Harry
0ac5c0bf3e
feat: refactor OAuth provider handling and improve provider name generation
2025-07-18 12:47:32 +08:00
jiangbo721
ffee6f3288
fix: admin feedback uses the same method create_feedback ( #22580 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-07-18 10:10:31 +08:00
-LAN-
1715dd4320
refactor: Fix some type error ( #22594 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-18 09:26:29 +08:00
hato_code
62586719b3
fix: remove redundant partial member list retrieval in dataset API ( #15492 )
2025-07-17 22:56:18 +08:00
Harry
3388e83920
Merge remote-tracking branch 'origin/main' into feat/rag-2
...
# Conflicts:
# .github/workflows/build-push.yml
# web/app/components/workflow/nodes/_base/components/workflow-panel/index.tsx
2025-07-17 17:56:56 +08:00
Maries
a4ef900916
Support OAuth Integration for Plugin Tools ( #22550 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
2025-07-17 17:18:44 +08:00
zxhlyh
01566035e3
merge main
2025-07-17 16:48:43 +08:00
NeatGuyCoding
93c27b134d
minor typo fix: remove debug code and fix typo ( #22539 )
2025-07-17 13:52:15 +08:00
zyssyz123
a4f421028c
Feat/change user email ( #22213 )
...
Co-authored-by: NFish <douxc512@gmail.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
2025-07-17 10:55:59 +08:00
yihong
d2933c2bfe
fix: drop dead code phase2 unused class ( #22042 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-17 09:33:07 +08:00
qfl
bdb9f29948
feat(app): support custom max_active_requests per app ( #22073 )
2025-07-16 15:31:19 +08:00
baonudesifeizhai
d52fb18457
feat: auto-fill MCP server description with app description #22443 ( #22477 )
2025-07-16 15:03:33 +08:00
QuantumGhost
2c1ab4879f
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization ( #22025 )
...
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025 )
This PR addresses serialization issues in the VariablePool model by separating the `value_type` tags for `IntegerSegment`/`FloatSegment` and `IntegerVariable`/`FloatVariable`. Previously, both Integer and Float types shared the same `SegmentType.NUMBER` tag, causing conflicts during serialization.
Key changes:
- Introduce distinct `value_type` tags for Integer and Float segments/variables
- Add `VariableUnion` and `SegmentUnion` types for proper type discrimination
- Leverage Pydantic's discriminated union feature for seamless serialization/deserialization
- Enable accurate serialization of data structures containing these types
Closes #22024 .
2025-07-16 12:31:37 +08:00
jyong
384073f025
r2 transform
2025-07-16 02:02:08 +08:00
jyong
2012ea3213
r2 transform
2025-07-16 01:50:37 +08:00
-LAN-
df89629e04
fix: conversatino statistic including data from debugger ( #22412 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-15 15:45:45 +08:00
jyong
a919e3e135
r2
2025-07-14 17:33:08 +08:00
jyong
4b9a5a66c1
r2
2025-07-14 16:14:27 +08:00
-LAN-
6eb155ae69
feat(api/repo): Allow to config repository implementation ( #21458 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-14 14:54:38 +08:00
twwu
682b65034c
Merge branch 'main' into feat/rag-2
2025-07-14 11:17:42 +08:00
NeatGuyCoding
6c233e05a9
minor fix: wrong and ( #22242 )
2025-07-12 19:59:07 +08:00
NeatGuyCoding
f929bfb94c
minor fix: remove duplicates, fix typo, and add restriction for get mcp server ( #22170 )
...
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-07-11 09:40:17 +08:00
Novice
535fff62f3
feat: add MCP support ( #20716 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-10 14:01:34 +08:00
jyong
bd33b9ffec
r2
2025-07-09 17:34:42 +08:00
jyong
b538eee5dd
r2
2025-07-09 17:28:52 +08:00
twwu
258c965bd0
Merge branch 'feat/rag-2' of https://github.com/langgenius/dify into feat/rag-2
2025-07-09 15:55:31 +08:00
twwu
9e44f2b805
Merge branch 'main' into feat/rag-2
2025-07-09 15:54:57 +08:00
jyong
9dcba51225
r2
2025-07-09 15:48:08 +08:00
jyong
b5e4ce6c68
r2
2025-07-09 14:27:49 +08:00
jyong
bc1a517a97
r2
2025-07-08 17:16:10 +08:00
Yongtao Huang
de54f8d0ef
Chore: remove unreachable code ( #21986 )
2025-07-07 21:55:34 +08:00
jyong
a8b676ade0
r2
2025-07-04 18:05:58 +08:00
cutiechi
47954aa284
feat(api): validate and reject external datasets in document update ( #21783 )
2025-07-03 14:50:53 +08:00
jiangbo721
31eb8548ef
fix: Before publish the app, preview the voice of tts, it raise an er… ( #21821 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-07-03 10:53:14 +08:00
jyong
832bef053f
Merge branch 'main' into feat/r2
...
# Conflicts:
# docker/docker-compose.middleware.yaml
# web/app/components/workflow-app/components/workflow-main.tsx
# web/app/components/workflow-app/hooks/index.ts
# web/app/components/workflow/hooks-store/store.ts
# web/app/components/workflow/hooks/index.ts
# web/app/components/workflow/nodes/_base/components/variable/var-reference-picker.tsx
2025-07-02 18:20:05 +08:00
jyong
81b07dc3be
r2
2025-07-02 18:15:23 +08:00
jyong
e23d7e39ec
Merge branch 'feat/datasource' into feat/r2
...
# Conflicts:
# api/services/rag_pipeline/rag_pipeline.py
# web/app/components/workflow/constants.ts
# web/app/components/workflow/header/run-and-history.tsx
# web/app/components/workflow/hooks/use-nodes-interactions.ts
# web/app/components/workflow/hooks/use-workflow-interactions.ts
# web/app/components/workflow/hooks/use-workflow.ts
# web/app/components/workflow/index.tsx
# web/app/components/workflow/nodes/_base/components/panel-operator/panel-operator-popup.tsx
# web/app/components/workflow/nodes/_base/panel.tsx
# web/app/components/workflow/nodes/code/use-config.ts
# web/app/components/workflow/nodes/llm/default.ts
# web/app/components/workflow/panel/index.tsx
# web/app/components/workflow/panel/version-history-panel/index.tsx
# web/app/components/workflow/store/workflow/index.ts
# web/app/components/workflow/types.ts
# web/config/index.ts
# web/types/workflow.ts
2025-07-02 14:01:59 +08:00
jyong
39d3f58082
r2
2025-07-02 11:33:00 +08:00
baonudesifeizhai
8516d15a4e
fix: handle configure button for notion internal integration ( #21412 )
2025-07-01 16:58:00 +08:00
jyong
f44f0fa34c
r2
2025-07-01 14:23:46 +08:00
Bowen Liang
1a7ad195f0
refactor: define the Dify project version in pyproject.toml ( #20910 )
2025-07-01 12:07:24 +08:00
Ganondorf
55a6b330ec
Add get document detail service api ( #21700 )
...
Co-authored-by: lizb <lizb@sugon.com>
2025-06-30 22:13:56 +08:00
Xin Zhang
37e19de7ab
feat(inner-api/workspace): include tenant details in CreateWorkspace response ( #21636 )
2025-06-27 18:28:03 +08:00
Yeuoly
87efe45240
feat(plugin): Add API endpoint for invoking LLM with structured output ( #21624 )
2025-06-27 15:57:44 +08:00
Khoa
a06af88b26
Feat/api validate model provider ( #21582 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2025-06-27 09:59:44 +08:00
Yeuoly
cea6522122
feat: add DYNAMIC_SELECT parameter type for dynamic options in parameter entities ( #21425 )
2025-06-26 17:44:14 +08:00
Xiyuan Chen
d454f09e13
feat: add a magic field in the cancel invite api response ( #21505 )
2025-06-25 18:37:56 +08:00
jyong
540096a8d8
Merge branch 'main' into feat/r2
...
# Conflicts:
# api/core/plugin/impl/oauth.py
# api/core/workflow/entities/variable_pool.py
# api/models/workflow.py
# api/services/dataset_service.py
2025-06-25 14:35:23 +08:00
Dongyu Li
6aba39a2dd
feat(datasource): add datasource content preview api
2025-06-24 17:43:25 +08:00
Dongyu Li
49bb15fae1
feat(datasource): add datasource content preview api
2025-06-24 17:14:31 +08:00
Dongyu Li
e165f4a102
feat(datasource): add datasource content preview api
2025-06-24 17:14:16 +08:00
Jyong
d60287621a
add dataset info in response ( #21413 )
2025-06-24 16:07:31 +08:00
Jyong
973b3854b4
add dataset info in response ( #21406 )
2025-06-24 11:13:56 +08:00