From 9aeef9812ab2c4ba5fb8ad0ac424501952272c82 Mon Sep 17 00:00:00 2001 From: Ilya Kudin Date: Tue, 18 Apr 2017 19:13:35 +0700 Subject: [PATCH 01/16] More clear way to assign middleware in controller Assign guest middleware to LoginController using documented way https://laravel.com/docs/5.4/controllers#controller-middleware to avoid confusing with $options array values meaning. --- app/Http/Controllers/Auth/LoginController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index 75949531..b2ea669a 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -34,6 +34,6 @@ class LoginController extends Controller */ public function __construct() { - $this->middleware('guest', ['except' => 'logout']); + $this->middleware('guest')->except('logout'); } } From 6b2abec45fc2114636d65a9c892c406e1044369f Mon Sep 17 00:00:00 2001 From: JuanDMeGon Date: Tue, 18 Apr 2017 20:58:22 -0500 Subject: [PATCH 02/16] Ignore the npm debug log When an NPM run fails, is created a npm-debug.log file. This file can be ignored and should not be published on a Git based repository. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 7deb0000..2a412292 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ /.vagrant Homestead.json Homestead.yaml +npm-debug.log .env From 47e9da691f2a9e09b33051b934702b911ad30390 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Till=20Kru=CC=88ss?= Date: Thu, 20 Apr 2017 10:30:29 -0700 Subject: [PATCH 03/16] Updated changelog --- CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86c095e5..ea2b7a1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Release Notes +## [Unreleased] + +### Added +- Added `optimize-autoloader` to `config` in `composer.json` ([#4189](https://github.com/laravel/laravel/pull/4189)) +- Added `.vagrant` directory to `.gitignore` ([#4191](https://github.com/laravel/laravel/pull/4191)) +- Added `npm run development` and `npm run prod` commands ([#4190](https://github.com/laravel/laravel/pull/4190), [#4193](https://github.com/laravel/laravel/pull/4193)) +- Added `APP_NAME` environment variable ([#4204](https://github.com/laravel/laravel/pull/4204)) + +### Changed +- Changed Laravel Mix version to `0.*` ([#4188](https://github.com/laravel/laravel/pull/4188)) +- Add to axios defaults instead of overwriting them ([#4208](https://github.com/laravel/laravel/pull/4208)) +- Added `string` validation rule to `RegisterController` ([#4212](https://github.com/laravel/laravel/pull/4212)) +- Moved Vue inclusion from `bootstrap.js` to `app.js` ([17ec5c5](https://github.com/laravel/laravel/commit/17ec5c51d60bb05985f287f09041c56fcd41d9ce)) +- Only load libraries if present ([d905b2e](https://github.com/laravel/laravel/commit/d905b2e7bede2967d37ed7b260cd9d526bb9cabd)) +- Ignore the NPM debug log ([#4232](https://github.com/laravel/laravel/pull/4232)) +- Use fluent middleware definition in `LoginController` ([#4229]https://github.com/laravel/laravel/pull/4229) + + ## v5.4.16 (2017-03-17) ### Added From d771ee6c8aaf66f8e3bf549310d0c86f15332106 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 20 Apr 2017 15:31:39 -0500 Subject: [PATCH 04/16] add queue prefix value this PR goes along with https://github.com/laravel/framework/pull/18860 --- config/queue.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/config/queue.php b/config/queue.php index 4d83ebd0..145ac8a8 100644 --- a/config/queue.php +++ b/config/queue.php @@ -17,6 +17,20 @@ 'default' => env('QUEUE_DRIVER', 'sync'), + /* + |-------------------------------------------------------------------------- + | Queue Prefix + |-------------------------------------------------------------------------- + | + | If you are running multiple sites on a single server, you may experience + | crosstalk among sites if they use the same name for queue tubes. This + | optional value defines a prefix that will automatically be applied + | to queue tubes as a way to prevent this crosstalk. + | + */ + + 'prefix' => env('QUEUE_PREFIX', ''), + /* |-------------------------------------------------------------------------- | Queue Connections From 6869a880b720c4df4cacc277b0edc65949007527 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 21 Apr 2017 11:39:59 -0500 Subject: [PATCH 05/16] adjust wording --- config/queue.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config/queue.php b/config/queue.php index 145ac8a8..86b55a62 100644 --- a/config/queue.php +++ b/config/queue.php @@ -22,10 +22,9 @@ | Queue Prefix |-------------------------------------------------------------------------- | - | If you are running multiple sites on a single server, you may experience - | crosstalk among sites if they use the same name for queue tubes. This - | optional value defines a prefix that will automatically be applied - | to queue tubes as a way to prevent this crosstalk. + | If you are running multiple sites on a single server you should consider + | specifying a queue prefix. This string will be prepended to the queue + | names to prevent cross-talk when using certain local queue drivers. | */ From 312a79f673f71f18d67b3cff37a0791611b44f75 Mon Sep 17 00:00:00 2001 From: Caique Castro Date: Sun, 23 Apr 2017 09:33:23 -0300 Subject: [PATCH 06/16] Allow filesystem to be changed on config Allow to change the filesystem storage on the fly. For example, you can swap the storage disk with a fake one with Storage::fake for tests. --- config/filesystems.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/filesystems.php b/config/filesystems.php index f59cf9e9..4544f60c 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -13,7 +13,7 @@ | */ - 'default' => 'local', + 'default' => env('FILESYSTEM_DRIVER', 'local'), /* |-------------------------------------------------------------------------- @@ -26,7 +26,7 @@ | */ - 'cloud' => 's3', + 'cloud' => env('FILESYSTEM_CLOUD', 's3'), /* |-------------------------------------------------------------------------- From d964cb4286c31c2ad10b7acd3d47073d785ba4f1 Mon Sep 17 00:00:00 2001 From: Bappi Date: Wed, 26 Apr 2017 12:52:10 +0600 Subject: [PATCH 07/16] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 336ce592..b38ed84e 100644 --- a/readme.md +++ b/readme.md @@ -9,7 +9,7 @@ ## About Laravel -Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as: +Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as: - [Simple, fast routing engine](https://laravel.com/docs/routing). - [Powerful dependency injection container](https://laravel.com/docs/container). From 5e538feb67023f229d7e2478eb461f6a667d7036 Mon Sep 17 00:00:00 2001 From: Bappi Date: Wed, 26 Apr 2017 15:20:46 +0600 Subject: [PATCH 08/16] doctype uppercase to lowercase no harm, only benefits --- resources/views/welcome.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index 44b7e721..cbb9ce86 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -1,4 +1,4 @@ - + From b9c635350192c760e6c33b85a22664e77839be9c Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 26 Apr 2017 09:02:59 -0500 Subject: [PATCH 09/16] add sponsor --- readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.md b/readme.md index b38ed84e..b2c477cb 100644 --- a/readme.md +++ b/readme.md @@ -37,6 +37,7 @@ ## Laravel Sponsors - **[Styde](https://styde.net)** - **[Codecourse](https://www.codecourse.com)** - [Fragrantica](https://www.fragrantica.com) +- [SOFTonSOFA](https://softonsofa.com/) ## Contributing From 720e4edce252110bc0e716309a6fc8266cac96ab Mon Sep 17 00:00:00 2001 From: Bappi Date: Wed, 26 Apr 2017 22:24:12 +0600 Subject: [PATCH 10/16] fix typo --- artisan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artisan b/artisan index df630d0d..44dc07b0 100755 --- a/artisan +++ b/artisan @@ -40,7 +40,7 @@ $status = $kernel->handle( | Shutdown The Application |-------------------------------------------------------------------------- | -| Once Artisan has finished running. We will fire off the shutdown events +| Once Artisan has finished running, we will fire off the shutdown events | so that any final work may be done by the application before we shut | down the process. This is the last thing to happen to the request. | From 1598e7cb70a05708676cca91fc2770c156aae951 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 27 Apr 2017 15:05:22 -0500 Subject: [PATCH 11/16] fix wording --- bootstrap/autoload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap/autoload.php b/bootstrap/autoload.php index 94adc997..c64e19fa 100644 --- a/bootstrap/autoload.php +++ b/bootstrap/autoload.php @@ -9,8 +9,8 @@ | | Composer provides a convenient, automatically generated class loader | for our application. We just need to utilize it! We'll require it -| into the script here so that we do not have to worry about the -| loading of any our classes "manually". Feels great to relax. +| into the script here so we do not have to manually load any of +| our application's PHP classes. It just feels great to relax. | */ From 86e4e204aa53bea967673acc4a1fb2f3ea911bc5 Mon Sep 17 00:00:00 2001 From: Laurence Ioannou Date: Fri, 28 Apr 2017 21:19:14 +0100 Subject: [PATCH 12/16] Update queue.php --- config/queue.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/config/queue.php b/config/queue.php index 86b55a62..4d83ebd0 100644 --- a/config/queue.php +++ b/config/queue.php @@ -17,19 +17,6 @@ 'default' => env('QUEUE_DRIVER', 'sync'), - /* - |-------------------------------------------------------------------------- - | Queue Prefix - |-------------------------------------------------------------------------- - | - | If you are running multiple sites on a single server you should consider - | specifying a queue prefix. This string will be prepended to the queue - | names to prevent cross-talk when using certain local queue drivers. - | - */ - - 'prefix' => env('QUEUE_PREFIX', ''), - /* |-------------------------------------------------------------------------- | Queue Connections From e26bd3ffb01f431935f207dc7a6fdcbd5600d6f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9lio?= Date: Wed, 3 May 2017 13:20:25 -0300 Subject: [PATCH 13/16] Add sqlsrv as group connection Since the doc says that the Laravel supports SQL Server out of the box, makes sense add it, out of the box. --- config/database.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/database.php b/config/database.php index a196943f..c84e3976 100644 --- a/config/database.php +++ b/config/database.php @@ -66,6 +66,16 @@ 'schema' => 'public', 'sslmode' => 'prefer', ], + + 'sqlsrv' => [ + 'driver' => 'sqlsrv', + 'host' => env('DB_HOST', 'localhost'), + 'database' => env('DB_DATABASE', 'forge'), + 'username' => env('DB_USERNAME', 'forge'), + 'password' => env('DB_PASSWORD', ''), + 'charset' => 'utf8', + 'prefix' => '', + ], ], From 94b39dc576a091f45d72e59c6ac479743f8f9546 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9lio?= Date: Wed, 3 May 2017 13:22:10 -0300 Subject: [PATCH 14/16] Fix the commit for pass StyleCI --- config/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/database.php b/config/database.php index c84e3976..2eef08e0 100644 --- a/config/database.php +++ b/config/database.php @@ -66,7 +66,7 @@ 'schema' => 'public', 'sslmode' => 'prefer', ], - + 'sqlsrv' => [ 'driver' => 'sqlsrv', 'host' => env('DB_HOST', 'localhost'), From bdca9d478115d21ef236cdf4d69802b5967437dd Mon Sep 17 00:00:00 2001 From: Frederik Sauer Date: Wed, 3 May 2017 23:55:48 +0200 Subject: [PATCH 15/16] Added port to sqlsrv settings Most installations won't work without it. --- config/database.php | 1 + 1 file changed, 1 insertion(+) diff --git a/config/database.php b/config/database.php index 2eef08e0..cab5d068 100644 --- a/config/database.php +++ b/config/database.php @@ -70,6 +70,7 @@ 'sqlsrv' => [ 'driver' => 'sqlsrv', 'host' => env('DB_HOST', 'localhost'), + 'port' => env('DB_PORT', '1433'), 'database' => env('DB_DATABASE', 'forge'), 'username' => env('DB_USERNAME', 'forge'), 'password' => env('DB_PASSWORD', ''), From ba5c29459800e384465c3e5d099df4af3d0598b8 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 4 May 2017 12:17:26 -0400 Subject: [PATCH 16/16] remove code course --- readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/readme.md b/readme.md index b2c477cb..2fd50b62 100644 --- a/readme.md +++ b/readme.md @@ -35,7 +35,6 @@ ## Laravel Sponsors - **[Tighten Co.](https://tighten.co)** - **[British Software Development](https://www.britishsoftware.co)** - **[Styde](https://styde.net)** -- **[Codecourse](https://www.codecourse.com)** - [Fragrantica](https://www.fragrantica.com) - [SOFTonSOFA](https://softonsofa.com/)