]> git.stg.codes - stg.git/log
stg.git
10 years agoRemoved unused variables.
Maxim Mamontov [Fri, 20 Jun 2014 18:33:20 +0000 (21:33 +0300)]
Removed unused variables.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

10 years ago'all' -> 'any'
Maxim Mamontov [Thu, 5 Jun 2014 20:38:54 +0000 (23:38 +0300)]
'all' -> 'any'

10 years agoFixed issues in cap_pcap.
Maxim Mamontov [Thu, 5 Jun 2014 20:31:26 +0000 (23:31 +0300)]
Fixed issues in cap_pcap.

10 years agoInitial adding of PCap capturer.
Maxim Mamontov [Thu, 5 Jun 2014 05:55:35 +0000 (08:55 +0300)]
Initial adding of PCap capturer.

10 years agoAdded --auth-by.
Maxim Mamontov [Wed, 4 Jun 2014 20:14:44 +0000 (23:14 +0300)]
Added --auth-by.

10 years agoFixed some encodings.
Maxim Mamontov [Tue, 3 Jun 2014 19:18:42 +0000 (22:18 +0300)]
Fixed some encodings.

10 years agoImplemented encoding for all parsers.
Maxim Mamontov [Tue, 3 Jun 2014 05:20:47 +0000 (08:20 +0300)]
Implemented encoding for all parsers.

10 years agoImplemented transcoders for some getters.
Maxim Mamontov [Mon, 2 Jun 2014 19:33:26 +0000 (22:33 +0300)]
Implemented transcoders for some getters.

10 years agoAdded possibility to transcode params to a proper encoding.
Maxim Mamontov [Mon, 2 Jun 2014 19:32:28 +0000 (22:32 +0300)]
Added possibility to transcode params to a proper encoding.

10 years agoMinor fix.
Maxim Mamontov [Fri, 30 May 2014 07:56:15 +0000 (10:56 +0300)]
Minor fix.

10 years agoAdded local binding.
Maxim Mamontov [Fri, 30 May 2014 07:55:15 +0000 (10:55 +0300)]
Added local binding.

10 years agoExpanded more abbreviations.
Maxim Mamontov [Fri, 30 May 2014 07:16:33 +0000 (10:16 +0300)]
Expanded more abbreviations.

10 years agoExpanded another abbreviation.
Maxim Mamontov [Fri, 30 May 2014 07:14:57 +0000 (10:14 +0300)]
Expanded another abbreviation.

10 years agoFixed typo.
Maxim Mamontov [Fri, 30 May 2014 07:11:03 +0000 (10:11 +0300)]
Fixed typo.

10 years agoFixed some abbreviations.
Maxim Mamontov [Fri, 30 May 2014 07:10:24 +0000 (10:10 +0300)]
Fixed some abbreviations.

10 years agoFixed traff type descritpion.
Maxim Mamontov [Fri, 30 May 2014 07:01:46 +0000 (10:01 +0300)]
Fixed traff type descritpion.

10 years agoFixed compilation on *BSD systems.
Maxim Mamontov [Thu, 29 May 2014 20:34:24 +0000 (23:34 +0300)]
Fixed compilation on *BSD systems.

10 years agoImplemented add-service, chg-service, add-corp and chg-corp.
Maxim Mamontov [Thu, 29 May 2014 20:29:55 +0000 (23:29 +0300)]
Implemented add-service, chg-service, add-corp and chg-corp.

10 years agoFixed processing of coma-separated lists.
Maxim Mamontov [Thu, 29 May 2014 20:15:19 +0000 (23:15 +0300)]
Fixed processing of coma-separated lists.

10 years agoFixed storing relation between users and services.
Maxim Mamontov [Thu, 29 May 2014 20:03:34 +0000 (23:03 +0300)]
Fixed storing relation between users and services.

10 years agoReset should be virtual.
Maxim Mamontov [Thu, 29 May 2014 20:03:20 +0000 (23:03 +0300)]
Reset should be virtual.

10 years agoFixed credit.
Maxim Mamontov [Thu, 29 May 2014 19:08:25 +0000 (22:08 +0300)]
Fixed credit.

10 years agoFixed cash-set.
Maxim Mamontov [Thu, 29 May 2014 19:05:59 +0000 (22:05 +0300)]
Fixed cash-set.

10 years agoAdded encoding of some strings.
Maxim Mamontov [Thu, 29 May 2014 19:00:32 +0000 (22:00 +0300)]
Added encoding of some strings.

10 years agoImplemented add-user and chg-user.
Maxim Mamontov [Thu, 29 May 2014 18:01:59 +0000 (21:01 +0300)]
Implemented add-user and chg-user.

10 years agoImplemented send-message.
Maxim Mamontov [Thu, 29 May 2014 15:05:42 +0000 (18:05 +0300)]
Implemented send-message.

10 years agoImplemented check-user.
Maxim Mamontov [Thu, 29 May 2014 14:49:48 +0000 (17:49 +0300)]
Implemented check-user.

10 years agoSerialize period info.
Maxim Mamontov [Thu, 29 May 2014 14:37:19 +0000 (17:37 +0300)]
Serialize period info.

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

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

10 years agoShow info about period.
Maxim Mamontov [Thu, 29 May 2014 14:36:02 +0000 (17:36 +0300)]
Show info about period.

10 years agoImplemented add-tariff and chg-tariff.
Maxim Mamontov [Thu, 29 May 2014 10:21:15 +0000 (13:21 +0300)]
Implemented add-tariff and chg-tariff.

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

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

10 years agoImplemeted chg-admin.
Maxim Mamontov [Thu, 29 May 2014 08:31:11 +0000 (11:31 +0300)]
Implemeted chg-admin.

10 years agoFixed setting admin's password.
Maxim Mamontov [Thu, 29 May 2014 08:27:30 +0000 (11:27 +0300)]
Fixed setting admin's password.

10 years agoImplemented --add-admin.
Maxim Mamontov [Wed, 28 May 2014 20:01:41 +0000 (23:01 +0300)]
Implemented --add-admin.

10 years agoAdded service and corporation params.
Maxim Mamontov [Wed, 28 May 2014 15:47:33 +0000 (18:47 +0300)]
Added service and corporation params.

10 years agoAdded user-related params.
Maxim Mamontov [Wed, 28 May 2014 15:42:41 +0000 (18:42 +0300)]
Added user-related params.

10 years agoAdded suboptions to tariffs and admins.
Maxim Mamontov [Wed, 28 May 2014 09:24:00 +0000 (12:24 +0300)]
Added suboptions to tariffs and admins.

10 years agoSimplified module interfaces.
Maxim Mamontov [Tue, 27 May 2014 18:19:56 +0000 (21:19 +0300)]
Simplified module interfaces.

10 years agoSome refactoring.
Maxim Mamontov [Tue, 27 May 2014 17:07:32 +0000 (20:07 +0300)]
Some refactoring.

10 years agoFixed version info.
Maxim Mamontov [Tue, 27 May 2014 15:32:05 +0000 (18:32 +0300)]
Fixed version info.

10 years agoFixed formatting.
Maxim Mamontov [Tue, 27 May 2014 15:04:42 +0000 (18:04 +0300)]
Fixed formatting.

10 years agoImplemented some service and corporation management functions.
Maxim Mamontov [Tue, 27 May 2014 14:55:56 +0000 (17:55 +0300)]
Implemented some service and corporation management functions.

10 years agoAdded handling of "AuthBy" info.
Maxim Mamontov [Tue, 27 May 2014 14:11:48 +0000 (17:11 +0300)]
Added handling of "AuthBy" info.

10 years agoFixed error handling.
Maxim Mamontov [Tue, 27 May 2014 13:59:12 +0000 (16:59 +0300)]
Fixed error handling.

10 years agoFixed getting user's login.
Maxim Mamontov [Tue, 27 May 2014 13:55:11 +0000 (16:55 +0300)]
Fixed getting user's login.

10 years agoRemoved unused files.
Maxim Mamontov [Tue, 27 May 2014 13:37:17 +0000 (16:37 +0300)]
Removed unused files.

10 years agoCode cleanup.
Maxim Mamontov [Tue, 27 May 2014 13:30:41 +0000 (16:30 +0300)]
Code cleanup.

10 years agoImplemented some user management functions.
Maxim Mamontov [Tue, 27 May 2014 12:59:09 +0000 (15:59 +0300)]
Implemented some user management functions.

10 years agoImplemented some operations with tariffs.
Maxim Mamontov [Tue, 20 May 2014 20:46:01 +0000 (23:46 +0300)]
Implemented some operations with tariffs.

10 years agoImplemented some operations with admins.
Maxim Mamontov [Tue, 20 May 2014 19:42:31 +0000 (22:42 +0300)]
Implemented some operations with admins.

10 years agoReplaced API functor with API function.
Maxim Mamontov [Tue, 20 May 2014 16:25:21 +0000 (19:25 +0300)]
Replaced API functor with API function.

10 years agoEnhanced config serializer.
Maxim Mamontov [Tue, 20 May 2014 16:24:28 +0000 (19:24 +0300)]
Enhanced config serializer.

10 years agoFixed formatting.
Maxim Mamontov [Sun, 18 May 2014 22:17:12 +0000 (01:17 +0300)]
Fixed formatting.

10 years agoImplemented raw XML API for sgconf.
Maxim Mamontov [Sun, 18 May 2014 22:12:37 +0000 (01:12 +0300)]
Implemented raw XML API for sgconf.

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

10 years agoRemovee the spaces
Naffanya [Wed, 23 Apr 2014 19:17:27 +0000 (22:17 +0300)]
Removee the spaces

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.