diff --git a/.vscode/launch.json b/.vscode/launch.json index d7382893..c8990a8c 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -62,12 +62,12 @@ "AYANOVA_DB_CONNECTION": "Server=localhost;Username=postgres;Password=raven;Database=AyaNova;CommandTimeout=300;", "AYANOVA_DATA_PATH": "c:\\temp\\ravendata", "AYANOVA_USE_URLS": "http://*:7575;", - "AYANOVA_PERMANENTLY_ERASE_DATABASE":"true", + //"AYANOVA_PERMANENTLY_ERASE_DATABASE":"true", //"AYANOVA_REMOVE_LICENSE_FROM_DB":"true", - //"AYANOVA_SERVER_TEST_MODE": "false", - //"AYANOVA_SERVER_TEST_MODE_TZ_OFFSET": "-8", + "AYANOVA_SERVER_TEST_MODE": "false", + "AYANOVA_SERVER_TEST_MODE_TZ_OFFSET": "-8", //"AYANOVA_REPORT_RENDERING_TIMEOUT":"1", - // "AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small", + "AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small", "AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_14\\bin" }, "sourceFileMap": { diff --git a/devdocs/todo.txt b/devdocs/todo.txt index 6ccc56a1..f64d11f7 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -31,43 +31,27 @@ THINGS HOLDING UP PERPETUAL RELEASE WIP >>>>>>>>>>>>> -bugbug: migrate errorduring initial erase : subscription -xception has occurred: CLR/Npgsql.PostgresException -Exception thrown: 'Npgsql.PostgresException' in System.Private.CoreLib.dll: '23503: update or delete on table "apm" violates foreign key constraint "aworkorder_frompmid_fkey" on table "aworkorder" - -DETAIL: Detail redacted as it may contain sensitive data. Specify 'Include Error Detail' in the connection string to include this information.' - at Npgsql.Internal.NpgsqlConnector.<g__ReadMessageLong|211_0>d.MoveNext() - at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() - at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) - at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) - at Npgsql.NpgsqlDataReader.d__47.MoveNext() - at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() - at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) - at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) - at Npgsql.NpgsqlCommand.d__116.MoveNext() - at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() - at Npgsql.NpgsqlCommand.d__116.MoveNext() - at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() - at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) - at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot - - - todo: move next release of v7 to downloads and update web page, reword to say it ensures there are no bare line feeds in messages to be on the safe side or something to that effect TESTING NEXT UP V8MIGRATE.... -todo: TEST subscription and perpetual license code + + +todo: TEST subscription and perpetual license code LOCALLY / then posted hosted Does a trial request for sbuscription work? YES Correct date range? YES Generate data? YES - v8migrate work? YES? + v8migrate work? YES + Can generate HUGE data set on trial? Does a trial request for perpetual work? YES correct date range? YES Generate data? YES - v8migratework? + v8migratework? YES + Can generate HUGE data set on trial? Can I bump a trial subscription and / or perptual expiration date if a trialer needs more time!!! IMPORTANT, this way can keep it brief but allow for wiggle - Does new boot code still work when no database? + YES BUT it must not be a TRIAL key, it can be a full key that is time restricted but not flagged trial as raven prevents a trial key being used with a non empty db + + Does new boot code still work when no database? YES Does new boot code work to prevent running if wrong build or maint date expired vs build date? Does it prevent changing a user to active? Does it prevent changing a user type? (direct db meddling) @@ -75,6 +59,14 @@ todo: TEST subscription and perpetual license code Does it communicate this well to the user? Test the living fuck out of this from the NEXT deployment before any hint of live posting as there are so many changes it's necessary +todo: SUPER IMPORTANT DO ASAP Need a raven licensing / hosting reference manual for my own use with sections on things like how to extend a trial properly, etc etc + Also for the use of an assistant potentially, a markdown document that is made into a web page available through rockfish itself!!! + start it early and add the bit about extending a trial above to get the ball rolling + a rockfish usage wiki so to speak + Go ahead with a full manual for this one using the same docs system as for ayanova qbi manual but hang it off of rockfish with a link + this way it will work on a phone or other small device if on the road etc + +todo: *** IMPORTANT v8migrate, why is there no dire warning before it starts? I'm trying the licensed version and it's just diong it once teh selection is made, there's no warnings, nothing!! todo: IMPORTANT UPDATE manual, screenshots regarding Customer contact user and regular user and AllowLogin property added!!! Also license related info about how to free up a user for licensing and how users consume licenses diff --git a/server/AyaNova/util/License.cs b/server/AyaNova/util/License.cs index d940a97f..38d260ef 100644 --- a/server/AyaNova/util/License.cs +++ b/server/AyaNova/util/License.cs @@ -1068,7 +1068,7 @@ EQIDAQAB if (MExBB(Util.FileUtil.GetLinkerTimestampUtc(System.Reflection.Assembly.GetExecutingAssembly()), key)) { Console.WriteLine(LICENSE_MISMATCH_TO_BUILD_ERROR); - + log.LogError("E1020 - build too new for license"); //NOTE: LICENSE_MISMATCH_TO_BUILD_ERROR matched for in startup.cs DO NOT change this without fixing the side effects throw new ApplicationException(LICENSE_MISMATCH_TO_BUILD_ERROR); } @@ -1077,6 +1077,7 @@ EQIDAQAB #if (SUBSCRIPTION_BUILD) if(key.Perpetual){ Console.WriteLine(LICENSE_MISMATCH_TO_BUILD_ERROR); + log.LogError("E1020 - subscription build but perpetual key"); //NOTE: LICENSE_MISMATCH_TO_BUILD_ERROR bit below is checked for in startup.cs DO NOT remove this without fixing the side effects throw new ApplicationException(LICENSE_MISMATCH_TO_BUILD_ERROR); } @@ -1084,6 +1085,7 @@ EQIDAQAB if (!key.Perpetual) { Console.WriteLine(LICENSE_MISMATCH_TO_BUILD_ERROR); + log.LogError("E1020 - perpetual build but subscription key"); //NOTE: LICENSE_MISMATCH_TO_BUILD_ERROR bit below is checked for in startup.cs DO NOT remove this without fixing the side effects throw new ApplicationException(LICENSE_MISMATCH_TO_BUILD_ERROR); }