From f25a26c00e15ff768c81e7d089a673b2323d3e0a Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 26 Apr 2023 23:19:22 +0000 Subject: [PATCH] case 4491 --- dist/latest-version.json | 4 ++-- docs/8.0/ayanova/docs/changelog.md | 13 ++++++++++++- .../AyaNova/generator/CoreJobVersionCheck.cs | 19 ++++++------------- 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/dist/latest-version.json b/dist/latest-version.json index 8e6a2888..889711db 100644 --- a/dist/latest-version.json +++ b/dist/latest-version.json @@ -1,4 +1,4 @@ { - "latestversion":"8.0.42", - "changelogurl":"https://ayanova.com/docs/changelog/#ayanova-8042-2023-04-06" + "latestversion":"8.0.43", + "changelogurl":"https://ayanova.com/docs/changelog/#ayanova-8043" } \ No newline at end of file diff --git a/docs/8.0/ayanova/docs/changelog.md b/docs/8.0/ayanova/docs/changelog.md index 63da40d8..ca30c702 100644 --- a/docs/8.0/ayanova/docs/changelog.md +++ b/docs/8.0/ayanova/docs/changelog.md @@ -8,6 +8,18 @@ See the [upgrade instructions](ops-upgrade.md) section of this manual for detail ## 2023 +### AyaNova 8.0.43 + +Released 2023-04-26 + +**Added** + +- App: Now indicates if an AyaNova server update is available on login ("Perpetual" licensed build only) + +**Changed** + +- Docs: Change log format simplified going forward + ### AyaNova 8.0.42 (2023-04-06) #### Fixed @@ -19,7 +31,6 @@ See the [upgrade instructions](ops-upgrade.md) section of this manual for detail - App: Data table saved filter UI improved usability and functionality saving filters and changing / ovewriting saved filters - Docs: Re-written [saved filters documentation](ay-start-form-data-tables.md#saved-filters) to reflect changes - ### AyaNova 8.0.41 (2023-03-24) #### Fixed diff --git a/server/AyaNova/generator/CoreJobVersionCheck.cs b/server/AyaNova/generator/CoreJobVersionCheck.cs index bc861376..239e6d5d 100644 --- a/server/AyaNova/generator/CoreJobVersionCheck.cs +++ b/server/AyaNova/generator/CoreJobVersionCheck.cs @@ -21,13 +21,13 @@ namespace AyaNova.Biz private static ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger("CoreJobVersionCheck"); private static DateTime _lastCheck = DateTime.MinValue; -#if (DEBUG) + // #if (DEBUG) + + // private static TimeSpan CHECK_INTERVAL = new TimeSpan(0, 0, 30);//30 seconds + // #else - private static TimeSpan CHECK_INTERVAL = new TimeSpan(0, 0, 30);//30 seconds -#else - private static TimeSpan CHECK_INTERVAL = new TimeSpan(24, 0, 0);//every day -#endif + //#endif //////////////////////////////////////////////////////////////////////////////////////////////// // DoWork @@ -36,13 +36,7 @@ namespace AyaNova.Biz { if (DateTime.UtcNow - _lastCheck < CHECK_INTERVAL) return; - - log.LogDebug("Check starting"); - - // ServerGlobalOpsSettingsCache.LATEST_VERSION = "8.0.44"; - // ServerGlobalOpsSettingsCache.CHANGE_LOG_URL = "https://ayanova.com/docs/changelog/"; - - + log.LogDebug("Check starting"); try { @@ -50,7 +44,6 @@ namespace AyaNova.Biz var res = await client.GetAsync("https://ayanova.com/download/latest-version.json"); string responseText = string.Empty; - if (res.IsSuccessStatusCode) { responseText = await res.Content.ReadAsStringAsync();