James Cole
b7429a358f
Code cleanup [skip ci]
2016-03-19 17:34:37 +01:00
James Cole
cf8b4e2f76
Quick bug fix.
2016-03-19 17:34:02 +01:00
James Cole
c205eee6fd
Something went wrong.
2016-03-19 17:28:04 +01:00
James Cole
7b22099608
Merge branch 'release/3.8.0'
...
Conflicts:
app/Repositories/Account/AccountRepository.php
2016-03-19 17:17:06 +01:00
James Cole
ccad52b80f
Fix opening balance bug #214
2016-03-18 16:29:08 +01:00
James Cole
f093e29bd1
Removed the last floatvals.
2016-03-16 17:48:07 +01:00
James Cole
fe9b8e834d
Change the precision. Should not influence anything.
2016-03-16 17:47:07 +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
be58da539e
Fix various small issues.
2016-03-14 20:38:23 +01:00
James Cole
2f19ff314b
Fix for #185
2016-03-12 14:18:28 +01:00
James Cole
a0fd4b505a
Fix for #185
2016-03-12 11:07:54 +01:00
James Cole
919aa70251
Account controller #185
2016-03-12 11:05:26 +01:00
James Cole
1aea4045a3
Fixes #151
2016-03-12 07:44:20 +01:00
James Cole
8281279452
Repository will store edits/ new journals #122
2016-03-12 07:37:26 +01:00
James Cole
59cdfa6fe6
Fix #211
2016-03-12 06:58:39 +01:00
James Cole
c5fb734e42
Fix query. [skip ci]
2016-03-03 13:24:02 +01:00
James Cole
4a88e241b5
Code cleanup.
2016-03-03 09:05:09 +01:00
James Cole
8da0317b19
Fixed tag repository and provider.
2016-03-03 09:03:55 +01:00
James Cole
297c2e244d
Created / updated rule repository and provider.
2016-03-03 09:02:04 +01:00
James Cole
a51d752a35
Update rule group repository and provider.
2016-03-03 09:00:15 +01:00
James Cole
7800b0a7f5
Update piggy bank repository / provider.
2016-03-03 08:58:15 +01:00
James Cole
5ce4104644
Update transaction journal repository / provider
2016-03-03 08:55:43 +01:00
James Cole
b4f1bbf793
Updated export job repository
2016-03-03 08:53:05 +01:00
James Cole
ca33bea6b7
Update category repository.
2016-03-03 08:50:17 +01:00
James Cole
42d20ff693
Updated budget provider and budget repository.
2016-03-03 08:44:20 +01:00
James Cole
98bd9bdaa0
New bill repository provider.
2016-03-03 08:40:25 +01:00
James Cole
13bac92a24
Adapted attachment repository.
2016-03-03 08:38:24 +01:00
James Cole
8008311d9c
Added a new argument to the constructor of the account repository which should correctly inject the user.
2016-03-03 08:31:18 +01:00
James Cole
7234f011ec
Clean up method relying on old transaction journal code.
2016-03-02 20:11:28 +01:00
James Cole
5b949d6e00
Move some stuff around.
2016-03-02 19:41:22 +01:00
James Cole
2e7703bc97
Fixed two crashes.
2016-03-02 13:55:48 +01:00
James Cole
9b69a6addd
Lots of todo's [skip ci]
2016-03-02 13:51:56 +01:00
James Cole
715c381eb2
No longer need this left join.
2016-03-02 12:53:20 +01:00
James Cole
ca32ae4561
Fix is / is not already joined.
2016-03-02 12:52:36 +01:00
James Cole
6b277c5e67
Fix bill overview.
2016-03-02 12:47:15 +01:00
James Cole
1ac64fd0b3
Last updates, fixes the main list.
2016-03-02 12:33:07 +01:00
James Cole
dbdc334931
Clean up frontpage query call (first of many...)
2016-03-02 12:09:45 +01:00
James Cole
ecefcfabc0
This is a partial fix for issue #151 . It does not filter on account selection.
2016-02-24 17:37:08 +01:00
James Cole
594f9822c7
Fix parameters, re-order.
2016-02-23 15:54:13 +01:00
Robert Horlings
3fd90a37fb
Merge branch 'develop' into feature/rules-on-existing-transactions
2016-02-23 13:17:07 +01:00
James Cole
deeeb06488
Added debug info to the export routine.
2016-02-23 06:39:01 +01:00
Robert Horlings
50e5c21735
Moved JournalCollector to other package to encourage reuse
2016-02-18 20:01:53 +01:00
James Cole
b1c2f8faa1
Various code cleaning things.
2016-02-17 21:14:32 +01:00
James Cole
1cf0125d1b
New method for transaction matcher.
2016-02-17 20:31:18 +01:00
James Cole
f9e2a677d9
Offload stuff to repositories for rules and rule groups, see issue #185
2016-02-17 17:27:41 +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
Robert Horlings
e7bb4a8ec6
Implemented option to specify pagesize when retrieving journals
2016-02-17 10:17:16 +01:00
James Cole
28bce44f69
More code cleanup.
2016-02-12 17:41:12 +01:00
James Cole
e5402ea7c1
Fixed a sum.
2016-02-12 15:01:32 +01:00
James Cole
6ab09a3603
Undo PHP7 thing in master.
2016-02-11 11:22:27 +01:00
James Cole
df45298c1f
Fixed bug in sumOfEverything() function
2016-02-11 11:21:50 +01:00
James Cole
4a64dce737
Fixed bug in sumOfEverything() function
2016-02-11 11:21:05 +01:00
James Cole
d473455680
Valid misspelled #107
2016-02-11 06:30:37 +01:00
zjean
5c03e64f46
Tried to start with #107
...
- Always show the IBAN in the create account view, because it is always editable the edit view.
- Added 'accountNumber' account_meta field, and showing it in create/edit account view.
2016-02-10 22:09:24 +01:00
James Cole
426351bb54
Added new lines.
2016-02-10 16:01:18 +01:00
James Cole
bc67113d77
This fixes the broken tests.
2016-02-10 12:01:45 +01:00
James Cole
5974bdcc2a
This fixes what turns out to be an incredibly inaccurate chart.
2016-02-10 07:34:04 +01:00
James Cole
f9696287a4
Removed opening balance as possible expense for the balance thing. [skip ci]
2016-02-10 06:58:41 +01:00
James Cole
807dede90a
Because nextExpectedMatch() must return a date (and cannot return null) the list of bills will show "unknown" when the bill is next expected in 1900.
2016-02-10 06:55:08 +01:00
James Cole
9429d84cf8
Some code cleanup [skip ci]
2016-02-07 07:56:58 +01:00
James Cole
8fb3348a7c
Added some (yet without function) information icons. [skip ci] [skip Scrutinizer]
2016-02-06 20:17:55 +01:00
James Cole
060b031272
Added PHP7 return type statements.
2016-02-06 18:59:48 +01:00
James Cole
4424e48926
Added PHP7 return type statements.
2016-02-06 16:22:12 +01:00
James Cole
f5b89ca783
Some code cleanup.
2016-02-05 15:41:40 +01:00
James Cole
9b10984d81
Fix for bug #171
2016-02-05 13:16:12 +01:00
James Cole
c5e283a13e
This is a fix for #171
2016-02-05 13:13:47 +01:00
James Cole
df918e8529
Fixed all problems related to strict types.
2016-02-05 13:09:18 +01:00
James Cole
aa1193a9eb
Fixed all problems related to strict types.
2016-02-05 12:28:05 +01:00
James Cole
8f7f263a48
Declare strict type.
2016-02-05 12:08:25 +01:00
James Cole
0bad227548
No more PHP 5.6 tests.
2016-02-05 09:30:06 +01:00
James Cole
78bcd3e1bb
Changed a lot of parameters.
2016-02-05 09:25:15 +01:00
James Cole
dbd32abdd1
Also delete old files.
2016-02-04 17:50:35 +01:00
James Cole
f300287814
Better cleanup routine.
2016-02-04 17:22:09 +01:00
James Cole
86c22c9fdd
New export functionality.
2016-02-04 17:16:16 +01:00
James Cole
55e4875662
New method to collect a users accounts by the given ids.
2016-02-04 08:53:15 +01:00
James Cole
c1ecc62ac1
Replaced Session::get() with session()
2016-02-04 07:27:03 +01:00
James Cole
168ed5ac56
Renamed some stuff, courtesy of sensiolabs.
2016-01-28 21:50:20 +01:00
James Cole
71bf054ab1
Removed TODO items in favour of issues, or actual fixes.
2016-01-28 21:05:26 +01:00
James Cole
08131e42af
Implemented some new tests.
2016-01-24 20:38:58 +01:00
James Cole
94700f4064
Fixed some things in the rule controllers.
2016-01-24 16:50:55 +01:00
Robert Horlings
f6b7bd5b44
Fixed a bug in storing date changes for the opening balance of an account
2016-01-22 15:44:23 +01:00
James Cole
59fff8928b
Simplified some methods.
2016-01-22 07:35:28 +01:00
James Cole
c9e4a09da6
Sort by alphabet.
2016-01-20 15:23:36 +01:00
James Cole
c84f4e2bc0
Sort by alphabet.
2016-01-20 15:21:27 +01:00
James Cole
f3fff6f1c5
Code rearrangement.
2016-01-19 13:59:54 +01:00
James Cole
e834489206
Some cleaning up courtesy of PHPStorm.
2016-01-16 07:14:36 +01:00
James Cole
7bf75128a8
Some cleaning up courtesy of PHPStorm.
2016-01-15 23:12:52 +01:00
James Cole
32ed8a4d8d
Removed some unnecessary methods.
2016-01-15 22:41:26 +01:00
James Cole
51062bc80b
Some cleaning up and suppressing.
2016-01-15 20:48:06 +01:00
James Cole
4e3c59a2da
Some cleaning up courtesy of PHPStorm.
2016-01-15 19:37:09 +01:00
James Cole
dcbfe90cf7
Some code cleanup courtesy of PHPStorm.
2016-01-15 18:21:59 +01:00
James Cole
f69be86c74
Some code cleanup courtesy of PHPStorm.
2016-01-15 17:53:54 +01:00
James Cole
820722f44e
Some code cleanup courtesy of PHPStorm.
2016-01-15 17:38:09 +01:00
James Cole
01792f91e2
Code cleanup
2016-01-15 13:13:33 +01:00
James Cole
651dff0750
Shorter method names.
2016-01-15 13:13:21 +01:00
James Cole
daf65cb387
Split rule and rule group repositories.
2016-01-15 11:27:27 +01:00
James Cole
2605f60983
Refactor. Split rules and rule groups.
2016-01-15 11:16:41 +01:00
James Cole
209258b507
Fixed various bugs.
2016-01-15 09:25:32 +01:00
James Cole
1f538be16e
More code for rules.
2016-01-14 21:34:17 +01:00
James Cole
81b9d5da09
User can now re-order triggers and actions.
2016-01-14 11:27:15 +01:00
James Cole
b9b0413510
More resources for rules.
2016-01-14 10:33:24 +01:00
James Cole
97770da619
Re-order rule groups.
2016-01-14 09:53:59 +01:00
James Cole
15d3414443
Can order rules.
2016-01-14 09:38:48 +01:00
James Cole
4697fbdeef
Routine to delete rules. Should include routine to move rules to other group.
2016-01-13 21:44:26 +01:00
James Cole
06174d6afb
Edit rule group.
2016-01-13 18:50:15 +01:00
James Cole
27aae279e6
More code for rules.
2016-01-13 18:34:56 +01:00
James Cole
19444551e4
Get withdrawals only.
2016-01-10 12:16:25 +01:00
James Cole
2980860377
Did some code cleanup. Comments and headers mostly.
2016-01-09 08:20:55 +01:00
James Cole
6573bd6b4b
Code cleanup according to PHPStorm.
2016-01-02 19:33:44 +01:00
James Cole
3888b8cceb
Code cleanup according to PHPStorm.
2016-01-02 16:57:31 +01:00
James Cole
294df4a2b3
Simplified some code.
2016-01-02 16:32:08 +01:00
James Cole
265dd37212
Cleanup and add various warnings.
2016-01-02 16:31:14 +01:00
James Cole
e892c9a824
Followed up on some inspections.
2016-01-01 21:49:27 +01:00
James Cole
5eb0e18cae
Cleaning up
2016-01-01 21:15:03 +01:00
James Cole
27cabb398e
More queries filtered.
2016-01-01 21:07:15 +01:00
James Cole
7d1de0da17
Method no longer used.
2016-01-01 20:02:01 +01:00
James Cole
bf16c9a42b
Method no longer used.
2016-01-01 20:01:07 +01:00
James Cole
1a7b1ce499
Method no longer used.
2016-01-01 20:00:20 +01:00
James Cole
efc9bc71a7
Method no longer used.
2016-01-01 19:58:31 +01:00
James Cole
fc5b315af0
Method no longer used.
2016-01-01 19:58:05 +01:00
James Cole
7a4a78628d
Method no longer used.
2016-01-01 19:57:23 +01:00
James Cole
d16fb30a62
Method no longer used.
2016-01-01 19:56:23 +01:00
James Cole
2d177e660e
Method no longer used.
2016-01-01 19:55:47 +01:00
James Cole
2f131dc170
Method no longer used.
2016-01-01 19:55:00 +01:00
James Cole
59731878f6
Month report optimised.
2016-01-01 19:46:12 +01:00
James Cole
54ede8aa18
Code cleanup.
2016-01-01 13:54:23 +01:00
James Cole
b415b6b043
Some code cleanup.
2016-01-01 12:41:00 +01:00
James Cole
3dcdacc3b8
Cleared lots of queries. In some cases, from 1400 back to 300. And those 300 have a different cause which is next.
2015-12-31 17:46:34 +01:00
James Cole
1b3592d959
Optimise chart.
2015-12-31 07:49:19 +01:00
James Cole
d75614e9a7
Optimised two charts, cleaned up some code.
2015-12-30 16:42:09 +01:00
James Cole
08703e282f
Fix array.
2015-12-30 09:30:06 +01:00
James Cole
2904baf44e
From 1100+ queries to a steady 6.
2015-12-30 09:17:29 +01:00
James Cole
f99e46bf75
Removed for-loop in favour of "pluck()" aka: RTFM.
2015-12-30 09:17:14 +01:00
James Cole
9f87890ead
Removed for-loop in favour of "pluck()" aka: RTFM.
2015-12-30 09:17:05 +01:00
James Cole
638184cf66
Removed for-loop in favour of "pluck()" aka: RTFM.
2015-12-30 09:16:58 +01:00
James Cole
03babfe75c
Removed for-loop in favour of "pluck()" aka: RTFM.
2015-12-30 09:16:53 +01:00
James Cole
6a9d931ba3
More code cleanup.
2015-12-30 08:21:11 +01:00
James Cole
a3d2a9e00b
Some cleaning up, and I hope simplification.
2015-12-30 08:15:04 +01:00
James Cole
7cc47ca0b1
Some cleaning up.
2015-12-29 22:48:55 +01:00
James Cole
95f4a83f41
Split category repository into two repositories. One for database calls for single categories, the other pertaining all categories.
2015-12-29 22:44:13 +01:00
James Cole
35154dc7a3
Another chart optimised
2015-12-29 18:55:30 +01:00
James Cole
0fd0d7d080
Less queries for category frontpage chart.
2015-12-29 10:08:40 +01:00
James Cole
658265c938
Optimised whole budget chart to use less queries.
2015-12-29 08:45:43 +01:00
James Cole
38fe9e7e1c
Optimised chart.
2015-12-29 08:27:13 +01:00
James Cole
6ab6dd6ac3
First attempt at optimised query for multi-year budget chart.
2015-12-28 19:56:28 +01:00
James Cole
83de3482ce
Optimised budget year chart.
2015-12-28 17:57:03 +01:00
James Cole
8e75c345d9
Found a bug that requires a new release of FF3 to fix.
2015-12-28 16:52:21 +01:00
James Cole
97727e2e3d
Some code cleanup courtesy of phpstorm.
2015-12-28 07:55:09 +01:00
James Cole
f81e7da8bb
Code cleanup.
2015-12-28 07:49:27 +01:00
James Cole
8e827bf83b
Removed parameter.
2015-12-28 07:43:57 +01:00
James Cole
51b45b4ed4
Code cleanup.
2015-12-28 07:12:47 +01:00
James Cole
f263844793
Fix a bug where you cannot edit transactions. Will warrant a new release of FF.
2015-12-28 07:12:12 +01:00
James Cole
15846e157b
From 200+ queries back to ~17.
2015-12-27 21:17:04 +01:00
James Cole
bc59f2db0d
Optimised queries.
2015-12-27 20:07:49 +01:00
James Cole
cd2be8c1a4
Activate caching.
2015-12-27 19:51:20 +01:00
James Cole
3e80ffc52b
Huge change to bills and paid/unpaid/cc boxes.
2015-12-27 17:29:41 +01:00
James Cole
6b750c909a
Fix forgotten call in bill repository.
2015-12-27 08:39:41 +01:00
James Cole
67a178591d
Some query optimisations.
2015-12-27 07:59:00 +01:00
James Cole
f5e5659c1f
Code cleanup.
2015-12-26 09:40:24 +01:00
James Cole
8b0f0fb615
Optimise queries.
2015-12-26 09:39:35 +01:00
James Cole
209116e766
Query optimisations.
2015-12-26 09:21:45 +01:00
James Cole
79392ab656
Add caching to various queries and lists.
2015-12-26 08:44:34 +01:00
James Cole
3ca1207231
#135
2015-12-26 08:24:41 +01:00
James Cole
9f7c6c2d0c
Extra cache.
2015-12-25 17:11:55 +01:00
James Cole
4f38b77ef6
Better caching.
2015-12-25 09:34:37 +01:00
James Cole
c61fb7a598
Marked some unused stuff as deprecated.
2015-12-25 07:52:56 +01:00
James Cole
63969f5a33
Same routine but for money spent on accounts.
2015-12-25 07:42:00 +01:00
James Cole
c07591ff5c
New method, earnedForAccounts
2015-12-25 07:31:43 +01:00
James Cole
15fd8cf486
Completed the renaming of some methods.
2015-12-24 10:27:45 +01:00
James Cole
44811a3e7c
Fix a bug where the frontpage would not honor transaction order.
2015-12-21 11:30:58 +01:00
James Cole
ac61dfae6b
File reformatting.
2015-12-18 16:38:50 +01:00
James Cole
1b3d208540
First attempt at functional category chart.
2015-12-16 13:08:26 +01:00
James Cole
c4c4fbc34c
Refactor
2015-12-13 10:05:13 +01:00
James Cole
9284eb3fe9
First attempt at account specific bill report.
2015-12-12 10:33:19 +01:00
James Cole
afdae8bc1e
Fix a sum for #129
2015-12-12 08:26:12 +01:00
James Cole
18eba02026
Expanded report for categories.
2015-12-11 18:03:13 +01:00
James Cole
a785c450b1
First attempt at including a budget report.
2015-12-11 17:53:17 +01:00
Antonio Spinelli
b3d99cd210
apply demeter law for transaction type calls
...
- adds contants for transaction type names
- demeter law = never speaks with strangers
2015-12-10 16:53:48 -02:00
James Cole
55be174037
Method to find an account.
2015-12-04 06:56:45 +01:00
James Cole
d87d12a0f5
Better query. See if works.
2015-12-02 08:58:40 +01:00
James Cole
f2b08346d0
Log.
2015-12-02 08:50:28 +01:00
James Cole
7b8c86e1e3
Only get active piggy banks.
2015-12-02 08:25:38 +01:00
unknown
de634da513
Only get active savings accounts.
2015-12-02 08:22:25 +01:00
James Cole
d1329be2fa
Bill scan routine should not grab transfers and income.
2015-11-20 20:13:10 +01:00
James Cole
28d2583c10
Remove multiplication.
2015-10-03 22:34:25 +02:00
James Cole
ba6f4268f0
Get correct fields.
2015-10-03 17:55:08 +02:00
James Cole
0bd18f94ac
Fix ambiguous id.
2015-10-03 17:54:15 +02:00
James Cole
66fb63661f
Less journals.
2015-10-03 17:53:13 +02:00
James Cole
d9b16beb0a
Added some debug.
2015-10-03 17:51:13 +02:00
James Cole
6a01a9bdfd
Fix bill scan.
2015-10-01 07:48:50 +02:00
James Cole
866bc2f3bd
Cleanup in budgets.
2015-09-27 17:44:49 +02:00
James Cole
cdc0e3cfd8
Some cleaning up.
2015-09-25 20:40:24 +02:00
James Cole
0a8f4017bd
Fix some chart things. Again.
2015-09-25 16:18:50 +02:00
James Cole
45293fbd42
Fixes for #109 .
2015-09-25 16:00:14 +02:00
James Cole
51c7d4fb1b
Properly show spent and earned. #109
2015-09-13 07:40:37 +02:00
James Cole
fa586dba7e
Also include all types.
2015-09-13 07:35:53 +02:00
James Cole
8ad40389f2
Corrected the field used for bug #109
2015-09-13 07:34:58 +02:00
James Cole
b3333cc2d3
Experimental fix for issue #109 .
2015-09-13 07:32:39 +02:00
James Cole
3699a7ba9a
Some cleaning up.
2015-09-08 19:38:04 +02:00