Upgraded the League OAuth 2.0 package to version 4.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Fixed a possible issue with ArrayableInterface objects not being formatted properly.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Fixed bug where a child controller inheriting a parent controllers traits would not get the dependencies injected correctly.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Fixes #141, camel casing is now respected when formatting models and collections.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Bind the exception handler to the container.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Add possibility for passing UploadedFile-objects to attach()
Fixed outstanding issues from the recent upgrade to the latest OAuth 2.0 package.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Merge pull request #248 from cmandersen/master

Add possibility for passing UploadedFile-objects to attach()
Fixed issue with scopes and protection defined inside a controller were not being applied to the route.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Merge branch 'master' of github.com:dingo/api
Merge branch 'master' of https://github.com/exnor/api into exnor-master
Properly replace the bound request instance in the container for internal requests.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Implemented an easier to user json method for sending a JSON payload.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Implemented Dispatcher::on to access endpoints on different domains. This required a bit of an overhaul of how the API routes are registered and retrieved from the various collections.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>