Taranum01
3e350be1b8
fix(model): accept relative URLs in re_sign_file_url_answer
...
Regression for #40788 . The new multi-pattern URL detector required an
`https?://` prefix, which broke the existing tests that use relative
`/files/...` URLs inside markdown link payloads.
- Make the host prefix optional so all three supported shapes (markdown,
backticked, bare) match both relative and absolute paths.
- Replace the trailing `.*` after each URL parameter with a
bounded `[^)\s]*?` so the bare-URL pattern doesn't run off the
end of the answer string and gobble up adjacent URLs.
2026-08-15 00:10:54 +05:30
Taranum01
4f1841d763
test(model): cover bare/backticked/mixed tool file URL re-sign paths
2026-08-14 23:19:42 +05:30
Taranum01
cc557867a4
fix(model): re-sign bare/backticked tool file URLs in answer
...
The agent runtime may emit tool file URLs in three shapes: a
markdown link [text](url), a backticked URL `url`, or a bare URL.
The current re_sign_file_url_answer only matches the markdown form, so
bare and backticked tool file URLs keep the long-lived INTERNAL_FILES_URL
host and 5xx at serve time. The re_sign is only meaningful at the
URL-form branch, so this is purely a regex widening.
Split the common /files/.../timestamp=&nonce=&sign= core into a named
subpattern, then run it three times in the answer string:
- markdown link: [text](url)
- backticked URL: `url`
- bare URL
The rest of the function (URL classification into tools/ vs upload vs
image-preview, sign + rewire) is unchanged.
Refs #40788
2026-08-14 23:19:19 +05:30
zyssyz123
dfac3e524e
fix: reclaim conversation resources on deletion ( #40792 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-14 14:30:04 +00:00
WH-2099
fc7b51634d
fix(api): protect agent sandbox reads ( #40794 )
2026-08-14 13:51:41 +00:00
WH-2099
96bfcf20cd
fix(api): protect workspace credential mutations ( #40790 )
2026-08-14 12:03:54 +00:00
Mahbub Souad
557fbec45f
refactor: add Mapped type annotations to model fields ( #40373 ) ( #40380 )
2026-08-14 12:03:17 +00:00
AlexMultiAgent
eaa9d877f1
test(api): make session decorator path assertion platform-agnostic ( #39895 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
2026-08-14 11:52:40 +00:00
chelsealong
b537fed907
fix(api): point SSRF-blocked error message at the correct dify issue ( #40605 )
2026-08-14 11:46:50 +00:00
酒诗
b6319c819c
chore: dep inject for model in dataset document actions ( #40787 )
...
Co-authored-by: geneachina <geneachina@gmail.com>
2026-08-14 11:08:21 +00:00
WH-2099
b6694d462f
fix(api): protect custom OAuth client deletion ( #40786 )
2026-08-14 10:59:49 +00:00
L1nSn0w
ea6770c7a1
feat(oauth): drive silent authorization from oauth_provider_apps.auto_authorize ( #40783 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-14 10:29:39 +00:00
WH-2099
62a544a146
fix(api): enforce RAG draft variable access boundaries ( #40745 )
2026-08-14 10:07:22 +00:00
非法操作
eec092f93d
refactor(api): reuse app definition queries for service API info ( #40476 )
2026-08-14 09:38:35 +00:00
非法操作
e0fd3b264a
refactor(api): reuse app definition queries for app parameters ( #40465 )
2026-08-14 09:38:34 +00:00
非法操作
17c8ff6a33
refactor(api): reuse app definition queries in web and service APIs ( #40463 )
2026-08-14 09:38:33 +00:00
非法操作
c425e4cdd5
refactor(api): extract installed app definition queries ( #40462 )
2026-08-14 09:38:32 +00:00
zyssyz123
09f20b7a14
fix(agent): return conflict for duplicate creation ( #40771 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-14 08:57:13 +00:00
Asuka Minato
0a1e52598f
test: migrate controller identity ORM models to SQLite ( #40626 )
2026-08-14 08:54:48 +00:00
Asuka Minato
640bf56859
test: migrate workflow tool users to SQLite ORM models ( #40628 )
2026-08-14 08:54:31 +00:00
Asuka Minato
a958c2cadb
test: migrate RAG residual entities to real ORM models ( #40629 )
2026-08-14 08:53:56 +00:00
Asuka Minato
f058e36084
test: migrate account tenant ORM stand-ins to SQLite ( #40627 )
2026-08-14 08:53:32 +00:00
Asuka Minato
9f364339cc
test: migrate residual namespace ORM entities to real models ( #40633 )
2026-08-14 08:52:53 +00:00
盐粒 Yanli
3acc9470d4
feat(dify-agent): expand and enforce agent run limits ( #40641 )
2026-08-14 08:27:19 +00:00
Myshkin451
c903e93e8b
fix: preserve file preview content type ( #37211 )
...
Co-authored-by: FFXN <31929997+FFXN@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-14 07:45:21 +00:00
林玮 (Jade Lin)
4e44ade07f
fix: handle long text URLs in webscraper ( #40757 )
2026-08-14 07:34:53 +00:00
Joel
35132d6892
chore: reopen the education application flow ( #40760 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-14 07:16:21 +00:00
Crazywoola
58653f2cdb
feat(workflow-generator): prefer installed tools ( #40611 )
2026-08-14 05:38:37 +00:00
Asuka Minato
ef176f130b
test: migrate workflow event ORM models to real entities ( #40634 )
2026-08-14 05:35:10 +00:00
Asuka Minato
c36161a73f
test: migrate OpenAPI and tool-file ORM entities ( #40637 )
2026-08-14 05:34:56 +00:00
Asuka Minato
4b189777c4
test: migrate web controller identity ORM models to real entities ( #40639 )
2026-08-14 05:34:43 +00:00
Asuka Minato
d08dc6162c
test: migrate trace workflow run ORM model to real entity ( #40642 )
2026-08-14 05:34:29 +00:00
Asuka Minato
b5e05516f4
test: migrate annotation controller ORM models to real entities ( #40643 )
2026-08-14 05:34:16 +00:00
Asuka Minato
9f048cd89b
test: migrate load balancing account ORM model to real entity ( #40644 )
2026-08-14 05:34:00 +00:00
Asuka Minato
78dfce3b63
test: migrate expired log workflow ORM models to real entities ( #40645 )
2026-08-14 05:33:46 +00:00
Asuka Minato
97d34ae6be
test: migrate agent drive end-user ORM models to real entities ( #40654 )
2026-08-14 05:33:29 +00:00
Asuka Minato
ea0ee680dc
test: migrate app service accounts and commit failures to real ORM ( #40655 )
2026-08-14 05:33:16 +00:00
WH-2099
3cd23d4ef8
fix(agent): authenticate agent control plane ( #40737 )
2026-08-14 04:32:09 +00:00
Pranav Agarwal
e2852524be
fix(api): enforce edit and RBAC permissions on dataset API key GET endpoint ( #40740 ) ( #40743 )
2026-08-14 04:27:37 +00:00
林玮 (Jade Lin)
755c154b1f
refactor: resolve completion model via manager ( #40756 )
2026-08-14 02:52:42 +00:00
Xiyuan Chen
bf044cf19c
chore(deps): bump wandb to 0.28.2 (go-git, grpc, x/text, Go stdlib CVEs) ( #40753 )
2026-08-14 01:36:14 +00:00
WH-2099
c1bde25bcc
fix(api): remove unsafe Bedrock test endpoint ( #40742 )
2026-08-13 19:47:13 +00:00
Harsh Kashyap
8238684334
fix(api): chain original exception in 13 except blocks per PEP 3134 ( #40738 )
...
Co-authored-by: Harsh Kashyap <Harsh23Kashyap@users.noreply.github.com>
2026-08-13 17:50:05 +00:00
zyssyz123
c9c7fb9962
fix(agent): meter internal LLM calls through API ( #40613 )
...
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2026-08-13 12:15:44 +00:00
林玮 (Jade Lin)
b9248690b0
refactor: generalize hosted model quota lifecycle ( #40722 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-13 08:10:02 +00:00
盐粒 Yanli
79b8d7a797
fix(agent): normalize plugin provider identities ( #40619 )
...
Co-authored-by: Joel <iamjoel007@gmail.com>
2026-08-13 07:22:41 +00:00
林玮 (Jade Lin)
c647cfd6a3
refactor: resolve summary models through manager ( #40696 )
2026-08-13 06:22:22 +00:00
盐粒 Yanli
8df220c2b3
fix(agent): propagate resource collection failures ( #40697 )
2026-08-13 06:16:12 +00:00
zyssyz123
6e80f42f38
fix(api): decouple response listeners from execution lifecycle ( #39813 )
2026-08-13 05:50:43 +00:00
Asuka Minato
211344d0b0
test: migrate conversation lifecycle sessions and ORM models to SQLite ( #40656 )
2026-08-13 05:20:10 +00:00