]> git.stg.codes - stg.git/log
stg.git
13 years agoCOMMON_SETTINGS removed from the project
Maxim Mamontov [Thu, 7 Apr 2011 13:06:48 +0000 (16:06 +0300)]
COMMON_SETTINGS removed from the project

13 years agoSETTINGS definition and implementation extracted from main.cpp to
Maxim Mamontov [Thu, 7 Apr 2011 13:06:07 +0000 (16:06 +0300)]
SETTINGS definition and implementation extracted from main.cpp to
separate files

13 years agoFix compilation issues for convertor
Maxim Mamontov [Thu, 7 Apr 2011 11:34:51 +0000 (14:34 +0300)]
Fix compilation issues for convertor

13 years agoRename some XML-RPC API methods
Maxim Mamontov [Wed, 6 Apr 2011 15:29:04 +0000 (18:29 +0300)]
Rename some XML-RPC API methods

13 years agochg_tariff -> change_tariff, change_tariff -> tariff_change
Maxim Mamontov [Wed, 6 Apr 2011 14:37:51 +0000 (17:37 +0300)]
chg_tariff -> change_tariff, change_tariff -> tariff_change

13 years agoReplace change_tariff link to chg_tariff
Maxim Mamontov [Wed, 6 Apr 2011 14:27:22 +0000 (17:27 +0300)]
Replace change_tariff link to chg_tariff

13 years agoAdd compiler existance checking
Maxim Mamontov [Wed, 6 Apr 2011 14:23:45 +0000 (17:23 +0300)]
Add compiler existance checking

13 years agoAdd dependancy on module for install-bin targets
Maxim Mamontov [Wed, 6 Apr 2011 13:01:11 +0000 (16:01 +0300)]
Add dependancy on module for install-bin targets

13 years agoFix user deletion in XML-RPC API
Maxim Mamontov [Wed, 6 Apr 2011 12:51:43 +0000 (15:51 +0300)]
Fix user deletion in XML-RPC API

13 years agoAdd book directory to git ignorance file
Maxim Mamontov [Wed, 6 Apr 2011 12:41:59 +0000 (15:41 +0300)]
Add book directory to git ignorance file

13 years agoA bit better Makefile
Maxim Mamontov [Wed, 6 Apr 2011 12:26:28 +0000 (15:26 +0300)]
A bit better Makefile

13 years agoRename 'disabledetailstat' parameter to 'disableddetailstat'
Maxim Mamontov [Wed, 6 Apr 2011 12:25:14 +0000 (15:25 +0300)]
Rename 'disabledetailstat' parameter to 'disableddetailstat'

13 years agoFix typo in USER_IMPL
Maxim Mamontov [Wed, 6 Apr 2011 09:55:50 +0000 (12:55 +0300)]
Fix typo in USER_IMPL

13 years agoFix bug with possible start all subsystems before timer becomes valid
Maxim Mamontov [Wed, 6 Apr 2011 09:55:05 +0000 (12:55 +0300)]
Fix bug with possible start all subsystems before timer becomes valid

13 years agoAdd vecotr reserve to the default constructor of SETTINGS_IMPL
Maxim Mamontov [Wed, 6 Apr 2011 08:01:37 +0000 (11:01 +0300)]
Add vecotr reserve to the default constructor of SETTINGS_IMPL

13 years agoMake explicit calls on notifications in AUTH_OA
Maxim Mamontov [Tue, 5 Apr 2011 13:32:42 +0000 (16:32 +0300)]
Make explicit calls on notifications in AUTH_OA

Potentially dangerous commit - may results in deadlocks on ip change for
alwaysOnline users

13 years agoAUTH_AO_SETTINGS removed from plugin
Maxim Mamontov [Tue, 5 Apr 2011 12:33:39 +0000 (15:33 +0300)]
AUTH_AO_SETTINGS removed from plugin

13 years agoCode cleanup for mod_auth_ao
Maxim Mamontov [Tue, 5 Apr 2011 11:16:21 +0000 (14:16 +0300)]
Code cleanup for mod_auth_ao

13 years agoReplace update user authorization loop with std::for_each
Maxim Mamontov [Tue, 5 Apr 2011 09:38:24 +0000 (12:38 +0300)]
Replace update user authorization loop with std::for_each

13 years agoReplace postfix decrement operator with prefix
Maxim Mamontov [Mon, 4 Apr 2011 19:16:28 +0000 (22:16 +0300)]
Replace postfix decrement operator with prefix

13 years agoMember field initialization added
Maxim Mamontov [Mon, 4 Apr 2011 19:13:27 +0000 (22:13 +0300)]
Member field initialization added

13 years ago'err' field moved from private class member to local method variable
Maxim Mamontov [Mon, 4 Apr 2011 19:01:12 +0000 (22:01 +0300)]
'err' field moved from private class member to local method variable

13 years agodirName[] changed to vector
Maxim Mamontov [Mon, 4 Apr 2011 18:57:10 +0000 (21:57 +0300)]
dirName[] changed to vector

13 years agoObsolete hostallow library removed
Maxim Mamontov [Mon, 4 Apr 2011 18:56:29 +0000 (21:56 +0300)]
Obsolete hostallow library removed

13 years agoInitialise 'user' field in RS_USER's constructor
Maxim Mamontov [Mon, 4 Apr 2011 18:41:15 +0000 (21:41 +0300)]
Initialise 'user' field in RS_USER's constructor

13 years agoInitialize ip and mask fields while parsing config file in rscript
Maxim Mamontov [Mon, 4 Apr 2011 18:40:32 +0000 (21:40 +0300)]
Initialize ip and mask fields while parsing config file in rscript

13 years agoInitialise 'user' field in IA_USER's constructor
Maxim Mamontov [Mon, 4 Apr 2011 18:35:58 +0000 (21:35 +0300)]
Initialise 'user' field in IA_USER's constructor

13 years agoObsolete files removed
Maxim Mamontov [Mon, 4 Apr 2011 18:35:37 +0000 (21:35 +0300)]
Obsolete files removed

13 years agoComment translation
Maxim Mamontov [Mon, 4 Apr 2011 18:31:17 +0000 (21:31 +0300)]
Comment translation

13 years agoPass property name via const referense instead of value
Maxim Mamontov [Mon, 4 Apr 2011 18:26:31 +0000 (21:26 +0300)]
Pass property name via const referense instead of value

13 years agoInclude fcntl.h for creat in main.cpp
Maxim Mamontov [Mon, 4 Apr 2011 14:47:55 +0000 (17:47 +0300)]
Include fcntl.h for creat in main.cpp

13 years agoInclude sys/stat.h in main.cpp for S_IRUSR on FreeBSD
Maxim Mamontov [Mon, 4 Apr 2011 14:39:39 +0000 (17:39 +0300)]
Include sys/stat.h in main.cpp for S_IRUSR on FreeBSD

13 years agoAdd vector definition to divert_cap.cpp
Maxim Mamontov [Mon, 4 Apr 2011 14:23:05 +0000 (17:23 +0300)]
Add vector definition to divert_cap.cpp

13 years agoAdd sys/types.h for FreeBSD
Maxim Mamontov [Mon, 4 Apr 2011 14:05:08 +0000 (17:05 +0300)]
Add sys/types.h for FreeBSD

13 years agoInclude cstdio in main.cpp for printf
Maxim Mamontov [Mon, 4 Apr 2011 14:04:46 +0000 (17:04 +0300)]
Include cstdio in main.cpp for printf

13 years agoInclude algorithm in divert_cap.cpp for find
Maxim Mamontov [Mon, 4 Apr 2011 13:58:59 +0000 (16:58 +0300)]
Include algorithm in divert_cap.cpp for find

13 years agoInclude unsitd.h in user_property.h for access function
Maxim Mamontov [Mon, 4 Apr 2011 13:55:09 +0000 (16:55 +0300)]
Include unsitd.h in user_property.h for access function

13 years agoAdd unistd.h to rsconf.cpp
Maxim Mamontov [Mon, 4 Apr 2011 13:53:24 +0000 (16:53 +0300)]
Add unistd.h to rsconf.cpp

13 years agoExclude DEL_USER_NOTIFIER from AUTH_IA (possible freandship fix)
Maxim Mamontov [Mon, 4 Apr 2011 13:32:13 +0000 (16:32 +0300)]
Exclude DEL_USER_NOTIFIER from AUTH_IA (possible freandship fix)

13 years agoDEL_USER_NONIFIER -> DEL_USER_NOTIFIER
Maxim Mamontov [Mon, 4 Apr 2011 13:25:08 +0000 (16:25 +0300)]
DEL_USER_NONIFIER -> DEL_USER_NOTIFIER

13 years agoMake DEL_USER_NOTIFIER a friend class for AUTH_IA
Maxim Mamontov [Mon, 4 Apr 2011 13:23:32 +0000 (16:23 +0300)]
Make DEL_USER_NOTIFIER a friend class for AUTH_IA

13 years agoInclude unistd.h for close and usleep
Maxim Mamontov [Mon, 4 Apr 2011 13:23:02 +0000 (16:23 +0300)]
Include unistd.h for close and usleep

13 years agoInclude header for select in inetaccess.cpp
Maxim Mamontov [Mon, 4 Apr 2011 13:17:03 +0000 (16:17 +0300)]
Include header for select in inetaccess.cpp

13 years agoFix compilation errors
Maxim Mamontov [Mon, 4 Apr 2011 13:08:02 +0000 (16:08 +0300)]
Fix compilation errors

13 years agoCreate TRAFFCOUNTER_IMPL in main.cpp
Maxim Mamontov [Mon, 4 Apr 2011 13:04:45 +0000 (16:04 +0300)]
Create TRAFFCOUNTER_IMPL in main.cpp

13 years agoFix traffcounter include path for ipq cap plugin
Maxim Mamontov [Mon, 4 Apr 2011 13:04:17 +0000 (16:04 +0300)]
Fix traffcounter include path for ipq cap plugin

13 years agoFix TRAFFCOUNTER in plugins
Maxim Mamontov [Mon, 4 Apr 2011 12:58:36 +0000 (15:58 +0300)]
Fix TRAFFCOUNTER in plugins

13 years agoTraffcounter divided into interface and implementation
Maxim Mamontov [Mon, 4 Apr 2011 12:19:05 +0000 (15:19 +0300)]
Traffcounter divided into interface and implementation

13 years agoReplace usleep with nanosleep in ping plugin
Maxim Mamontov [Mon, 4 Apr 2011 11:56:06 +0000 (14:56 +0300)]
Replace usleep with nanosleep in ping plugin

13 years agoFix compilation issues
Maxim Mamontov [Tue, 22 Mar 2011 15:09:34 +0000 (17:09 +0200)]
Fix compilation issues

13 years agoChange some usleep() to nanosleep() `cause usleep() is obsolete since
Maxim Mamontov [Tue, 22 Mar 2011 15:01:42 +0000 (17:01 +0200)]
Change some usleep() to nanosleep() `cause usleep() is obsolete since
POSIX.2001

13 years agoRemove old script_executer code from the source tree
Maxim Mamontov [Tue, 22 Mar 2011 15:00:19 +0000 (17:00 +0200)]
Remove old script_executer code from the source tree

13 years agoInitialiaze some class members
Maxim Mamontov [Tue, 22 Mar 2011 13:17:35 +0000 (15:17 +0200)]
Initialiaze some class members

13 years agoCatch exception via const referense, not a value
Maxim Mamontov [Tue, 22 Mar 2011 13:16:56 +0000 (15:16 +0200)]
Catch exception via const referense, not a value

13 years agoFix some prefix increments to postfix and code cleanup
Maxim Mamontov [Tue, 22 Mar 2011 13:07:00 +0000 (15:07 +0200)]
Fix some prefix increments to postfix and code cleanup

13 years agoAdd initialization to some settings fields
Maxim Mamontov [Tue, 22 Mar 2011 12:53:47 +0000 (14:53 +0200)]
Add initialization to some settings fields

13 years agoAdd settings interface
Maxim Mamontov [Tue, 22 Mar 2011 12:05:02 +0000 (14:05 +0200)]
Add settings interface

13 years agoFix compilation issues after splitting SETTINGS into interface and
Maxim Mamontov [Tue, 22 Mar 2011 11:56:26 +0000 (13:56 +0200)]
Fix compilation issues after splitting SETTINGS into interface and
implementation parts

13 years agoSplit SETTINGS to interface and implementation
Maxim Mamontov [Tue, 22 Mar 2011 11:55:39 +0000 (13:55 +0200)]
Split SETTINGS to interface and implementation

13 years agoFix types
Maxim Mamontov [Mon, 21 Mar 2011 15:16:09 +0000 (17:16 +0200)]
Fix types

13 years agoRemove virtual destructor from plugin interface
Maxim Mamontov [Mon, 21 Mar 2011 15:07:26 +0000 (17:07 +0200)]
Remove virtual destructor from plugin interface

13 years agoAdd members initialization
Maxim Mamontov [Mon, 21 Mar 2011 14:33:00 +0000 (16:33 +0200)]
Add members initialization

13 years agoFix prefix incremental and decremental operators to postfix
Maxim Mamontov [Mon, 21 Mar 2011 14:30:27 +0000 (16:30 +0200)]
Fix prefix incremental and decremental operators to postfix

13 years agoAdd variables initialization
Maxim Mamontov [Mon, 21 Mar 2011 14:28:46 +0000 (16:28 +0200)]
Add variables initialization

13 years agoFix prefix incremental operator to postfix
Maxim Mamontov [Mon, 21 Mar 2011 14:27:12 +0000 (16:27 +0200)]
Fix prefix incremental operator to postfix

13 years agoFix prefix incremental operator to postfix
Maxim Mamontov [Mon, 21 Mar 2011 14:25:52 +0000 (16:25 +0200)]
Fix prefix incremental operator to postfix

13 years agoCatch exception via const reference instead of value
Maxim Mamontov [Mon, 21 Mar 2011 14:24:08 +0000 (16:24 +0200)]
Catch exception via const reference instead of value

13 years agoFix prefix increment operator to postfix
Maxim Mamontov [Mon, 21 Mar 2011 14:21:21 +0000 (16:21 +0200)]
Fix prefix increment operator to postfix

13 years agoUnused methods removed, add some inlining
Maxim Mamontov [Mon, 21 Mar 2011 13:58:07 +0000 (15:58 +0200)]
Unused methods removed, add some inlining

13 years agoCosmetic changes in user_property.cpp
Maxim Mamontov [Mon, 21 Mar 2011 13:57:45 +0000 (15:57 +0200)]
Cosmetic changes in user_property.cpp

13 years agoCosmetic changes in settings.[h|cpp]
Maxim Mamontov [Mon, 21 Mar 2011 13:56:59 +0000 (15:56 +0200)]
Cosmetic changes in settings.[h|cpp]

13 years agoExclude legacy hostallow.lib from compilation
Maxim Mamontov [Mon, 21 Mar 2011 13:56:12 +0000 (15:56 +0200)]
Exclude legacy hostallow.lib from compilation

13 years agouser_property.h moved to general include dir
Maxim Mamontov [Mon, 21 Mar 2011 12:40:53 +0000 (14:40 +0200)]
user_property.h moved to general include dir

13 years agoCosmetic changes
Maxim Mamontov [Mon, 21 Mar 2011 12:17:34 +0000 (14:17 +0200)]
Cosmetic changes

13 years agoCosmetic changes
Maxim Mamontov [Mon, 21 Mar 2011 11:18:14 +0000 (13:18 +0200)]
Cosmetic changes

13 years agoHeader duplicate removed from user_property.h
Maxim Mamontov [Mon, 21 Mar 2011 11:10:04 +0000 (13:10 +0200)]
Header duplicate removed from user_property.h

13 years agoAdd cstdlib header to user_impl.cpp (use random() function)
Maxim Mamontov [Mon, 21 Mar 2011 11:08:59 +0000 (13:08 +0200)]
Add cstdlib header to user_impl.cpp (use random() function)

13 years agoCosmetic changes
Maxim Mamontov [Mon, 21 Mar 2011 11:08:38 +0000 (13:08 +0200)]
Cosmetic changes

13 years agoSETTINGS removed from USER_PROPERT[Y | Y_LOGGED | IES]
Maxim Mamontov [Mon, 21 Mar 2011 10:54:04 +0000 (12:54 +0200)]
SETTINGS removed from USER_PROPERT[Y | Y_LOGGED | IES]

13 years agoGetScriptDir -> GetScriptsDir
Maxim Mamontov [Mon, 21 Mar 2011 10:53:42 +0000 (12:53 +0200)]
GetScriptDir -> GetScriptsDir

13 years agoFix compilation issues for XML RPC interface
Maxim Mamontov [Sat, 19 Mar 2011 15:52:40 +0000 (17:52 +0200)]
Fix compilation issues for XML RPC interface

13 years agoFix work with admins
Maxim Mamontov [Sat, 19 Mar 2011 15:52:01 +0000 (17:52 +0200)]
Fix work with admins

13 years agoInclude common headers in rpcconfig.cpp
Maxim Mamontov [Fri, 18 Mar 2011 18:28:17 +0000 (20:28 +0200)]
Include common headers in rpcconfig.cpp

13 years agoAdd std namespace to the string in rpcconfig.cpp
Maxim Mamontov [Fri, 18 Mar 2011 18:27:01 +0000 (20:27 +0200)]
Add std namespace to the string in rpcconfig.cpp

13 years agoInclude MODULE_SETTINGS definition in rpcconfig.h
Maxim Mamontov [Fri, 18 Mar 2011 18:25:25 +0000 (20:25 +0200)]
Include MODULE_SETTINGS definition in rpcconfig.h

13 years agoFix paths to interface classes in XML RPC plugin
Maxim Mamontov [Fri, 18 Mar 2011 18:23:34 +0000 (20:23 +0200)]
Fix paths to interface classes in XML RPC plugin

13 years agoFix compilation issues
Maxim Mamontov [Fri, 18 Mar 2011 15:15:05 +0000 (17:15 +0200)]
Fix compilation issues

13 years agoFix compilation issues
Maxim Mamontov [Fri, 18 Mar 2011 14:27:48 +0000 (16:27 +0200)]
Fix compilation issues

13 years agoRename BASE_AUTH and BASE_STORE to AUTH and STORE
Maxim Mamontov [Fri, 18 Mar 2011 14:25:23 +0000 (16:25 +0200)]
Rename BASE_AUTH and BASE_STORE to AUTH and STORE

13 years agoFix compilation issues for plugin and auth interfaces
Maxim Mamontov [Thu, 17 Mar 2011 10:43:46 +0000 (12:43 +0200)]
Fix compilation issues for plugin and auth interfaces

13 years agoFix filename for auth plugin interface
Maxim Mamontov [Thu, 17 Mar 2011 10:43:18 +0000 (12:43 +0200)]
Fix filename for auth plugin interface

13 years agoFix filename for plugin interface
Maxim Mamontov [Thu, 17 Mar 2011 10:41:00 +0000 (12:41 +0200)]
Fix filename for plugin interface

13 years agoFix compilation errors after splitting classes into interface and
Maxim Mamontov [Thu, 17 Mar 2011 10:26:37 +0000 (12:26 +0200)]
Fix compilation errors after splitting classes into interface and
implementation

13 years agoBreak internal classes to interface and implementation
Maxim Mamontov [Thu, 17 Mar 2011 10:24:14 +0000 (12:24 +0200)]
Break internal classes to interface and implementation

13 years agoMerge branch 'master' of madf.dyndns.org:/var/git/stg
Maxim Mamontov [Thu, 10 Mar 2011 09:30:49 +0000 (11:30 +0200)]
Merge branch 'master' of madf.dyndns.org:/var/git/stg

13 years agoAdd support of -E key for sgconf (credit timeout)
Maxim Mamontov [Wed, 9 Mar 2011 14:34:00 +0000 (16:34 +0200)]
Add support of -E key for sgconf (credit timeout)

13 years agoAdd creditExpire setting/getting via sgconf
Maxim Mamontov [Fri, 4 Mar 2011 16:23:44 +0000 (18:23 +0200)]
Add creditExpire setting/getting via sgconf

13 years agoAdd convertor.conf translation
Maxim Mamontov [Mon, 28 Feb 2011 13:17:39 +0000 (15:17 +0200)]
Add convertor.conf translation

13 years agoAdd MessageTimeout parameter and description to the config file
Maxim Mamontov [Mon, 28 Feb 2011 13:13:15 +0000 (15:13 +0200)]
Add MessageTimeout parameter and description to the config file

13 years agoFix group for file database
Maxim Mamontov [Fri, 25 Feb 2011 14:48:25 +0000 (16:48 +0200)]
Fix group for file database