Commit Graph

8619 Commits

Author SHA1 Message Date
twwu aeaad2e843 Merge branch 'fix/styling-issue' of https://github.com/langgenius/dify into fix/styling-issue 2025-09-16 11:52:26 +08:00
twwu 713bd7c326 refactor: Simplify drawer component logic by extracting shouldCloseDrawer function for better readability and maintainability 2025-09-16 11:52:07 +08:00
Wu Tianwei 95abf8b44b
Update web/app/components/datasets/documents/detail/completed/common/drawer.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-16 11:46:43 +08:00
twwu 6440be9f35 feat: Update documentation links in OnlineDocuments, OnlineDrive, and WebsiteCrawl components for improved localization support 2025-09-16 11:38:29 +08:00
twwu 31edc39686 Merge branch 'feat/rag-2' into fix/styling-issue 2025-09-16 11:22:39 +08:00
twwu 7c911f06b9 feat: Update help links in useAvailableNodesMetaData hook for improved localization support 2025-09-16 11:21:48 +08:00
Joel 6d7b377195
feat(api): add Service API component with related UI elements and remove Access API tab from dataset list (#25693) 2025-09-16 11:01:45 +08:00
twwu 4d61189210 Merge branch 'refactor/dataset-service-api' of https://github.com/langgenius/dify into refactor/dataset-service-api 2025-09-16 10:59:46 +08:00
twwu d9839e5ec6 fix(api): correct variable name from 'apiaBaseUrl' to 'apiBaseUrl' in Service API components 2025-09-16 10:59:14 +08:00
Wu Tianwei 21977d464d
Merge branch 'feat/rag-2' into refactor/dataset-service-api 2025-09-16 10:54:04 +08:00
twwu 8b139087e4 feat: Enhance drawer components with modal and overlay options for improved user experience 2025-09-16 10:45:00 +08:00
Jyong de51b1e658
chore(api): Use uuidv7 to generate PK for new knowledge pipeline models (#25728) 2025-09-15 21:57:55 +08:00
twwu ab24af9c94 feat: Implement reranking model enable/disable functionality in knowledge base panel 2025-09-15 21:42:35 +08:00
QuantumGhost 57a311c937 chore(api): Use uuidv7 to generate PK for new models of knowledge pipeline 2025-09-15 18:25:51 +08:00
zxhlyh d869f1405e
fix: variable assigner in node metadata (#25716) 2025-09-15 16:08:13 +08:00
zxhlyh 58fe02fb3f fix: variable assigner in node metadata 2025-09-15 15:56:08 +08:00
twwu 01beb59aa7 feat: Add documentation link to step three of dataset creation process 2025-09-15 11:48:50 +08:00
twwu 93b1c61f5e refactor: Update knowledge pipeline terminology and permissions in the RAG pipeline header 2025-09-15 11:41:39 +08:00
twwu 4620bef25c feat(api): add Service API component with related UI elements 2025-09-15 10:27:19 +08:00
crazywoola c004988ecd
Fix wrong permission logic (#25649) 2025-09-14 18:44:12 +08:00
crazywoola 0d79062dba
Fix missing import of DataSourceOauthBinding (#25648) 2025-09-14 18:41:01 +08:00
Yongtao Huang 831548132e
Merge branch 'feat/rag-2' into fix-permission 2025-09-13 23:42:32 +08:00
Yongtao Huang ec87474d45 Fix worng permission logic 2025-09-13 23:40:59 +08:00
Yongtao Huang 8d0139bb21
Merge branch 'feat/rag-2' into fix-miss-import 2025-09-13 23:34:38 +08:00
Yongtao Huang bfb25ced7a Fix missing import of DataSourceOauthBinding 2025-09-13 23:32:07 +08:00
QuantumGhost 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
QuantumGhost 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
QuantumGhost ac41151571 chore(api): remove unused installed_plugins.jsonl 2025-09-12 10:38:43 +08:00
zxhlyh c2ad68d59a
refactor(workflow): streamline node metadata structure and enhance filtering logic (#25528) 2025-09-11 16:11:34 +08:00
twwu 274e7f4f09 refactor(workflow): streamline node metadata structure and enhance filtering logic 2025-09-11 16:02:06 +08:00
QuantumGhost 9458ebe320
fix: Add waiting state to document embedding process (#25478) 2025-09-11 11:00:47 +08:00
QuantumGhost 5c3d12cfc8
refactor(i18n): clean up code structure and improve readability (#25510) 2025-09-11 11:00:14 +08:00
WTW0313 b146f5d3fa refactor(i18n): clean up code structure and improve readability 2025-09-11 10:53:40 +08:00
twwu f925cb5191 fix: Fix typo in embedding process variable name 2025-09-10 16:05:44 +08:00
twwu 4559d19d46 fix: Add waiting state to document embedding process 2025-09-10 15:59:13 +08:00
crazywoola bb6b663ef4
fix(sidebar): eliminate nav link icon jumping and text squashing (#25467) 2025-09-10 15:17:22 +08:00
lyzno1 ce4be13b2c chore: update test file 2025-09-10 14:36:06 +08:00
lyzno1 c68d0231de
Merge branch 'feat/rag-2' into fix/dataset-sidebar 2025-09-10 14:12:13 +08:00
lyzno1 2b91fba3e9 refactor(sidebar): extract duplicated icon wrapper logic 2025-09-10 14:11:47 +08:00
Jyong 23def7d0f9
fix workflow graph user_id missed (#25466) 2025-09-10 13:54:34 +08:00
Wu Tianwei 463ea3e916
fix: Handle missing dataset avatars and improve routing (#25459) 2025-09-10 13:53:19 +08:00
jyong c295b1d645 fix user_id missed 2025-09-10 13:50:12 +08:00
lyzno1 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
twwu bc061016b6 refactor: Extract getDatasetLink function into separate callback 2025-09-10 11:11:27 +08:00
twwu 92a91d790f refactor: Rename createRouter to createRoute 2025-09-10 11:06:07 +08:00
twwu 88563f10df Update datasets.ts 2025-09-10 11:04:02 +08:00
twwu 9ae6978a77 refactor: Simplify dataset navigation and avatar display logic 2025-09-10 11:00:49 +08:00
twwu 9fdaa14c8d fix: Handle missing dataset avatars and improve routing 2025-09-10 10:51:48 +08:00
crazywoola 65780e96ca
fix(dataset-sidebar): eliminate icon flickering during expand/collapse (#25444) 2025-09-09 23:14:59 +08:00
lyzno1 5e1e387c5c Revert "chore: add .serena/ to gitignore"
This reverts commit 4eca134a2a.
2025-09-09 22:55:19 +08:00