Commit Graph

275 Commits

Author SHA1 Message Date
James Cole
139b3ffab4
Test more rule actions. 2020-08-23 09:21:50 +02:00
James Cole
febe60b3d1
Test more actions in new format. 2020-08-23 08:51:58 +02:00
James Cole
fc519c41bc
Update conversion actions. 2020-08-23 08:03:28 +02:00
James Cole
6e074d9b8b
Start testing new rule actions. 2020-08-23 07:42:14 +02:00
James Cole
a504617425
Mark all triggers as deprecated. 2020-08-22 20:07:39 +02:00
James Cole
07220eb167
Update rule actions. 2020-08-22 17:18:15 +02:00
James Cole
216a0a186c
Implement first version of the new rule engine. 2020-08-22 16:55:54 +02:00
James Cole
ab5a146277
Rename class. 2020-08-22 13:01:37 +02:00
James Cole
ffca935ced
Expand search. 2020-08-22 12:24:01 +02:00
James Cole
d69934ca8f
Rule engine and search engine now use the same operators; making them interchangeable. 2020-08-21 08:23:44 +02:00
James Cole
e46958c23e
Update some code style 2020-07-31 15:12:26 +02:00
James Cole
bb5de8bf7e Update copyrights. 2020-06-30 19:05:35 +02:00
James Cole
b1732d0de8 New possibilities for date range triggers #3403 2020-06-12 07:49:39 +02:00
James Cole
a77187135f Fixed #3297 2020-06-05 06:34:55 +02:00
James Cole
a4f66b3d86 Date before and after triggers 2020-05-16 12:55:54 +02:00
James Cole
c847621874 First "date is" trigger for #3049 2020-05-16 12:11:06 +02:00
James Cole
86f14885eb Added a rule action that will delete the transactions it matches. 2020-05-16 11:21:26 +02:00
James Cole
b248bd6d0c Remove code. 2020-05-15 19:59:23 +02:00
James Cole
af50ad3db4 New action 2020-05-09 14:47:47 +02:00
James Cole
2cc326caa1
Fix #3272 2020-04-19 06:05:39 +02:00
James Cole
852d057a47
Fix #3259 2020-04-13 07:57:46 +02:00
James Cole
5445752588
Update some phpdocs, courtesy of Psalm. 2020-03-25 07:03:23 +01:00
James Cole
cdebde5a2b
Fixed #3048 2020-03-22 17:28:25 +01:00
James Cole
9f7d5b8e88
Update email address. 2020-02-16 13:57:05 +01:00
James Cole
90b3bce361
Fix #3042 2020-01-26 07:36:11 +01:00
James Cole
3f7891f4e8
Fix #3045 2020-01-24 06:02:18 +01:00
James Cole
47eb39b10d
Fix #2924 2019-12-28 06:38:23 +01:00
James Cole
fc8400cdf9
Fix and expand tests for #2723 2019-12-26 11:06:38 +01:00
James Cole
2a110185a1
All rules for #2723, untested. 2019-12-21 06:37:41 +01:00
James Cole
be2794406c
First code for #2723 2019-12-20 21:01:27 +01:00
James Cole
3e40a6cf3d
Fix #2755 2019-10-21 18:23:07 +02:00
James Cole
9ef1af176d
Restore the correct copyright owners. 2019-10-05 10:10:11 +02:00
James Cole
78481b8aa9
Update copyright of Firefly III to the GNU Affero General Public License as suggested by @nxxxse in #2607. This applies to all code in this commit from this moment onwards. 2019-10-02 07:00:58 +02:00
James Cole
4a4065a141
Update copyright of Firefly III to the GNU Affero General Public License as suggested by @nxxxse in #2607. This applies to all code in this commit from this moment onwards. 2019-10-02 06:38:00 +02:00
James Cole
92158e52ef
Update copyright of Firefly III to the GNU Affero General Public License as suggested by @nxxxse in #2607. This applies to all code in this commit from this moment onwards. 2019-10-02 06:37:26 +02:00
James Cole
5ff0ca81b7
#2285 2019-09-07 21:02:34 +02:00
James Cole
f9f1fa0fcb Clean up API code and fix test code. 2019-09-04 17:39:39 +02:00
James Cole
fc78c32fca
Add newline to files 2019-08-17 12:09:03 +02:00
James Cole
c2296c3ad5
Code cleanup 2019-08-17 10:47:29 +02:00
James Cole
12641f96b1
Fix #2422 2019-08-14 20:23:11 +02:00
James Cole
94b8bb8f66
Cleanup journal repository 2019-08-10 08:42:46 +02:00
James Cole
cb1db06a7c
Remove unnecessary loops. 2019-08-10 07:04:54 +02:00
James Cole
0b8427f881
Add some TODO's, refactor some code. 2019-08-03 19:17:59 +02:00
James Cole
b049ca27f1
Improve test coverage. 2019-08-01 06:21:44 +02:00
James Cole
5524941c90
Update rule handling and views. 2019-07-27 15:01:13 +02:00
James Cole
5bbe1eab7c
Expand test coverage and improve transaction management code. 2019-07-01 20:22:35 +02:00
James Cole
940a730827
Fix reconciliation. 2019-06-22 13:09:11 +02:00
James Cole
2d3d7f7720
Some generic code refactoring. 2019-06-21 19:10:02 +02:00
James Cole
bc33d1b67d
Renamed various fields from their old camel casing to new ones. 2019-06-16 13:16:04 +02:00
James Cole
8b5551fc26
Replace \get_class with get_class 2019-06-07 18:20:15 +02:00
James Cole
fba3cb6d90
Remove unnecessary backslash 2019-06-07 17:58:11 +02:00
James Cole
e4a9abc315
Clean up repositories and cron code. 2019-06-07 17:57:46 +02:00
James Cole
e15c35de64
Migrated all code to group collector. 2019-05-31 13:35:33 +02:00
James Cole
8b7e87ae57
Big refactor to remove the deprecated transaction collector. 2019-05-30 12:31:19 +02:00
James Cole
d13317095f
Replace transaction collector. 2019-05-29 18:28:28 +02:00
James Cole
7658b7d9a6 Apply fix for #2070 2019-02-16 11:45:08 +01:00
James Cole
e0d87aa11e First part of a large code cleanup commit. 2019-02-12 21:49:28 +01:00
James Cole
71104f375c Fix tests 2019-02-10 14:33:03 +01:00
James Cole
4f274a290e Generic debug info. 2019-02-09 20:44:31 +01:00
James Cole
1ec2772255 Fix #2052 2019-02-08 16:51:29 +01:00
James Cole
3e25d66902
Add newlines and copyright notices. 2018-12-31 07:48:23 +01:00
James Cole
9a2e5c36a1
Finish up rule groups API 2018-12-07 15:36:04 +01:00
HamuZ HamuZ
efa3eb1981
fix typo in PrependDescription [skip ci] 2018-10-01 08:21:03 +03:00
Marcin Szymanski
3c18ea1e14
Fix incorrect logging message 2018-09-30 01:07:12 +01:00
James Cole
57b4a5be08 Code and tests for #1450 2018-09-15 13:43:57 +02:00
James Cole
4377627332 Some extra logging + a fix for #1683 2018-09-13 20:23:17 +02:00
James Cole
02370fb65d Fix final tests 2018-09-01 20:45:05 +02:00
James Cole
0cfe991482 Fix issue where the tester would not respect the strict yes/no setting. 2018-08-31 17:48:54 +02:00
James Cole
835a421909 Refactor rule processor so it's testable. 2018-08-24 17:57:34 +02:00
James Cole
9914c0791e
Rename journal collector to more fitting transaction collector. 2018-08-11 14:33:47 +02:00
James Cole
5908c0ce8c
Code cleanup and realign. 2018-08-06 19:14:30 +02:00
James Cole
422e80530b
Refactor rule creation. 2018-08-05 15:34:20 +02:00
James Cole
0c7b652a70
Last code optimization before release. 2018-07-28 10:45:16 +02:00
James Cole
7c950c3022 Remove a lot of deprecated code. 2018-07-25 06:45:25 +02:00
James Cole
4fa5f4e5a3 Fix some issues that triggered in scrutinizer. 2018-07-22 21:32:58 +02:00
James Cole
a722dc4235 Clean up code, remove unused methods. 2018-07-22 16:35:46 +02:00
James Cole
8eb4259be0 Last minute test fixes. 2018-07-03 19:04:46 +02:00
James Cole
4a12d4d156 Code cleanup [skip ci] 2018-06-06 21:23:00 +02:00
James Cole
b33ca786ae
use cases for rules tested. 2018-05-30 18:05:06 +02:00
James Cole
a9c8c8384d Merge branch 'hotfix/4.7.3.1' into develop 2018-05-14 19:24:54 +02:00
James Cole
4aaec0e379 Fix an issue where new users would be given a rule that always triggers. 2018-05-14 19:24:35 +02:00
James Cole
88348f59c2
Could repair #1389 2018-04-29 09:00:49 +02:00
James Cole
13b78bdc20
Code cleanup 2018-04-28 06:23:13 +02:00
James Cole
38b1fc7aa6
Improve logging [skip ci] 2018-04-14 23:12:54 +02:00
James Cole
f4afcb4d50
Add debug logging [skip ci] 2018-04-14 23:09:24 +02:00
James Cole
4b019fe38b
Limit scope in transaction matcher. 2018-04-14 23:06:27 +02:00
James Cole
15a22f0bfc
Expand rules and bills. 2018-04-14 20:31:31 +02:00
James Cole
d8a00f4314
Various code for bills and rules. 2018-04-14 09:59:04 +02:00
James Cole
8f0e36a8e4
Code for #1324 2018-04-08 16:27:52 +02:00
James Cole
7af10aca9e
Add new action to link a transaction to a bill. 2018-04-07 06:20:45 +02:00
James Cole
fa7ab45a40
Code cleanup 2018-04-02 14:50:17 +02:00
James Cole
170d23d768
Code cleanup before release. 2018-03-29 19:01:47 +02:00
James Cole
6660306ac4
Various code cleanup. 2018-03-25 09:01:43 +02:00
James Cole
b12872e5de
Various code cleanup. 2018-03-11 16:24:07 +01:00
James Cole
aad0864018
Various code cleanup [skip ci] 2018-03-10 22:38:20 +01:00
James Cole
72314e2d9f
Expand tests for updated triggers / actions. 2018-03-04 17:10:36 +01:00
James Cole
d22fb9f438
Improve tests for transaction rules. 2018-03-04 16:42:29 +01:00
James Cole
2ab44fb33a
Improve test coverage. 2018-03-04 07:56:30 +01:00
James Cole
1b304bf85e
use journal repository instead of direct calls. 2018-02-25 19:09:05 +01:00
James Cole
6591fa9fb4
Small adjustments to fix tests. 2018-02-23 16:21:28 +01:00
James Cole
33db99ffd3
Update find methods to return null 2018-02-16 15:19:19 +01:00
James Cole
3815f9836f
Various code cleanup. 2017-12-29 09:05:35 +01:00
James Cole
8bd76d1ff0
Various code cleanup. 2017-12-22 18:32:43 +01:00
James Cole
1f6e42afd9
Update copyright [skip ci] 2017-12-17 14:44:05 +01:00
James Cole
ff9ad859b3
Update copyright [skip ci] 2017-12-17 14:41:58 +01:00
James Cole
78335e5814
Expand tests, do code cleanup. 2017-12-17 14:30:53 +01:00
James Cole
1b56765da3
Touch journals so issue #1036 is fixed. 2017-12-04 20:57:33 +01:00
James Cole
60abe2a3af
Various code cleanup. 2017-11-25 20:27:53 +01:00
James Cole
35647a062c
Add php doc blocks. 2017-11-25 15:20:53 +01:00
James Cole
63d93968d0
Fix tests. 2017-11-15 15:30:15 +01:00
James Cole
ffca858b8d
Code clean up. 2017-11-15 12:25:49 +01:00
James Cole
57dcdfa0c4
Code clean up. 2017-11-15 11:33:07 +01:00
James Cole
649dca77f5
Code clean up. 2017-11-15 10:52:29 +01:00
James Cole
d2ab03061f
Various code cleanup. 2017-11-05 19:49:20 +01:00
James Cole
ac461d64a8
New copyright notice. 2017-10-21 08:40:00 +02:00
James Cole
15e060ea9e
Won’t set budget for anything other then withdrawals. #916 2017-10-13 18:26:05 +02:00
James Cole
67ed6e14aa
New tests. 2017-10-06 15:41:21 +02:00
James Cole
29e02ce31f
A longer search string will no longer partly match on account name! 2017-10-06 07:07:12 +02:00
James Cole
e68594a93b
Various code cleanup. 2017-10-05 11:49:06 +02:00
James Cole
c17a278e57
New unit tests. 2017-10-04 15:27:20 +02:00
James Cole
c000fe4557
Update tests 2017-10-03 10:41:48 +02:00
James Cole
95b5793f63
New triggers and actions for notes. #872 2017-10-03 05:28:00 +02:00
James Cole
ea1d543795
Fix #853 2017-09-25 09:28:16 +02:00
James Cole
5e900736f8
Various code cleanup. 2017-09-14 17:40:02 +02:00
James Cole
233305ecb4
Change namespace of rules. 2017-09-13 07:49:58 +02:00