From 129586a3313797e81157c3233cce5c8045dcb02d Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 23 Aug 2022 00:25:27 +0000 Subject: [PATCH] More subscription license work --- devdocs/todo.txt | 26 +++++++++++++++++++++++++- server/AyaNova/util/License.cs | 2 +- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/devdocs/todo.txt b/devdocs/todo.txt index 5703dfe9..9855e5fa 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -34,7 +34,31 @@ WIP >>>>>>>>>>>>> todo: move the dbid to the very first position in the shareit order additional fields as only the first two will show in email and reporting todo: register domain name myayanova.com for hanging subscriber servers off of - + + + +todo: Update raven license code in subscription mode to check for total active User count instead of tech count + and business rules, like search for teh tech thing and parallel it to the User thing + if ($("#perpetual").prop("checked")) { + features.push({ + Feature: "ServiceTechs", <----------------- + Count: Number($("#techcount").val()) + }); + } else { + features.push({ + Feature: "ActiveInternalUsers", <----------------- + Count: Number($("#subusercount").val()) + }); + + features.push({ + Feature: "ActiveCustomerUsers", <----------------- + Count: Number($("#subcustcount").val()) + }); + } +todo: update raven license check code to count active customer contact users as a business rule + mimic user/tech check + + todo: update the test servers whichever are around, I've done my dev test.helloayanova.com, but should also do a261 and the eval ones todo: rockfish, need ability to add quantities to raven license options, once know some options for subscribers then do it at the same time move the blocks of customer users stuff back into options again where it belongs, did it wrong before diff --git a/server/AyaNova/util/License.cs b/server/AyaNova/util/License.cs index 7412766e..b9a90562 100644 --- a/server/AyaNova/util/License.cs +++ b/server/AyaNova/util/License.cs @@ -1,4 +1,4 @@ -//#define DEVELOPMENT_TEST_ROCKFISH +#define DEVELOPMENT_TEST_ROCKFISH using System; using System.Text; using System.Threading.Tasks;