* Merge master in develop (#55)
* Fix reachable and IP leak test (#44)
* Fix reachable check
Fixes failing reachable checks when Basic Authentication is enabled in
Sonarr, Radarr, etc.
* Add option to disable IP leak test
* Revert "Fix reachable and IP leak test (#44)" (#46)
This reverts commit 3f5d7bbef3.
* Release 0.6.1 (#48)
* Fix typo
* Fix typos
* Fix typos
* Fix typo
* Clarify error message
* Fix reachable and ipleak test (#47)
* Fix reachable check
Fixes failing reachable checks when Basic Authentication is enabled in
Sonarr, Radarr, etc.
* Add option to disable IP leak test
---------
Co-authored-by: Jonas F <github@pcjones.de>
* Add IpLeakTest environment variable to docker compose
---------
Co-authored-by: akuntsch <github@akuntsch.de>
* Create Dockerfile.arm64
---------
Co-authored-by: akuntsch <github@akuntsch.de>
* Add configurable cache duration
* Make proxy port configurable
* Make proxy port configurable
* Add API Key auth
* Add default settings to appsettings
---------
Co-authored-by: akuntsch <github@akuntsch.de>
31 lines
947 B
C#
31 lines
947 B
C#
namespace UmlautAdaptarr.Options
|
|
{
|
|
/// <summary>
|
|
/// Global options for the UmlautAdaptarr application.
|
|
/// </summary>
|
|
public class GlobalOptions
|
|
{
|
|
/// <summary>
|
|
/// The host of the UmlautAdaptarr API.
|
|
/// </summary>
|
|
public string UmlautAdaptarrApiHost { get; set; }
|
|
|
|
/// <summary>
|
|
/// The User-Agent string used in HTTP requests.
|
|
/// </summary>
|
|
public string UserAgent { get; set; }
|
|
|
|
/// <summary>
|
|
/// The duration in minutes to cache the indexer requests.
|
|
/// </summary>
|
|
public int IndexerRequestsCacheDurationInMinutes { get; set; } = 12;
|
|
|
|
/// <summary>
|
|
/// API key for requests to the UmlautAdaptarr. Optional.
|
|
public string? ApiKey { get; set; } = null;
|
|
|
|
/// <summary>
|
|
/// Proxy port for the internal UmlautAdaptarr proxy.
|
|
public int ProxyPort { get; set; } = 5006;
|
|
}
|
|
} |