Commit Graph

426 Commits

Author SHA1 Message Date
Taylor Otwell 6d9215c0a4 formatting 2018-09-04 08:09:32 -05:00
Taylor Otwell 663f7c2c05
Merge pull request #4735 from vemcogroup/master
Extract 2 core configurations for sessions to environment
2018-08-25 20:11:29 -05:00
Danijel K b9ac4417ee
corrected bad copy paste 2018-08-25 18:45:33 +02:00
Danijel K 375b7c6a43
Extract core 2 session configurations to environment
In the spirit of JMac & LaravelShift I've extracted 2 session variables to the environment file. Not 'just because' but rather that one is able to set SESSION_DRIVER to redis, but unable to set a connection without touching the core session config file.
2018-08-25 18:44:30 +02:00
Taylor Otwell 28908d83d9 add supported type 2018-08-04 08:52:01 -10:00
Taylor Otwell bf9836a785 Merge branch 'master' into develop 2018-07-19 07:48:44 -05:00
Barry vd. Heuvel c3b99e971c Use seperate cache DB for Redis 2018-05-23 21:50:25 +02:00
Roberto Aguilar dc320c8942
Set bcrypt rounds using the hashing config 2018-04-18 10:09:32 -05:00
Gareth Thompson 13990ebbd0
Formatting fix 2018-04-09 12:42:18 +01:00
Gareth Thompson d75a0f3baf
Add SES_REGION to local environment file
The region used by SES was hardcoded into the config file, when all other values were set as environment variables. Tweaked to keep the region consistent with other config options
2018-04-09 12:35:17 +01:00
Taylor Otwell 50ffc7d9fd formatting 2018-03-24 14:25:38 -07:00
Hugues Joyal f33dc10bed gammar 2018-03-19 15:26:46 -04:00
Hugues Joyal d79e7ccb8b fix styling 2018-03-19 15:15:25 -04:00
Hugues Joyal 7259889fcd missing newline 2018-03-19 13:29:20 -04:00
Hugues Joyal af91d97b68 better comment formating 2018-03-18 08:59:04 -04:00
Hugues Joyal 18701f51ea New line formating 2018-03-18 08:38:20 -04:00
Hugues Joyal 010d713898 style-ci fix 2018-03-18 07:50:27 -04:00
Hugues Joyal 4f8a093dcc Add hashing configuration 2018-03-18 07:47:34 -04:00
Taylor Otwell 29a1739099 add wording 2018-03-14 14:19:07 -05:00
Taylor Otwell 66f5757d58 add stderr example 2018-03-14 14:17:27 -05:00
Taylor Otwell c30adc88c1 adjust variable name 2018-03-13 13:38:47 -05:00
Taylor Otwell 10340d3a02 fix wording 2018-03-13 13:37:32 -05:00
Jason Judge 37b9e0f76d
The default queue "driver" is actually a "connection"
The description here has bothered me for a while, because it is kind of misleading.

The `QUEUE_DRIVER` environment variable perhaps also needs changing to `QUEUE_CONNECTION`, but I'm not sure if that is just too engrained in legacy systems now? I can change that on this PR if you agree, and also the matching `QUEUE_DRIVER=sync` in `.env.example`.
2018-03-13 18:29:01 +00:00
Taylor Otwell a58ceaf6fb
Update filesystems.php 2018-02-27 14:32:22 -06:00
Taylor Otwell c56e3865db
Update filesystems.php 2018-02-27 14:32:00 -06:00
Michal 2572ce1e36 add sftp to supported storage drivers 2018-02-27 19:03:03 +01:00
Taylor Otwell bac7595f02 add hashing config 2018-01-30 08:38:49 -06:00
Taylor Otwell ebb0a2a84f change the default logging channel 2018-01-26 14:41:53 -06:00
Taylor Otwell 2eeca4e220 change name 2018-01-26 10:45:22 -06:00
Taylor Otwell d6d0013562 add block_for option 2018-01-26 09:05:27 -06:00
Taylor Otwell 6284528b76 update driver list 2018-01-18 08:55:30 -06:00
Taylor Otwell f6e0fd7ac3 slack driver config 2018-01-18 08:53:51 -06:00
Taylor Otwell ff0bec857e update to stack 2018-01-18 08:26:24 -06:00
Taylor Otwell bd5783b5e9 add aggregate example 2018-01-16 11:52:42 -06:00
Taylor Otwell acabdff2e3 update log configuration file 2018-01-04 15:28:26 -06:00
Graham Campbell 8067ed6dd3 Merge branch 'master' into develop 2017-12-26 12:32:52 +00:00
Taylor Otwell a4af0b5318
Update broadcasting.php 2017-12-24 08:11:34 -06:00
Mohamed Said 80b59fd375 fix style 2017-12-24 13:24:14 +02:00
Mohamed Said 84b126d90d include cluster in pusher config 2017-12-24 13:22:35 +02:00
Taylor Otwell 5a08a3572d Merge branch 'master' into develop 2017-12-19 08:16:16 -06:00
Taylor Otwell aa4b02358a fix name 2017-12-19 08:08:25 -06:00
Pavinthan bafe459963
Name sort 2017-12-19 12:44:14 +05:30
Pavinthan 41ea79f20e
Update SQS config 2017-12-19 12:42:36 +05:30
Graham Campbell 0da4d7db6f Merge branch 'master' into develop 2017-12-18 11:31:05 +00:00
Taylor Otwell 411ff5978c
Update filesystems.php 2017-11-10 08:19:10 -06:00
Johann Pardanaud dfd494f051 Support custom URLs for AWS storage 2017-11-09 20:46:09 +01:00
Michael Dyrynda f1253690c5 Update AWS environment variable defaults
Aids those users that are using the AWS CLI tools, by matching the `filesystems.disks.s3`
configuration values with those that would be set in a user's native environment already.

AWS Documentation [reference](http://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html)

Resolves laravel/internals#778
2017-10-26 10:44:00 +10:30
Caleb Porzio 084f100045 Load config.session.lifetime from env file 2017-10-04 09:52:03 -04:00
Taylor Otwell 80e96d276a Revert "Use database_path helper for sqlite database filename specified in .env" 2017-09-11 08:04:12 -05:00
Adrian Harabula 982e95b5fb use database_path helper for sqlite database filename specified in .env 2017-09-09 21:48:43 +03:00
ThunderbirdsX3 b8120bfb55 Update cache prefix.
Make cache prefix like session cookie.
2017-09-06 16:38:40 +07:00
Taylor Otwell a6c68c24c9 fixing conflicts 2017-08-30 11:55:27 +02:00
Jorge González 601b665ba3 Fix in comment in config/app.php
I know it is a small thing but it's driving me crazy!
2017-08-17 23:47:12 -05:00
Taylor Otwell df5b100521 formatting 2017-06-29 13:36:21 -05:00
Yitzchok Willroth 28719679b7 🔧 Slugify new session.cookie to comply with RFC 6265. 2017-06-29 13:42:31 -04:00
Yitzchok Willroth a7f2c060b2 🔧 🔧 Reduce discoverability of session cookie name.
Derives session.cookie from SESSION_COOKIE, falling back to (snake_cased) APP_NAME . '_session', falling back to 'laravel_session' (current) in order to make it less discoverable, thereby (slightly) reducing threat vector.
2017-06-29 12:12:19 -04:00
Taylor Otwell 6db0f350fb no longer needed with autodiscovery 2017-06-01 11:39:13 -05:00
Taylor Otwell 11dfcf6d1a fix conflicts 2017-05-07 09:56:20 -05:00
Frederik Sauer bdca9d4781 Added port to sqlsrv settings
Most installations won't work without it.
2017-05-03 23:55:48 +02:00
Hélio 94b39dc576 Fix the commit for pass StyleCI 2017-05-03 13:22:10 -03:00
Hélio e26bd3ffb0 Add sqlsrv as group connection
Since the doc says that the Laravel supports SQL Server out of the box, makes sense add it, out of the box.
2017-05-03 13:20:25 -03:00
Laurence Ioannou 86e4e204aa Update queue.php 2017-04-28 21:19:14 +01:00
Caique Castro 312a79f673
Allow filesystem to be changed on config
Allow to change the filesystem storage on the fly.
For example, you can swap the storage disk with a fake one with
Storage::fake for tests.
2017-04-23 14:44:18 -03:00
Taylor Otwell 6869a880b7 adjust wording 2017-04-21 11:39:59 -05:00
Andrew d771ee6c8a add queue prefix value
this PR goes along with https://github.com/laravel/framework/pull/18860
2017-04-20 15:31:39 -05:00
Taylor Otwell 4696e7bcb6 fix conflicts 2017-04-07 08:11:06 -05:00
Matthew Davis 323e553f33 Make app name configurable in environment file 2017-04-03 20:07:41 +01:00
Brent Shaffer a812983d0b Adds socket to config/database.php for consistency
For the mysql driver only (as this only applies to mysql) add the "socket" configuration parameter and corresponding environment variable.
2017-03-15 17:23:34 -07:00
Taylor Otwell 864a82918e fix comment 2017-03-06 08:50:01 -06:00
Fernando Henrique Bandeira a15f3ca8a9 Add Same-site to config 2017-03-06 08:56:41 -03:00
Dimitar Zlatev 63dc985f2f Use consistent config paths 2017-03-05 13:30:16 +02:00
Mohamed Said be631a6693 Apply fixes from StyleCI 2017-02-03 16:06:59 +00:00
Mohamed Said a6fdc9472f Put back configuration for sendmail 2017-02-03 18:06:39 +02:00
Taylor Otwell 5994e24215 Merge branch 'master' into develop 2017-01-21 10:15:21 -06:00
Taylor Otwell a9fad67e1f fix spacing 2017-01-21 10:15:05 -06:00
Drew Budwin d1fd418826 Fixed a typo in a block comment queue.php
Normally, words that start with vowels (like "unified") are preceded by "an" instead of "a."  However, "unified" is an exception to the rule.

Source: https://www.a-or-an.com/a_an/unified
2017-01-20 19:51:53 -05:00
Theo Kouzelis 1a5f5c6159 [5.4] Change PUSHER enviroment variable names 2017-01-18 20:56:57 +00:00
Taylor Otwell 7cf27b2146 make env variables for aws 2017-01-17 07:41:12 -06:00
Kennedy Tedesco ec85297677 [5.4] Remove compile.php
It's not used anymore.
2017-01-14 23:05:08 -02:00
Taylor Otwell 7b3e884757 Revert "[5.4] Change PUSHER enviroment variable names" 2017-01-04 15:39:53 -06:00
Taylor Otwell 251140ef8b use env var 2017-01-04 12:09:43 -06:00
Taylor Otwell 65d551002e remove url 2017-01-04 10:16:05 -06:00
Taylor Otwell da62be60e8 Put URL config option on the disk to make it obvious how to customize. 2017-01-04 08:51:49 -06:00
Taylor Otwell 7bb56eff6a Merge pull request #4093 from TheoKouzelis/fix/pusher-config
[5.4] Change PUSHER enviroment variable names
2017-01-04 07:48:56 -06:00
Theo Kouzelis de750d9ffb Change PUSHER enviroment variable names
pusher.com's copy and paste .env snippet uses enviroment variables that
all start with "PUSHER_APP". This commit brings the config files in line
with pusher.com
2017-01-04 00:29:19 +00:00
Taylor Otwell 770c41552f Remove fetch mode option. 2017-01-02 17:18:35 -06:00
Taylor Otwell 402b12f915 tweak default cache directory 2016-12-31 21:25:17 -06:00
Taylor Otwell 52f0196fd3 Move broadcast channel registration to a routes file.
These are very similar to routes in that they are channel endpoints
that your application supports and they also fully support route model
binding in Laravel 5.4. Upgraded applications do not need to make this
change if they do not want to.
2016-12-30 15:46:05 -06:00
Taylor Otwell b748931666 Merge pull request #4083 from laravel/tinker
[5.4] Added tinker to the default app
2016-12-29 16:55:25 -06:00
Graham Campbell d7b0e32786 Remove the "mail" driver as recommended, and add "array" 2016-12-29 13:17:27 +00:00
Graham Campbell 380c3a76a0 Added tinker to the default app 2016-12-29 13:06:11 +00:00
Graham Campbell 36875bb98e Merge branch 'master' into develop 2016-12-29 13:03:32 +00:00
Taylor Otwell 45b779f807 cluster option not needed anymore 2016-12-12 16:05:32 -06:00
Taylor Otwell c7eb99d2ad add new mail settings 2016-12-12 11:04:03 -06:00
Damien Criado 7d4115f0ca Fix `AUTH` failed: ERR Client sent AUTH 2016-12-06 01:01:43 +01:00
Taylor Otwell c803ff1caa revert broken PR 2016-11-16 15:15:29 -06:00
Taylor Otwell 8182b99112 Applied fixes from StyleCI 2016-11-16 20:57:24 +00:00
Loki Else 69df2ada11 Support predis v1.1.1
fix: `AUTH failed: ERR Client sent AUTH, but no password is set [tcp://127.0.0.1:6379]`

According to predix release log: https://github.com/nrk/predis/releases/tag/v1.1.1
2016-11-16 17:17:52 +08:00
Diogo Azevedo 9ca8ed9960 Update the default redis host 2016-11-14 23:44:01 -02:00
Roberto Aguilar fd42e10a5f Changes localhost to 127.0.0.1 in database config
In https://github.com/laravel/laravel/pull/3641 was decided to use `127.0.0.1` instead of `localhost` to avoid DNS lookups

This change is to maintain consistency between `.env` and `database.php`
2016-11-14 15:19:31 -06:00
Taylor Otwell e72463dc6c change var name 2016-11-08 10:52:43 -06:00
Jrean d47697e781 Env for mail sender address + name 2016-11-08 23:37:35 +08:00
Taylor Otwell 6013b88689 Merge branch 'master' into develop 2016-10-26 08:16:55 -05:00
Taylor Otwell 6a2bf44765 clear up comment 2016-10-26 08:16:28 -05:00
Taylor Otwell 9d01389ce3 use utf8mb4 as default character set 2016-10-24 16:07:22 -05:00
Taylor Otwell d880fb5f85 no need for env 2016-09-22 12:26:13 -05:00
Till Krüss 54ee465deb Added `database.redis.client` configuration 2016-09-21 13:34:46 -07:00
Taylor Otwell a80e5bca0b add bus alias 2016-09-20 08:38:45 -05:00
Taylor Otwell 49a48100a7 different default name 2016-09-14 09:57:39 -05:00
Jason McCreary 41b0560375 Environment configuration for HTTPS only cookie 2016-09-01 21:22:34 -04:00
Taylor Otwell d09efa26d2 remove irrelevant comment 2016-09-01 09:01:57 -05:00
Roelof Kallenkoot f19c16c023 Sorted the Application Service Providers alphabetically
Minor change to stay consistent
2016-08-26 00:16:58 +02:00
Jorge González 82357a563a Remove extra whitespace in config/cache.php 2016-08-23 22:39:29 -05:00
Taylor Otwell 6f6851946b fix conflicts 2016-08-23 15:08:01 +02:00
Taylor Otwell e6cc60349d add notification facade 2016-08-08 16:10:19 -05:00
Taylor Otwell 51113bd531 Default broadcasting driver to null. 2016-08-05 15:51:22 -05:00
Taylor Otwell 9df814e512 Tweak a few broadcasting configurations. 2016-08-05 15:44:29 -05:00
Taylor Otwell 5d0ecde4cf get rid of space 2016-08-04 07:49:27 -05:00
Taylor Otwell d0f90f9bfd Merge branch 'master' into develop 2016-08-04 07:49:02 -05:00
Taylor Otwell e083273d97 Applied fixes from StyleCI 2016-08-04 08:48:57 -04:00
Bart Huisman (also known as VolgensBartjes) 936addceef give newbees a package service providers section, preventing adding after application
when i started, i ended up putting all package specific service providers just at the bottom of the application service providers. But when making a route group like domain.com/{keyword}, the packages that are registering its own url's, not work anymore (like now when i installed the translations manager from barryvdh). When putting them above the app specific, everything works. So just give it to the user as a default place?
2016-08-04 11:55:08 +02:00
Taylor Otwell ab453a7e82 Add default address in mail config. 2016-08-03 13:16:30 -05:00
Taylor Otwell fd569a3785 Name this option "retry_after" for clarity. 2016-07-22 14:53:03 -05:00
Taylor Otwell 3cc0388ed7 Use expire for consistency. 2016-07-22 14:40:53 -05:00
Taylor Otwell ea52a96386 Remove mandrill as a default configuration since it's fallen out of popularity. 2016-07-21 11:49:28 -05:00
Taylor Otwell dc3d82f03f Add aliases. 2016-07-14 16:48:25 -05:00
Taylor Otwell e7a03b4538 Stop aliasing a bunch of classes by default.
This is not a breaking change since upgrade aliases will still work.
2016-07-14 11:27:16 -05:00
Taylor Otwell d72e3f3af5 fix conflicts 2016-07-09 11:28:21 -05:00
crynobone 34eb11faee [5.3] Password broker would always use notifications::email view.
Signed-off-by: crynobone <crynobone@gmail.com>
2016-06-30 21:03:16 +08:00
halaei d3aff652bd expire jobs after 90 seconds 2016-06-29 12:11:40 +04:30
Jean Ragouin 7e4c6e84df Added session domain env configuration
Session domain value available with env configuration
https://github.com/laravel/laravel/pull/3806
2016-06-22 23:10:07 +08:00
Taylor Otwell 737b5eb3ef stub notifications 2016-06-22 09:57:59 -05:00
vlakoff 07c95968b7 Use proper PDO fetch style 2016-06-19 05:16:51 +02:00
Jerguš Lejko a20533c511 List supported drives in cache and broadcasting configs 2016-06-14 20:15:26 +02:00
Taylor Otwell edc5cee942 Merge branch 'master' into develop 2016-06-04 09:37:46 -05:00
Taylor Otwell 767801a317 working on formatting 2016-06-04 09:37:32 -05:00
Michael Dyrynda 7259c265e6 Add application log level configuration
This config option ties in with changes in fbd6e77 that were tagged in
v5.2.35 of the framework.
2016-06-04 09:58:04 +09:30
Graham Campbell b6bd185048 Merge branch 'master' into develop 2016-05-30 12:03:49 +01:00
Luqman Rom 9352968734 Add missing Mandrill secret keys in config.services 2016-05-29 21:47:02 +08:00
Jorge González 8fc0df14bb Add "sslmode" setting for PostgreSQL connection
The commit 586bffa1d7 added support for sslmode in PostgresConnector.php and sslmode has been around since postgres version 9.1 (2011). 

This change makes it possible to specify sslmode from the config file.

Also serves as documentation to other developers so they don't have to
dive deep into the code to figure out that it's posible to set this option.

The posible values for sslmode are:
    disable, allow, prefer, require, verify-ca, verify-full

The default value is "prefer".

http://www.postgresql.org/docs/9.5/static/libpq-ssl.html#LIBPQ-SSL-PROTECTION
2016-05-12 00:59:15 -05:00
Adam14Four f237656c68 Enabled MySQL "strict" mode by default 2016-05-10 12:30:43 -07:00
Taylor Otwell a97b9e0c7c fix comment 2016-05-04 09:31:54 -05:00
Tom Castleman d68d4dc9cd adds configuration for session cache store 2016-05-02 17:27:52 +01:00
Taylor Otwell b358fe473d spacing 2016-05-01 10:07:37 -05:00
Taylor Otwell 3173f1c072 Merge pull request #3768 from tomcastleman/patch-1
[5.3] Add config for new Memcached features
2016-05-01 10:06:47 -05:00
Tom Castleman 9dc2d60336 Add config for new Memcached features
Adds config for persistent connections, SASL authentication, and custom options
2016-04-30 14:11:55 +01:00
Taylor Otwell da662e40ec working on broadcasting 2016-04-29 22:40:08 -05:00
Graham Campbell ce25be19eb Tweaked config 2016-04-05 11:15:06 +01:00
Matthias Niess eb7743f577 allow for setting sqlite database via env 2016-03-21 20:58:55 +01:00
Taylor Otwell e52b1f71d5 fix wording 2016-03-21 09:13:22 -05:00