Commit Graph

246 Commits (f433b8a175eec3462f6561d805dd46710e126ce3)

Author SHA1 Message Date
GuanMu f433b8a175 test: Refactor AnswerNode tests, extract configuration to variables and update node initialization. 9 months ago
GuanMu 868542dea8 Fix AnswerNode attribute access and update tests to include outputs 9 months ago
GuanMu 6d20b71e92 Merge upstream main and resolve conflicts in task pipeline and answer node tests 9 months ago
Jason Young c7382150b5
test: add comprehensive unit tests for Firecrawl and Watercrawl auth providers (#22705) 9 months ago
Jason Young 6248658c04
fix: resolve Redis mock import error in test configuration (#22663) 9 months ago
Jason Young 274142c4c2
test: add comprehensive unit tests for auth service module (#22662) 9 months ago
Aryan Raj ce794335e9
Fix/replace datetime patterns with naive utc now (#22654) 9 months ago
Jason Young f2389771cf
test: add comprehensive API key authentication service tests (#22572) 9 months ago
-LAN- 460a825ef1
refactor: decouple Node and NodeData (#22581)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
9 months ago
-LAN- 1715dd4320
refactor: Fix some type error (#22594)
Signed-off-by: -LAN- <laipz8200@outlook.com>
9 months ago
-LAN- b88dd17fc1
feat(workflow_cycle_manager): Removes redundant repository methods and adds caching (#22597)
Signed-off-by: -LAN- <laipz8200@outlook.com>
9 months ago
Maries a4ef900916
Support OAuth Integration for Plugin Tools (#22550)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
9 months ago
Jason Young 74caebac32
test: add comprehensive OAuth authentication unit tests (#22528) 9 months ago
NeatGuyCoding c3037c5491
minor code fix: remove duplicate type check branch (#22536) 9 months ago
quicksand e4ae1e2b94
fix (ci) : remove test_url_signer (#22525) 9 months ago
GuanMu aff8e9824f fix test 9 months ago
GuanMu 05704f1bd1 fix test 9 months ago
GuanMu 7a0894f7b6 Fix: Ensure the import of SystemVariableKey is available in test cases to support the correctness validation of custom output variables. 9 months ago
GuanMu 623f16e32d fix:test 9 months ago
GuanMu 0d8769a7e4 Enhance test cases, ensure output results are not empty, and verify the correctness of different output configurations. 9 months ago
QuantumGhost ddfd8c8525
feat(api): add UUIDv7 implementation in SQL and Python (#22058)
This PR introduces UUIDv7 implementations in both Python and SQL to establish the foundation for migrating from UUIDv4 to UUIDv7 as proposed in #19754.

ID generation algorithm of existing models are not changed, and new models should use UUIDv7 for ID generation.

Close #19754.
9 months ago
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.
9 months ago
GuanMu ea3a99efcd fix: Simplify the formatting of output variables, improve code readability; update test cases to verify the correctness of different output configurations. 9 months ago
GuanMu 81027f6077 Test:Add multiple test cases to verify the correctness of different output configurations, including complex outputs and handling of missing variables. 9 months ago
Jason Young 38106074b4
test: add comprehensive unit tests for console authentication and authorization decorators (#22439) 9 months ago
GuanMu 3b70c408f9 Merge upstream/main - resolved conflicts in answer_node.py
- Combined output variables functionality with upstream ArrayFileSegment changes
- Maintained both features: custom outputs and proper file handling
9 months ago
Jacky Wu da53bf511f
chore: add SQLALCHEMY_POOL_USE_LIFO option and missing SQLALCHEMY_POOL_PRE_PING env default value. (#22371) 9 months ago
Hao Cheng 32c541a9ed
fix: generate deterministic operationId for root endpoints without one (#19888) 9 months ago
-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>
9 months ago
Jason Young 27e5e2745b
test: add comprehensive unit tests for login decorator (#22294) 9 months ago
Bowen Liang e7388779a1
chore: bump ruff to 0.12.x (#22259) 9 months ago
NeatGuyCoding 9f013f7644
Add unit test for account service (#22278) 9 months ago
Jason Young 253d8e5a5f
test: add comprehensive unit tests for PassportService with exception handling optimization (#22268) 9 months ago
Novice 535fff62f3
feat: add MCP support (#20716)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
9 months ago
Yongtao Huang 10858ea1dc
Chore: rm useless import and vars (#22108) 9 months ago
NeatGuyCoding 6f8c7a66c8
feat: add redis fallback mechanism #21043 (#21044)
Co-authored-by: tech <cto@sb>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
9 months ago
Jason Young 881a151d30
test: add comprehensive unit tests for encrypter module (#22102) 9 months ago
-LAN- 4cb50f1809
feat(libs): Introduce `extract_tenant_id` (#22086)
Signed-off-by: -LAN- <laipz8200@outlook.com>
9 months ago
Jason Young d61ea5a2de
test: add comprehensive unit tests for UrlSigner (#22030) 9 months ago
Jason Young 5c0cb7f912
test: add unit tests for password validation and hashing (#22003) 9 months ago
NeatGuyCoding 53c4912cbb
feat: add unit tests and validation for aliyun tracing (#22012)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
9 months ago
-LAN- 8f723697ef
refactor(graph_engine): Take GraphRuntimeState out of GraphEngine (#21882) 9 months ago
NeatGuyCoding ac69b8b191
refactor: extract common url validator for config_entity.py (#21934)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
9 months ago
Bowen Liang 6663187eca
test:add unit test for api version config (#21919) 9 months ago
Yeuoly 980b0188d2
feat(tests): add structured output parser tests for LLM responses (#21838) 9 months ago
QuantumGhost 89250a36b7
fix(api): files not returned in the answer node (#21807) 9 months ago
QuantumGhost c2e599cd85
fix(api): Fix resetting sys var causing internal server error (#21604)
and sorts draft variables by their creation time, ensures a consist order.
9 months ago
NeatGuyCoding 785d4b3de7
feat: refactor: test_dataset unit tests #21499 (#21502) 10 months ago
Maries 164e5481c5
feat(oauth): plugin oauth service (#21480) 10 months ago
QuantumGhost 268da31332
fix(api): adding variable to variable pool recursively while loading draft variables. (#21478)
This PR fix the issue that `ObjectSegment` are not recursively added to the draft variable pool while loading draft variables from database. It also fixes an issue about loading variables with more than two elements in the its selector.

Enhances #19735.
Closes #21477.
10 months ago