Commit Graph

585 Commits

Author SHA1 Message Date
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 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 `null`s (#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
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
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
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
Iman 3adc2196f7
Modify the cache.php docblocks (#5468)
In new versions of laravel we do not directly specify the "cache driver" anymore but rather a "cache store", so it does not make sense to mention the drivers up there since laravel supports any arbitrary values defined below it by the user.
2020-11-12 07:55:54 -06:00
Taylor Otwell aa6d366011 add sanctum cookie endpoint to default cors paths 2020-11-10 14:18:52 -06:00
Norgul f12fd98414
Update logging.php (#5442)
Added `LOG_LEVEL` env variable
2020-10-05 15:11:23 -05:00
Taylor Otwell 710d472d76 models directory 2020-08-20 15:31:07 -05:00
Taylor Otwell d6eda444a7 update defaults 2020-08-19 09:32:54 -05:00
Taylor Otwell c10489131e fix formatting 2020-05-18 10:47:20 -05:00
fragkp 0f133c1e8e
set default auth_mode for smtp mail driver (#5293)
Co-authored-by: KP <pohl@new-data-services.de>
2020-05-01 09:35:51 -05:00
Dries Vints e2c9261c2d
Merge branch '6.x' 2020-04-09 16:56:58 +02:00
Dries Vints 73f723a2f4
Add both endpoint and url env variables (#5276) 2020-04-09 09:54:25 -05:00
Taylor Otwell 2a2522d882 fix wording 2020-03-29 10:38:33 -05:00
Graham Campbell 6628b7a1b4 Merge branch '6.x' 2020-03-24 13:55:12 +00:00
Jacob Honoré b7b6e35bf8
Fix s3 endpoint url reference (#5267) 2020-03-24 08:11:36 -05:00
Markus Podar d82bf9768b
[7.x] Allow configuring the timeout for the smtp driver (#5262)
* Allow configuring the timeout for the smtp driver

The default is the same as in `\Swift_Transport_EsmtpTransport::$params`

* Corrected default

* Update mail.php

Co-authored-by: Graham Campbell <GrahamCampbell@users.noreply.github.com>
Co-authored-by: Taylor Otwell <taylor@laravel.com>
2020-03-15 11:25:50 -05:00
Mathieu TUDISCO f93f4ad8bf
Fix session config changes (#5261)
* Fix session config changes

* Update session.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2020-03-13 14:53:56 -05:00
Barry vd. Heuvel 166abfa35c
Update default CORS config (#5259) 2020-03-11 15:08:52 -05:00
Roberto Aguilar b0ce2adc42
Add new SQS queue suffix option (#5252)
As described in laravel/framework#31784, this option will allow to
define a queue name suffix.
2020-03-06 15:16:30 -06:00
Taylor Otwell 641fcfb60a remove config entry 2020-03-06 07:57:18 -06:00
Graham Campbell 36373983ad Merge branch '6.x' 2020-03-06 11:48:34 +00:00
Graham Campbell 5ddbfb8454
Ensure that app.debug is a bool 2020-03-06 11:47:59 +00:00
Mark van den Broek efcf74f422
[7.x] Add Mailgun and Postmark mailer (#5243)
* Add Mailgun and Postmark mailer

* Formatting

* Update mail.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2020-03-04 08:05:25 -06:00
Benedikt Franke c9cf57a00c
Add serialize option to array cache config (#5244)
This documents the new configuration option from https://github.com/laravel/framework/pull/31295
2020-03-04 08:04:39 -06:00
Maxime Willinger 672f626da1
Add array mailer (#5240) 2020-03-02 10:52:06 -06:00
Dries Vints 88a763e36f
Update app.php (#5237) 2020-02-27 09:21:15 -06:00
Taylor Otwell 2c4fa1ab28 formatting 2020-02-05 16:46:09 -06:00
Andrew Brown d7f67f631d
styling 2020-02-05 10:48:51 -06:00
Andrew Brown 153746c2c1
add `links` option to filesystems config
https://github.com/laravel/framework/pull/31355
2020-02-05 10:33:45 -06:00
Taylor Otwell 91dd1f61cd formatting 2020-01-24 07:49:20 -06:00