]> git.stg.codes - stg.git/log
stg.git
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

13 years agoREADME converted from KOI8 to UTF8
Maxim Mamontov [Fri, 25 Feb 2011 10:10:10 +0000 (12:10 +0200)]
README converted from KOI8 to UTF8

13 years agoReadme for sgauth removed, CHANGES and TODO made empty
Maxim Mamontov [Fri, 25 Feb 2011 10:09:37 +0000 (12:09 +0200)]
Readme for sgauth removed, CHANGES and TODO made empty

13 years agoShabang added to example scripts
Maxim Mamontov [Fri, 25 Feb 2011 10:05:29 +0000 (12:05 +0200)]
Shabang added to example scripts

13 years agoRemoved \r and spaces at the EOL in config files
Maxim Mamontov [Fri, 25 Feb 2011 09:28:34 +0000 (11:28 +0200)]
Removed \r and spaces at the EOL in config files

13 years agoFix non-standard port number for cap_nf settings
Maxim Mamontov [Thu, 24 Feb 2011 11:39:07 +0000 (13:39 +0200)]
Fix non-standard port number for cap_nf settings

13 years agoOld comment removed from the postgresql db creation script
Maxim Mamontov [Tue, 22 Feb 2011 11:02:56 +0000 (13:02 +0200)]
Old comment removed from the postgresql db creation script

13 years agoEmpty lines removed from the end of the main.cpp from stargazer project
Maxim Mamontov [Tue, 22 Feb 2011 11:02:10 +0000 (13:02 +0200)]
Empty lines removed from the end of the main.cpp from stargazer project

13 years agoConfiguration files translated into english
Maxim Mamontov [Tue, 22 Feb 2011 11:01:28 +0000 (13:01 +0200)]
Configuration files translated into english

13 years agoПрибрано глобальну залежність від внутрішнього заголовочного файлу
Maxim Mamontov [Wed, 9 Feb 2011 16:10:40 +0000 (18:10 +0200)]
Прибрано глобальну залежність від внутрішнього заголовочного файлу

dotconfpp для зборки потребує mempool.h але для використання він не
потрібен. Відповідна залежність прибрана.

13 years agoВидалено "мертвий" код із utime.h
Maxim Mamontov [Wed, 9 Feb 2011 15:45:56 +0000 (17:45 +0200)]
Видалено "мертвий" код із utime.h

13 years agoМетод INETACCESS::DelUser зроблено приватним
Maxim Mamontov [Wed, 9 Feb 2011 13:19:03 +0000 (15:19 +0200)]
Метод INETACCESS::DelUser зроблено приватним

13 years agoДодано розширений формат помісячної статистики
Maxim Mamontov [Wed, 9 Feb 2011 13:14:23 +0000 (15:14 +0200)]
Додано розширений формат помісячної статистики

У файли stat.<year>.<month> тепер пишеться повний зріз, включаючи
freeMb, passiveTime і т.д. Класичний формат файлів залишено для
сумісності.

13 years agoВиправлено помилки виклику localtime із різних потоків
Maxim Mamontov [Wed, 9 Feb 2011 13:10:52 +0000 (15:10 +0200)]
Виправлено помилки виклику localtime із різних потоків

localtime замінено на реентерабельну версію - localtime_r, передача
struct tm по константному вказівнику замінена на передачу по
константному посиланню.

13 years agoВиправлено дату старту таймера в режимі зневадження
Maxim Mamontov [Wed, 9 Feb 2011 13:05:12 +0000 (15:05 +0200)]
Виправлено дату старту таймера в режимі зневадження

13 years agoMerge branch 'master' of madf.dyndns.org:/var/git/stg
Maxim Mamontov [Wed, 9 Feb 2011 13:03:48 +0000 (15:03 +0200)]
Merge branch 'master' of madf.dyndns.org:/var/git/stg

13 years agoДодано ігнорування бінарників
Maxim Mamontov [Wed, 9 Feb 2011 13:02:32 +0000 (15:02 +0200)]
Додано ігнорування бінарників

13 years agoПрибрано зайву приватну змінну із класу USER
Maxim Mamontov [Wed, 9 Feb 2011 12:10:25 +0000 (14:10 +0200)]
Прибрано зайву приватну змінну із класу USER

13 years agoПрибрано непотрібну залежність від -lconffiles у плагіні до MySQL
Maxim Mamontov [Sun, 6 Feb 2011 10:35:11 +0000 (12:35 +0200)]
Прибрано непотрібну залежність від -lconffiles у плагіні до MySQL