4f868275a9
example for __all__ ( #25666 )
2025-09-14 18:40:06 +08:00
0add1af1c8
feat: add test containers based tests for disable segments from index task ( #25660 )
2025-09-14 14:12:52 +08:00
0f15a2baca
[autofix.ci] apply automated fixes
2025-09-13 20:20:53 +00:00
4cdc19fd05
feat(graph_engine): add abstract layer and dump / load methods for ready queue.
2025-09-14 04:19:24 +08:00
efa5f35277
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-14 01:48:06 +08:00
831548132e
Merge branch 'feat/rag-2' into fix-permission
2025-09-13 23:42:32 +08:00
ec87474d45
Fix worng permission logic
2025-09-13 23:40:59 +08:00
8d0139bb21
Merge branch 'feat/rag-2' into fix-miss-import
2025-09-13 23:34:38 +08:00
bfb25ced7a
Fix missing import of DataSourceOauthBinding
2025-09-13 23:32:07 +08:00
188eb838c5
[Test] speed up Hypothesis strategies to avoid too_slow ( #25623 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-13 21:05:19 +08:00
766fda395b
Merge branch 'main' into feat/queue-based-graph-engine
2025-09-13 19:37:52 +08:00
a825f0f2b2
Feature add test containers disable segment from index task ( #25631 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-13 14:28:10 +08:00
b0e815c3c7
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-13 01:31:17 +08:00
1b0f92a331
feat(stress-test): add comprehensive stress testing suite using Locust ( #25617 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-12 22:25:05 +08:00
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
32a1a61d65
security(api): enforce privilege validation for dataset-to-pipeline transformation
...
The transformation from classic dataset to knowledge pipeline represents an irreversible
write operation that permanently alters the dataset structure. To prevent unauthorized
modifications, this change implements strict privilege validation in `RagPipelineTransformApi`.
Only users with editor privileges or dataset operator roles are authorized to execute
this transformation, ensuring proper access control for this critical operation.
2025-09-12 17:07:26 +08:00
ad870de554
add dataset service api enable
2025-09-12 15:35:13 +08:00
c91253d05d
fix segment deletion race condition ( #24408 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.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-09-12 15:29:57 +08:00
285291f545
refactor: update API routes and documentation for console endpoints ( #25554 )
2025-09-12 11:51:24 +08:00
ac41151571
chore(api): remove unused installed_plugins.jsonl
2025-09-12 10:38:43 +08:00
ec808f3fe8
refactor: centralize default end user session ID constant ( #25416 )
...
This PR refactors the handling of the default end user session ID by centralizing it as an enum in the models module where the `EndUser` model is defined. This improves code organization and makes the relationship between the constant and the model clearer.
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-09-12 10:27:16 +08:00
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
bb1514be2d
Force update search method to keyword_search ( #25464 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-12 10:12:25 +08:00
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
05af23f88f
use autospec=True in mock ( #25497 )
2025-09-12 09:46:02 +08:00
4511f4f537
Remove redundant parse_args call in WorkflowByIdApi.patch ( #25498 )
2025-09-12 09:40:41 +08:00
84e3571ec3
fix: delete get upload file endpoint ( #25543 )
...
Co-authored-by: jyong <718720800@qq.com >
2025-09-12 09:36:53 +08:00
de18b14372
feat: add test containers based tests for delete segment from index task ( #25564 )
2025-09-12 09:33:39 +08:00
a1322ddb5d
Fix: correct has_more pagination logic in get_conversational_variable ( #25484 )
...
Signed-off-by: Yongtao Huang<yongtaoh2022@gmail.com >
2025-09-12 09:32:22 +08:00
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
462ba354a4
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-12 00:21:06 +08:00
99f4cd1cfa
feat: add test containers based tests for deal dataset vector index ( #25545 )
2025-09-11 21:12:53 +08:00
3c668e4a5c
fix: update test assertions for ToolProviderApiEntity validation
...
- Fixed test_repack_provider_entity_no_dark_icon to use empty string instead of None for icon_dark field
- Updated test_builtin_provider_to_user_provider_no_credentials assertion to match actual implementation behavior where masked_credentials always contains empty strings for schema fields
2025-09-11 16:41:10 +08:00
872cff7bab
chore(iteration_node): convert some Any to object
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-11 15:40:12 +08:00
8fb69429f9
feat(graph_engine): support parallel mode in iteration node
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-11 15:37:46 +08:00
85064bd8cf
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-11 15:13:31 +08:00
ba5df3612b
fix: tests
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-11 15:13:18 +08:00
a923ab1ab8
fix: type errors
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-11 15:01:16 +08:00
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
b4c1766932
fix: type errors
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-10 21:48:05 +08:00
00a1af8506
refactor(graph_engine): use singledispatch in Node
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-09-10 20:59:34 +08:00
70e4d6be34
Fix 500 in dataset page. ( #25474 )
2025-09-10 15:57:04 +08:00
c295b1d645
fix user_id missed
2025-09-10 13:50:12 +08:00
f56fccee9d
fix: workflow knowledge query raise error ( #25465 )
2025-09-10 13:47:47 +08:00
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
b51c724a94
refactor: Migrate part of the console basic API module to Flask-RESTX ( #24732 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-09-10 12:15:47 +08:00
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
fecdb9554d
fix: inner_api get_user_tenant ( #25462 )
2025-09-10 11:31:16 +08:00
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
6574e9f0b2
Fix: Add Password Validation to Account Creation ( #25382 )
2025-09-10 08:58:39 +08:00