More clean up of old configs

This commit is contained in:
Bjarke Berg
2020-09-14 09:56:48 +02:00
parent e6ad34da1d
commit 1b4b17cbae
86 changed files with 93 additions and 2573 deletions

View File

@@ -1,13 +0,0 @@
using System.Collections.Generic;
namespace Umbraco.Core.Configuration.HealthChecks
{
public interface IHealthCheckNotificationSettings
{
bool Enabled { get; }
string FirstRunTime { get; }
int PeriodInHours { get; }
IReadOnlyDictionary<string, INotificationMethod> NotificationMethods { get; }
IEnumerable<IDisabledHealthCheck> DisabledChecks { get; }
}
}

View File

@@ -1,10 +0,0 @@
using System.Collections.Generic;
namespace Umbraco.Core.Configuration.HealthChecks
{
public interface IHealthChecksSettings
{
IEnumerable<IDisabledHealthCheck> DisabledChecks { get; }
IHealthCheckNotificationSettings NotificationSettings { get; }
}
}

View File

@@ -1,17 +0,0 @@
namespace Umbraco.Core.Configuration
{
public interface ICoreDebugSettings
{
/// <summary>
/// When set to true, Scope logs the stack trace for any scope that gets disposed without being completed.
/// this helps troubleshooting rogue scopes that we forget to complete
/// </summary>
bool LogUncompletedScopes { get; }
/// <summary>
/// When set to true, the Logger creates a mini dump of w3wp in ~/App_Data/MiniDump whenever it logs
/// an error due to a ThreadAbortException that is due to a timeout.
/// </summary>
bool DumpOnTimeoutThreadAbort { get; }
}
}

View File

@@ -1,7 +0,0 @@
namespace Umbraco.Core.Configuration
{
public interface IExceptionFilterSettings
{
bool Disabled { get; }
}
}

View File

@@ -1,4 +1,6 @@
namespace Umbraco.Core.Configuration
using Umbraco.Core.Configuration.Models;
namespace Umbraco.Core.Configuration
{
/// <summary>
/// Contains general settings information for the entire Umbraco instance based on information from web.config appsettings
@@ -70,7 +72,7 @@
string UmbracoMediaPath { get; }
bool IsSmtpServerConfigured { get; }
ISmtpSettings SmtpSettings { get; }
SmtpSettings SmtpSettings { get; }
/// <summary>
/// Gets a value indicating whether the runtime should enter Install level when the database is missing.

View File

@@ -1,24 +0,0 @@
using Umbraco.Core.Hosting;
namespace Umbraco.Core.Configuration
{
public interface IHostingSettings
{
bool DebugMode { get; }
/// <summary>
/// Gets the configuration for the location of temporary files.
/// </summary>
LocalTempStorage LocalTempStorageLocation { get; }
/// <summary>
/// Optional property to explicitly configure the application's virtual path
/// </summary>
/// <remarks>
/// By default this is null which will mean that the <see cref="IHostingEnvironment.ApplicationVirtualPath"/> is automatically configured,
/// otherwise this explicitly sets it.
/// If set, this value must begin with a "/" and cannot end with "/".
/// </remarks>
string ApplicationVirtualPath { get; }
}
}

View File

@@ -1,12 +0,0 @@
namespace Umbraco.Core.Configuration
{
public interface IImagingSettings
{
int MaxBrowserCacheDays { get;}
int MaxCacheDays { get; }
uint CachedNameLength { get; }
int MaxResizeWidth { get; }
int MaxResizeHeight { get; }
string CacheFolder { get; }
}
}

View File

@@ -1,14 +0,0 @@
namespace Umbraco.Core.Configuration
{
public interface IModelsBuilderConfig
{
bool Enable { get; }
bool AcceptUnsafeModelsDirectory { get; }
int DebugLevel { get; }
bool EnableFactory { get; }
bool FlagOutOfDateModels { get; }
string ModelsDirectory { get; }
ModelsMode ModelsMode { get; }
string ModelsNamespace { get; }
}
}

View File

@@ -1,8 +0,0 @@
namespace Umbraco.Core.Configuration
{
public interface IRuntimeSettings
{
int? MaxQueryStringLength { get; }
int? MaxRequestLength { get; }
}
}

View File

@@ -1,15 +0,0 @@
using System.Net.Mail;
namespace Umbraco.Core.Configuration
{
public interface ISmtpSettings
{
string From { get; }
string Host { get; }
int Port{ get; }
string PickupDirectoryLocation { get; }
SmtpDeliveryMethod DeliveryMethod { get; }
string Username { get; }
string Password { get; }
}
}

View File

@@ -1,15 +0,0 @@
using System.Collections.Generic;
namespace Umbraco.Core.Configuration.UmbracoSettings
{
public interface IRequestHandlerSettings : IUmbracoConfigurationSection
{
bool AddTrailingSlash { get; }
bool ConvertUrlsToAscii { get; }
bool TryConvertUrlsToAscii { get; }
IEnumerable<IChar> CharCollection { get; }
}
}

View File

@@ -1,27 +0,0 @@
namespace Umbraco.Core.Configuration.UmbracoSettings
{
public interface ISecuritySettings : IUmbracoConfigurationSection
{
bool KeepUserLoggedIn { get; }
bool HideDisabledUsersInBackoffice { get; }
/// <summary>
/// Used to enable/disable the forgot password functionality on the back office login screen
/// </summary>
bool AllowPasswordReset { get; }
string AuthCookieName { get; }
string AuthCookieDomain { get; }
/// <summary>
/// A boolean indicating that by default the email address will be the username
/// </summary>
/// <remarks>
/// Even if this is true and the username is different from the email in the database, the username field will still be shown.
/// When this is false, the username and email fields will be shown in the user section.
/// </remarks>
bool UsernameIsEmail { get; }
}
}

View File

@@ -1,21 +0,0 @@
namespace Umbraco.Core.Configuration.UmbracoSettings
{
public interface IWebRoutingSettings : IUmbracoConfigurationSection
{
bool TrySkipIisCustomErrors { get; }
bool InternalRedirectPreservesTemplate { get; }
bool DisableAlternativeTemplates { get; }
bool ValidateAlternativeTemplates { get; }
bool DisableFindContentByIdPath { get; }
bool DisableRedirectUrlTracking { get; }
string UrlProviderMode { get; }
string UmbracoApplicationUrl { get; }
}
}