James Cole
5c7df5c04d
Copyright notices. [skip ci]
...
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
2016-05-20 12:41:23 +02:00
James Cole
3c3a83330d
More moving stuff around.
2016-05-20 11:02:07 +02:00
James Cole
70d936bb8f
Fix filters and other methods that used deprecated methods.
2016-05-20 08:09:53 +02:00
James Cole
6a750a998f
Remove category chart from report controller.
2016-05-15 16:13:05 +02:00
James Cole
4164ebcc69
Added a lot of todo things.
2016-05-15 15:24:23 +02:00
James Cole
37fe2d22b0
PHP7 compatible function definitions.
2016-04-05 22:00:03 +02:00
James Cole
3277858c5a
Code cleanup. [skip ci]
2016-04-01 16:44:46 +02:00
James Cole
ef6ef57e67
Various code cleanup things.
2016-03-19 16:51:52 +01:00
James Cole
322fef2db1
Removed most logging.
2016-03-19 11:25:11 +01:00
James Cole
7aa2565e89
Fixed a bug where profiled account names would not get strtolower() and thus match nothing. Thanks to Tweakers.net user "doeners"
2016-03-19 11:23:23 +01:00
James Cole
ababdacf89
Some code cleanup
...
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
2016-03-14 20:53:56 +01:00
James Cole
d054e085d6
This will make triggers check existing fields first.
2016-03-12 07:02:39 +01:00
James Cole
7234f011ec
Clean up method relying on old transaction journal code.
2016-03-02 20:11:28 +01:00
James Cole
9b69a6addd
Lots of todo's [skip ci]
2016-03-02 13:51:56 +01:00
James Cole
500243b0b3
This fixes most of the tests.
2016-03-02 13:37:28 +01:00
James Cole
106bae5c97
Move factories to separate folder.
2016-02-18 06:34:16 +01:00
James Cole
f7d06b9759
Some more code cleanup.
2016-02-17 21:59:47 +01:00
James Cole
a178fed0c6
Code cleanup courtesy of Scrutiniser CI.
2016-02-17 21:55:00 +01:00
James Cole
b1c2f8faa1
Various code cleaning things.
2016-02-17 21:14:32 +01:00
James Cole
6c22bad77a
Revamped a part of the rule test code.
...
- clean way of constructing triggers
- processor can be constructed in a number of ways.
- cleaner transaction matcher using collections instead of arrays
2016-02-17 21:03:59 +01:00
James Cole
51acc34a80
Fix factory and triggers.
2016-02-17 20:19:44 +01:00
James Cole
694447e66c
Removed all constructors from all triggers.
2016-02-17 20:09:03 +01:00
James Cole
05b7a610ef
Prep for private constructor.
2016-02-17 19:58:49 +01:00
James Cole
12b6791e8b
Changed trigger constructor. No longer needs model AND journal, now only model. Wait for it...
2016-02-17 19:07:20 +01:00
James Cole
28fa1264b7
Remove matchesAnything
2016-02-17 18:06:49 +01:00
James Cole
a6c3189833
Add willMatchEveryThing as a static replacement for matchesAnything
2016-02-17 18:00:13 +01:00
James Cole
1a110de597
Throw errors instead of abort()
2016-02-17 15:52:46 +01:00
James Cole
0d44f82c86
Code cleanup. [skip ci]
2016-02-17 15:38:21 +01:00
James Cole
9cac61dc33
Better description for matchesAnything
2016-02-17 15:37:05 +01:00
James Cole
52481a6e8b
Code formatting.
2016-02-17 15:29:26 +01:00
James Cole
b3e18f4e56
Merge pull request #189 from roberthorlings/feature/trigger-matches-anything
...
Check for triggers that match anything
2016-02-17 15:28:39 +01:00
Robert Horlings
d8bb83e8c4
Moved creation of Trigger objects to factory for reuse
2016-02-17 13:20:51 +01:00
Robert Horlings
7c8c82edd7
Added method for triggers to check whether they match all transactions
2016-02-17 13:02:27 +01:00
James Cole
8f7f263a48
Declare strict type.
2016-02-05 12:08:25 +01:00
James Cole
168ed5ac56
Renamed some stuff, courtesy of sensiolabs.
2016-01-28 21:50:20 +01:00
James Cole
f69be86c74
Some code cleanup courtesy of PHPStorm.
2016-01-15 17:53:54 +01:00
James Cole
3dbb1f034d
Fix the last triggers.
2016-01-13 14:51:49 +01:00
James Cole
1270e5d15c
More valid triggers.
2016-01-13 14:37:19 +01:00
James Cole
afec8480fb
More working triggers.
2016-01-13 14:12:46 +01:00
James Cole
8720511046
From account contains trigger.
2016-01-13 14:05:26 +01:00
James Cole
a7a00ecf40
More rule possibilities
2016-01-13 14:02:22 +01:00
James Cole
1087b9f5df
Can now trigger.
2016-01-13 07:47:26 +01:00