]> git.stg.codes - stg.git/log
stg.git
9 years agoIgnore .d files.
Maxim Mamontov [Sat, 21 Jun 2014 20:37:39 +0000 (23:37 +0300)]
Ignore .d files.

9 years agoFixed tests.
Maxim Mamontov [Sat, 21 Jun 2014 20:36:56 +0000 (23:36 +0300)]
Fixed tests.

9 years agoCleaned up some headers.
Maxim Mamontov [Fri, 20 Jun 2014 22:28:36 +0000 (01:28 +0300)]
Cleaned up some headers.

Conflicts:
projects/stargazer/plugins/configuration/sgconfig/parser_user_info.cpp

9 years agoOptimized sending answers in sgconfig.
Maxim Mamontov [Fri, 20 Jun 2014 22:11:48 +0000 (01:11 +0300)]
Optimized sending answers in sgconfig.

Conflicts:
projects/stargazer/plugins/configuration/sgconfig/parser.cpp
projects/stargazer/plugins/configuration/sgconfig/parser.h
projects/stargazer/plugins/configuration/sgconfig/parser_auth_by.cpp
projects/stargazer/plugins/configuration/sgconfig/parser_user_info.cpp
projects/stargazer/plugins/configuration/sgconfig/rsconf.cpp

9 years agoAdded modification time for session traffic.
Maxim Mamontov [Fri, 20 Jun 2014 22:11:25 +0000 (01:11 +0300)]
Added modification time for session traffic.

9 years agoAdded const version of GetPointer.
Maxim Mamontov [Fri, 20 Jun 2014 22:10:48 +0000 (01:10 +0300)]
Added const version of GetPointer.

9 years agoAdded full string encryption.
Maxim Mamontov [Fri, 20 Jun 2014 22:10:21 +0000 (01:10 +0300)]
Added full string encryption.

9 years agoMinor changes.
Maxim Mamontov [Fri, 20 Jun 2014 18:38:52 +0000 (21:38 +0300)]
Minor changes.

9 years agoRemoved unused variables.
Maxim Mamontov [Fri, 20 Jun 2014 18:33:20 +0000 (21:33 +0300)]
Removed unused variables.

9 years agoRearranged some headers in sgconfig.
Maxim Mamontov [Fri, 20 Jun 2014 18:19:16 +0000 (21:19 +0300)]
Rearranged some headers in sgconfig.

Conflicts:
projects/stargazer/plugins/configuration/sgconfig/configproto.cpp
projects/stargazer/plugins/configuration/sgconfig/configproto.h
projects/stargazer/plugins/configuration/sgconfig/rsconf.cpp

9 years agoUse unicode for messages. Convert before sending.
Maxim Mamontov [Mon, 9 Jun 2014 09:41:27 +0000 (12:41 +0300)]
Use unicode for messages. Convert before sending.

9 years agoSimplified STG_LOCKER.
Maxim Mamontov [Mon, 9 Jun 2014 09:16:49 +0000 (12:16 +0300)]
Simplified STG_LOCKER.

9 years agoMore fixes after cppcheck.
Maxim Mamontov [Mon, 9 Jun 2014 08:17:33 +0000 (11:17 +0300)]
More fixes after cppcheck.

9 years agoFixed compilation issue.
Maxim Mamontov [Sun, 8 Jun 2014 21:06:15 +0000 (00:06 +0300)]
Fixed compilation issue.

Conflicts:
projects/stargazer/build

9 years agoAnother set of minor fixes.
Maxim Mamontov [Sun, 8 Jun 2014 20:56:46 +0000 (23:56 +0300)]
Another set of minor fixes.

9 years agoLots of stylistic fixes.
Maxim Mamontov [Sun, 8 Jun 2014 20:39:27 +0000 (23:39 +0300)]
Lots of stylistic fixes.

Conflicts:
projects/stargazer/plugins/configuration/sgconfig/parser.h
stglibs/srvconf.lib/netunit.cpp
stglibs/srvconf.lib/parsers/get_tariff.cpp

9 years agoRemoved obsolete stuff.
Maxim Mamontov [Sun, 8 Jun 2014 20:35:43 +0000 (23:35 +0300)]
Removed obsolete stuff.

9 years agoMerge branch 'naffanya-dev'
Maxim Mamontov [Sun, 8 Jun 2014 19:06:32 +0000 (22:06 +0300)]
Merge branch 'naffanya-dev'

9 years agoFixed build.
Maxim Mamontov [Sun, 8 Jun 2014 10:57:57 +0000 (13:57 +0300)]
Fixed build.

9 years agoAdded configuration checks.
Maxim Mamontov [Sun, 8 Jun 2014 10:37:50 +0000 (13:37 +0300)]
Added configuration checks.

Conflicts:
projects/stargazer/build

9 years agoImplemented NFQ capturing.
Maxim Mamontov [Sun, 8 Jun 2014 10:33:42 +0000 (13:33 +0300)]
Implemented NFQ capturing.

9 years agoSmall fixes.
Maxim Mamontov [Sun, 8 Jun 2014 09:54:52 +0000 (12:54 +0300)]
Small fixes.

Conflicts:
projects/stargazer/plugins/capture/pcap/pcap_cap.cpp

9 years agoInitial adding of netfilter_queue capturer.
Maxim Mamontov [Sun, 8 Jun 2014 09:46:20 +0000 (12:46 +0300)]
Initial adding of netfilter_queue capturer.

9 years agoFixed x2str for doubles.
Maxim Mamontov [Thu, 29 May 2014 14:36:54 +0000 (17:36 +0300)]
Fixed x2str for doubles.

9 years agoFixed Split.
Maxim Mamontov [Thu, 29 May 2014 14:36:26 +0000 (17:36 +0300)]
Fixed Split.

9 years agoAdded Split utility.
Maxim Mamontov [Thu, 29 May 2014 10:20:51 +0000 (13:20 +0300)]
Added Split utility.

9 years agoAdded Splice method for resetables.
Maxim Mamontov [Thu, 29 May 2014 10:20:26 +0000 (13:20 +0300)]
Added Splice method for resetables.

9 years agoSupport all next FreeBSD versions by default.
Maxim Mamontov [Sun, 18 May 2014 20:30:57 +0000 (23:30 +0300)]
Support all next FreeBSD versions by default.

9 years agoPass debug flags to CFLAGS.
Maxim Mamontov [Tue, 25 Mar 2014 19:21:27 +0000 (21:21 +0200)]
Pass debug flags to CFLAGS.

9 years agoFixed stupid things in MySQL backend.
Maxim Mamontov [Mon, 17 Mar 2014 19:19:46 +0000 (21:19 +0200)]
Fixed stupid things in MySQL backend.

9 years agoFixed merge issues.
Maxim Mamontov [Mon, 6 Jan 2014 19:18:55 +0000 (21:18 +0200)]
Fixed merge issues.

9 years agoMerge branch 'new-daily-fee'
Maxim Mamontov [Mon, 6 Jan 2014 15:51:09 +0000 (17:51 +0200)]
Merge branch 'new-daily-fee'

Conflicts:
include/stg/tariff_conf.h
projects/stargazer/plugins/store/firebird/Makefile
projects/stargazer/plugins/store/firebird/firebird_store.cpp
projects/stargazer/plugins/store/firebird/firebird_store.h
projects/stargazer/plugins/store/mysql/Makefile
projects/stargazer/plugins/store/mysql/mysql_store.cpp
projects/stargazer/plugins/store/mysql/mysql_store.h
projects/stargazer/plugins/store/postgresql/Makefile
projects/stargazer/plugins/store/postgresql/postgresql_store.cpp
projects/stargazer/plugins/store/postgresql/postgresql_store.h
projects/stargazer/plugins/store/postgresql/postgresql_store_tariffs.cpp

9 years agoMerge branch 'log-unauth-reasons'
Maxim Mamontov [Thu, 14 Nov 2013 20:01:45 +0000 (22:01 +0200)]
Merge branch 'log-unauth-reasons'

Conflicts:
projects/stargazer/user_impl.cpp

9 years agoRemoved some conflicting macros.
Maxim Mamontov [Sat, 9 Nov 2013 13:40:24 +0000 (15:40 +0200)]
Removed some conflicting macros.

9 years agoMerge branch 'fix-gts-auth-errors'
Maxim Mamontov [Sat, 9 Nov 2013 12:25:17 +0000 (14:25 +0200)]
Merge branch 'fix-gts-auth-errors'

9 years agoAdded x2str for double type.
Maxim Mamontov [Sun, 20 Oct 2013 08:44:41 +0000 (11:44 +0300)]
Added x2str for double type.

9 years agoUSER_STAT refactoring.
Maxim Mamontov [Tue, 8 Oct 2013 16:14:50 +0000 (19:14 +0300)]
USER_STAT refactoring.

9 years agoChanged USER_STAT_RES.
Maxim Mamontov [Tue, 8 Oct 2013 16:01:48 +0000 (19:01 +0300)]
Changed USER_STAT_RES.

9 years agoPre-allocate DIR_TRAFF container with DIR_NUM items.
Maxim Mamontov [Tue, 8 Oct 2013 15:51:17 +0000 (18:51 +0300)]
Pre-allocate DIR_TRAFF container with DIR_NUM items.

9 years agoAdded DIR_TRAFF_RES, refactored DIR_TRAFF.
Maxim Mamontov [Tue, 8 Oct 2013 15:19:42 +0000 (18:19 +0300)]
Added DIR_TRAFF_RES, refactored DIR_TRAFF.

9 years agoReturn value from assignment operator.
Maxim Mamontov [Mon, 7 Oct 2013 21:28:02 +0000 (00:28 +0300)]
Return value from assignment operator.

Conflicts:
include/stg/admin_conf.h

9 years agoUse ::tolower from cctype in std::transform.
Maxim Mamontov [Mon, 7 Oct 2013 20:36:59 +0000 (23:36 +0300)]
Use ::tolower from cctype in std::transform.

9 years agoFixed compilation issues.
Maxim Mamontov [Mon, 7 Oct 2013 20:25:47 +0000 (23:25 +0300)]
Fixed compilation issues.

Conflicts:
projects/sgconf/common_sg.cpp
projects/sgconf/main.cpp
stglibs/srvconf.lib/include/stg/servconf.h

9 years agoSmall refactoring in RESETABLE.
Maxim Mamontov [Mon, 7 Oct 2013 20:25:25 +0000 (23:25 +0300)]
Small refactoring in RESETABLE.

9 years agoMerge branch 'naffanya-dev'
Maxim Mamontov [Fri, 23 Aug 2013 18:59:58 +0000 (21:59 +0300)]
Merge branch 'naffanya-dev'

9 years agoRe-organized includes.
Maxim Mamontov [Mon, 5 Aug 2013 17:45:43 +0000 (20:45 +0300)]
Re-organized includes.

9 years agoAdded TODO to sgconf.
Maxim Mamontov [Sun, 7 Dec 2014 12:33:47 +0000 (14:33 +0200)]
Added TODO to sgconf.

9 years agoSome small changes in srvconf.lib.
Maxim Mamontov [Sun, 7 Dec 2014 12:29:56 +0000 (14:29 +0200)]
Some small changes in srvconf.lib.

9 years agoSettings object is now allocated on stack, no need to delete it.
Maxim Mamontov [Sun, 7 Dec 2014 11:53:13 +0000 (13:53 +0200)]
Settings object is now allocated on stack, no need to delete it.

10 years agoFixed crash on problems with loading plugins.
Maxim Mamontov [Sun, 23 Nov 2014 20:51:20 +0000 (22:51 +0200)]
Fixed crash on problems with loading plugins.

10 years agoAdded test for ServerInfo.
Maxim Mamontov [Sun, 23 Nov 2014 09:57:21 +0000 (11:57 +0200)]
Added test for ServerInfo.

10 years agoAdded --server-info parameter for sgconf.
Maxim Mamontov [Sun, 23 Nov 2014 09:47:03 +0000 (11:47 +0200)]
Added --server-info parameter for sgconf.

10 years agoFixed ServerInfo parser.
Maxim Mamontov [Sun, 23 Nov 2014 09:46:39 +0000 (11:46 +0200)]
Fixed ServerInfo parser.

10 years agoFixed ServerInfo parser.
Maxim Mamontov [Sun, 23 Nov 2014 09:29:27 +0000 (11:29 +0200)]
Fixed ServerInfo parser.

10 years agoRemoved some unused stuff from build script.
Maxim Mamontov [Fri, 21 Nov 2014 17:03:31 +0000 (19:03 +0200)]
Removed some unused stuff from build script.

10 years agoAdded a special project to build all STG libs.
Maxim Mamontov [Fri, 21 Nov 2014 16:59:12 +0000 (18:59 +0200)]
Added a special project to build all STG libs.

10 years agoImplemented storing services.
Maxim Mamontov [Sat, 25 Oct 2014 20:14:25 +0000 (23:14 +0300)]
Implemented storing services.

10 years agoCosmetic changes.
Maxim Mamontov [Sat, 25 Oct 2014 03:27:00 +0000 (06:27 +0300)]
Cosmetic changes.

10 years agoAdded messages about starting and stopping modules.
Maxim Mamontov [Sat, 25 Oct 2014 03:03:38 +0000 (06:03 +0300)]
Added messages about starting and stopping modules.

10 years agoPortable sed.
Maxim Mamontov [Sat, 25 Oct 2014 02:13:21 +0000 (05:13 +0300)]
Portable sed.

10 years agoFill in template group.
Maxim Mamontov [Sat, 25 Oct 2014 01:54:36 +0000 (04:54 +0300)]
Fill in template group.

10 years agoTemplate group.
Maxim Mamontov [Sat, 25 Oct 2014 01:54:16 +0000 (04:54 +0300)]
Template group.

10 years agoPortable count.
Maxim Mamontov [Sat, 25 Oct 2014 01:53:55 +0000 (04:53 +0300)]
Portable count.

10 years agoPortable mkdir.
Maxim Mamontov [Sat, 25 Oct 2014 01:53:27 +0000 (04:53 +0300)]
Portable mkdir.

10 years agoAdded services moc.
Maxim Mamontov [Fri, 24 Oct 2014 02:57:11 +0000 (05:57 +0300)]
Added services moc.

10 years agoMoved plugin-related things into a separate file.
Maxim Mamontov [Fri, 24 Oct 2014 02:56:36 +0000 (05:56 +0300)]
Moved plugin-related things into a separate file.

10 years agoAdjusted tests.
Maxim Mamontov [Sat, 18 Oct 2014 20:10:44 +0000 (23:10 +0300)]
Adjusted tests.

10 years agoFixed return value for serach methods.
Maxim Mamontov [Sat, 18 Oct 2014 20:10:25 +0000 (23:10 +0300)]
Fixed return value for serach methods.

10 years agoProcess services on daily basis.
Maxim Mamontov [Sat, 18 Oct 2014 20:09:56 +0000 (23:09 +0300)]
Process services on daily basis.

10 years agoImplemented charges for services.
Maxim Mamontov [Sat, 18 Oct 2014 20:08:01 +0000 (23:08 +0300)]
Implemented charges for services.

10 years agoMinor changes.
Maxim Mamontov [Fri, 17 Oct 2014 10:51:21 +0000 (13:51 +0300)]
Minor changes.

10 years agoAdded Makefile for tests for Darwin platform.
Maxim Mamontov [Fri, 17 Oct 2014 10:06:21 +0000 (13:06 +0300)]
Added Makefile for tests for Darwin platform.

10 years agoMoved common initialization code to a separate class method.
Maxim Mamontov [Fri, 17 Oct 2014 10:05:56 +0000 (13:05 +0300)]
Moved common initialization code to a separate class method.

10 years agoBeautified test output.
Maxim Mamontov [Fri, 10 Oct 2014 22:30:05 +0000 (01:30 +0300)]
Beautified test output.

10 years agoUse one tab in show config.
Maxim Mamontov [Fri, 10 Oct 2014 22:00:31 +0000 (01:00 +0300)]
Use one tab in show config.

10 years agoShow config only on demand.
Maxim Mamontov [Fri, 10 Oct 2014 21:59:27 +0000 (00:59 +0300)]
Show config only on demand.

10 years agoShow working dir in tests.
Maxim Mamontov [Fri, 10 Oct 2014 21:37:58 +0000 (00:37 +0300)]
Show working dir in tests.

10 years agoFixed message about stargazer PID.
Maxim Mamontov [Fri, 10 Oct 2014 21:37:37 +0000 (00:37 +0300)]
Fixed message about stargazer PID.

10 years agoUse common functions in admin tests and service tests.
Maxim Mamontov [Fri, 10 Oct 2014 21:37:00 +0000 (00:37 +0300)]
Use common functions in admin tests and service tests.

10 years agoAdded common functions for tests.
Maxim Mamontov [Fri, 10 Oct 2014 21:36:37 +0000 (00:36 +0300)]
Added common functions for tests.

10 years agoFixed services test.
Maxim Mamontov [Fri, 10 Oct 2014 20:00:33 +0000 (23:00 +0300)]
Fixed services test.

10 years agoAdded changing permissions.
Maxim Mamontov [Fri, 10 Oct 2014 19:57:28 +0000 (22:57 +0300)]
Added changing permissions.

10 years agoRemoved unexpected printf from servconf library.
Maxim Mamontov [Fri, 10 Oct 2014 19:57:09 +0000 (22:57 +0300)]
Removed unexpected printf from servconf library.

10 years agoUse separate etst files for subsystems.
Maxim Mamontov [Fri, 10 Oct 2014 19:47:04 +0000 (22:47 +0300)]
Use separate etst files for subsystems.

10 years agoUniform error reporting for services managment.
Maxim Mamontov [Fri, 10 Oct 2014 19:46:17 +0000 (22:46 +0300)]
Uniform error reporting for services managment.

10 years agoClone from local repo.
Maxim Mamontov [Fri, 10 Oct 2014 19:15:49 +0000 (22:15 +0300)]
Clone from local repo.

10 years agoParse admins list.
Maxim Mamontov [Fri, 10 Oct 2014 19:15:22 +0000 (22:15 +0300)]
Parse admins list.

10 years agoAdded functional test framework.
Maxim Mamontov [Sat, 4 Oct 2014 20:13:57 +0000 (23:13 +0300)]
Added functional test framework.

10 years agoDon't build projects in debug mode.
Maxim Mamontov [Sat, 4 Oct 2014 08:09:07 +0000 (11:09 +0300)]
Don't build projects in debug mode.

10 years agoFixed compilation under CLang/FreeBSD10.
Maxim Mamontov [Fri, 3 Oct 2014 19:00:05 +0000 (22:00 +0300)]
Fixed compilation under CLang/FreeBSD10.

10 years agoRemoved "using namespace std;" from sgauth.
Maxim Mamontov [Fri, 3 Oct 2014 09:46:35 +0000 (12:46 +0300)]
Removed "using namespace std;" from sgauth.

10 years agoAllowed to build on Darwin.
Maxim Mamontov [Fri, 3 Oct 2014 09:46:21 +0000 (12:46 +0300)]
Allowed to build on Darwin.

10 years agoRemoved "using namespace std;" from sgconv.
Maxim Mamontov [Fri, 3 Oct 2014 09:36:02 +0000 (12:36 +0300)]
Removed "using namespace std;" from sgconv.

10 years agoAllowed to build on Darwin.
Maxim Mamontov [Fri, 3 Oct 2014 09:35:49 +0000 (12:35 +0300)]
Allowed to build on Darwin.

10 years agoMinor change in stg's Makefile.
Maxim Mamontov [Fri, 3 Oct 2014 09:29:53 +0000 (12:29 +0300)]
Minor change in stg's Makefile.

10 years agoRemoved "using namespace std;" from rscriptd.
Maxim Mamontov [Fri, 3 Oct 2014 09:29:29 +0000 (12:29 +0300)]
Removed "using namespace std;" from rscriptd.

10 years agoAllowed to build on Darwin.
Maxim Mamontov [Fri, 3 Oct 2014 09:29:16 +0000 (12:29 +0300)]
Allowed to build on Darwin.

10 years agoRemoved parser.cpp.
Maxim Mamontov [Fri, 3 Oct 2014 09:19:55 +0000 (12:19 +0300)]
Removed parser.cpp.

10 years agoRemoved "using namespace std;" from parser.cpp.
Maxim Mamontov [Fri, 3 Oct 2014 09:19:08 +0000 (12:19 +0300)]
Removed "using namespace std;" from parser.cpp.

10 years agoRemoved "using namespace std;" from stargazer.
Maxim Mamontov [Fri, 3 Oct 2014 09:16:14 +0000 (12:16 +0300)]
Removed "using namespace std;" from stargazer.