[PR #6899] [CLOSED] Add ability for plugins to use Blazor Pages #11190

Closed
opened 2026-02-07 06:34:00 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/6899
Author: @crobibero
Created: 11/23/2021
Status: Closed

Base: masterHead: blazor-plugin


📝 Commits (1)

  • 73bea0c Add ability for plugins to use Blazor Pages

📊 Changes

24 files changed (+494 additions, -31 deletions)

View changed files

📝 Emby.Server.Implementations/ApplicationHost.cs (+10 -0)
Emby.Server.Implementations/Plugins/BlazorPagesManager.cs (+21 -0)
📝 Jellyfin.Server.Implementations/Security/AuthorizationContext.cs (+28 -16)
📝 Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs (+0 -4)
📝 Jellyfin.Server/Jellyfin.Server.csproj (+3 -8)
📝 Jellyfin.Server/Middleware/WebSocketHandlerMiddleware.cs (+5 -3)
Jellyfin.Server/Pages/Admin.razor (+28 -0)
Jellyfin.Server/Pages/App.razor (+22 -0)
Jellyfin.Server/Pages/Auth.razor (+28 -0)
Jellyfin.Server/Pages/MainLayout.razor (+27 -0)
Jellyfin.Server/Pages/Test.razor (+28 -0)
Jellyfin.Server/Pages/_Host.cshtml (+8 -0)
Jellyfin.Server/Pages/_Imports.razor (+9 -0)
Jellyfin.Server/Pages/_Layout.cshtml (+33 -0)
📝 Jellyfin.Server/Startup.cs (+16 -0)
Jellyfin.Server/wwwroot/blazor/bootstrap/bootstrap.min.css (+7 -0)
Jellyfin.Server/wwwroot/blazor/bootstrap/bootstrap.min.js (+7 -0)
Jellyfin.Server/wwwroot/blazor/site.css (+72 -0)
MediaBrowser.Common/Plugins/IBlazorPagesManager.cs (+22 -0)
MediaBrowser.Controller/BlazorPages/BaseAdminPage.cs (+31 -0)

...and 4 more files

📄 Description

Adds the ability for plugins to provide Blazor based configuration pages.

Sample Plugin Source:
Jellyfin.Plugin.BlazorTest.zip

Sample Plugin DLL:
Jellyfin.Plugin.BlazorTest.dll.zip

Sample plugin can be viewed at $baseUrl/blazorpages/test_plugin

TODO how to tell clients that the plugin has a Blazor page?

Signed-off-by: Cody Robibero cody@robibe.ro


🔄 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/jellyfin/jellyfin/pull/6899 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 11/23/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `blazor-plugin` --- ### 📝 Commits (1) - [`73bea0c`](https://github.com/jellyfin/jellyfin/commit/73bea0ce70161d70d81b27013eef9a1524ed990c) Add ability for plugins to use Blazor Pages ### 📊 Changes **24 files changed** (+494 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/ApplicationHost.cs` (+10 -0) ➕ `Emby.Server.Implementations/Plugins/BlazorPagesManager.cs` (+21 -0) 📝 `Jellyfin.Server.Implementations/Security/AuthorizationContext.cs` (+28 -16) 📝 `Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs` (+0 -4) 📝 `Jellyfin.Server/Jellyfin.Server.csproj` (+3 -8) 📝 `Jellyfin.Server/Middleware/WebSocketHandlerMiddleware.cs` (+5 -3) ➕ `Jellyfin.Server/Pages/Admin.razor` (+28 -0) ➕ `Jellyfin.Server/Pages/App.razor` (+22 -0) ➕ `Jellyfin.Server/Pages/Auth.razor` (+28 -0) ➕ `Jellyfin.Server/Pages/MainLayout.razor` (+27 -0) ➕ `Jellyfin.Server/Pages/Test.razor` (+28 -0) ➕ `Jellyfin.Server/Pages/_Host.cshtml` (+8 -0) ➕ `Jellyfin.Server/Pages/_Imports.razor` (+9 -0) ➕ `Jellyfin.Server/Pages/_Layout.cshtml` (+33 -0) 📝 `Jellyfin.Server/Startup.cs` (+16 -0) ➕ `Jellyfin.Server/wwwroot/blazor/bootstrap/bootstrap.min.css` (+7 -0) ➕ `Jellyfin.Server/wwwroot/blazor/bootstrap/bootstrap.min.js` (+7 -0) ➕ `Jellyfin.Server/wwwroot/blazor/site.css` (+72 -0) ➕ `MediaBrowser.Common/Plugins/IBlazorPagesManager.cs` (+22 -0) ➕ `MediaBrowser.Controller/BlazorPages/BaseAdminPage.cs` (+31 -0) _...and 4 more files_ </details> ### 📄 Description Adds the ability for plugins to provide Blazor based configuration pages. Sample Plugin Source: [Jellyfin.Plugin.BlazorTest.zip](https://github.com/jellyfin/jellyfin/files/7589927/Jellyfin.Plugin.BlazorTest.zip) Sample Plugin DLL: [Jellyfin.Plugin.BlazorTest.dll.zip](https://github.com/jellyfin/jellyfin/files/7589925/Jellyfin.Plugin.BlazorTest.dll.zip) Sample plugin can be viewed at `$baseUrl/blazorpages/test_plugin` TODO how to tell clients that the plugin has a Blazor page? Signed-off-by: Cody Robibero <cody@robibe.ro> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:34:00 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#11190