Merge pull request #1243 from anonaut/master

Added Mattermost Notifications
This commit is contained in:
Jamie 2017-04-10 15:43:53 +01:00 committed by GitHub
commit f7c25b0e15
21 changed files with 579 additions and 2 deletions

View file

@ -0,0 +1,13 @@
using System;
using Newtonsoft.Json;
namespace Ombi.Core.SettingModels
{
public sealed class MattermostNotificationSettings : NotificationSettings
{
public string WebhookUrl { get; set; }
public string Channel { get; set; }
public string Username { get; set; }
public string IconUrl { get; set; }
}
}

View file

@ -51,11 +51,13 @@ namespace Ombi.Core.SettingModels
}
};
SlackNotification = new List<NotificationMessage>();
MattermostNotification = new List<NotificationMessage>();
PushoverNotification = new List<NotificationMessage>();
PushbulletNotification = new List<NotificationMessage>();
}
public List<NotificationMessage> EmailNotification { get; set; }
public List<NotificationMessage> SlackNotification { get; set; }
public List<NotificationMessage> MattermostNotification { get; set; }
public List<NotificationMessage> PushbulletNotification { get; set; }
public List<NotificationMessage> PushoverNotification { get; set; }
}