Commit Graph

8594 Commits

Author SHA1 Message Date
c51cedff7e security(api): enforce privilege validation for dataset-to-pipeline transformation (#25603)
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:12:06 +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
ac41151571 chore(api): remove unused installed_plugins.jsonl 2025-09-12 10:38:43 +08:00
c2ad68d59a refactor(workflow): streamline node metadata structure and enhance filtering logic (#25528) 2025-09-11 16:11:34 +08:00
274e7f4f09 refactor(workflow): streamline node metadata structure and enhance filtering logic 2025-09-11 16:02:06 +08:00
9458ebe320 fix: Add waiting state to document embedding process (#25478) 2025-09-11 11:00:47 +08:00
5c3d12cfc8 refactor(i18n): clean up code structure and improve readability (#25510) 2025-09-11 11:00:14 +08:00
b146f5d3fa refactor(i18n): clean up code structure and improve readability 2025-09-11 10:53:40 +08:00
f925cb5191 fix: Fix typo in embedding process variable name 2025-09-10 16:05:44 +08:00
4559d19d46 fix: Add waiting state to document embedding process 2025-09-10 15:59:13 +08:00
bb6b663ef4 fix(sidebar): eliminate nav link icon jumping and text squashing (#25467) 2025-09-10 15:17:22 +08:00
ce4be13b2c chore: update test file 2025-09-10 14:36:06 +08:00
c68d0231de Merge branch 'feat/rag-2' into fix/dataset-sidebar 2025-09-10 14:12:13 +08:00
2b91fba3e9 refactor(sidebar): extract duplicated icon wrapper logic 2025-09-10 14:11:47 +08:00
23def7d0f9 fix workflow graph user_id missed (#25466) 2025-09-10 13:54:34 +08:00
463ea3e916 fix: Handle missing dataset avatars and improve routing (#25459) 2025-09-10 13:53:19 +08:00
c295b1d645 fix user_id missed 2025-09-10 13:50:12 +08:00
df420e37d9 fix(sidebar): eliminate nav link icon jumping and text squashing
- Unified layout structure using consistent pl-3 pr-1 padding
- Icon micro-adjustment with -ml-1 for better centering in collapsed state
- Text animation uses max-width instead of width to prevent squashing effect
- Maintains smooth transitions without layout jumping
2025-09-10 13:37:02 +08:00
bc061016b6 refactor: Extract getDatasetLink function into separate callback 2025-09-10 11:11:27 +08:00
92a91d790f refactor: Rename createRouter to createRoute 2025-09-10 11:06:07 +08:00
88563f10df Update datasets.ts 2025-09-10 11:04:02 +08:00
9ae6978a77 refactor: Simplify dataset navigation and avatar display logic 2025-09-10 11:00:49 +08:00
9fdaa14c8d fix: Handle missing dataset avatars and improve routing 2025-09-10 10:51:48 +08:00
65780e96ca fix(dataset-sidebar): eliminate icon flickering during expand/collapse (#25444) 2025-09-09 23:14:59 +08:00
5e1e387c5c Revert "chore: add .serena/ to gitignore"
This reverts commit 4eca134a2a.
2025-09-09 22:55:19 +08:00
4eca134a2a chore: add .serena/ to gitignore 2025-09-09 22:54:10 +08:00
f4ecc293f9 fix(dataset-sidebar): eliminate icon flickering during expand/collapse
- Unified layout structure for both expand/collapse states
- Single AppIcon component with dynamic size props instead of conditional rendering
- Fixed container structure prevents DOM rebuilding and flickering
- Adjusted spacing for collapsed state more button positioning
2025-09-09 22:53:13 +08:00
48e32e285e fix: migration
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-09 21:41:03 +08:00
e1ecce8d27 fix: Fix RAG pipeline identifier name dash format (#25438) 2025-09-09 18:43:34 +08:00
2d6330f9b3 fix: Fix RAG pipeline identifier name dash format 2025-09-09 18:40:32 +08:00
c79de5d68e feat: Add chunk input field translation and tooltip (#25434) 2025-09-09 18:20:43 +08:00
01416fe6a8 feat: Add chunk input field translation and tooltip 2025-09-09 18:13:36 +08:00
6247fadb37 fix(api): Fix incorrect import of ToolProviderID (#25432) 2025-09-09 17:45:12 +08:00
6637b9efda fix(api): Fix incorrect import of ToolProviderID 2025-09-09 17:42:42 +08:00
2c13d1072d Fix/value content rerender error (#25421) 2025-09-09 17:10:25 +08:00
fc8adb9d6c fix ruff 2025-09-09 17:07:22 +08:00
045d07885d Merge branch 'main' into fix/value-content-rerender-error 2025-09-09 16:40:08 +08:00
7596eb4c2f refactor: clean up unused code and improve Textarea component 2025-09-09 16:24:20 +08:00
eb52216a9c Revert "example of remove useEffect" (#25418) 2025-09-09 16:23:44 +08:00
4c92e63b0b fix: avatar is not updated after setted (#25414) 2025-09-09 16:00:50 +08:00
9240ed680e fix: hide export pipeline button (#25343) 2025-09-09 15:44:45 +08:00
daba3af694 refactor: replace useResetDatasetList with useInvalidDatasetList (#25413) 2025-09-09 15:44:40 +08:00
c8614b108a refactor: replace useResetDatasetList with useInvalidDatasetList across multiple components 2025-09-09 15:35:02 +08:00
ac2aa967c4 feat: change history by supplementary node information (#25294)
Co-authored-by: alleschen <alleschen@tencent.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-09 15:18:42 +08:00
d2e50a508c Fix:About the error problem of creating an empty knowledge base interface in service_api (#25398)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-09 15:18:31 +08:00
37975319f2 feat: Add customized json schema validation (#25408) 2025-09-09 15:15:32 +08:00
06d45f0278 Merge branch 'feat/rag-2' into fix/hide-export-button 2025-09-09 15:10:26 +08:00
4aba570fa8 Fix flask response: 200 -> {}, 200 (#25404) 2025-09-09 15:06:18 +08:00
e180c19cca fix(mcp): current_user not being set in MCP requests (#25393) 2025-09-09 14:58:14 +08:00
c595c03452 fix: credential not allow to use in load balancing (#25401) 2025-09-09 14:52:50 +08:00