]> git.stg.codes - stg.git/log
stg.git
7 years agoTicket 37. WriteString() changed to WriteTime() and formatTime() remowed
Elena Mamontova [Wed, 28 Dec 2016 13:32:32 +0000 (15:32 +0200)]
Ticket 37. WriteString() changed to WriteTime() and formatTime() remowed
for the ChangePolicyTimeout field in the SaveTariff() function in
file_store.cpp.

7 years agoTicket 37. WriteTime() changed to WriteString() and formatTime() added
Elena Mamontova [Wed, 28 Dec 2016 06:40:42 +0000 (08:40 +0200)]
Ticket 37. WriteTime() changed to WriteString() and formatTime() added
for the ChangePolicyTimeout field in the SaveTariff() function in
file_store.cpp.

7 years agoMerge remote-tracking branch 'origin/master' into ticket ticket
Elena Mamontova [Thu, 19 Jan 2017 14:00:03 +0000 (16:00 +0200)]
Merge remote-tracking branch 'origin/master' into ticket

7 years agoTicket. GetChangePolicyTimeout() function removed.
Elena Mamontova [Thu, 19 Jan 2017 13:35:29 +0000 (15:35 +0200)]
Ticket. GetChangePolicyTimeout() function removed.
GetChangePolicyTimeout parameter removed in AddParser() function in
PARSER() constructor.

7 years agoMerge branch 'stg-2.409'
Maxim Mamontov [Thu, 22 Dec 2016 20:25:24 +0000 (22:25 +0200)]
Merge branch 'stg-2.409'

7 years agoMerge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Thu, 22 Dec 2016 20:24:24 +0000 (22:24 +0200)]
Merge branch 'stg-2.409' into stg-2.409-radius

7 years agoFix XMLRPC doc build.
Maxim Mamontov [Thu, 22 Dec 2016 20:23:56 +0000 (22:23 +0200)]
Fix XMLRPC doc build.

7 years agoMerge branch 'stg-2.409' of stg.codes:stg into stg-2.409
Maxim Mamontov [Thu, 22 Dec 2016 20:04:28 +0000 (22:04 +0200)]
Merge branch 'stg-2.409' of stg.codes:stg into stg-2.409

7 years agoMerge remote-tracking branch 'origin/ticket'
Maxim Mamontov [Thu, 22 Dec 2016 19:56:56 +0000 (21:56 +0200)]
Merge remote-tracking branch 'origin/ticket'

7 years agoMerge branch 'stg-2.409'
Maxim Mamontov [Thu, 22 Dec 2016 19:56:09 +0000 (21:56 +0200)]
Merge branch 'stg-2.409'

7 years agoMerge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Thu, 22 Dec 2016 19:46:27 +0000 (21:46 +0200)]
Merge branch 'stg-2.409' into stg-2.409-radius

7 years agoTicket 37. In the if() construction for the changePolicyTimeout
Elena Mamontova [Tue, 20 Dec 2016 13:31:06 +0000 (15:31 +0200)]
Ticket 37. In the if() construction for the changePolicyTimeout
ReadTime() changed to ReadString(), else construction added, error
message remowed in RestoreTariff().

7 years agoMinor changes.
Maxim Mamontov [Thu, 15 Dec 2016 19:05:11 +0000 (21:05 +0200)]
Minor changes.

7 years agoTicket 37. In the TariffChangeIsAllowed() function return "" added and
Elena Mamontova [Mon, 12 Dec 2016 13:18:05 +0000 (15:18 +0200)]
Ticket 37. In the TariffChangeIsAllowed() function return "" added and
unnecessary brackets removed in the if (currentTime > timeout && timeout != 0).

7 years agoTicket 37. test<11>, test<12>, test<13> added. Current time argument
Elena Mamontova [Wed, 30 Nov 2016 14:17:21 +0000 (16:17 +0200)]
Ticket 37. test<11>, test<12>, test<13> added. Current time argument
added in the TariffChangeIsAllowed() function in test<7>, test<8>,
test<9>, test<10>.

7 years agoTicket 37. '../stglibs/common.lib/strptime.cpp' added in the
Elena Mamontova [Wed, 30 Nov 2016 14:04:52 +0000 (16:04 +0200)]
Ticket 37. '../stglibs/common.lib/strptime.cpp' added in the
Makefile.darwin.

7 years agoTicket 37. '../stglibs/common.lib/strptime.cpp' added in the Makefile.
Elena Mamontova [Wed, 30 Nov 2016 14:02:03 +0000 (16:02 +0200)]
Ticket 37. '../stglibs/common.lib/strptime.cpp' added in the Makefile.

7 years agoTicket 37. The stgTime argument added in TariffChangeIsAllowed()
Elena Mamontova [Mon, 28 Nov 2016 13:24:46 +0000 (15:24 +0200)]
Ticket 37. The stgTime argument added in TariffChangeIsAllowed()
function call.

7 years agoTicket 37. The stgTime argument added in TariffChangeIsAllowed()
Elena Mamontova [Mon, 28 Nov 2016 13:23:19 +0000 (15:23 +0200)]
Ticket 37. The stgTime argument added in TariffChangeIsAllowed()
function call.

7 years agoTicket 37. The stgTime argument added in TariffChangeIsAllowed()
Elena Mamontova [Mon, 28 Nov 2016 13:21:47 +0000 (15:21 +0200)]
Ticket 37. The stgTime argument added in TariffChangeIsAllowed()
function call.

7 years agoTicket 37. The stgTime argument added in TariffChangeIsAllowed()
Elena Mamontova [Mon, 28 Nov 2016 13:18:37 +0000 (15:18 +0200)]
Ticket 37. The stgTime argument added in TariffChangeIsAllowed()
function call.

7 years agoTicket 37. The time_t currentTime parameter added in
Elena Mamontova [Mon, 28 Nov 2016 13:12:12 +0000 (15:12 +0200)]
Ticket 37. The time_t currentTime parameter added in
TariffChangeIsAllow() function decfinition. The brackets added in
construction if ((currentTime > timeout) && (timeout != 0)).

7 years agoTicket 37. The time_t currentTime parameter added in
Elena Mamontova [Mon, 28 Nov 2016 13:07:46 +0000 (15:07 +0200)]
Ticket 37. The time_t currentTime parameter added in
TariffChangeIsAllow() function declaration.

7 years agoTicket 37. The time_t currentTime parameter added in
Elena Mamontova [Mon, 28 Nov 2016 13:02:47 +0000 (15:02 +0200)]
Ticket 37. The time_t currentTime parameter added in
TariffChangeIsAllow() function declaration.

7 years agoTicket 37. if (year < 1990) checking added in the ts2time() function.
Elena Mamontova [Thu, 17 Nov 2016 08:06:55 +0000 (10:06 +0200)]
Ticket 37. if (year < 1990) checking added in the ts2time() function.

7 years agoFix passing params to OnDisconnect in rscriptd.
Maxim Mamontov [Sun, 13 Nov 2016 02:12:56 +0000 (21:12 -0500)]
Fix passing params to OnDisconnect in rscriptd.

7 years agoFix build on Darwin.
Maxim Mamontov [Sun, 13 Nov 2016 02:12:39 +0000 (21:12 -0500)]
Fix build on Darwin.

7 years agoMinor changes.
Maxim Mamontov [Thu, 15 Dec 2016 19:05:11 +0000 (21:05 +0200)]
Minor changes.

8 years agoMerge remote-tracking branch 'origin/master' into ticket
Elena Mamontova [Mon, 28 Nov 2016 13:50:59 +0000 (15:50 +0200)]
Merge remote-tracking branch 'origin/master' into ticket

8 years agoTicket. The stgTime argument added in TariffChangeIsAllowed() function
Elena Mamontova [Mon, 28 Nov 2016 13:39:42 +0000 (15:39 +0200)]
Ticket. The stgTime argument added in TariffChangeIsAllowed() function
call.

8 years agoTicket. The stgTime argument added in TariffChangeIsAllowed() function
Elena Mamontova [Mon, 28 Nov 2016 13:38:35 +0000 (15:38 +0200)]
Ticket. The stgTime argument added in TariffChangeIsAllowed() function
call.

8 years agoTicket. The stgTime argument added in TariffChangeIsAllowed() function
Elena Mamontova [Mon, 28 Nov 2016 13:37:29 +0000 (15:37 +0200)]
Ticket. The stgTime argument added in TariffChangeIsAllowed() function
call.

8 years agoTicket. The stgTime argument added in TariffChangeIsAllowed()
Elena Mamontova [Mon, 28 Nov 2016 13:35:40 +0000 (15:35 +0200)]
Ticket. The stgTime argument added in TariffChangeIsAllowed()
function call.

8 years agoTicket. The time_t currentTime parameter added in
Elena Mamontova [Mon, 28 Nov 2016 13:31:52 +0000 (15:31 +0200)]
Ticket. The time_t currentTime parameter added in
TariffChangeIsAllow() function decfinition. The time_t timeout variable and
construction if ((currentTime > timeout) && (timeout != 0)) added in
TariffChangeIsAllowed().

8 years agoTicket. The time_t currentTime parameter added in TariffChangeIsAllow()
Elena Mamontova [Mon, 28 Nov 2016 13:28:38 +0000 (15:28 +0200)]
Ticket. The time_t currentTime parameter added in TariffChangeIsAllow()
function declaration.

8 years agoTicket. The time_t currentTime parameter added in
Elena Mamontova [Mon, 28 Nov 2016 13:26:52 +0000 (15:26 +0200)]
Ticket. The time_t currentTime parameter added in
TariffChangeIsAllow() function declaration.

8 years agoTicket. The checking if(!data.tariffConf.changePolicyTimeout.emplty)
Elena Mamontova [Thu, 17 Nov 2016 08:22:55 +0000 (10:22 +0200)]
Ticket. The checking if(!data.tariffConf.changePolicyTimeout.emplty)
removed and appendResetableTag() added for the changePolicyTimeout
in the Serialize() function.

8 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 agoMerge branch 'stg-2.409'
Maxim Mamontov [Sun, 13 Nov 2016 02:17:00 +0000 (21:17 -0500)]
Merge branch 'stg-2.409'

8 years agoMerge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Sun, 13 Nov 2016 02:16:23 +0000 (21:16 -0500)]
Merge branch 'stg-2.409' into stg-2.409-radius

8 years agoFix passing params to OnDisconnect in rscriptd.
Maxim Mamontov [Sun, 13 Nov 2016 02:12:56 +0000 (21:12 -0500)]
Fix passing params to OnDisconnect in rscriptd.

8 years agoFix build on Darwin.
Maxim Mamontov [Sun, 13 Nov 2016 02:12:39 +0000 (21:12 -0500)]
Fix build on Darwin.

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 agoTicket 37. The timeout variable added, if(stgTime > timeout && timeout
Elena Mamontova [Thu, 27 Oct 2016 13:17:04 +0000 (16:17 +0300)]
Ticket 37. The timeout variable added, if(stgTime > timeout && timeout
!= 0) construction added in the TariffChangeIsAllowed() function.

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 agoMerge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Sat, 17 Sep 2016 13:12:30 +0000 (16:12 +0300)]
Merge branch 'stg-2.409' into stg-2.409-radius

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 agoMerge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Sat, 17 Sep 2016 12:59:24 +0000 (15:59 +0300)]
Merge branch 'stg-2.409' into stg-2.409-radius

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.