Commit Graph

278 Commits

Author SHA1 Message Date
James Cole
5fb7635100 Remove double lines from code. 2019-08-28 16:28:14 +02:00
James Cole
21a9e981a2
Fix for #2446 2019-08-21 05:15:47 +02:00
James Cole
c2296c3ad5
Code cleanup 2019-08-17 10:47:29 +02:00
James Cole
93f1854be0
Refactor journal repository and fix tests. 2019-08-10 13:42:33 +02:00
James Cole
fd2f4e1459
Fix test coverage. 2019-08-09 05:58:52 +02:00
James Cole
9b574ce7ad
Improve test coverage. 2019-07-31 16:53:09 +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
fba3cb6d90
Remove unnecessary backslash 2019-06-07 17:58:11 +02:00
James Cole
8b7e87ae57
Big refactor to remove the deprecated transaction collector. 2019-05-30 12:31:19 +02:00
James Cole
e0d87aa11e First part of a large code cleanup commit. 2019-02-12 21:49:28 +01:00
James Cole
1774bcbabe Add copyright statements and newlines. 2019-02-09 10:36:59 +01:00
James Cole
311d51464d Add support for #2006 2019-02-08 07:14:45 +01:00
James Cole
3e25d66902
Add newlines and copyright notices. 2018-12-31 07:48:23 +01:00
James Cole
2c7d94e5e9
Update tests and code. 2018-12-21 16:38:10 +01:00
James Cole
4f5d8f830e
Various fixes and checks. 2018-12-21 10:11:18 +01:00
James Cole
050334a648
Various API updates. 2018-12-03 07:18:05 +01:00
James Cole
b12773bc99 Fix for #1784 2018-10-17 06:06:36 +02:00
James Cole
0c7b652a70
Last code optimization before release. 2018-07-28 10:45:16 +02:00
James Cole
e3e0e12fef Various code cleanup. 2018-07-27 05:03:37 +02:00
James Cole
0312ba8ad7 Various bugfixes and code clean up. 2018-07-27 04:46:21 +02:00
James Cole
89be30c4b9 Catch various errors. 2018-07-26 06:27:52 +02:00
James Cole
6bcfea1de4 Various code cleanup. 2018-07-26 06:10:17 +02:00
James Cole
4fa5f4e5a3 Fix some issues that triggered in scrutinizer. 2018-07-22 21:32:58 +02:00
James Cole
b7752928a4 Give all of these files a newline at the end. 2018-07-22 20:32:02 +02:00
James Cole
ea2c48bca5 Fix tests. 2018-07-22 17:06:10 +02:00
James Cole
7b41c5b301 Cast all translations to strings. 2018-07-15 09:38:49 +02:00
James Cole
c9356c1237
Restructure code to rename a variable. 2018-06-30 05:21:21 +02:00
James Cole
12a84572e2 First code for the piggy bank API. 2018-06-29 06:43:44 +02:00
James Cole
ad6a9a7df7
Expand API for attachments. 2018-06-24 06:51:22 +02:00
James Cole
d73cd4b515
Can now create recurring transactions. #1469 2018-06-17 15:14:34 +02:00
James Cole
1cf91c78f8
Lots of new code for recurring transactions. #1469 2018-06-16 21:47:51 +02:00
James Cole
cde9c4a2bc
Update copyright statements. 2018-05-11 10:08:34 +02:00
James Cole
13b78bdc20
Code cleanup 2018-04-28 06:23:13 +02:00
James Cole
fa7ab45a40
Code cleanup 2018-04-02 14:50:17 +02:00
James Cole
6660306ac4
Various code cleanup. 2018-03-25 09:01:43 +02:00
James Cole
6ab03bb228
Improve IBAN uniqueness. 2018-03-19 08:16:54 +01: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
a97bfc92e1
Add newlines and strict types 2018-03-05 19:35:58 +01:00
James Cole
5b8adbfd0c
Repository and test clean up. 2018-02-28 21:32:59 +01:00
James Cole
1a721ac6b5
Fix transactions. 2018-02-23 16:59:21 +01:00
James Cole
5261b784b0
New validation 2018-02-23 15:13:23 +01:00
James Cole
b627d42160
Code removal. The code removed from these classes must move to respective services. 2018-02-22 20:07:14 +01:00
James Cole
5bb7530642
Expand tests. 2018-02-18 20:40:32 +01:00
James Cole
eb0da038fb
Expand tests and API code. 2018-02-18 10:31:15 +01:00
James Cole
60f6311e00
Rule to validate if object belongs to submitting user. 2018-02-16 15:17:36 +01:00
James Cole
233305ecb4
Change namespace of rules. 2017-09-13 07:49:58 +02:00
James Cole
b219283d66
New validation thing is taking my namespace 2017-09-09 22:06:30 +02:00
James Cole
3a3eb4e84f
Various code cleanup. 2017-09-09 06:41:45 +02:00
James Cole
1d87da7745
Fix nullpointer 2017-09-03 11:13:45 +02:00
James Cole
816b291ed3
Code for #805 2017-09-03 10:39:05 +02:00
James Cole
09f838089b
Allow rule to be applied to transactions (not just group). 2017-07-16 13:04:45 +02:00
James Cole
22144b78ea
Strict comparisons. 2017-07-15 16:41:07 +02:00
James Cole
71a41bc00d
Add newlines [skip ci] 2017-07-07 08:09:42 +02:00
James Cole
f0dab5bdb9
Code for #608 2017-04-15 22:52:01 +02:00
James Cole
595596d73f
Apparently this is changed in PHPStorm’s formatting templates so there you go [skip ci]. 2017-04-09 07:44:22 +02:00
James Cole
c206a95d55
Improved various tests. 2017-03-04 15:29:20 +01:00
James Cole
45f4395f26
Large commit to get rid of a lot of static methods. 2017-03-04 07:26:03 +01:00
James Cole
d9aa074330
Large commit to get rid of a lot of static methods. 2017-03-04 07:18:35 +01:00
James Cole
5d0cdc4ffa
Various code cleanup. 2017-02-17 06:42:36 +01:00
James Cole
4c2d9e0eee
Small code cleanup. 2017-02-11 15:52:55 +01:00
James Cole
8a98204a69
Update app() calls 2017-02-05 16:16:15 +01:00
James Cole
7688d7c619
Include trigger that responds to tags 2017-01-24 15:38:41 +01:00
James Cole
baefd4f93b
Two new rule triggers 2017-01-22 11:23:40 +01:00
James Cole
08ac27cccf
Fix some scrutiniser issues. 2017-01-14 19:43:33 +01:00
James Cole
457037ed99
Should not be a final class, dummy. 2017-01-03 20:05:20 +01:00
James Cole
2d59b6718d
Various code style fixes. 2017-01-03 17:46:08 +01:00
James Cole
a5036c86dc
Updated test database. 2016-12-30 13:47:23 +01:00
James Cole
e64b778d13
Various small fixes. 2016-12-28 11:34:00 +01:00
James Cole
bf0744e03a Updated some copyright notices [skip ci] 2016-12-23 07:02:45 +01:00
James Cole
cf69333c6d
This fixes #395 2016-11-08 21:34:13 +01:00
James Cole
22a2fe3f61
Improved search. 2016-11-06 14:52:31 +01:00
James Cole
77e2cf40df
Removed more getJournals functions in favour of the collector. 2016-11-06 08:08:06 +01:00
James Cole
962cad33e2
Code cleanup. 2016-11-05 18:43:18 +01:00
James Cole
b50e5d7e59 Can also change destination in new rule. 2016-10-29 09:22:51 +02:00
James Cole
a3148dc172 Code for #321 2016-10-29 09:03:14 +02:00
James Cole
9a3cd27700 Many updates to get split transactions and normal transactions working side by side. 2016-10-21 19:06:22 +02:00
James Cole
49af6522a8 Some code cleanup. 2016-10-07 05:44:21 +02:00
James Cole
b355c18e0c Some code cleanup and copyright cleanup. [skip ci] 2016-10-05 06:52:15 +02:00
James Cole
d8586c8043 Fixes bug #338 2016-09-29 19:17:24 +02:00
James Cole
f3b9798216 Fix some rule things. 2016-09-24 09:12:17 +02:00
James Cole
70ea227bd0 Add logging to processor #322 2016-09-21 21:01:10 +02:00
James Cole
27c832ed58 Logging for rule triggers #322 2016-09-21 20:58:12 +02:00
James Cole
a31b4ccf01 Basic logging for willMatchEverything #322 2016-09-21 20:30:09 +02:00
James Cole
d221ea68d0 Gave all rule actions some logging. #322 2016-09-21 20:12:04 +02:00
James Cole
f38984398d Code clean up [skip ci] 2016-09-16 12:07:45 +02:00
James Cole
a7351f348d
Fixed a bug mentioned by @vissert and added some logging for @sandermulders
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
2016-09-12 18:43:10 +02:00
James Cole
a9444ac702
Code cleanup.
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
2016-08-26 09:30:52 +02:00
James Cole
d0c6afc3a9 Various code clean up. [skip ci] 2016-08-26 08:21:31 +02:00
James Cole
43a7544dd7
Catch empty (null) descriptions. Which never happens.
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
2016-08-26 07:37:27 +02:00
James Cole
0fe70dae17
Referring to Auth::user will not work from the command line.
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
2016-08-26 07:37:09 +02:00
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
962965b5b7 Code cleanup. 2016-05-15 18:36:40 +02:00
James Cole
6a750a998f Remove category chart from report controller. 2016-05-15 16:13:05 +02:00
James Cole
bd818b2dea Code clean up. 2016-05-15 15:39:22 +02:00
James Cole
4164ebcc69 Added a lot of todo things. 2016-05-15 15:24:23 +02:00
James Cole
3344bb7263 Code cleanup. 2016-05-02 20:49:19 +02:00
James Cole
c66df3cb2c Code cleanup. 2016-05-01 09:42:08 +02:00
James Cole
dc4665e82a
Add debug messages. 2016-04-08 11:59:44 +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
Robert Horlings
1732acfee2 Bugfix for a bug when adding a tag in a rule 2016-02-24 14:06:11 +01:00
James Cole
4d1771614a Code reformat 2016-02-23 16:02:44 +01:00
Robert Horlings
a4d7bf4ebe Implemented job to execute rulegroup on existing transactions 2016-02-18 20:15:50 +01:00
James Cole
31d6789ff0 Type hinting. 2016-02-18 06:54:50 +01:00
James Cole
bdcb7372a5 More phpdoc. 2016-02-18 06:45:10 +01:00
James Cole
b8df2226ae New phpdoc. 2016-02-18 06:38:37 +01:00
James Cole
106bae5c97 Move factories to separate folder. 2016-02-18 06:34:16 +01:00
James Cole
f82a2b3bc5 Some phpdoc. 2016-02-18 06:24:47 +01:00
James Cole
4cb616ebeb Some PHP7 compatible type definitions 2016-02-18 06:24:39 +01:00
James Cole
1bcc975d7b Some new phpDoc and refactoring. 2016-02-18 06:15:01 +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
49211482b0 New getters and setters. 2016-02-17 20:25:54 +01:00
James Cole
b3aecec11d Remove parameter and make fields private. 2016-02-17 20:25:20 +01:00
James Cole
7cb86d0254 Add field. Also limit range. 2016-02-17 20:24:59 +01:00
James Cole
0ba9389ca2 Rename field. 2016-02-17 20:24:27 +01:00
James Cole
1902787104 Removed constructor. 2016-02-17 20:23:53 +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
1e799402ee Rule actions no longer need to know the journal at construction time. This is easier. 2016-02-17 19:56:05 +01:00
James Cole
5f9c61c4b4 Update Processor with new situation. 2016-02-17 19:08:27 +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
8024ad123e Cleaned up the Processor. This completely breaks everything @ roberthorlings has built but stay with me. 2016-02-17 18:47:05 +01:00
James Cole
cd057045e6 Code clean up. 2016-02-17 18:23: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
8cfe25bfac Small code clean up [skip ci] 2016-02-17 17:32:02 +01:00
Robert Horlings
7840a5ea49 Added missing import 2016-02-17 16:30:54 +01:00
Robert Horlings
3a33ac1455 Removed code left over from merge 2016-02-17 16:29:32 +01:00
Robert Horlings
2eb7d8ba91 Merge branch 'feature/test-triggers' of github.com:roberthorlings/firefly-iii into feature/test-triggers 2016-02-17 16:26:29 +01:00
Robert Horlings
8fdc6c11e1 Merge branch 'develop' into feature/test-triggers 2016-02-17 16:14:07 +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