diff --git a/PlexRequestes.Automation.Helpers/PlexRequestes.Automation.Helpers.csproj b/PlexRequestes.Automation.Helpers/PlexRequestes.Automation.Helpers.csproj index 850f474fa..388b6240e 100644 --- a/PlexRequestes.Automation.Helpers/PlexRequestes.Automation.Helpers.csproj +++ b/PlexRequestes.Automation.Helpers/PlexRequestes.Automation.Helpers.csproj @@ -61,6 +61,7 @@ + diff --git a/PlexRequestes.Automation.Helpers/app.config b/PlexRequestes.Automation.Helpers/app.config new file mode 100644 index 000000000..de5386a47 --- /dev/null +++ b/PlexRequestes.Automation.Helpers/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/PlexRequests.Automation.Pages/PlexRequests.Automation.Pages.csproj b/PlexRequests.Automation.Pages/PlexRequests.Automation.Pages.csproj index 4a7817af0..4862f85a2 100644 --- a/PlexRequests.Automation.Pages/PlexRequests.Automation.Pages.csproj +++ b/PlexRequests.Automation.Pages/PlexRequests.Automation.Pages.csproj @@ -55,6 +55,7 @@ + diff --git a/PlexRequests.Automation.Pages/app.config b/PlexRequests.Automation.Pages/app.config new file mode 100644 index 000000000..de5386a47 --- /dev/null +++ b/PlexRequests.Automation.Pages/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/PlexRequests.Automation/PlexRequests.Automation.csproj b/PlexRequests.Automation/PlexRequests.Automation.csproj index b9218b815..860494646 100644 --- a/PlexRequests.Automation/PlexRequests.Automation.csproj +++ b/PlexRequests.Automation/PlexRequests.Automation.csproj @@ -65,6 +65,7 @@ + diff --git a/PlexRequests.Automation/app.config b/PlexRequests.Automation/app.config new file mode 100644 index 000000000..de5386a47 --- /dev/null +++ b/PlexRequests.Automation/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/PlexRequests.Core/PlexRequests.Core.csproj b/PlexRequests.Core/PlexRequests.Core.csproj index 15424b811..a228cd255 100644 --- a/PlexRequests.Core/PlexRequests.Core.csproj +++ b/PlexRequests.Core/PlexRequests.Core.csproj @@ -31,10 +31,6 @@ 4 - - ..\packages\MediatR.2.1.0\lib\net45\MediatR.dll - True - ..\Assemblies\Mono.Data.Sqlite.dll diff --git a/PlexRequests.Core/packages.config b/PlexRequests.Core/packages.config index f55649f70..9f54b7236 100644 --- a/PlexRequests.Core/packages.config +++ b/PlexRequests.Core/packages.config @@ -1,6 +1,5 @@  - diff --git a/PlexRequests.UI/NinjectModules/MediatRModule.cs b/PlexRequests.UI/NinjectModules/MediatRModule.cs deleted file mode 100644 index a63fc4a26..000000000 --- a/PlexRequests.UI/NinjectModules/MediatRModule.cs +++ /dev/null @@ -1,52 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2016 Jamie Rees -// File: MediatRModule.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion -using MediatR; - -using Ninject; -using Ninject.Extensions.Conventions; -using Ninject.Modules; - -namespace PlexRequests.UI.NinjectModules -{ - public class MediatRModule : NinjectModule - { - public override void Load() - { - Kernel.Bind(scan => scan.FromAssemblyContaining().SelectAllClasses().BindDefaultInterface()); - - Bind().ToMethod(ctx => t => ctx.Kernel.Get(t)); - Bind().ToMethod(ctx => t => ctx.Kernel.GetAll(t)); - - Kernel.Bind(x => x.FromThisAssembly() - .SelectAllClasses() - .InheritedFromAny(typeof(IRequestHandler<,>), typeof(IAsyncRequestHandler<,>)) - .BindDefaultInterfaces()); - - //kernel.Bind(scan => scan.FromAssemblyContaining().SelectAllInterfaces().BindAllInterfaces()); - } - } -} \ No newline at end of file diff --git a/PlexRequests.UI/PlexRequests.UI.csproj b/PlexRequests.UI/PlexRequests.UI.csproj index 9ee779ee4..1dcd90274 100644 --- a/PlexRequests.UI/PlexRequests.UI.csproj +++ b/PlexRequests.UI/PlexRequests.UI.csproj @@ -53,10 +53,6 @@ 4 - - ..\packages\MediatR.2.1.0\lib\net45\MediatR.dll - True - ..\packages\Microsoft.Owin.Host.SystemWeb.3.0.1\lib\net45\Microsoft.Owin.Host.SystemWeb.dll True @@ -93,10 +89,6 @@ ..\packages\Ninject.Extensions.ChildKernel.3.2.0.0\lib\net45-full\Ninject.Extensions.ChildKernel.dll True - - ..\packages\Ninject.Extensions.Conventions.3.2.0.0\lib\net45-full\Ninject.Extensions.Conventions.dll - True - ..\packages\NLog.4.3.4\lib\net45\NLog.dll True @@ -232,7 +224,6 @@ - diff --git a/PlexRequests.UI/Views/Admin/EmailNotifications.cshtml b/PlexRequests.UI/Views/Admin/EmailNotifications.cshtml index ce7bddbf2..0ea7078b1 100644 --- a/PlexRequests.UI/Views/Admin/EmailNotifications.cshtml +++ b/PlexRequests.UI/Views/Admin/EmailNotifications.cshtml @@ -1,174 +1,174 @@ -@using PlexRequests.UI.Helpers -@Html.Partial("_Sidebar") -@{ - int port; - if (Model.EmailPort == 0) - { - port = 25; - } - else - { - port = Model.EmailPort; - } -} -
-
-
- Email Notifications - -
-
- - @if (Model.Enabled) - { - - } - else - { - - } - -
-
-
-
- - @if (Model.EnableUserEmailNotifications) - { - - } - else - { - - } - -
-
- Please note that if user notifications is enabled, the email will get sent with the SMTP set-up below. -
- -
- -
-
- -
- - -
- -
-
- - -
- -
- -
-
-
- -
- -
-
- - - -
- -
- -
-
- -
- -
- -
-
- -
-
- -
-
- -
-
- -
-
-
-
-
- - \ No newline at end of file diff --git a/PlexRequests.UI/packages.config b/PlexRequests.UI/packages.config index 7be846f3b..0a0eeb62a 100644 --- a/PlexRequests.UI/packages.config +++ b/PlexRequests.UI/packages.config @@ -9,7 +9,6 @@ - @@ -32,7 +31,6 @@ -