Yongtao Huang
5bc6e8a433
Fix: correct regex for file-preview URL re-signing ( #25620 )
...
Fixes #25619
The regex patterns for file-preview and image-preview contained an unescaped `?`,
which caused incorrect matches such as `file-previe` or `image-previw`.
This led to malformed URLs being incorrectly re-signed.
Changes:
- Escape `?` in both file-preview and image-preview regex patterns.
- Ensure only valid URLs are re-signed.
Added unit tests to cover:
- Valid file-preview and image-preview URLs (correctly re-signed).
- Misspelled file/image preview URLs (no longer incorrectly matched).
Other:
- Fix a deprecated function `datetime.utcnow()`
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-22 10:58:29 +08:00
-LAN-
85cda47c70
feat: knowledge pipeline ( #25360 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: twwu <twwu@dify.ai>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: jyong <718720800@qq.com>
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: quicksand <quicksandzn@gmail.com>
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: nite-knite <nkCoding@gmail.com>
Co-authored-by: Hanqing Zhao <sherry9277@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Harry <xh001x@hotmail.com>
2025-09-18 12:49:10 +08:00
Asuka Minato
bdd85b36a4
ruff check preview ( #25653 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-16 12:58:12 +08:00
-LAN-
bab4975809
chore: add ast-grep rule to convert Optional[T] to T | None ( #25560 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-15 13:06:33 +08:00
Krito.
a13d7987e0
chore: adopt StrEnum and auto() for some string-typed enums ( #25129 )
...
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-09-12 21:14:26 +08:00
Novice
17b5309e47
fix: single step system file error ( #25533 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-12 09:47:45 +08:00
GuanMu
c7868fb176
test: remove print code ( #25481 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-12 09:30:56 +08:00
Asuka Minato
a78339a040
remove bare list, dict, Sequence, None, Any ( #25058 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-09-06 03:32:23 +08:00
Asuka Minato
2b0695bdde
add more dataclass ( #25039 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-06 03:20:13 +08:00
taewoong Kim
edf4a1b652
feat: add reasoning format processing to LLMNode for <think> tag handling ( #23313 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-05 18:15:35 +08:00
Yongtao Huang
ac057a2d40
Chore: remove dead code in class Graph ( #22791 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
2025-09-04 10:30:04 +08:00
Yongtao Huang
db53656a45
Fix jsonschema compliance: use number instead of float ( #25049 )
...
Signed-off-by: Yongtao Huang<yongtaoh2022@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-03 22:27:41 +08:00
-LAN-
a32dde5428
Fix: Resolve workflow_node_execution primary key conflicts with UUID v7 ( #24643 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-02 14:18:29 +08:00
Novice
1a34ff8a67
fix: change the mcp server strucutre to support github copilot ( #24788 )
2025-08-29 18:00:58 +08:00
Asuka Minato
4cd00efe3b
add more current_user typing ( #24612 )
2025-08-27 18:19:49 +08:00
Yeuoly
d5e6e38c58
refactor: unify blob chunk merging logic for plugin tool and agent ( #24575 )
...
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-26 21:15:23 +08:00
Joel
dac72b078d
feat: support bool type variable frontend ( #24437 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-08-26 18:16:05 +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
-LAN-
2e47558f4b
fix: correct agent node token counting to properly separate prompt and completion tokens ( #24368 )
2025-08-23 11:00:14 +08:00
-LAN-
da9af7b547
[Chore/Refactor] Use centralized naive_utc_now for UTC datetime operations ( #24352 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-22 23:53:05 +08:00
-LAN-
77223e4df4
refactor: simplify repository factory with Django-style import_string ( #24354 )
2025-08-22 21:56:25 +08:00
jiangbo721
805b698c2e
Feat/chat message image first for agent and advanced_chat APP ( #23796 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-22 16:42:15 +08:00
Yongtao Huang
6b466a8469
[Test] add unit tests for web_reader_tool.py ( #24309 )
...
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>
2025-08-22 09:28:00 +08:00
Guangdong Liu
1abf1240b2
refactor: replace try-except blocks with contextlib.suppress for cleaner exception handling ( #24284 )
2025-08-21 18:18:49 +08:00
Yongtao Huang
ad8e82ee1d
[Test] add unit tests for ProviderConfigEncrypter encrypt/mask/decrypt ( #24280 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-21 16:05:53 +08:00
Yongtao Huang
6b5c2bea4d
Fix: correctly match http/https URLs in image upload file ( #24180 )
2025-08-19 22:44:22 +08:00
Yongtao Huang
c9e18346ce
Chore: remove empty files and unused code ( #23990 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
2025-08-15 16:28:41 +08:00
NeatGuyCoding
11fdcb18c6
feature: add test for tool engine serialization ( #23951 )
2025-08-15 09:12:29 +08:00
Guangdong Liu
d4756ba659
Fix multipart/form-data boundary issue in HTTP Call node ( #23903 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 10:01:27 +08:00
xinlmain
b3399642c5
feat: Add an asynchronous repository to improve workflow performance ( #20050 )
...
Co-authored-by: liangxin <liangxin@shein.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: liangxin <xinlmain@gmail.com>
2025-08-13 02:28:06 +08:00
Jason Young
b38f195a0d
test: add comprehensive test suite for rate limiting module ( #23765 )
2025-08-12 10:05:30 +08:00
-LAN-
577062b93a
refactor: simplify variable pool key structure and improve type safety ( #23732 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-11 18:10:04 +08:00
-LAN-
6900b08134
fix: sync missing conversation variables for existing conversations ( #23649 )
2025-08-09 22:42:18 +08:00
ghmark675
ad61b42494
fix(node): fix unexpected extra equals sign in HTTP params ( #23474 )
2025-08-07 09:04:09 +08:00
Yongtao Huang
be914438a5
Fix: incorrect array element validation in SegmentType ( #23289 )
2025-08-01 22:46:50 +08:00
Ali Saleh
142ab74784
feat: Enable Tracing Support For Phoenix Cloud Instance ( #23196 )
2025-07-30 15:58:26 -07:00
NeatGuyCoding
ae28ca0b8d
minor fix: wrong assignment ( #23103 )
2025-07-29 16:36:21 +08:00
chenguowei
fce126b206
fix(api): fix incorrect path handling in Langfuse integration ( #22766 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-28 15:37:13 +08:00
Mike Zixuan HE
bd5b938571
feat: Support allOf in OpenAPI properties inside schema #22946 ( #22975 )
2025-07-28 11:03:19 +08:00
Yeuoly
206bc4b36d
chore: enhance error message when handling PluginInvokeError ( #22908 )
2025-07-24 21:58: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
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
-LAN-
460a825ef1
refactor: decouple Node and NodeData ( #22581 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-18 10:08:51 +08:00
-LAN-
b88dd17fc1
feat(workflow_cycle_manager): Removes redundant repository methods and adds caching ( #22597 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-18 09:26:05 +08:00
NeatGuyCoding
c3037c5491
minor code fix: remove duplicate type check branch ( #22536 )
2025-07-17 13:20:31 +08:00
quicksand
e4ae1e2b94
fix (ci) : remove test_url_signer ( #22525 )
2025-07-17 11:12:14 +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
Hao Cheng
32c541a9ed
fix: generate deterministic operationId for root endpoints without one ( #19888 )
2025-07-15 14:19:55 +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
Novice
535fff62f3
feat: add MCP support ( #20716 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-10 14:01:34 +08:00