[PR #12904] [MERGED] feat: support Organization and School accounts in OneDrive #61905

Closed
opened 2026-05-06 05:39:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/12904
Author: @hurxxxx
Created: 4/15/2025
Status: Merged
Merged: 4/18/2025
Merged by: @tjbck

Base: devHead: feat/onedrive-orgs


📝 Commits (5)

  • 5fd7946 add onedrive sub menu
  • 2d7062f fix: onedrive orgs selection
  • 55d077b refactor
  • 41ef596 Merge remote-tracking branch 'upstream/main' into feat/onedrive-orgs
  • 84f5a52 chore: clean up unnecessary code

📊 Changes

5 files changed (+278 additions, -164 deletions)

View changed files

📝 backend/open_webui/config.py (+7 -0)
📝 backend/open_webui/main.py (+6 -1)
📝 src/lib/components/chat/MessageInput.svelte (+2 -2)
📝 src/lib/components/chat/MessageInput/InputMenu.svelte (+59 -87)
📝 src/lib/utils/onedrive-file-picker.ts (+204 -74)

📄 Description

Pull Request Checklist

Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.

Before submitting, make sure you've checked the following:

  • Target branch: Please verify that the pull request targets the dev branch.
  • Description: Provide a concise description of the changes made in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • Testing: Have you written and run sufficient tests to validate the changes?
  • Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
  • Prefix: To clearly categorize this pull request, prefix the pull request title using one of the following:
    • BREAKING CHANGE: Significant changes that may affect compatibility
    • build: Changes that affect the build system or external dependencies
    • ci: Changes to our continuous integration processes or workflows
    • chore: Refactor, cleanup, or other non-functional code changes
    • docs: Documentation update or addition
    • feat: Introduces a new feature or enhancement to the codebase
    • fix: Bug fix or error correction
    • i18n: Internationalization or localization changes
    • perf: Performance improvement
    • refactor: Code restructuring for better maintainability, readability, or scalability
    • style: Changes that do not affect the meaning of the code (white space, formatting, missing semi-colons, etc.)
    • test: Adding missing tests or correcting existing tests
    • WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry

Description

  • Created a new PR to improve usability based on the feedback from PR #12643

Changed

  • A new environment variable, ONEDRIVE_SHAREPOINT_URL, has been added. It is required for users with a work or school account.
  • I will create a separate PR with documentation on how to use OneDrive.

Screenshots or Videos

onedrive.webm


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/12904 **Author:** [@hurxxxx](https://github.com/hurxxxx) **Created:** 4/15/2025 **Status:** ✅ Merged **Merged:** 4/18/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `feat/onedrive-orgs` --- ### 📝 Commits (5) - [`5fd7946`](https://github.com/open-webui/open-webui/commit/5fd794612e2c9627e46386843786c02b691f1cad) add onedrive sub menu - [`2d7062f`](https://github.com/open-webui/open-webui/commit/2d7062fc993f4d8b06a2356bdeabbe1119da9d97) fix: onedrive orgs selection - [`55d077b`](https://github.com/open-webui/open-webui/commit/55d077b52a69862321d16e9b190d1191043c9d4d) refactor - [`41ef596`](https://github.com/open-webui/open-webui/commit/41ef596472991b8af1f2a46b9c1e53490c9637d7) Merge remote-tracking branch 'upstream/main' into feat/onedrive-orgs - [`84f5a52`](https://github.com/open-webui/open-webui/commit/84f5a529236e662f9ddb6135d24853b06813cf21) chore: clean up unnecessary code ### 📊 Changes **5 files changed** (+278 additions, -164 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/config.py` (+7 -0) 📝 `backend/open_webui/main.py` (+6 -1) 📝 `src/lib/components/chat/MessageInput.svelte` (+2 -2) 📝 `src/lib/components/chat/MessageInput/InputMenu.svelte` (+59 -87) 📝 `src/lib/utils/onedrive-file-picker.ts` (+204 -74) </details> ### 📄 Description # Pull Request Checklist ### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/discussions) and describe your changes before submitting a pull request. **Before submitting, make sure you've checked the following:** - [x] **Target branch:** Please verify that the pull request targets the `dev` branch. - [x] **Description:** Provide a concise description of the changes made in this pull request. - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [x] **Testing:** Have you written and run sufficient tests to validate the changes? - [x] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards? - [x] **Prefix:** To clearly categorize this pull request, prefix the pull request title using one of the following: - **BREAKING CHANGE**: Significant changes that may affect compatibility - **build**: Changes that affect the build system or external dependencies - **ci**: Changes to our continuous integration processes or workflows - **chore**: Refactor, cleanup, or other non-functional code changes - **docs**: Documentation update or addition - **feat**: Introduces a new feature or enhancement to the codebase - **fix**: Bug fix or error correction - **i18n**: Internationalization or localization changes - **perf**: Performance improvement - **refactor**: Code restructuring for better maintainability, readability, or scalability - **style**: Changes that do not affect the meaning of the code (white space, formatting, missing semi-colons, etc.) - **test**: Adding missing tests or correcting existing tests - **WIP**: Work in progress, a temporary label for incomplete or ongoing work # Changelog Entry ### Description - Created a new PR to improve usability based on the feedback from PR #12643 ### Changed - A new environment variable, ONEDRIVE_SHAREPOINT_URL, has been added. It is required for users with a work or school account. - I will create a separate PR with documentation on how to use OneDrive. ### Screenshots or Videos [onedrive.webm](https://github.com/user-attachments/assets/7871cb66-e6b9-4038-b96c-84d3a071bd32) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 05:39:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#61905