This commit is contained in:
@@ -667,9 +667,9 @@ namespace AyaNova.PlugIn.V8
|
|||||||
dmemo.name = "V8 Migrate - post migrate log and instructions";
|
dmemo.name = "V8 Migrate - post migrate log and instructions";
|
||||||
dmemo.notes = "Hello, this is an automated memo from the v8 migrate utility.\n\n"
|
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"
|
+ "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"
|
+ util.GuessClientUrl + "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"
|
+ util.GuessClientUrl + "docs/ops-technical-changes-from-v7/\n\\nMigration guide and recommended post migrate steps:\n"
|
||||||
+ "https://test.helloayanova.com/docs/ay-biz-admin-import-v7/\n\n\nLog:\n"
|
+ util.GuessClientUrl + "docs/ay-biz-admin-import-v7/\n\n\nLog:\n"
|
||||||
+ "######## V8 Migrate log ########\n"
|
+ "######## V8 Migrate log ########\n"
|
||||||
+ progress.AllText
|
+ progress.AllText
|
||||||
+ "\n################################\n";
|
+ "\n################################\n";
|
||||||
@@ -1789,12 +1789,12 @@ namespace AyaNova.PlugIn.V8
|
|||||||
}
|
}
|
||||||
|
|
||||||
d.smtpAccount = AyaBizUtils.GlobalSettings.NotifySMTPAccount;
|
d.smtpAccount = AyaBizUtils.GlobalSettings.NotifySMTPAccount;
|
||||||
|
d.smtpPassword = AyaBizUtils.GlobalSettings.NotifySMTPPassword;
|
||||||
d.notifyFromAddress = AyaBizUtils.GlobalSettings.NotifySMTPFrom;
|
d.notifyFromAddress = AyaBizUtils.GlobalSettings.NotifySMTPFrom;
|
||||||
d.ayanovaServerURL = util.GuessClientUrl.TrimEnd('/');
|
d.ayanovaServerURL = util.GuessClientUrl.TrimEnd('/');
|
||||||
d.connectionSecurity = 3;//default is SSLTLS, 1 would be StartTls but we're assuming a modern mail server here
|
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);
|
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");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ namespace AyaNova.PlugIn.V8
|
|||||||
public const string API_BASE_ROUTE = "api/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 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
|
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;
|
public static HttpClient client = null;
|
||||||
//url once known to be good
|
//url once known to be good
|
||||||
internal static string ApiBaseUrl { get; set; }
|
internal static string ApiBaseUrl { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user