Commit Graph

586 Commits

Author SHA1 Message Date
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
Taylor Otwell 550282b094 Merge branch 'check-compiled' of https://github.com/browner12/laravel into browner12-check-compiled 2020-01-24 07:46:08 -06:00
Andrew Brown 678901cc4d
update name 2020-01-23 10:40:45 -06:00
Andrew Brown 2fe113e606 add new `check_compiled` option 2020-01-23 10:27:12 -06:00
Dries Vints b1f35786eb
Merge branch 'master' into develop 2020-01-14 17:52:04 +01:00
Taylor Otwell 130b8c8bcb add ses 2020-01-08 17:16:33 -06:00
Taylor Otwell e43d4546a9 fix comment 2020-01-08 17:14:01 -06:00
Taylor Otwell 61ec16fe39 work on mail configuration file 2020-01-08 17:10:37 -06:00
Taylor Otwell 76d822768d update mail configuration file 2020-01-08 17:01:42 -06:00
Aimeos f44f065a2b
Use file session driver again 2020-01-08 12:44:53 +01:00
Graham Campbell 8af8af0cbf Merge branch 'master' into develop 2019-12-28 00:35:40 +00:00
Taylor Otwell 0bec06cd45 formatting 2019-12-27 08:56:53 -06:00
Barry vd. Heuvel c222f6d04f CS 2019-12-26 19:54:10 +01:00
Barry vd. Heuvel 860ec9f2a4 Use config instead of middleware property 2019-12-26 19:46:41 +01:00
Anton Komarev 195faa16cb Fix types consistency in database config (#5191) 2019-12-25 09:05:29 -06:00
Taylor Otwell f589a7e897 Merge branch 'master' into develop 2019-12-18 12:24:10 -06:00
Anton Komarev b2734a9c31 Add MAIL_FROM_ADDRESS & MAIL_FROM_NAME to .env file (#5180) 2019-12-18 11:17:32 -06:00
Andrew Minion c5f9126981 default email from name to app name (#5178) 2019-12-18 09:41:11 -06:00
Michael Stokoe 17f0ff2205 Updated config/logging.php (#5179)
This adds a default emergency logger path to the logging config file.
This change goes hand-in-hand with my changes found here:
7a03776bc8
2019-12-18 09:38:03 -06:00
Taylor Otwell dd93aca597 Merge branch 'master' of github.com:laravel/laravel 2019-12-13 22:43:22 -06:00
Taylor Otwell f48e2d500c change some default settings 2019-12-13 22:42:46 -06:00
Bert Heyman 136085bfd8 Add "none" to supported same site options in session config (#5174) 2019-12-13 08:18:09 -06:00
Graham Campbell 2913a55d87 [7.x] Switch to Symfony 5 (#5157)
* Update exception handler

* Explictly specify 'lax' same site config

* Use the null secure option for session cookies
2019-11-25 08:46:29 -06:00
Taylor Otwell ba2f2abe83 tweak formatting 2019-10-21 13:42:31 -05:00
Michael Chernyshev ace38c133f Security fix: Waiting before retrying password reset 2019-10-18 13:57:19 +03:00
Taylor Otwell d1f7a5a886 formatting 2019-10-08 07:27:05 -05:00
Taylor Otwell bc82317a02 Merge branch 'password-confirmation' of https://github.com/driesvints/laravel into driesvints-password-confirmation 2019-10-08 07:24:50 -05:00
Dries Vints ba3aae6c33
Implement password confirmation 2019-10-08 13:45:40 +02:00
Roger Vilà c70c986e58 [6.x] Add 'null' logging channel (#5106)
* Add 'none' logging channel

* Remove extra spaces

* Rename 'none' channel to 'null'

* Update logging.php
2019-09-13 14:47:34 -05:00
Graham Campbell 56157b9cd2 Revert "According to PHP Bug 78516 Argon2 requires at least 8KB (#5097)" (#5102)
This reverts commit 74d84e9371.
2019-09-11 14:10:18 +02:00
Patrick Heppler 74d84e9371 According to PHP Bug 78516 Argon2 requires at least 8KB (#5097)
https://bugs.php.net/bug.php?id=78516
Argon2 requires at least 8KB
On PHP 7.4 memory 1024 will throw:
password_hash(): Memory cost is outside of allowed memory range
2019-09-09 20:51:51 +02:00
Taylor Otwell 31394de4d7
Revert "Set argon defaults to prevent password_hash(): Memory cost is outside of allowed memory range on PHP 7.4 (#5094)" (#5095)
This reverts commit 86908e1eb4.
2019-09-07 02:18:51 +02:00
Patrick Heppler 86908e1eb4 Set argon defaults to prevent password_hash(): Memory cost is outside of allowed memory range on PHP 7.4 (#5094)
With the values 
````
'argon' => [
        'memory' => 1024,
        'threads' => 2,
        'time' => 2,
    ],
```
Hash::make() produces password_hash(): Memory cost is outside of allowed memory range on PHP 7.4
2019-09-06 14:16:32 +02:00
Taylor Otwell e6becd2ca3 add new failed driver option 2019-08-27 16:26:48 -05:00
Dries Vints 665dfc4328 [6.0] Use phpredis as default Redis client (#5085)
* Use phpredis as default Redis client

Follow up for https://github.com/laravel/framework/pull/29688

It's best that we already start using `phpredis` as a default to discourage usage of Predis.

* Update database.php
2019-08-22 08:22:14 -05:00
Taylor Otwell 051dea5941 formatting 2019-08-14 09:19:31 -05:00
Dries Vints c07809e224
Merge branch 'master' into develop
# Conflicts:
#	config/services.php
2019-08-14 13:49:52 +02:00
Taylor Otwell bb43372548 formatting 2019-08-13 15:05:56 -05:00
Dries Vints 83d2ecc0e9
Remove Stripe config settings
These now ship with a dedicated config file for Cashier.
2019-08-13 18:19:40 +02:00
Dries Vints 0dd31baf2a
Merge branch 'master' into develop 2019-07-25 00:49:45 -04:00
Guilherme Pressutto ddbbd0e67b Using environment variable to set redis prefix (#5062)
It was the only redis setting that wasn't overridable by an environment variable. It can help if you have multiple instances using the same `APP_NAME`, e.g. a staging instance
2019-07-16 13:38:28 -06:00
Miloš Gavrilović afb7cd7311 update deprecated pusher option (#5058) 2019-07-11 09:03:22 -06:00
Taylor Otwell 61a0829f43 Merge branch 'master' into develop 2019-06-04 08:10:42 -05:00
Antoni Siek bf60f7f74f Added support for new redis URL property in config/database.php (#5037)
Regarding laravel/framework#28612
2019-05-30 11:22:45 -05:00
Kristoffer Högberg 9530937958 Add DYNAMODB_ENDPOINT to the cache config (#5034)
This adds the DYNAMODB_ENDPOINT environment variable to the
dynamodb store of the cache cofig.

Its usage is implemented in the framework as laravel/framework#28600
2019-05-29 09:12:30 -05:00
Taylor Otwell c9bb74c7e0 formatting 2019-05-08 08:06:25 -05:00
Dries Vints fe9f8497d9
Remove services deleted from core
See https://github.com/laravel/framework/pull/28441 and https://github.com/laravel/framework/pull/28442
2019-05-07 17:57:29 +02:00
Taylor Otwell b0e0bdc060 formatting 2019-05-07 07:38:15 -05:00
Mathieu TUDISCO 1086e26b32
Update database config relating to Url addition. 2019-05-07 13:49:22 +02:00
Jordan Hall 1bed031c1f
Remove underscore as cache prefixes automatically have a colon appended to them 2019-04-10 12:01:28 +01:00
Jordan Hall 3cbc5ac640
Additional underscore on cache prefix 2019-04-08 08:52:06 +01:00
Jordan Hall 159b0e79cd
Additional underscore on redis database prefix 2019-04-08 08:50:48 +01:00
Jordan Hall e68ff0c66a
Use Str class instead of helper function 2019-04-04 22:18:28 +01:00
Jordan Hall c8bc79e94e
Prefix redis database connection by default to mitigate multiple sites on the same server potentially sharing the same queued jobs 2019-04-04 15:11:18 +01:00
Taylor Otwell 3001f3c6e2 check if extension loaded 2019-02-28 14:31:42 -06:00
Taylor Otwell a0f6bcc773 comment out options 2019-02-28 08:34:10 -06:00
Avtandil Kikabidze b34328a166
Use correct env name for AWS region from env.example 2019-02-27 14:05:01 +04:00
Taylor Otwell 02c23bdfd5 add postmark 2019-02-26 11:11:16 -06:00
Taylor Otwell f191f6f9c3 Merge branch 'master' into develop 2019-02-26 09:42:51 -06:00
Sven Wittevrongel 590ae17031 Add Arr and Str aliases by default 2019-02-26 14:31:11 +01:00
Taylor Otwell 45742652cc add postmark token 2019-02-25 20:21:00 -06:00
Taylor Otwell 0ee4cec523 Merge branch 'develop' of github.com:laravel/laravel into develop 2019-02-25 14:32:57 -06:00
Taylor Otwell 64b16c2852 revert to old redis config 2019-02-25 14:32:49 -06:00
Taylor Otwell 1d8add88f7 Merge branch 'develop' of github.com:laravel/laravel into develop 2019-02-19 21:58:38 -05:00
Taylor Otwell d201c69a8b update config file 2019-02-19 21:58:25 -05:00
Dries Vints 3c53897ee4
Merge branch 'master' into develop 2019-02-15 18:47:27 +01:00
Taylor Otwell ea7fc0b336 update client 2019-02-15 07:51:45 -06:00
Taylor Otwell df4ecb9c83 change default redis configuration structure 2019-02-14 11:03:41 -06:00
Taylor Otwell ab1e9f8b6a default to false 2019-01-28 08:38:36 -06:00
Taylor Otwell 6da06fba93 default to true 2019-01-28 08:38:14 -06:00
Taylor Otwell d80b4e7cb0 adjust name of configuration value 2019-01-28 08:37:39 -06:00
Propaganistas 217cbde378
Hint for lenient log stacks 2019-01-25 21:30:35 +01:00
Matt Allan 2588b254a0 Add beanstalk queue block_for config key
This functionality was added in laravel/framework 9aa1706.
2019-01-17 16:01:57 -05:00
Taylor Otwell 9180f646d3 add env variable for mysql ssl cert 2019-01-17 10:41:23 -06:00
Taylor Otwell 3a550dee85 Merge branch 'master' into develop 2019-01-11 08:53:23 -06:00
Taylor Otwell f795055577 tweak wording 2019-01-10 15:21:07 -06:00
Taylor Otwell 1be5e29753 add dynamo to stubs 2019-01-10 15:18:58 -06:00
小克 322f7fb152
Remove extra whitespace 2019-01-09 11:21:41 +08:00
Eric Famiglietti d0726a34d1
Remove extra whitespace. 2018-12-18 22:22:09 -05:00
Taylor Otwell 87667b25ae update env variable stubs 2018-12-18 09:09:55 -06:00
Taylor Otwell e1b8847a92 add env variable 2018-12-11 16:05:24 -06:00
Taylor Otwell ac8e6fb124 Merge branch 'master' of github.com:laravel/laravel 2018-11-20 21:46:22 -06:00
Taylor Otwell 5ea6fe18a8 add env variable for compiled view path 2018-11-20 21:46:11 -06:00
Dries Vints ed7b78de46
Typo 2018-11-16 16:20:27 +01:00
Taylor Otwell b88d8fd18f formatting 2018-11-16 08:09:12 -06:00
Graham Campbell 7d16a052ab
Fixed comment alignment 2018-11-16 12:30:41 +00:00
Sébastien Nikolaou 546720c041
Pick `log_channel` from environment variable 2018-11-16 13:47:37 +02:00
Sébastien Nikolaou 822dcafe48 Add `log_channel` configuration option 2018-11-15 21:15:59 +02:00
Taylor Otwell 63a4039123 add asset url configuration option 2018-11-14 14:36:47 -06:00
Taylor Otwell c09519f547 formatting 2018-11-07 19:05:31 -05:00
Taylor Otwell 79e8ff4290
Merge pull request #4838 from dakira/fk-support
introduce sqlite foreign_key_constraints config option
2018-10-31 00:33:05 +11:00
Matthias Niess 5f7decfff1 introduce sqlite foreign_key_constraints config option
This enables the sqlite `foreign_key_constraints` option that was introduced with laravel/framework#26298 for all new installs.

The env variable DB_FOREIGN_KEYS was added to make it easier to handle this in testing (e.g. via phpunit.xml).
2018-10-30 14:24:12 +01:00
Ben Sampson 4525f36cac
use env value for redis queue name
It's common to have a redis queue name when having multiple queues/applications on the same instance. Default value is the same.
2018-10-30 12:36:35 +00:00
Dries Vints 568250557c
Add new Stripe webhook config values
See https://github.com/laravel/cashier/pull/565
2018-10-11 18:12:19 +02:00
Taylor Otwell b98d49ebb3 formatting 2018-10-02 12:51:41 -05:00
Clément Blanco 24029be5b1
Fixing StyleCI identation 2018-10-02 15:50:48 +01:00
Clément Blanco e9f6ec36a7
Adding faker_locale default config value.
As per [that PR](https://github.com/laravel/framework/pull/17895) and [the documentation](https://laravel.com/docs/5.6/database-testing#writing-factories), I wanted to make sure this was present in the `app/config.php` out of the box.

It's a great thing and I'm sure people will be happy to use it rather than overriding the singleton registration.
2018-10-02 15:45:42 +01:00
Laurence Ioannou 15dac2a961
Update database.php 2018-10-02 14:23:47 +10:00
Taylor Otwell 361a6b71da use str class 2018-09-28 15:55:56 -05:00
Taylor Otwell cd8dd76b67 increase days 2018-09-27 09:01:45 -05:00