]>
 
 
git.stg.codes - stg.git/log 
 
 
 
 
 
 
 
Elena Mamontova  [Tue, 30 Aug 2016 17:36:10 +0000  (20:36 +0300)] 
 
Merge remote-tracking branch 'origin/stg-2.409' into ticket37 
 
Maxim Mamontov  [Tue, 30 Aug 2016 17:30:22 +0000  (20:30 +0300)] 
 
Fixed timer debug with TIME_SPEED=1 (tv_nsec should be less than 
1000000000 )
 
Elena Mamontova  [Mon, 29 Aug 2016 12:33:10 +0000  (15:33 +0300)] 
 
ticket 37. The newTariff, currentTariff objects added, if (newTariff) 
checking and TariffChangeIsAllowed() function call added in the 
SetUserInfo() function. 
 
Elena Mamontova  [Mon, 22 Aug 2016 12:40:53 +0000  (15:40 +0300)] 
 
Merge remote-tracking branch 'origin/stg-2.409' into ticket37 
 
Elena Mamontova  [Mon, 22 Aug 2016 12:36:14 +0000  (15:36 +0300)] 
 
Ticket 37. Cycle for added in the TARIFF_DATA_RES & operator() in struct 
TARIFF_DATA_RES. 
 
Maxim Mamontov  [Sat, 20 Aug 2016 10:15:52 +0000  (13:15 +0300)] 
 
Fix tariff name in OnConnect during reconnect on tariff change. 
 
Elena Mamontova  [Fri, 19 Aug 2016 12:17:14 +0000  (15:17 +0300)] 
 
Ticket 37. The messages is changed for TARIFF::TO_CHEAP and 
TARIFF::TO_EXPENSIVE in the TariffChangeIsAllowed() function. 
 
Elena Mamontova  [Fri, 19 Aug 2016 11:41:10 +0000  (14:41 +0300)] 
 
Ticket 37. The construction else added to if (tariff != NULL) construction in the 
CHG_TARIFF::Start() function. 
 
Elena Mamontova  [Fri, 19 Aug 2016 10:54:38 +0000  (13:54 +0300)] 
 
Ticket 37. TARIFF_DATA_RES & operator=(const TARIFF_DATA & td) added in 
the sstruct TARIFF_DATA_RES. 
 
Elena Mamontova  [Fri, 19 Aug 2016 10:48:45 +0000  (13:48 +0300)] 
 
Ticket 37. const TARIFF * tariff definition, tariff checking and tariff->GetTariffData() 
getting added in the CHG_TARIFF::Start() function. 
 
Elena Mamontova  [Tue, 16 Aug 2016 12:26:41 +0000  (15:26 +0300)] 
 
Ticket 37. st->Prepare(query) and st->Set(7, id) added in the 
SaveTariff() function. 
 
Elena Mamontova  [Thu, 11 Aug 2016 10:13:36 +0000  (13:13 +0300)] 
 
ticket 37. The newTariff, currentTariff objects added, if (newTariff) 
checking and TariffChangeIsAllowed() function call added in the 
SetUserInfo() function. 
 
Elena Mamontova  [Mon, 8 Aug 2016 12:50:20 +0000  (15:50 +0300)] 
 
Ticket 37. Single quotes added in the message for user login, tariff name, 
change policy name in TariffChangeIsAllowed() function. 
 
Elena Mamontova  [Mon, 8 Aug 2016 12:37:47 +0000  (15:37 +0300)] 
 
Ticket 37. The policy name added for the DENY value message in the 
TariffChangeIsAllowed() function. 
 
Elena Mamontova  [Mon, 8 Aug 2016 12:24:56 +0000  (15:24 +0300)] 
 
Ticket 37. c_str() function removed for the 
TARIFF::ChangePolicyToString() in the TariffChangeIsAllowed() function. 
 
Elena Mamontova  [Mon, 8 Aug 2016 12:18:48 +0000  (15:18 +0300)] 
 
Ticket 37. The braces removed in the case construction in the 
TariffChangeIsAllowed() function. 
 
Elena Mamontova  [Mon, 8 Aug 2016 12:14:06 +0000  (15:14 +0300)] 
 
Ticket 37. if (message == "") replaced by if (message.empty()) in the 
ProcessNewMonth() function. 
 
Elena Mamontova  [Mon, 8 Aug 2016 11:28:03 +0000  (14:28 +0300)] 
 
Ticket 37. The message variable definition moved from if() construction 
in the ProcessNewMonth() function. 
 
Elena Mamontova  [Mon, 8 Aug 2016 10:50:50 +0000  (13:50 +0300)] 
 
Ticket 37. if (message == "") replaced by if (message.empty()) in the 
ApplyChangews() function. 
 
Elena Mamontova  [Mon, 8 Aug 2016 10:37:07 +0000  (13:37 +0300)] 
 
Ticket 37. The message variable definition moved from if() construction 
in the ApplyChanges() function. 
 
Elena Mamontova  [Mon, 8 Aug 2016 07:26:03 +0000  (10:26 +0300)] 
 
Ticket 37. The object tariff definition moved into the if(newTariff) 
    construction. 
 
Elena Mamontova  [Mon, 8 Aug 2016 07:03:49 +0000  (10:03 +0300)] 
 
Ticket 37. TariffChangelsAllowed function name changed to 
TariffChangeIsAllowed in the ApplyChanges() function. 
 
Elena Mamontova  [Mon, 8 Aug 2016 06:48:57 +0000  (09:48 +0300)] 
 
Ticket 37. TariffChangelsAllowed function name changed to 
TariffChangeIsAllowed in the ProcessNewMonth() function. 
 
Elena Mamontova  [Mon, 8 Aug 2016 06:43:13 +0000  (09:43 +0300)] 
 
Ticket 37. TariffChangelsAllowed function name changed to 
TariffChangeIsAllowed. 
 
Elena Mamontova  [Mon, 8 Aug 2016 06:41:58 +0000  (09:41 +0300)] 
 
Ticket 37. TariffChangelsAllowed function name changed to 
TariffChangeIsAllowed. 
 
Elena Mamontova  [Mon, 8 Aug 2016 06:24:15 +0000  (09:24 +0300)] 
 
Ticket 37. TariffChangelsAllowed function name changed to 
TariffChangeIsAllowed. 
 
Elena Mamontova  [Fri, 5 Aug 2016 16:46:31 +0000  (19:46 +0300)] 
 
Ticket 37. In the ApplyChanges() function switch construction changed 
to TariffChangelsAllowed() function call. 
 
Elena Mamontova  [Fri, 5 Aug 2016 16:41:39 +0000  (19:41 +0300)] 
 
Ticket 37. In the ProcessNewMonth() function switch construction changed 
to TariffChangelsAllowed() function call. 
 
Elena Mamontova  [Fri, 5 Aug 2016 16:36:56 +0000  (19:36 +0300)] 
 
Ticket 37. TariffChangelsAllowed() function definition added. 
 
Elena Mamontova  [Fri, 5 Aug 2016 16:34:57 +0000  (19:34 +0300)] 
 
Ticket 37. TariffChangelsAllowed() function declaration added. 
 
Elena Mamontova  [Fri, 5 Aug 2016 16:28:49 +0000  (19:28 +0300)] 
 
Ticket 37. TariffChangelsAllowed() virtual function declaration added. 
 
Elena Mamontova  [Wed, 27 Jul 2016 14:52:37 +0000  (17:52 +0300)] 
 
Ticket 37. The switch case construction for changePolicy 
checking added in the ApplyChanges() function. 
 
Elena Mamontova  [Wed, 27 Jul 2016 06:21:05 +0000  (09:21 +0300)] 
 
Ticket 37. The const TARIFF * tariff and const TARIFF * newTariff 
pointers added. 
 
Elena Mamontova  [Tue, 26 Jul 2016 13:29:20 +0000  (16:29 +0300)] 
 
Ticket 37. The switch case construction for changePolicy checking 
added in the ProcessNewMonth() function. 
 
Elena Mamontova  [Tue, 26 Jul 2016 11:40:49 +0000  (14:40 +0300)] 
 
Ticket 37. Construction if for the schemaVersion checking changed in the 
SaveTariff() function. 
 
Elena Mamontova  [Wed, 13 Jul 2016 07:52:06 +0000  (10:52 +0300)] 
 
Ticket 37. if (schemaVersion > 1) - else if - else construction format 
changed in the Save() function. 
 
Elena Mamontova  [Mon, 11 Jul 2016 11:15:38 +0000  (14:15 +0300)] 
 
Ticket 37. The ChangePolicy existence checking and assign value to 
td.tariffConf.changePolicy added in the CHG_TARIFF::Start() function. 
 
Elena Mamontova  [Mon, 11 Jul 2016 08:43:30 +0000  (11:43 +0300)] 
 
Ticket 37. The line for changePolicy value added to the m_answer 
variable in the CreateAnswer() function. 
 
Elena Mamontova  [Mon, 11 Jul 2016 08:21:45 +0000  (11:21 +0300)] 
 
Ticket 37. The getting changePolicy value from the structVal map and 
assign value to data.tariffConf.changePolicy added in the 
SetTariffInfo() function. 
 
Elena Mamontova  [Mon, 11 Jul 2016 08:07:23 +0000  (11:07 +0300)] 
 
Ticket 37. The 'changePolicy' added to the map structVal in the 
GetTariffInfo() function. 
 
Elena Mamontova  [Thu, 7 Jul 2016 17:13:28 +0000  (20:13 +0300)] 
 
Ticket 37. if (schemaVersion > 1) checking added in the RestoreTariff() 
    function. 
 
Elena Mamontova  [Thu, 7 Jul 2016 14:24:37 +0000  (17:24 +0300)] 
 
Ticket 37. The comma added after 'period = ?' in the checking if 
(schemaVersion > 1) in the SaveTariff() function. 
 
Elena Mamontova  [Thu, 7 Jul 2016 14:20:59 +0000  (17:20 +0300)] 
 
Ticket 37. if (schemaVersion > 1) checking added in the SaveTariff() 
    function. 
 
Elena Mamontova  [Fri, 1 Jul 2016 09:30:03 +0000  (12:30 +0300)] 
 
Ticket 37. The 02-alter-03.sql new file added. 
 
Elena Mamontova  [Tue, 21 Jun 2016 10:14:41 +0000  (13:14 +0300)] 
 
Ticket 37. if (schemaVersion > 1) check added and the 'change_policy' field 
    added to the UPDATE tariffs query in the SaveTariff() function. 
 
Elena Mamontova  [Tue, 21 Jun 2016 08:30:50 +0000  (11:30 +0300)] 
 
Ticket 37. if (schemaVersion > 1) check added and td->tariffConf.changePolicy variable 
value assignment added in the RestoreTariff() function. 
 
Elena Mamontova  [Thu, 16 Jun 2016 10:44:35 +0000  (13:44 +0300)] 
 
Ticket 37. The 'ALTER TABLE tariffs' query added for the 'change_policy' 
field adding, 'UPDATE info' query added for the 'version' field change to 2, 
when shemaversion value < 2. 
 
Elena Mamontova  [Wed, 15 Jun 2016 11:31:15 +0000  (14:31 +0300)] 
 
Ticket 37. The 'schemaversion' value changed to 2 in the CheckAllTables() function. 
 
Elena Mamontova  [Wed, 15 Jun 2016 11:26:57 +0000  (14:26 +0300)] 
 
Ticket 37. The 'change_policy' field value added when tariff values insert into 
the 'tariffs' table in the CheckAllTables() function. 
 
Elena Mamontova  [Wed, 15 Jun 2016 11:19:32 +0000  (14:19 +0300)] 
 
Ticket 37. The 'change_policy' field added when 'tariffs' table create 
in the CheckAllTables() function. 
 
Elena Mamontova  [Tue, 7 Jun 2016 08:38:49 +0000  (11:38 +0300)] 
 
Ticket 37. if (version > 7) check added and the td->tariffConf.changePolicy variable 
value assignment added in the RestoreTariff() function. 
 
Elena Mamontova  [Tue, 7 Jun 2016 08:17:54 +0000  (11:17 +0300)] 
 
Ticket 37. if (version > 7) check added and the 'change_policy' field 
added to the SELECT FROM tb_tariffs query in the RestoreTariff() function. 
 
Elena Mamontova  [Tue, 7 Jun 2016 07:36:26 +0000  (10:36 +0300)] 
 
Ticket 37. if (version > 7) check added and the 'change_policy' field 
added to the UPDATE tb_tariffs query in the SaveTariff() function. 
 
Elena Mamontova  [Tue, 7 Jun 2016 07:30:59 +0000  (10:30 +0300)] 
 
Ticket 37. The 'change_policy' parameter replaced by 'changePolicy' in 
the ChangePolicyToString() function definition. 
 
Elena Mamontova  [Tue, 7 Jun 2016 06:50:57 +0000  (09:50 +0300)] 
 
Ticket 37. The 02-alter-03.postgresql.sql new file added. 
 
Elena Mamontova  [Thu, 2 Jun 2016 07:54:15 +0000  (10:54 +0300)] 
 
Ticket 37. Formatting fixed. 
 
Elena Mamontova  [Wed, 25 May 2016 11:36:03 +0000  (14:36 +0300)] 
 
Ticket 37. The 'change_policy' parameter replaced by 'changePolicy' in the 
ChangePolicyToString() function. 
 
Elena Mamontova  [Wed, 25 May 2016 11:28:25 +0000  (14:28 +0300)] 
 
Ticket 37. The WriteString() function call added in the SaveTariff() 
function for the 'ChangePolicy' parameter. 
 
Elena Mamontova  [Wed, 25 May 2016 08:44:40 +0000  (11:44 +0300)] 
 
Ticket 37. The if-else construction and conf.ReadString() function call added for 
the 'ChangePolicy' parameter. 
 
Elena Mamontova  [Tue, 24 May 2016 10:13:40 +0000  (13:13 +0300)] 
 
Ticket 37. The 'change_policy' replaced by 'changePolicy' in the 
CHANGE_POLICY GrtChangePolicy() function. 
 
Elena Mamontova  [Tue, 24 May 2016 09:08:03 +0000  (12:08 +0300)] 
 
Ticket 37. The RESETABLE<TARIFF::CHANGE_POLICY> changePolicy declared in 
the struct TARIFF_CONF_RES. 
 
Elena Mamontova  [Tue, 24 May 2016 09:04:14 +0000  (12:04 +0300)] 
 
Ticket 37. The changePolicy parameter added in the struct 
TARIFF_CONF_RES GetData() function. 
 
Elena Mamontova  [Tue, 24 May 2016 08:53:15 +0000  (11:53 +0300)] 
 
Ticket 37. The changePolicy parameter added in the struct 
TARIFF_CONF_RES operator=() function. 
 
Elena Mamontova  [Tue, 24 May 2016 08:47:41 +0000  (11:47 +0300)] 
 
Ticket 37. The changePolicy() parameter added in the struct 
TARIFF_CONF_RES constructor. 
 
Elena Mamontova  [Tue, 24 May 2016 08:38:54 +0000  (11:38 +0300)] 
 
Ticket 37. The changePolicy(TARIFF::ALLOW) added in the struct 
TARIFF_CONF constructors. 
 
Elena Mamontova  [Tue, 24 May 2016 08:21:16 +0000  (11:21 +0300)] 
 
Ticket 37. The TARIFF::CHANGE_POLICY changePolicy object added in the 
struct TARIFF_CONF. 
 
Elena Mamontova  [Mon, 23 May 2016 15:36:23 +0000  (18:36 +0300)] 
 
Ticket 37. Fomatting fixed. 
 
Elena Mamontova  [Fri, 20 May 2016 17:40:37 +0000  (20:40 +0300)] 
 
Merge remote-tracking branch 'origin/stg-2.409' into ticket37 
 
Elena Mamontova  [Fri, 20 May 2016 16:23:29 +0000  (19:23 +0300)] 
 
Ticket 37. The CHANGE_POLICY GetChangePolicy() function definition 
added. 
 
Elena Mamontova  [Fri, 20 May 2016 15:54:15 +0000  (18:54 +0300)] 
 
Ticket 37. The ChangePolicyToString(), StringToChangePolicy() functions 
definition added. 
 
Elena Mamontova  [Fri, 20 May 2016 11:11:05 +0000  (14:11 +0300)] 
 
Ticket 37. The GetChangePolicy() virtual function is declared in the class TARIFF. 
 
Elena Mamontova  [Fri, 20 May 2016 11:02:52 +0000  (14:02 +0300)] 
 
Ticket 37. The ChangePolicyToString() and StringToChangePolicy() 
functions are declared in the class TARIFF. 
 
Elena Mamontova  [Fri, 20 May 2016 10:36:09 +0000  (13:36 +0300)] 
 
Ticket 37. The enum CHANGE_POLICY added in the struct TARIFF_DATA. 
 
Maxim Mamontov  [Thu, 14 Apr 2016 18:29:08 +0000  (21:29 +0300)] 
 
Some minor improvements on ticket26. 
 
Maxim Mamontov  [Thu, 14 Apr 2016 17:37:49 +0000  (20:37 +0300)] 
 
Merge remote-tracking branch 'origin/ticket26' into stg-2.409 
 
Elena Mamontova  [Wed, 13 Apr 2016 07:56:57 +0000  (10:56 +0300)] 
 
Ticket 26. The if (newSettings.GetLogFileName() != "") construction 
removed when case SIGHUP. 
 
Elena Mamontova  [Wed, 13 Apr 2016 07:47:19 +0000  (10:47 +0300)] 
 
Ticket 26. The 'set' replaced to 'rhs' in the SETTINGS_IMPL::operator=. 
 
Elena Mamontova  [Wed, 13 Apr 2016 07:18:31 +0000  (10:18 +0300)] 
 
Ticket 26. The break operator moved into the external if() construction 
in the PluginManager::reload() function. 
 
Elena Mamontova  [Wed, 13 Apr 2016 06:55:30 +0000  (09:55 +0300)] 
 
Ticket 26. The std::string modulePath variable definition moved after 
the std::string moduleName variable definition, the 
modSettings[i].moduleName variable replaced to moduleName when 
modulePath definition in the PluginManager constructor. 
 
Elena Mamontova  [Mon, 28 Mar 2016 07:36:47 +0000  (10:36 +0300)] 
 
Ticket 26. The WriteServLog variable replaced by logger variable. 
 
Elena Mamontova  [Mon, 28 Mar 2016 07:04:15 +0000  (10:04 +0300)] 
 
Ticket 26. The 'break' operator added after m_modules[i]->Reload(modSettings[j])) 
call in the PluginManager::reload(). 
 
Elena Mamontova  [Fri, 25 Mar 2016 13:18:47 +0000  (15:18 +0200)] 
 
Ticket 26. The STG_LOGGER & writeServLog unnecessary variable getting removed in the 
if(newSettings.ReadSettings) construction. 
 
Elena Mamontova  [Fri, 25 Mar 2016 08:28:25 +0000  (10:28 +0200)] 
 
Ticket 26. The 'return -1' removed, 'else' added for the 
if(newSettings.ReadSettings()). The settings = newSettings moved to 
'else'. 
 
Elena Mamontova  [Fri, 18 Mar 2016 12:40:54 +0000  (14:40 +0200)] 
 
Ticket 26. The iaSettings object is assigned the newIaSettings object values. 
 
Elena Mamontova  [Thu, 17 Mar 2016 07:39:43 +0000  (09:39 +0200)] 
 
Merge remote-tracking branch 'origin/stg-2.409' into ticket26 
 
Maxim Mamontov  [Wed, 16 Mar 2016 20:24:07 +0000  (22:24 +0200)] 
 
Un-ignore SIGHUP by default. 
 
Elena Mamontova  [Tue, 15 Mar 2016 07:38:13 +0000  (09:38 +0200)] 
 
Ticket 26. The LogProtocolErrors parameter value check and output to 
screen removed in the AUTH_IA_SETTINGS::ParseSettings() method. 
 
Elena Mamontova  [Mon, 14 Mar 2016 13:17:05 +0000  (15:17 +0200)] 
 
Ticket 26. Formatting fixed. 
 
Elena Mamontova  [Mon, 14 Mar 2016 07:49:49 +0000  (09:49 +0200)] 
 
Ticket 26. The LogProtocolErrors parameter value check and output to screen 
added in the AUTH_IA_SETTINGS::ParseSettings() method. 
 
Elena Mamontova  [Thu, 10 Mar 2016 08:49:25 +0000  (10:49 +0200)] 
 
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the int 
SMUX::Reload() method in the smux.cpp file. 
 
Elena Mamontova  [Thu, 10 Mar 2016 08:47:44 +0000  (10:47 +0200)] 
 
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the 
Reload() method of the class SMUX in the smux.h file. 
 
Elena Mamontova  [Thu, 10 Mar 2016 08:40:09 +0000  (10:40 +0200)] 
 
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the 
int REMOTE_SCRIPT::Reload() method in the rscript.cpp file. 
 
Elena Mamontova  [Thu, 10 Mar 2016 08:38:49 +0000  (10:38 +0200)] 
 
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the 
Reload() method of the class Remote_script in the rscript.h file. 
 
Elena Mamontova  [Thu, 10 Mar 2016 08:07:45 +0000  (10:07 +0200)] 
 
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the 
Reload() method of the class RADIUS in the radius.h file. 
 
Elena Mamontova  [Thu, 10 Mar 2016 07:41:34 +0000  (09:41 +0200)] 
 
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the 
Reload() method of the class PING in the ping.h file. 
 
Elena Mamontova  [Thu, 10 Mar 2016 07:35:27 +0000  (09:35 +0200)] 
 
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the 
Reload() method of the class NFQ_CAP in the nfqueue.h file. 
 
Elena Mamontova  [Wed, 9 Mar 2016 14:18:51 +0000  (16:18 +0200)] 
 
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the 
Reload() method of the class IPQ_CAP in the ipq_cap.h plugin. 
 
Elena Mamontova  [Wed, 9 Mar 2016 14:14:07 +0000  (16:14 +0200)] 
 
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the 
Reload() method of the class ETHER_CAP in the ether_cap.h plugin. 
 
Elena Mamontova  [Wed, 9 Mar 2016 09:34:46 +0000  (11:34 +0200)] 
 
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the 
Reload() method of the class BPF_CAP in the ether_cap.h plugin. 
 
Elena Mamontova  [Wed, 9 Mar 2016 09:29:22 +0000  (11:29 +0200)] 
 
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the 
Reload() method of the class DIVERT_CAP in the divert_cap.h plugin.