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

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

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

9 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.

9 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.

10 years agoAdded SERVICES::Find for resetable value.
Maxim Mamontov [Fri, 3 Oct 2014 09:07:49 +0000 (12:07 +0300)]
Added SERVICES::Find for resetable value.

10 years agoFixed tag named, keep old values using Splice.
Maxim Mamontov [Fri, 3 Oct 2014 09:07:02 +0000 (12:07 +0300)]
Fixed tag named, keep old values using Splice.

10 years agoFixed compilaton errors.
Maxim Mamontov [Fri, 3 Oct 2014 09:02:30 +0000 (12:02 +0300)]
Fixed compilaton errors.

10 years agoAdded resetable utils for attributes.
Maxim Mamontov [Fri, 3 Oct 2014 09:01:52 +0000 (12:01 +0300)]
Added resetable utils for attributes.

10 years agoSet LC_NUMERIC to C, changes service serialization format.
Maxim Mamontov [Fri, 3 Oct 2014 09:01:13 +0000 (12:01 +0300)]
Set LC_NUMERIC to C, changes service serialization format.

10 years agoFormat pay day as int rather then char.
Maxim Mamontov [Fri, 3 Oct 2014 09:00:24 +0000 (12:00 +0300)]
Format pay day as int rather then char.

10 years agoRegister services and corporations within sgconfig plugin.
Maxim Mamontov [Sun, 28 Sep 2014 16:08:03 +0000 (19:08 +0300)]
Register services and corporations within sgconfig plugin.

10 years agoBetter error reporting in netunit.cpp.
Maxim Mamontov [Sun, 28 Sep 2014 16:07:47 +0000 (19:07 +0300)]
Better error reporting in netunit.cpp.

10 years agoRemoved "alpha" from version.
Maxim Mamontov [Sun, 28 Sep 2014 15:47:51 +0000 (18:47 +0300)]
Removed "alpha" from version.

10 years agoRemoved unused constant from netunit.cpp.
Maxim Mamontov [Sun, 28 Sep 2014 15:46:14 +0000 (18:46 +0300)]
Removed unused constant from netunit.cpp.

10 years agoRemoved unused constants.
Maxim Mamontov [Sun, 28 Sep 2014 15:45:07 +0000 (18:45 +0300)]
Removed unused constants.

10 years agoRemoved unused m_res class member.
Maxim Mamontov [Sun, 28 Sep 2014 15:44:45 +0000 (18:44 +0300)]
Removed unused m_res class member.

10 years agoRemoved old InitEncrypt function.
Maxim Mamontov [Sun, 28 Sep 2014 15:44:26 +0000 (18:44 +0300)]
Removed old InitEncrypt function.

10 years agoBetter names for service iterators.
Maxim Mamontov [Sun, 28 Sep 2014 15:37:30 +0000 (18:37 +0300)]
Better names for service iterators.

10 years agoImplemented services parser.
Maxim Mamontov [Sun, 28 Sep 2014 15:35:56 +0000 (18:35 +0300)]
Implemented services parser.

10 years agoProper checks for libs.
Maxim Mamontov [Sun, 28 Sep 2014 15:35:20 +0000 (18:35 +0300)]
Proper checks for libs.

10 years agoInitialize m_store in ctor.
Maxim Mamontov [Sat, 27 Sep 2014 22:47:22 +0000 (01:47 +0300)]
Initialize m_store in ctor.

10 years agoFixed pointer arithmentics in crypto.lib.
Maxim Mamontov [Sat, 27 Sep 2014 22:05:07 +0000 (01:05 +0300)]
Fixed pointer arithmentics in crypto.lib.

10 years agoAdded "done" signature for parsers.
Maxim Mamontov [Sat, 27 Sep 2014 21:44:36 +0000 (00:44 +0300)]
Added "done" signature for parsers.

10 years agoAdded keepalive setter.
Maxim Mamontov [Sat, 27 Sep 2014 21:44:10 +0000 (00:44 +0300)]
Added keepalive setter.

10 years agoSolved some TODOs.
Maxim Mamontov [Tue, 23 Sep 2014 15:17:37 +0000 (18:17 +0300)]
Solved some TODOs.

10 years agoAdded long string for tests.
Maxim Mamontov [Mon, 22 Sep 2014 20:30:43 +0000 (23:30 +0300)]
Added long string for tests.

10 years agoFinished new implementation of sgconfig plugin.
Maxim Mamontov [Mon, 22 Sep 2014 20:28:31 +0000 (23:28 +0300)]
Finished new implementation of sgconfig plugin.

10 years agoBetter error reporting from plugin runner.
Maxim Mamontov [Mon, 22 Sep 2014 20:28:06 +0000 (23:28 +0300)]
Better error reporting from plugin runner.

10 years agoAnother changes on API.
Maxim Mamontov [Mon, 22 Sep 2014 20:27:45 +0000 (23:27 +0300)]
Another changes on API.

10 years agoAdded missing include.
Maxim Mamontov [Mon, 22 Sep 2014 20:27:29 +0000 (23:27 +0300)]
Added missing include.

10 years agoFixes due to changes in API.
Maxim Mamontov [Mon, 22 Sep 2014 20:26:58 +0000 (23:26 +0300)]
Fixes due to changes in API.

10 years agoFixed parsing admins in srvconf.
Maxim Mamontov [Mon, 22 Sep 2014 20:26:29 +0000 (23:26 +0300)]
Fixed parsing admins in srvconf.

10 years agoFixed srvconf due to changes in BFStream.
Maxim Mamontov [Mon, 22 Sep 2014 20:25:58 +0000 (23:25 +0300)]
Fixed srvconf due to changes in BFStream.

10 years agoFixed BFStream work with large strings, allowed null put on last.
Maxim Mamontov [Mon, 22 Sep 2014 20:25:10 +0000 (23:25 +0300)]
Fixed BFStream work with large strings, allowed null put on last.

10 years agoImplemented parser registry.
Maxim Mamontov [Mon, 22 Sep 2014 12:02:22 +0000 (15:02 +0300)]
Implemented parser registry.

10 years agoAdded parser factories.
Maxim Mamontov [Mon, 22 Sep 2014 09:29:06 +0000 (12:29 +0300)]
Added parser factories.

10 years agoHandle failures in Conn ctor.
Maxim Mamontov [Sun, 21 Sep 2014 20:14:24 +0000 (23:14 +0300)]
Handle failures in Conn ctor.

10 years agoBrand new connection handling.
Maxim Mamontov [Sun, 21 Sep 2014 20:09:57 +0000 (23:09 +0300)]
Brand new connection handling.

10 years agoMinor changes in plugin interface.
Maxim Mamontov [Sun, 21 Sep 2014 20:09:22 +0000 (23:09 +0300)]
Minor changes in plugin interface.

10 years agoRemoved rsconf.cpp.
Maxim Mamontov [Sun, 21 Sep 2014 20:08:43 +0000 (23:08 +0300)]
Removed rsconf.cpp.

10 years agoRemoved unused stuff.
Maxim Mamontov [Thu, 18 Sep 2014 20:06:51 +0000 (23:06 +0300)]
Removed unused stuff.

10 years agoUser parser refactoring.
Maxim Mamontov [Thu, 18 Sep 2014 19:44:42 +0000 (22:44 +0300)]
User parser refactoring.

10 years agoUse netinet/in.h instead of linux/in.h.
Maxim Mamontov [Thu, 18 Sep 2014 19:44:10 +0000 (22:44 +0300)]
Use netinet/in.h instead of linux/in.h.

10 years agoAdded a function to check user existance.
Maxim Mamontov [Thu, 18 Sep 2014 19:43:34 +0000 (22:43 +0300)]
Added a function to check user existance.

10 years agoAdjusted Makefile due to new source files.
Maxim Mamontov [Wed, 17 Sep 2014 06:38:10 +0000 (09:38 +0300)]
Adjusted Makefile due to new source files.

10 years agoFixed compilation errors.
Maxim Mamontov [Wed, 17 Sep 2014 06:37:58 +0000 (09:37 +0300)]
Fixed compilation errors.

10 years agoReduced scopes plus graceful connection shutdown.
Maxim Mamontov [Wed, 17 Sep 2014 06:37:29 +0000 (09:37 +0300)]
Reduced scopes plus graceful connection shutdown.

10 years agoAdded client connection class into sgconfig.
Maxim Mamontov [Wed, 17 Sep 2014 06:36:51 +0000 (09:36 +0300)]
Added client connection class into sgconfig.

10 years agoSplit sgconfig parsers into seaparate files.
Maxim Mamontov [Wed, 17 Sep 2014 06:36:24 +0000 (09:36 +0300)]
Split sgconfig parsers into seaparate files.

10 years agoFixed compilation with new TRAFF_TYPE.
Maxim Mamontov [Wed, 17 Sep 2014 06:34:59 +0000 (09:34 +0300)]
Fixed compilation with new TRAFF_TYPE.

10 years agoMinor change in BFStream.
Maxim Mamontov [Wed, 17 Sep 2014 06:34:18 +0000 (09:34 +0300)]
Minor change in BFStream.

10 years agoAdded const qualifier.
Maxim Mamontov [Wed, 17 Sep 2014 06:33:12 +0000 (09:33 +0300)]
Added const qualifier.

10 years agoTraff type become an enumeration in scope of TARIFF.
Maxim Mamontov [Wed, 17 Sep 2014 06:32:40 +0000 (09:32 +0300)]
Traff type become an enumeration in scope of TARIFF.

10 years agoTARIFFS::GetTariffsData become constant.
Maxim Mamontov [Wed, 17 Sep 2014 06:31:49 +0000 (09:31 +0300)]
TARIFFS::GetTariffsData become constant.

10 years agoCOmpose CXXFLAGS for tests correctly.
Maxim Mamontov [Sat, 13 Sep 2014 22:05:25 +0000 (01:05 +0300)]
COmpose CXXFLAGS for tests correctly.