]> git.stg.codes - stg.git/log
stg.git
10 years agoMerge branch 'master' into naffanya-dev
Naffanya [Thu, 10 Apr 2014 00:39:50 +0000 (03:39 +0300)]
Merge branch 'master' into naffanya-dev

10 years agoRename tariff to tariffName
Naffanya [Thu, 10 Apr 2014 00:39:03 +0000 (03:39 +0300)]
Rename tariff to tariffName

10 years agoMove abbility get value 'tarrif' from parameter's name 'tarrifName' to GetParamValue
Naffanya [Fri, 4 Apr 2014 22:01:40 +0000 (01:01 +0300)]
Move abbility get value 'tarrif' from parameter's name 'tarrifName' to GetParamValue

10 years agoAdded COMMAND_FUNCTOR and COMMAND_ACTION.
Maxim Mamontov [Wed, 2 Apr 2014 18:57:29 +0000 (21:57 +0300)]
Added COMMAND_FUNCTOR and COMMAND_ACTION.

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

10 years agoChange %i to %d
Naffanya [Mon, 24 Mar 2014 23:33:41 +0000 (01:33 +0200)]
Change %i to %d

10 years agoAdd send message to log about excess length of params
Naffanya [Wed, 19 Mar 2014 23:12:09 +0000 (01:12 +0200)]
Add send message to log about excess length of params

10 years agoMerge branch 'master' into naffanya-dev
Naffanya [Mon, 17 Mar 2014 21:08:43 +0000 (23:08 +0200)]
Merge branch 'master' into naffanya-dev

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

10 years agoRename 'new tariff' to 'next tariff' and remove conversion std::string to char* in...
Naffanya [Mon, 17 Mar 2014 16:16:19 +0000 (18:16 +0200)]
Rename 'new tariff' to 'next tariff' and remove conversion std::string to char* in rscript.cpp in function call GetParamValue

10 years agoAdd ability to get of value of parameter 'tariff' with name 'tariffName'
Naffanya [Tue, 18 Feb 2014 22:09:24 +0000 (00:09 +0200)]
Add ability to get of value of parameter 'tariff' with name 'tariffName'

10 years agoChange map<std::string, USER_PROPERTY_BASE *> on REGISTRY in USER_PROPERTY_LOGGED
Naffanya [Thu, 6 Feb 2014 22:10:10 +0000 (00:10 +0200)]
Change map<std::string, USER_PROPERTY_BASE *> on REGISTRY in USER_PROPERTY_LOGGED

10 years agoAdded XML pretty-printer.
Maxim Mamontov [Thu, 6 Feb 2014 06:42:54 +0000 (08:42 +0200)]
Added XML pretty-printer.

10 years agoMake type REGISTRY available in all module
Naffanya [Tue, 4 Feb 2014 19:29:36 +0000 (21:29 +0200)]
Make type REGISTRY available in all module

10 years agoAdd type REGISTRY in USER_PROPERTIES
Naffanya [Sun, 2 Feb 2014 20:39:57 +0000 (22:39 +0200)]
Add type REGISTRY in USER_PROPERTIES

10 years agoCorrecting case insensitive search
Naffanya [Fri, 31 Jan 2014 15:44:31 +0000 (17:44 +0200)]
Correcting case insensitive search

10 years agoCorrecting case insensitive search
Naffanya [Thu, 30 Jan 2014 19:57:13 +0000 (21:57 +0200)]
Correcting case insensitive search

10 years agoSearch parameter in map case insensitive
Naffanya [Wed, 29 Jan 2014 21:04:05 +0000 (23:04 +0200)]
Search parameter in map case insensitive

10 years agoRename parameter's names
Naffanya [Tue, 28 Jan 2014 22:43:00 +0000 (00:43 +0200)]
Rename parameter's names

10 years agoAdded raw XML cli options.
Maxim Mamontov [Sun, 12 Jan 2014 16:44:36 +0000 (18:44 +0200)]
Added raw XML cli options.

10 years agoCorrecting verification exist parameter
Naffanya [Sat, 11 Jan 2014 21:45:42 +0000 (23:45 +0200)]
Correcting verification exist parameter

10 years agoFixed error processing.
Maxim Mamontov [Tue, 7 Jan 2014 17:30:25 +0000 (19:30 +0200)]
Fixed error processing.

10 years agoImplemented XDG-compliant config file reading.
Maxim Mamontov [Tue, 7 Jan 2014 17:25:40 +0000 (19:25 +0200)]
Implemented XDG-compliant config file reading.

10 years agoTemporary added config dump.
Maxim Mamontov [Tue, 7 Jan 2014 16:07:21 +0000 (18:07 +0200)]
Temporary added config dump.

10 years agoAdded config serializer.
Maxim Mamontov [Tue, 7 Jan 2014 16:07:08 +0000 (18:07 +0200)]
Added config serializer.

10 years agoRemoved unused code.
Maxim Mamontov [Tue, 7 Jan 2014 16:06:52 +0000 (18:06 +0200)]
Removed unused code.

10 years agoAdded missing include.
Maxim Mamontov [Tue, 7 Jan 2014 15:48:26 +0000 (17:48 +0200)]
Added missing include.

10 years agoAdded assignment operator for SGCONF::OPTION.
Maxim Mamontov [Tue, 7 Jan 2014 15:48:05 +0000 (17:48 +0200)]
Added assignment operator for SGCONF::OPTION.

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

10 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

10 years agoAdd verification exist parametr
Naffanya [Tue, 31 Dec 2013 08:11:37 +0000 (10:11 +0200)]
Add verification exist parametr

11 years agoRemoving GetUserParam from rscript
Naffanya [Sun, 8 Dec 2013 17:01:54 +0000 (19:01 +0200)]
Removing GetUserParam from rscript

11 years agoCorrecting small mistakes
Naffanya [Sun, 1 Dec 2013 21:35:05 +0000 (23:35 +0200)]
Correcting small mistakes

11 years agoReverted some unvanted changes.
Maxim Mamontov [Wed, 27 Nov 2013 19:52:24 +0000 (21:52 +0200)]
Reverted some unvanted changes.

11 years agoImplemented daily fee charge with backward compatibility.
Maxim Mamontov [Wed, 27 Nov 2013 19:46:11 +0000 (21:46 +0200)]
Implemented daily fee charge with backward compatibility.

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

11 years agoAdded parameter description.
Maxim Mamontov [Thu, 14 Nov 2013 20:26:21 +0000 (22:26 +0200)]
Added parameter description.

11 years agoMerge branch 'master' of gitorious.org:stg/stg
Maxim Mamontov [Thu, 14 Nov 2013 20:01:56 +0000 (22:01 +0200)]
Merge branch 'master' of gitorious.org:stg/stg

11 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

11 years agoAdded migration scripts for new daily fee algo.
Maxim Mamontov [Thu, 14 Nov 2013 19:54:17 +0000 (21:54 +0200)]
Added migration scripts for new daily fee algo.

11 years agoImplemented IA protocol errors logging.
Maxim Mamontov [Thu, 14 Nov 2013 19:52:16 +0000 (21:52 +0200)]
Implemented IA protocol errors logging.

11 years agoFixed typo.
Maxim Mamontov [Thu, 14 Nov 2013 19:51:58 +0000 (21:51 +0200)]
Fixed typo.

11 years agoAll right in GetParamValue and GetPropertyValue
Naffanya [Tue, 12 Nov 2013 23:57:01 +0000 (01:57 +0200)]
All right in GetParamValue and GetPropertyValue

11 years agoCorrecting error data transfer in method GetParamValue
Naffanya [Tue, 12 Nov 2013 16:31:13 +0000 (18:31 +0200)]
Correcting error data transfer in method GetParamValue

11 years agoBeautified error notification.
Maxim Mamontov [Sat, 9 Nov 2013 21:06:43 +0000 (23:06 +0200)]
Beautified error notification.

11 years agoImplemented command line options parsing.
Maxim Mamontov [Sat, 9 Nov 2013 20:57:17 +0000 (22:57 +0200)]
Implemented command line options parsing.

11 years agoMerge branch 'master' of gitorious.org:stg/stg
Maxim Mamontov [Sat, 9 Nov 2013 13:41:05 +0000 (15:41 +0200)]
Merge branch 'master' of gitorious.org:stg/stg

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

11 years agoImplemented new command line options parser.
Maxim Mamontov [Sat, 9 Nov 2013 13:40:07 +0000 (15:40 +0200)]
Implemented new command line options parser.

11 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'

11 years agoFixed disconnecting users in rscriptd.
Maxim Mamontov [Sat, 9 Nov 2013 12:23:55 +0000 (14:23 +0200)]
Fixed disconnecting users in rscriptd.

11 years agoAdded command line parser prototype.
Maxim Mamontov [Mon, 28 Oct 2013 20:24:44 +0000 (22:24 +0200)]
Added command line parser prototype.

11 years agoNew error in GetPropertyValue
Naffanya [Mon, 28 Oct 2013 18:10:14 +0000 (20:10 +0200)]
New error in GetPropertyValue

11 years agoMade short and full help.
Maxim Mamontov [Sun, 20 Oct 2013 16:38:40 +0000 (19:38 +0300)]
Made short and full help.

11 years agoAdded all tariff options.
Maxim Mamontov [Sun, 20 Oct 2013 16:24:35 +0000 (19:24 +0300)]
Added all tariff options.

11 years agoAdded missing threshold value for dirprice data in the tariff.
Maxim Mamontov [Sun, 20 Oct 2013 15:56:01 +0000 (18:56 +0300)]
Added missing threshold value for dirprice data in the tariff.

11 years agoFull description of corporations management.
Maxim Mamontov [Sun, 20 Oct 2013 15:32:43 +0000 (18:32 +0300)]
Full description of corporations management.

11 years agoNew usage message.
Maxim Mamontov [Sun, 20 Oct 2013 14:27:11 +0000 (17:27 +0300)]
New usage message.

11 years agoMoved common code to a single file.
Maxim Mamontov [Sun, 20 Oct 2013 13:37:52 +0000 (16:37 +0300)]
Moved common code to a single file.

11 years agoRemoved dead code.
Maxim Mamontov [Sun, 20 Oct 2013 13:25:27 +0000 (16:25 +0300)]
Removed dead code.

11 years agoSimplified NETTRANSACT.
Maxim Mamontov [Sun, 20 Oct 2013 12:44:53 +0000 (15:44 +0300)]
Simplified NETTRANSACT.

11 years agoFixed compilation issues.
Maxim Mamontov [Sun, 20 Oct 2013 10:46:13 +0000 (13:46 +0300)]
Fixed compilation issues.

11 years agoReplaces vector parsers with a single one.
Maxim Mamontov [Sun, 20 Oct 2013 10:32:56 +0000 (13:32 +0300)]
Replaces vector parsers with a single one.

11 years agoRemoved another unused header.
Maxim Mamontov [Sun, 20 Oct 2013 10:12:29 +0000 (13:12 +0300)]
Removed another unused header.

11 years agoRemoved unused header.
Maxim Mamontov [Sun, 20 Oct 2013 10:10:24 +0000 (13:10 +0300)]
Removed unused header.

11 years agoAdded corporations management.
Maxim Mamontov [Sun, 20 Oct 2013 10:02:37 +0000 (13:02 +0300)]
Added corporations management.

11 years agoCosmetic changes.
Maxim Mamontov [Sun, 20 Oct 2013 10:02:04 +0000 (13:02 +0300)]
Cosmetic changes.

11 years agoAdded resetable corp conf.
Maxim Mamontov [Sun, 20 Oct 2013 10:01:33 +0000 (13:01 +0300)]
Added resetable corp conf.

11 years agoAdded services management.
Maxim Mamontov [Sun, 20 Oct 2013 09:37:13 +0000 (12:37 +0300)]
Added services management.

11 years agoAdded resetable service conf.
Maxim Mamontov [Sun, 20 Oct 2013 09:36:40 +0000 (12:36 +0300)]
Added resetable service conf.

11 years agoRemoved unused header.
Maxim Mamontov [Sun, 20 Oct 2013 09:36:25 +0000 (12:36 +0300)]
Removed unused header.

11 years agoAdded tariff parsers/serializers.
Maxim Mamontov [Sun, 20 Oct 2013 08:45:14 +0000 (11:45 +0300)]
Added tariff parsers/serializers.

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

11 years agoRemoved unused method.
Maxim Mamontov [Sun, 20 Oct 2013 08:43:50 +0000 (11:43 +0300)]
Removed unused method.

11 years agoAdded RawXML method and related stuff.
Maxim Mamontov [Fri, 18 Oct 2013 21:26:35 +0000 (00:26 +0300)]
Added RawXML method and related stuff.

11 years agoImproved CHG_USER.
Maxim Mamontov [Fri, 18 Oct 2013 21:06:31 +0000 (00:06 +0300)]
Improved CHG_USER.

11 years agoCorrection method GetPropertyValue
Naffanya [Thu, 10 Oct 2013 19:28:22 +0000 (22:28 +0300)]
Correction method GetPropertyValue

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

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

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

11 years agoChanges in SendMessage method.
Maxim Mamontov [Tue, 8 Oct 2013 15:20:15 +0000 (18:20 +0300)]
Changes in SendMessage method.

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

11 years agoUse simple parser fro CHG_ADMIN.
Maxim Mamontov [Tue, 8 Oct 2013 12:58:48 +0000 (15:58 +0300)]
Use simple parser fro CHG_ADMIN.

11 years agoUse single simple parser for one-tag answers.
Maxim Mamontov [Tue, 8 Oct 2013 12:56:11 +0000 (15:56 +0300)]
Use single simple parser for one-tag answers.

11 years agoAdded CHG/ADD/DEL_ADMIN parsers.
Maxim Mamontov [Tue, 8 Oct 2013 11:51:42 +0000 (14:51 +0300)]
Added CHG/ADD/DEL_ADMIN parsers.

11 years agoTemporarily disabled unimplemented code.
Maxim Mamontov [Mon, 7 Oct 2013 22:06:18 +0000 (01:06 +0300)]
Temporarily disabled unimplemented code.

11 years agoAdded new parsers to compilation.
Maxim Mamontov [Mon, 7 Oct 2013 22:05:16 +0000 (01:05 +0300)]
Added new parsers to compilation.

11 years agoAdded GET_ADMIN parser.
Maxim Mamontov [Mon, 7 Oct 2013 22:04:57 +0000 (01:04 +0300)]
Added GET_ADMIN parser.

11 years agoAdded missing include.
Maxim Mamontov [Mon, 7 Oct 2013 22:04:41 +0000 (01:04 +0300)]
Added missing include.

11 years agoAdded GET_ADMINS parser.
Maxim Mamontov [Mon, 7 Oct 2013 21:53:02 +0000 (00:53 +0300)]
Added GET_ADMINS parser.

11 years agoRemoved empty line.
Maxim Mamontov [Mon, 7 Oct 2013 21:52:38 +0000 (00:52 +0300)]
Removed empty line.

11 years agoAdded admins manipulation interface.
Maxim Mamontov [Mon, 7 Oct 2013 21:48:45 +0000 (00:48 +0300)]
Added admins manipulation interface.

11 years agoFixed typo.
Maxim Mamontov [Mon, 7 Oct 2013 21:48:34 +0000 (00:48 +0300)]
Fixed typo.

11 years agoFixed compilation issue.
Maxim Mamontov [Mon, 7 Oct 2013 21:35:23 +0000 (00:35 +0300)]
Fixed compilation issue.

11 years agoRemoved ServerInfo helper.
Maxim Mamontov [Mon, 7 Oct 2013 21:34:40 +0000 (00:34 +0300)]
Removed ServerInfo helper.

11 years agoRemoved redundant methods from SERVCONF implementation.
Maxim Mamontov [Mon, 7 Oct 2013 21:33:02 +0000 (00:33 +0300)]
Removed redundant methods from SERVCONF implementation.

11 years agoSimplified SERVCONF implementation.
Maxim Mamontov [Mon, 7 Oct 2013 21:28:16 +0000 (00:28 +0300)]
Simplified SERVCONF implementation.

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

11 years agoSimplified parser interfaces.
Maxim Mamontov [Mon, 7 Oct 2013 21:21:37 +0000 (00:21 +0300)]
Simplified parser interfaces.

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