Commit Graph

549 Commits

Author SHA1 Message Date
James Cole
77aced6734
Test every happy path for journal creation. 2018-02-18 16:35:26 +01:00
James Cole
7bbfb692de
Move code to repository. 2018-02-17 10:47:32 +01:00
James Cole
9cc1bfb4b5
Improve code for test coverage 2018-02-16 22:14:53 +01:00
James Cole
c9f4a1eb7b
Add route binder to transaction 2018-02-16 16:43:57 +01:00
James Cole
e69e6c1ce8
Would be nice to remove the references as well... 2018-02-09 19:28:16 +01:00
James Cole
53a6c10ada
Remove reference to guard from models. 2018-02-09 19:24:15 +01:00
James Cole
95648c37b3
Various code cleanup. 2018-02-09 19:11:55 +01:00
James Cole
d2a8819dd4
Merge branch 'apifix' into develop
* apifix:
  Fix issues with API authentication.

# Conflicts:
#	app/Api/V1/Controllers/BillController.php
#	app/Http/Middleware/HttpBinder.php
#	app/Transformers/AttachmentTransformer.php
#	app/Transformers/BillTransformer.php
#	app/Transformers/NoteTransformer.php
#	routes/api.php
2018-02-09 14:57:39 +01:00
James Cole
d393c693de
Fix issues with API authentication. 2018-02-09 14:47:37 +01:00
James Cole
909dc212fb
make sure all route binders use guard. 2018-02-07 11:15:36 +01:00
James Cole
178072d3af
Remove unused markdown method 2018-02-06 19:49:09 +01:00
James Cole
089300d57e
Update date related code to fix several issues with SQLite 2018-02-04 09:22:52 +01:00
James Cole
7c70732247
Some light refactoring. No changes. 2018-01-25 18:41:27 +01:00
James Cole
80f96abf08
Fix notes in link types. 2018-01-17 10:40:44 +01:00
James Cole
3ccb791674
Various code cleanup. [skip ci] 2018-01-17 09:32:18 +01:00
James Cole
50882f309b
Make sure number of steps is always correct. 2018-01-13 07:36:44 +01:00
James Cole
91178d2604
Various cleanup in import. 2018-01-10 18:18:49 +01:00
James Cole
2edd49a8b4
First version that supports Spectre. 2018-01-08 20:20:45 +01:00
James Cole
9bcd1ed807
Make sure file content is trimmed. 2018-01-06 19:17:47 +01:00
James Cole
3e9f98b43e
Expand test coverage. 2018-01-05 17:29:42 +01:00
James Cole
d9dd00eb39
Fix #1074 2017-12-30 21:04:04 +01:00
James Cole
3815f9836f
Various code cleanup. 2017-12-29 09:05:35 +01:00
James Cole
a10672a683
Progress for Spectre import. 2017-12-28 18:38:59 +01:00
James Cole
bf390b65d9
Replace Laravel binder with own binder. This will save in queries and increase security. 2017-12-25 08:45:23 +01:00
James Cole
96ccce5db3
Expand tests. 2017-12-24 11:29:16 +01:00
James Cole
93c463c349
Fix all tests after large composer update. 2017-12-23 20:46:52 +01:00
James Cole
08b743ddcb
Expand test coverage. 2017-12-23 17:42:07 +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
78335e5814
Expand tests, do code cleanup. 2017-12-17 14:30:53 +01:00
James Cole
aa9500f5ad
Initial code to get providers from Spectre. 2017-12-09 12:23:28 +01:00
James Cole
e4a0a718d1
Code that add extra check for #1039 2017-12-05 20:50:04 +01:00
James Cole
c2a129ddb0
Remove unused reference to model. 2017-11-30 20:26:16 +01:00
James Cole
51f07ce918
Fix #1024 and #1025 2017-11-30 19:43:02 +01:00
James Cole
f30442320c
Remove meta field when content is empty. 2017-11-30 19:39:49 +01:00
James Cole
0cf359b75f
Code for #959 2017-11-25 20:54:42 +01:00
James Cole
60abe2a3af
Various code cleanup. 2017-11-25 20:27:53 +01:00
James Cole
f7b1168e7c
Code cleanup for scrutinizer. 2017-11-25 08:54:52 +01:00
James Cole
4e6b782204
Fix tests. 2017-11-22 20:30:23 +01:00
James Cole
ee45cc2f73
Fix upgrade database thing. 2017-11-18 16:36:22 +01:00
James Cole
5f127b7bec
Expand types. 2017-11-18 15:53:27 +01:00
James Cole
ffca858b8d
Code clean up. 2017-11-15 12:25:49 +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
33d89d52c2
Code that allows transaction reconciliation. #736 2017-11-05 19:48:43 +01:00
James Cole
ac801c8b86
Update models. 2017-11-03 16:04:17 +01:00
James Cole
ac461d64a8
New copyright notice. 2017-10-21 08:40:00 +02:00
James Cole
e934d8943f
Fix #915 2017-10-08 18:27:51 +02:00
James Cole
e68594a93b
Various code cleanup. 2017-10-05 11:49:06 +02:00
James Cole
d1a6b37eb3
Use note object instead of field #888 2017-10-03 10:30:56 +02:00
James Cole
2dfe2ddaf3
Attempt to cover all cases in amount converter, this fixes #840 2017-10-02 16:25:48 +02:00
James Cole
37250cbde3
Various code cleanup. 2017-09-16 09:24:48 +02:00
James Cole
b1135cee60
Various code cleanup 2017-09-16 07:17:58 +02:00
James Cole
0bcc010de8
Create link types when they do not exist in verify routine. #826 2017-09-09 18:36:17 +02:00
James Cole
3a3eb4e84f
Various code cleanup. 2017-09-09 06:41:45 +02:00
James Cole
5e08461385
Fix broken dev installation. 2017-09-01 21:22:55 +02:00
James Cole
632d95f1fb Should fix rule, category and other name checks. #793 2017-09-01 11:20:51 +02:00
James Cole
8dec769d64
Add newlines to files [skip ci] 2017-08-31 06:47:18 +02:00
James Cole
7702ed027b
Expand view for #780 2017-08-30 07:40:39 +02:00
James Cole
394e92d538
Improvements for #616 and others. 2017-08-23 21:21:42 +02:00
James Cole
a5013ecbc3
Expand link view and more features #616 2017-08-21 18:16:15 +02:00
James Cole
35ab4a5ff4
Management of links and first form for link storing #616 2017-08-21 07:13:03 +02:00
James Cole
7684e966fc
First code for #616 2017-08-20 12:41:31 +02:00
James Cole
684c9773c9
Can now register with Bunq and get device server ID. 2017-08-18 21:09:22 +02:00
James Cole
9b17715175
Fix the unit tests. 2017-08-18 15:32:11 +02:00
James Cole
7d8876f03c
new export routine 2017-08-18 15:14:44 +02:00
James Cole
b955486f14
Updated export routine. 2017-08-18 14:45:42 +02:00
James Cole
1d6ca91c01
This fixes the tests. 2017-07-15 22:41:57 +02:00
James Cole
fa00ba2edd
Expand tests and fix various small issues in strict comparison. 2017-07-15 22:17:24 +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
445dbf8779
More and improved code for the import routine. 2017-06-24 05:49:33 +02:00
James Cole
edb355941c
More code for import routine. 2017-06-22 21:50:10 +02:00
James Cole
cddaccb7f7
Further improve import routine 2017-06-21 20:04:35 +02:00
James Cole
b9f110ac2b
Refactor and rename some import things. 2017-06-17 22:49:44 +02:00
James Cole
091596e80e
Lots of new code for new importer routine. 2017-06-10 15:09:41 +02:00
James Cole
c4039b53e6
Various code cleanup. 2017-06-05 11:12:50 +02:00
James Cole
82e74a2afd
Big update to properly support multi currencies. 2017-06-04 13:39:16 +02:00
James Cole
953c38563b
Make sure that accounts and their opening balance values are the same currency. 2017-04-14 07:11:30 +02:00
James Cole
5fb6ff230b
Two small code fixes. 2017-04-13 21:19:10 +02:00
James Cole
994542c75d
First basic code for currency exchange rate routines. 2017-04-13 20:47:59 +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
1fb0a64f31
Various code cleanup [skip ci] 2017-03-24 15:15:12 +01:00
James Cole
fe66d089ad
Expanded test coverage. 2017-03-24 15:01:53 +01:00
James Cole
a25a499ed4
Code cleanup 2017-03-18 07:45:52 +01:00
James Cole
9d22bbee1c
Add code coverage ignore instructions. 2017-03-04 11:19:44 +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
4f50689d0e
- Will now return 0 when nothing to save or when target date is in the past.
- Will calculate correctly when date difference with target date is more than a year.
- Will always return a string
- Will do calculations using bcmath module.
2017-02-25 13:05:33 +01:00
James Cole
8c6972d12d
Various code cleanup. 2017-02-25 05:57:01 +01:00
Joris de Vries
a0e66b913b Show suggested monthly savings for a piggybank
If a piggybank has both a target date and a target amount, show how much money needs to be added to the piggybank each month to achieve both targets.

Strings are currently hard-coded because I want to gauge the reaction to this :)
2017-02-24 22:00:49 +01:00
James Cole
5d0cdc4ffa
Various code cleanup. 2017-02-17 06:42:36 +01:00
James Cole
1ce49b814b
Fix rounding. [skip ci] 2017-01-14 17:23:47 +01:00
James Cole
5bbaaece38 Encryption is optional (but on by default) and a command to switch from one to the other 2017-01-14 17:13:57 +01:00
James Cole
36f1b6a834
New account tests. 2017-01-02 10:05:02 +01:00
James Cole
a5036c86dc
Updated test database. 2016-12-30 13:47:23 +01:00
James Cole
ac86e75233
Updated various files for #506 2016-12-30 13:45:02 +01:00
James Cole
cf0845d190
Reinstated limit repetitions call #508 [skip ci] 2016-12-30 08:44:48 +01:00
James Cole
02bbdcc251
Fix reports and charts for #508 2016-12-30 08:41:48 +01:00
James Cole
13f6bd759b
Views must pick up on this #508 2016-12-30 07:39:42 +01:00
James Cole
a58cd83ea7
Fixed routes and budgets.index #508 2016-12-29 20:48:33 +01:00
James Cole
fe9344cd0a
Round on max number of decimals #506 2016-12-28 21:55:46 +01:00
James Cole
9ae74b4278
Expand views to allow editing of currency decimals #506 2016-12-28 21:48:37 +01:00
James Cole
f2f9f8fbab Various bug fixes and extensions to test routine. 2016-12-25 11:50:42 +01:00
James Cole
5b5acba816 Clean up lots of models. 2016-12-24 17:36:51 +01:00
James Cole
bf0744e03a Updated some copyright notices [skip ci] 2016-12-23 07:02:45 +01:00
James Cole
b6aa79bb38
Various code cleanup. Removed executable flags, added newlines. 2016-12-22 19:42:45 +01:00
James Cole
9859052c4d
Code for issue #489 2016-12-22 16:36:56 +01:00
James Cole
1b4d55cca4
Fix various code style issues. 2016-12-15 21:35:33 +01:00
James Cole
848cfabcba Rearrange code [skip ci] 2016-12-14 18:59:12 +01:00
James Cole
04272fff81
Fixed a small bug in the account frontpage chart. 2016-12-11 17:30:55 +01:00
James Cole
bae2161ee3
Expand tests. 2016-12-10 16:32:52 +01:00
James Cole
b33aa733c7
Fix some minor scrutinizer issues. 2016-11-28 20:38:03 +01:00
James Cole
e8dfbff73f
Various code cleanup. 2016-11-26 09:16:06 +01:00
James Cole
728fda0116
This allows the user to set the “default” currency for an asset account (#305). It doesn’t do anything other than this yet. 2016-11-25 18:00:29 +01:00
James Cole
b739859c64
Expand journal meta with soft delete. This pushes Firefly to 4.2.0. 2016-11-25 17:42:45 +01:00
James Cole
eb78cf20c2 This fixes #414 2016-11-22 19:10:17 +01:00
James Cole
78f297e18f
Fixed some display bugs for split journals. 2016-11-20 14:17:16 +01:00
James Cole
75a524c656
Added debug code for a possible import issue. 2016-11-20 11:40:05 +01:00
James Cole
ee6b72afa5
Fix some bugs related to cash accounts. 2016-11-19 12:57:35 +01:00
James Cole
73f0cc705b
Code cleanup. 2016-11-18 20:06:08 +01:00
James Cole
0c072c7d51
Some code cleanup. 2016-11-18 19:58:06 +01:00
James Cole
962cad33e2
Code cleanup. 2016-11-05 18:43:18 +01:00
James Cole
13e1292bb7
Automated code cleanup [skip ci] 2016-11-05 11:47:21 +01:00
James Cole
1657048181 Fixed bug #370 2016-11-01 18:40:35 +01:00
James Cole
39749aa113 First code set for #330 2016-10-29 15:14:33 +02:00
James Cole
01de147900 Display message about common error. 2016-10-26 06:41:50 +02:00
James Cole
81f6fef978 Add new line to files [skip ci] 2016-10-23 12:42:44 +02:00
James Cole
0d87f7c4ca
Better implementation of markdown.
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
2016-10-22 11:50:33 +02:00
James Cole
e4d249e73c Piggy bank supports notes (#350) 2016-10-22 10:13:49 +02:00
James Cole
12a6a61100 Various code cleanup [skip ci] 2016-10-22 09:33:03 +02:00
James Cole
6a553f77f3 Large update to fix split journals. 2016-10-21 21:41:31 +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
f8935c92ea Unrelated code cleanup. 2016-10-10 07:49:55 +02:00
James Cole
7180a40cd8 Refactored some methods surrounding the opening balance of an account. 2016-10-10 07:01:14 +02:00
James Cole
71804af624 Updated some model code. 2016-10-10 06:50:24 +02:00
James Cole
fcb5e4eabc Moved leftOnAccount() 2016-10-10 06:47:42 +02:00
James Cole
6e90c033b1 Start of some remodelling. 2016-10-08 14:54:32 +02:00
James Cole
24f62b8fce Some minor refactoring. 2016-10-08 10:02:33 +02:00
James Cole
39dab4fdd9 Remove unused class. 2016-10-07 12:28:14 +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
ad2b254be0 Fix for issue #328. Turns out the import routine converts accounts back and forth instead of creating new entries. 2016-09-24 18:59:31 +02:00
James Cole
abc4f856ce Fix nullable fields. 2016-09-24 17:22:42 +02:00
James Cole
e169754693 Fix display bug for attachments 2016-09-20 17:23:12 +02:00
James Cole
0574a706c8 Error in decrypt error (yes) 2016-09-20 07:57:04 +02:00
James Cole
d25d0454fc Code clean up 2016-09-16 12:15:58 +02:00
James Cole
f38984398d Code clean up [skip ci] 2016-09-16 12:07:45 +02:00
James Cole
fccdf56c5d Fixed some query things. 2016-09-16 09:09:54 +02:00
James Cole
e4fef6dfc3
Fixed an import bug where a new transaction validation rule would break storing of the transaction, while the import would not notice this error happening. The importer will now also correctly set a date on the "import tag" and will not tag an incomplete journal as already imported.
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
2016-09-11 08:08:01 +02:00
James Cole
629baf9de5
Added invoice date
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
2016-09-10 18:36:52 +02:00