Commit Graph

6631 Commits

Author SHA1 Message Date
Reza Amini 409992eed0
[9.x] Make .env.example sync with new changes (#5757)
In this PR #5568  the key has been changed!
2022-01-02 12:19:56 -06:00
Dries Vints 2b7464fad4
Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
#	composer.json
2021-12-22 11:09:09 +01:00
Dries Vints 56a73db2e3
Update CHANGELOG.md 2021-12-22 11:07:28 +01:00
Nuno Maduro 013b17793d
[9.x] Removes Core Class Aliases from the skeleton (#5751)
* Removes Core Class Aliases from the skeleton

* Updates configuration file

* use array merge

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-12-20 13:48:17 -06:00
Bilal Al-Massry f79296dcd5
Add mac_address validation message (#5754) 2021-12-20 09:12:28 -06:00
Dries Vints 1ea351916e
Update validation.php (#5753) 2021-12-17 08:40:10 -06:00
Zeros Developer 472d31e5f2
Simplify the maintenance file call (#5752)
* Simplify the maintenance file call

* Update index.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-12-16 09:06:59 -06:00
Dries Vints e999e1d07c
Update composer.json (#5750) 2021-12-15 07:49:21 -06:00
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