]>
git.stg.codes - stg.git/log
Maxim Mamontov [Sun, 28 Sep 2014 15:44:45 +0000 (18:44 +0300)]
Removed unused m_res class member.
Maxim Mamontov [Sun, 28 Sep 2014 15:44:26 +0000 (18:44 +0300)]
Removed old InitEncrypt function.
Maxim Mamontov [Sun, 28 Sep 2014 15:35:20 +0000 (18:35 +0300)]
Proper checks for libs.
Conflicts:
projects/stargazer/build
Maxim Mamontov [Sat, 27 Sep 2014 22:47:22 +0000 (01:47 +0300)]
Initialize m_store in ctor.
Maxim Mamontov [Sat, 27 Sep 2014 22:05:07 +0000 (01:05 +0300)]
Fixed pointer arithmentics in crypto.lib.
Maxim Mamontov [Sat, 27 Sep 2014 21:44:10 +0000 (00:44 +0300)]
Added keepalive setter.
Maxim Mamontov [Tue, 23 Sep 2014 15:17:37 +0000 (18:17 +0300)]
Solved some TODOs.
Conflicts:
projects/stargazer/plugins/configuration/sgconfig/parser_user_info.cpp
projects/stargazer/plugins/configuration/sgconfig/parser_user_info.h
Maxim Mamontov [Mon, 22 Sep 2014 20:30:43 +0000 (23:30 +0300)]
Added long string for tests.
Maxim Mamontov [Mon, 22 Sep 2014 20:28:31 +0000 (23:28 +0300)]
Finished new implementation of sgconfig plugin.
Maxim Mamontov [Mon, 22 Sep 2014 20:28:06 +0000 (23:28 +0300)]
Better error reporting from plugin runner.
Maxim Mamontov [Mon, 22 Sep 2014 20:27:29 +0000 (23:27 +0300)]
Added missing include.
Maxim Mamontov [Mon, 22 Sep 2014 20:26:58 +0000 (23:26 +0300)]
Fixes due to changes in API.
Conflicts:
stglibs/srvconf.lib/parsers/chg_tariff.cpp
stglibs/srvconf.lib/parsers/get_tariff.cpp
Maxim Mamontov [Mon, 22 Sep 2014 20:25:10 +0000 (23:25 +0300)]
Fixed BFStream work with large strings, allowed null put on last.
Maxim Mamontov [Mon, 22 Sep 2014 12:02:22 +0000 (15:02 +0300)]
Implemented parser registry.
Conflicts:
projects/stargazer/plugins/configuration/sgconfig/parser_user_info.cpp
projects/stargazer/plugins/configuration/sgconfig/parser_user_info.h
Maxim Mamontov [Mon, 22 Sep 2014 09:29:06 +0000 (12:29 +0300)]
Added parser factories.
Conflicts:
projects/stargazer/plugins/configuration/sgconfig/parser_user_info.h
Maxim Mamontov [Sun, 21 Sep 2014 20:14:24 +0000 (23:14 +0300)]
Handle failures in Conn ctor.
Maxim Mamontov [Sun, 21 Sep 2014 20:09:57 +0000 (23:09 +0300)]
Brand new connection handling.
Conflicts:
projects/stargazer/plugins/configuration/sgconfig/configproto.cpp
projects/stargazer/plugins/configuration/sgconfig/configproto.h
Maxim Mamontov [Sun, 21 Sep 2014 20:08:43 +0000 (23:08 +0300)]
Removed rsconf.cpp.
Conflicts:
projects/stargazer/plugins/configuration/sgconfig/rsconf.cpp
Maxim Mamontov [Thu, 18 Sep 2014 19:44:10 +0000 (22:44 +0300)]
Use netinet/in.h instead of linux/in.h.
Maxim Mamontov [Wed, 17 Sep 2014 06:38:10 +0000 (09:38 +0300)]
Adjusted Makefile due to new source files.
Conflicts:
projects/stargazer/plugins/configuration/sgconfig/Makefile
Maxim Mamontov [Wed, 17 Sep 2014 06:37:58 +0000 (09:37 +0300)]
Fixed compilation errors.
Maxim Mamontov [Wed, 17 Sep 2014 06:37:29 +0000 (09:37 +0300)]
Reduced scopes plus graceful connection shutdown.
Maxim Mamontov [Wed, 17 Sep 2014 06:36:51 +0000 (09:36 +0300)]
Added client connection class into sgconfig.
Maxim Mamontov [Sun, 21 Sep 2014 20:09:22 +0000 (23:09 +0300)]
Minor changes in plugin interface.
Maxim Mamontov [Thu, 18 Sep 2014 20:06:51 +0000 (23:06 +0300)]
Removed unused stuff.
Conflicts:
projects/stargazer/plugins/configuration/sgconfig/configproto.cpp
projects/stargazer/plugins/configuration/sgconfig/parser.h
projects/stargazer/plugins/configuration/sgconfig/parser_user_info.cpp
projects/stargazer/plugins/configuration/sgconfig/parser_user_info.h
Maxim Mamontov [Thu, 18 Sep 2014 19:44:42 +0000 (22:44 +0300)]
User parser refactoring.
Maxim Mamontov [Thu, 18 Sep 2014 19:43:34 +0000 (22:43 +0300)]
Added a function to check user existance.
Maxim Mamontov [Wed, 17 Sep 2014 06:36:24 +0000 (09:36 +0300)]
Split sgconfig parsers into seaparate files.
Conflicts:
projects/stargazer/plugins/configuration/sgconfig/parser.cpp
projects/stargazer/plugins/configuration/sgconfig/parser.h
projects/stargazer/plugins/configuration/sgconfig/parser_user_info.cpp
projects/stargazer/plugins/configuration/sgconfig/parser_user_info.h
Maxim Mamontov [Wed, 17 Sep 2014 06:34:59 +0000 (09:34 +0300)]
Fixed compilation with new TRAFF_TYPE.
Maxim Mamontov [Wed, 17 Sep 2014 06:34:18 +0000 (09:34 +0300)]
Minor change in BFStream.
Maxim Mamontov [Wed, 17 Sep 2014 06:33:12 +0000 (09:33 +0300)]
Added const qualifier.
Maxim Mamontov [Wed, 17 Sep 2014 06:32:40 +0000 (09:32 +0300)]
Traff type become an enumeration in scope of TARIFF.
Maxim Mamontov [Wed, 17 Sep 2014 06:31:49 +0000 (09:31 +0300)]
TARIFFS::GetTariffsData become constant.
Maxim Mamontov [Sat, 13 Sep 2014 22:05:25 +0000 (01:05 +0300)]
COmpose CXXFLAGS for tests correctly.
Maxim Mamontov [Sat, 13 Sep 2014 22:01:44 +0000 (01:01 +0300)]
Handle string for encryption properly.
Maxim Mamontov [Sat, 13 Sep 2014 22:01:14 +0000 (01:01 +0300)]
Store parser answer in configproto.
Maxim Mamontov [Sat, 13 Sep 2014 22:00:44 +0000 (01:00 +0300)]
GetPlugin should be extern "C".
Maxim Mamontov [Sat, 13 Sep 2014 21:58:03 +0000 (00:58 +0300)]
Fixed bfstream test compilation.
Maxim Mamontov [Sat, 13 Sep 2014 21:57:22 +0000 (00:57 +0300)]
Added special function to read/write all data (for TCP).
Maxim Mamontov [Sat, 13 Sep 2014 21:56:48 +0000 (00:56 +0300)]
Handle short string correctly in blowfish encription.
Maxim Mamontov [Sat, 13 Sep 2014 21:55:55 +0000 (00:55 +0300)]
Handle callback errors in bfstreams.
Maxim Mamontov [Sun, 27 Jul 2014 17:06:32 +0000 (20:06 +0300)]
Some minor changes in bf stream.
Maxim Mamontov [Thu, 26 Jun 2014 13:38:36 +0000 (16:38 +0300)]
Fixed encryption in srvconf.lib
Maxim Mamontov [Thu, 26 Jun 2014 13:24:21 +0000 (16:24 +0300)]
Always think about \0 and block boundry during encryption.
Maxim Mamontov [Sun, 22 Jun 2014 11:41:06 +0000 (14:41 +0300)]
Added stream encryption/decryption tests.
Maxim Mamontov [Sat, 21 Jun 2014 20:39:36 +0000 (23:39 +0300)]
Added stream encryption/decryption.
Maxim Mamontov [Sat, 21 Jun 2014 20:38:59 +0000 (23:38 +0300)]
Some changes in crypto.lib. Added tests.
Conflicts:
projects/stargazer/plugins/configuration/sgconfig/rsconf.cpp
stglibs/srvconf.lib/netunit.cpp
Maxim Mamontov [Sat, 21 Jun 2014 20:37:39 +0000 (23:37 +0300)]
Ignore .d files.
Maxim Mamontov [Sat, 21 Jun 2014 20:36:56 +0000 (23:36 +0300)]
Fixed tests.
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
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
Maxim Mamontov [Fri, 20 Jun 2014 22:11:25 +0000 (01:11 +0300)]
Added modification time for session traffic.
Maxim Mamontov [Fri, 20 Jun 2014 22:10:48 +0000 (01:10 +0300)]
Added const version of GetPointer.
Maxim Mamontov [Fri, 20 Jun 2014 22:10:21 +0000 (01:10 +0300)]
Added full string encryption.
Maxim Mamontov [Fri, 20 Jun 2014 18:38:52 +0000 (21:38 +0300)]
Minor changes.
Maxim Mamontov [Fri, 20 Jun 2014 18:33:20 +0000 (21:33 +0300)]
Removed unused variables.
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
Maxim Mamontov [Mon, 9 Jun 2014 09:41:27 +0000 (12:41 +0300)]
Use unicode for messages. Convert before sending.
Maxim Mamontov [Mon, 9 Jun 2014 09:16:49 +0000 (12:16 +0300)]
Simplified STG_LOCKER.
Maxim Mamontov [Mon, 9 Jun 2014 08:17:33 +0000 (11:17 +0300)]
More fixes after cppcheck.
Maxim Mamontov [Sun, 8 Jun 2014 21:06:15 +0000 (00:06 +0300)]
Fixed compilation issue.
Conflicts:
projects/stargazer/build
Maxim Mamontov [Sun, 8 Jun 2014 20:56:46 +0000 (23:56 +0300)]
Another set of minor 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
Maxim Mamontov [Sun, 8 Jun 2014 20:35:43 +0000 (23:35 +0300)]
Removed obsolete stuff.
Maxim Mamontov [Sun, 8 Jun 2014 19:06:32 +0000 (22:06 +0300)]
Merge branch 'naffanya-dev'
Maxim Mamontov [Sun, 8 Jun 2014 10:57:57 +0000 (13:57 +0300)]
Fixed build.
Maxim Mamontov [Sun, 8 Jun 2014 10:37:50 +0000 (13:37 +0300)]
Added configuration checks.
Conflicts:
projects/stargazer/build
Maxim Mamontov [Sun, 8 Jun 2014 10:33:42 +0000 (13:33 +0300)]
Implemented NFQ capturing.
Maxim Mamontov [Sun, 8 Jun 2014 09:54:52 +0000 (12:54 +0300)]
Small fixes.
Conflicts:
projects/stargazer/plugins/capture/pcap/pcap_cap.cpp
Maxim Mamontov [Sun, 8 Jun 2014 09:46:20 +0000 (12:46 +0300)]
Initial adding of netfilter_queue capturer.
Maxim Mamontov [Thu, 29 May 2014 14:36:54 +0000 (17:36 +0300)]
Fixed x2str for doubles.
Maxim Mamontov [Thu, 29 May 2014 14:36:26 +0000 (17:36 +0300)]
Fixed Split.
Maxim Mamontov [Thu, 29 May 2014 10:20:51 +0000 (13:20 +0300)]
Added Split utility.
Maxim Mamontov [Thu, 29 May 2014 10:20:26 +0000 (13:20 +0300)]
Added Splice method for resetables.
Maxim Mamontov [Sun, 18 May 2014 20:30:57 +0000 (23:30 +0300)]
Support all next FreeBSD versions by default.
Maxim Mamontov [Tue, 25 Mar 2014 19:21:27 +0000 (21:21 +0200)]
Pass debug flags to CFLAGS.
Maxim Mamontov [Mon, 17 Mar 2014 19:19:46 +0000 (21:19 +0200)]
Fixed stupid things in MySQL backend.
Maxim Mamontov [Mon, 6 Jan 2014 19:18:55 +0000 (21:18 +0200)]
Fixed merge issues.
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
Maxim Mamontov [Thu, 14 Nov 2013 20:01:45 +0000 (22:01 +0200)]
Merge branch 'log-unauth-reasons'
Conflicts:
projects/stargazer/user_impl.cpp
Maxim Mamontov [Sat, 9 Nov 2013 13:40:24 +0000 (15:40 +0200)]
Removed some conflicting macros.
Maxim Mamontov [Sat, 9 Nov 2013 12:25:17 +0000 (14:25 +0200)]
Merge branch 'fix-gts-auth-errors'
Maxim Mamontov [Sun, 20 Oct 2013 08:44:41 +0000 (11:44 +0300)]
Added x2str for double type.
Maxim Mamontov [Tue, 8 Oct 2013 16:14:50 +0000 (19:14 +0300)]
USER_STAT refactoring.
Maxim Mamontov [Tue, 8 Oct 2013 16:01:48 +0000 (19:01 +0300)]
Changed USER_STAT_RES.
Maxim Mamontov [Tue, 8 Oct 2013 15:51:17 +0000 (18:51 +0300)]
Pre-allocate DIR_TRAFF container with DIR_NUM items.
Maxim Mamontov [Tue, 8 Oct 2013 15:19:42 +0000 (18:19 +0300)]
Added DIR_TRAFF_RES, refactored DIR_TRAFF.
Maxim Mamontov [Mon, 7 Oct 2013 21:28:02 +0000 (00:28 +0300)]
Return value from assignment operator.
Conflicts:
include/stg/admin_conf.h
Maxim Mamontov [Mon, 7 Oct 2013 20:36:59 +0000 (23:36 +0300)]
Use ::tolower from cctype in std::transform.
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
Maxim Mamontov [Mon, 7 Oct 2013 20:25:25 +0000 (23:25 +0300)]
Small refactoring in RESETABLE.
Maxim Mamontov [Fri, 23 Aug 2013 18:59:58 +0000 (21:59 +0300)]
Merge branch 'naffanya-dev'
Maxim Mamontov [Mon, 5 Aug 2013 17:45:43 +0000 (20:45 +0300)]
Re-organized includes.
Maxim Mamontov [Sun, 7 Dec 2014 12:33:47 +0000 (14:33 +0200)]
Added TODO to sgconf.
Maxim Mamontov [Sun, 7 Dec 2014 12:29:56 +0000 (14:29 +0200)]
Some small changes in srvconf.lib.
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.
Maxim Mamontov [Sun, 23 Nov 2014 20:51:20 +0000 (22:51 +0200)]
Fixed crash on problems with loading plugins.
Maxim Mamontov [Sun, 23 Nov 2014 09:57:21 +0000 (11:57 +0200)]
Added test for ServerInfo.
Maxim Mamontov [Sun, 23 Nov 2014 09:47:03 +0000 (11:47 +0200)]
Added --server-info parameter for sgconf.
Maxim Mamontov [Sun, 23 Nov 2014 09:46:39 +0000 (11:46 +0200)]
Fixed ServerInfo parser.