Commit Graph

569 Commits

Author SHA1 Message Date
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 efd49c6b94.
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
Julius Kiekbusch
0d939c9ebf Remove auth_mode from config/mail.php (#5688) 2021-09-20 09:03:10 -05:00
Dries Vints
ec9ff4cd68 Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
2021-08-24 18:00:23 +02:00
Taylor Otwell
52de5d84f6 wip 2021-08-20 07:59:36 -05:00
Dries Vints
c512ba2b16 Update app.php (#5674) 2021-08-19 09:03:02 -05:00
Dwight Watson
3399464a74 Add failover driver to default mail config file (#5672)
* Add failover driver to default mail config file

* Remove empty spaces
2021-08-18 08:14:34 -05:00
Dries Vints
018bb3c157 Merge branch '8.x'
# Conflicts:
#	composer.json
2021-08-12 15:39:10 +02:00
Taylor Otwell
226d1bfc3c [8.x] Sanctum (#5663)
* initial sanctum poc

* add files

* remove token
2021-08-11 13:44:34 -05:00
Dries Vints
77086029af Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
2021-07-13 16:12:52 +02:00
Claas Augner
c636fd0f67 add RateLimiter facade alias (#5642) 2021-07-10 10:23:22 -05:00
Dries Vints
92cd828c64 Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
2021-06-01 17:49:55 +02:00
Taylor Otwell
c5d38d469a update skeleton for filesystem tweaks to make sail usage easier 2021-05-18 17:01:26 -05:00
Dries Vints
507d499577 Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
2021-05-18 17:38:28 +02:00
Hiren Keraliya
d3efbaab58 [8.x] Fixed grammar mistake (#5611)
* Grammar mistakes

* Update session.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-05-17 08:15:26 -05:00
Taylor Otwell
637c85d624 wip 2021-05-14 10:09:46 -05:00
Seyed Morteza Ebadi
3131f789ae Add Octane cache store (#5610) 2021-05-14 10:09:09 -05:00
Reza Amini
2b4d7c8799 [9.x] Change default disk env key (#5568) 2021-03-19 09:03:08 -05:00
Jesper Noordsij
177e05beec Add log level config value to stderr channel (#5558) 2021-03-10 08:52:57 -06:00
Tim MacDonald
89b15441a9 add date facade alias (#5556) 2021-03-10 08:13:17 -06:00
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
Karel Faille
2b8f3aa506 Use same default queue name for all drivers (#5549) 2021-03-02 13:35:52 -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