Cleanup conversion script issues

This commit is contained in:
Qstick
2021-06-13 18:26:32 -04:00
parent 6ce35f6a24
commit 334f3514df
11 changed files with 23 additions and 23 deletions

View File

@@ -494,10 +494,10 @@ namespace NzbDrone.Core.Indexers.Definitions
Username = "";
}
[FieldDefinition(1, Label = "Passkey", HelpText = "Site Passkey")]
[FieldDefinition(1, Label = "Passkey", Privacy = PrivacyLevel.Password, Type = FieldType.Password, HelpText = "Site Passkey")]
public string Passkey { get; set; }
[FieldDefinition(1, Label = "Username", HelpText = "Site username")]
[FieldDefinition(1, Label = "Username", HelpText = "Site Username")]
public string Username { get; set; }
public NzbDroneValidationResult Validate()

View File

@@ -350,10 +350,10 @@ namespace NzbDrone.Core.Indexers.Definitions
Password = "";
}
[FieldDefinition(1, Label = "Username", HelpText = "Site username")]
[FieldDefinition(1, Label = "Username", HelpText = "Site Username")]
public string Username { get; set; }
[FieldDefinition(2, Label = "Password", Type = FieldType.Password, HelpText = "Site password", Privacy = PrivacyLevel.Password)]
[FieldDefinition(2, Label = "Password", Type = FieldType.Password, HelpText = "Site Password", Privacy = PrivacyLevel.Password)]
public string Password { get; set; }
public NzbDroneValidationResult Validate()

View File

@@ -402,10 +402,10 @@ namespace NzbDrone.Core.Indexers.Definitions
Password = "";
}
[FieldDefinition(1, Label = "Username", HelpText = "Site username")]
[FieldDefinition(1, Label = "Username", HelpText = "Site Username")]
public string Username { get; set; }
[FieldDefinition(2, Label = "Password", Type = FieldType.Password, HelpText = "Site password", Privacy = PrivacyLevel.Password)]
[FieldDefinition(2, Label = "Password", Type = FieldType.Password, HelpText = "Site Password", Privacy = PrivacyLevel.Password)]
public string Password { get; set; }
[FieldDefinition(3, Label = "Add Romaji Title", Type = FieldType.Checkbox, HelpText = "Add releases for Romaji Title")]

View File

@@ -375,10 +375,10 @@ namespace NzbDrone.Core.Indexers.Definitions
Password = "";
}
[FieldDefinition(1, Label = "Username", HelpText = "Site username")]
[FieldDefinition(1, Label = "Username", HelpText = "Site Username")]
public string Username { get; set; }
[FieldDefinition(2, Label = "Password", Type = FieldType.Password, HelpText = "Site password", Privacy = PrivacyLevel.Password)]
[FieldDefinition(2, Label = "Password", Type = FieldType.Password, HelpText = "Site Password", Privacy = PrivacyLevel.Password)]
public string Password { get; set; }
public NzbDroneValidationResult Validate()

View File

@@ -345,10 +345,10 @@ namespace NzbDrone.Core.Indexers.Definitions
Password = "";
}
[FieldDefinition(1, Label = "Username", HelpText = "Site username")]
[FieldDefinition(1, Label = "Username", HelpText = "Site Username")]
public string Username { get; set; }
[FieldDefinition(2, Label = "Password", Type = FieldType.Password, HelpText = "Site password", Privacy = PrivacyLevel.Password)]
[FieldDefinition(2, Label = "Password", Type = FieldType.Password, HelpText = "Site Password", Privacy = PrivacyLevel.Password)]
public string Password { get; set; }
public NzbDroneValidationResult Validate()

View File

@@ -289,10 +289,10 @@ namespace NzbDrone.Core.Indexers.Definitions
TwoFactorAuth = "";
}
[FieldDefinition(1, Label = "Username", HelpText = "Site username")]
[FieldDefinition(1, Label = "Username", HelpText = "Site Username")]
public string Username { get; set; }
[FieldDefinition(2, Label = "Password", HelpText = "Site Password")]
[FieldDefinition(2, Label = "Password", Privacy = PrivacyLevel.Password, Type = FieldType.Password, HelpText = "Site Password")]
public string Password { get; set; }
[FieldDefinition(3, Label = "Two Factor Auth", HelpText = "Two-Factor Auth")]

View File

@@ -401,13 +401,13 @@ namespace NzbDrone.Core.Indexers.Definitions
Password = "";
}
[FieldDefinition(1, Label = "Pin", Advanced = true, HelpText = "Site Pin")]
[FieldDefinition(1, Label = "Pin", HelpText = "Site Pin")]
public string Pin { get; set; }
[FieldDefinition(2, Label = "Username", Advanced = true, HelpText = "Site username")]
[FieldDefinition(2, Label = "Username", HelpText = "Site Username")]
public string Username { get; set; }
[FieldDefinition(3, Label = "Password", Advanced = true, HelpText = "Site Password")]
[FieldDefinition(3, Label = "Password", Privacy = PrivacyLevel.Password, Type = FieldType.Password, HelpText = "Site Password")]
public string Password { get; set; }
public NzbDroneValidationResult Validate()

View File

@@ -343,10 +343,10 @@ namespace NzbDrone.Core.Indexers.Definitions
Password = "";
}
[FieldDefinition(1, Label = "Username", HelpText = "Site username")]
[FieldDefinition(1, Label = "Username", HelpText = "Site Username")]
public string Username { get; set; }
[FieldDefinition(2, Label = "Password", Type = FieldType.Password, HelpText = "Site password", Privacy = PrivacyLevel.Password)]
[FieldDefinition(2, Label = "Password", Type = FieldType.Password, HelpText = "Site Password", Privacy = PrivacyLevel.Password)]
public string Password { get; set; }
public NzbDroneValidationResult Validate()

View File

@@ -345,10 +345,10 @@ namespace NzbDrone.Core.Indexers.Definitions
Password = "";
}
[FieldDefinition(1, Label = "Username", HelpText = "Site username")]
[FieldDefinition(1, Label = "Username", HelpText = "Site Username")]
public string Username { get; set; }
[FieldDefinition(2, Label = "Password", Type = FieldType.Password, HelpText = "Site password", Privacy = PrivacyLevel.Password)]
[FieldDefinition(2, Label = "Password", Type = FieldType.Password, HelpText = "Site Password", Privacy = PrivacyLevel.Password)]
public string Password { get; set; }
[FieldDefinition(3, Label = "FreeLeech Only", Type = FieldType.Checkbox, Advanced = true, HelpText = "Search Freeleech torrents only")]

View File

@@ -354,10 +354,10 @@ namespace NzbDrone.Core.Indexers.Definitions
Password = "";
}
[FieldDefinition(1, Label = "Username", HelpText = "Site username")]
[FieldDefinition(1, Label = "Username", HelpText = "Site Username")]
public string Username { get; set; }
[FieldDefinition(2, Label = "Password", Type = FieldType.Password, HelpText = "Site password", Privacy = PrivacyLevel.Password)]
[FieldDefinition(2, Label = "Password", Type = FieldType.Password, HelpText = "Site Password", Privacy = PrivacyLevel.Password)]
public string Password { get; set; }
public NzbDroneValidationResult Validate()

View File

@@ -417,10 +417,10 @@ namespace NzbDrone.Core.Indexers.Definitions
Password = "";
}
[FieldDefinition(1, Label = "Username", Advanced = true, HelpText = "Site username")]
[FieldDefinition(1, Label = "Username", HelpText = "Site Username")]
public string Username { get; set; }
[FieldDefinition(1, Label = "Password", Advanced = true, HelpText = "Site Password")]
[FieldDefinition(1, Label = "Password", Privacy = PrivacyLevel.Password, Type = FieldType.Password, HelpText = "Site Password")]
public string Password { get; set; }
public NzbDroneValidationResult Validate()