Commit Graph

9888 Commits

Author SHA1 Message Date
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
33db99ffd3
Update find methods to return null 2018-02-16 15:19:19 +01:00
James Cole
28b00f6507
New routes for transaction 2018-02-16 15:18:07 +01:00
James Cole
6559076c48
New strings for validation 2018-02-16 15:17:55 +01:00
James Cole
60f6311e00
Rule to validate if object belongs to submitting user. 2018-02-16 15:17:36 +01:00
James Cole
574a5630e0
Add binder for transactions 2018-02-16 14:52:16 +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
7a5aa1c39b
Update and restructure YAML file for Docker. [skip ci] 2018-02-11 20:53:30 +01:00
James Cole
f674df4422
Fix empty title. 2018-02-11 20:45:48 +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
94f6bd34c7
Fix some issues with semi-colon delimiters, see #1172 2018-02-11 15:52:24 +01:00
James Cole
e066a6421c
Fix #1172 2018-02-11 15:36:16 +01:00
James Cole
ef338e2515
Fix #1174 2018-02-11 15:27:28 +01:00
James Cole
dcf549261c
Fix for #1175 2018-02-11 15:24:19 +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
db02fefcf4
Update composer. 2018-02-10 09:58:06 +01:00
James Cole
523ae83811
Show proper 404 page for JSON. 2018-02-10 09:57:56 +01:00
James Cole
4eb010f807
Use correct CSS in 404 page. 2018-02-10 09:57:47 +01:00
James Cole
4958f28052
Allow API to work with bills. 2018-02-10 09:57:31 +01:00
James Cole
7e727b63ed
Use built-in PHPUnit in tests. 2018-02-10 09:57:05 +01:00
James Cole
138c38fbb5
Clean up code in validator. 2018-02-10 09:22:13 +01:00
James Cole
2e61bb7375
Fix tests. 2018-02-10 09:22:04 +01:00
James Cole
fce4c9174d
Fix for #1154 2018-02-10 08:21:35 +01:00
James Cole
2220963899
Remove guard from user model. 2018-02-10 08:21:20 +01:00
James Cole
e69e6c1ce8
Would be nice to remove the references as well... 2018-02-09 19:28:16 +01:00
James Cole
0f09a9db4d
Remove reference to guard from other bind support classes. 2018-02-09 19:24:30 +01:00
James Cole
53a6c10ada
Remove reference to guard from models. 2018-02-09 19:24:15 +01:00
James Cole
14772469ed
Remove reference to guard from binder 2018-02-09 19:23:31 +01:00
James Cole
55f13ef121
Code cleanup in 2FA middleware. 2018-02-09 19:12:46 +01:00
James Cole
95648c37b3
Various code cleanup. 2018-02-09 19:11:55 +01:00
James Cole
ac98822a55
Fix for issue #1167 2018-02-09 16:47:01 +01:00
James Cole
c460419166
Final fixes for API binder. 2018-02-09 15:01:22 +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
d4a84ed198
Update tests. 2018-02-07 16:49:11 +01:00
James Cole
e8c7986a58
Rename binder test 2018-02-07 16:20:40 +01:00
James Cole
809e40c5ce
Remove double middleware from routes. 2018-02-07 11:20:37 +01:00
James Cole
f445a95c26
Consistent use of links in transformers. 2018-02-07 11:20:24 +01:00
James Cole
909dc212fb
make sure all route binders use guard. 2018-02-07 11:15:36 +01:00
James Cole
eacc1da157
Implement multi purpose binder 2018-02-07 11:13:04 +01:00
James Cole
587ad1298d
Make sure transformer accepts null dates. 2018-02-07 10:49:24 +01:00
James Cole
fae7dabbc2
Split binder in api and http binder 2018-02-07 10:49:06 +01:00
James Cole
3a813c30b4
Clean up js file. 2018-02-06 19:52:46 +01:00
James Cole
3de46f55fa
Use transformer in view. 2018-02-06 19:49:53 +01:00