3558578 | Jason Lewis | 30 April 2014, 15:23:54 UTC | Renamed from scopes to embeds. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 30 April 2014, 15:23:54 UTC |
b678cad | Jason Lewis | 30 April 2014, 14:59:02 UTC | Allow scopes to be given to transformers for nested or embedded relationships. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 30 April 2014, 14:59:02 UTC |
808eef1 | Jason Lewis | 30 April 2014, 14:10:07 UTC | Parse the accept header for authentication to get the version and format of the request. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 30 April 2014, 14:10:07 UTC |
b1db447 | Jason Lewis | 30 April 2014, 13:58:49 UTC | Removing some aspects of the OAuth integration to simplify things. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 30 April 2014, 13:58:49 UTC |
9300bb1 | Jason Lewis | 30 April 2014, 13:51:12 UTC | Refactoring authentication once more. For the last time. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 30 April 2014, 13:51:12 UTC |
b81f0d9 | Jason Lewis | 30 April 2014, 13:35:18 UTC | Using auth instead of shield for property name. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 30 April 2014, 13:35:18 UTC |
276e5df | Jason Lewis | 30 April 2014, 13:34:28 UTC | Normalizing code and docblocks. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 30 April 2014, 13:34:28 UTC |
dd1075e | Jason Lewis | 30 April 2014, 13:28:00 UTC | Fixing possible issue where authentication is attempted on each request. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 30 April 2014, 13:28:00 UTC |
6c9ff6b | Jason Lewis | 30 April 2014, 13:27:09 UTC | A bit of cleaning up. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 30 April 2014, 13:27:09 UTC |
501a9ba | Jason Lewis | 30 April 2014, 13:16:06 UTC | Refactoring middleware and tests. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 30 April 2014, 13:16:06 UTC |
7310f56 | Jason Lewis | 30 April 2014, 04:22:47 UTC | Implemented Fractal transformations. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 30 April 2014, 04:22:47 UTC |
80ef59c | Jason Lewis | 29 April 2014, 13:14:13 UTC | Allowing formatters to pass a closure that takes the application container as first parameter. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 29 April 2014, 13:14:13 UTC |
2d5d3a0 | Jason Lewis | 28 April 2014, 13:27:45 UTC | Router gracefully falls back to default API version if no exact matching collection is found. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 28 April 2014, 13:27:45 UTC |
12054a2 | Jason Lewis | 28 April 2014, 13:13:45 UTC | Fixed bug where collections were prematurely matched resulting in 404s and fixes for point release API versions. Closes #16. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 28 April 2014, 13:13:45 UTC |
28c9225 | Jason Lewis | 28 April 2014, 13:11:45 UTC | Bind the dispatched request to the container and unbind after the request for better controller type hinting. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 28 April 2014, 13:11:45 UTC |
4bde851 | Jason Lewis | 28 April 2014, 06:11:32 UTC | Refactoring auth and providing helper methods to access OAuth related details. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 28 April 2014, 06:11:32 UTC |
7cb28b3 | Jason Lewis | 27 April 2014, 14:42:26 UTC | Merge pull request #14 from GrahamCampbell/composer Update composer.json | 27 April 2014, 14:42:26 UTC |
290ff5c | Jason Lewis | 27 April 2014, 14:40:13 UTC | Cleaning up tests using time() to prevent the odd failure. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 27 April 2014, 14:40:13 UTC |
94be283 | Jason Lewis | 27 April 2014, 14:39:04 UTC | Updating config. [ci skip] Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 27 April 2014, 14:39:04 UTC |
c6c9823 | Graham Campbell | 27 April 2014, 14:36:23 UTC | Update composer.json | 27 April 2014, 14:36:23 UTC |
6f1c548 | Jason Lewis | 27 April 2014, 14:28:10 UTC | Update controllers and container binding to match latest authentication changes. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 27 April 2014, 14:28:10 UTC |
049e032 | Jason Lewis | 27 April 2014, 14:24:20 UTC | Implemented authentication support the League's OAuth 2.0 server. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 27 April 2014, 14:24:20 UTC |
94875ea | Jason Lewis | 27 April 2014, 14:08:54 UTC | A bit of reshuffling of the OAuth2 provider. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 27 April 2014, 14:08:54 UTC |
291beb9 | Jason Lewis | 27 April 2014, 13:09:07 UTC | Suggest using the Fractal package for the transformation of data. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 27 April 2014, 13:09:07 UTC |
559c07e | Jason Lewis | 27 April 2014, 10:25:20 UTC | More test coverage for internal dispatcher. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 27 April 2014, 10:25:20 UTC |
2321634 | Jason Lewis | 27 April 2014, 10:22:19 UTC | Fixed missing period when building accept header that caused a bug with multiple versions and internal requests. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 27 April 2014, 10:22:19 UTC |
b0ba23e | Jason Lewis | 27 April 2014, 10:15:24 UTC | Fixed request targetting API returning false positives for APIs not operating under a prefix or domain. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 27 April 2014, 10:15:24 UTC |
aad963b | Jason Lewis | 27 April 2014, 10:08:21 UTC | Fixed bug where not found exception was thrown for APIs not operating on a prefix or domain. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 27 April 2014, 10:08:21 UTC |
a29c7b5 | Jason Lewis | 27 April 2014, 09:30:54 UTC | Disable rate limiting by default. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 27 April 2014, 09:30:54 UTC |
5170ac8 | Jason Lewis | 27 April 2014, 06:41:03 UTC | Implemented rate limiting. Closes #2. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 27 April 2014, 06:41:03 UTC |
6e58192 | Jason Lewis | 27 April 2014, 06:40:00 UTC | Injecting application container into middleware to boot. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 27 April 2014, 06:40:00 UTC |
9f31abc | Jason Lewis | 26 April 2014, 15:11:48 UTC | Implementing authentication as middleware instead of filter. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 26 April 2014, 15:11:48 UTC |
d8a2735 | Jason Lewis | 26 April 2014, 13:02:48 UTC | Removing the response facade. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 26 April 2014, 13:02:48 UTC |
c325872 | Jason Lewis | 26 April 2014, 13:00:42 UTC | Fixed dispatcher doubling up the prefix for route names and controller actions. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 26 April 2014, 13:00:42 UTC |
9a7afd9 | Jason Lewis | 26 April 2014, 12:51:53 UTC | Refactoring authentication to make use of a manager. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 26 April 2014, 12:51:53 UTC |
7d35539 | Jason Lewis | 26 April 2014, 08:33:54 UTC | Implemented API::route and API::action for name-based and action-based requests. Closes #12. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 26 April 2014, 08:33:54 UTC |
3448298 | Jason Lewis | 26 April 2014, 08:07:08 UTC | Internal user authentication is persisted and added optional "once" method to only authenticate for single request. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 26 April 2014, 08:07:08 UTC |
524a3bb | Jason Lewis | 26 April 2014, 08:01:27 UTC | Refactoring authentication layer. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 26 April 2014, 08:01:27 UTC |
9ba8e28 | Jason Lewis | 26 April 2014, 07:57:16 UTC | Fixing bug with registering multiple versions in a single group. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 26 April 2014, 07:57:16 UTC |
1a5d352 | Jason Lewis | 26 April 2014, 06:40:45 UTC | Cleaning up tests. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 26 April 2014, 06:40:45 UTC |
38b353e | Jason Lewis | 22 April 2014, 07:47:05 UTC | Tweak the exception handler so status codes are only set on new responses. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 22 April 2014, 07:47:05 UTC |
ea85757 | Jason Lewis | 22 April 2014, 06:38:39 UTC | Passing InvalidTokenException in so a custom handler can grab the error. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 22 April 2014, 06:39:13 UTC |
9a5552c | Jason Lewis | 21 April 2014, 11:50:08 UTC | Lots of refactoring and cleaning up. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 21 April 2014, 11:50:08 UTC |
e1bc4ac | Jason Lewis | 21 April 2014, 11:16:15 UTC | Implemented default prefix and domain that can be set in configuration. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 21 April 2014, 11:16:15 UTC |
9752f2b | Jason Lewis | 20 April 2014, 00:50:49 UTC | Fixed bug where API would kick in when a regular group had a prefix of "api". Fixes #7. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 20 April 2014, 00:51:02 UTC |
da4c1af | Jason Lewis | 19 April 2014, 23:55:52 UTC | Fixing up test stubs and autoloading. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 19 April 2014, 23:55:52 UTC |
1e7b469 | Jason Lewis | 16 April 2014, 10:13:28 UTC | Fix for loose matching in Laravel's routing that causes HTTPS issues. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 16 April 2014, 10:13:28 UTC |
0f2e8e2 | Jason Lewis | 16 April 2014, 01:30:13 UTC | Fix test, don't worry about checking the exceptions message. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 16 April 2014, 01:30:13 UTC |
655b8a1 | Jason Lewis | 16 April 2014, 01:15:24 UTC | Make authentication more configurable and extendable. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 16 April 2014, 01:15:24 UTC |
b6fc35b | Jason Lewis | 14 April 2014, 15:32:25 UTC | Return an encoded empty array when formatting empty Eloquent collection. Fixes #4. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 14 April 2014, 15:32:25 UTC |
f31951f | Jason Lewis | 13 April 2014, 10:07:02 UTC | Implemented configurable response formats. See #3. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 13 April 2014, 10:07:02 UTC |
5687f23 | Jason Lewis | 13 April 2014, 03:58:53 UTC | Moving docs to wiki and adding license details. [ci skip] Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 13 April 2014, 03:59:08 UTC |
7eae46a | Jason Lewis | 12 April 2014, 09:39:35 UTC | Refactoring. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 12 April 2014, 09:39:35 UTC |
1a4513b | Jason Lewis | 12 April 2014, 09:31:20 UTC | More testing and fixing docblocks. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 12 April 2014, 09:31:20 UTC |
e13f825 | Joseph Cohen | 12 April 2014, 07:17:38 UTC | Fix matching prefix for api routes | 12 April 2014, 09:23:55 UTC |
8ed02a8 | Jason Lewis | 11 April 2014, 13:18:51 UTC | Woops, missed a closing code block. [ci skip] Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 11 April 2014, 13:18:51 UTC |
5b1067a | Jason Lewis | 11 April 2014, 12:54:44 UTC | Updating to PSR-4. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 11 April 2014, 12:54:44 UTC |
454a4d6 | Jason Lewis | 11 April 2014, 12:51:07 UTC | Updating readme. [ci skip] Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 11 April 2014, 12:51:07 UTC |
fb2eec5 | Jason Lewis | 11 April 2014, 12:30:35 UTC | Authentication test coverage. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 11 April 2014, 12:30:35 UTC |
df9a3e4 | Jason Lewis | 11 April 2014, 12:30:25 UTC | Refactoring and improving test coverage. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 11 April 2014, 12:30:25 UTC |
da298c1 | Jason Lewis | 11 April 2014, 12:29:45 UTC | Simplified the morphing of Eloquent objects and more testing. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 11 April 2014, 12:29:45 UTC |
89305e4 | Jason Lewis | 11 April 2014, 09:36:18 UTC | Updating readme guide and composer. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 11 April 2014, 09:36:18 UTC |
fb32478 | Jason Lewis | 11 April 2014, 09:35:57 UTC | Injecting Authentication into default controller. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 11 April 2014, 09:35:57 UTC |
8c134b6 | Jason Lewis | 10 April 2014, 10:41:28 UTC | Working on readme. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 10 April 2014, 10:41:28 UTC |
f799b8f | Jason Lewis | 10 April 2014, 10:41:17 UTC | Changing the token method to issueToken, token now returns authenticated token. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 10 April 2014, 10:41:17 UTC |
8576f00 | Jason Lewis | 10 April 2014, 10:08:12 UTC | Implement scopes for controllers and update readme. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 10 April 2014, 10:08:12 UTC |
51ad4a7 | Jason Lewis | 10 April 2014, 10:07:55 UTC | Fix up the static token method to reference the oauth binding. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 10 April 2014, 10:07:55 UTC |
8555db1 | Jason Lewis | 10 April 2014, 10:07:24 UTC | Configuring the authentication providers is easier. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 10 April 2014, 10:07:24 UTC |
30e9f57 | Jason Lewis | 10 April 2014, 07:38:00 UTC | Allow scopes to be set on a route. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 10 April 2014, 07:38:00 UTC |
46addd7 | Jason Lewis | 10 April 2014, 06:58:16 UTC | Removed authorization as oauth2-server-laravel package handles this. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 10 April 2014, 06:58:16 UTC |
676531c | Jason Lewis | 10 April 2014, 06:52:27 UTC | Updating to match latest changes to server. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 10 April 2014, 06:52:27 UTC |
e2f3946 | Jason Lewis | 10 April 2014, 06:35:46 UTC | Updating to match latest changes to OAuth2 server. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 10 April 2014, 06:35:46 UTC |
8175e4b | Jason Lewis | 29 March 2014, 13:27:41 UTC | Updating readme. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 29 March 2014, 13:27:41 UTC |
29dddd4 | Jason Lewis | 29 March 2014, 13:17:05 UTC | Making tests green again. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 29 March 2014, 13:17:05 UTC |
b7c4d34 | Jason Lewis | 29 March 2014, 13:14:27 UTC | Internal requests can now be authenticated as any supplied user. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 29 March 2014, 13:14:27 UTC |
d319987 | Jason Lewis | 29 March 2014, 13:13:49 UTC | Added illuminate/database as a dependency. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 29 March 2014, 13:13:49 UTC |
224d344 | Jason Lewis | 29 March 2014, 12:53:55 UTC | Refactoring the API authentication. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 29 March 2014, 12:53:55 UTC |
9a714cb | Jason Lewis | 27 March 2014, 11:51:38 UTC | Update to use the Dingo OAuth 2.0 server package. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 27 March 2014, 11:51:38 UTC |
6d97740 | Jason Lewis | 22 March 2014, 23:37:22 UTC | Updating bindings for oauth2 package. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 22 March 2014, 23:37:22 UTC |
0504575 | Jason Lewis | 22 March 2014, 23:32:32 UTC | More work on the readme. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 22 March 2014, 23:32:32 UTC |
8025cc7 | Jason Lewis | 22 March 2014, 23:32:25 UTC | Change exception message. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 22 March 2014, 23:32:25 UTC |
177085b | Jason Lewis | 22 March 2014, 23:32:14 UTC | Change the name for the OAuth2 provider. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 22 March 2014, 23:32:14 UTC |
ee09d4e | Jason Lewis | 22 March 2014, 23:31:08 UTC | Return keyed responses for Eloquent models and collections. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 22 March 2014, 23:31:08 UTC |
f959b1b | Jason Lewis | 22 March 2014, 12:33:02 UTC | Working on readme. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 22 March 2014, 12:33:02 UTC |
ccda3c6 | Jason Lewis | 22 March 2014, 12:32:55 UTC | Register the authorization. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 22 March 2014, 12:32:55 UTC |
493a4be | Jason Lewis | 22 March 2014, 10:57:22 UTC | Add in config options for authentication. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 22 March 2014, 10:57:22 UTC |
54e914b | Jason Lewis | 22 March 2014, 10:56:53 UTC | Implement better authentication and authorization. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 22 March 2014, 10:56:53 UTC |
c9b5376 | Jason Lewis | 16 March 2014, 07:39:40 UTC | Working on allowing controllers to be protected/unprotected. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 16 March 2014, 07:39:40 UTC |
9155e77 | Jason Lewis | 16 March 2014, 05:41:28 UTC | Fixing up routing tests for green. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 16 March 2014, 05:41:28 UTC |
ab3960c | Jason Lewis | 16 March 2014, 05:41:18 UTC | Only add errors if there are errors. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 16 March 2014, 05:41:18 UTC |
0de6d0c | Jason Lewis | 16 March 2014, 05:32:30 UTC | Fixed bug where internal exceptions were handled and not rethrown. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 16 March 2014, 05:32:30 UTC |
b6f7b69 | Jason Lewis | 16 March 2014, 05:30:13 UTC | Method to check if request is internal. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 16 March 2014, 05:30:13 UTC |
d7ce982 | Jason Lewis | 16 March 2014, 05:23:14 UTC | Import the correct exception so it can be caught. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 16 March 2014, 05:23:14 UTC |
716272c | Jason Lewis | 16 March 2014, 04:34:03 UTC | Moved the authorization middleware to the before filter. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 16 March 2014, 04:34:03 UTC |
7cf6a43 | Jason Lewis | 16 March 2014, 03:40:16 UTC | Properly check if request is API and only authenticate when route was found. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 16 March 2014, 03:40:16 UTC |
c5b4631 | Jason Lewis | 16 March 2014, 03:11:19 UTC | Allow API routes to be protected. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 16 March 2014, 03:11:19 UTC |
2f566bc | Jason Lewis | 16 March 2014, 03:00:38 UTC | Removed ApiTest. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 16 March 2014, 03:00:38 UTC |
8700fca | Jason Lewis | 16 March 2014, 03:00:23 UTC | Properly set the message and errors keys for resource exceptions. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 16 March 2014, 03:00:23 UTC |
8cd6980 | Jason Lewis | 16 March 2014, 02:20:34 UTC | API now registers all routes and can access any version internally. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 16 March 2014, 02:20:34 UTC |
e66f63c | Jason Lewis | 15 March 2014, 14:42:14 UTC | Allow parameters to be passed as second argument. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> | 15 March 2014, 14:42:14 UTC |