mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
[PR #2579] [MERGED] feat: toggleable community sharing #21036
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/open-webui/open-webui/pull/2579
Author: @cheahjs
Created: 5/26/2024
Status: ✅ Merged
Merged: 5/26/2024
Merged by: @tjbck
Base:
dev← Head:feat/disable-community-sharing📝 Commits (6)
6c5f5ferefac: move ui flags into feature flags1235714feat: add ENABLE_COMMUNITY_SHARINGccff221refac: run admin general settings fetches in parallele06417ffeat: add admin ui for toggling community sharing78dedb3Merge branch 'dev' into feat/disable-community-sharing0c04b18refac📊 Changes
10 files changed (+184 additions, -36 deletions)
View changed files
📝
backend/apps/webui/main.py(+2 -0)📝
backend/config.py(+5 -0)📝
backend/main.py(+21 -5)📝
src/lib/apis/index.ts(+55 -1)📝
src/lib/components/admin/Settings/Database.svelte(+1 -1)📝
src/lib/components/admin/Settings/General.svelte(+69 -5)📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+1 -1)📝
src/lib/components/chat/ShareChatModal.svelte(+13 -11)📝
src/lib/stores/index.ts(+14 -9)📝
src/routes/auth/+page.svelte(+3 -3)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Adds a
ENABLE_COMMUNITY_SHARINGenv var that controls whether or not the share to community button is visible. This is configurable via the admin panel as well.Added
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.