diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index 5669fe5..248c01e 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -667,9 +667,9 @@ namespace AyaNova.PlugIn.V8 dmemo.name = "V8 Migrate - post migrate log and instructions"; dmemo.notes = "Hello, this is an automated memo from the v8 migrate utility.\n\n" + "Helpful information:\n\nChanges in AyaNova 8 for users:\n" - + "https://test.helloayanova.com/docs/ay-start-changes-from-v7/\n\nTechnical changes in AyaNova 8 for system administrators:\n" - + "https://test.helloayanova.com/docs/ops-technical-changes-from-v7/\n\nImporting guide and recommended post import steps:\n" - + "https://test.helloayanova.com/docs/ay-biz-admin-import-v7/\n\n\nLog:\n" + + util.GuessClientUrl + "docs/ay-start-changes-from-v7/\n\nTechnical changes in AyaNova 8 for system administrators:\n" + + util.GuessClientUrl + "docs/ops-technical-changes-from-v7/\n\\nMigration guide and recommended post migrate steps:\n" + + util.GuessClientUrl + "docs/ay-biz-admin-import-v7/\n\n\nLog:\n" + "######## V8 Migrate log ########\n" + progress.AllText + "\n################################\n"; @@ -1789,12 +1789,12 @@ namespace AyaNova.PlugIn.V8 } d.smtpAccount = AyaBizUtils.GlobalSettings.NotifySMTPAccount; + d.smtpPassword = AyaBizUtils.GlobalSettings.NotifySMTPPassword; d.notifyFromAddress = AyaBizUtils.GlobalSettings.NotifySMTPFrom; d.ayanovaServerURL = util.GuessClientUrl.TrimEnd('/'); d.connectionSecurity = 3;//default is SSLTLS, 1 would be StartTls but we're assuming a modern mail server here await util.PutAsync("global-ops-notification-setting", d); - if (AyaBizUtils.GlobalSettings.UseNotification) - progress.Append("ACTION REQUIRED: Confirm 'Server Operations -> Notification settings' and set SMTP notification to Active"); + progress.Append("ACTION REQUIRED: Confirm 'Server Operations -> Notification settings' and set SMTP notification to Active"); } diff --git a/source/Plugins/AyaNova.Plugin.V8/util.cs b/source/Plugins/AyaNova.Plugin.V8/util.cs index a87fa0d..abe1c5e 100644 --- a/source/Plugins/AyaNova.Plugin.V8/util.cs +++ b/source/Plugins/AyaNova.Plugin.V8/util.cs @@ -23,7 +23,7 @@ namespace AyaNova.PlugIn.V8 public const string API_BASE_ROUTE = "api/v8/"; private const int MAX_TRIES = 3;//max times to retry an api call before giving up private const int API_RETRY_DELAY = 3000;//pause in ms before retrying api call - public static int HTTPCLIENT_TIMEOUT_SECONDS = 30;//default for all ops, normally 100seconds but would kill large file uploads + public static int HTTPCLIENT_TIMEOUT_SECONDS = 100;//changed by the setting in ops anyway, just a in-case sensible default here public static HttpClient client = null; //url once known to be good internal static string ApiBaseUrl { get; set; }