New: PushOver will now require an application per user to avoid API limiting issues

This commit is contained in:
Mark McDowall
2013-12-30 20:48:14 -08:00
parent 72e56a1845
commit c42777086b
7 changed files with 82 additions and 10 deletions
@@ -18,10 +18,13 @@ namespace NzbDrone.Core.Notifications.Pushover
{
private static readonly PushoverSettingsValidator Validator = new PushoverSettingsValidator();
[FieldDefinition(0, Label = "User Key", HelpLink = "https://pushover.net/")]
[FieldDefinition(0, Label = "API Key", HelpLink = "https://pushover.net/apps/clone/nzbdrone")]
public String ApiKey { get; set; }
[FieldDefinition(1, Label = "User Key", HelpLink = "https://pushover.net/")]
public String UserKey { get; set; }
[FieldDefinition(1, Label = "Priority", Type = FieldType.Select, SelectOptions = typeof(PushoverPriority) )]
[FieldDefinition(2, Label = "Priority", Type = FieldType.Select, SelectOptions = typeof(PushoverPriority) )]
public Int32 Priority { get; set; }
public bool IsValid