Commit Graph

120 Commits

Author SHA1 Message Date
Radu Ioan Fericean
862795ef06 all actons can be conditional with Filter field 2016-01-21 17:00:25 +02:00
Radu Ioan Fericean
4e784b6ef5 conditional topup tests and improvements
fixes #275
2016-01-19 21:25:06 +02:00
Radu Ioan Fericean
2812eafc3e implemented *has operator and added Type field 2016-01-19 16:13:01 +02:00
Radu Ioan Fericean
5e7bdbcd97 condition language parser and tests 2016-01-18 22:03:11 +02:00
Radu Ioan Fericean
cba3c25b01 condition string parser class 2016-01-15 19:05:32 +02:00
Radu Ioan Fericean
269ada2d00 started conditional actions 2016-01-13 19:58:23 +02:00
Radu Ioan Fericean
f453040b72 include blcoker in balance match 2016-01-13 19:26:42 +02:00
Radu Ioan Fericean
2905d4d089 fixes and tests for blocker flag, fixes #274 2016-01-13 18:51:00 +02:00
Radu Ioan Fericean
13834eefbe started balance blocker flag 2016-01-12 22:19:12 +02:00
Radu Ioan Fericean
834c12f8fa use map for shared group member ids 2016-01-12 20:32:43 +02:00
DanB
704b0811f3 Resolving conflicts from master 2015-12-27 11:17:05 +01:00
Radu Ioan Fericean
d5ab7e2a5e ID and UniqueID for action trigger 2015-12-15 17:56:44 +02:00
DanB
16beb55df8 Fix conflicts from master 2015-12-13 11:31:26 +01:00
Radu Ioan Fericean
961cfc74ae debug logging 2015-12-11 16:34:26 +02:00
DanB
eac2e59451 Fix utils/consts 2015-12-03 13:19:10 +01:00
Radu Ioan Fericean
f57ebb16d2 create incerements for getcost as well 2015-11-30 19:38:58 +02:00
Radu Ioan Fericean
feedacc7b5 protection against nil unit counter 2015-11-25 13:29:04 +02:00
Radu Ioan Fericean
0af46970c3 hardcode direction in old account structure 2015-11-16 18:40:42 +02:00
Radu Ioan Fericean
6dd613e526 Merge branch 'master' into cdrmerge 2015-11-16 10:09:50 +02:00
Radu Ioan Fericean
9bc82ada01 fix general tests 2015-11-15 22:02:19 +02:00
Radu Ioan Fericean
aef3bdeb47 connect fee gets debited first 2015-11-15 21:34:03 +02:00
Radu Ioan Fericean
e94414e1f1 added RemoveBalances API
fixes #239
2015-11-12 11:43:01 +02:00
Radu Ioan Fericean
515684ea38 action transaction tests
fixes #284
2015-11-11 19:34:26 +02:00
Radu Ioan Fericean
83bced074c renamed *exp_balance in *balance_expired 2015-11-10 12:46:50 +02:00
Radu Ioan Fericean
9b9cdb860d test for *exp_balance trigger
fixes #269
2015-11-10 10:31:37 +02:00
Radu Ioan Fericean
80101640b9 safer threshold type checks 2015-11-10 09:32:19 +02:00
Radu Ioan Fericean
ed9ed328f3 added exp_balance action trigger 2015-11-10 09:31:45 +02:00
Radu Ioan Fericean
b92bd74126 safer threshold type checks 2015-11-06 15:58:28 +02:00
DanB
d830dc7762 Fix ApierV1.GetAccount and GetAccounts to display old account format properly 2015-11-04 17:30:42 +01:00
Radu Ioan Fericean
1f20539bb3 convert *max/min_counter to *max/min_event_counter
this is the default behavior
2015-11-03 18:43:12 +02:00
Radu Ioan Fericean
233b4b0b4a fix init counters 2015-11-03 18:21:23 +02:00
Radu Ioan Fericean
4b40c761e0 unit tests passing 2015-11-03 16:53:34 +02:00
Radu Ioan Fericean
a44916465d triggers improvements
work in progress
2015-11-02 22:44:48 +02:00
Radu Ioan Fericean
c11a8b279b better unit counter init 2015-11-02 14:15:40 +02:00
Radu Ioan Fericean
7139450819 started unit counters refactoring
work in progress
2015-10-30 18:37:30 +02:00
Radu Ioan Fericean
c81db1afcc Factor value parsing 2015-10-30 18:15:23 +02:00
Radu Ioan Fericean
88137b75db *generic balance used by all tors
fixes #250
2015-10-30 17:03:54 +02:00
Radu Ioan Fericean
1e1c115ed4 unit counters revision 2015-10-30 11:26:49 +02:00
Radu Ioan Fericean
3d3cdb0252 implemented AsOldStructure for accounts 2015-10-28 22:25:18 +02:00
Radu Ioan Fericean
23d85af439 timing ids and sharedgroup are now maps 2015-10-28 21:03:40 +02:00
Radu Ioan Fericean
332bb5e26c add *default Id to default balance
reference to #251
2015-10-22 16:01:02 +03:00
Radu Ioan Fericean
0745cee158 engine tests passing 2015-10-21 22:28:16 +03:00
Radu Ioan Fericean
41c6a597aa direction as simple balance filter
work in proggress
2015-10-21 19:26:45 +03:00
Radu Ioan Fericean
3d20c99f64 added account info to balance from action 2015-10-03 00:30:22 +03:00
DanB
2ef26c9be9 New HttpPoster implementation, moved Logger to utils package 2015-10-01 14:47:07 +02:00
Radu Ioan Fericean
f2c8af67e0 mark the created default balance 2015-09-29 12:54:42 +03:00
Radu Ioan Fericean
d6f528d090 code cleanups, used consts from utils 2015-09-29 11:03:36 +03:00
Radu Ioan Fericean
991fc09884 save action triggers to ratingdb 2015-09-20 10:42:53 +03:00
Radu Ioan Fericean
ac7eb6fbaf trim spaces for balance dest ids 2015-09-20 10:11:37 +03:00
Radu Ioan Fericean
1154c25f81 added enabledisablebalance action
fixes #174
2015-09-15 14:24:49 +03:00