Commit Graph

315 Commits

Author SHA1 Message Date
James Cole
624eb0f958 Add new revenue and expense overview chart endpoint to API 2019-01-26 20:10:48 +01:00
James Cole
770e44d1bd Add new tag-cloud API endpoint. 2019-01-26 20:10:35 +01:00
James Cole
e3433aa95b Add pie chart for available budget API 2019-01-26 12:10:35 +01:00
James Cole
0df00556db Make sure chart end point returns machine readable dates. 2019-01-26 12:10:21 +01:00
James Cole
a55dd97d51 Add ability to return single preference to the API 2019-01-26 12:10:02 +01:00
James Cole
b52959d41a Add limit parameter to capabilities of API 2019-01-26 12:09:46 +01:00
James Cole
163b0a2105 Add limit parameter to /budgets/x/transactions API endpoint. 2019-01-26 12:09:32 +01:00
James Cole
d33c89a8ee Add start and end data to the available_budget list endpoint API 2019-01-26 12:09:16 +01:00
James Cole
d0d73c5e3e Add limit parameter to account/x/transactions API end point. 2019-01-26 12:08:41 +01:00
James Cole
799331b945 New API endpoints. 2019-01-18 05:38:23 +01:00
James Cole
1c2206cb9f
Fix issue with recurring transactions and piggy banks. 2019-01-03 18:57:34 +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
a5520d45e7
Store booleans correctly. 2018-12-21 15:42:57 +01:00
James Cole
4f5d8f830e
Various fixes and checks. 2018-12-21 10:11:18 +01:00
James Cole
a7e1a51476
Make sure rules work. 2018-12-21 09:01:21 +01:00
James Cole
89942ee49c Improve test coverage for API. 2018-12-16 13:55:19 +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
4bd94e5450 Update request data to match API definition. 2018-12-14 18:33:07 +01:00
James Cole
2a30293905
Improve test coverage. 2018-12-12 20:30:25 +01:00
James Cole
159fffef2e
Improve test coverage. 2018-12-10 21:45:44 +01:00
James Cole
ae4612f134
Fix test coverage. 2018-12-09 20:54:11 +01:00
James Cole
97f6e68164
Complete accounts and bills end point. 2018-12-09 13:09:43 +01:00
James Cole
108d43f967
Budgets and budget limits end point. 2018-12-09 08:45:53 +01:00
James Cole
b0e1c85c55
Expand API for categories. 2018-12-09 06:58:03 +01:00
James Cole
82e4055fa6
Expand currency endpoint. 2018-12-09 06:51:53 +01:00
James Cole
2a68ce6c90
Expand config API endpoint. 2018-12-09 06:39:56 +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
00fb809ab9
Remove include parameter. 2018-12-08 08:22:34 +01:00
James Cole
494aa15567
Refactored and extended link types. 2018-12-08 07:57:29 +01:00
James Cole
f0de469053
Expand API for recurring transactions. 2018-12-07 20:20:54 +01:00
James Cole
8e4092e7d7
Code and routes for rules. 2018-12-07 16:03:05 +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
e491dda229
Currencies can now be enabled and disabled. 2018-11-10 10:04:46 +01:00
James Cole
e1402d5d8a Fix for #1812 2018-10-23 18:56:37 +02:00
James Cole
9b46e62eb6 match api end point with config changes. 2018-10-16 21:42:08 +02:00
Mike Conway
336a9a97f9
Update PiggyBankRequest.php
Fix inconsistencies between repository and request variables
2018-10-03 19:37:16 -07:00
James Cole
214c7a6f3e Improve test results. 2018-09-27 06:26:03 +02:00
James Cole
2a457c40db Fix for #1723 2018-09-26 20:34:24 +02:00
James Cole
bafa96b9c0 Fix for #1719 2018-09-26 20:21:25 +02:00
James Cole
38d58f0354 Fix #1670 2018-09-09 20:40:26 +02:00
James Cole
d2c1e30979 Fixes for #1670 2018-09-09 07:48:17 +02:00
James Cole
b1cc17d96e Make sure each source of transactions stores where it's from. 2018-09-05 19:45:59 +02:00
James Cole
3764499714 Expand API to accept liability accounts. 2018-08-26 21:29:46 +02:00
James Cole
d4096103cb Improve test coverage and fix test code. 2018-08-23 18:33:39 +02:00
James Cole
f319005357
Fix tests. 2018-08-17 06:45:57 +02:00
James Cole
95ce72fce7
Expand API options for available budgets and journal links 2018-08-11 18:27:45 +02:00
James Cole
9914c0791e
Rename journal collector to more fitting transaction collector. 2018-08-11 14:33:47 +02:00
James Cole
f494ba7065
Rename field to "notes" 2018-08-07 19:28:46 +02:00
James Cole
5908c0ce8c
Code cleanup and realign. 2018-08-06 19:14:30 +02:00
James Cole
0a89f4000d
Synchronise API and app rule management. 2018-08-05 15:41:13 +02:00
James Cole
f0d3ca5d53
Various code cleanup. 2018-08-04 17:30:06 +02:00
James Cole
6bcfea1de4 Various code cleanup. 2018-07-26 06:10:17 +02:00
James Cole
e8c9554dd6 Remove TODO's, add some suppressors for code quality. 2018-07-25 19:43:02 +02:00
James Cole
06d22e843a Code optimizations. 2018-07-23 21:49:15 +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
02f5eddd14 Update PHP doc everywhere. 2018-07-21 08:06:24 +02:00
James Cole
ac8776aea4 Add annotated methods. 2018-07-15 10:00:08 +02:00
James Cole
7b41c5b301 Cast all translations to strings. 2018-07-15 09:38:49 +02:00
James Cole
369839e012 Clean up references to static Facade. 2018-07-15 09:27:38 +02:00
James Cole
c424bb097d Improve category code quality. 2018-07-14 22:48:22 +02:00
James Cole
b8699422c8 Refactor budget controller. 2018-07-14 15:22:21 +02:00
James Cole
e78a59a8a8 Code quality update. 2018-07-07 21:17:46 +02:00
James Cole
a76241c7ba Code cleanup and documentation improvements. 2018-07-06 07:15:42 +02:00
James Cole
c99b7e927d Code optimalisations. 2018-07-05 21:18:53 +02:00
James Cole
c0d2cd8962 Fix unit tests. 2018-07-05 19:39:17 +02:00
James Cole
666e9897ea Fix unit test. 2018-07-05 18:42:51 +02:00
James Cole
81d70bd811 Clean up API code. 2018-07-05 18:02:02 +02:00
James Cole
f6f8bb7fd1 Clean up API code. 2018-07-05 06:10:35 +02:00
James Cole
54afc6ca8c Some last minute updates. 2018-07-02 20:17:50 +02:00
James Cole
2e67bd3b78 New test code. 2018-07-02 20:02:20 +02:00
James Cole
d97fdc3393 Implement budget limit API tests 2018-07-01 21:02:39 +02:00
James Cole
89910031cd Test the attachment controller. 2018-07-01 18:31:02 +02:00
James Cole
db149ca6e1 Fix tests. 2018-07-01 09:27:22 +02:00
James Cole
0502f2a4a5 Implement rule group API. 2018-06-30 18:10:54 +02:00
James Cole
f13df7e605 Implement rules in API. 2018-06-30 17:49:14 +02:00
James Cole
36a6981329
Halfway rule API. 2018-06-30 16:46:51 +02:00
James Cole
0509e54a95
Complete API for recurring transactions. 2018-06-30 06:14:39 +02:00
James Cole
c9356c1237
Restructure code to rename a variable. 2018-06-30 05:21:21 +02:00
James Cole
2d7b7c2f3f
Expand recurring transactions API 2018-06-29 19:27:07 +02:00
James Cole
d0db1117f7 Recurrence first start and API routes. 2018-06-29 14:07:33 +02:00
James Cole
e287e76db5 Complete preferences. 2018-06-29 12:28:29 +02:00
James Cole
8c28c4b5ac New translations and routes. 2018-06-29 12:11:44 +02:00
James Cole
f048e943f8 Implement piggy bank API. 2018-06-29 08:06:17 +02:00
James Cole
12a84572e2 First code for the piggy bank API. 2018-06-29 06:43:44 +02:00
James Cole
c8de1d3372 New (empty) API controllers. 2018-06-28 22:15:22 +02:00
James Cole
234e3f4ca5 Implement link type controller. 2018-06-28 22:14:50 +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
5b0e61033c
Add configuration to Api. 2018-06-24 15:33:36 +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
7bdd4ddeab
Small refactoring. 2018-06-21 18:56:44 +02:00
James Cole
ae6e5a5599
Clean up API references. 2018-06-20 21:17:16 +02:00
James Cole
4a12d4d156 Code cleanup [skip ci] 2018-06-06 21:23:00 +02:00
James Cole
cde9c4a2bc
Update copyright statements. 2018-05-11 10:08:34 +02:00
James Cole
f74b9ba7ab Add strict types and newlines. 2018-05-05 16:51:32 +02:00
James Cole
13b78bdc20
Code cleanup 2018-04-28 06:23:13 +02:00
James Cole
bb25132865
Fix tests 2018-04-27 11:29:09 +02:00
James Cole
1aa9461370
Fix reference to unknown method. 2018-04-16 17:51:37 +02:00
James Cole
6f974fe285
Improve API and test coverage. 2018-04-15 19:20:24 +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
609c193b88
Fix #1312 2018-04-03 19:12:59 +02:00
James Cole
7d02d0f762
Code cleanup. 2018-04-02 14:42:07 +02:00
James Cole
f96f38b172
Code cleanup. 2018-04-02 14:17:11 +02:00
James Cole
be5c44af61
Update some code, add security txt file. 2018-03-28 19:37:59 +02:00
James Cole
413c1bc2fe
Fix #1294 2018-03-26 19:19:11 +02:00
James Cole
6660306ac4
Various code cleanup. 2018-03-25 09:01:43 +02:00
James Cole
d8c0091680
Make sure that strict_types declaration is always at the very top of the file. 2018-03-19 12:08:50 +01:00
James Cole
6419d68626
Add newlines to end of file. 2018-03-19 12:08:22 +01:00
James Cole
b12872e5de
Various code cleanup. 2018-03-11 16:24:07 +01:00
James Cole
7d6c8aa9dc
Fix null pointer. 2018-03-11 08:22:20 +01:00
James Cole
aad0864018
Various code cleanup [skip ci] 2018-03-10 22:38:20 +01:00
James Cole
ce10036a27
Fix #1199 in API 2018-03-10 09:39:49 +01:00
James Cole
a97bfc92e1
Add newlines and strict types 2018-03-05 19:35:58 +01:00
James Cole
7d66c90beb
Make sure that the API returns all entries of a split transaction. 2018-03-04 14:20:23 +01:00
James Cole
7171e69715
All API routes seem to work. 2018-03-04 08:22:32 +01:00
James Cole
99d116f4ce
Improve test coverage. 2018-03-03 10:15:39 +01:00
James Cole
9475fef8f6
Implement user API and first tests. 2018-03-03 08:12:18 +01:00
James Cole
139c2284b8
Various code cleanup. 2018-03-02 16:31:02 +01:00
James Cole
1a721ac6b5
Fix transactions. 2018-02-23 16:59:21 +01:00
James Cole
81221038f0
Expand services. 2018-02-21 18:42:15 +01:00
James Cole
140a5b20db
Update transactions, delete splits. 2018-02-21 08:58:06 +01:00
James Cole
e9b6b45fc4
Expand code to be able to handle updates. 2018-02-21 08:51:30 +01:00
James Cole
f16760d607
Expand API validation. 2018-02-20 18:03:02 +01:00
James Cole
cae4faad0a
Expand tests. 2018-02-19 20:02:27 +01:00
James Cole
0b61c16eb0
Expand test cases for transaction creation through the API. 2018-02-18 19:55:35 +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
6cda9f2900
Expand tests for account API. 2018-02-17 19:56:45 +01:00
James Cole
9cc1bfb4b5
Improve code for test coverage 2018-02-16 22:14:53 +01:00
James Cole
8073896965
Add request data for tags. 2018-02-16 16:57:35 +01:00
James Cole
8a26e43c40
Fix display for new transaction store. 2018-02-16 16:57:27 +01:00
James Cole
8f930d6dd5
Transaction request with full validation 2018-02-16 16:43:00 +01:00
James Cole
9d62b4c70d
Add return types 2018-02-16 16:42:23 +01:00
James Cole
834032f58e
Updated transaction controller 2018-02-16 16:42:13 +01:00
James Cole
d3294be1bc
Add method that makes sure that URL's are expanded for page navigation/ 2018-02-16 14:51:59 +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
30f821af3e
About controller for basic site info 2018-02-13 18:23:26 +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
4958f28052
Allow API to work with bills. 2018-02-10 09:57:31 +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
811d8e330f
Refer to correct location for bill transformer. 2018-02-06 19:48:56 +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
James Cole
58bdf14f6b
First empty controllers for API. 2018-02-04 13:41:42 +01:00