using System.Diagnostics.CodeAnalysis;
namespace Jackett.Common.Models.IndexerConfig.Bespoke
{
[ExcludeFromCodeCoverage]
internal class ConfigurationDataNorbits : ConfigurationData
{
public DisplayInfoConfigurationItem CredentialsWarning { get; private set; }
public StringConfigurationItem Username { get; private set; }
public PasswordConfigurationItem Password { get; private set; }
public StringConfigurationItem TwoFactorAuth { get; private set; }
public BoolConfigurationItem freeleech { get; private set; }
public DisplayInfoConfigurationItem PagesWarning { get; private set; }
public BoolConfigurationItem UseFullSearch { get; private set; }
public DisplayInfoConfigurationItem AccountActivity { get; private set; }
public ConfigurationDataNorbits()
{
CredentialsWarning = new DisplayInfoConfigurationItem("Credentials", "Credentials Configuration (Private Tracker),
- Username is your account name on this tracker.
- Password is your password associated to your account name.
");
Username = new StringConfigurationItem("Username") { Value = "" };
Password = new PasswordConfigurationItem("Password") { Value = "" };
TwoFactorAuth = new StringConfigurationItem("2FA Code (Optional)");
freeleech = new BoolConfigurationItem("Search freeleech only") { Value = false };
PagesWarning = new DisplayInfoConfigurationItem("Preferences", "Preferences Configuration (Tweak your search settings),
- Max Pages to Process let you specify how many page (max) Jackett can process when doing a search. Setting a value higher than 4 is dangerous for you account ! (Result of too many requests to tracker...that will be suspect).
");
UseFullSearch = new BoolConfigurationItem("Enable search in description.") { Value = false };
AccountActivity = new DisplayInfoConfigurationItem("Account Inactivity", "Parasites are deactivated after 28 days. (7 days below 0.3 in ratio, 7 days with a warning, 14 days as a parasite). Accounts with nothing downloaded or uploaded will be deactivated after 28 days. This only applies to newly registered accounts without torrent activity (e.g. not passing the norbits test).");
}
}
}