Commit Graph

567 Commits

Author SHA1 Message Date
Patrick Brouwers f1beeb4d3b Remove redundant Closure namespace import in VerifyCsrfToken 2015-05-09 14:25:42 +02:00
Taylor Otwell 89e2d8e174 Auth controller stubs. 2015-05-01 23:04:32 -05:00
Taylor Otwell 89f568156f No need to override this by default anymore. 2015-04-30 14:59:22 -05:00
Taylor Otwell b22a1f48c8 Fix typo. 2015-04-30 14:19:00 -05:00
Taylor Otwell 4e8d5533bd Stub out except property. 2015-04-30 14:18:27 -05:00
Taylor Otwell 161ebdab36 Revert "[5.1] Add new middleware" 2015-04-22 08:26:24 -05:00
Taylor Otwell 2d9b6958ec Simplify opening routes. 2015-04-21 14:42:23 -05:00
Laurence Ioannou 3dcefec0bd Update Kernel.php 2015-04-19 15:13:32 +10:00
Taylor Otwell 3b7e6dcdca fix a bunch of stufF 2015-04-10 22:19:42 -05:00
Mark Kevin Que ddf92f9513 Defining global patterns before parent boot function call
Kindly check if my assumption is correct? In relation to this issue, http://stackoverflow.com/questions/28251154/laravel-5-0-dev-defining-global-patterns-is-not-working/29567578#29567578 and https://laracasts.com/discuss/channels/general-discussion/route-global-pattern-in-routeserviceprovider-not-working-in-laravel-5?page=1

or this could be a different issue/bug

thanks!
2015-04-10 13:59:42 -04:00
Austin H 0bbe752e87 Fix more spacing.
This converts AppServiceProvider to spaces since it wasn't and removes
a few empty lines after class declarations.
2015-03-20 20:30:50 -07:00
Taylor Otwell 5e11f87de2 Remove auth scaffolding to make it opt-in. 2015-03-18 12:55:56 -05:00
Taylor Otwell 8909e75552 Some spacing. 2015-03-02 15:31:27 -06:00
Taylor Otwell c9c0380b34 Just use helper function in middleware. 2015-03-01 21:35:37 -06:00
Taylor Otwell 4c78958b5b Tweak a few things. 2015-02-22 22:37:16 -06:00
Taylor Otwell cc2139ac91 Tweaking a few things. 2015-02-22 21:56:03 -06:00
Taylor Otwell f424b87a63 PSR-2 for app. 2015-02-22 20:47:03 -06:00
Taylor Otwell 76d4c11c0f Merge branch 'master' into develop 2015-02-22 19:58:23 -06:00
Taylor Otwell 1500a18696 Tweak some jobs and names. 2015-02-20 20:49:06 -06:00
Taylor Otwell d2d9c79e4f Tweaks. 2015-02-16 23:37:05 -06:00
Taylor Otwell d5f285ba8b Simplify authentication. Remove service. 2015-02-16 23:36:48 -06:00
Mike Dugan 96e64ef66c remove unused use statements 2015-02-13 15:10:04 -05:00
Taylor Otwell 35acc5408c Simplify exception handler. 2015-02-06 13:37:48 -06:00
Taylor Otwell c3e3d9dc4b Include CSRF middleware in base install for easy override / whitelist.
This makes it easy to skip CSRF verification for things like web hooks
and such from GitHub / Stripe.
2015-01-26 19:32:22 -06:00
Taylor Otwell ad695e20bc Call parent boot. 2015-01-22 17:15:34 -06:00
Taylor Otwell 86b0ae0896 Merge pull request #3221 from billmn/patch-1
[5.0] Allow to use $router in routes file
2015-01-22 16:49:32 -06:00
Joseph Cohen a348910c07 Fix app event service provider contract 2015-01-22 16:00:54 -06:00
Taylor Otwell 0089439a33 A few tweaks. 2015-01-22 15:28:02 -06:00
Davide Bellini 82cf205242 Allow to use $router in routes file 2015-01-21 10:18:18 +01:00
Taylor Otwell 8780949bec Make route loading a little more explicit. 2015-01-20 16:09:01 -06:00
Taylor Otwell f248da36c3 Tweak doc blocks. 2015-01-20 11:11:43 -06:00
Taylor Otwell 013007a9e1 Move constructor to app. 2015-01-20 11:09:40 -06:00
Taylor Otwell 61ff20256b Moving auth constructor to app. 2015-01-20 11:06:17 -06:00
Taylor Otwell ce20ef22c1 Remove command suffix. 2015-01-07 15:29:01 -06:00
Taylor Otwell caa166f5d6 Remove middleware interface. 2015-01-05 13:16:21 -06:00
Taylor Otwell c1db7050ea Add a basic service provider for config overwriting. 2015-01-02 14:47:42 -06:00
Taylor Otwell dc384fe1f5 Stub out some folders for jobs / commands and events. 2014-12-27 16:45:14 -06:00
Taylor Otwell b60f57e77b Simplify routes file. 2014-12-23 16:45:03 -06:00
Taylor Otwell 9309699de1 Tweaking setup. 2014-12-04 21:13:15 -06:00
Taylor Otwell 2fc313b8b1 Clarify the type of response we're looking for. 2014-12-02 17:21:59 -06:00
Taylor Otwell 9db97c3285 Tweak a few error handling things. 2014-12-02 17:21:16 -06:00
Taylor Otwell 8ce0d263c1 Set fillable array. 2014-12-01 21:59:46 -06:00
Taylor Otwell 662bc27468 Merge pull request #3153 from Codeklopper/patch-2
Unused exception reference
2014-11-30 20:26:33 -06:00
Taylor Otwell 57a6e1ce72 Remove properties. 2014-11-30 19:55:11 -06:00
Taylor Otwell 5194a437d5 Add a note to the AppServiceProvider. 2014-11-30 14:12:20 -06:00
Taylor Otwell 6b939c477c Tweak some wording. 2014-11-29 20:14:23 -06:00
Taylor Otwell 50bdd8e33a Some wording. 2014-11-29 16:57:46 -06:00
Taylor Otwell 7ba858ddf1 Working on some customization. 2014-11-29 14:11:26 -06:00
Taylor Otwell 9083f48e97 Working on removing authentication boilerplate. 2014-11-29 13:55:38 -06:00
Codeklopper e05d7440b2 Unused exception reference 2014-11-27 11:39:23 +01:00
Taylor Otwell e558ac6eb2 Change wording. 2014-11-26 11:34:18 -06:00
Codeklopper 11cf23b4f2 Unused exception reference 2014-11-26 15:04:23 +01:00
Taylor Otwell da0e510872 Cleaning up auth code. 2014-11-25 15:12:16 -06:00
Taylor Otwell 3c0a1cfb4b Use home as view. 2014-11-25 11:38:04 -06:00
Taylor Otwell 16357ad29b Authorize all requets. 2014-11-25 09:20:56 -06:00
Taylor Otwell d306965007 Organize requests differently. 2014-11-25 09:20:26 -06:00
Taylor Otwell 634c96d8d9 Rename dashboard to home. 2014-11-24 19:33:07 -06:00
Taylor Otwell 7a7e366da5 Simplify validation on register stuff. 2014-11-24 14:25:44 -06:00
Taylor Otwell 4803d6c8e2 Moe default requests. 2014-11-24 13:59:40 -06:00
Taylor Otwell a9c9b202b0 Remove comment. 2014-11-24 12:24:01 -06:00
Taylor Otwell da9dd7d389 Respect remember me setting. 2014-11-24 12:21:06 -06:00
Taylor Otwell f8aeffc76a Tweak welcome view. 2014-11-24 11:47:49 -06:00
Taylor Otwell fa978d0525 Working on default app structure. Login views. 2014-11-24 11:42:29 -06:00
Taylor Otwell b73e127ed0 Just use one controller call. 2014-11-22 11:33:18 -06:00
Taylor Otwell 29ad85dbd1 Change wording. 2014-11-19 21:16:59 -06:00
Taylor Otwell abaee25b56 Add clarification to comment. 2014-11-19 20:00:42 -06:00
Taylor Otwell 2e0afb9bf1 Fix a few comments for wording. 2014-11-19 19:59:36 -06:00
Taylor Otwell 994e099928 Update syntax. 2014-11-19 19:49:18 -06:00
Taylor Otwell 8b70eabf39 Update the app skeleton. 2014-11-19 19:45:46 -06:00
Taylor Otwell 536fe29b6b Remove extra semicolon. 2014-11-19 08:15:55 -06:00
Taylor Otwell 313abe624d Use real command name. 2014-11-18 23:12:28 -06:00
Taylor Otwell 71a8e00f26 Merge branch 'schedule' into develop 2014-11-18 22:48:49 -06:00
Taylor Otwell a7e6a89c91 Add scheduled commands. 2014-11-18 22:48:38 -06:00
Taylor Otwell 9a0612fc26 Separate namespaces for when app is named. 2014-11-14 16:44:01 -05:00
Taylor Otwell e3e7cc499f Set the root controller namespace. 2014-11-11 20:10:53 -06:00
Taylor Otwell ca2f02284c Rename middleware to more "action" words. 2014-11-11 12:51:55 -06:00
Taylor Otwell d2aebd283e Rename middleware. 2014-11-11 10:27:30 -06:00
Taylor Otwell e02e3456ed Update middleware reference. 2014-11-10 13:43:44 -06:00
Taylor Otwell a98c0d64c7 Move middleware. 2014-11-10 13:38:19 -06:00
Taylor Otwell 97287c89fe Update middleware. 2014-11-10 13:25:08 -06:00
Taylor Otwell 2cb7450aaf modify contract. 2014-11-10 11:51:42 -06:00
Taylor Otwell 6e0a5603fe Update middleware list. 2014-11-10 10:20:41 -06:00
Taylor Otwell bdb839222d Check type of token. 2014-11-09 16:31:08 -06:00
Taylor Otwell 55965c73c5 Rename. 2014-11-07 10:00:30 -06:00
Taylor Otwell 929e638c7e Rename traits. 2014-11-07 09:39:01 -06:00
Taylor Otwell 33efefa388 Fix redirects. 2014-11-06 13:16:29 -06:00
Taylor Otwell 754ea2656c Tweak wording. 2014-11-06 13:11:17 -06:00
Taylor Otwell 0c3f1c967c Merge pull request #3118 from miclf/patch-1
Prevent TokenMismatchException for HTTP OPTIONS requests
2014-11-06 13:10:14 -06:00
Taylor Otwell 10452da7b5 Merge pull request #3112 from nblackburn/patch-1
Updated CSRF middleware reference
2014-11-06 08:57:24 -06:00
Taylor Otwell fcca359778 Working on middleware. 2014-11-05 11:18:00 -06:00
Taylor Otwell a8e4f23126 Merge branch 'config' into develop 2014-11-05 10:19:02 -06:00
Taylor Otwell a280988eef Stub out an app service provider. 2014-11-05 10:18:53 -06:00
Taylor Otwell c494e83193 Merge pull request #3114 from matism/develop
new logout-method naming
2014-11-05 09:42:28 -06:00
Michaël Lecerf 70d516b7ce Prevent TokenMismatchException for HTTP OPTIONS requests
`OPTIONS` HTTP requests should be treated in the same way than `GET` requests by the `VerifyCsrfToken` middleware. Otherwise, an exception is thrown, thus preventing any `OPTIONS` route to work.
2014-11-05 13:09:12 +01:00
Taylor Otwell 27aa85ccdb Remove exception handler. Move to core. 2014-11-03 19:13:06 -06:00
Taylor Otwell 1209ce7657 Working on exception handling. WIP. 2014-11-03 16:45:26 -06:00
Mathias e1b491065d new logout-method naming 2014-11-03 15:35:00 +01:00
Taylor Otwell 007040e2ae Remove scan arrays. 2014-11-02 13:15:12 -06:00
Taylor Otwell ed4b97b33b Working on structure. 2014-11-02 10:22:56 -06:00
Taylor Otwell c398cda797 Tweak default request setup. 2014-11-02 10:21:14 -06:00
Taylor Otwell 5d8af6099e Remove extra line. 2014-11-02 10:09:55 -06:00
Taylor Otwell 0ee0c434a3 Changing default routing setup. 2014-11-02 10:02:20 -06:00
Nathaniel Blackburn 08c6996d77 Update RouteServiceProvider.php
Removed the CSRF provider as it is specified in the Kernel.
2014-10-28 19:06:26 +00:00
Nathaniel Blackburn 68009bb99c Updated CSRF middleware reference 2014-10-28 18:57:54 +00:00
Taylor Otwell 3a844756fe Merge pull request #3091 from GrahamCampbell/patch-1
Fixed RouteServiceProvider docblocks
2014-10-22 19:16:17 -05:00
Taylor Otwell 36e0014a6a Fix a few password reminder things. 2014-10-22 19:16:05 -05:00
Taylor Otwell c10ad6269e Remove log service provider since it is part of Bootstrap process. 2014-10-21 21:57:39 -05:00
Taylor Otwell 9aed9debca Tweak how console commands are registered. 2014-10-21 10:27:26 -05:00
Taylor Otwell ec9edec9a2 Rename CSRF middleware. 2014-10-20 17:16:06 -05:00
Taylor Otwell 2542829d84 Rename auth middlewares. 2014-10-20 16:46:56 -05:00
Taylor Otwell 93b9415cd0 Update middleware. 2014-10-20 16:45:39 -05:00
Taylor Otwell 22612df444 Middleware. 2014-10-20 13:22:05 -05:00
Taylor Otwell bcc539ee62 Move bootstraps to base classes. 2014-10-20 11:29:33 -05:00
Taylor Otwell 4301348646 Large refactor of HTTP and Console stack. 2014-10-20 11:14:41 -05:00
Taylor Otwell 0cd9ee1e90 Extend controller by default. 2014-10-15 08:34:33 -05:00
Graham Campbell 133b798cf5 Fixed RouteServiceProvider docblocks 2014-10-15 13:35:10 +01:00
Taylor Otwell bc593c17aa Demo how to include a routes file. 2014-10-14 21:10:36 -05:00
Taylor Otwell 0ed0310732 Tweak wording. 2014-10-14 20:11:28 -05:00
Taylor Otwell d3bf13b10b Working on routing and providers. 2014-10-14 20:07:12 -05:00
Taylor Otwell 5bb0752338 These annotations are no longer needed. 2014-10-14 19:18:50 -05:00
Taylor Otwell c0019c6fcb Add CSRF middleware to main app stack. 2014-10-14 19:18:29 -05:00
Taylor Otwell 95e934698f Merge pull request #3081 from alnutile/patch-5
[bug] Not sure but it seems this one should be
2014-10-14 13:02:00 -05:00
Taylor Otwell a9bddfc0e0 Add error binder. 2014-10-14 10:14:25 -05:00
Alfred Nutile dae2db0412 [bug] Not sure but it seems this one should be
auth/login as noted on line 64
2014-10-13 12:54:29 -04:00
Taylor Otwell 75393db929 Rename a few things. 2014-10-12 20:46:47 -05:00
Taylor Otwell 57bad0a357 Shorten sentence. 2014-10-12 20:32:41 -05:00
Taylor Otwell 50b6b32ec5 Change some method names. 2014-10-12 14:21:59 -05:00
Taylor Otwell da13639135 Fix namespace. 2014-10-12 12:20:32 -05:00
Taylor Otwell 546c81a190 Fix some password reset stuff. 2014-10-12 12:20:01 -05:00
Taylor Otwell f2279c0210 Scaffold authentication as default example. 2014-10-11 22:46:53 -05:00
Taylor Otwell c6722869a8 Merge pull request #3061 from antonioribeiro/patch-2
Remove unused Route
2014-10-11 21:04:52 -05:00
Taylor Otwell 18301a1fd2 Merge pull request #3062 from jlaswell/patch-1
MaintenanceMiddleware implement Contract
2014-10-11 21:04:43 -05:00
Taylor Otwell c39679bb86 Merge pull request #3065 from johnhout/patch-1
Added @throws TokenMismatchException
2014-10-11 21:04:26 -05:00
John in 't Hout 6c0b7916a4 Update CsrfMiddleware.php 2014-10-11 01:02:23 +02:00
John in 't Hout 409fa574fc Update CsrfMiddleware.php 2014-10-10 22:56:00 +02:00
Taylor Otwell 714f6a5574 Fix method call. 2014-10-09 22:27:01 -05:00
Taylor Otwell e5e7af82a6 Fix check. 2014-10-09 21:56:13 -05:00
Taylor Otwell 4d0de14b45 tweaks CSRF filter. 2014-10-09 21:50:52 -05:00
John in 't Hout 75cc5a7e2e Added @throws TokenMismatchException
Since modern IDE's will expect you to define the @throws attribute, added this to the Docblock.
2014-10-09 23:28:45 +02:00
John Laswell 568d06d903 MaintenanceMiddleware contract
Update MaintenanceMiddleware to implement the Middleware contract.
2014-10-08 21:30:27 -04:00
Antonio Carlos Ribeiro f17ac36e6a Remove unused Route 2014-10-08 21:03:28 -03:00
Taylor Otwell 17ac063e80 Update middleware. 2014-10-06 17:13:10 -05:00
Taylor Otwell fbd5a9ef92 Fix typo. 2014-10-06 16:34:44 -05:00
Taylor Otwell b8f3dd6265 Working on middle wares. 2014-10-06 15:46:34 -05:00
Taylor Otwell 43e8c60a11 Write a base app service provider. 2014-10-06 15:35:23 -05:00
Taylor Otwell d2937ea714 Working on stack. 2014-10-06 15:25:53 -05:00
Taylor Otwell 2893433b35 Add application stack to app server provider. 2014-10-06 14:55:55 -05:00
Taylor Otwell ab53517076 No need to extend controller. 2014-10-05 23:43:21 -05:00
Taylor Otwell 8a2f8bb2c7 Working on a few files. 2014-10-03 21:30:51 -05:00
Taylor Otwell 65dce4d093 Shorten type-hint in docblock. 2014-10-02 20:35:44 -05:00
Taylor Otwell 3cb71182a9 Merge pull request #3045 from robinmitra/develop
Update PHPDoc block for LogServiceProvider
2014-10-02 20:35:02 -05:00
Taylor Otwell 2ac4ce6fc4 Merge pull request #3052 from antonioribeiro/patch-1
Remove unused Dispatcher
2014-10-02 20:33:13 -05:00
Taylor Otwell da7443abba Tweak some paths. 2014-10-02 19:36:03 -05:00
Antonio Carlos Ribeiro e82a78c40f Remove unused Dispatcher 2014-10-02 12:40:54 -03:00
Taylor Otwell e700cd710e Use new providers. 2014-09-30 21:13:58 -05:00
Taylor Otwell ab7ba393be Add an event service provider. 2014-09-30 21:01:17 -05:00
Robin Mita 2167722748 Update doc block for LogServiceProvider 2014-09-28 13:42:10 +00:00
Taylor Otwell 9f81d4df6e Simplify things. 2014-09-27 20:35:08 -05:00
Taylor Otwell 1edb0eb24c Merge pull request #3035 from danharper/patch-1
Missing Authenticator import in GuestFilter
2014-09-24 22:33:52 -05:00
Taylor Otwell 8f3d0ed8eb Inject router into before method. 2014-09-24 09:58:12 -05:00
Taylor Otwell 692c9667c7 Let router be inherited by route script. 2014-09-24 09:49:21 -05:00
Dan Harper 3bb7a97ce7 Missing Authenticator import in GuestFilter 2014-09-23 16:03:29 +01:00
Taylor Otwell 076d86bf26 Simplifying some filters. 2014-09-23 08:31:57 -05:00
crynobone 6abdb1574d Use tabs, always.
Signed-off-by: crynobone <crynobone@gmail.com>
2014-09-23 10:29:59 +08:00
Taylor Otwell d45ff68f6d Merge branch 'develop' of github.com:laravel/laravel into develop 2014-09-22 20:22:19 -05:00
Taylor Otwell f9c3754df9 More work on filters. 2014-09-22 20:22:17 -05:00
Taylor Otwell 34ee58acb6 Do some more injection on filters. 2014-09-22 20:21:58 -05:00
Graham Campbell dfaa81c47a Removed a trailing space 2014-09-21 20:32:00 +01:00
Graham Campbell 37f1e77494 Added missing new lines at eof 2014-09-21 20:31:42 +01:00
Taylor Otwell 4e5a151774 Embrace contracts. 2014-09-18 19:35:08 -05:00
Taylor Otwell 7c8b8e7dba Make Artisan service provider be deferred. 2014-09-17 22:30:45 -05:00
Diego Hernandes 48860471fb Fix typo on config namespaces.controller to namespace.controllers 2014-09-15 09:12:48 -03:00
Taylor Otwell eff1f84050 Remove extra lines. 2014-09-09 10:01:59 -05:00
Taylor Otwell 0f5e0f8b1a Merge pull request #2983 from ajschmaltz/patch-1
Spellcheck
2014-09-07 17:11:43 -05:00
Alfred Nutile 5eaaadc204 [bug] Auth filter still redirects to /login not auth/login
if you use make:auth it defaults to auth/login for a path. But if you look at the Auth filter it defaults to /login as a path.
2014-09-07 09:20:07 -04:00
ajschmaltz c993970a0f Spellcheck 2014-09-02 19:48:55 -04:00
Jason Lewis 5bdf965a72 Update the docblock for the CsrfFilter.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2014-09-02 19:30:17 +09:30
Jason Lewis 56a1baed68 Fix parameters for the AuthFilter.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2014-09-02 19:29:26 +09:30
Taylor Otwell a27f7486dc Extend model. 2014-08-29 13:58:51 +02:00
Taylor Otwell 6fe851cc0a Import facade. 2014-08-29 04:54:40 +02:00
Taylor Otwell a7f3512743 Set root controller namespace. 2014-08-29 04:18:29 +02:00
Taylor Otwell 2f998b2095 Settle on Facades in service providers. 2014-08-29 00:21:49 +02:00
Taylor Otwell 45f0b4f9d9 Use injection here. Blah, can't decide. 2014-08-28 15:00:43 +02:00
Taylor Otwell c9ea1cbf03 Fix doc blocks. 2014-08-28 14:47:08 +02:00
Taylor Otwell bde518b59c Use App facade. 2014-08-27 22:05:56 +02:00
Taylor Otwell 198b54d4ad Simplify providers. 2014-08-27 21:50:37 +02:00
Taylor Otwell 78c932f688 Working on a few changes. 2014-08-27 12:49:50 +02:00
Taylor Otwell d6719eb5e5 Fix contracts. 2014-08-23 12:50:39 -05:00
Taylor Otwell ca3c8c3e56 Remove unnecessary alias. 2014-08-21 23:41:47 -05:00
Taylor Otwell aeffa1766f Fix path. 2014-08-20 23:32:40 -05:00
Taylor Otwell e7617ff19b Change how controller is aliased. 2014-08-20 21:46:01 -05:00
Taylor Otwell 59289aff68 Tweak where views and lang files are located. 2014-08-20 20:41:24 -05:00
Taylor Otwell 838b20d4a0 Use facades. 2014-08-20 17:04:09 -05:00
Taylor Otwell 2ab3d52540 Add note. 2014-08-20 12:49:00 -05:00
Taylor Otwell eb4f536c44 Set console command name. 2014-08-20 00:26:14 -05:00
Taylor Otwell 177d1ebb7a Mega work on structure. 2014-08-20 00:26:14 -05:00
Taylor Otwell 80a60552d7 Rename. 2014-08-18 23:43:10 -05:00
Taylor Otwell 3ffbb5d6ba Renaming folders. 2014-08-18 23:42:49 -05:00
Taylor Otwell 9aae50e501 Working on the default app structure. 2014-08-18 22:46:16 -05:00
Taylor Otwell ee6f47dc47 Working on app structure. 2014-08-13 09:44:20 -05:00