diff --git a/.vscode/launch.json b/.vscode/launch.json index 7e8a5fe8..e99c924c 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -58,7 +58,7 @@ //"AYANOVA_LOG_LEVEL": "Debug", //"AYANOVA_LOG_LEVEL": "Trace", "AYANOVA_DEFAULT_TRANSLATION": "en", - "AYANOVA_DB_CONNECTION": "Server=localhost;Username=postgres;Password=raven;Database=AyaNova;CommandTimeout=120;", + "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", @@ -112,7 +112,7 @@ //"AYANOVA_LOG_LEVEL": "Debug", //"AYANOVA_LOG_LEVEL": "Trace", "AYANOVA_DEFAULT_TRANSLATION": "en", - "AYANOVA_DB_CONNECTION": "Server=localhost;Username=postgres;Password=raven;Database=AyaNova;CommandTimeout=120;", + "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", diff --git a/devdocs/deploy.md b/devdocs/deploy.md index 2358a473..83ff7ce7 100644 --- a/devdocs/deploy.md +++ b/devdocs/deploy.md @@ -6,7 +6,7 @@ If any packages have been changed in the release do a thorough security scan and ### Bump version numbers: -Search and replace 8.0.4 +Search and replace 8.0.5 webapp,server,launcher, v8migrate (don't change v8migrate unless it has it's own code changes, it's version should be it's own thing other than major release changes etc) Client end ayanova-version.js, diff --git a/devdocs/pricing.md b/devdocs/pricing.md index 0e3781c2..d946aa46 100644 --- a/devdocs/pricing.md +++ b/devdocs/pricing.md @@ -139,7 +139,7 @@ TWO types makes the most sense after considering options: - One time fee, user can use indefinitely - self installed, hosted and maintained by customer - least profitable for us long term if they don't buy a maint. subscription -- Without maintenance subscription, eligable for Minor updates only to fix bugs no new features so in other words they buy 8.0.4 they can upgrade to any 8.0.X version release, but not 8.1 as it will be new features added that don't break backward compatibility +- Without maintenance subscription, eligable for Minor updates only to fix bugs no new features so in other words they buy 8.0.5 they can upgrade to any 8.0.X version release, but not 8.1 as it will be new features added that don't break backward compatibility - one-time payment, along with the option of a yearly maintenance fee. - This is basically our current model but we allow upgrades for subscribers - **HAS CODE IMPLICATIONS** upgrades need to check if allowed based on version number if no maintenance subscription _not_ on date of build. diff --git a/devdocs/todo.txt b/devdocs/todo.txt index 0e7c573c..23d6e0b9 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -17,6 +17,12 @@ THINGS HOLDING UP PERPETUAL RELEASE todo: bugbug?? Attempted migration to very full v8 server and erasing data took forever then bombed a bit later +Key bit here I think: System.TimeoutException: Timeout during reading attempt +Might need to bump up default timeout to work around this, test locally find the value that works +TO TRY: erase huge db locally see where it times out (keep timeout low) +to try: manually run the erase statements one at a time, try to find the slowest one and figure out if there is any improvement to be made + +INFO: 300 second command timeout worked and it was able to erase the HUGE database, maybe the easy thing to do is just make the default command timeout 300 seconds and say fuck it for now 2022-08-19 14:54:39.8201|INFO|AyaNova.Api.Controllers.LicenseController|Erasing Database "AyaNova" 2022-08-19 14:55:43.5885|ERROR|SERVER|Error=>Npgsql.NpgsqlException (0x80004005): Exception while reading from stream @@ -77,6 +83,10 @@ todo: bugbug?? Attempted migration to very full v8 server and erasing data took todo: weird one, if the migration erase fails, I can login as superuser go to ops server state, it says it's Open but reason says "erasing database" and I can't run migration service unavailable as the server is stuck in erase mode or something maybe it's still erasing? Weird +todo: erase can take forever, it should be a job maybe instead, I know it's rare to run it but it's going to be trouble down the road. + generate HUGE tracts o data and then jobify the delete job. + Unless this is all to do with a bug erasing so check that first + todo: fake sale of v8 to get license emails to update rockfish to auto read in the deets FAKE CREDIT CARD I have generated a test credit card number for your account. Please use the following as the credit card number making sure to use the word test and the 12 digit number with no spaces. You can use any valid information you would like for the other fields. @@ -98,7 +108,7 @@ todo: fake sale of v8 to get license emails to update rockfish to auto read in t todo: rockfish needs to be able to enter a shareit sale of raven licenses (all the features like paste in etc), product codes already added todo: test with local dev rockfish a sale process end to end before moving on to posting it todo: post rockfish if get to here and all ok -todo: Make sure doesn't fuck up existing testers - test existing version 8.0.3 with new rockfish BEFORE POSTING NEW 8.0.4 at server with new key generator for rockfish?? +todo: Make sure doesn't fuck up existing testers - test existing version 8.0.3 with new rockfish BEFORE POSTING NEW 8.0.5 at server with new key generator for rockfish?? todo: if all goes well then post to test server and try both ways again and confirm it's ok todo: ultimately at the end test as a fake sale right through to licensing so we know it's ready to go!!!! Very important, this is the last thing I need to be dealing with when get in the weeds close to release @@ -1326,6 +1336,6 @@ https://www.ayanova.com/download/next/ayanova-linux-x64-server.zip https://www.ayanova.com/download/next/ayanova-windows-x64-lan-setup.exe Current v8 docs home: https://www.ayanova.com/docs/next -BUILD 8.0.4 CHANGES OF NOTE +BUILD 8.0.5 CHANGES OF NOTE Subscription / perpetual license code and stuff diff --git a/dist/assets/lan-install-config.json b/dist/assets/lan-install-config.json index e34b4301..a92829ac 100644 --- a/dist/assets/lan-install-config.json +++ b/dist/assets/lan-install-config.json @@ -1,6 +1,6 @@ { "AYANOVA_USE_URLS": "http://*:7575", - "AYANOVA_DB_CONNECTION":"Server=localhost;Username=postgres;Password=YOUR_PASSWORD_HERE;Database=AyaNova;", + "AYANOVA_DB_CONNECTION":"Server=localhost;Username=postgres;Password=YOUR_PASSWORD_HERE;Database=AyaNova;CommandTimeout=300;", "AYANOVA_DEFAULT_TRANSLATION":"en", "AYANOVA_DATA_PATH":"%ProgramData%\\ayanova", "AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\Program Files\\PostgreSQL\\14\\bin", diff --git a/dist/assets/linux-desktop/config.json b/dist/assets/linux-desktop/config.json index 235a81c7..1ec6b3b4 100644 --- a/dist/assets/linux-desktop/config.json +++ b/dist/assets/linux-desktop/config.json @@ -1,6 +1,6 @@ { "AYANOVA_USE_URLS": "http://*:7575", - "AYANOVA_DB_CONNECTION":"Server=localhost;Username=postgres;Password=YOUR_PASSWORD_HERE;Database=AyaNova;", + "AYANOVA_DB_CONNECTION":"Server=localhost;Username=postgres;Password=YOUR_PASSWORD_HERE;Database=AyaNova;CommandTimeout=300;", "AYANOVA_DEFAULT_TRANSLATION":"en", "AYANOVA_DATA_PATH":"~/.ayanova-data", "AYANOVA_LOG_LEVEL": "Info" diff --git a/dist/assets/linux-server/config.json b/dist/assets/linux-server/config.json index aad2060e..079bb6d9 100644 --- a/dist/assets/linux-server/config.json +++ b/dist/assets/linux-server/config.json @@ -1,6 +1,6 @@ { "AYANOVA_USE_URLS": "http://*:7575", - "AYANOVA_DB_CONNECTION":"Server=localhost;Username=postgres;Password=YOUR_PASSWORD_HERE;Database=AyaNova;", + "AYANOVA_DB_CONNECTION":"Server=localhost;Username=postgres;Password=YOUR_PASSWORD_HERE;Database=AyaNova;CommandTimeout=300;", "AYANOVA_DEFAULT_TRANSLATION":"en", "AYANOVA_DATA_PATH":"/var/ayanova/data/", "AYANOVA_LOG_LEVEL": "Info" diff --git a/dist/install/windows/x64/lan.iss b/dist/install/windows/x64/lan.iss index b1b3b3b3..00daac51 100644 --- a/dist/install/windows/x64/lan.iss +++ b/dist/install/windows/x64/lan.iss @@ -1,7 +1,7 @@ ; LAN install for internal network use only #define MyAppName "AyaNova server" -#define MyAppVersion "8.0.4" +#define MyAppVersion "8.0.5" #define MyAppPublisher "Ground Zero Tech-Works, Inc." #define MyAppURL "https://ayanova.com/" #define MyAppLauncherExeName "ayanova-launcher.exe" diff --git a/dist/install/windows/x64/standalone.iss b/dist/install/windows/x64/standalone.iss index 685f5e1b..b386ba21 100644 --- a/dist/install/windows/x64/standalone.iss +++ b/dist/install/windows/x64/standalone.iss @@ -3,7 +3,7 @@ ; external to lan requires different config #define MyAppName "AyaNova" -#define MyAppVersion "8.0.4" +#define MyAppVersion "8.0.5" #define MyAppPublisher "Ground Zero Tech-Works, Inc." #define MyAppURL "https://ayanova.com/" #define MyAppLauncherExeName "ayanova-launcher.exe" diff --git a/server/AyaNova/AyaNova.csproj b/server/AyaNova/AyaNova.csproj index 66bdbe62..5372a3db 100644 --- a/server/AyaNova/AyaNova.csproj +++ b/server/AyaNova/AyaNova.csproj @@ -4,8 +4,8 @@ true - 8.0.4 - 8.0.4.0 + 8.0.5 + 8.0.5.0 ayanova.ico bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml 1591 diff --git a/server/AyaNova/util/AySchema.cs b/server/AyaNova/util/AySchema.cs index 74c9ee16..63a5ebb7 100644 --- a/server/AyaNova/util/AySchema.cs +++ b/server/AyaNova/util/AySchema.cs @@ -1482,7 +1482,7 @@ $BODY$ LANGUAGE PLPGSQL STABLE"); ////////////////////////////////////////////////// // - // 8.0.4 Subscription license trans keys + // 8.0.5 Subscription license trans keys // if (currentSchema < 5) { diff --git a/server/AyaNova/util/AyaNovaVersion.cs b/server/AyaNova/util/AyaNovaVersion.cs index 21943ff4..5d15be24 100644 --- a/server/AyaNova/util/AyaNovaVersion.cs +++ b/server/AyaNova/util/AyaNovaVersion.cs @@ -5,7 +5,7 @@ namespace AyaNova.Util /// internal static class AyaNovaVersion { - public const string VersionString = "8.0.4"; + public const string VersionString = "8.0.5"; public const string FullNameAndVersion = "AyaNova server " + VersionString; public const string CurrentApiVersion="v8"; }//eoc