Commit Graph

306 Commits

Author SHA1 Message Date
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
James Cole
7ba11a57a8
make sure recurrence can skip weekends. 2018-06-26 21:17:50 +02:00
James Cole
096af00a72
Add Category to API 2018-06-24 15:05:59 +02:00
James Cole
dca2dc4600
Add budgets to API. 2018-06-24 14:54:06 +02:00
James Cole
0b9be029ac
Expand API with budget limits 2018-06-24 13:20:29 +02:00
James Cole
91701473af
Expand API with available budgets. 2018-06-24 08:33:06 +02:00
James Cole
ad6a9a7df7
Expand API for attachments. 2018-06-24 06:51:22 +02:00
James Cole
0374c32236
Improve code for edit routine #1469 2018-06-17 17:45:47 +02:00
James Cole
181c23b07c Various updated code for recurring transactions. 2018-06-15 22:06:33 +02:00
James Cole
6743d99d9b First batch of code for recurring transactions #1469 2018-06-10 16:59:03 +02:00
James Cole
3de36901b8
Fix #1425 2018-05-29 07:25:04 +02:00
James Cole
664451d0c6
Fixed #1405 2018-05-26 07:48:49 +02:00
James Cole
bb25132865
Fix tests 2018-04-27 11:29:09 +02:00
James Cole
f78b8f9267
Some code for #1272 2018-04-24 19:26:16 +02:00
James Cole
36329e596e
Fix #1334 2018-04-21 23:48:54 +02:00
James Cole
5862b832d9
Fix issue with API 2018-04-14 09:38:58 +02:00
James Cole
67fa4a0fc7
Add currency controls to API 2018-04-13 17:28:11 +02:00
James Cole
91fe1493a7
Improve edit routine for split transactions. 2018-04-06 12:44:43 +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
3e22c9860e
Fix some tests. 2018-03-23 05:31:45 +01:00
James Cole
1645490f5c
Avoid using model methods and use repository instead 2018-03-19 19:39:02 +01:00
James Cole
24715c72a2
Remove unused functions. 2018-03-11 15:54:33 +01:00
James Cole
ed5cd2b9ca
Add currency symbol. 2018-03-11 13:31:22 +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
9475fef8f6
Implement user API and first tests. 2018-03-03 08:12:18 +01:00
James Cole
77aced6734
Test every happy path for journal creation. 2018-02-18 16:35:26 +01:00
James Cole
eb0da038fb
Expand tests and API code. 2018-02-18 10:31:15 +01:00
James Cole
049e57d578
New tests for object transformers. 2018-02-17 10:47:06 +01:00
James Cole
78ba0f749c
tests for bill and attachment transformers. 2018-02-16 22:47:08 +01:00
James Cole
278b7ac52b
First tests for transformers. 2018-02-16 22:14:34 +01:00
James Cole
0458058cb1
Update piggy bank transformer 2018-02-16 16:44:52 +01:00
James Cole
22fdc81de2
Refactor transactions. 2018-02-13 21:04:15 +01:00
James Cole
370e9b25d1
Expand API. 2018-02-13 18:24:06 +01:00
James Cole
c2da5931ec
Expanded API code, wrote a bunch new transformers as well. 2018-02-11 20:45:33 +01:00
James Cole
8b868b426a
First API routes for accounts. 2018-02-11 08:08:08 +01:00
James Cole
2ef1022c92
Make sure bills API is consistent. 2018-02-11 07:46:34 +01:00
James Cole
9b3abd3b19
Expand transformers to include other objects. 2018-02-10 10:58:06 +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
f445a95c26
Consistent use of links in transformers. 2018-02-07 11:20:24 +01:00
James Cole
587ad1298d
Make sure transformer accepts null dates. 2018-02-07 10:49:24 +01:00
James Cole
e94043edc2
Expand transformers. 2018-02-06 19:49:29 +01:00
James Cole
82dc0045ba
Move bill transformer to previous location 2018-02-06 19:48:32 +01:00
James Cole
c4507a7f75
Make sure the "classic" page uses the transformer as well. 2018-02-06 18:11:33 +01:00
James Cole
9b78069f41
Expand API for bills. 2018-02-06 07:49:56 +01:00
James Cole
f488bbde02
First basic routes and code for bills. 2018-02-04 15:57:35 +01:00