林玮 (Jade Lin)
ce58c688f1
Merge origin/main into deploy/saas
2026-09-30 16:39:25 +08:00
Byron.wang and autofix-ci[bot]
95373bc4fd
refactor(api): consolidate account modules and shared errors ( #42570 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-30 07:26:44 +00:00
CodingOnStar
b47d5fbfb2
fix(ci): align IP access control checks and tests
2026-09-29 19:14:29 +08:00
CodingOnStar
34d831e830
Merge remote-tracking branch 'origin/main' into song/snp-682-ip-allowlist
...
# Conflicts:
# api/.importlinter
2026-09-29 16:55:56 +08:00
CodingOnStar
954ba55eb3
Merge remote-tracking branch 'origin/main' into song/snp-682-ip-allowlist
...
# Conflicts:
# api/controllers/mcp/mcp.py
# api/controllers/openapi/__init__.py
# api/controllers/web/login.py
# api/controllers/web/wraps.py
# api/extensions/ext_application_services.py
# api/openapi/markdown/console-openapi.md
# api/services/webapp_access_query_service.py
# api/tests/unit_tests/controllers/web/test_web_login.py
# api/tests/unit_tests/controllers/web/test_wraps.py
# api/tests/unit_tests/extensions/test_ext_application_services.py
# packages/contracts/generated/api/console/apps/orpc.gen.ts
# packages/contracts/generated/api/console/apps/types.gen.ts
# web/app/(commonLayout)/app/(appDetailLayout)/[appId]/layout-main.tsx
# web/app/components/app/access-point/index.tsx
# web/app/components/base/chat/chat/hooks.ts
# web/app/components/base/file-uploader/hooks.ts
# web/app/components/base/image-uploader/__tests__/hooks.spec.ts
# web/app/components/base/image-uploader/hooks.ts
# web/app/components/explore/try-app/index.tsx
# web/features/agent-v2/agent-detail/__tests__/layout.spec.tsx
# web/i18n/ar-TN/common.json
# web/i18n/de-DE/common.json
# web/i18n/en-US/common.json
# web/i18n/es-ES/common.json
# web/i18n/fa-IR/common.json
# web/i18n/fr-FR/common.json
# web/i18n/hi-IN/common.json
# web/i18n/id-ID/common.json
# web/i18n/it-IT/common.json
# web/i18n/ja-JP/common.json
# web/i18n/ko-KR/common.json
# web/i18n/lo-LA/common.json
# web/i18n/nl-NL/common.json
# web/i18n/pl-PL/common.json
# web/i18n/pt-BR/common.json
# web/i18n/ro-RO/common.json
# web/i18n/ru-RU/common.json
# web/i18n/sl-SI/common.json
# web/i18n/th-TH/common.json
# web/i18n/tr-TR/common.json
# web/i18n/uk-UA/common.json
# web/i18n/vi-VN/common.json
# web/i18n/zh-Hans/common.json
# web/i18n/zh-Hant/common.json
# web/service/console/query-policies.ts
2026-09-29 16:53:53 +08: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
Denis Ermakov
18fea7ff0d
chore(api): remove redundant str() on StringUUID ids ( #43061 )
2026-09-29 02:00:16 +00:00
Byron.wang and autofix-ci[bot]
635143cb88
refactor(api): thin console app controllers and separate application boundaries ( #42671 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-24 06:17:38 +00:00
Yansong Zhang
af693a7222
fix(api): isolate MCP body parsing from database sessions
2026-09-23 10:49:19 +08:00
Yansong Zhang
4e1b63cda1
fix(api): skip unrelated bodies in app access error hook
2026-09-23 10:42:33 +08:00
非法操作
27ea5e5790
refactor(api): migrate trial audio through shared app audio ( #42672 )
2026-09-22 06:42:30 +00:00
Yansong Zhang
b3fb4e7560
fix(api): align access failures with native endpoint contracts
2026-09-21 16:48:09 +08:00
Yansong Zhang
04f3ed744b
fix(api): include trusted client IP in app access 404 errors
...
Refs SNP-837. Preserve existing error semantics and restrict request-local, non-cacheable IP metadata to Web/Console app access errors.
2026-09-20 19:00:55 +08:00
Sean Sun and lyfuci
a4d74f7c82
refactor(api): pass session explicitly into RBACResourceService ( #37403 ) ( #42248 )
...
Co-authored-by: lyfuci <lyfuci11@gmail.com >
2026-09-15 12:45:34 +00:00
Wu Tianwei and autofix-ci[bot]
f89c3e6ec7
feat: add agent resource permissions ( #41940 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-09-09 07:30:39 +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
非法操作
ba1d5ba172
refactor(api): centralize remote file handling ( #41627 )
2026-09-03 06:00:13 +00:00
73dd8739ef
feat: optimize resource access config logic ( #41164 )
...
Co-authored-by: fatelei <fatelei@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-26 07:18:57 +00:00
Stephen Zhou
1c6f0a0388
fix(api): restore Service API OpenAPI semantics ( #41274 )
2026-08-26 05:05:36 +00:00
Stephen Zhou and autofix-ci[bot]
92016aa139
fix(api): align Service API OpenAPI contract ( #41248 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-25 10:54:14 +00:00
非法操作
e0fd3b264a
refactor(api): reuse app definition queries for app parameters ( #40465 )
2026-08-14 09:38:34 +00:00
WH-2099
af382be837
fix(api): bind remaining RAG resources to owners ( #40503 )
2026-08-12 06:05:16 +00:00
Byron.wang and autofix-ci[bot]
c1e94f8ee7
refactor(api): consolidate deployment edition handling ( #40142 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-11 07:39:01 +00:00
Tushar Motwani
aa5e8a5eff
chore: suppress pyrefly necessary conversions ( #40444 )
2026-08-10 16:41:34 +00:00
90d6046345
fix: gate Agent access until first publish ( #40105 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
2026-08-06 12:36:24 +00:00
Escape0707
04158ac8ea
ci: replace custom noqa markers with guard ignores ( #39679 )
2026-07-28 08:52:12 +00:00
b56ac4af4d
feat: gate agent management behind the agent.manage permission ( #39330 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
2026-07-23 07:34:07 +00:00
Byron.wang and WH-2099
ab3e4daa95
refactor: explicit DB session propagation across backend paths ( #38559 )
...
Co-authored-by: WH-2099 <wh2099@pm.me >
2026-07-15 06:48:28 +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
Stephen Zhou and autofix-ci[bot]
800c9f4fca
test(e2e): stabilize Agent v2 external runtime checks ( #38493 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-07 04:48:12 +00:00
d0ea5a5e0d
chore(agent-v2): sync changes ( #38442 )
...
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: zyssyz123 <916125788@qq.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: 林玮 (Jade Lin) <linw1995@icloud.com >
Co-authored-by: 盐粒 Yanli <mail@yanli.one >
2026-07-06 13:51:33 +00:00
Byron.wang
070aed81d9
refactor: make session boundaries explicit for migration flows ( #38379 )
2026-07-04 04:43:01 +00:00
051f4b32e3
feat(web): add customizable input placeholder for Agent/Chatflow/Chatbot web app ( #37790 )
...
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com >
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: hjlarry <hjlarry@163.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-26 09:57:31 +00:00
82d08851be
feat: guard openapi with rbac ( #37752 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-06-22 09:35:33 +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]
c52eafe2ca
docs: enrich generated service API descriptions ( #37615 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-18 08:43:39 +00:00
af99414fc1
chore: port isinstance to match case ( #37271 )
...
Co-authored-by: WH-2099 <wh2099@pm.me >
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-06-18 00:18:03 +00:00
Stephen Zhou and autofix-ci[bot]
19838972dc
fix: add service api openapi descriptions ( #37595 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-17 16:02:43 +00:00
Stephen Zhou and autofix-ci[bot]
baf775134e
fix: improve Service API OpenAPI contracts ( #37592 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-17 14:25:30 +00:00
Yunlu Wen
12159d6313
feat: rbac scaffold ( #37443 )
2026-06-15 05:16:41 +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
6c0cce4b7f
chore: update to openapi v3 by change dep ( #37316 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
Co-authored-by: Stephen Zhou <hi@hyoban.cc >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 07:52:19 +00:00
4fb3210f9a
fix: validate conversation variable description length to prevent varchar(255) truncation error ( #33038 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: 非法操作 <hjlarry@163.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
2026-06-10 07:28:12 +00:00
3c98f96ae8
feat(api): introduce select, file and file list form input types to Human Input node ( #36322 )
...
Co-authored-by: JzoNg <jzongcode@gmail.com >
Co-authored-by: GPT 5.4 <codex@openai.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2026-06-04 01:54:28 +00:00
chariri
4fc62d3b38
refactor(api): migrate console.datasets.rag_pipeline partially to BaseModel ( #36649 )
2026-06-03 17:44:10 +00:00
928f888ef5
refactor(api): migrate console/service_api.dataset.segment to BaseModel ( #36522 )
...
Co-authored-by: WH-2099 <wh2099@pm.me >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-30 13:54:01 +00:00
Bodhiswattwa Chakraborty
92181dbe09
fix(api): preserve remote file URL query params ( #36478 )
2026-05-22 01:45:20 +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