Files
Prowlarr/src/NzbDrone.Core/Configuration/IConfigService.cs
T
Devin Buhl 202836110e New: Add application URL to host configuration settings
(cherry picked from commit 762042ba97c2ae689cee32d8e66a458f6d7a8adc)
2023-05-08 14:24:50 +03:00

61 lines
1.6 KiB
C#

using System.Collections.Generic;
using NzbDrone.Common.Http.Proxy;
using NzbDrone.Core.Security;
namespace NzbDrone.Core.Configuration
{
public interface IConfigService
{
void SaveConfigDictionary(Dictionary<string, object> configValues);
bool IsDefined(string key);
//History
int HistoryCleanupDays { get; set; }
//UI
int FirstDayOfWeek { get; set; }
string CalendarWeekColumnHeader { get; set; }
string ShortDateFormat { get; set; }
string LongDateFormat { get; set; }
string TimeFormat { get; set; }
bool ShowRelativeDates { get; set; }
bool EnableColorImpairedMode { get; set; }
string UILanguage { get; set; }
//Internal
string PlexClientIdentifier { get; }
//Forms Auth
string RijndaelPassphrase { get; }
string HmacPassphrase { get; }
string RijndaelSalt { get; }
string HmacSalt { get; }
//Link Protection
string DownloadProtectionKey { get; }
//Proxy
bool ProxyEnabled { get; }
ProxyType ProxyType { get; }
string ProxyHostname { get; }
int ProxyPort { get; }
string ProxyUsername { get; }
string ProxyPassword { get; }
string ProxyBypassFilter { get; }
bool ProxyBypassLocalAddresses { get; }
// Backups
string BackupFolder { get; }
int BackupInterval { get; }
int BackupRetention { get; }
// Indexers
bool LogIndexerResponse { get; set; }
CertificateValidationType CertificateValidation { get; }
string ApplicationUrl { get; }
}
}