mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #1623] [MERGED] feat(datasource/sharepoint): allow finding document libraries by groups #1994
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/1623
Author: @kurokobo
Created: 8/31/2025
Status: ✅ Merged
Merged: 9/1/2025
Merged by: @crazywoola
Base:
feat/datasource← Head:sp_group📝 Commits (5)
5f50aebfix: rename filesdf7d965refactor: move functions to utils, rename datasource61f6089feat: add datasource with groups565ab75docs: update docsbf36f08docs: add last updated date📊 Changes
11 files changed (+508 additions, -413 deletions)
View changed files
📝
datasources/sharepoint_datasource/PRIVACY.md(+1 -0)📝
datasources/sharepoint_datasource/README.md(+9 -1)➕
datasources/sharepoint_datasource/datasources/docs_in_group.py(+100 -0)➕
datasources/sharepoint_datasource/datasources/docs_in_group.yaml(+20 -0)➕
datasources/sharepoint_datasource/datasources/docs_in_site.py(+100 -0)➕
datasources/sharepoint_datasource/datasources/docs_in_site.yaml(+20 -0)➖
datasources/sharepoint_datasource/datasources/sharepoint.py(+0 -385)➖
datasources/sharepoint_datasource/datasources/sharepoint.yaml(+0 -22)➕
datasources/sharepoint_datasource/datasources/utils/graph_utils.py(+254 -0)📝
datasources/sharepoint_datasource/manifest.yaml(+2 -2)📝
datasources/sharepoint_datasource/provider/sharepoint.yaml(+2 -3)📄 Description
Related Issues or Context
✨ This is for
feat/datasourcebranch.The current SharePoint datasource supports only the sites under
/sitesin graph API.However, the users can have more sites per groups (almost equals to teams in Microsoft Teams) under
/groups/{id}/sitesAPI.This PR changes:
SharePointdatasource toDocuments in SiteDocuments in GroupThis PR contains Changes to Non-LLM Models Plugin
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.3.0,<0.5.0is in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
feat/rag-2, I have Tested My Changes on Local Deployment Dify with a Clean Environment That Matches the Production Configuration.SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.