https://github.com/dingo/api

sort by:
Revision Author Date Message Commit Date
3558578 Renamed from scopes to embeds. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 30 April 2014, 15:23:54 UTC
b678cad 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 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 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 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 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 Normalizing code and docblocks. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 30 April 2014, 13:34:28 UTC
dd1075e 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 A bit of cleaning up. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 30 April 2014, 13:27:09 UTC
501a9ba Refactoring middleware and tests. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 30 April 2014, 13:16:06 UTC
7310f56 Implemented Fractal transformations. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 30 April 2014, 04:22:47 UTC
80ef59c 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 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 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 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 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 Merge pull request #14 from GrahamCampbell/composer Update composer.json 27 April 2014, 14:42:26 UTC
290ff5c 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 Updating config. [ci skip] Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 27 April 2014, 14:39:04 UTC
c6c9823 Update composer.json 27 April 2014, 14:36:23 UTC
6f1c548 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 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 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 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 More test coverage for internal dispatcher. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 27 April 2014, 10:25:20 UTC
2321634 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 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 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 Disable rate limiting by default. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 27 April 2014, 09:30:54 UTC
5170ac8 Implemented rate limiting. Closes #2. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 27 April 2014, 06:41:03 UTC
6e58192 Injecting application container into middleware to boot. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 27 April 2014, 06:40:00 UTC
9f31abc Implementing authentication as middleware instead of filter. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 26 April 2014, 15:11:48 UTC
d8a2735 Removing the response facade. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 26 April 2014, 13:02:48 UTC
c325872 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 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 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 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 Refactoring authentication layer. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 26 April 2014, 08:01:27 UTC
9ba8e28 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 Cleaning up tests. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 26 April 2014, 06:40:45 UTC
38b353e 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 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 Lots of refactoring and cleaning up. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 21 April 2014, 11:50:08 UTC
e1bc4ac 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 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 Fixing up test stubs and autoloading. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 19 April 2014, 23:55:52 UTC
1e7b469 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 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 Make authentication more configurable and extendable. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 16 April 2014, 01:15:24 UTC
b6fc35b 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 Implemented configurable response formats. See #3. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 13 April 2014, 10:07:02 UTC
5687f23 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 Refactoring. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 12 April 2014, 09:39:35 UTC
1a4513b More testing and fixing docblocks. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 12 April 2014, 09:31:20 UTC
e13f825 Fix matching prefix for api routes 12 April 2014, 09:23:55 UTC
8ed02a8 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 Updating to PSR-4. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 11 April 2014, 12:54:44 UTC
454a4d6 Updating readme. [ci skip] Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 11 April 2014, 12:51:07 UTC
fb2eec5 Authentication test coverage. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 11 April 2014, 12:30:35 UTC
df9a3e4 Refactoring and improving test coverage. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 11 April 2014, 12:30:25 UTC
da298c1 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 Updating readme guide and composer. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 11 April 2014, 09:36:18 UTC
fb32478 Injecting Authentication into default controller. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 11 April 2014, 09:35:57 UTC
8c134b6 Working on readme. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 10 April 2014, 10:41:28 UTC
f799b8f 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 Implement scopes for controllers and update readme. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 10 April 2014, 10:08:12 UTC
51ad4a7 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 Configuring the authentication providers is easier. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 10 April 2014, 10:07:24 UTC
30e9f57 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 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 Updating to match latest changes to server. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 10 April 2014, 06:52:27 UTC
e2f3946 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 Updating readme. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 29 March 2014, 13:27:41 UTC
29dddd4 Making tests green again. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 29 March 2014, 13:17:05 UTC
b7c4d34 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 Added illuminate/database as a dependency. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 29 March 2014, 13:13:49 UTC
224d344 Refactoring the API authentication. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 29 March 2014, 12:53:55 UTC
9a714cb 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 Updating bindings for oauth2 package. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 22 March 2014, 23:37:22 UTC
0504575 More work on the readme. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 22 March 2014, 23:32:32 UTC
8025cc7 Change exception message. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 22 March 2014, 23:32:25 UTC
177085b Change the name for the OAuth2 provider. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 22 March 2014, 23:32:14 UTC
ee09d4e 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 Working on readme. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 22 March 2014, 12:33:02 UTC
ccda3c6 Register the authorization. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 22 March 2014, 12:32:55 UTC
493a4be Add in config options for authentication. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 22 March 2014, 10:57:22 UTC
54e914b Implement better authentication and authorization. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 22 March 2014, 10:56:53 UTC
c9b5376 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 Fixing up routing tests for green. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 16 March 2014, 05:41:28 UTC
ab3960c Only add errors if there are errors. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 16 March 2014, 05:41:18 UTC
0de6d0c 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 Method to check if request is internal. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 16 March 2014, 05:30:13 UTC
d7ce982 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 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 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 Allow API routes to be protected. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 16 March 2014, 03:11:19 UTC
2f566bc Removed ApiTest. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 16 March 2014, 03:00:38 UTC
8700fca 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 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 Allow parameters to be passed as second argument. Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com> 15 March 2014, 14:42:14 UTC
back to top