Commit Graph

830 Commits

Author SHA1 Message Date
DanB
d3b3794770 Gorm fixes, send pointer to value instead of value itself to Save method, Count method natively handled in SQL now 2015-03-02 18:33:40 +01:00
DanB
720a333ed7 Merge branch 'master' of https://github.com/cgrates/cgrates 2015-03-02 13:20:04 +01:00
DanB
f3e97e3392 Paginator parameters rename 2015-03-02 13:19:42 +01:00
Radu Ioan Fericean
ee4a358a78 use cgrates/gorm for stability 2015-03-02 14:18:36 +02:00
Radu Ioan Fericean
b46d15737e enable json rpc over websocket 2015-03-02 11:40:52 +02:00
DanB
a4bbad4001 TPActionTriggers-MinSleep from int to string 2015-02-24 09:50:14 +01:00
DanB
461b715c3b Adding indexes to postgres tp tables, ApierV1.AddBalance using BalanceId, ApierV1.AddTriggeredAction using ActionTriggersId 2015-02-20 16:44:08 +01:00
DanB
01f1b9aa64 ApierV1.GetMaxSessionTime, make direction, tenant, account and subject optional in ApierV1.SetDerivedChargers 2015-02-18 19:35:12 +01:00
Radu Ioan Fericean
65a5eaf78b all tests passing 2015-02-09 20:48:22 +02:00
Radu Ioan Fericean
41cb3ab7d1 work in progress 2015-02-09 20:48:22 +02:00
DanB
3f5540ce4c Tests fixes for ActionTriggers 2015-02-09 12:50:05 +01:00
Radu Ioan Fericean
dc5111eedb preserve tag 2015-02-09 13:26:58 +02:00
Radu Ioan Fericean
dbcc21c4d5 fix for tp actiontrigger id 2015-02-09 13:17:25 +02:00
Radu Ioan Fericean
f0fc38e62a more tests and fixes 2015-02-06 19:02:52 +02:00
Radu Ioan Fericean
d10366457a added extra uniqueid for action triggers 2015-02-06 15:34:24 +02:00
DanB
c3b885d79d Merge branch 'master' of https://github.com/cgrates/cgrates 2015-02-06 13:25:03 +01:00
DanB
ff68023ca5 ApierV2.GetAccounts 2015-02-06 13:24:51 +01:00
Radu Ioan Fericean
4ff96becee human readable action and action trigger id 2015-02-05 23:20:50 +02:00
Radu Ioan Fericean
39a85a76de cleanned all vet's warnings 2015-02-05 23:20:50 +02:00
DanB
211f980329 Default RunId changed to *default for consistency, StoredCdr.Rated property so we can import already calculated CDRs, fixes for SkipErrors and SkipRated API filters for CDRs, created_time fix on MySQL, fix injected Cost when importing from external file and .Rated is false 2015-02-05 17:01:45 +01:00
DanB
98935b99b7 Responder.TestGetDerivedMaxSessionTime fix 2015-02-04 15:06:54 +01:00
DanB
8e4fe785fc Merge branch 'master' of https://github.com/cgrates/cgrates 2015-02-04 14:18:37 +01:00
DanB
afb8aae211 GetStoredCdrs.Count temporary fix until gorm analyses our reported issue 2015-02-04 13:56:33 +01:00
Radu Ioan Fericean
73096da0b6 fix data matched prefix missing 2015-02-03 20:57:40 +02:00
DanB
bc169e24d0 Test TestGetDerivedMaxSessionTime modified for rif's review 2015-02-02 21:31:50 +01:00
DanB
08dee64412 Remove realcalls_test since it becomes hard to maintain it 2015-02-02 17:37:43 +01:00
Radu Ioan Fericean
347e78d5b5 new core rating rules 2015-01-27 18:57:08 +02:00
Radu Ioan Fericean
e440bdf37e handle http for rpc rquests at /jsonrpc 2015-01-20 18:16:02 +02:00
Radu Ioan Fericean
a75035af3c balance activation times (work in proggress) 2015-01-20 18:16:02 +02:00
DanB
97e2bc9a22 Local tests fixups 2015-01-18 18:09:07 +01:00
DanB
6126b69c4e NEW configuration format - cgrates.json 2015-01-18 12:54:07 +01:00
Radu Ioan Fericean
ef101ce3b0 nil balance map fix
fix for adding default balance on uninitialized account
2015-01-06 14:21:40 +02:00
Radu Ioan Fericean
6881d84054 protection against malformed destination keys 2015-01-06 10:32:29 +02:00
DanB
ea3a9e6dee Responder.GetSessionRuns, SM-Kamailio with prepaid support 2015-01-01 15:57:21 +01:00
DanB
180d54391d Fix regex rules for BalanceTimingTags csv parsing 2014-12-26 13:01:49 +01:00
DanB
29dda3ecfe Merge branch 'master' of https://github.com/cgrates/cgrates 2014-12-26 11:53:18 +01:00
DanB
52bd163746 Loader changes, adding BalanceTag in Actions.csv and ActionTriggers.csv 2014-12-26 11:46:54 +01:00
DanB
6808f41414 Following changes in gorm, fix tests, removed count CDRs 2014-12-26 11:43:08 +01:00
Radu Ioan Fericean
0bb8691101 balance activation times 2014-12-22 23:02:14 +02:00
DanB
ff60061a84 Event interface containing AsEvent instead of New, for better readability outside of sessionmanager package, storedCdr supporting event interface for testing purposes, Responder.GetDerivedMaxSessionTime tests 2014-12-22 18:47:12 +01:00
DanB
3c2c21e990 Responder.GetDerivedMaxSessionTime with build in derived charging calculation 2014-12-22 08:29:05 +01:00
DanB
f583c24a6b Merge branch 'master' of https://github.com/cgrates/cgrates 2014-12-07 12:40:23 +01:00
Radu Ioan Fericean
26c6c22832 match empty filters 2014-12-07 13:39:52 +02:00
DanB
cd81e7865a Merge branch 'master' of https://github.com/cgrates/cgrates 2014-12-07 12:27:25 +01:00
Radu Ioan Fericean
3df2ee6d5f more fixes and tests on balance filter matching 2014-12-07 13:26:16 +02:00
DanB
0115b5ba6f Merge branch 'master' of https://github.com/cgrates/cgrates 2014-12-05 19:25:26 +01:00
DanB
91ff8f5147 Engine to initialize database only when needed, improved db.Flush(), more CdrsV2 local tests 2014-12-05 18:43:30 +01:00
Radu Ioan Fericean
9b40c20915 topup/debit reset only reseting matched balances 2014-12-05 13:26:38 +02:00
Radu Ioan Fericean
524e2cc94d added balance tag for action 2014-12-04 20:13:19 +02:00
Radu Ioan Fericean
2dd3f6527d added balance tag for action triggers
also chenged the names of direction and destination params (prefixxed
with balance)
2014-12-04 20:13:19 +02:00