zyssyz123
c2fcd2895b
Feat/email register refactor ( #25369 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
2025-09-12 10:24:54 +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
Asuka Minato
05af23f88f
use autospec=True in mock ( #25497 )
2025-09-12 09:46:02 +08:00
NeatGuyCoding
de18b14372
feat: add test containers based tests for delete segment from index task ( #25564 )
2025-09-12 09:33:39 +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
NeatGuyCoding
99f4cd1cfa
feat: add test containers based tests for deal dataset vector index ( #25545 )
2025-09-11 21:12:53 +08:00
QuantumGhost
874406d934
security(api): fix privilege escalation vulnerability in model config and chat message APIs ( #25518 )
...
The `ChatMessageApi` (`POST /console/api/apps/{app_id}/chat-messages`) and
`ModelConfigResource` (`POST /console/api/apps/{app_id}/model-config`)
endpoints do not properly validate user permissions, allowing users without `editor`
permission to access restricted functionality.
This PR addresses this issue by adding proper permission check.
2025-09-11 14:53:35 +08:00
Yeuoly
b0f1e55a87
refactor: remove triggered_by field from webhook triggers and use automatic sync
...
- Remove triggered_by field from WorkflowWebhookTrigger model
- Replace manual webhook creation/deletion APIs with automatic sync via WebhookService
- Keep only GET API for retrieving webhook information
- Use same webhook ID for both debug and production environments (differentiated by endpoint)
- Add sync_webhook_relationships to automatically manage webhook lifecycle
- Update tests to remove triggered_by references
- Clean up unused imports and fix type checking issues
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 17:17:19 +08:00
诗浓
4a743e6dc1
feat: add workflow schedule trigger support ( #24428 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-10 13:24:23 +08:00
Asuka Minato
cbc0e639e4
update sql in batch ( #24801 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-09-10 13:00:17 +08:00
GuanMu
26a9abef64
test: imporve ( #25461 )
...
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-09-10 11:36:22 +08:00
NeatGuyCoding
45ef177809
Feature add test containers create segment to index task ( #25450 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-10 10:02:53 +08:00
Newton José
6574e9f0b2
Fix: Add Password Validation to Account Creation ( #25382 )
2025-09-10 08:58:39 +08:00
-LAN-
08dd3f7b50
Fix basedpyright type errors ( #25435 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-10 01:54:26 +08:00
GuanMu
a1cf48f84e
Add lib test ( #25410 )
2025-09-09 17:11:49 +08:00
Novice
566e0fd3e5
fix(container-test): batch create segment position sort ( #25394 )
2025-09-09 13:47:29 +08:00
NeatGuyCoding
7dfb72e381
feat: add test containers based tests for clean notion document task ( #25385 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-09 11:02:19 +08:00
zyssyz123
ea61420441
Revert "feat: email register refactor" ( #25367 )
2025-09-08 19:20:09 +08:00
NeatGuyCoding
aff2482436
Feature add test containers batch create segment to index ( #25306 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-08 17:55:57 +08:00
zyssyz123
860ee20c71
feat: email register refactor ( #25344 )
...
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-08 17:51:43 +08:00
Cluas
f891c67eca
feat: add MCP server headers support #22718 ( #24760 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Novice <novice12185727@gmail.com>
2025-09-08 14:10:55 +08:00
NeatGuyCoding
5d0a50042f
feat: add test containers based tests for clean dataset task ( #25341 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-08 13:09:53 +08:00
Asuka Minato
16a3e21410
more assert ( #24996 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-08 09:59:43 +08:00
-LAN-
9b8a03b53b
[Chore/Refactor] Improve type annotations in models module ( #25281 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-08 09:42:27 +08:00
NeatGuyCoding
9964cc202d
Feature add test containers batch clean document ( #25287 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-06 16:18:26 +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
NeatGuyCoding
917d60a1cb
Feature add test containers add document to index ( #25251 )
2025-09-05 19:20:37 +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
-LAN-
e78f1cdc6a
refactor: improve plugin version validation to support full semantic versioning ( #25161 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-05 12:39:48 +08:00
非法操作
68f73410fc
chore: (trigger) add WEBHOOK_REQUEST_BODY_MAX_SIZE ( #25217 )
2025-09-05 12:23:11 +08:00
Harry
e751c0c535
refactor(trigger): update trigger provider API and clean up unused classes
...
- Renamed the API endpoint for trigger providers from `/workspaces/current/trigger-providers` to `/workspaces/current/triggers` for consistency.
- Removed unused `TriggerProviderCredentialsCache` and `TriggerProviderOAuthClientParamsCache` classes to streamline the codebase.
- Enhanced the `TriggerProviderApiEntity` to include additional properties and improved the conversion logic in `PluginTriggerProviderController`.
🤖 Generated with [Claude Code](https://claude.ai/code )
2025-09-04 17:45:15 +08:00
NeatGuyCoding
c0d82a412d
feat: add test containers based tests for workflow converter ( #25115 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-04 10:30:24 +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
非法操作
2013ceb9d2
chore: validate param type of application/json when call a webhook ( #25074 )
2025-09-03 15:49:07 +08:00
非法操作
7120c6414c
fix: content type of webhook ( #25032 )
2025-09-03 15:13:01 +08:00
Harry
afd8989150
feat(trigger): introduce subscription builder and enhance trigger management
...
- Refactor trigger provider classes to improve naming consistency, including renaming classes for subscription management
- Implement new TriggerSubscriptionBuilderService for creating and verifying subscription builders
- Update API endpoints to support subscription builder creation and verification
- Enhance data models to include new attributes for subscription builders
- Remove the deprecated TriggerSubscriptionValidationService to streamline the codebase
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-03 14:53:27 +08:00
Harry
2f08306695
feat(trigger): enhance trigger subscription management and processing
...
- Refactor trigger provider classes to improve naming consistency and clarity
- Introduce new methods for managing trigger subscriptions, including validation and dispatching
- Update API endpoints to reflect changes in subscription handling
- Implement logging and request management for endpoint interactions
- Enhance data models to support subscription attributes and lifecycle management
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-03 14:53:27 +08:00
Harry
72f9e77368
refactor(trigger): clean up and optimize trigger-related code
...
- Remove unused classes and imports in encryption utilities
- Simplify method signatures for better readability
- Enhance code quality by adding newlines for clarity
- Update tests to reflect changes in import paths
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-03 14:53:26 +08:00
NeatGuyCoding
c0bd35594e
feat: add test containers based tests for tools manage service ( #25028 )
2025-09-03 09:20:16 +08:00
GuanMu
25a11bfafc
Export DSL from history ( #24939 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-02 21:36:52 +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
NeatGuyCoding
b810efdb3f
Feature add test containers tool transform service ( #24927 )
2025-09-02 09:30:55 +08:00
Yeuoly
676648e0b3
Merge branch 'main' into feat/trigger
2025-09-01 18:05:31 +08:00
lyzno1
327b354cc2
refactor: unify trigger node architecture and clean up technical debt ( #24886 )
...
Co-authored-by: hjlarry <hjlarry@163.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-01 15:47:44 +08:00
willzhao
ffba341258
[CHORE]: remove redundant-cast ( #24807 )
2025-09-01 14:05:32 +08:00
Asuka Minato
24e2b72b71
Update ast-grep pattern for session.query ( #24828 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-31 17:03:51 +08:00
NeatGuyCoding
b66945b9b8
feat: add test containers based tests for api tool manage service ( #24821 )
2025-08-31 17:02:08 +08:00
NeatGuyCoding
bdfbfa391f
Feature add test containers mcp tools manage service ( #24840 )
2025-08-31 17:01:01 +08:00
Novice
1a34ff8a67
fix: change the mcp server strucutre to support github copilot ( #24788 )
2025-08-29 18:00:58 +08:00
NeatGuyCoding
d043e1a05a
feat: add test containers based tests for workspace service ( #24752 )
2025-08-29 12:10:13 +08:00
Bowen Liang
39064197da
chore: cleanup unnecessary mypy suppressions on imports ( #24712 )
2025-08-28 23:17:25 +08:00
非法操作
89ad6ad902
feat: add app trigger list api ( #24693 )
2025-08-28 15:23:08 +08:00
Charles Zhou
0d745c64d8
chore: bump supabase and pyjwt versions and added tests ( #24681 )
2025-08-28 13:45:56 +08:00
Asuka Minato
7995ff1410
Typing test ( #24651 )
2025-08-28 09:36:39 +08:00
NeatGuyCoding
bf34437186
Feature add test containers workflow service ( #24666 )
2025-08-28 09:31:29 +08:00
Asuka Minato
4cd00efe3b
add more current_user typing ( #24612 )
2025-08-27 18:19:49 +08:00
-LAN-
f04844435f
chore: bump version from 1.7.2 to 1.8.0 ( #24539 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-27 15:20:10 +08:00
lyzno1
5bbf685035
feat: fix i18n missing keys and merge upstream/main ( #24615 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: GuanMu <ballmanjq@gmail.com>
Co-authored-by: Davide Delbianco <davide.delbianco@outlook.com>
Co-authored-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
Co-authored-by: kenwoodjw <blackxin55+@gmail.com>
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: Qiang Lee <18018968632@163.com>
Co-authored-by: 李强04 <liqiang04@gaotu.cn>
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: Matri Qi <matrixdom@126.com>
Co-authored-by: huayaoyue6 <huayaoyue@163.com>
Co-authored-by: Bowen Liang <liangbowen@gf.com.cn>
Co-authored-by: znn <jubinkumarsoni@gmail.com>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: yihong <zouzou0208@gmail.com>
Co-authored-by: Muke Wang <shaodwaaron@gmail.com>
Co-authored-by: wangmuke <wangmuke@kingsware.cn>
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com>
Co-authored-by: quicksand <quicksandzn@gmail.com>
Co-authored-by: 非法操作 <hjlarry@163.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Eric Guo <eric.guocz@gmail.com>
Co-authored-by: Zhedong Cen <cenzhedong2@126.com>
Co-authored-by: jiangbo721 <jiangbo721@163.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: hjlarry <25834719+hjlarry@users.noreply.github.com>
Co-authored-by: lxsummer <35754229+lxjustdoit@users.noreply.github.com>
Co-authored-by: 湛露先生 <zhanluxianshen@163.com>
Co-authored-by: Guangdong Liu <liugddx@gmail.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Yessenia-d <yessenia.contact@gmail.com>
Co-authored-by: huangzhuo1949 <167434202+huangzhuo1949@users.noreply.github.com>
Co-authored-by: huangzhuo <huangzhuo1@xiaomi.com>
Co-authored-by: 17hz <0x149527@gmail.com>
Co-authored-by: Amy <1530140574@qq.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Nite Knite <nkCoding@gmail.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
Co-authored-by: Petrus Han <petrus.hanks@gmail.com>
Co-authored-by: iamjoel <2120155+iamjoel@users.noreply.github.com>
Co-authored-by: Kalo Chin <frog.beepers.0n@icloud.com>
Co-authored-by: Ujjwal Maurya <ujjwalsbx@gmail.com>
Co-authored-by: Maries <xh001x@hotmail.com>
2025-08-27 15:07:28 +08:00
非法操作
a63d1e87b1
feat: webhook trigger backend api ( #24387 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-27 14:42:45 +08:00
湛露先生
d4883256f1
Fix login tokens and fix task clean_messages create_time. ( #24574 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-27 13:32:18 +08:00
QuantumGhost
58189ed9a0
chore(api): Use uuidv7 as PK for new provider crendential tables ( #24545 )
2025-08-27 11:22:08 +08:00
NeatGuyCoding
244ed5e5e3
hotfix: add test containers based tests for workflow run service ( #24602 )
2025-08-27 10:24:34 +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
Amy
b5c2756261
fix(api):safe reset in db pool, avoid rollback in gevent callback ( #24556 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-26 18:14:06 +08:00
Yongtao Huang
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
-LAN-
cfb8d224da
fix: standardize authentication error messages to prevent user enumeration ( #24324 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-26 09:46:23 +08:00
NeatGuyCoding
c14b498676
hotfix: add test containers based tests for workflow app service ( #24501 )
2025-08-26 09:24:45 +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
3032e6fe59
example for logging ( #24441 )
2025-08-25 11:41:17 +08:00
NeatGuyCoding
846b6bd14e
hotfix: add test containers based tests for website service ( #24430 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-25 09:25:50 +08:00
NeatGuyCoding
b5159d8c8a
hotfix: add test containers based tests for webapp auth service ( #24397 )
2025-08-24 21:04:39 +08:00
Asuka Minato
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
NeatGuyCoding
68576a5d63
feature: add test containers based tests for web conversation service ( #24372 )
2025-08-23 11:03:51 +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
Eric Guo
455f842785
Flask 3.1.2 upgrade fix by Avoids using current_user in background thread ( #24290 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-22 14:47:13 +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
NeatGuyCoding
21c56c3107
feature: add test containers base tests for tag service ( #24313 )
2025-08-22 09:27:51 +08:00
willzhao
5ab6bc283c
[CHORE]: x: T = None to x: Optional[T] = None ( #24217 )
2025-08-21 21:58:39 +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
NeatGuyCoding
1d7a8d94e0
feature: add test containers base tests for saved message service ( #24259 )
2025-08-21 09:34:49 +08:00
NeatGuyCoding
e6183074f3
feat: add testcontainers based tests for model provider service ( #24193 )
2025-08-20 09:33:09 +08:00
Yongtao Huang
6b5c2bea4d
Fix: correctly match http/https URLs in image upload file ( #24180 )
2025-08-19 22:44:22 +08:00
Asuka Minato
70da81d0e5
try ast-grep ( #24149 )
2025-08-19 13:41:52 +08:00
NeatGuyCoding
60cc82aff1
feat: add testcontainers based tests for feature service ( #24026 )
2025-08-19 09:32:47 +08:00
Bo Wu
790a6ec203
fix: return empty list instead of raising exception for qdrant search when score_threshold is 1 ( #24032 )
2025-08-18 12:44:05 +08:00
-LAN-
052d0e059e
feat: add Redis SSL/TLS certificate authentication support ( #23624 )
2025-08-18 10:59:07 +08:00
NeatGuyCoding
80f0594f4b
feat: add testcontainers based tests for model loadbalancing service ( #24066 )
2025-08-18 09:54:22 +08:00
NeatGuyCoding
97b24f48d5
feat: add testcontainers based tests for metadata service ( #24048 )
2025-08-18 09:43:20 +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
9e29309ffd
fix: ensure custom headers are ignored when using bearer or basic authorization ( #23584 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-14 10:18:12 +08:00
NeatGuyCoding
e0f0813b7c
Add Test Containers Based Tests for App Generation Services ( #23899 )
2025-08-14 10:16:41 +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
Yongtao Huang
bf2f03f911
Restructure the File errors in controller ( #23801 )
...
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-13 17:06:07 +08:00
NeatGuyCoding
1cf7c3430a
Add more comprehensive Test Containers Based Tests for advanced prompt service ( #23850 )
2025-08-13 11:21:32 +08:00
QuantumGhost
e600070a61
feat(api): auto-delete WorkflowDraftVariable when app is deleted ( #23737 )
...
This commit introduces a background task that automatically deletes `WorkflowDraftVariable` records when
their associated workflow apps are deleted.
Additionally, it adds a new cleanup script
`cleanup-orphaned-draft-variables` to remove existing orphaned draft variables from the database.
2025-08-13 11:13:08 +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
NeatGuyCoding
cb46726fa4
Add Test Containers Based Tests for File Service ( #23771 )
2025-08-12 18:16:07 +08:00
Jason Young
b38f195a0d
test: add comprehensive test suite for rate limiting module ( #23765 )
2025-08-12 10:05:30 +08:00
Jason Young
cdee5aab3a
fix: update integration tests to use 2-element variable selectors ( #23766 )
2025-08-12 09:33:09 +08:00
QuantumGhost
4240e2dd29
fix(api): fix flaky tests by generating unique variable names ( #23768 )
2025-08-12 09:31:15 +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
QuantumGhost
223c1a8089
test(api): fix flaky tests in TestWorkflowDraftVariableService ( #23749 )
...
Fix flaky test
`TestWorkflowDraftVariableService.test_list_variables_without_values_success`
caused by low entropy in test data generation that led to
duplicate values violating unique constraints.
Also improve data generation in other tests within
`TestWorkflowDraftVariableService` to reduce the likelihood of
generating duplicate test data.
2025-08-11 17:39:58 +08:00
NeatGuyCoding
6083b1d618
Feat add testcontainers test for message service ( #23703 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-08-11 10:49:32 +08:00
NeatGuyCoding
5f8967918e
Feat add testcontainers test for app dsl service ( #23675 )
2025-08-10 11:03:46 +08:00
-LAN-
6900b08134
fix: sync missing conversation variables for existing conversations ( #23649 )
2025-08-09 22:42:18 +08:00
-LAN-
cbe0d9d053
fix: conversation pinned filter returns incorrect results when no conversations are pinned ( #23670 )
2025-08-09 22:40:28 +08:00
NeatGuyCoding
41345199d8
Feat add testcontainers test for api base extendsion service ( #23652 )
2025-08-09 12:57:24 +08:00
yunqiqiliang
62772e8871
fix: ensure vector database cleanup on dataset deletion regardless of document presence (affects all 33 vector databases) ( #23574 )
...
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-08 09:18:43 +08:00
lyzno1
2edd32fdea
fix: resolve AppCard description overlap with tag area ( #23585 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-08 09:05:55 +08:00
NeatGuyCoding
5889059ce4
Feat add testcontainers test for annnotation service ( #23593 )
2025-08-08 09:03:50 +08:00
lyzno1
d98071a088
feat: add Service API file preview endpoint ( #23534 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-07 21:44:29 +08:00
yunqiqiliang
e01510e2a6
feat: Add Clickzetta Lakehouse vector database integration ( #22551 )
...
Co-authored-by: Claude <noreply@anthropic.com>
2025-08-07 14:21:46 +08:00
NeatGuyCoding
d253ca192a
Feat add testcontainers test for app service ( #23523 )
2025-08-07 09:13:30 +08:00
ghmark675
ad61b42494
fix(node): fix unexpected extra equals sign in HTTP params ( #23474 )
2025-08-07 09:04:09 +08:00
NeatGuyCoding
ad622cea9e
Feat add testcontainers test for workflow draft variable service ( #23466 )
2025-08-06 09:47:56 +08:00
NeatGuyCoding
fc5ed9f316
Feat add testcontainers test for account service ( #23380 )
2025-08-05 20:15:39 +08:00
rouxiaomin
40a11b6942
feat(api):Enhance the scope of expired data cleanup table in the Dify… ( #23414 )
2025-08-05 19:57:43 +08:00
NeatGuyCoding
60c7663a80
Feat add testcontainers test ( #23269 )
2025-08-04 19:27:36 +08:00
Yongtao Huang
be914438a5
Fix: incorrect array element validation in SegmentType ( #23289 )
2025-08-01 22:46:50 +08:00
wanttobeamaster
da5c003f97
chore: tablestore full text search support score normalization ( #23255 )
...
Co-authored-by: xiaozhiqing.xzq <xiaozhiqing.xzq@alibaba-inc.com>
2025-08-01 14:14:11 +08:00
Jason Young
afac1fe590
Add comprehensive security tests for file upload controller ( #23102 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-31 10:32:16 +08:00
Ali Saleh
142ab74784
feat: Enable Tracing Support For Phoenix Cloud Instance ( #23196 )
2025-07-30 15:58:26 -07:00
Sn0rt
bbdeb15501
fix: Support URL-encoded passwords with special characters in CELERY_BROKER_URL ( #23163 )
...
Signed-off-by: Sn0rt <wangguohao.2009@gmail.com>
2025-07-30 16:39:54 +08:00
rhochman
eee576355b
Fix: Support for Elasticsearch Cloud Connector ( #23017 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-30 11:12:16 +08:00
lyzno1
0ea010d7ee
fix: metadata API nullable validation consistency issue ( #23133 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-30 10:33:24 +08: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
Asuka Minato
a189d293f8
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +08:00
Jason Young
88952cbb7a
test: add comprehensive tests for file_factory build_from_mapping ( #22926 )
2025-07-25 10:30: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
Jason Young
8c3e390172
test: add comprehensive integration tests for API key authentication system ( #22856 )
2025-07-23 23:14:40 +08:00
Asuka Minato
6d3e198c3c
Mapped column ( #22644 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-23 00:39:59 +08:00
-LAN-
0f4809b9b8
refactor: centralize email internationalization handling ( #22752 )
...
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-23 00:26:00 +08:00
wanttobeamaster
a2048fd0f4
fix: tablestore vdb support metadata filter ( #22774 )
...
Co-authored-by: xiaozhiqing.xzq <xiaozhiqing.xzq@alibaba-inc.com>
2025-07-22 16:48:59 +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
Jason Young
db09e7386f
test: add comprehensive unit tests for AuthType ( #22742 )
2025-07-22 08:12:38 +08:00
Jason Young
c7382150b5
test: add comprehensive unit tests for Firecrawl and Watercrawl auth providers ( #22705 )
2025-07-21 15:58:36 +08:00
Jason Young
6248658c04
fix: resolve Redis mock import error in test configuration ( #22663 )
2025-07-20 11:06:38 +08:00
Jason Young
274142c4c2
test: add comprehensive unit tests for auth service module ( #22662 )
2025-07-20 11:06:32 +08:00
Aryan Raj
ce794335e9
Fix/replace datetime patterns with naive utc now ( #22654 )
2025-07-20 11:05:53 +08:00
Jason Young
f2389771cf
test: add comprehensive API key authentication service tests ( #22572 )
2025-07-18 13:52:22 +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-
1715dd4320
refactor: Fix some type error ( #22594 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-18 09:26:29 +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
Maries
a4ef900916
Support OAuth Integration for Plugin Tools ( #22550 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
2025-07-17 17:18:44 +08:00
Jason Young
74caebac32
test: add comprehensive OAuth authentication unit tests ( #22528 )
2025-07-17 14:20:59 +08:00
quicksand
10e6b11ff6
fix: code node check decimal precision ( #22522 )
2025-07-17 13:21:17 +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
zyssyz123
a4f421028c
Feat/change user email ( #22213 )
...
Co-authored-by: NFish <douxc512@gmail.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
2025-07-17 10:55:59 +08:00
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 .
2025-07-16 13:07:08 +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
Jason Young
38106074b4
test: add comprehensive unit tests for console authentication and authorization decorators ( #22439 )
2025-07-16 10:07:01 +08:00
Jacky Wu
da53bf511f
chore: add SQLALCHEMY_POOL_USE_LIFO option and missing SQLALCHEMY_POOL_PRE_PING env default value. ( #22371 )
2025-07-15 19:46:48 +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
Jason Young
27e5e2745b
test: add comprehensive unit tests for login decorator ( #22294 )
2025-07-14 09:34:13 +08:00
Bowen Liang
e7388779a1
chore: bump ruff to 0.12.x ( #22259 )
2025-07-12 20:00:54 +08:00
NeatGuyCoding
9f013f7644
Add unit test for account service ( #22278 )
2025-07-12 19:58:42 +08:00
Jason Young
253d8e5a5f
test: add comprehensive unit tests for PassportService with exception handling optimization ( #22268 )
2025-07-12 19:56:20 +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
Yongtao Huang
10858ea1dc
Chore: rm useless import and vars ( #22108 )
2025-07-10 11:47:43 +08:00
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>
2025-07-10 10:19:58 +08:00
Jason Young
881a151d30
test: add comprehensive unit tests for encrypter module ( #22102 )
2025-07-10 10:01:15 +08:00
-LAN-
4cb50f1809
feat(libs): Introduce `extract_tenant_id` ( #22086 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-09 17:45:56 +08:00
Jason Young
d61ea5a2de
test: add comprehensive unit tests for UrlSigner ( #22030 )
2025-07-08 21:22:37 +08:00
Jason Young
5c0cb7f912
test: add unit tests for password validation and hashing ( #22003 )
2025-07-08 10:00:00 +08:00
NeatGuyCoding
53c4912cbb
feat: add unit tests and validation for aliyun tracing ( #22012 )
...
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-07-08 09:32:30 +08:00
-LAN-
8f723697ef
refactor(graph_engine): Take GraphRuntimeState out of GraphEngine ( #21882 )
2025-07-07 13:15:18 +08:00
NeatGuyCoding
ac69b8b191
refactor: extract common url validator for config_entity.py ( #21934 )
...
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-07-07 09:34:13 +08:00
Bowen Liang
6663187eca
test:add unit test for api version config ( #21919 )
2025-07-04 15:33:20 +08:00
Yeuoly
980b0188d2
feat(tests): add structured output parser tests for LLM responses ( #21838 )
2025-07-03 09:10:04 +08:00
QuantumGhost
89250a36b7
fix(api): files not returned in the answer node ( #21807 )
2025-07-02 13:54:10 +08:00
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.
2025-07-02 13:36:35 +08:00
Yeuoly
0cb00d5fd2
refactor: move structured output support outside LLM Node ( #21565 )
...
Co-authored-by: Novice <novice12185727@gmail.com>
2025-06-27 14:55:31 +08:00
NeatGuyCoding
785d4b3de7
feat: refactor: test_dataset unit tests #21499 ( #21502 )
2025-06-26 10:07:54 +08:00
Maries
164e5481c5
feat(oauth): plugin oauth service ( #21480 )
2025-06-25 14:14:30 +08:00
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 .
2025-06-25 12:39:22 +08:00
NeatGuyCoding
94f8e48647
Refactor update dataset ( fix #21401 ) ( #21402 )
...
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-25 11:44:35 +08:00
QuantumGhost
501d3b6203
feat(api): Explicitly define version method for all BaseNode subclasses ( #21443 )
...
This PR addresses issue #21441 by implementing explicit `version` method definitions for all `BaseNode` subclasses to improve code maintainability.
### Changes
Added explicit `version` method definitions for all `BaseNode` subclasses:
- `QuestionClassifierNode`
- `KnowledgeRetrievalNode`
- `AgentNode`
Added comprehensive test suite to validate:
1. All subclasses of `BaseNode` have explicitly defined `version` method
2. All subclasses have required `_node_type` property
3. The `(node_type, node_version)` combination is unique across all subclasses
2025-06-24 20:27:22 +08:00
quicksand
45146edb31
fix(document_extractor): xlsx file column int type error ( #21408 )
2025-06-24 13:42:13 +08:00
QuantumGhost
10b738a296
feat: Persist Variables for Enhanced Debugging Workflow ( #20699 )
...
This pull request introduces a feature aimed at improving the debugging experience during workflow editing. With the addition of variable persistence, the system will automatically retain the output variables from previously executed nodes. These persisted variables can then be reused when debugging subsequent nodes, eliminating the need for repetitive manual input.
By streamlining this aspect of the workflow, the feature minimizes user errors and significantly reduces debugging effort, offering a smoother and more efficient experience.
Key highlights of this change:
- Automatic persistence of output variables for executed nodes.
- Reuse of persisted variables to simplify input steps for nodes requiring them (e.g., `code`, `template`, `variable_assigner`).
- Enhanced debugging experience with reduced friction.
Closes #19735 .
2025-06-24 09:05:29 +08:00
NeatGuyCoding
a0a89b562c
Feature:Refactor batch update document status for #21324 ( #21325 )
2025-06-23 09:49:13 +08:00
Jin
3e7f8bad56
fix: markdown_extractor lost chunks if it starts without a header( #21308 ) ( #21309 )
2025-06-21 23:10:00 +08:00
-LAN-
6b1ad634f1
fix(workflow_run): sequence_number race. ( #21228 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-06-19 17:53:49 +08:00
LiuBo
17fe62cf91
feat: add support for Matrixone database ( #20714 )
2025-06-19 10:20:12 +08:00
He Wang
37f26c412f
add healthcheck to oceanbase container ( #20989 )
2025-06-18 14:00:59 +08:00
-LAN-
0dcacdf83d
feat: add a flask_context_manager. ( #21061 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-06-17 16:31:29 +08:00
Bowen Liang
366ddb05ae
test: run vdb test of oceanbase with docker compose in CI tests ( #20945 )
2025-06-16 11:05:19 +08:00
QuantumGhost
c439e82038
refactor(api): Decouple `ParameterExtractorNode` from `LLMNode` ( #20843 )
...
- Extract methods used by `ParameterExtractorNode` from `LLMNode` into a separate file.
- Convert `ParameterExtractorNode` into a subclass of `BaseNode`.
- Refactor code referencing the extracted methods to ensure functionality and clarity.
- Fixes the issue that `ParameterExtractorNode` returns error when executed.
- Fix relevant test cases.
Closes #20840 .
2025-06-10 11:47:50 +08:00