From 0f133c1e8eff44d765a40fc1934172e7bf046e56 Mon Sep 17 00:00:00 2001 From: fragkp Date: Fri, 1 May 2020 16:35:51 +0200 Subject: [PATCH 1/9] set default auth_mode for smtp mail driver (#5293) Co-authored-by: KP --- config/mail.php | 1 + 1 file changed, 1 insertion(+) diff --git a/config/mail.php b/config/mail.php index 5201bb76f..54299aabf 100644 --- a/config/mail.php +++ b/config/mail.php @@ -42,6 +42,7 @@ return [ 'username' => env('MAIL_USERNAME'), 'password' => env('MAIL_PASSWORD'), 'timeout' => null, + 'auth_mode' => null, ], 'ses' => [ From 7d62f500a789416738a7181d5217d33ca096db04 Mon Sep 17 00:00:00 2001 From: feek <5747667+mr-feek@users.noreply.github.com> Date: Mon, 4 May 2020 06:31:39 -0700 Subject: [PATCH 2/9] chore: update typehint to be nullable (#5296) By default, this property is null. Therefore, it should be marked as nullable --- app/Http/Middleware/TrustProxies.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php index ee5b5958e..14befceb0 100644 --- a/app/Http/Middleware/TrustProxies.php +++ b/app/Http/Middleware/TrustProxies.php @@ -10,7 +10,7 @@ class TrustProxies extends Middleware /** * The trusted proxies for this application. * - * @var array|string + * @var array|string|null */ protected $proxies; From 7b0b5d8310143269d8de50442499b77187f8ee5a Mon Sep 17 00:00:00 2001 From: Ryan England Date: Thu, 14 May 2020 14:50:14 +0100 Subject: [PATCH 3/9] Update sponsor link (#5302) British Software Development have rebranded to Many, link and link text updated accordingly. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e4bc97ee0..3cae01ea2 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ We would like to extend our thanks to the following sponsors for funding Laravel - **[64 Robots](https://64robots.com)** - **[Cubet Techno Labs](https://cubettech.com)** - **[Cyber-Duck](https://cyber-duck.co.uk)** -- **[British Software Development](https://www.britishsoftware.co)** +- **[Many](https://www.many.co.uk)** - **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)** - **[DevSquad](https://devsquad.com)** - [UserInsights](https://userinsights.com) From c10489131ef28ecd46529e37b558ae93a20e3fb8 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 18 May 2020 10:47:20 -0500 Subject: [PATCH 4/9] fix formatting --- config/session.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/session.php b/config/session.php index da692f3b8..4e0f66cda 100644 --- a/config/session.php +++ b/config/session.php @@ -92,10 +92,12 @@ return [ | Session Cache Store |-------------------------------------------------------------------------- | - | When using the "apc", "memcached", or "dynamodb" session drivers you may + | While using one of the framework's cache driven session backends you may | list a cache store that should be used for these sessions. This value | must match with one of the application's configured cache "stores". | + | Affects: "apc", "dynamodb", "memcached", "redis" + | */ 'store' => env('SESSION_STORE', null), From 5639581ea56ecd556cdf6e6edc37ce5795740fd7 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 18 May 2020 16:50:22 -0500 Subject: [PATCH 5/9] add basic trust host middleware --- app/Http/Kernel.php | 1 + app/Http/Middleware/TrustHosts.php | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 app/Http/Middleware/TrustHosts.php diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index c3640f30b..36ced134a 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -14,6 +14,7 @@ class Kernel extends HttpKernel * @var array */ protected $middleware = [ + // \App\Http\Middleware\TrustHosts::class, \App\Http\Middleware\TrustProxies::class, \Fruitcake\Cors\HandleCors::class, \App\Http\Middleware\CheckForMaintenanceMode::class, diff --git a/app/Http/Middleware/TrustHosts.php b/app/Http/Middleware/TrustHosts.php new file mode 100644 index 000000000..b0550cfc7 --- /dev/null +++ b/app/Http/Middleware/TrustHosts.php @@ -0,0 +1,20 @@ +allSubdomainsOfApplicationUrl(), + ]; + } +} From 9e5ba571a60a57ca2c3938bc5bd81d222cb6e618 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 28 May 2020 10:08:01 -0500 Subject: [PATCH 6/9] add password reset migration --- ...12_100000_create_password_resets_table.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2014_10_12_100000_create_password_resets_table.php diff --git a/database/migrations/2014_10_12_100000_create_password_resets_table.php b/database/migrations/2014_10_12_100000_create_password_resets_table.php new file mode 100644 index 000000000..0ee0a36a4 --- /dev/null +++ b/database/migrations/2014_10_12_100000_create_password_resets_table.php @@ -0,0 +1,32 @@ +string('email')->index(); + $table->string('token'); + $table->timestamp('created_at')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('password_resets'); + } +} From 6e5f40939ce15d731276b2ad6e5fd08057faa79a Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 3 Jun 2020 08:30:51 -0500 Subject: [PATCH 7/9] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3cae01ea2..59fc5b34d 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,8 @@ If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Lar We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell). +### Premium Partners + - **[Vehikl](https://vehikl.com/)** - **[Tighten Co.](https://tighten.co)** - **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** @@ -40,6 +42,11 @@ We would like to extend our thanks to the following sponsors for funding Laravel - **[Many](https://www.many.co.uk)** - **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)** - **[DevSquad](https://devsquad.com)** + +### Community Sponsors + + + - [UserInsights](https://userinsights.com) - [Fragrantica](https://www.fragrantica.com) - [SOFTonSOFA](https://softonsofa.com/) @@ -59,7 +66,6 @@ We would like to extend our thanks to the following sponsors for funding Laravel - [Abdel Elrafa](https://abdelelrafa.com) - [Hyper Host](https://hyper.host) - [Appoly](https://www.appoly.co.uk) -- [OP.GG](https://op.gg) - [云软科技](http://www.yunruan.ltd/) ## Contributing From 2f33300abe3684a42acd2d9dce35569e988d9c13 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Fri, 12 Jun 2020 08:50:58 +0200 Subject: [PATCH 8/9] Bump fruitcake/laravel-cors --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4e81d21ae..efa91c767 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "require": { "php": "^7.2.5", "fideloper/proxy": "^4.2", - "fruitcake/laravel-cors": "^1.0", + "fruitcake/laravel-cors": "^2.0", "guzzlehttp/guzzle": "^6.3", "laravel/framework": "^7.0", "laravel/tinker": "^2.0" From 311c3f823a6f09df5e9b882906456e9caa02132c Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 12 Jun 2020 09:35:55 -0500 Subject: [PATCH 9/9] tweak phpunit.xml --- phpunit.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index 964ff0c57..76f224629 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -21,8 +21,8 @@ - - + +