50 Commits

Author SHA1 Message Date
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
ionutboangiu
5ac08799e1 Update *remove actions to support multiple balance types at once 2024-03-12 18:11:34 +01:00
ionutboangiu
6c16ff320f Replace interface{} with any 2023-05-31 10:23:12 +02:00
Trial97
61b823443d Finished adding all fieldAsInterface methods 2021-11-28 10:25:32 +01:00
Trial97
e2342c3997 Started adding FieldAsInterface on Account 2021-11-28 10:25:32 +01:00
Trial97
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +01:00
Trial97
1437cfaff3 Updated SetBalance action 2021-02-25 18:13:01 +01:00
andronache
1d0a814e42 Changed consts in utils 2021-01-11 10:57:44 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
adragusin
f2700b5e78 Added tests for Clone functions 2019-11-20 17:12:04 +01:00
adragusin
d3522ef2e7 Updated engine tests after replacing MapStorage 2019-11-20 17:12:04 +01:00
DanB
417b4fadff Actions.csv - removing balance direction filter 2019-02-13 11:23:27 +01:00
TeoV
bea5803f76 Add 2 new actions (*topup_zero_negative and *set_expiry) and test for them 2018-02-14 13:23:08 +01:00
edwardro22
b651b06826 Removed copyright from go doc 2017-09-10 15:02:46 +00:00
DanB
401625861d Updated project README, COPYRIGHT information 2016-09-02 13:04:34 +02:00
Radu Ioan Fericean
418a9cf12f most engine tests passing
ResetAccountPending
2016-02-19 13:20:07 +02:00
Radu Ioan Fericean
b2253e6385 refactoring 2016-02-19 13:20:07 +02:00
Radu Ioan Fericean
097c0073a0 engine compiling 2016-02-19 13:20:07 +02:00
Radu Ioan Fericean
060a901a6a keep counter value on re-init 2016-02-02 22:14:30 +02:00
Radu Ioan Fericean
300c405697 safeguard agains nil unit counters 2015-11-08 15:12:36 +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
7139450819 started unit counters refactoring
work in progress
2015-10-30 18:37:30 +02:00
Radu Ioan Fericean
1e1c115ed4 unit counters revision 2015-10-30 11:26:49 +02: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
ec040b4ae6 added reverse alias APIs and console commands
fixes #170, fixes #168
2015-09-07 17:22:54 +03:00
Radu Ioan Fericean
23593d585c better balance modyfy event 2015-07-28 14:17:34 +03:00
Radu Ioan Fericean
fcb5fee2fc normal test passing 2015-06-16 22:09:10 +03:00
Radu Ioan Fericean
d2b4df69ca Balance DestinationId now take multiple destinations 2015-05-16 00:01:30 +03:00
Radu Ioan Fericean
bf0ac94a8d updated copyright info 2015-03-11 19:49:52 +02:00
Radu Ioan Fericean
5e7eec3685 updated copyright year 2014-11-27 21:27:00 +02:00
Radu Ioan Fericean
680985200f Using map[interface{}]struct{} instead of []interface{} in cache 2014-11-26 18:28:07 +02:00
Radu Ioan Fericean
24c79b6b22 working version for cache transactions 2014-09-03 19:17:55 +03:00
Radu Ioan Fericean
8023de5f24 action trigger balance weight and exp time
also execute action trigger only on dirty balances
2014-07-15 16:14:58 +03:00
Radu Ioan Fericean
f701a42948 renamed action's BalanceId to BalanceType
also added a topup test
2014-02-21 13:14:06 +02:00
Radu Ioan Fericean
f052b14214 added some comments 2014-02-20 17:29:13 +02:00
Radu Ioan Fericean
30a842a6b9 miminmum match length is now parametrized and can be moved in the confs
Note that it affects the general speed
2014-02-01 14:04:12 +02:00
Radu Ioan Fericean
e03bbc9b96 started accounting storage 2013-12-17 21:19:38 +02:00
Radu Ioan Fericean
cd9eaecb83 changed the way the destinations are cached 2013-12-17 19:33:04 +02:00
Radu Ioan Fericean
022c426a20 further caching and optimizations 2013-12-14 16:51:28 +02:00
Radu Ioan Fericean
e6ae067db1 reverted some unnecessary optimization 2013-12-04 12:12:24 +02:00
Radu Ioan Fericean
51379946d9 skip the general balance from counter 2013-12-04 11:58:53 +02:00
Radu Ioan Fericean
95b6cbbdc8 refactored unit counters 2013-12-04 11:44:48 +02:00
Radu Ioan Fericean
b669d1d326 Added bool parameter for searching datadb for cached values or not 2013-11-28 18:09:24 +02:00
Radu Ioan Fericean
fb80c6c2a8 destinations using string and compression 2013-10-29 16:57:55 +02:00
Radu Ioan Fericean
552aa0904f using DestinationContainsPrefix method 2013-09-30 22:07:39 +03:00
Radu Ioan Fericean
2f6b1f3f84 tests passing with new balance struct 2013-09-05 23:28:04 +03:00
Radu Ioan Fericean
931c6efb1a converted minutebucket to balance, compiled but test fail 2013-09-05 19:14:22 +03:00
Radu Ioan Fericean
6c79fd2092 rater lib changed to engine 2013-07-24 13:38:45 +03:00