Commit Graph

6923 Commits

Author SHA1 Message Date
Nuno Maduro
583281c409 Removes server.php file (#5747) 2021-12-14 07:55:22 -06:00
Nuno Maduro
2a88c174b6 Imports without model events trait on seeds (#5745) 2021-12-10 07:16:58 -06:00
underwood
4bc502bba6 Delete web.config (#5744)
During a security audit one of the few recommendations they made was to remove or limit access to web.config.

Since this is mainly used by Microsoft IIS server it isn't necessary for most Laravel projects and could be added if someone is using Microsoft server.
2021-12-09 16:09:19 -06:00
rennokki
c97ba79ab3 [9.x] Add client_options to Pusher driver (#5743)
* Add client_options to Pusher driver

* Update broadcasting.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-12-08 07:58:10 -06:00
Dries Vints
274d1bdd72 Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
2021-12-07 17:10:58 +01:00
Dries Vints
7e78e26c7c Update CHANGELOG.md 2021-12-07 17:10:22 +01:00
Rob Lister
68a0dbed64 [8.x] Add option to set sendmail path. Fix default (#5741)
* Add option to set sendmail path. Fix default

Testing this in an application, it would seem that sendmail -bs is the wrong option for this case?

What Laravel appears to do is pipe an RFC-2822 formatted message on STDIN and requires the sendmail emulation to deal with it,
rather than -bs which initiates an SMTP session.

if Exim is the default MTA then -t would seem to be the correct option.

If you have an alternative installed instead of sendmail/exim, then there's no way to set the path, so I added MAIL_SENDMAIL_PATH
so you can do, e.g.:

MAIL_SENDMAIL_PATH="/usr/bin/msmtp -t --tls=off --from=${MAIL_FROM_ADDRESS} --auto-from=off"

msmtp doesn't support -bs at all

* Update mail.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-12-06 08:24:41 -06:00
Nuno Maduro
8a62ca2633 Improves generic types on the skeleton (#5740) 2021-12-03 09:04:57 -06:00
Bram
7bf32280e2 [8.x] Add types to arrays in boilerplate (#5738)
* Add more specific types

* Update Authenticate.php

* Update Authenticate.php
2021-12-02 14:40:24 -06:00
Micheal Mand
e35899f0aa Fix asset publishing if they were already published (#5734)
Thank you @sebdesign for the fix.
2021-11-24 20:07:41 -06:00
Dries Vints
fcb4d9df1a Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
2021-11-23 18:31:32 +01:00
Dries Vints
901879dd68 Update CHANGELOG.md 2021-11-23 18:31:14 +01:00
Dries Vints
0eb4a40eb3 Update CHANGELOG.md 2021-11-23 18:30:45 +01:00
N'Bayramberdiyev
3de91bca75 sort validation rules alphabetically (#5728) 2021-11-19 07:51:42 -06:00
Nuno Maduro
33ceba78ba Removes the commands property (#5727) 2021-11-18 10:18:32 -06:00
Dries Vints
21c3ef96f4 Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
2021-11-16 17:50:11 +01:00
Dries Vints
f8ff35e070 Update CHANGELOG.md 2021-11-16 17:49:31 +01:00
Ben Johnson
195a7e0374 Replace schema with search_path in pgsql config (#5726)
Per https://github.com/laravel/framework/pull/35588 , the term "schema" (a namespace) has been corrected to "search_path" (a list of namespaces), where appropriate, throughout the framework.

Accordingly, the `schema` configuration key should be changed to `search_path` to better reflect the fact that it may specify a _list_ of schemata (schemas), and not just a single schema. (In several Laravel versions prior to 9.0, the `schema` key could already specify more than one schema, but this fact was undocumented and non-obvious without examining the implementation carefully.)

As of Laravel 9.0, the `search_path` may specify any number of schemata, in any of the following formats:

'search_path' => 'public',
'search_path' => 'public,laravel',
'search_path' => ['public', '"laravel"', "'foobar'", '$bat'],
'search_path' => '\'public\', "laravel", "\'foobar\'", \'$bat\'',
'search_path' => '"$user", public',

Note that in the last example, the `$user` variable refers to PostgreSQL's special $user variable, as described in the Schema Documentation ( https://www.postgresql.org/docs/current/ddl-schemas.html ).

Note also that Laravel's default `search_path` value, 'public', is not necessarily the best choice for every use case. Developers should consult the "Usage Patterns" section of the aforementioned documentation before deciding how best to set the `search_path`, as it has security implications.
2021-11-16 08:26:41 -06:00
Rahul Dey
2079d34cfc Update sanctum.php (#5725) 2021-11-15 15:10:04 -06:00
Nicklas Kevin Frank
c112d149c4 Added declined and declined_if validation rules (#5723) 2021-11-11 08:20:34 -06:00
Dries Vints
aa71b038b4 Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
2021-11-09 18:29:57 +01:00
Dries Vints
bad350d199 Update CHANGELOG.md 2021-11-09 18:29:24 +01:00
Taylor Otwell
399d435c4f add facade 2021-11-09 09:56:25 -06:00
Braden Keith
79249c920b Added Romega Software to Sponsorships (#5721) 2021-11-05 09:45:57 -05:00
Adam Mospan
ca8e5d65da Remove redundant tap() helper in index.php (#5719) 2021-11-05 08:00:12 -05:00
Dries Vints
d54907c27d Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
#	composer.json
2021-10-26 17:22:00 +02:00
Dries Vints
5d22b2464c Update CHANGELOG.md 2021-10-26 17:20:51 +02:00
Can Vural
1542783002 PHPDoc types should be covariant with the parent type (#5714) 2021-10-25 13:16:13 -05:00
Nuno Maduro
9915831d22 Guess database factory model by default (#5713) 2021-10-22 13:11:06 -05:00
Dries Vints
8f63479d44 Update CHANGELOG.md 2021-10-20 15:15:52 +02:00
Taylor Otwell
bf2a67c6a2 wip 2021-10-19 10:20:48 -05:00
Nuno Maduro
1980ca13ea [8.x] Logs deprecations instead of treating them as exceptions (#5711)
* Logs deprecations instead of treating them as exceptions

* formatting

Co-authored-by: Taylor Otwell <taylorotwell@gmail.com>
2021-10-19 08:42:24 -05:00
Taylor Otwell
1117ebd8aa added password translation rules 2021-10-14 14:45:08 -05:00
Mohamed ELIDRISSI
196a27593b Remove additional } from welcome view inline css (#5702) 2021-10-11 08:58:39 -05:00
Dries Vints
ab2b606124 Temporarily remove tinker from master
Until 2c061f5bd1 has been re-introduced.
2021-10-11 11:06:14 +02:00
Dries Vints
e124d6d98d Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
#	composer.json
2021-10-05 20:42:43 +02:00
Dries Vints
a3b76dbeb7 Update CHANGELOG.md 2021-10-05 20:40:50 +02:00
Taylor Otwell
6a68092228 Revert "Uses LazilyRefreshDatabase by default (#5696)" (#5700)
This reverts commit 4578193d52.
2021-10-05 09:23:35 -05:00
Taylor Otwell
7156a27cdb move lang directory 2021-10-02 11:19:50 -05:00
Taylor Otwell
bdcb9681a6 fix conflicts 2021-10-02 10:47:56 -05:00
Alex Elkins
78e1d56c42 Update validation.php (#5699)
modify the grammar for lte and gte validation to have a parallel structure
2021-09-29 15:29:27 -05:00
Markus Machatschek
2c644455da Use anonymous migration for personal_access_tokens table (#5698)
* Use new migration class name style for personal_access_tokens table

* Update 2019_12_14_000001_create_personal_access_tokens_table.php
2021-09-29 09:44:21 -05:00
Nuno Maduro
4578193d52 Uses LazilyRefreshDatabase by default (#5696) 2021-09-29 08:20:24 -05:00
Nuno Maduro
ef9d0e4c78 Ensures downloaded version of Collision supports PHP 8.1 (#5697)
Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-09-29 08:17:58 -05:00
Dries Vints
aa9cb884d2 Bump Mockery and PHPUnit 2021-09-29 11:51:32 +02:00
JuanDMeGon
5f7395b289 Keeping access tokens migration id consistent (#5691)
This is just a tiny "fix," using id(); to be consistent with the other migrations already included in the framework.
2021-09-28 08:03:31 -05:00
Surajit Basak
1e5b9989c3 [8.x] Add failover in supported mail configurations comment section (#5692)
Co-authored-by: Surajit Basak <surajit@adrobit.com>
2021-09-28 07:59:24 -05:00
Julius Kiekbusch
0d939c9ebf Remove auth_mode from config/mail.php (#5688) 2021-09-20 09:03:10 -05:00
Dries Vints
a6d1019bcf Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
2021-09-07 16:34:35 +02:00
Dries Vints
4f8a0f35fa Update CHANGELOG.md 2021-09-07 16:33:40 +02:00