diff --git a/src/Ombi.Core.Tests/Ombi.Core.Tests.csproj b/src/Ombi.Core.Tests/Ombi.Core.Tests.csproj index 40956f5fcd..9cd0767117 100644 --- a/src/Ombi.Core.Tests/Ombi.Core.Tests.csproj +++ b/src/Ombi.Core.Tests/Ombi.Core.Tests.csproj @@ -8,7 +8,7 @@ - + @@ -18,7 +18,6 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/src/Ombi.DependencyInjection/Ombi.DependencyInjection.csproj b/src/Ombi.DependencyInjection/Ombi.DependencyInjection.csproj index 221afe19ad..da17631a6b 100644 --- a/src/Ombi.DependencyInjection/Ombi.DependencyInjection.csproj +++ b/src/Ombi.DependencyInjection/Ombi.DependencyInjection.csproj @@ -12,7 +12,6 @@ - diff --git a/src/Ombi.HealthChecks/Checks/BaseHealthCheck.cs b/src/Ombi.HealthChecks/Checks/BaseHealthCheck.cs index d0c14196ce..48c448133e 100644 --- a/src/Ombi.HealthChecks/Checks/BaseHealthCheck.cs +++ b/src/Ombi.HealthChecks/Checks/BaseHealthCheck.cs @@ -1,8 +1,5 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Diagnostics.HealthChecks; -using System; -using System.Collections.Generic; -using System.Text; using System.Threading; using System.Threading.Tasks; diff --git a/src/Ombi.HealthChecks/Checks/CouchPotatoHealthCheck.cs b/src/Ombi.HealthChecks/Checks/CouchPotatoHealthCheck.cs index cb41ab31df..c8ea39c148 100644 --- a/src/Ombi.HealthChecks/Checks/CouchPotatoHealthCheck.cs +++ b/src/Ombi.HealthChecks/Checks/CouchPotatoHealthCheck.cs @@ -1,17 +1,9 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Diagnostics.HealthChecks; using Ombi.Api.CouchPotato; -using Ombi.Api.Emby; -using Ombi.Api.Emby.Models; -using Ombi.Api.Jellyfin; -using Ombi.Api.Jellyfin.Models; -using Ombi.Api.Plex; -using Ombi.Api.Plex.Models.Status; using Ombi.Core.Settings; -using Ombi.Core.Settings.Models.External; using Ombi.Settings.Settings.Models.External; using System; -using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/src/Ombi.HealthChecks/Checks/EmbyHealthCheck.cs b/src/Ombi.HealthChecks/Checks/EmbyHealthCheck.cs index 45c2270331..8c8420a793 100644 --- a/src/Ombi.HealthChecks/Checks/EmbyHealthCheck.cs +++ b/src/Ombi.HealthChecks/Checks/EmbyHealthCheck.cs @@ -2,8 +2,6 @@ using Microsoft.Extensions.Diagnostics.HealthChecks; using Ombi.Api.Emby; using Ombi.Api.Emby.Models; -using Ombi.Api.Plex; -using Ombi.Api.Plex.Models.Status; using Ombi.Core.Settings; using Ombi.Core.Settings.Models.External; using System; diff --git a/src/Ombi.HealthChecks/Checks/JellyfinHealthCheck.cs b/src/Ombi.HealthChecks/Checks/JellyfinHealthCheck.cs index 2f758961c4..8b3aa08130 100644 --- a/src/Ombi.HealthChecks/Checks/JellyfinHealthCheck.cs +++ b/src/Ombi.HealthChecks/Checks/JellyfinHealthCheck.cs @@ -2,8 +2,6 @@ using Microsoft.Extensions.Diagnostics.HealthChecks; using Ombi.Api.Jellyfin; using Ombi.Api.Jellyfin.Models; -using Ombi.Api.Plex; -using Ombi.Api.Plex.Models.Status; using Ombi.Core.Settings; using Ombi.Core.Settings.Models.External; using System; diff --git a/src/Ombi.HealthChecks/Checks/SickrageHealthCheck.cs b/src/Ombi.HealthChecks/Checks/SickrageHealthCheck.cs index 68fb5fa847..d909948afa 100644 --- a/src/Ombi.HealthChecks/Checks/SickrageHealthCheck.cs +++ b/src/Ombi.HealthChecks/Checks/SickrageHealthCheck.cs @@ -1,18 +1,9 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Diagnostics.HealthChecks; -using Ombi.Api.CouchPotato; -using Ombi.Api.Emby; -using Ombi.Api.Emby.Models; -using Ombi.Api.Jellyfin; -using Ombi.Api.Jellyfin.Models; -using Ombi.Api.Plex; -using Ombi.Api.Plex.Models.Status; using Ombi.Api.SickRage; using Ombi.Core.Settings; -using Ombi.Core.Settings.Models.External; using Ombi.Settings.Settings.Models.External; using System; -using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/src/Ombi.HealthChecks/HealthCheckExtensions.cs b/src/Ombi.HealthChecks/HealthCheckExtensions.cs index 21b9d5dde6..bd66bc5c5d 100644 --- a/src/Ombi.HealthChecks/HealthCheckExtensions.cs +++ b/src/Ombi.HealthChecks/HealthCheckExtensions.cs @@ -1,8 +1,5 @@ using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Diagnostics.HealthChecks; using Ombi.HealthChecks.Checks; -using System; -using System.Collections.Generic; namespace Ombi.HealthChecks { diff --git a/src/Ombi.HealthChecks/Ombi.HealthChecks.csproj b/src/Ombi.HealthChecks/Ombi.HealthChecks.csproj index fd4ee19008..e779fe0c74 100644 --- a/src/Ombi.HealthChecks/Ombi.HealthChecks.csproj +++ b/src/Ombi.HealthChecks/Ombi.HealthChecks.csproj @@ -7,7 +7,6 @@ - diff --git a/src/Ombi.Helpers/Ombi.Helpers.csproj b/src/Ombi.Helpers/Ombi.Helpers.csproj index fd99de0c12..a2d495ad77 100644 --- a/src/Ombi.Helpers/Ombi.Helpers.csproj +++ b/src/Ombi.Helpers/Ombi.Helpers.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/Ombi.Notifications.Tests/Ombi.Notifications.Tests.csproj b/src/Ombi.Notifications.Tests/Ombi.Notifications.Tests.csproj index a87b1fafc8..01c1423a86 100644 --- a/src/Ombi.Notifications.Tests/Ombi.Notifications.Tests.csproj +++ b/src/Ombi.Notifications.Tests/Ombi.Notifications.Tests.csproj @@ -6,7 +6,7 @@ - + diff --git a/src/Ombi.Schedule.Tests/Ombi.Schedule.Tests.csproj b/src/Ombi.Schedule.Tests/Ombi.Schedule.Tests.csproj index bb222da711..1e46559cbf 100644 --- a/src/Ombi.Schedule.Tests/Ombi.Schedule.Tests.csproj +++ b/src/Ombi.Schedule.Tests/Ombi.Schedule.Tests.csproj @@ -6,7 +6,6 @@ - diff --git a/src/Ombi.Schedule/Jobs/Plex/PlexRecentlyAddedSync.cs b/src/Ombi.Schedule/Jobs/Plex/PlexRecentlyAddedSync.cs deleted file mode 100644 index e26f07ba65..0000000000 --- a/src/Ombi.Schedule/Jobs/Plex/PlexRecentlyAddedSync.cs +++ /dev/null @@ -1,40 +0,0 @@ -//using System; -//using System.Threading.Tasks; -//using Hangfire; - -//namespace Ombi.Schedule.Jobs.Plex -//{ -// public class PlexRecentlyAddedSync : IPlexRecentlyAddedSync -// { -// public PlexRecentlyAddedSync(IPlexContentSync sync) -// { -// _sync = sync; -// } - -// private readonly IPlexContentSync _sync; - -// public void Start() -// { -// BackgroundJob.Enqueue(() => _sync.CacheContent(true)); -// } - -// private bool _disposed; -// protected virtual void Dispose(bool disposing) -// { -// if (_disposed) -// return; - -// if (disposing) -// { -// _sync?.Dispose(); -// } -// _disposed = true; -// } - -// public void Dispose() -// { -// Dispose(true); -// GC.SuppressFinalize(this); -// } -// } -//} \ No newline at end of file diff --git a/src/Ombi.Tests/Ombi.Tests.csproj b/src/Ombi.Tests/Ombi.Tests.csproj index 77e1769f9f..81e0042a46 100644 --- a/src/Ombi.Tests/Ombi.Tests.csproj +++ b/src/Ombi.Tests/Ombi.Tests.csproj @@ -1,26 +1,25 @@  - - net6.0 - false - Debug;Release;NonUiBuild - + + net6.0 + false + Debug;Release;NonUiBuild + - - - - - - - - - - - + + + + + + + + + + - - - - + + + + diff --git a/src/Ombi/ClientApp/package.json b/src/Ombi/ClientApp/package.json index 701d58f80c..50dff54bb9 100644 --- a/src/Ombi/ClientApp/package.json +++ b/src/Ombi/ClientApp/package.json @@ -19,7 +19,6 @@ "@angular/compiler": "^15.0.4", "@angular/core": "^15.0.4", "@angular/forms": "^15.0.4", - "@angular/localize": "^15.0.4", "@angular/material": "^14.2.7", "@angular/platform-browser": "^15.0.4", "@angular/platform-browser-dynamic": "^15.0.4", @@ -35,7 +34,6 @@ "@ngxs/store": "3.7.3", "@types/jquery": "^3.5.14", "@yellowspot/ng-truncate": "^2.0.0", - "angular-router-loader": "^0.8.5", "angularx-qrcode": "^15.0.0", "bootstrap": "^4.2.1", "core-js": "^2.5.4", diff --git a/src/Ombi/ClientApp/src/polyfills.ts b/src/Ombi/ClientApp/src/polyfills.ts index 886a3ddf47..6ee665c646 100644 --- a/src/Ombi/ClientApp/src/polyfills.ts +++ b/src/Ombi/ClientApp/src/polyfills.ts @@ -1,6 +1,5 @@ /*************************************************************************************************** * Load `$localize` onto the global scope - used if i18n tags appear in Angular templates. */ -import '@angular/localize/init'; import "core-js/es7/reflect"; import "zone.js/dist/zone"; diff --git a/src/Ombi/Ombi.csproj b/src/Ombi/Ombi.csproj index 25920a126e..caea6c30f9 100644 --- a/src/Ombi/Ombi.csproj +++ b/src/Ombi/Ombi.csproj @@ -70,7 +70,6 @@ -