This commit is contained in:
2023-01-04 19:39:29 +00:00
parent e9dc1d0f90
commit 62b8449bb6
3 changed files with 10 additions and 2 deletions

View File

@@ -13,7 +13,8 @@ See the [upgrade instructions](ops-upgrade.md) section of this manual for detail
#### Fixed #### Fixed
- UI: DateTime and Date controls not displaying properly localized when edit enabled - UI: DateTime and Date controls not displaying properly localized when in edit enabled mode
- UI: Unit edit form New work order menu item not translated
## 2022 ## 2022

View File

@@ -247,6 +247,8 @@ namespace AyaNova
} }
); );
//for down the road when add updated swashbuckle libs
// services.AddSwaggerGenNewtonsoftSupport();
#endregion #endregion

View File

@@ -51,6 +51,8 @@ namespace AyaNova.Core
private const string LICENSE_SERVER_URL_EUROPA = "https://europa.ayanova.com/"; private const string LICENSE_SERVER_URL_EUROPA = "https://europa.ayanova.com/";
private const string LICENSE_SERVER_URL_CALLISTO = "https://callisto.ayanova.com/"; private const string LICENSE_SERVER_URL_CALLISTO = "https://callisto.ayanova.com/";
private const string LICENSE_SERVER_URL_SOCKEYE = "https://sockeye.ayanova.com/";
internal const string LICENSE_MISMATCH_TO_BUILD_ERROR = "E1020 - Not licensed for this version of AyaNova. Fix: revert to previous version used or contact technical support for options"; internal const string LICENSE_MISMATCH_TO_BUILD_ERROR = "E1020 - Not licensed for this version of AyaNova. Fix: revert to previous version used or contact technical support for options";
//Warning: magic string, do not change this, triggers special login procedures to fix license issue //Warning: magic string, do not change this, triggers special login procedures to fix license issue
@@ -619,7 +621,7 @@ namespace AyaNova.Core
private static async Task<HttpResponseMessage> DoFetchAsync(string LicenseUrlParameters, StringContent content, HttpClient client) private static async Task<HttpResponseMessage> DoFetchAsync(string LicenseUrlParameters, StringContent content, HttpClient client)
{ {
var LicenseServer = string.Empty; var LicenseServer = string.Empty;
for (int x = 0; x < 4; x++) for (int x = 0; x < 5; x++)
{ {
try try
{ {
@@ -637,6 +639,9 @@ namespace AyaNova.Core
case 3: case 3:
LicenseServer = LICENSE_SERVER_URL_CALLISTO; LicenseServer = LICENSE_SERVER_URL_CALLISTO;
break; break;
case 4:
LicenseServer = LICENSE_SERVER_URL_SOCKEYE;
break;
} }
return await client.PostAsync($"{LicenseServer}{LicenseUrlParameters}", content); return await client.PostAsync($"{LicenseServer}{LicenseUrlParameters}", content);