-
-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New: Optionally use Environment Variables for settings in config.xml
- Loading branch information
1 parent
2621acd
commit 30d9891
Showing
10 changed files
with
157 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace NzbDrone.Common.Options; | ||
|
||
public class AppOptions | ||
{ | ||
public string InstanceName { get; set; } | ||
public string Theme { get; set; } | ||
public bool? LaunchBrowser { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace NzbDrone.Common.Options; | ||
|
||
public class AuthOptions | ||
{ | ||
public string ApiKey { get; set; } | ||
public bool? Enabled { get; set; } | ||
public string Method { get; set; } | ||
public string Required { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace NzbDrone.Common.Options; | ||
|
||
public class LogOptions | ||
{ | ||
public string Level { get; set; } | ||
public bool? FilterSentryEvents { get; set; } | ||
public int? Rotate { get; set; } | ||
public bool? Sql { get; set; } | ||
public string ConsoleLevel { get; set; } | ||
public bool? AnalyticsEnabled { get; set; } | ||
public string SyslogServer { get; set; } | ||
public int? SyslogPort { get; set; } | ||
public string SyslogLevel { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace NzbDrone.Common.Options; | ||
|
||
public class ServerOptions | ||
{ | ||
public string UrlBase { get; set; } | ||
public string BindAddress { get; set; } | ||
public int? Port { get; set; } | ||
public bool? EnableSsl { get; set; } | ||
public int? SslPort { get; set; } | ||
public string SslCertPath { get; set; } | ||
public string SslCertPassword { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace NzbDrone.Common.Options; | ||
|
||
public class UpdateOptions | ||
{ | ||
public string Mechanism { get; set; } | ||
public bool? Automatically { get; set; } | ||
public string ScriptPath { get; set; } | ||
public string Branch { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters