| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 213e9d2 commit 6917ea0
179 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -89,7 +89,7 @@ REDIS_SERVERS=127.0.0.1:6379:0 | |||
| 89 | 89 | # Queue driver to use | |
| 90 | 90 | # Queue not really currently used but may be configurable in the future. | |
| 91 | 91 | # Would advise not to change this for now. | |
| 92 | - QUEUE_DRIVER=sync | ||
| 92 | + QUEUE_CONNECTION=sync | ||
| 93 | 93 | ||
| 94 | 94 | # Storage system to use | |
| 95 | 95 | # Can be 'local', 'local_secure' or 's3' | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,4 +21,5 @@ nbproject | |||
| 21 | 21 | .buildpath | |
| 22 | 22 | .project | |
| 23 | 23 | .settings/ | |
| 24 | - webpack-stats.json | ||
| 24 | + webpack-stats.json | ||
| 25 | + .phpunit.result.cache | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,12 @@ class Application extends \Illuminate\Foundation\Application | |||
| 13 | 13 | */ | |
| 14 | 14 | public function configPath($path = '') | |
| 15 | 15 | { | |
| 16 | - return $this->basePath.DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'Config'.($path ? DIRECTORY_SEPARATOR.$path : $path); | ||
| 16 | + return $this->basePath | ||
| 17 | + . DIRECTORY_SEPARATOR | ||
| 18 | + . 'app' | ||
| 19 | + . DIRECTORY_SEPARATOR | ||
| 20 | + . 'Config' | ||
| 21 | + . ($path ? DIRECTORY_SEPARATOR.$path : $path); | ||
| 17 | 22 | } | |
| 18 | 23 | ||
| 19 | 24 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -57,6 +57,9 @@ | |||
| 57 | 57 | // Application Fallback Locale | |
| 58 | 58 | 'fallback_locale' => 'en', | |
| 59 | 59 | ||
| 60 | + // Faker Locale | ||
| 61 | + 'faker_locale' => 'en_GB', | ||
| 62 | + | ||
| 60 | 63 | // Enable right-to-left text control. | |
| 61 | 64 | 'rtl' => false, | |
| 62 | 65 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -62,6 +62,6 @@ | |||
| 62 | 62 | ||
| 63 | 63 | // Cache key prefix | |
| 64 | 64 | // Used to prevent collisions in shared cache systems. | |
| 65 | - 'prefix' => env('CACHE_PREFIX', 'bookstack'), | ||
| 65 | + 'prefix' => env('CACHE_PREFIX', 'bookstack_cache'), | ||
| 66 | 66 | ||
| 67 | 67 | ]; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,7 @@ | |||
| 14 | 14 | ||
| 15 | 15 | $redisDefaults = ['host' => '127.0.0.1', 'port' => '6379', 'database' => '0', 'password' => null]; | |
| 16 | 16 | $redisServers = explode(',', trim(env('REDIS_SERVERS', '127.0.0.1:6379:0'), ',')); | |
| 17 | - $redisConfig = []; | ||
| 17 | + $redisConfig = ['client' => 'predis']; | ||
| 18 | 18 | $cluster = count($redisServers) > 1; | |
| 19 | 19 | ||
| 20 | 20 | if ($cluster) { | |
@@ -76,6 +76,7 @@ | |||
| 76 | 76 | 'charset' => 'utf8mb4', | |
| 77 | 77 | 'collation' => 'utf8mb4_unicode_ci', | |
| 78 | 78 | 'prefix' => '', | |
| 79 | + 'prefix_indexes' => true, | ||
| 79 | 80 | 'strict' => false, | |
| 80 | 81 | 'engine' => null, | |
| 81 | 82 | ], | |
@@ -86,9 +87,10 @@ | |||
| 86 | 87 | 'database' => 'bookstack-test', | |
| 87 | 88 | 'username' => env('MYSQL_USER', 'bookstack-test'), | |
| 88 | 89 | 'password' => env('MYSQL_PASSWORD', 'bookstack-test'), | |
| 89 | - 'charset' => 'utf8', | ||
| 90 | - 'collation' => 'utf8_unicode_ci', | ||
| 90 | + 'charset' => 'utf8mb4', | ||
| 91 | + 'collation' => 'utf8mb4_unicode_ci', | ||
| 91 | 92 | 'prefix' => '', | |
| 93 | + 'prefix_indexes' => true, | ||
| 92 | 94 | 'strict' => false, | |
| 93 | 95 | ], | |
| 94 | 96 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,9 +12,8 @@ | |||
| 12 | 12 | ||
| 13 | 13 | // Default Hash Driver | |
| 14 | 14 | // This option controls the default hash driver that will be used to hash | |
| 15 | - // passwords for your application. By default, the bcrypt algorithm is | ||
| 16 | - // used; however, you remain free to modify this option if you wish. | ||
| 17 | - // Supported: "bcrypt", "argon" | ||
| 15 | + // passwords for your application. By default, the bcrypt algorithm is used. | ||
| 16 | + // Supported: "bcrypt", "argon", "argon2id" | ||
| 18 | 17 | 'driver' => 'bcrypt', | |
| 19 | 18 | ||
| 20 | 19 | // Bcrypt Options | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,13 +28,15 @@ | |||
| 28 | 28 | 'channels' => [ | |
| 29 | 29 | 'stack' => [ | |
| 30 | 30 | 'driver' => 'stack', | |
| 31 | - 'channels' => ['single'], | ||
| 31 | + 'channels' => ['daily'], | ||
| 32 | + 'ignore_exceptions' => false, | ||
| 32 | 33 | ], | |
| 33 | 34 | ||
| 34 | 35 | 'single' => [ | |
| 35 | 36 | 'driver' => 'single', | |
| 36 | 37 | 'path' => storage_path('logs/laravel.log'), | |
| 37 | 38 | 'level' => 'debug', | |
| 39 | + 'days' => 14, | ||
| 38 | 40 | ], | |
| 39 | 41 | ||
| 40 | 42 | 'daily' => [ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -46,4 +46,10 @@ | |||
| 46 | 46 | ], | |
| 47 | 47 | ], | |
| 48 | 48 | ||
| 49 | + // Log Channel | ||
| 50 | + // If you are using the "log" driver, you may specify the logging channel | ||
| 51 | + // if you prefer to keep mail messages separate from other log entries | ||
| 52 | + // for simpler reading. Otherwise, the default channel will be used. | ||
| 53 | + 'log_channel' => env('MAIL_LOG_CHANNEL'), | ||
| 54 | + | ||
| 49 | 55 | ]; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | 13 | // Default driver to use for the queue | |
| 14 | 14 | // Options: null, sync, redis | |
| 15 | - 'default' => env('QUEUE_DRIVER', 'sync'), | ||
| 15 | + 'default' => env('QUEUE_CONNECTION', 'sync'), | ||
| 16 | 16 | ||
| 17 | 17 | // Queue connection configuration | |
| 18 | 18 | 'connections' => [ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments