Commit Graph

6465 Commits

Author SHA1 Message Date
Brandon Surowiec
5cfd28df2d Add missing 'after_commit' attribute (#5554)
There's a new `after_commit` config option that isn't in the default config: 
https://laravel.com/docs/8.x/queues#jobs-and-database-transactions

For new projects it may be better to have these defaulted to `true`, but I left it as `false` for now.
2021-03-09 08:51:56 -06:00
Tim MacDonald
c988335502 Standarise "must" and "may" language in validation (#5552)
Majority of the messages are in the format ":attribute must
{conditions_to_be_met}", however a few inconsistently use "may" instead
of "must".

This PR fixes that and has them all use "must" instead.

To highlight the inconsistency:

```php
// "may"
'max' => [
    'numeric' => 'The :attribute may not be greater than :max.',
    'file' => 'The :attribute may not be greater than :max kilobytes.',
    'string' => 'The :attribute may not be greater than :max characters.',
    'array' => 'The :attribute may not have more than :max items.',
],
// "must"
'min' => [
    'numeric' => 'The :attribute must be at least :min.',
    'file' => 'The :attribute must be at least :min kilobytes.',
    'string' => 'The :attribute must be at least :min characters.',
    'array' => 'The :attribute must have at least :min items.',
],
```
2021-03-09 07:23:56 -06:00
Karel Faille
2b8f3aa506 Use same default queue name for all drivers (#5549) 2021-03-02 13:35:52 -06:00
Dries Vints
20455c6f5f Update CHANGELOG.md 2021-03-02 17:36:09 +01:00
Rodrigo Pedra Brum
03be0afb44 Don't trim current_password (#5546)
Inspired by https://github.com/laravel/framework/pull/36415

As JetStream/Fortify uses a `current_password` field when allowing a user to change their password, and as JetStream is one of the starter kits listed on the docs, this PR adds `current_password` in the `$except` option of the `TrimStrings` middleware.
2021-03-01 07:38:37 -06:00
Martin Eiber
16f531e646 [8.x] Added sans-serif as Fallback Font (#5543)
* Added sans-serif as Fallback Font

Added sans-serif as Fallback Font to the Welcome Page

* Update welcome.blade.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-02-26 07:19:45 -06:00
Dries Vints
06d967a4c7 Update CHANGELOG.md 2021-02-23 21:43:02 +01:00
Hugo Clarke-Wing
f0de9fd996 Don't flash 'current_password' input (#5541)
* Don't flash `current_password` input

With starter packs like Jetstream, the `current_password` input is used.

I believe that adding `current_password` to the `$dontFlash` list by default would help to ensure new projects follow security best practices from the get-go.

* Update Handler.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-02-19 09:09:51 -06:00
Taylor Otwell
ebf2646c34 wip 2021-02-16 10:58:35 -06:00
Dries Vints
689c0e5a23 Update CHANGELOG.md 2021-02-16 17:57:31 +01:00
Taylor Otwell
698a61d025 Merge branch '8.x' of github.com:laravel/laravel into 8.x 2021-02-16 08:02:15 -06:00
Taylor Otwell
9a56a60cc9 update wording 2021-02-16 08:02:06 -06:00
Taylor Otwell
22626b5701 Revert "Change "Login" text to "Log in" (#5536)" (#5537)
This reverts commit cbddb27c7e.
2021-02-15 15:06:50 -06:00
Mark Jaquith
cbddb27c7e Change "Login" text to "Log in" (#5536)
As this is used as a verb, like its friend "Register", the verb form should be used.

http://notaverb.com/login
2021-02-15 15:06:24 -06:00
Jared Lewis
eaf7289523 Add unverified state to UserFactory (#5533) 2021-02-09 14:52:23 -06:00
Khaled
6d082c81e5 add "ably" in comment as a broadcast connection (#5531)
'ably' was added in the connections array, but the comment was not updated to reflect this fact.
2021-02-06 18:35:22 -06:00
Govar Jabar
c1b56831df update web.config (#5528) 2021-01-29 07:57:50 -06:00
Dries Vints
a96fe93207 Update CHANGELOG.md 2021-01-19 16:20:53 +01:00
Dries Vints
b580fc1ef2 Delete docker-compose.yml (#5522) 2021-01-15 10:24:56 -06:00
Kacper Ziubryniewicz
21c0aed802 Add a missing dot in translations (#5520) 2021-01-14 16:27:55 -06:00
Taylor Otwell
5dd08043a3 wip 2021-01-12 14:02:00 -06:00
Gemma Black
ea7de4f5a9 Hide .env.bak as well as .env.backup in .gitignore (#5515) 2021-01-12 12:51:19 -06:00
Dries Vints
cdd79ce5cf Update CHANGELOG.md 2021-01-12 18:39:43 +01:00
Dries Vints
f97e551071 Update TrustProxies.php (#5514) 2021-01-12 11:18:35 -06:00
Dries Vints
f9f39ee7ac Update CHANGELOG.md 2021-01-05 16:48:16 +01:00
RobTables
4de728e78c Update to package.json - Axios Version
Security Vulnerability: https://www.npmjs.com/advisories/1594
2021-01-05 10:16:40 +01:00
Jeffrey Way
eeb91d4546 Upgrade to Mix v6 (#5505)
* Upgrade to Mix v6

* Remove cross-env
2021-01-04 08:44:16 -06:00
Ustych Maksym
947df2ac74 Update sail package in the composer.json (#5507) 2021-01-01 12:35:59 -06:00
Dries Vints
454f0e1abe Update CHANGELOG.md 2020-12-22 18:07:44 +01:00
Taylor Otwell
e8788a7688 update cache 2020-12-16 15:51:26 -06:00
Taylor Otwell
bc339f7123 add lock_connection 2020-12-16 15:51:26 -06:00
Dries Vints
0059fb91be Update CHANGELOG.md 2020-12-15 14:17:57 +01:00
Taylor Otwell
3b2ed46e65 update variables 2020-12-12 08:47:22 -06:00
Taylor Otwell
ddb26fbc50 update env vars 2020-12-10 09:26:28 -06:00
Attila Szeremi
03ecf00f7a Gitignore docker-compose.override.yml (#5487)
Docker allows for you to override parts of `docker-compose.yml` locally with the help of a `docker-compose.override.yml` file: https://docs.docker.com/compose/extends/#understanding-multiple-compose-files

I propose to have this file ignored by default for new projects, similarly to how `.env` is ignored to be able to override default configuration (locally).

Example use case: Someone might want to use Laravel Sail, but would have multiple Laravel projects running in MySQL and would like to run a single MySQL server for each project and have a way to be able to override docker-compose to make that happen. Or maybe just in general they want to add a new service that they want to run only for themselves, and not for colleagues.
2020-12-10 07:32:49 -06:00
Taylor Otwell
b7cde8b495 comment trust hosts 2020-12-10 07:14:14 -06:00
Taylor Otwell
d80ff4d576 add sponsor 2020-12-09 08:32:27 -06:00
Taylor Otwell
17668beabe add sail 2020-12-08 09:51:48 -06:00
Taylor Otwell
34368a4fab revert change 2020-12-08 09:45:05 -06:00
Taylor Otwell
bcd87e80ac add sail file 2020-12-08 09:38:54 -06:00
Taylor Otwell
ad8210f3bb Merge branch '8.x' of github.com:laravel/laravel into 8.x 2020-12-08 09:06:00 -06:00
Taylor Otwell
a895748980 update env file for sail 2020-12-08 09:04:09 -06:00
Dries Vints
0717bb0291 Update CHANGELOG.md 2020-12-01 16:21:29 +01:00
Daniel Coulbourne
f6f772ba54 Uncomment TrustHosts middleware to enable it by default. (#5477) 2020-11-26 08:38:56 -06:00
Taylor Otwell
82213fbf40 remove cloud option 2020-11-25 10:24:16 -06:00
Taylor Otwell
d218676d4c Merge branch '8.x' of github.com:laravel/laravel into 8.x 2020-11-24 16:10:45 -06:00
Taylor Otwell
612d166004 comment out alias by default 2020-11-24 16:10:36 -06:00
Dries Vints
86b1b3f20a Update CHANGELOG.md 2020-11-24 18:18:56 +01:00
Paras Malhotra
3c814aa8e2 [8.x] Add missing null cache driver in config/cache.php (#5472) 2020-11-18 07:45:08 -06:00
Taylor Otwell
5182e9c6de add ably entry 2020-11-17 17:07:32 -06:00