Commit Graph

9814 Commits

Author SHA1 Message Date
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
James Cole
3aa922341c
Remove unused package from config 2018-02-06 19:49:38 +01:00
James Cole
e94043edc2
Expand transformers. 2018-02-06 19:49:29 +01:00
James Cole
da91645ec0
Clean up code. 2018-02-06 19:49:16 +01:00
James Cole
178072d3af
Remove unused markdown method 2018-02-06 19:49:09 +01:00
James Cole
811d8e330f
Refer to correct location for bill transformer. 2018-02-06 19:48:56 +01:00
James Cole
d3c8d06114
Update lock files 2018-02-06 19:48:43 +01:00
James Cole
82dc0045ba
Move bill transformer to previous location 2018-02-06 19:48:32 +01:00
James Cole
3d06f0ac14
Remove unused dependencies 2018-02-06 18:15:26 +01:00
James Cole
b5c0ef01d9
Clean up app.js 2018-02-06 18:13:54 +01:00
James Cole
3a5d3016c7
Refer to correct bill route 2018-02-06 18:12:43 +01:00
James Cole
20690b4d5b
Clean up API routes 2018-02-06 18:12:31 +01:00
James Cole
2816a4a325
Make bill views use transformer object. 2018-02-06 18:12:09 +01:00
James Cole
2f4f37778c
Fix error page CSS 2018-02-06 18:11:46 +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
9a0672e359
Update previous view to use new strings. 2018-02-06 10:57:23 +01:00
James Cole
f128db35c6
Update view to use localized strings. 2018-02-06 10:57:07 +01:00
James Cole
a2cfaa0867
Update language strings. 2018-02-06 10:56:50 +01:00
James Cole
5850c5e20a
Add code to enable localisation. 2018-02-06 10:56:37 +01:00
James Cole
e77a1e403f
Expand config for localisation 2018-02-06 10:56:17 +01:00
James Cole
b72e8db7b1
Add localisation package. 2018-02-06 10:56:01 +01:00
James Cole
07506784f4
Add localisation package. 2018-02-06 10:55:40 +01:00
James Cole
0435e42b3d
Update package files. 2018-02-06 07:52:04 +01:00
James Cole
31884bbba6
Add generated js / css to all views. 2018-02-06 07:51:49 +01:00
James Cole
6b38faf84e
Expand views for bills. 2018-02-06 07:51:28 +01:00