├── OpenBulletAdminPanel ├── settings.json ├── OBlogoIcon.ico ├── packages.config ├── App.config ├── Properties │ ├── Settings.settings │ ├── Settings.Designer.cs │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── Settings.cs ├── App.xaml ├── App.xaml.cs ├── User.cs ├── CreateUser.xaml ├── CreateUser.xaml.cs ├── MainWindow.xaml ├── OpenBulletAdminPanel.csproj └── MainWindow.xaml.cs ├── README.md ├── LICENSE ├── OpenBulletAdminPanel.sln └── .gitignore /OpenBulletAdminPanel/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "ApiUrl": "https://example.com", 3 | "SecretKey": "MySuperSecretPassword" 4 | } 5 | -------------------------------------------------------------------------------- /OpenBulletAdminPanel/OBlogoIcon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openbullet/openbullet-adminpanel/HEAD/OpenBulletAdminPanel/OBlogoIcon.ico -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # OpenBullet Admin Panel 2 | Admin Panel for the OpenBullet API. 3 | 4 | Go [here](https://openbullet.github.io/ob1/remote.html) to learn how to use this. 5 | -------------------------------------------------------------------------------- /OpenBulletAdminPanel/packages.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /OpenBulletAdminPanel/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /OpenBulletAdminPanel/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /OpenBulletAdminPanel/Settings.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace OpenBulletAdminPanel 8 | { 9 | public class Settings 10 | { 11 | public string ApiUrl { get; set; } 12 | public string SecretKey { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /OpenBulletAdminPanel/App.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /OpenBulletAdminPanel/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Configuration; 4 | using System.Data; 5 | using System.Linq; 6 | using System.Threading.Tasks; 7 | using System.Windows; 8 | 9 | namespace OpenBulletAdminPanel 10 | { 11 | /// 12 | /// Logica di interazione per App.xaml 13 | /// 14 | public partial class App : Application 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /OpenBulletAdminPanel/User.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace OpenBulletAdminPanel 8 | { 9 | public class User 10 | { 11 | public string Key { get; set; } 12 | public string[] Groups { get; set; } 13 | public string[] IPs { get; set; } 14 | 15 | public string GroupsString { get { return Groups == null ? "" : string.Join(",", Groups); } } 16 | public string IPsString { get { return IPs == null ? "" : string.Join(",", IPs); } } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /OpenBulletAdminPanel/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace OpenBulletAdminPanel.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /OpenBulletAdminPanel.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.28010.2041 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenBulletAdminPanel", "OpenBulletAdminPanel\OpenBulletAdminPanel.csproj", "{C4D1123B-22BA-4A10-9F35-AC63316154E4}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {C4D1123B-22BA-4A10-9F35-AC63316154E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {C4D1123B-22BA-4A10-9F35-AC63316154E4}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {C4D1123B-22BA-4A10-9F35-AC63316154E4}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {C4D1123B-22BA-4A10-9F35-AC63316154E4}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {AFF59C14-4A1B-424D-AD74-B51CA42FDDF3} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /OpenBulletAdminPanel/CreateUser.xaml: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 |