]>
git.stg.codes - stg.git/log
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.
Elena Mamontova [Wed, 9 Mar 2016 09:24:00 +0000 (11:24 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() method of the class NF_CAP in the cap_nf.h plugin.
Elena Mamontova [Wed, 9 Mar 2016 09:08:48 +0000 (11:08 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() method of the class DEBUG_CAP in the debug_cap.h plugin.
Elena Mamontova [Wed, 9 Mar 2016 08:52:55 +0000 (10:52 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() method of the class AUTH_STRESS in the stress.h plugin.
Elena Mamontova [Wed, 9 Mar 2016 08:50:06 +0000 (10:50 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() method of the class RPC_CONFIG in the rpconfig.h plugin.
Elena Mamontova [Wed, 9 Mar 2016 08:12:58 +0000 (10:12 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() function in the stgconfig.h plugin.
Elena Mamontova [Wed, 9 Mar 2016 07:21:45 +0000 (09:21 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() function in the ao.h plugin.
Elena Mamontova [Mon, 29 Feb 2016 15:11:26 +0000 (17:11 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added,
MODULE_SETTINGS newSettings object removed, the newSettings
parameter changed to ms when newIaSettings.ParseSettings() method
call in the Reload() method.
Elena Mamontova [Mon, 29 Feb 2016 14:57:42 +0000 (16:57 +0200)]
Ticket 26. The 'const MODULE_SETTINGS & ms' parameter added in the
Reload() method.
Elena Mamontova [Mon, 29 Feb 2016 14:48:23 +0000 (16:48 +0200)]
Ticket 26. The ms parameter added when m_plugin.Reload() method call in the
Reload() method.
Elena Mamontova [Fri, 26 Feb 2016 09:06:03 +0000 (11:06 +0200)]
Ticket 26. The const MODULE_SETTINGS & parameter added in the virtual
int Reload() function.
Elena Mamontova [Fri, 19 Feb 2016 14:11:46 +0000 (16:11 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() function.
Elena Mamontova [Fri, 19 Feb 2016 14:09:35 +0000 (16:09 +0200)]
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
Reload() function.
Elena Mamontova [Fri, 19 Feb 2016 14:01:35 +0000 (16:01 +0200)]
Ticket 26. In the reload() function modSettings vector is defined, a cycle for the
modSettins vector is added, the modSettings[j] parameter is added in the
m_modules[i]->Reload() function.
Elena Mamontova [Thu, 18 Feb 2016 08:53:38 +0000 (10:53 +0200)]
Ticket 26. The 'moduleName' variable is defined and parameter 'moduleName' added
in the new PLUGIN_RUNNER() in the constructor.
Elena Mamontova [Thu, 18 Feb 2016 08:17:43 +0000 (10:17 +0200)]
Ticket 26. The 'name' parameter and 'pluginName' variable initialization added in the
constructor.
Elena Mamontova [Thu, 18 Feb 2016 08:06:15 +0000 (10:06 +0200)]
Ticket 26. The pluginName variable, GetName() method, pluginName
parameter to the constructor added.
Elena Mamontova [Wed, 17 Feb 2016 14:26:43 +0000 (16:26 +0200)]
Ticket 26. The 'const SETTINGS_IMPL settings' parametr added in the
void PluginManager::reload() method.
Elena Mamontova [Wed, 17 Feb 2016 14:24:50 +0000 (16:24 +0200)]
Ticket 26. The 'const SETTINGS_IMPL settings' parametr added in the void reload() method.
Elena Mamontova [Wed, 17 Feb 2016 14:14:38 +0000 (16:14 +0200)]
Ticket 26. The 'settings' parametr added in the manager.reload() method.
Elena Mamontova [Mon, 15 Feb 2016 13:40:02 +0000 (15:40 +0200)]
Ticket 26. #include "stg/logger.h" directive removed.
Elena Mamontova [Wed, 10 Feb 2016 13:28:02 +0000 (15:28 +0200)]
Ticket 26. if (&set == this) checking removed in the operator().
Elena Mamontova [Tue, 9 Feb 2016 16:11:29 +0000 (18:11 +0200)]
Ticket 26. The int AUTH_IA::Reload() function definition added.
Elena Mamontova [Tue, 9 Feb 2016 16:09:17 +0000 (18:09 +0200)]
Ticket 26. The Reload() function declaration added.
Elena Mamontova [Tue, 9 Feb 2016 16:06:00 +0000 (18:06 +0200)]
Ticket 26. The SETTINGS_IMPL & SETTINGS_IMPL::operator() definition added.
Elena Mamontova [Tue, 9 Feb 2016 16:04:26 +0000 (18:04 +0200)]
Ticket 26. The SETTINGS_IMPL & operator() declaration added.
Elena Mamontova [Tue, 9 Feb 2016 15:57:06 +0000 (17:57 +0200)]
Ticket 26. The SETTINGS_IMPL newSettings object declaration moved into
case SIGHUP. The settings = newSettings added to case SIGHUP.
Elena Mamontova [Thu, 4 Feb 2016 08:08:37 +0000 (10:08 +0200)]
Ticket 26. SETTING_IMPL newSettings object - copy of the settings object
added. The newSetings.ReadSettings() call and checking of result added
in the 'switch' after the case SIGHUP.
Maxim Mamontov [Sun, 20 Dec 2015 20:18:22 +0000 (22:18 +0200)]
Merge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Sun, 20 Dec 2015 20:17:35 +0000 (22:17 +0200)]
Immediate disconnect on Unauthorize if not authorized.
Maxim Mamontov [Sun, 20 Dec 2015 20:05:06 +0000 (22:05 +0200)]
Merge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Sun, 20 Dec 2015 20:04:44 +0000 (22:04 +0200)]
Stop plugins before stopping core.
Maxim Mamontov [Sun, 20 Dec 2015 19:36:04 +0000 (21:36 +0200)]
Do not flush indexes on stop (fixes #44).
Maxim Mamontov [Sun, 20 Dec 2015 17:26:36 +0000 (19:26 +0200)]
Merge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Sun, 20 Dec 2015 17:25:55 +0000 (19:25 +0200)]
Fixed editing tariffs.
Maxim Mamontov [Fri, 18 Dec 2015 21:49:51 +0000 (23:49 +0200)]
"*" is also not a single IP.
Elena Mamontova [Wed, 16 Dec 2015 09:47:47 +0000 (11:47 +0200)]
Ticket12. The StopOnError parameter is comment out.
Elena Mamontova [Wed, 16 Dec 2015 09:44:18 +0000 (11:44 +0200)]
Ticket12. The StopOnError parameter is comment out.
Elena Mamontova [Tue, 15 Dec 2015 09:07:24 +0000 (11:07 +0200)]
Ticket 12. Formatting fixed.
Maxim Mamontov [Mon, 14 Dec 2015 21:57:01 +0000 (23:57 +0200)]
Merge remote-tracking branch 'origin/ticket42' into stg-2.409