Commit Graph

398 Commits

Author SHA1 Message Date
James Cole
70da5917c9
Refactor findNull to find 2021-06-30 06:17:38 +02:00
James Cole
8832387b84
Remove TODO's. 2021-06-11 20:39:01 +02:00
James Cole
815fd5ff6b
Various code cleanup. 2021-05-24 08:50:17 +02:00
James Cole
2bff7750b4
Code fixes. 2021-05-24 08:06:56 +02:00
James Cole
a83578d1ae
Update code for proper index. 2021-04-27 07:55:54 +02:00
James Cole
65c49c7a71
Merge branch 'develop' into feature/credit_calc
# Conflicts:
#	app/Factory/TransactionJournalMetaFactory.php
#	app/Repositories/Account/AccountRepository.php
#	app/Transformers/AccountTransformer.php
#	config/firefly.php
#	frontend/src/components/accounts/Create.vue
2021-04-27 06:54:38 +02:00
James Cole
13233e0893
Fix #4706 2021-04-24 21:08:46 +02:00
James Cole
d01814821f
Update forms and transformer. 2021-04-10 08:02:10 +02:00
James Cole
f12744ad8c
Various code cleanup. 2021-04-07 07:28:43 +02:00
James Cole
69b1769f22
Refactor old methods. 2021-04-06 13:30:09 +02:00
James Cole
5750087d37
Fix nullpointer in bill transformer. 2021-04-02 06:57:31 +02:00
James Cole
a2ae977550
Tag and recurrence as date-time string 2021-04-02 06:18:04 +02:00
James Cole
b893651223 Turn dates into date-times. 2021-04-01 21:06:40 +02:00
James Cole
e221d37d2b Convert dates into date-times for #4571 2021-04-01 20:56:11 +02:00
James Cole
93dc5fae09
Fix #4571 2021-04-01 06:47:56 +02:00
James Cole
2c575f3ca5
Code cleanup. 2021-03-28 11:43:07 +02:00
James Cole
206845575c
Code cleanup 2021-03-21 09:15:40 +01:00
James Cole
a43bd745d1
make sure all forms work as expected for b3. 2021-03-16 06:42:58 +01:00
James Cole
288052905e
Expand all test models. 2021-03-14 10:41:17 +01:00
James Cole
40a463d62a
Expand test cases. 2021-03-14 06:20:23 +01:00
James Cole
1f50f65bb7
Finish budget tests. 2021-03-13 19:03:08 +01:00
James Cole
bdb298740a
Also test attachments. 2021-03-13 14:33:48 +01:00
James Cole
bd040c80b2
Fix account API tests. 2021-03-13 13:26:45 +01:00
James Cole
7118abe28d
Fix some tests for account API 2021-03-13 12:01:01 +01:00
James Cole
668b169a5e
Fix parsing of bill ID. 2021-03-13 06:25:25 +01:00
James Cole
b0c9745982
Make sure rules respect active flag. 2021-03-12 06:11:34 +01:00
James Cole
625e31d053
Fix tags and rule groups. 2021-03-11 06:29:07 +01:00
James Cole
238a582d8a
Update validators so they can handle one field at a time. 2021-03-10 06:34:03 +01:00
James Cole
5f4b025be5
Store location correctly. 2021-03-08 18:21:49 +01:00
James Cole
2a975c302f Fix some stuff in account API calls. still need to solve location. 2021-03-08 17:56:21 +01:00
James Cole
ba163f82d1
Webhook API 2021-03-07 12:13:22 +01:00
James Cole
c4882231d1
Submit user preferences. 2021-03-07 09:46:12 +01:00
James Cole
b11e3145c5 Implement currency routes. 2021-03-06 21:39:29 +01:00
James Cole
fa5d33caf5 Add routes for transactions. 2021-03-06 20:52:42 +01:00
James Cole
2437759368
Recurring transactions. 2021-03-06 16:15:39 +01:00
James Cole
2b2d10d1f1
Reformat API routes. 2021-03-06 12:45:49 +01:00
James Cole
1c041b9543
Clean up budget and limit routes. 2021-03-06 08:40:51 +01:00
James Cole
1c661a86b6
Temporary reshuffeling to fix API 2021-03-06 07:20:49 +01:00
James Cole
4d9aafbeaf
Go to end of day. 2021-02-26 18:09:48 +01:00
James Cole
6bd6b1eb95
Fix https://github.com/firefly-iii/firefly-iii/issues/4426 2021-02-24 06:01:43 +01:00
James Cole
97d12cd77a
Remove logs. 2021-02-22 18:50:12 +01:00
James Cole
860fc507b7
Remove comments 2021-02-22 18:40:46 +01:00
James Cole
00f25836c0
Remove extra logging. 2021-02-19 16:25:36 +01:00
James Cole
25e4d78119
API will display journal location. 2021-02-16 10:19:20 +01:00
James Cole
d60c5a26de
New frontend. 2021-01-31 07:26:52 +01:00
James Cole
02cd0600ea
Update some copyrights. 2021-01-29 18:50:35 +01:00
James Cole
99f8ed7760
Fix some final webhook code. 2021-01-15 21:01:53 +01:00
James Cole
fc4f35d6ba Fix #4195 2020-12-30 19:25:02 +01:00
James Cole
b263120c8f
Add newlines and strict types check. 2020-12-22 05:35:06 +01:00
James Cole
a539cfe4f2
Webhooks have titles now. 2020-12-03 06:54:42 +01:00
James Cole
cbe046ba07
Can generate webhook messages for creating transactions. 2020-12-02 06:54:13 +01:00
James Cole
59962005db
API ability to manage webhooks. 2020-11-29 18:35:49 +01:00
James Cole
c659d67172
Budget limit now has period. 2020-11-20 06:24:08 +01:00
James Cole
eb616f36ea
Expand API. 2020-11-15 14:02:29 +01:00
James Cole
ca3d836c83
Add notes to category #4002 2020-10-28 06:32:37 +01:00
James Cole
9151f44022
Fix #3991 2020-10-26 06:11:55 +01:00
James Cole
3979e12043
Optimise code. 2020-10-24 17:27:36 +02:00
James Cole
a526559a0e
Remove unused import statements. 2020-10-23 19:12:46 +02:00
James Cole
8dbd785ab8
Clean up code. 2020-10-23 19:11:25 +02:00
James Cole
f07c1f7164
Fix bad array 2020-10-21 06:20:11 +02:00
James Cole
198c79c048
Simplify transformer. 2020-10-18 17:44:30 +02:00
James Cole
4e51f0abc4
Clean up some code. 2020-10-13 06:35:33 +02:00
James Cole
10c9118f49
Optimise transformer. 2020-08-09 08:56:15 +02:00
James Cole
e46958c23e
Update some code style 2020-07-31 15:12:26 +02:00
James Cole
83467ef2f2
Code for #3240 2020-07-26 07:57:48 +02:00
James Cole
74247c292f
Update / create methods can handle order #3200 2020-07-24 16:41:58 +02:00
James Cole
e1f4cd7565
Fix #3187 2020-07-23 19:40:10 +02:00
James Cole
7aa3cd5ba4
Fix #3568 2020-07-17 17:26:36 +02:00
James Cole
0fe17d5458
Fix #3574 2020-07-17 17:24:36 +02:00
James Cole
8a9f6b1896
Double check on integers for https://github.com/firefly-iii/firefly-iii/issues/3554 2020-07-12 17:54:51 +02:00
James Cole
c4979bdd27
Code for #3554 2020-07-12 17:32:48 +02:00
James Cole
22cb9dfbe0
make sure amount is a string. 2020-07-11 07:18:41 +02:00
James Cole
e337bcf8bd Can sort and group bills. 2020-07-01 06:33:21 +02:00
James Cole
fad2331d80 Give bills groups too. 2020-06-30 19:06:05 +02:00
James Cole
7945220825 Fix #3493 2020-06-27 13:41:27 +02:00
James Cole
1a154a8d45 API for object groups. 2020-06-20 16:28:23 +02:00
James Cole
16b0307b0a Piggy bank can now have a group. 2020-06-07 11:31:01 +02:00
James Cole
6cc4d14fcb Remove import code. 2020-06-06 21:23:26 +02:00
James Cole
16f918a294
Mark all import related code as deprecated 2020-03-15 15:31:51 +01:00
James Cole
d7e953d38c
Clean up complicated method. 2020-03-15 09:54:44 +01:00
James Cole
d1d11ae717
Can now create auto budget over API 2020-03-14 07:30:55 +01:00
James Cole
309633069c
can edit, delete and see in api autobudget 2020-03-14 07:01:31 +01:00
James Cole
72a4e86e2f
Throw better exception. 2020-03-12 05:11:19 +01:00
James Cole
ab4de3fdd6
Update email address. 2020-02-16 13:57:18 +01:00
James Cole
4dc24939ba Merge branch 'develop' of github.com:firefly-iii/firefly-iii into develop 2020-02-08 12:59:56 +01:00
James Cole
4cd642b8da
Fix #3099 2020-02-08 12:59:43 +01:00
Geoffrey “Frogeye” Preud'homme
5aae8b7743 API: Add link_type_id when reading TransactionLink 2020-02-08 12:38:15 +01:00
James Cole
d57f764fb8
Routine for #2983 2020-01-09 20:04:42 +01:00
James Cole
2d0a57e7e4
More debug and some thinking comments 2020-01-09 19:59:53 +01:00
James Cole
f78729fc8a
Add lots of debug. 2020-01-09 19:52:47 +01:00
James Cole
7362a36a98
Add logs. 2020-01-09 19:45:13 +01:00
James Cole
cf067d0bd2
Some extra debugging. 2020-01-09 19:42:28 +01:00
James Cole
220230e981
Fix #2983 2020-01-09 19:26:45 +01:00
James Cole
2485f74302 Fix #2975 2020-01-08 05:48:45 +01:00
James Cole
a331b2d661
Same but for tags. 2019-12-30 21:04:22 +01:00
James Cole
0ae52198e7
Add location to Account transformer. 2019-12-30 17:49:29 +01:00
James Cole
d29ec707b4
Add some debug info 2019-12-20 05:38:26 +01:00
James Cole
24e7260fe7
Temp fix for #2701 2019-10-10 21:02:56 +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
3ff8aa7509
Fix #2658 2019-09-26 19:16:17 +02:00
James Cole
f370a1b486
Fix #2657 2019-09-26 18:59:37 +02:00
James Cole
a1ae85660d
Fix #2606 2019-09-23 16:42:21 +02:00
James Cole
0340ed6f19
Fix #2638 2019-09-22 22:10:39 +02:00
James Cole
77084ba72d
More code for #2543 2019-09-06 06:30:01 +02:00
James Cole
f36b369d73 Fix for #2483 2019-09-04 21:06:01 +02:00
James Cole
2cda6eba94 Make sure amounts are always positive. 2019-09-04 10:12:33 +02:00
James Cole
134d1b2746 Move method to correct repository. 2019-08-30 09:13:10 +02:00
James Cole
5973b94677 Move method to correct repository. 2019-08-30 08:19:55 +02:00
James Cole
19feefda2d Improve test coverage. 2019-08-29 17:53:25 +02:00
James Cole
fa706d27d8 Refactor category repositories. 2019-08-28 12:28:23 +02:00
James Cole
e5269bb312 Refactor and split category repository. 2019-08-27 10:52:07 +02:00
James Cole
4ff8b3b556 Make sure user interface works for new recurring transactions. 2019-08-27 06:36:16 +02:00
James Cole
ce5fcbbda2 Remove bill references. 2019-08-27 06:12:08 +02:00
James Cole
e308b0f617 Make sure tags work, make sure update is refreshed. 2019-08-27 06:08:30 +02:00
James Cole
e209766ad0 Can also show and update notes. 2019-08-27 05:57:58 +02:00
James Cole
f9dc58c3a8 Post new recurrence meta (piggy, tags) works. #2483 2019-08-26 18:44:04 +02:00
James Cole
339ccbc5f8 Put meta data in correct array, make sure edit screen works. #2483 2019-08-26 08:59:43 +02:00
James Cole
5e0d9bddba Forgot to remove a line. 2019-08-26 07:12:20 +02:00
James Cole
1e00d7cb16 Merge category and budget info with the transaction array #2483 2019-08-25 16:27:17 +02:00
James Cole
6bc5794dfd Rename recurrence_repetitions and nr_of_repetitions. 2019-08-25 16:15:02 +02:00
James Cole
1f9fddaa32 Drop transaction_type_id, rename transaction_type #2483 2019-08-25 16:13:47 +02:00
James Cole
e16adca336 Consistency for #2477 2019-08-25 07:40:14 +02:00
James Cole
aa1b9fa5a5 Rules will no longer list the "user-action" trigger
Rules will have a "moment" field that says either "update-journal" or "store-journal".
2019-08-25 07:35:26 +02:00
James Cole
ecc37b2ed3
Some undocumented changes for #2445 and #2447 2019-08-21 04:59:35 +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
fdf99400bc
Some TODO's for the future. 2019-08-16 06:20:07 +02:00
James Cole
499e713683
Remove unused methods. 2019-08-12 18:24:33 +02:00
James Cole
0516065f5a
Cleanup todo's [skip ci] 2019-08-10 07:05:19 +02:00
James Cole
75c2529d3e
Improve test coverage. 2019-08-03 10:50:43 +02:00
James Cole
9b574ce7ad
Improve test coverage. 2019-07-31 16:53:09 +02:00
James Cole
7fd3f77c3e
Make sure the convert controller works again. 2019-07-05 19:43:16 +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
2a2f29533d
Some improvements, also edit screen. 2019-06-01 20:38:18 +02:00
James Cole
4d3af1dcde Basic list, no functionalities. 2019-04-18 20:05:40 +02:00
James Cole
66c55b7bbe Improve tests, models and views. 2019-04-16 16:20:46 +02:00
James Cole
c519b4d0df Is now capable of updating transactions over the API. 2019-04-06 08:10:50 +02:00
James Cole
b692cccdfb User can submit new journal through API. 2019-03-31 13:36:49 +02:00
James Cole
5b1fb5354e Update API and transaction components. 2019-03-30 07:09:52 +01:00
James Cole
484ed6a585 Introduce group collector to API 2019-03-25 15:14:09 +01:00
James Cole
c946a4040f First working version of the group collector. 2019-03-24 14:48:12 +01:00
James Cole
e0d87aa11e First part of a large code cleanup commit. 2019-02-12 21:49:28 +01:00
James Cole
311d51464d Add support for #2006 2019-02-08 07:14:45 +01:00
James Cole
f6d88521dd Fix test coverage. 2019-01-27 12:30:52 +01:00
James Cole
5e41641d7c Simplify account transformer 2019-01-27 07:48:49 +01:00
James Cole
ca731adce7 Add account name to piggy bank transformer API. 2019-01-26 12:11:23 +01:00
James Cole
3e25d66902
Add newlines and copyright notices. 2018-12-31 07:48:23 +01:00
James Cole
91593335ef
Available budget end point also gives info on spent info #1884 2018-12-22 06:40:25 +01:00
James Cole
4f5d8f830e
Various fixes and checks. 2018-12-21 10:11:18 +01:00
James Cole
27bc03fc20 Cover all transformers. 2018-12-20 22:03:34 +01:00
James Cole
84b3195e9b Improve transformer coverage. 2018-12-20 20:50:05 +01:00
James Cole
6f54f41946 Add new tests for transformers. 2018-12-20 05:46:05 +01:00
James Cole
c1ae0ab57d Update some tests. 2018-12-19 19:23:52 +01:00
James Cole
446ff81335 Make sure transformers match API definition. 2018-12-19 19:02:16 +01:00
James Cole
03b4a50317 Improve transformers and tests 2018-12-19 06:06:01 +01:00
James Cole
3e71a103a2 Improve test coverage. 2018-12-18 19:57:23 +01:00
James Cole
89942ee49c Improve test coverage for API. 2018-12-16 13:55:19 +01:00
James Cole
747602a9cb Make a new abstract class for transformers. 2018-12-15 22:03:42 +01:00
James Cole
8ce43a3fe1 Make sure transformers can be mocked. 2018-12-15 22:03:05 +01:00
James Cole
1284f9cecc Refactored API code surrounding accounts to make transformers mockable. 2018-12-15 07:59:49 +01:00
James Cole
c54541b839 Learned that I should not refer to env vars directly so I removed all references. 2018-12-15 07:59:02 +01:00
James Cole
2a30293905
Improve test coverage. 2018-12-12 20:30:25 +01:00
James Cole
ae4612f134
Fix test coverage. 2018-12-09 20:54:11 +01:00
James Cole
108d43f967
Budgets and budget limits end point. 2018-12-09 08:45:53 +01:00
James Cole
82e4055fa6
Expand currency endpoint. 2018-12-09 06:51:53 +01:00
James Cole
05b0425929
Expand API and routes. 2018-12-08 21:26:20 +01:00
James Cole
3b15415a1b
Build import job API endpoint. 2018-12-08 08:22:53 +01:00
James Cole
494aa15567
Refactored and extended link types. 2018-12-08 07:57:29 +01:00
James Cole
9a2e5c36a1
Finish up rule groups API 2018-12-07 15:36:04 +01:00
James Cole
b782316cc0
Update rule group API 2018-12-07 07:49:16 +01:00
James Cole
3e84f9664f
Update API for tags. 2018-12-07 07:41:12 +01:00
James Cole
b2381f4657
Add tag endpoint. 2018-12-05 19:12:38 +01:00
James Cole
64a3e46cbe
New endpoints for transactions. 2018-12-04 19:36:54 +01:00
James Cole
c0d6d0e28e
Update API to match new end points. 2018-12-03 15:57:15 +01:00
James Cole
050334a648
Various API updates. 2018-12-03 07:18:05 +01:00
James Cole
9cd10f58ed
Expand API with fields: liability_type, liability_amount, liability_start_date, interest, interest_period. Improve IBAN field. #1866 2018-11-14 19:41:36 +01:00
James Cole
e491dda229
Currencies can now be enabled and disabled. 2018-11-10 10:04:46 +01:00
James Cole
2c2814c998
Align notes with object, not separate. 2018-09-27 07:43:30 +02:00
James Cole
dd95776144
Code for #833 2018-08-12 10:06:20 +02:00
James Cole
a35c6e29b6
Rename various methods. 2018-08-11 19:21:58 +02:00
James Cole
9914c0791e
Rename journal collector to more fitting transaction collector. 2018-08-11 14:33:47 +02:00
James Cole
ff44ad4994
Fix #1597 2018-08-07 17:50:14 +02:00
James Cole
5908c0ce8c
Code cleanup and realign. 2018-08-06 19:14:30 +02:00
James Cole
6bcfea1de4 Various code cleanup. 2018-07-26 06:10:17 +02:00
James Cole
7f4ecd40ce Fix issues where data-variable was not initialized properly. 2018-07-25 07:11:04 +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
a722dc4235 Clean up code, remove unused methods. 2018-07-22 16:35:46 +02:00
James Cole
5ca4f1b181 Remove null pointer. 2018-07-21 06:41:42 +02:00
James Cole
5b83931b01
Clean up recurrence transformer. 2018-07-18 07:28:35 +02:00
James Cole
8e08ff2d39 Fix the transaction factory and associated tests. 2018-07-07 22:28:08 +02:00
James Cole
e78a59a8a8 Code quality update. 2018-07-07 21:17:46 +02:00
James Cole
e36a9fda1b Get a list of transactions belonging to the recurrence. 2018-07-02 20:39:45 +02:00
James Cole
0502f2a4a5 Implement rule group API. 2018-06-30 18:10:54 +02:00
James Cole
c9356c1237
Restructure code to rename a variable. 2018-06-30 05:21:21 +02:00
James Cole
8c28c4b5ac New translations and routes. 2018-06-29 12:11:44 +02:00
James Cole
12a84572e2 First code for the piggy bank API. 2018-06-29 06:43:44 +02:00
James Cole
7749fb1a0b Expand API for journal links. 2018-06-28 17:02:13 +02:00
James Cole
f55d4e32c0 Implement currency exchange rate API. 2018-06-28 07:32:58 +02:00