590 Commits

Author SHA1 Message Date
Ankur Kumar
a1ef009415
add ses-v2 mailer in config (#6112) 2023-02-17 08:38:29 -06:00
Jonathan Goode
c909b037ae
Missing comma (#6111) 2023-02-17 08:47:16 +01:00
Taylor Otwell
9c4cef107f note ses-v2 2023-02-14 13:04:45 -06:00
Taylor Otwell
f48a46bf20 Merge branch '9.x' into 10.x 2023-02-14 09:17:09 -06:00
Arne_
5b60b604c4
[9.x] Adds clarification to throttle auth setting (#6096)
* adds clarification to throttle auth setting

* Update auth.php

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2023-02-12 14:06:25 -06:00
Tim MacDonald
5eb99fcae6
sets ASSET_URL to use / as the default value (#6089) 2023-02-06 09:07:12 -06:00
Taylor Otwell
e0a5b0efba document new options 2023-01-31 09:00:17 -06:00
Taylor Otwell
a28ad2966d rename password reset tokens table in skeleton 2023-01-30 16:53:14 -06:00
Bùi Thế Hạnh
5daa02c70b
Shorten pusher host config (#6009)
* Shorten pusher host config

* Update broadcasting.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2022-10-11 08:43:53 -05:00
rennokki
d694bc06cc
[9.x] Added support for easy development configuration in bootstrap.js (#5900)
* Added support for easy development configuration in bootstrap.js

* Added extra variables for existing configuration in broadcasting

* Update bootstrap.js

* Setting default for empty variable

* Update .env.example

* Update .env.example

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2022-06-24 13:35:29 -05:00
Oanh Nguyen
93cc51ed00
[9.x] Improve Pusher configuration for easy development (#5897)
* Improve Pusher configuration for easy development

* Fix style-ci
2022-06-07 10:03:59 -05:00
Bram in 't Zandt
14b6505bba
Update mail.php (#5877)
Add `local_domain` as an option to the smtp configuration. This can be used to change the domain that is used to send the `EHLO` command during the SMTP handshake.

`null` is a sensible default since Symfony/Mailer will use it's own default (`127.0.0.1`) to send the mail.

Co-authored-by: Bram in 't Zandt <bram@bigspark.com>
2022-05-04 09:05:31 -05:00
Dries Vints
62cb9052cd
Update logging.php (#5874) 2022-05-03 09:31:17 -05:00
Bruno Tomé
9d39835571
[9.x] Add missing maintenance to config (#5868)
* [9.x] Add missing maintenance to config

#40102

* fix spacing

* fix cache store for maintenance config

* formatting

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2022-04-20 15:29:25 -05:00
Taylor Otwell
d70eb3e1d1 wip 2022-04-05 20:53:46 -05:00
Taylor Otwell
f7b982ebdf add encryption configuration 2022-03-29 14:50:24 -05:00
neoteknic
8594815f5e
Add username in config to use with phpredis + ACL (#5851)
Linked to https://github.com/laravel/framework/pull/41683/commits
2022-03-25 10:38:42 -05:00
Jack Ellis
9ffc18aa42
The comment for cache key prefix needed an update (#5849)
* The comment for cache key prefix needed an update

* formatting

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2022-03-21 15:35:38 -07:00
Noboru Shiroiwa
d8f0e93c56
[9.x] Add an example to the class aliases (#5846)
* Add an example to the class aliases

* Update app.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2022-03-21 09:00:48 -07:00
Dries Vints
95fec9a3e8
Update mail.php (#5836) 2022-03-08 08:38:39 -06:00
Ankur Kumar
93395a3468
[9.x] add throw to filesystems config (#5835) 2022-03-06 10:30:51 -06:00
Jesper Noordsij
4ecd97bcf7
Add option to configure Mailgun transporter scheme (#5831) 2022-03-03 08:13:57 -06:00
Roy Shay
969ff64e02
Small typo fix in filesystems.php (#5827)
* Update filesystems.php

* Update filesystems.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2022-02-22 15:05:53 -06:00
suyar
871ff9e65f
[9.x] Update sanctum config file (#5820)
* Update sanctum config file

* Update composer.json

Co-authored-by: suyaqi <suyaqi@wy.net>
Co-authored-by: Dries Vints <dries@vints.io>
2022-02-17 09:16:40 -06:00
m4tlch
19f4e346d4
Add underscore to prefix in database cache key (#5817)
For Redis caching prefix with underscore : 
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),

but when cache stored in database, then the key is created "merged" with prefix, by this line:  'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'), for example, if "key" is a key for cache, then the result is: "laravel_cachekey", not a preferable "laravel_cache_key"
2022-02-15 09:09:29 -06:00
Taylor Otwell
f2b8023df3
Revert "Add Redis facade as comment in app.config (#5813)" (#5814)
This reverts commit efd49c6b94a575f3523f5809690314dc6d8bccf5.
2022-02-14 11:05:44 -06:00
Markus Machatschek
efd49c6b94
Add Redis facade as comment in app.config (#5813) 2022-02-14 11:05:17 -06:00
Felix Dorn
e077976680
[9.x] Remove redundant nulls (#5811)
* follow up of #5791

* Update app.php

Co-authored-by: Dries Vints <dries@vints.io>
2022-02-11 08:22:45 -06:00
Dries Vints
71efaae0a5
Merge branch '8.x' 2022-02-08 13:28:17 +01:00
Taylor Otwell
939b0ce9ba remove session key 2022-02-04 09:34:38 -06:00
Dries Vints
096638ea9a
Update the default Argon2 options 2022-02-03 16:06:00 +01:00
Anjorin Damilare
8819ee7097
[9.x]: remove redundant argument null since default parameter is null (#5791) 2022-02-02 08:41:54 -06:00
Taylor Otwell
d43dcb1c54
document json session serialization (#5787) 2022-02-01 11:42:34 -06:00
Taylor Otwell
5ae2f24a04 fix spacing 2022-02-01 08:43:03 -06:00
Beau Simensen
aed682e0de
[9.x] Make it easier to support Papertrail on Vapor out of the box (#5780)
* Make it easier to support Papertrail on Vapor

* Fixed style
2022-01-27 12:00:18 -06:00
Anjorin Damilare
b2dbbafab9
[9.x] remove null since default parameter is null (#5779) 2022-01-27 11:50:11 -06:00
Nuno Maduro
0df17db8d9
Improves app's default aliases configuration file (#5769) 2022-01-17 13:28:59 -06: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
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
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
Dries Vints
21c3ef96f4
Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
2021-11-16 17:50:11 +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
Dries Vints
aa71b038b4
Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
2021-11-09 18:29:57 +01:00
Taylor Otwell
399d435c4f add facade 2021-11-09 09:56:25 -06:00
Dries Vints
d54907c27d
Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
#	composer.json
2021-10-26 17:22:00 +02: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
bdcb9681a6 fix conflicts 2021-10-02 10:47:56 -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