case 4310

This commit is contained in:
2022-11-21 01:22:31 +00:00
parent b9f80c6143
commit 36678e92b8
9 changed files with 16 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
; LAN install for internal network use only
#define MyAppName "AyaNova server"
#define MyAppVersion "8.0.23"
#define MyAppVersion "8.0.24"
#define MyAppPublisher "Ground Zero Tech-Works, Inc."
#define MyAppURL "https://ayanova.com/"
#define MyAppLauncherExeName "ayanova-launcher.exe"

View File

@@ -3,7 +3,7 @@
; external to lan requires different config
#define MyAppName "AyaNova"
#define MyAppVersion "8.0.23"
#define MyAppVersion "8.0.24"
#define MyAppPublisher "Ground Zero Tech-Works, Inc."
#define MyAppURL "https://ayanova.com/"
#define MyAppLauncherExeName "ayanova-launcher.exe"

View File

@@ -10,6 +10,12 @@ See the [upgrade instructions](ops-upgrade.md) section of this manual for detail
## 2022
### AyaNova 8.0.24 (2022-11-20)
#### Added
- Server: Added new internal API route `/api/v8/notify/direct-smtp` to support on demand notification scenarios
### AyaNova 8.0.23 (2022-11-18)
#### Added

View File

@@ -7,7 +7,7 @@ theme:
site_name: AyaNova manual
site_dir: '../../../server/AyaNova/wwwroot/docs'
strict: true
copyright: Copyright © 2022 Ground Zero Tech-Works Inc. REV-2022-11-18
copyright: Copyright © 2022 Ground Zero Tech-Works Inc. REV-2022-11-20
extra:
generator: false
# Extensions

View File

@@ -4,8 +4,8 @@
</PropertyGroup>
<PropertyGroup>
<GenerateFullPaths>true</GenerateFullPaths>
<Version>8.0.23</Version>
<FileVersion>8.0.23.0</FileVersion>
<Version>8.0.24</Version>
<FileVersion>8.0.24.0</FileVersion>
<ApplicationIcon>ayanova.ico</ApplicationIcon>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
<noWarn>1591</noWarn>

View File

@@ -406,6 +406,7 @@ namespace AyaNova.Api.Controllers
TranslationKeysToFetch.Add("AdminEraseDatabase");
TranslationKeysToFetch.Add("EventResetSerial");
TranslationKeysToFetch.Add("EventUtilityFileDownload");
TranslationKeysToFetch.Add("NotifyEventDirectSMTPMessage");
var LT = await TranslationBiz.GetSubsetStaticAsync(TranslationKeysToFetch, translationId);
ReturnList.Add(new NameIdItem() { Name = LT["EventDeleted"], Id = (long)AyaEvent.Deleted });
@@ -423,6 +424,7 @@ namespace AyaNova.Api.Controllers
ReturnList.Add(new NameIdItem() { Name = LT["AdminEraseDatabase"], Id = (long)AyaEvent.EraseAllData });
ReturnList.Add(new NameIdItem() { Name = LT["EventResetSerial"], Id = (long)AyaEvent.ResetSerial });
ReturnList.Add(new NameIdItem() { Name = LT["EventUtilityFileDownload"], Id = (long)AyaEvent.UtilityFileDownload });
ReturnList.Add(new NameIdItem() { Name = LT["NotifyEventDirectSMTPMessage"], Id = (long)AyaEvent.DirectSMTP });
}
else if (keyNameInLowerCase == StringUtil.TrimTypeName(typeof(AuthorizationRoles).ToString()).ToLowerInvariant())
{

View File

@@ -338,6 +338,7 @@ namespace AyaNova.Api.Controllers
try
{
await m.SendEmailAsync(notifyDirectSMTP.ToAddress, notifyDirectSMTP.Subject, notifyDirectSMTP.TextBody, ServerGlobalOpsSettingsCache.Notify, null, null, notifyDirectSMTP.HTMLBody);
await EventLogProcessor.LogEventToDatabaseAsync(new Event(UserId, notifyDirectSMTP.ObjectId, notifyDirectSMTP.AType, AyaEvent.DirectSMTP, $"{notifyDirectSMTP.Subject}->{notifyDirectSMTP.ToAddress}"), ct);
}
catch (Exception ex)
{

View File

@@ -27,7 +27,7 @@ namespace AyaNova.Models
SmtpAccount = "support@onayanova.com";
SmtpPassword = "mk8pmhzlf5hvzgh5";
ConnectionSecurity = NotifyMailSecurity.SSLTLS;
SmtpServerPort = 587;
SmtpServerPort = 465;
NotifyFromAddress = "support@ayanova.com";
AyaNovaServerURL = "http://localhost:8080";
#else

View File

@@ -5,7 +5,7 @@ namespace AyaNova.Util
/// </summary>
internal static class AyaNovaVersion
{
public const string VersionString = "8.0.23";
public const string VersionString = "8.0.24";
public const string FullNameAndVersion = "AyaNova server " + VersionString;
public const string CurrentApiVersion="v8";
}//eoc