]> git.stg.codes - stg.git/log
stg.git
13 years agoVersion bump 2.408-rc1
Maxim Mamontov [Tue, 20 Sep 2011 13:57:43 +0000 (16:57 +0300)]
Version bump

13 years agoMove functor definition outside parent class
Maxim Mamontov [Tue, 20 Sep 2011 13:46:22 +0000 (16:46 +0300)]
Move functor definition outside parent class

13 years agoReplace istream header with iostream header for some dub compilers
Maxim Mamontov [Tue, 20 Sep 2011 13:45:52 +0000 (16:45 +0300)]
Replace istream header with iostream header for some dub compilers

13 years agoAdd headers for old BSD systems, add unistd.h for close in sgauthstress
Maxim Mamontov [Tue, 20 Sep 2011 13:08:57 +0000 (16:08 +0300)]
Add headers for old BSD systems, add unistd.h for close in sgauthstress

13 years agoMove variables declaration to the beginning of the function (old C)
Maxim Mamontov [Tue, 20 Sep 2011 13:04:51 +0000 (16:04 +0300)]
Move variables declaration to the beginning of the function (old C)

13 years agoAnother fix for old and dub systems
Maxim Mamontov [Tue, 20 Sep 2011 12:51:22 +0000 (15:51 +0300)]
Another fix for old and dub systems

13 years agoFix headers with select declaration
Maxim Mamontov [Tue, 20 Sep 2011 12:49:51 +0000 (15:49 +0300)]
Fix headers with select declaration

13 years agosys/time.h header added for struct timeval
Maxim Mamontov [Tue, 20 Sep 2011 12:47:27 +0000 (15:47 +0300)]
sys/time.h header added for struct timeval

13 years agoExplicitly initialize base class in copy ctors of notifiers
Maxim Mamontov [Tue, 20 Sep 2011 12:34:33 +0000 (15:34 +0300)]
Explicitly initialize base class in copy ctors of notifiers

13 years agoAdd proper header to use struct sockaddr_in in sgauthstress
Maxim Mamontov [Tue, 20 Sep 2011 12:16:29 +0000 (15:16 +0300)]
Add proper header to use struct sockaddr_in in sgauthstress

13 years agoAdd proper header to use recvfrom/sendto in sgauthstress
Maxim Mamontov [Tue, 20 Sep 2011 12:15:05 +0000 (15:15 +0300)]
Add proper header to use recvfrom/sendto in sgauthstress

13 years agoAdd proper header to use netinet/ip.h on *bsd systems
Maxim Mamontov [Tue, 20 Sep 2011 12:13:23 +0000 (15:13 +0300)]
Add proper header to use netinet/ip.h on *bsd systems

13 years agoShut up compiler about unused parameter on non-linux systems
Maxim Mamontov [Tue, 20 Sep 2011 12:07:42 +0000 (15:07 +0300)]
Shut up compiler about unused parameter on non-linux systems

13 years agoDo not pass proc name to Executer in FreeBSD
Maxim Mamontov [Tue, 20 Sep 2011 12:05:49 +0000 (15:05 +0300)]
Do not pass proc name to Executer in FreeBSD

13 years agolibstgcommon.s needs iconv
Maxim Mamontov [Tue, 20 Sep 2011 11:57:49 +0000 (14:57 +0300)]
libstgcommon.s needs iconv

13 years agoAdd missing header in cap_ipq
Maxim Mamontov [Tue, 20 Sep 2011 09:20:52 +0000 (12:20 +0300)]
Add missing header in cap_ipq

13 years agoFix raw packet access in cap_divert
Maxim Mamontov [Tue, 20 Sep 2011 09:20:22 +0000 (12:20 +0300)]
Fix raw packet access in cap_divert

13 years agoFix path to headers in cap_debug
Maxim Mamontov [Tue, 20 Sep 2011 09:19:48 +0000 (12:19 +0300)]
Fix path to headers in cap_debug

13 years agoRemove unused headers and add variable declaration in stargazer's
Maxim Mamontov [Tue, 20 Sep 2011 09:19:02 +0000 (12:19 +0300)]
Remove unused headers and add variable declaration in stargazer's
main.cpp

13 years agoRemove const qualifier from sgauthstress implementation of USER
Maxim Mamontov [Tue, 20 Sep 2011 09:18:20 +0000 (12:18 +0300)]
Remove const qualifier from sgauthstress implementation of USER

13 years agoFix projects and plugins building system to support new libs
Maxim Mamontov [Tue, 20 Sep 2011 09:17:37 +0000 (12:17 +0300)]
Fix projects and plugins building system to support new libs

13 years agoAdd explicit casts for reconnect-on-tariff-change tests to shut up gcc
Maxim Mamontov [Mon, 19 Sep 2011 20:12:50 +0000 (23:12 +0300)]
Add explicit casts for reconnect-on-tariff-change tests to shut up gcc

13 years agoAdd explicit casts for raw ip tests to shut up compiler
Maxim Mamontov [Mon, 19 Sep 2011 20:12:01 +0000 (23:12 +0300)]
Add explicit casts for raw ip tests to shut up compiler

13 years agoFix tests for inclusive fee charge rules
Maxim Mamontov [Mon, 19 Sep 2011 20:11:24 +0000 (23:11 +0300)]
Fix tests for inclusive fee charge rules

13 years agoNew style tut-headers
Maxim Mamontov [Mon, 19 Sep 2011 20:06:53 +0000 (23:06 +0300)]
New style tut-headers

13 years agoKeep d-files and objects in test directory
Maxim Mamontov [Mon, 19 Sep 2011 20:06:02 +0000 (23:06 +0300)]
Keep d-files and objects in test directory

13 years agoKeep stglibs headers and libraries "at home"
Maxim Mamontov [Mon, 19 Sep 2011 20:05:03 +0000 (23:05 +0300)]
Keep stglibs headers and libraries "at home"

13 years agoTUT framework updated to svn version
Maxim Mamontov [Mon, 19 Sep 2011 08:57:52 +0000 (11:57 +0300)]
TUT framework updated to svn version
Libs headers moved to its own folders

13 years agoMake fee charging rules inclusive (2 includes 0 and 3 includes fee)
Maxim Mamontov [Mon, 19 Sep 2011 07:57:28 +0000 (10:57 +0300)]
Make fee charging rules inclusive (2 includes 0 and 3 includes fee)

13 years agoBlock all signals earlie, to inherit by all nested threads
Maxim Mamontov [Mon, 19 Sep 2011 07:53:02 +0000 (10:53 +0300)]
Block all signals earlie, to inherit by all nested threads

13 years agoUse external socket to correctly stop XML-RPC server
Maxim Mamontov [Fri, 16 Sep 2011 19:34:48 +0000 (22:34 +0300)]
Use external socket to correctly stop XML-RPC server

13 years agoDo not use pthread_kill to stop a thread
Maxim Mamontov [Fri, 16 Sep 2011 19:34:12 +0000 (22:34 +0300)]
Do not use pthread_kill to stop a thread

13 years agoUnused methods removed from TEST_ADMIN
Maxim Mamontov [Fri, 16 Sep 2011 17:46:00 +0000 (20:46 +0300)]
Unused methods removed from TEST_ADMIN

13 years agoFix raw ip tests
Maxim Mamontov [Fri, 16 Sep 2011 17:45:38 +0000 (20:45 +0300)]
Fix raw ip tests

13 years agoReturn correct core if stop fails
Maxim Mamontov [Fri, 16 Sep 2011 17:45:17 +0000 (20:45 +0300)]
Return correct core if stop fails

13 years agoNew signal handling infrastructure. Prevent unloading running module.
Maxim Mamontov [Fri, 16 Sep 2011 17:44:39 +0000 (20:44 +0300)]
New signal handling infrastructure. Prevent unloading running module.

13 years agoBlock all signals in threads other than main
Maxim Mamontov [Fri, 16 Sep 2011 17:44:06 +0000 (20:44 +0300)]
Block all signals in threads other than main

13 years agoReplace deprecated usleep with POSIX-compliant nanosleep
Maxim Mamontov [Fri, 16 Sep 2011 16:11:58 +0000 (19:11 +0300)]
Replace deprecated usleep with POSIX-compliant nanosleep

13 years agoExtra semicolon removed
Maxim Mamontov [Thu, 15 Sep 2011 20:41:11 +0000 (23:41 +0300)]
Extra semicolon removed

13 years agoAnother way of splitting c- and cpp- files
Maxim Mamontov [Thu, 15 Sep 2011 20:40:27 +0000 (23:40 +0300)]
Another way of splitting c- and cpp- files

13 years agoWhitespace removed from the name of a file
Maxim Mamontov [Thu, 15 Sep 2011 20:39:58 +0000 (23:39 +0300)]
Whitespace removed from the name of a file

13 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 20:05:10 +0000 (23:05 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in rpcconfig code

13 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 19:44:58 +0000 (22:44 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in storages code

13 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 19:28:58 +0000 (22:28 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in core code

13 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 19:11:03 +0000 (22:11 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in radius code

13 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 15:02:44 +0000 (18:02 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in radius code

13 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 14:24:57 +0000 (17:24 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in rscript code

13 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 09:28:30 +0000 (12:28 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in ping code

13 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 09:16:25 +0000 (12:16 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists in sgconfig code

13 years agoHide or add proper copy ctor and assignement operator, initialize
Maxim Mamontov [Thu, 15 Sep 2011 08:48:41 +0000 (11:48 +0300)]
Hide or add proper copy ctor and assignement operator, initialize
members via initialization lists

13 years agoAdd name to anonymous union
Maxim Mamontov [Wed, 14 Sep 2011 15:21:56 +0000 (18:21 +0300)]
Add name to anonymous union

13 years agoInitialize some members in initialization lists
Maxim Mamontov [Wed, 14 Sep 2011 15:14:03 +0000 (18:14 +0300)]
Initialize some members in initialization lists

13 years agoInitialize some fields via initializer lists in USER_IMPL and
Maxim Mamontov [Wed, 14 Sep 2011 14:59:42 +0000 (17:59 +0300)]
Initialize some fields via initializer lists in USER_IMPL and
USER_PROPERTIES

13 years agoInitialize class members for SMUX_SETTINGS in constructor
Maxim Mamontov [Wed, 14 Sep 2011 14:36:19 +0000 (17:36 +0300)]
Initialize class members for SMUX_SETTINGS in constructor
Hide copy constructor and assignement operator for SMUX

13 years agoInitialize arcs member in all OID constructors
Maxim Mamontov [Wed, 14 Sep 2011 14:35:30 +0000 (17:35 +0300)]
Initialize arcs member in all OID constructors

13 years agoAdd virtual destructor for Sensor
Maxim Mamontov [Wed, 14 Sep 2011 14:35:07 +0000 (17:35 +0300)]
Add virtual destructor for Sensor

13 years agoHide assignement operator for USER_IMPL
Maxim Mamontov [Wed, 14 Sep 2011 14:34:40 +0000 (17:34 +0300)]
Hide assignement operator for USER_IMPL

13 years agoInitialize additional members in constructor for PROPERTY
Maxim Mamontov [Wed, 14 Sep 2011 14:34:07 +0000 (17:34 +0300)]
Initialize additional members in constructor for PROPERTY

13 years agoInitialize class members in EVENT_LOOP constructor
Maxim Mamontov [Wed, 14 Sep 2011 14:33:20 +0000 (17:33 +0300)]
Initialize class members in EVENT_LOOP constructor

13 years agoHide copy constructor and assignement operator for ACTION
Maxim Mamontov [Wed, 14 Sep 2011 14:32:24 +0000 (17:32 +0300)]
Hide copy constructor and assignement operator for ACTION
Add virtual destructor for ACTIONS_LIST

13 years agoAdd virtual destructor for settings and traffcounter
Maxim Mamontov [Wed, 14 Sep 2011 14:31:47 +0000 (17:31 +0300)]
Add virtual destructor for settings and traffcounter

13 years agoHide copy constructor and assignement operator for PLUGIN_CREATOR
Maxim Mamontov [Wed, 14 Sep 2011 14:31:08 +0000 (17:31 +0300)]
Hide copy constructor and assignement operator for PLUGIN_CREATOR

13 years agoUse correct compiler and flags for sources in libs
Maxim Mamontov [Wed, 14 Sep 2011 14:07:58 +0000 (17:07 +0300)]
Use correct compiler and flags for sources in libs

13 years agoDo not mix CFLAGS and CXXFLAGS
Maxim Mamontov [Wed, 14 Sep 2011 13:58:11 +0000 (16:58 +0300)]
Do not mix CFLAGS and CXXFLAGS

13 years agoDefault constructor added in resetable structures
Maxim Mamontov [Wed, 14 Sep 2011 13:34:50 +0000 (16:34 +0300)]
Default constructor added in resetable structures

13 years agoStylistic changes in RESETABLE
Maxim Mamontov [Wed, 14 Sep 2011 13:34:29 +0000 (16:34 +0300)]
Stylistic changes in RESETABLE

13 years agoVirtual destructor added to interface classes
Maxim Mamontov [Wed, 14 Sep 2011 13:13:17 +0000 (16:13 +0300)]
Virtual destructor added to interface classes

13 years agoShut up compilers
Maxim Mamontov [Wed, 14 Sep 2011 11:55:43 +0000 (14:55 +0300)]
Shut up compilers

13 years agoHide bufSize when NDEBUG is defined
Maxim Mamontov [Wed, 14 Sep 2011 11:37:48 +0000 (14:37 +0300)]
Hide bufSize when NDEBUG is defined

13 years agoUse ptrdiff_t type for length variable to prevent comparsion signed and
Maxim Mamontov [Wed, 14 Sep 2011 11:29:25 +0000 (14:29 +0300)]
Use ptrdiff_t type for length variable to prevent comparsion signed and
unsigned types

13 years agoAdd authorization in test users class
Maxim Mamontov [Wed, 14 Sep 2011 11:17:25 +0000 (14:17 +0300)]
Add authorization in test users class

13 years agoAdd notifications in test tariffs class
Maxim Mamontov [Wed, 14 Sep 2011 11:16:53 +0000 (14:16 +0300)]
Add notifications in test tariffs class

13 years agoCheck write result and replace int with bool in return type of handlers
Maxim Mamontov [Wed, 14 Sep 2011 11:15:54 +0000 (14:15 +0300)]
Check write result and replace int with bool in return type of handlers

13 years agoAnother code cleanup
Maxim Mamontov [Tue, 13 Sep 2011 14:25:24 +0000 (17:25 +0300)]
Another code cleanup

13 years agoCode cleanup
Maxim Mamontov [Tue, 13 Sep 2011 14:22:37 +0000 (17:22 +0300)]
Code cleanup

13 years agoFix some typos
Maxim Mamontov [Tue, 13 Sep 2011 14:20:10 +0000 (17:20 +0300)]
Fix some typos

13 years agoInitializing constructor added for IA_USER
Maxim Mamontov [Tue, 13 Sep 2011 14:19:38 +0000 (17:19 +0300)]
Initializing constructor added for IA_USER

13 years agoStrange code removed
Maxim Mamontov [Mon, 12 Sep 2011 19:44:13 +0000 (22:44 +0300)]
Strange code removed

13 years agoOne more stupid comment erased
Maxim Mamontov [Mon, 12 Sep 2011 19:42:46 +0000 (22:42 +0300)]
One more stupid comment erased

13 years agoStupid comments erased
Maxim Mamontov [Mon, 12 Sep 2011 19:42:09 +0000 (22:42 +0300)]
Stupid comments erased

13 years agoLight inetaccess plugin refactoring
Maxim Mamontov [Mon, 12 Sep 2011 19:38:23 +0000 (22:38 +0300)]
Light inetaccess plugin refactoring

13 years agoCleanup ip2user on errors
Maxim Mamontov [Mon, 12 Sep 2011 10:56:14 +0000 (13:56 +0300)]
Cleanup ip2user on errors

13 years agoStylistic changes
Maxim Mamontov [Mon, 12 Sep 2011 09:39:01 +0000 (12:39 +0300)]
Stylistic changes

13 years agoDead code removed
Maxim Mamontov [Mon, 12 Sep 2011 09:38:24 +0000 (12:38 +0300)]
Dead code removed

13 years agoStylistic changes
Maxim Mamontov [Mon, 12 Sep 2011 09:37:54 +0000 (12:37 +0300)]
Stylistic changes

13 years agoSMUX reload with reconnect implemented
Maxim Mamontov [Mon, 12 Sep 2011 09:37:33 +0000 (12:37 +0300)]
SMUX reload with reconnect implemented

13 years agoFull and correct rollback in SMUX::Stop method
Maxim Mamontov [Mon, 12 Sep 2011 08:48:48 +0000 (11:48 +0300)]
Full and correct rollback in SMUX::Stop method

13 years agoCheck IP in USERS_IMPL::Authorize as early as possible
Maxim Mamontov [Mon, 12 Sep 2011 08:10:25 +0000 (11:10 +0300)]
Check IP in USERS_IMPL::Authorize as early as possible

13 years agoFix service payDay type for correct work on 32/64-bit
Maxim Mamontov [Sat, 10 Sep 2011 16:54:09 +0000 (19:54 +0300)]
Fix service payDay type for correct work on 32/64-bit

13 years agoFix unsigned types while working with IBPP
Maxim Mamontov [Sat, 10 Sep 2011 16:32:21 +0000 (19:32 +0300)]
Fix unsigned types while working with IBPP

13 years agoFix creator method call
Maxim Mamontov [Sat, 10 Sep 2011 16:25:01 +0000 (19:25 +0300)]
Fix creator method call

13 years agoFix authorization in plugins
Maxim Mamontov [Sat, 10 Sep 2011 16:07:51 +0000 (19:07 +0300)]
Fix authorization in plugins

13 years agoMove authorization from USER to USERS
Maxim Mamontov [Sat, 10 Sep 2011 16:07:13 +0000 (19:07 +0300)]
Move authorization from USER to USERS

13 years ago\n added
Maxim Mamontov [Wed, 7 Sep 2011 15:16:23 +0000 (18:16 +0300)]
\n added

13 years agoReport about headers reading error
Maxim Mamontov [Sat, 3 Sep 2011 17:42:50 +0000 (20:42 +0300)]
Report about headers reading error

13 years agoVersion fix
Maxim Mamontov [Sat, 3 Sep 2011 08:13:08 +0000 (11:13 +0300)]
Version fix

13 years agomod_smux config samples added
Maxim Mamontov [Sat, 3 Sep 2011 06:46:01 +0000 (09:46 +0300)]
mod_smux config samples added

13 years agoDefine ConstSensor::ToString only in debug build
Maxim Mamontov [Sat, 3 Sep 2011 06:36:08 +0000 (09:36 +0300)]
Define ConstSensor::ToString only in debug build

13 years agoProduce debug output only if SMUX_DEBUG is defined 2.408-alpha
Maxim Mamontov [Thu, 1 Sep 2011 14:16:37 +0000 (17:16 +0300)]
Produce debug output only if SMUX_DEBUG is defined

13 years agoMove tariffUsers from users section to tariffs.tariffUsage and fix
Maxim Mamontov [Thu, 1 Sep 2011 13:52:00 +0000 (16:52 +0300)]
Move tariffUsers from users section to tariffs.tariffUsage and fix
lintian errors