]> git.stg.codes - stg.git/log
stg.git
9 years agoTicket 26. The 'break' operator added after m_modules[i]->Reload(modSettings[j]))
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().

9 years agoTicket 26. The STG_LOGGER & writeServLog unnecessary variable getting removed in the
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.

9 years agoTicket 26. The 'return -1' removed, 'else' added for the
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'.

9 years agoTicket 26. The iaSettings object is assigned the newIaSettings object values.
Elena Mamontova [Fri, 18 Mar 2016 12:40:54 +0000 (14:40 +0200)]
Ticket 26. The iaSettings object is assigned the newIaSettings object values.

9 years agoMerge remote-tracking branch 'origin/stg-2.409' into ticket26
Elena Mamontova [Thu, 17 Mar 2016 07:39:43 +0000 (09:39 +0200)]
Merge remote-tracking branch 'origin/stg-2.409' into ticket26

9 years agoUn-ignore SIGHUP by default.
Maxim Mamontov [Wed, 16 Mar 2016 20:24:07 +0000 (22:24 +0200)]
Un-ignore SIGHUP by default.

9 years agoTicket 26. The LogProtocolErrors parameter value check and output to
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.

9 years agoTicket 26. Formatting fixed.
Elena Mamontova [Mon, 14 Mar 2016 13:17:05 +0000 (15:17 +0200)]
Ticket 26. Formatting fixed.

9 years agoTicket 26. The LogProtocolErrors parameter value check and output to screen
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the int
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added,
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.

9 years agoTicket 26. The 'const MODULE_SETTINGS & ms' parameter added in the
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.

9 years agoTicket 26. The ms parameter added when m_plugin.Reload() method call in the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & parameter added in the virtual
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. The const MODULE_SETTINGS & ms parameter added to the
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.

9 years agoTicket 26. In the reload() function modSettings vector is defined, a cycle for the
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.

9 years agoTicket 26. The 'moduleName' variable is defined and parameter 'moduleName' added
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.

9 years agoTicket 26. The 'name' parameter and 'pluginName' variable initialization added in the
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.

9 years agoTicket 26. The pluginName variable, GetName() method, pluginName
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.

9 years agoTicket 26. The 'const SETTINGS_IMPL settings' parametr added in the
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.

9 years agoTicket 26. The 'const SETTINGS_IMPL settings' parametr added in the void reload(...
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.

9 years agoTicket 26. The 'settings' parametr added in the manager.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.

9 years agoTicket 26. #include "stg/logger.h" directive removed.
Elena Mamontova [Mon, 15 Feb 2016 13:40:02 +0000 (15:40 +0200)]
Ticket 26. #include "stg/logger.h" directive removed.

9 years agoTicket 26. if (&set == this) checking removed in the operator().
Elena Mamontova [Wed, 10 Feb 2016 13:28:02 +0000 (15:28 +0200)]
Ticket 26. if (&set == this) checking removed in the operator().

9 years agoTicket 26. The int AUTH_IA::Reload() function definition added.
Elena Mamontova [Tue, 9 Feb 2016 16:11:29 +0000 (18:11 +0200)]
Ticket 26. The int AUTH_IA::Reload() function definition added.

9 years agoTicket 26. The Reload() function declaration added.
Elena Mamontova [Tue, 9 Feb 2016 16:09:17 +0000 (18:09 +0200)]
Ticket 26. The Reload() function declaration added.

9 years agoTicket 26. The SETTINGS_IMPL & SETTINGS_IMPL::operator() definition added.
Elena Mamontova [Tue, 9 Feb 2016 16:06:00 +0000 (18:06 +0200)]
Ticket 26. The SETTINGS_IMPL & SETTINGS_IMPL::operator() definition added.

9 years agoTicket 26. The SETTINGS_IMPL & operator() declaration added.
Elena Mamontova [Tue, 9 Feb 2016 16:04:26 +0000 (18:04 +0200)]
Ticket 26. The SETTINGS_IMPL & operator() declaration added.

9 years agoTicket 26. The SETTINGS_IMPL newSettings object declaration moved into
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.

9 years agoTicket 26. SETTING_IMPL newSettings object - copy of the settings object
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.

10 years agoImmediate disconnect on Unauthorize if not authorized.
Maxim Mamontov [Sun, 20 Dec 2015 20:17:35 +0000 (22:17 +0200)]
Immediate disconnect on Unauthorize if not authorized.

10 years agoStop plugins before stopping core.
Maxim Mamontov [Sun, 20 Dec 2015 20:04:44 +0000 (22:04 +0200)]
Stop plugins before stopping core.

10 years agoDo not flush indexes on stop (fixes #44).
Maxim Mamontov [Sun, 20 Dec 2015 19:36:04 +0000 (21:36 +0200)]
Do not flush indexes on stop (fixes #44).

10 years agoFixed editing tariffs.
Maxim Mamontov [Sun, 20 Dec 2015 17:25:55 +0000 (19:25 +0200)]
Fixed editing tariffs.

10 years ago"*" is also not a single IP.
Maxim Mamontov [Fri, 18 Dec 2015 21:49:51 +0000 (23:49 +0200)]
"*" is also not a single IP.

10 years agoMerge remote-tracking branch 'origin/ticket42' into stg-2.409
Maxim Mamontov [Mon, 14 Dec 2015 21:57:01 +0000 (23:57 +0200)]
Merge remote-tracking branch 'origin/ticket42' into stg-2.409

10 years agoAdded specialization of str2x for doubles.
Maxim Mamontov [Wed, 9 Dec 2015 20:21:45 +0000 (22:21 +0200)]
Added specialization of str2x for doubles.

10 years agoCorrect conversion of resetable structures.
Maxim Mamontov [Wed, 9 Dec 2015 20:21:07 +0000 (22:21 +0200)]
Correct conversion of resetable structures.

10 years agoAdded ability to optionally transfer resetable value to a real var.
Maxim Mamontov [Wed, 9 Dec 2015 20:19:52 +0000 (22:19 +0200)]
Added ability to optionally transfer resetable value to a real var.

10 years agoTicket 42. 'DOTCONF++:' removed, 'file' changed to 'File' in the
Elena Mamontova [Thu, 3 Dec 2015 09:00:45 +0000 (11:00 +0200)]
Ticket 42. 'DOTCONF++:' removed, 'file' changed to 'File' in the
snprintf() third parameter in if(lineNum) construction of error() function. The third parameter
changed to "%s", fourth parameter removed in the if(realpath() == Null)
of setContent() function.

10 years agoAdded more tests for cryptography.
Maxim Mamontov [Sun, 25 Oct 2015 16:47:04 +0000 (18:47 +0200)]
Added more tests for cryptography.

10 years agoFixed parsers.
Maxim Mamontov [Sun, 25 Oct 2015 16:45:42 +0000 (18:45 +0200)]
Fixed parsers.

10 years agoFixed receiving partial streams.
Maxim Mamontov [Sun, 25 Oct 2015 16:45:19 +0000 (18:45 +0200)]
Fixed receiving partial streams.

10 years agoAdded protocol dumper.
Maxim Mamontov [Sun, 25 Oct 2015 16:44:26 +0000 (18:44 +0200)]
Added protocol dumper.

10 years agoFixed parsing parameters with empty values.
Maxim Mamontov [Sun, 18 Oct 2015 14:47:50 +0000 (17:47 +0300)]
Fixed parsing parameters with empty values.

10 years agoAnother iconv...
Maxim Mamontov [Mon, 1 Jun 2015 20:11:50 +0000 (23:11 +0300)]
Another iconv...

10 years agoFixed hardcoded iconv in sgconf.
Maxim Mamontov [Mon, 1 Jun 2015 20:01:09 +0000 (23:01 +0300)]
Fixed hardcoded iconv in sgconf.

10 years agoDon't compile c-file s with cxx-compiler. Clang doesn't like it.
Maxim Mamontov [Mon, 1 Jun 2015 19:04:47 +0000 (22:04 +0300)]
Don't compile c-file s with cxx-compiler. Clang doesn't like it.

10 years agoFixed iconv linkage.
Maxim Mamontov [Mon, 11 May 2015 17:41:04 +0000 (20:41 +0300)]
Fixed iconv linkage.

10 years agoAdded "smart" iconv 2nd arg const-ness detection.
Maxim Mamontov [Mon, 11 May 2015 17:04:06 +0000 (20:04 +0300)]
Added "smart" iconv 2nd arg const-ness detection.

10 years agoMoved sgconf* back to /usr/sbin for backward compatibility.
Maxim Mamontov [Tue, 31 Mar 2015 05:51:20 +0000 (08:51 +0300)]
Moved sgconf* back to /usr/sbin for backward compatibility.

10 years agoSyntactic fixes.
Maxim Mamontov [Mon, 16 Mar 2015 20:49:24 +0000 (22:49 +0200)]
Syntactic fixes.

10 years agoAnother bunch of fixes related to BSD-like install.
Maxim Mamontov [Mon, 16 Mar 2015 20:43:56 +0000 (22:43 +0200)]
Another bunch of fixes related to BSD-like install.

10 years agoFixes due to stupid behaviour of BSD-like install.
Maxim Mamontov [Mon, 16 Mar 2015 20:38:00 +0000 (22:38 +0200)]
Fixes due to stupid behaviour of BSD-like install.

10 years agoeq/neq fixes.
Maxim Mamontov [Mon, 16 Mar 2015 20:15:20 +0000 (22:15 +0200)]
eq/neq fixes.

10 years agoFixed installation on BSD-systems.
Maxim Mamontov [Mon, 16 Mar 2015 20:06:04 +0000 (22:06 +0200)]
Fixed installation on BSD-systems.

10 years agoAnother small fix in build script.
Maxim Mamontov [Sun, 1 Feb 2015 18:10:49 +0000 (20:10 +0200)]
Another small fix in build script.

10 years agoAnother small fix in a build script.
Maxim Mamontov [Sun, 1 Feb 2015 15:39:35 +0000 (17:39 +0200)]
Another small fix in a build script.

10 years agoFixes in dealing with external libs.
Maxim Mamontov [Sun, 1 Feb 2015 15:34:27 +0000 (17:34 +0200)]
Fixes in dealing with external libs.

10 years agoBackported some changes from 2.5.
Maxim Mamontov [Sat, 31 Jan 2015 18:28:14 +0000 (20:28 +0200)]
Backported some changes from 2.5.

10 years agoFixed compiler complaints.
Maxim Mamontov [Sat, 31 Jan 2015 18:15:48 +0000 (20:15 +0200)]
Fixed compiler complaints.

10 years agoFixed tests.
Maxim Mamontov [Sat, 31 Jan 2015 16:36:56 +0000 (18:36 +0200)]
Fixed tests.

10 years agoIgnore sgconf_xml.
Maxim Mamontov [Sat, 31 Jan 2015 15:30:32 +0000 (17:30 +0200)]
Ignore sgconf_xml.

10 years agoCorrected upload/download mess.
Maxim Mamontov [Sat, 31 Jan 2015 15:27:53 +0000 (17:27 +0200)]
Corrected upload/download mess.

10 years agoUserdata can also contain cyrilic symbols.
Maxim Mamontov [Sat, 31 Jan 2015 15:26:49 +0000 (17:26 +0200)]
Userdata can also contain cyrilic symbols.

10 years agoAdded necessary headers in netlink/nfq checks.
Maxim Mamontov [Sun, 25 Jan 2015 18:23:17 +0000 (20:23 +0200)]
Added necessary headers in netlink/nfq checks.

10 years agoHandle cash changes properly.
Maxim Mamontov [Sun, 25 Jan 2015 18:22:19 +0000 (20:22 +0200)]
Handle cash changes properly.

10 years agoAdded some handy funcs to work with IBPP statements.
Maxim Mamontov [Sun, 25 Jan 2015 18:21:16 +0000 (20:21 +0200)]
Added some handy funcs to work with IBPP statements.

10 years agoEncrypt including the last \0.
Maxim Mamontov [Sun, 25 Jan 2015 18:20:15 +0000 (20:20 +0200)]
Encrypt including the last \0.

10 years agoAdded SERVCONF dtor.
Maxim Mamontov [Sun, 25 Jan 2015 18:07:03 +0000 (20:07 +0200)]
Added SERVCONF dtor.

10 years agoFixed unary x2str.
Maxim Mamontov [Sun, 25 Jan 2015 18:06:12 +0000 (20:06 +0200)]
Fixed unary x2str.

10 years agoPhone number may contain cyrilic characters. Added conversion.
Maxim Mamontov [Sun, 25 Jan 2015 18:05:15 +0000 (20:05 +0200)]
Phone number may contain cyrilic characters. Added conversion.

10 years agoAdded default constructor for resetable USER_CONF.
Maxim Mamontov [Sun, 25 Jan 2015 18:04:10 +0000 (20:04 +0200)]
Added default constructor for resetable USER_CONF.

10 years agoAdded in-to-traff-type conversion.
Maxim Mamontov [Sun, 25 Jan 2015 18:03:33 +0000 (20:03 +0200)]
Added in-to-traff-type conversion.

10 years agoAllowed to build sgconf_xml on Darwin.
Maxim Mamontov [Sun, 18 Jan 2015 20:48:14 +0000 (22:48 +0200)]
Allowed to build sgconf_xml on Darwin.

10 years agoImproved release version checking.
Maxim Mamontov [Sun, 18 Jan 2015 20:38:55 +0000 (22:38 +0200)]
Improved release version checking.

10 years agoSome fixes in build scripts.
Maxim Mamontov [Sun, 18 Jan 2015 20:18:04 +0000 (22:18 +0200)]
Some fixes in build scripts.

10 years agoRemoved unused class fields.
Maxim Mamontov [Sun, 18 Jan 2015 18:33:50 +0000 (20:33 +0200)]
Removed unused class fields.

10 years agoFixed compilation of sgconf_xml.
Maxim Mamontov [Sun, 18 Jan 2015 18:12:00 +0000 (20:12 +0200)]
Fixed compilation of sgconf_xml.

10 years agoReplaced some .data() with .const_data().
Maxim Mamontov [Sun, 18 Jan 2015 18:08:56 +0000 (20:08 +0200)]
Replaced some .data() with .const_data().

10 years agoFixed compilation of sgconf.
Maxim Mamontov [Sun, 18 Jan 2015 18:01:57 +0000 (20:01 +0200)]
Fixed compilation of sgconf.

10 years agoFixed compilation of srvconf lib.
Maxim Mamontov [Sun, 18 Jan 2015 18:01:15 +0000 (20:01 +0200)]
Fixed compilation of srvconf lib.

10 years agoRemoved some unused stuff from netunit.cpp.
Maxim Mamontov [Sun, 18 Jan 2015 17:40:38 +0000 (19:40 +0200)]
Removed some unused stuff from netunit.cpp.