WH-2099
64fe95667b
Merge commit from fork
...
https://github.com/langgenius/dify/security/advisories/GHSA-94wf-cjw5-5974
2026-10-26 12:04:28 +08:00
6f434baf93
ci: enable Ruff B904 ( #44121 )
...
Co-authored-by: Codex <codex@openai.com >
Co-authored-by: hjlarry <hjlarry@163.com >
2026-10-19 12:47:53 +00:00
672a627fa5
ci: enable Ruff E402 ( #44123 )
...
Co-authored-by: Codex <codex@openai.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-19 01:16:16 +00:00
Byron.wang and Jyong
a67cd87eb0
refactor(api): establish dataset application boundaries ( #41729 )
...
Co-authored-by: Jyong <jyong@dify.ai >
2026-09-29 08:42:31 +00:00
林玮 (Jade Lin) and Joel
8e5b097011
fix(api): remove omitted tenant default models ( #42572 )
...
Co-authored-by: Joel <iamjoel007@gmail.com >
2026-09-20 09:19:51 +00:00
Sourav Rajvi and autofix-ci[bot]
aa6dceeece
fix(web): send model delete params as query string on DELETE ( #42162 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-11 08:09:48 +00:00
Xiyuan Chen and autofix-ci[bot]
86134ea99e
feat(rbac): agent RBAC/ACL scenes and resource-locator check bundles ( #41768 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-07 04:39:43 +00:00
Pranav Agarwal and Yunlu Wen
067a60e0ac
fix(api): enforce admin and RBAC permissions on model provider model credential GET endpoint ( #41599 ) ( #41600 )
...
Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai >
2026-09-04 09:17:41 +00:00
wangxiaolei
05b00574aa
chore: add permission check back ( #41369 )
2026-08-27 07:45:50 +00:00
wangxiaolei
6a1b23935f
chore: remove permission check ( #41349 )
2026-08-27 05:29:38 +00:00
Pranav Agarwal
24f5e2ac69
fix(api): enforce admin and RBAC permissions on default model and provider models GET endpoints ( #41099 ) ( #41100 )
2026-08-23 07:33:57 +00:00
Pranav Agarwal
f1b48a93a9
fix(api): enforce edit and RBAC permissions on model provider credential GET endpoints ( #40899 ) ( #40900 )
2026-08-19 06:48:15 +00:00
Likalikali and autofix-ci[bot]
b692ddd80c
refactor: replace manual model_validate with @model_validate in workspace remaining controllers ( #40239 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-09 08:23:51 +00:00
3cd8d850fa
refactor(api): migrate workspace model endpoints to BaseModel ( #37963 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Byron Wang <byron@dify.ai >
2026-07-09 04:05:32 +00:00
68d8328b9c
chore: clean Db session from service ( #38227 )
...
Co-authored-by: chariri <w@chariri.moe >
Co-authored-by: WH-2099 <wh2099@pm.me >
2026-07-08 03:07:27 +00:00
wangxiaolei
ef54229d6f
chore: add ENTERPRISE_RBAC_API_URL check and update permission key ( #37777 )
2026-06-23 03:26:06 +00:00
+10
33edf97f81
feat: RBAC ( #37107 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: fatelei <fatelei@gmail.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: 盐粒 Yanli <yanli@dify.ai >
Co-authored-by: Charles Yao <chongbinyao33@gmail.com >
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: Jingyi <jingyi.qi@dify.ai >
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: hjlarry <hjlarry@163.com >
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Xiyuan Chen <52963600+GareArc@users.noreply.github.com >
Co-authored-by: gigglewang <gigglewang@dify.ai >
Co-authored-by: chariri <w@chariri.moe >
Co-authored-by: Evan <2869018789@qq.com >
Co-authored-by: zyssyz123 <916125788@qq.com >
2026-06-18 16:35:29 +00:00
Stephen Zhou and autofix-ci[bot]
5d77c0af08
refactor: fix OpenAPI contract generation schemas ( #37387 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 14:25:53 +00:00
Stephen Zhou and autofix-ci[bot]
e0c6ca9930
fix: GET query parameter OpenAPI contracts ( #37378 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 09:01:22 +00:00
chariri
57b573d02b
refactor(api): migrate tenant/user via DI for several endpoints ( #37004 )
2026-06-03 08:59:00 +00:00
b96ea94505
chore: add :str to <path: parameter ( #36913 )
...
Co-authored-by: 99 <wh2099@pm.me >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-03 05:25:11 +00:00
86497045c9
feat: per-credential visibility control for plugin credentials ( #35468 )
...
Co-authored-by: Yang <yang@Yangs-MacBook-Pro.local >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-06-01 05:56:18 +00:00
Tianle
0e1f19a380
refactor: inject tenant id in tenant-only console handlers ( #36751 )
2026-05-28 03:50:28 +00:00
Lillian
6133c2ab6a
chore: add UUID/str type annotations to api endpoints for files in api/controllers/console ( #36563 )
2026-05-24 07:59:56 +00:00
chariri
ea5e487d3c
fix(api): stop returning 204 with response body and add CI check ( #36489 )
2026-05-21 16:20:34 +00:00
b04b4449db
chore(api): annotate simple contract responses ( #36331 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-05-19 06:13:20 +00:00
Asuka Minato and autofix-ci[bot]
c67ce6f66d
chore: unify api && clean some type ignore ( #35984 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-10 04:16:29 +00:00
Yunlu Wen and autofix-ci[bot]
3193e8a712
chore: reorg imports ( #35308 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-16 08:50:02 +00:00
wdeveloper16 and Claude Sonnet 4.6
7e7b27fdec
refactor: replace bare dict with dict[str, Any] in response converter… ( #35212 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-14 19:45:04 +00:00
tmimmanuel and autofix-ci[bot]
1344c3b280
refactor: use EnumText for model_type in provider models ( #34300 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-31 00:31:33 +00:00
99 and autofix-ci[bot]
40591a7c50
refactor(api): use standalone graphon package ( #34209 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-27 21:05:32 +00:00
99
52e7492cbc
refactor(api): rename dify_graph to graphon ( #34095 )
2026-03-25 21:58:56 +08:00
56593f20b0
refactor(api): continue decoupling dify_graph from API concerns ( #33580 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WH-2099 <wh2099@pm.me >
2026-03-25 20:32:24 +08:00
-LAN-
4fd6b52808
refactor(api): move model_runtime into dify_graph ( #32858 )
2026-03-02 20:15:32 +08:00
8ec4233611
fix: doc not gen bug ( #31547 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-01-27 20:19:39 +09:00
wangxiaolei
193c8e2362
fix: fix available_credentials is empty ( #29521 )
2025-12-12 09:51:55 +08:00
crazywoola
1847609926
fix: failed to delete model ( #29456 )
2025-12-11 12:05:44 +08:00
Asuka Minato and gemini-code-assist[bot]
247069c7e9
refactor: port reqparse to Pydantic model ( #28913 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-30 16:09:42 +09:00
Will
b786e101e5
fix: querying and setting the system default model ( #28743 )
2025-11-27 11:58:35 +09:00
2731b04ff9
Pydantic models ( #28697 )
...
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 <175728472+Copilot@users.noreply.github.com >
2025-11-26 22:44:14 +08:00
Asuka Minato and autofix-ci[bot]
e0824c2d93
api -> console_ns ( #28246 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-24 10:04:11 +08:00
Asuka Minato and gemini-code-assist[bot]
1a2f8dfcb4
use deco ( #28153 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-21 14:25:53 +08:00
6c576e2c66
add doc ( #28016 )
...
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-11-13 13:38:45 +09:00
Asuka Minato and Copilot
4488c090b2
fluent api ( #27093 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-19 12:54:41 +09:00
Asuka Minato and gemini-code-assist[bot]
0a6b78f883
Use hook to get userid ( #26839 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-14 09:20:37 +08:00
c1e8584b97
feat: Refactor api.add_resource to @console_ns.route decorator ( #26386 )
...
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
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: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-10-10 16:23:39 +08:00
非法操作 and Claude
b673560b92
feat: improve multi model credentials ( #25009 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-03 13:52:31 +08:00
fa753239ad
Refactor: use logger = logging.getLogger(__name__) in logging ( #24515 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-08-26 18:10:31 +08:00
6010d5f24c
feat: add multi model credentials ( #24451 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-25 16:12:29 +08:00
Asuka Minato and -LAN-
18dce66443
try flask_restful -> flask_restx ( #24310 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-08-24 13:45:47 +08:00