]> git.stg.codes - stg.git/log
stg.git
7 years agoTicket. ConvChangePolicyTimeout() function definition added. The
Elena Mamontova [Thu, 17 Nov 2016 08:13:13 +0000 (10:13 +0200)]
Ticket. ConvChangePolicyTimeout() function definition added. The
function readTime() replaced by ConvChangePolicyTimeout() for the changePolicyTimeout
in SGCONF::MaybeSet in AddTariffFunction(), ChgTariffFunction.

8 years agoTicket. AddParser() call added for the changePolicyTimeout.
Elena Mamontova [Tue, 1 Nov 2016 14:11:01 +0000 (16:11 +0200)]
Ticket. AddParser() call added for the changePolicyTimeout.

8 years agoTicket. GetChangePolicyTimeout() function added.
Elena Mamontova [Tue, 1 Nov 2016 14:05:49 +0000 (16:05 +0200)]
Ticket. GetChangePolicyTimeout() function added.

8 years agoTicket. if(!data.tariffConf.changePolicyTimeout.empty()) construction
Elena Mamontova [Tue, 1 Nov 2016 13:54:43 +0000 (15:54 +0200)]
Ticket. if(!data.tariffConf.changePolicyTimeout.empty()) construction
added in the Serialize() function.

8 years agoTicket. MybeSet()function call added for the change-policy-timeout.
Elena Mamontova [Tue, 1 Nov 2016 12:57:32 +0000 (14:57 +0200)]
Ticket. MybeSet()function call added for the change-policy-timeout.

8 years agoTicket. MybeSet()function call added for the change-policy-timeout.
Elena Mamontova [Tue, 1 Nov 2016 12:49:08 +0000 (14:49 +0200)]
Ticket. MybeSet()function call added for the change-policy-timeout.

8 years agoTicket. The line for the change-policy-timeout adding to the vector
Elena Mamontova [Tue, 1 Nov 2016 07:50:28 +0000 (09:50 +0200)]
Ticket. The line for the change-policy-timeout adding to the vector
params added in the GetTariffParams(). The line for the
changePolicyTimeout output added in the PrintTariffConf().

8 years agoMerge remote-tracking branch 'other/ticket37' into ticket
Elena Mamontova [Tue, 25 Oct 2016 15:34:40 +0000 (18:34 +0300)]
Merge remote-tracking branch 'other/ticket37' into ticket

8 years agoMerge remote-tracking branch 'origin/master' into ticket
Elena Mamontova [Fri, 21 Oct 2016 11:17:02 +0000 (14:17 +0300)]
Merge remote-tracking branch 'origin/master' into ticket

8 years agoTicket 37. The checking schemaVersion = 0, 1, 2 removed,
Elena Mamontova [Fri, 21 Oct 2016 09:09:24 +0000 (12:09 +0300)]
Ticket 37. The checking schemaVersion = 0, 1, 2 removed,
st->Set(num, id) added before st->Execute() in SaveTariff() function.

8 years agoTicket 37. In the SaveTariff() function unsigned num variable added,
Elena Mamontova [Wed, 19 Oct 2016 13:39:38 +0000 (16:39 +0300)]
Ticket 37. In the SaveTariff() function  unsigned num variable added,
schemaVersion checking and id value setting depending on the version added.

8 years agoTicket 37. The 'change_policy_timeout' field added to update tb_tariffs
Elena Mamontova [Wed, 19 Oct 2016 08:13:24 +0000 (11:13 +0300)]
Ticket 37. The 'change_policy_timeout' field added to update tb_tariffs
query if schemaVersion > 1, in st->Set(7, id) 7 changed to 8 in
SaveTariff() function.

8 years agoTicket 37. The long int policyTime type changed to int64_t policyTime.
Elena Mamontova [Wed, 19 Oct 2016 07:31:18 +0000 (10:31 +0300)]
Ticket 37. The long int policyTime type changed to int64_t policyTime.

8 years agoTicket 37. UPDATE moved before DROP DEFAULT.
Elena Mamontova [Wed, 19 Oct 2016 07:24:45 +0000 (10:24 +0300)]
Ticket 37. UPDATE moved before DROP DEFAULT.

8 years agoMerge remote-tracking branch 'origin/stg-2.409' into ticket37
Elena Mamontova [Tue, 18 Oct 2016 13:38:54 +0000 (16:38 +0300)]
Merge remote-tracking branch 'origin/stg-2.409' into ticket37

8 years agoTicket 37. if(strcasecmp(el, "ChangePolicyTimeout") == 0) construction
Elena Mamontova [Tue, 18 Oct 2016 13:22:48 +0000 (16:22 +0300)]
Ticket 37. if(strcasecmp(el, "ChangePolicyTimeout") == 0) construction
added in CHG_TARIFF::Start(). "ChangePolicyTimeout value" string added
in m_answer variable in GET_TARIFFS::CreateAnswer().

8 years agoTicket 37. The "stg/common.h" header file added. The
Elena Mamontova [Tue, 18 Oct 2016 13:11:20 +0000 (16:11 +0300)]
Ticket 37. The "stg/common.h" header file added. The
structVal["changePolicyTimeout"] element added in GetTariffInfo().
data.tariffConf.changePolicyTimeout getting added in SetTariffInfo().

8 years agoTicket 37. IBPP::Timestamp policyTimeout variable added, time_t2ts()
Elena Mamontova [Mon, 17 Oct 2016 13:40:55 +0000 (16:40 +0300)]
Ticket 37. IBPP::Timestamp policyTimeout variable added, time_t2ts()
call added, Set() call for the policyTimeout added in the
SaveTariff() function.

8 years agoTicket 37. The td->tariffConf.changePolicyTimeout added in the
Elena Mamontova [Mon, 17 Oct 2016 12:54:25 +0000 (15:54 +0300)]
Ticket 37. The td->tariffConf.changePolicyTimeout added in the
if (schemaVersion > 1) construction.

8 years agoTicket 37. The 'change_policy_timeout' field added. DROP DEFAULT added
Elena Mamontova [Mon, 17 Oct 2016 07:30:01 +0000 (10:30 +0300)]
Ticket 37. The 'change_policy_timeout' field added. DROP DEFAULT added
for the 'change_policy', 'change_policy_timeout'. UPDATE added for the
'change_policy', 'change_policy_timeout'.

8 years agoTicket 37. The 'change_policy_timeout' field added for UPDATE tariffs SET
Elena Mamontova [Tue, 11 Oct 2016 15:38:03 +0000 (18:38 +0300)]
Ticket 37. The 'change_policy_timeout' field added for UPDATE tariffs SET
query in the if(schemaversion > 1) construction.

8 years agoTicket 37. if (ts == "0000-00-00 00:00:00") construction added in the
Elena Mamontova [Tue, 11 Oct 2016 13:06:39 +0000 (16:06 +0300)]
Ticket 37. if (ts == "0000-00-00 00:00:00") construction added in the
readTime() function.

8 years agoTicket 37. Default value for the change_policy_timeout changed to 0 in
Elena Mamontova [Mon, 10 Oct 2016 12:55:06 +0000 (15:55 +0300)]
Ticket 37. Default value for the change_policy_timeout changed to 0 in
the CheckAllTables(), MakeUpdate() functions. Getting
change_policy_timeout field value added in RestoreTariff() function.

8 years agoTicket 37. formatTime() and readTime() methods declare added.
Elena Mamontova [Tue, 27 Sep 2016 13:08:26 +0000 (16:08 +0300)]
Ticket 37. formatTime() and readTime() methods declare added.

8 years agoTicket 37. formatTime() and readTime() methods define added.
Elena Mamontova [Tue, 27 Sep 2016 13:05:39 +0000 (16:05 +0300)]
Ticket 37. formatTime() and readTime() methods define added.

8 years agoTicket 37. Int2TS() method changed to formatTime() function, TS2Int()
Elena Mamontova [Tue, 27 Sep 2016 13:02:28 +0000 (16:02 +0300)]
Ticket 37. Int2TS() method changed to formatTime() function, TS2Int()
method changed to readTime() function in postgresql_store_messages.cpp
file. '#include "stg/common.h"' added.

8 years agoTicket 37. Int2TS() method changed to formatTime() function, TS2Int() method
Elena Mamontova [Tue, 27 Sep 2016 12:59:49 +0000 (15:59 +0300)]
Ticket 37. Int2TS() method changed to formatTime() function, TS2Int() method
changed to readTime() function in postgresql_store_users.cpp file.
'#include "stg/common.h"' added.

8 years agoTicket 37. Int2TS() method changed to formatTime() function in the SaveTariff() function.
Elena Mamontova [Tue, 27 Sep 2016 12:52:32 +0000 (15:52 +0300)]
Ticket 37. Int2TS() method changed to formatTime() function in the SaveTariff() function.
TS2Int() method changed to readTime() function in the RestoreTariff() function.
'#include "stg/common.h"' added.

8 years agoTicket 37. Int2TS() and TS2Int() methods define removed.
Elena Mamontova [Tue, 27 Sep 2016 12:46:10 +0000 (15:46 +0300)]
Ticket 37. Int2TS() and TS2Int() methods define removed.

8 years agoTicket 37. Int2TS() and TS2Int() methods declare removed.
Elena Mamontova [Tue, 27 Sep 2016 12:41:50 +0000 (15:41 +0300)]
Ticket 37. Int2TS() and TS2Int() methods declare removed.

8 years agoTicket 37. TIMEZONE fixed to TIMESTAMP for change_policy_timeout in
Elena Mamontova [Fri, 23 Sep 2016 14:25:14 +0000 (17:25 +0300)]
Ticket 37. TIMEZONE fixed to TIMESTAMP for change_policy_timeout in
the ALTER TABLE tariffs query in the MakeUpdate() function.

8 years agoTicket 37. TIMEZONE fixed to TIMESTAMP for the change_policy_timeout in
Elena Mamontova [Fri, 23 Sep 2016 14:21:32 +0000 (17:21 +0300)]
Ticket 37. TIMEZONE fixed to TIMESTAMP for the change_policy_timeout in
the CREATE TABLE tariffs query.

8 years agoTicket 37. ALTER TABLE tariffs query added for change_policy_timeout
Elena Mamontova [Fri, 23 Sep 2016 12:34:56 +0000 (15:34 +0300)]
Ticket 37. ALTER TABLE tariffs query added for change_policy_timeout
field adding, when schemaversion < 2.

8 years agoTicket 37. The change-policy-timeout field added to the INSERT INTO
Elena Mamontova [Fri, 23 Sep 2016 10:43:20 +0000 (13:43 +0300)]
Ticket 37. The change-policy-timeout field added to the INSERT INTO
tariffs query.

8 years agoTicket 37. The changePolicyTimeout field added to the CREATE TABLE
Elena Mamontova [Fri, 23 Sep 2016 07:05:46 +0000 (10:05 +0300)]
Ticket 37. The changePolicyTimeout field added to the CREATE TABLE
tariffs query.

8 years agoTicket 37. The changePolicyTimeout field added in SELECT FROM
Elena Mamontova [Thu, 22 Sep 2016 12:52:46 +0000 (15:52 +0300)]
Ticket 37. The changePolicyTimeout field added in  SELECT FROM
tb_tariffs query in the if (version > 7) construction.
Assign a value to change PolicyTimeout added in if (version > 7)
construction.

8 years agoTicket 37. The 'change_policy_timeout' field added in the if (version > 7)
Elena Mamontova [Wed, 21 Sep 2016 14:53:09 +0000 (17:53 +0300)]
Ticket 37. The 'change_policy_timeout' field added in the if (version > 7)
construction.

8 years agoTicket 37. The 'change_policy_timeout' field adding added. The default values
Elena Mamontova [Wed, 21 Sep 2016 10:32:19 +0000 (13:32 +0300)]
Ticket 37. The 'change_policy_timeout' field adding added. The default values
deletion for 'change_policy', 'change_policy_timeout' fields added.

8 years agoTicket 37. The WriteTime() function call for the 'changePolicyTimeout'
Elena Mamontova [Tue, 20 Sep 2016 15:16:29 +0000 (18:16 +0300)]
Ticket 37. The WriteTime() function call for the 'changePolicyTimeout'
added in the SaveTariff() function.

8 years agoTicket 37. #include <sstream>, WriteTime() function defined added.
Elena Mamontova [Tue, 20 Sep 2016 10:57:24 +0000 (13:57 +0300)]
Ticket 37. #include <sstream>, WriteTime() function defined added.

8 years agoTicket 37. The WriteTime() function declared added.
Elena Mamontova [Tue, 20 Sep 2016 10:49:10 +0000 (13:49 +0300)]
Ticket 37. The WriteTime() function declared added.

8 years agoMerge branch 'stg-2.409'
Maxim Mamontov [Sat, 17 Sep 2016 13:13:42 +0000 (16:13 +0300)]
Merge branch 'stg-2.409'

8 years agoAdd Travis-CI build status.
Maxim Mamontov [Sat, 17 Sep 2016 13:11:50 +0000 (16:11 +0300)]
Add Travis-CI build status.

8 years agoMerge branch 'stg-2.409'
Maxim Mamontov [Sat, 17 Sep 2016 13:03:04 +0000 (16:03 +0300)]
Merge branch 'stg-2.409'

8 years agoAdd README.md for GitHub and .travis.yml for Travis-CI
Maxim Mamontov [Sat, 17 Sep 2016 12:56:27 +0000 (15:56 +0300)]
Add README.md for GitHub and .travis.yml for Travis-CI

8 years agoTicket 37. The ReadTime() call for 'ChangePolicyTimeout' field in the if()
Elena Mamontova [Fri, 16 Sep 2016 13:12:03 +0000 (16:12 +0300)]
Ticket 37. The ReadTime() call for 'ChangePolicyTimeout' field in the if()
construction added in the RestoreTariff() function.

8 years agoTicket 37. The virtual time_t GetChangePolicyTimeout() function
Elena Mamontova [Fri, 16 Sep 2016 12:54:26 +0000 (15:54 +0300)]
Ticket 37. The virtual time_t GetChangePolicyTimeout() function
defined.

8 years agoTicket 37. The virtual time_t GetChangePolicyTimeout() function declared.
Elena Mamontova [Fri, 16 Sep 2016 12:51:06 +0000 (15:51 +0300)]
Ticket 37. The virtual time_t GetChangePolicyTimeout() function declared.

8 years agoTicket 37. RESETABLE<time_t>changePolicyTimeout field declared in the struct
Elena Mamontova [Thu, 15 Sep 2016 13:38:57 +0000 (16:38 +0300)]
Ticket 37. RESETABLE<time_t>changePolicyTimeout field declared in the struct
TARIFF_CONF_RES and added in constructor, operator and GetData()
function.

8 years agoTicket 37. 'changePolicyTimeout' field declared in the struct
Elena Mamontova [Thu, 15 Sep 2016 13:02:22 +0000 (16:02 +0300)]
Ticket 37. 'changePolicyTimeout' field declared in the struct
TARIFF_CONF and added in constructors.

8 years agoTicket 37. The false parameter changed to true and 'Prohibit equal'
Elena Mamontova [Wed, 14 Sep 2016 14:52:56 +0000 (17:52 +0300)]
Ticket 37. The false parameter changed to true and 'Prohibit equal'
changed to 'Allow equal' in the ensure_equals() function for the 'equal'
object in  testobject::test<9>() function.

8 years agoTicket 37. In 'case' where TARIFF::TO_EXPENSIVE, operation '>' changed to '>=' in
Elena Mamontova [Wed, 14 Sep 2016 14:44:19 +0000 (17:44 +0300)]
Ticket 37. In 'case' where TARIFF::TO_EXPENSIVE, operation '>' changed to '>=' in
if() construction in TariffChangeIsAllowed() function.

8 years agoTicket 37. The true parameter changed to false in ensure_equals()
Elena Mamontova [Fri, 9 Sep 2016 11:52:37 +0000 (14:52 +0300)]
Ticket 37. The true parameter changed to false in ensure_equals()
function for the equal, expensive  and cheper check in the testobject::text<10>()
function.

8 years agoTicket 37. The true parameter changed to false in ensure_equals()
Elena Mamontova [Fri, 9 Sep 2016 11:49:53 +0000 (14:49 +0300)]
Ticket 37. The true parameter changed to false in ensure_equals()
function for the equal and cheper check in the
testobject::text<9>() function.

8 years agoTicket 37. The true parameter changed to false in ensure_equals()
Elena Mamontova [Fri, 9 Sep 2016 11:44:51 +0000 (14:44 +0300)]
Ticket 37. The true parameter changed to false in ensure_equals()
function for the equal and expensive check in the
testobject::text<8>() function.

8 years agoTicket 37. 'Allow equal', 'Allow cheaper' and 'Allow expensive' comments changed to
Elena Mamontova [Fri, 9 Sep 2016 07:27:17 +0000 (10:27 +0300)]
Ticket 37. 'Allow equal', 'Allow cheaper' and 'Allow expensive' comments changed to
'Prohibit equal', 'Prohibit cheaper' and 'Prohibit expensive' in the
testobject::test<10>() function.

8 years agoTicket 37. 'Allow equal' and 'Allow cheaper' comments changed to
Elena Mamontova [Fri, 9 Sep 2016 07:23:11 +0000 (10:23 +0300)]
Ticket 37. 'Allow equal' and 'Allow cheaper' comments changed to
'Prohibit equal' and 'Prohibit cheaper' in the testobject::test<9>()
function.

8 years agoTicket 37. 'Allow equal' and 'Allow expensive' comments changed to
Elena Mamontova [Fri, 9 Sep 2016 07:18:40 +0000 (10:18 +0300)]
Ticket 37. 'Allow equal' and 'Allow expensive' comments changed to
'Prohibit equal' and 'Prohibit expensive' in the testobject::test<8>()
function.

8 years agoTicket 37. The 'equals' object changed to 'equal' in the testobject::test<7>()
Elena Mamontova [Fri, 9 Sep 2016 06:33:40 +0000 (09:33 +0300)]
Ticket 37. The 'equals' object changed to 'equal' in the testobject::test<7>()
- testobject::test<10>() functions.

8 years agoMerge remote-tracking branch 'origin/stg-2.409' into ticket37
Elena Mamontova [Tue, 6 Sep 2016 13:11:04 +0000 (16:11 +0300)]
Merge remote-tracking branch 'origin/stg-2.409' into ticket37

8 years agoTicket 37. The testobject::test<10>() function added.
Elena Mamontova [Tue, 6 Sep 2016 12:09:26 +0000 (15:09 +0300)]
Ticket 37. The testobject::test<10>() function added.

8 years agoTicket 37. The testobject::test<9>() function added.
Elena Mamontova [Tue, 6 Sep 2016 12:06:25 +0000 (15:06 +0300)]
Ticket 37. The testobject::test<9>() function added.

8 years agoTicket 37. td.tariffConf.changePolicy definition fixed in the
Elena Mamontova [Tue, 6 Sep 2016 12:01:33 +0000 (15:01 +0300)]
Ticket 37. td.tariffConf.changePolicy definition fixed in the
testobject::test<7>(), testobject::test<8>() functions.

8 years agoTicket 37. The 'equal' parameter of the TariffChangeIsAllow() fixed to
Elena Mamontova [Tue, 6 Sep 2016 11:49:56 +0000 (14:49 +0300)]
Ticket 37. The 'equal' parameter of the TariffChangeIsAllow() fixed to
'equals' in the testobject::test<7>(), testobject::test<8>() functions.

8 years agoTicket 37. void testobject::test<8>() function added for checking
Elena Mamontova [Tue, 6 Sep 2016 07:18:43 +0000 (10:18 +0300)]
Ticket 37. void testobject::test<8>() function added for checking
TariffChangeIsAllowed(), when TARIFF::CHANGE_POLICY TO_CHEAP.

8 years agoTicket 37. void testobject::test<7>() function added for checking
Elena Mamontova [Tue, 6 Sep 2016 06:47:18 +0000 (09:47 +0300)]
Ticket 37. void testobject::test<7>() function added for checking
TariffChangeIsAllowed(), when TARIFF::CHANGE_POLICY ALLOW.

8 years agoRemoved old bundled xslt stuff.
Maxim Mamontov [Sun, 4 Sep 2016 18:04:59 +0000 (21:04 +0300)]
Removed old bundled xslt stuff.

8 years agoSet output encoding to utf-8.
Maxim Mamontov [Sun, 4 Sep 2016 18:02:05 +0000 (21:02 +0300)]
Set output encoding to utf-8.

8 years agoIgnore help.pdf.
Maxim Mamontov [Sun, 4 Sep 2016 16:37:32 +0000 (19:37 +0300)]
Ignore help.pdf.

8 years agoImproved doc generation.
Maxim Mamontov [Sun, 4 Sep 2016 16:36:22 +0000 (19:36 +0300)]
Improved doc generation.

8 years agoAdded description for ScriptParams, DisableSessionLog and FilterParamsLog.
Maxim Mamontov [Sun, 4 Sep 2016 11:04:36 +0000 (14:04 +0300)]
Added description for ScriptParams, DisableSessionLog and FilterParamsLog.

8 years agoAdded missing title for smux module description.
Maxim Mamontov [Sun, 4 Sep 2016 10:39:59 +0000 (13:39 +0300)]
Added missing title for smux module description.

8 years agoAdded a list of valid parameter names.
Maxim Mamontov [Fri, 2 Sep 2016 19:55:08 +0000 (22:55 +0300)]
Added a list of valid parameter names.

8 years agoAdded info about new config parameters.
Maxim Mamontov [Fri, 2 Sep 2016 19:54:03 +0000 (22:54 +0300)]
Added info about new config parameters.

8 years agoAdded more tests for filtering params.
Maxim Mamontov [Fri, 2 Sep 2016 19:42:57 +0000 (22:42 +0300)]
Added more tests for filtering params.

8 years agoAdded disabling of sessions log and filtering of params log.
Maxim Mamontov [Fri, 2 Sep 2016 19:40:36 +0000 (22:40 +0300)]
Added disabling of sessions log and filtering of params log.

8 years agoMerge remote-tracking branch 'origin/stg-2.409' into ticket37
Elena Mamontova [Thu, 1 Sep 2016 06:26:29 +0000 (09:26 +0300)]
Merge remote-tracking branch 'origin/stg-2.409' into ticket37

8 years agoInfer DST from the current locale for mktime.
Maxim Mamontov [Wed, 31 Aug 2016 18:54:15 +0000 (21:54 +0300)]
Infer DST from the current locale for mktime.

8 years agoMerge remote-tracking branch 'origin/stg-2.409' into ticket37
Elena Mamontova [Tue, 30 Aug 2016 17:36:10 +0000 (20:36 +0300)]
Merge remote-tracking branch 'origin/stg-2.409' into ticket37

8 years agoFixed timer debug with TIME_SPEED=1 (tv_nsec should be less than 1000000000)
Maxim Mamontov [Tue, 30 Aug 2016 17:30:22 +0000 (20:30 +0300)]
Fixed timer debug with TIME_SPEED=1 (tv_nsec should be less than 1000000000)

8 years agoticket 37. The newTariff, currentTariff objects added, if (newTariff)
Elena Mamontova [Mon, 29 Aug 2016 12:33:10 +0000 (15:33 +0300)]
ticket 37. The newTariff, currentTariff objects added, if (newTariff)
checking and TariffChangeIsAllowed() function call added in the
SetUserInfo() function.

8 years agoMerge remote-tracking branch 'origin/stg-2.409' into ticket37
Elena Mamontova [Mon, 22 Aug 2016 12:40:53 +0000 (15:40 +0300)]
Merge remote-tracking branch 'origin/stg-2.409' into ticket37

8 years agoTicket 37. Cycle for added in the TARIFF_DATA_RES & operator() in struct
Elena Mamontova [Mon, 22 Aug 2016 12:36:14 +0000 (15:36 +0300)]
Ticket 37. Cycle for added in the TARIFF_DATA_RES & operator() in struct
TARIFF_DATA_RES.

8 years agoMerge branch 'stg-2.409'
Maxim Mamontov [Sat, 20 Aug 2016 10:25:24 +0000 (13:25 +0300)]
Merge branch 'stg-2.409'

8 years agoFix tariff name in OnConnect during reconnect on tariff change.
Maxim Mamontov [Sat, 20 Aug 2016 10:15:52 +0000 (13:15 +0300)]
Fix tariff name in OnConnect during reconnect on tariff change.

8 years agoTicket 37. The messages is changed for TARIFF::TO_CHEAP and
Elena Mamontova [Fri, 19 Aug 2016 12:17:14 +0000 (15:17 +0300)]
Ticket 37. The messages is changed for TARIFF::TO_CHEAP and
TARIFF::TO_EXPENSIVE in the TariffChangeIsAllowed() function.

8 years agoTicket 37. The construction else added to if (tariff != NULL) construction in the
Elena Mamontova [Fri, 19 Aug 2016 11:41:10 +0000 (14:41 +0300)]
Ticket 37. The construction else added to if (tariff != NULL) construction in the
CHG_TARIFF::Start() function.

8 years agoTicket 37. TARIFF_DATA_RES & operator=(const TARIFF_DATA & td) added in
Elena Mamontova [Fri, 19 Aug 2016 10:54:38 +0000 (13:54 +0300)]
Ticket 37. TARIFF_DATA_RES & operator=(const TARIFF_DATA & td) added in
the sstruct TARIFF_DATA_RES.

8 years agoTicket 37. const TARIFF * tariff definition, tariff checking and tariff->GetTariffData()
Elena Mamontova [Fri, 19 Aug 2016 10:48:45 +0000 (13:48 +0300)]
Ticket 37. const TARIFF * tariff definition, tariff checking and tariff->GetTariffData()
getting added in the CHG_TARIFF::Start() function.

8 years agoTicket 37. st->Prepare(query) and st->Set(7, id) added in the
Elena Mamontova [Tue, 16 Aug 2016 12:26:41 +0000 (15:26 +0300)]
Ticket 37. st->Prepare(query) and st->Set(7, id) added in the
SaveTariff() function.

8 years agoticket 37. The newTariff, currentTariff objects added, if (newTariff)
Elena Mamontova [Thu, 11 Aug 2016 10:13:36 +0000 (13:13 +0300)]
ticket 37. The newTariff, currentTariff objects added, if (newTariff)
checking and TariffChangeIsAllowed() function call added in the
SetUserInfo() function.

8 years agoTicket 37. Single quotes added in the message for user login, tariff name,
Elena Mamontova [Mon, 8 Aug 2016 12:50:20 +0000 (15:50 +0300)]
Ticket 37. Single quotes added in the message for user login, tariff name,
change policy name in TariffChangeIsAllowed() function.

8 years agoTicket 37. The policy name added for the DENY value message in the
Elena Mamontova [Mon, 8 Aug 2016 12:37:47 +0000 (15:37 +0300)]
Ticket 37. The policy name added for the DENY value message in the
TariffChangeIsAllowed() function.

8 years agoTicket 37. c_str() function removed for the
Elena Mamontova [Mon, 8 Aug 2016 12:24:56 +0000 (15:24 +0300)]
Ticket 37. c_str() function removed for the
TARIFF::ChangePolicyToString() in the TariffChangeIsAllowed() function.

8 years agoTicket 37. The braces removed in the case construction in the
Elena Mamontova [Mon, 8 Aug 2016 12:18:48 +0000 (15:18 +0300)]
Ticket 37. The braces removed in the case construction in the
TariffChangeIsAllowed() function.

8 years agoTicket 37. if (message == "") replaced by if (message.empty()) in the
Elena Mamontova [Mon, 8 Aug 2016 12:14:06 +0000 (15:14 +0300)]
Ticket 37. if (message == "") replaced by if (message.empty()) in the
ProcessNewMonth() function.

8 years agoTicket 37. The message variable definition moved from if() construction
Elena Mamontova [Mon, 8 Aug 2016 11:28:03 +0000 (14:28 +0300)]
Ticket 37. The message variable definition moved from if() construction
in the ProcessNewMonth() function.

8 years agoTicket 37. if (message == "") replaced by if (message.empty()) in the
Elena Mamontova [Mon, 8 Aug 2016 10:50:50 +0000 (13:50 +0300)]
Ticket 37. if (message == "") replaced by if (message.empty()) in the
ApplyChangews() function.

8 years agoTicket 37. The message variable definition moved from if() construction
Elena Mamontova [Mon, 8 Aug 2016 10:37:07 +0000 (13:37 +0300)]
Ticket 37. The message variable definition moved from if() construction
in the ApplyChanges() function.

8 years agoTicket 37. The object tariff definition moved into the if(newTariff)
Elena Mamontova [Mon, 8 Aug 2016 07:26:03 +0000 (10:26 +0300)]
Ticket 37. The object tariff definition moved into the if(newTariff)
    construction.