From 80417baf8ed34e73803753398f14935a5cdb8d20 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 15 Aug 2022 23:29:07 +0000 Subject: [PATCH] Removed Accounting add-ons as all accounting add-ons are included now, updated subscription key to be text subscription, not rental or saas or any of other things it was before --- util/RavenKeyFactory.cs | 6 +++--- wwwroot/js/templates/app.ravLicense.handlebars | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/util/RavenKeyFactory.cs b/util/RavenKeyFactory.cs index 7271347..a1b37cf 100644 --- a/util/RavenKeyFactory.cs +++ b/util/RavenKeyFactory.cs @@ -13,7 +13,7 @@ namespace rockfishCore.Util //Key generator controller public static class RavenKeyFactory { - public const int TRIAL_PERIOD_DAYS = 45; + public const int TRIAL_PERIOD_DAYS = 5; //Unlicensed token private const string UNLICENSED_TOKEN = "UNLICENSED"; @@ -31,7 +31,7 @@ namespace rockfishCore.Util //This feature name means it's a trial key private const string TRIAL_FEATURE_NAME = "TrialMode"; //This feature name means it's a SAAS or rental mode key for month to month hosted service - private const string RENTAL_FEATURE_NAME = "ServiceMode"; + private const string RENTAL_FEATURE_NAME = "Subscription"; #region license classes @@ -254,7 +254,7 @@ Plugins: // ""Name"": ""TrialMode""<---means is a trial key // }, // { - // ""Name"": ""ServiceMode"" <----Means it's an SAAS/Rental key + // ""Name"": ""Subscription"" <----Means it's an SAAS/Rental key // } // ] diff --git a/wwwroot/js/templates/app.ravLicense.handlebars b/wwwroot/js/templates/app.ravLicense.handlebars index 13d2511..5f3ec76 100644 --- a/wwwroot/js/templates/app.ravLicense.handlebars +++ b/wwwroot/js/templates/app.ravLicense.handlebars @@ -48,7 +48,7 @@