This commit is contained in:
2020-07-15 23:01:31 +00:00
parent 9d4cc7cecb
commit 8a88108248
5 changed files with 145 additions and 9 deletions

View File

@@ -16,13 +16,14 @@ namespace AyaNova.Models
//this is precautionarily added for non latinate languages where it could be an issue
public bool SearchCaseSensitiveOnly { get; set; }
public bool NotificationSystemActive { get; set; }
// public bool NotificationSystemActive { get; set; }
public GlobalBizSettings()
{
Id = 1;//always 1
SearchCaseSensitiveOnly = false;
NotificationSystemActive = true;
//NO, notification system is *always* active, if they don't want email delivery that's an OPS setting NotificationSystemActive = true;
//keeping this in case I forget and try to re-implement
}
}
}

View File

@@ -7,7 +7,7 @@ namespace AyaNova.Models
{
public long Id { get; set; }//this is always 1 as there is only ever one single global Ops object
public uint Concurrency { get; set; }
public bool Active { get; set; }
public bool SmtpDeliveryActive { get; set; }
public string SmtpServerAddress { get; set; }
public string SmtpAccount { get; set; }
public string SmtpPassword { get; set; }
@@ -17,7 +17,7 @@ namespace AyaNova.Models
public GlobalOpsNotificationSettings()
{
Active = true;
SmtpDeliveryActive = true;
Id = 1;
SmtpServerAddress="mail.example.com";
SmtpAccount="notifydeliverfromaccount@example.com";