Commit Graph

7045 Commits

Author SHA1 Message Date
Craig Morris
4c94086856 switch to extends 2022-01-21 12:21:38 +00:00
Craig Morris
7bff7c6c61 add type to UserFactory for generic parent class 2022-01-21 12:12:45 +00:00
Nuno Maduro
e92f1e9729 [9.x] Analysis routes files test coverage (#5771) 2022-01-20 09:55:58 -06:00
Nuno Maduro
0df17db8d9 Improves app's default aliases configuration file (#5769) 2022-01-17 13:28:59 -06:00
Jason McCreary
9b93e0d2d4 Use <env> element (#5765) 2022-01-15 09:05:53 -06:00
Graham Campbell
929571decd Bumped minimum guzzle version to match that of the framework suggest list (#5766) 2022-01-14 07:04:13 -06:00
Dries Vints
9b4e424d98 Add Ignition (#5764) 2022-01-13 08:48:35 -06:00
Dries Vints
726e0bb10f Merge pull request #5763 from laravel/revert-5762-master
Revert "[9.x] Add Ignition"
2022-01-13 10:34:58 +01:00
Dries Vints
3701593e66 Revert "[9.x] Add Ignition" 2022-01-13 10:34:51 +01:00
Dries Vints
9c182f861d Merge pull request #5762 from freekmurze/master
[9.x] Add Ignition
2022-01-13 10:28:37 +01:00
Freek Van der Herten
70a8b4a108 Update composer.json 2022-01-12 23:47:13 +01:00
Dries Vints
b58d346ba9 Update composer.json (#5761) 2022-01-12 09:51:03 -06:00
Taylor Otwell
8d08717f15 Update README.md 2022-01-06 15:31:01 -06:00
Barry vd. Heuvel
6808b20560 Use latest version of laravel-cors (#5758) 2022-01-03 09:02:45 -06:00
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