1
0
Fork 0
pixelfed/resources/views/admin/diagnostics/home.blade.php

933 lines
33 KiB
PHP
Raw Normal View History

@extends('admin.partial.template-full')
@section('section')
<div class="title mb-4">
<h3 class="font-weight-bold">Diagnostics</h3>
</div>
<div class="pb-3 border-bottom">
<p class="font-weight-bold text-muted">
Information
<span class="small text-primary ml-3 copy-information cursor-pointer text-uppercase font-weight-bold">Copy</span>
</p>
2022-05-17 02:59:53 +00:00
<div class="information">
<ul>
<p class="font-weight-bold text-muted">
Troubleshooting
</p>
<li>
2022-05-17 02:59:53 +00:00
<strong>Bootstrap:</strong>
<span>{{is_writable(base_path('bootstrap/')) ? 'Writable ✅' : 'Not writable ❌'}}</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong>Storage:</strong>
<span>{{is_writable(base_path('storage/')) ? 'Writable ✅' : 'Not writable ❌'}}</span>
</li>
2022-05-17 02:59:53 +00:00
@foreach([
'bcmath',
'gd',
'imagick',
'ctype',
'curl',
'intl',
'json',
'mbstring',
'openssl',
'redis'
] as $ext)
2022-05-17 02:59:53 +00:00
@if(!extension_loaded($ext))
<li>
<strong>PHP Module {{$ext}}:</strong>
<span>Not installed/Not loaded </span>
</li>
@endif
@endforeach
2022-05-17 02:59:53 +00:00
<li>
2022-05-17 02:59:53 +00:00
<strong><span class="badge badge-primary">DATABASE</span> Ping:</strong>
<span>{{ \DB::connection()->getPDO() ? 'Pong! Connected to DB "' . \DB::connection()->getDatabaseName() . '" ✅' : 'DB Not Responding ❌' }}</span>
</li>
<li>
<strong><span class="badge badge-primary">REDIS</span> Ping:</strong>
2022-05-17 02:59:53 +00:00
<span>{{ \Illuminate\Support\Facades\Redis::command('ping') ? 'Pong! Connected to Redis ✅' : 'Redis Not Responding ❌' }}</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong><span class="badge badge-primary">ACTIVITYPUB</span> instance actor created: </strong>
2022-05-21 13:48:25 +00:00
<span>{{ \App\Models\InstanceActor::count() ? '✅ true' : '❌ false' }}</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong><span class="badge badge-primary">ACTIVITYPUB</span> instance actor cached: </strong>
2022-05-21 13:48:25 +00:00
<span>{{ Cache::get(\App\Models\InstanceActor::PROFILE_KEY) ? '✅ true' : '❌ false' }}</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong><span class="badge badge-primary">OAUTH</span> enabled: </strong>
2022-05-21 13:48:25 +00:00
<span>{{ config_cache('pixelfed.oauth_enabled') ? '✅ true' : '❌ false' }}</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong><span class="badge badge-primary">OAUTH</span> token_expiration</strong>
<span>{{ config_cache('instance.oauth.token_expiration') }} days</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong><span class="badge badge-primary">OAUTH</span> public key exists: </strong>
2022-05-21 13:48:25 +00:00
<span>{{ file_exists(storage_path('oauth-public.key')) ? '✅ true' : '❌ false' }}</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong><span class="badge badge-primary">OAUTH</span> private key exists: </strong>
2022-05-21 13:48:25 +00:00
<span>{{ file_exists(storage_path('oauth-private.key')) ? '✅ true' : '❌ false' }}</span>
2022-05-17 02:59:53 +00:00
</li>
<hr>
<p class="font-weight-bold text-muted">
Important Information
</p>
@if(function_exists('shell_exec'))
<li>
<strong>Version:</strong>
<span>{{config('pixelfed.version')}}-{{ @shell_exec('git log --pretty="%h" -n1 HEAD') ?? 'unknown git commit' }}</span>
</li>
@else
<li>
<strong>Version:</strong>
<span>{{config('pixelfed.version')}}</span>
</li>
@endif
2022-05-17 02:59:53 +00:00
<li>
2022-05-17 02:59:53 +00:00
<strong>Database:</strong>
@php($v = explode(' ', DB::select('select version() as version')[0]->version))
<span>{{config('database.default')}} ({{count($v) == 1 ? $v[0] : $v[1]}})</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong>APP_URL:</strong>
<span>{{config_cache('app.url')}}</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong>APP_DOMAIN:</strong>
<span>{{config_cache('pixelfed.domain.app')}}</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong>ADMIN_DOMAIN:</strong>
<span>{{config_cache('pixelfed.domain.admin')}}</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong>SESSION_DOMAIN:</strong>
<span>{{config_cache('session.domain')}}</span>
</li>
2022-05-17 02:59:53 +00:00
<hr>
<p class="font-weight-bold text-muted">
PHP Variables
</p>
<li>
2022-05-17 02:59:53 +00:00
<strong>PHP:</strong>
<span>{{phpversion()}}</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong><span class="badge badge-primary">PHP INI</span> memory_limit:</strong>
<span>{{ ini_get('memory_limit') }}</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong><span class="badge badge-primary">PHP INI</span> post_max_size:</strong>
<span>{{ ini_get('post_max_size') }}</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong><span class="badge badge-primary">PHP INI</span> upload_max_filesize:</strong>
<span>{{ ini_get('upload_max_filesize') }}</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong><span class="badge badge-primary">PHP INI</span> max_file_uploads:</strong>
<span>{{ ini_get('max_file_uploads') }}</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong><span class="badge badge-primary">PHP INI</span> max_execution_time:</strong>
<span>{{ ini_get('max_execution_time') }}</span>
</li>
<li>
2022-05-17 02:59:53 +00:00
<strong><span class="badge badge-primary">PHP INI</span> max_input_time:</strong>
<span>{{ ini_get('max_input_time') }}</span>
</li>
2022-06-06 02:26:06 +00:00
<li>
2022-06-06 02:26:35 +00:00
<strong><span class="badge badge-primary">PHP INI</span> file_uploads (On):</strong>
2022-06-06 02:26:06 +00:00
<span>{{ ini_get('file_uploads') }}</span>
</li>
2022-05-21 13:35:57 +00:00
<li>
2022-06-03 07:08:58 +00:00
<strong><span class="badge badge-primary">PHP INI - Security</span> allow_url_fopen (true):</strong>
2022-06-06 02:26:06 +00:00
<span>{{ ini_get('allow_url_fopen') }}</span>
2022-05-21 13:35:57 +00:00
</li>
<li>
<strong><span class="badge badge-primary">PHP INI - Security</span> allow_url_include (false):</strong>
2022-06-06 02:26:06 +00:00
<span>{{ ini_get('allow_url_include') }}</span>
2022-05-21 13:35:57 +00:00
</li>
<li>
<strong><span class="badge badge-primary">PHP INI - Security</span> expose_php (false):</strong>
2022-06-06 02:26:06 +00:00
<span>{{ ini_get('expose_php') }}</span>
2022-05-21 13:35:57 +00:00
</li>
<li>
<strong><span class="badge badge-primary">PHP INI - Security</span> display_errors (false):</strong>
2022-06-06 02:26:06 +00:00
<span>{{ ini_get('display_errors') }}</span>
2022-05-21 13:35:57 +00:00
</li>
<li>
<strong><span class="badge badge-primary">PHP INI - Security</span> display_startup_errors (false):</strong>
2022-06-06 02:26:06 +00:00
<span>{{ ini_get('display_startup_errors') }}</span>
2022-05-21 13:35:57 +00:00
</li>
<li>
<strong><span class="badge badge-primary">PHP INI - Security</span> log_errors (true):</strong>
2022-06-06 02:26:06 +00:00
<span>{{ ini_get('log_errors') }}</span>
2022-05-21 13:35:57 +00:00
</li>
<li>
<strong><span class="badge badge-primary">PHP INI - Security</span> ignore_repeated_errors (false):</strong>
2022-06-06 02:26:06 +00:00
<span>{{ ini_get('ignore_repeated_errors') }}</span>
2022-05-21 13:35:57 +00:00
</li>
2022-05-21 13:40:08 +00:00
<li>
<strong><span class="badge badge-primary">PHP INI - Security</span> disable_functions:</strong>
2022-05-21 13:40:33 +00:00
<span>{{ ini_get('disable_functions') }}</span>
2022-05-21 13:40:08 +00:00
</li>
2022-05-14 09:11:29 +00:00
2022-05-17 02:59:53 +00:00
<hr>
<p class="font-weight-bold text-muted">
Pixelfed Variables (No Secrets)
</p>
<table style="width:100%" class="table">
<thead class="bg-light">
<tr>
<th width="5%" scope="col" class="border-0 text-dark">CONFIG</th>
2022-05-18 05:58:46 +00:00
<th width="20%"scope="col" class="border-0 text-dark">Variable Name</th>
<th width="40%"scope="col" class="border-0 text-dark">Details</th>
2022-05-17 02:59:53 +00:00
</tr>
</thead>
<tbody>
<tr>
<td><span class="badge badge-primary">APP</span></td>
<td><strong>APP_NAME</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('app.name')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">APP</span></td>
<td><strong>APP_ENV</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('app.env')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">APP</span></td>
<td><strong>APP_DEBUG</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('app.debug') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">APP</span></td>
<td><strong>APP_URL</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('app.url')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">APP</span></td>
<td><strong>APP_LOCALE</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('app.locale')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">APP</span></td>
<td><strong>APP_FALLBACK_LOCALE</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('app.fallback_locale')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">BROADCASTING</span></td>
<td><strong>BROADCAST_DRIVER</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('broadcasting.default')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">CACHE</span></td>
<td><strong>CACHE_DRIVER</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('cache.default')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">CAPTCHA</span></td>
<td><strong>CAPTCHA_ENABLED</strong></td>
<td><span>{{ config_cache('captcha.enabled') ? '✅ true' : '❌ false' }}</span></td>
</tr>
<tr>
<td><span class="badge badge-primary">DATABASE</span></td>
2022-05-18 06:02:35 +00:00
<td><strong>DB_CONNECTION</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('database.default')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">DATABASE</span></td>
<td><strong>REDIS_CLIENT</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('database.redis.client')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">EXP</span></td>
<td><strong>EXP_LC</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('exp.lc') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">EXP</span></td>
<td><strong>EXP_TOP</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('exp.top') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">EXP</span></td>
<td><strong>EXP_POLLS</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('exp.polls') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">EXP</span></td>
<td><strong>EXP_CPT</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('exp.cached_public_timeline') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">EXP</span></td>
<td><strong>EXP_GPS</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('exp.gps') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">EXP</span></td>
<td><strong>EXP_EMC</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('exp.emc') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>ACTIVITY_PUB</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('federation.activitypub.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>AP_OUTBOX</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('federation.activitypub.outbox') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>AP_INBOX</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('federation.activitypub.inbox') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>AP_SHAREDINBOX</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('federation.activitypub.sharedInbox') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>AP_REMOTE_FOLLOW</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('federation.activitypub.remoteFollow') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>ACTIVITYPUB_DELIVERY_TIMEOUT</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('federation.activitypub.delivery.timeout')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>ACTIVITYPUB_DELIVERY_CONCURRENCY</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('federation.activitypub.delivery.concurrency')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>AP_LOGGER_ENABLED</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('federation.activitypub.delivery.logger.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>ATOM_FEEDS</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('federation.atom.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>REMOTE_AVATARS</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('federation.avatars.store_local') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>NODEINFO</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('federation.nodeinfo.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>WEBFINGER</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('federation.webfinger.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>PF_NETWORK_TIMELINE</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('federation.network_timeline') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
2022-06-19 11:37:05 +00:00
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>PF_NETWORK_TIMELINE_DAYS_FALLOFF</strong></td>
<td><span>{{config('federation.network_timeline_days_falloff') }}</span></td>
</tr>
2022-05-17 02:59:53 +00:00
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>CUSTOM_EMOJI</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('federation.custom_emoji.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FEDERATION</span></td>
<td><strong>CUSTOM_EMOJI_MAX_SIZE</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('federation.custom_emoji.max_size')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FILESYSTEMS</span></td>
<td><strong>FILESYSTEM_DRIVER</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('filesystems.default')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">FILESYSTEMS</span></td>
<td><strong>FILESYSTEM_CLOUD</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('filesystems.cloud')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">HASHING</span></td>
<td><strong>BCRYPT_COST</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('hashing.bcrypt.rounds')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">HORIZON</span></td>
<td><strong>HORIZON_PREFIX</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('horizon.prefix')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">HORIZON</span></td>
<td><strong>HORIZON_MEMORY_LIMIT</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('horizon.memory_limit')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">HORIZON</span></td>
<td><strong>HORIZON_BALANCE_STRATEGY</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('horizon.environments.production.supervisor-1.balance')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">HORIZON</span></td>
<td><strong>HORIZON_MIN_PROCESSES</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('horizon.environments.production.supervisor-1.minProcesses')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">HORIZON</span></td>
<td><strong>HORIZON_MAX_PROCESSES</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('horizon.environments.production.supervisor-1.maxProcesses')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">HORIZON</span></td>
<td><strong>HORIZON_SUPERVISOR_MEMORY</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('horizon.environments.production.supervisor-1.memory')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">HORIZON</span></td>
<td><strong>HORIZON_SUPERVISOR_TRIES</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('horizon.environments.production.supervisor-1.tries')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">HORIZON</span></td>
<td><strong>HORIZON_SUPERVISOR_NICE</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('horizon.environments.production.supervisor-1.nice')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">HORIZON</span></td>
<td><strong>HORIZON_SUPERVISOR_TIMEOUT</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('horizon.environments.production.supervisor-1.timeout')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">HORIZON</span></td>
<td><strong>HORIZON_DARKMODE</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('horizon.darkmode') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">IMAGE</span></td>
<td><strong>IMAGE_DRIVER </strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('image.driver')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>INSTANCE_DESCRIPTION</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('instance.description')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>INSTANCE_CONTACT_FORM</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('instance.contact.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>INSTANCE_CONTACT_MAX_PER_DAY</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('instance.contact.max_per_day')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>INSTANCE_DISCOVER_PUBLIC</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('instance.discover.public') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>EXP_LOOPS</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('instance.discover.loops.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>INSTANCE_PUBLIC_HASHTAGS</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('instance.discover.tags.is_public') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>INSTANCE_CONTACT_EMAIL</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('instance.email')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>INSTANCE_PUBLIC_LOCAL_TIMELINE</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('instance.timeline.local.is_public') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
2022-06-19 11:37:05 +00:00
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>INSTANCE_NETWORK_TIMELINE_CACHED</strong></td>
<td><span>{{config('instance.timeline.network.cached') }}</span></td>
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>INSTANCE_NETWORK_TIMELINE_CACHE_DROPOFF</strong></td>
<td><span>{{config('instance.timeline.network.cache_dropoff') }}</span></td>
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>INSTANCE_NETWORK_TIMELINE_CACHE_MAX_HOUR_INGEST</strong></td>
<td><span>{{config('instance.timeline.network.max_hours_old') }}</span></td>
</tr>
2022-05-17 02:59:53 +00:00
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>PAGE_404_HEADER</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('instance.page.404.header')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>PAGE_404_BODY</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('instance.page.404.body')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>PAGE_503_HEADER</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('instance.page.503.header')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>PAGE_503_BODY</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('instance.page.503.body')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>BANNED_USERNAMES</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('instance.username.banned')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>USERNAME_REMOTE_FORMAT</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('instance.username.remote.format')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>USERNAME_REMOTE_CUSTOM_TEXT</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('instance.username.remote.custom')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>STORIES_ENABLED</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('instance.stories.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>RESTRICTED_INSTANCE</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('instance.restricted.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>OAUTH_TOKEN_DAYS</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('instance.oauth.token_expiration')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>OAUTH_REFRESH_DAYS</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('instance.oauth.refresh_expiration')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>OAUTH_PAT_ENABLED</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('instance.oauth.pat.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>OAUTH_PAT_ID</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('instance.oauth.pat.id')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>ENABLE_COVID_LABEL</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('instance.label.covid.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>COVID_LABEL_URL</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('instance.label.covid.url')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>COVID_LABEL_ORG</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('instance.label.covid.org')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">INSTANCE</span></td>
<td><strong>ENABLE_CONFIG_CACHE</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('instance.enable_cc') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">LDAP</span></td>
<td><strong>LDAP_CONNECTION</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('ldap.default')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">LDAP</span></td>
<td><strong>LDAP_LOGGING</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('ldap.logging') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">LDAP</span></td>
<td><strong>LDAP_CACHE</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('ldap.cache.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">LOGGING</span></td>
<td><strong>LOG_CHANNEL</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('logging.default')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">LOGGING</span></td>
<td><strong>LOG_LEVEL (stack)</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('logging.channels.single.level')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">MAIL</span></td>
<td><strong>MAIL_DRIVER</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('mail.driver')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">MAIL</span></td>
<td><strong>MAIL_HOST</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('mail.host')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">MAIL</span></td>
<td><strong>MAIL_PORT</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('mail.port')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">MAIL</span></td>
<td><strong>MAIL_FROM_ADDRESS</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('mail.from.address')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">MAIL</span></td>
<td><strong>MAIL_FROM_NAME</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('mail.from.name')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">MAIL</span></td>
<td><strong>MAIL_ENCRYPTION</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('mail.encryption')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">MEDIA</span></td>
<td><strong>MEDIA_EXIF_DATABASE</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('media.exif.batabase') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>ADMIN_DOMAIN</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.domain.admin')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>APP_DOMAIN</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.domain.app')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>MEMORY_LIMIT</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.memory_limit')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>OPEN_REGISTRATION</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('pixelfed.open_registration') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>MAX_ACCOUNT_SIZE (KB)</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.max_account_size')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>MAX_PHOTO_SIZE (KB)</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.max_photo_size')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>MAX_AVATAR_SIZE (KB)</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.max_avatar_size')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>MAX_CAPTION_LENGTH</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.max_caption_length')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>MAX_BIO_LENGTH</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.max_bio_length')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>MAX_NAME_LENGTH</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.max_name_length')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>MIN_PASSWORD_LENGTH</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.min_password_length')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>MAX_ALBUM_LENGTH</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.max_album_length')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>ENFORCE_EMAIL_VERIFICATION</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('pixelfed.enforce_email_verification') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>IMAGE_QUALITY (1-100)</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.image_quality')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>ACCOUNT_DELETION</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('pixelfed.account_deletion') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>ACCOUNT_DELETE_AFTER</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('pixelfed.account_delete_after') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>PF_ENABLE_CLOUD</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('pixelfed.cloud_storage') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>PF_MAX_USERS</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('pixelfed.max_users') ? config('pixelfed.max_users') : '❌ false'}}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>PF_OPTIMIZE_IMAGES</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('pixelfed.optimize_image') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>PF_OPTIMIZE_VIDEOS</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('pixelfed.optimize_video') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>PF_USER_INVITES</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('pixelfed.user_invites.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>PF_USER_INVITES_TOTAL_LIMIT</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.user_invites.limit.total')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>PF_USER_INVITES_DAILY_LIMIT</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.user_invites.limit.daily')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>PF_USER_INVITES_MONTHLY_LIMIT</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.user_invites.limit.monthly')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>PF_MAX_COLLECTION_LENGTH</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.max_collection_length')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>MEDIA_TYPES</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.media_types')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>LIMIT_ACCOUNT_SIZE</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('pixelfed.enforce_account_limit') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>IMPORT_INSTAGRAM</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('pixelfed.import.instagram.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>IMPORT_INSTAGRAM_POST_LIMIT</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.import.instagram.limits.posts')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>IMPORT_INSTAGRAM_SIZE_LIMIT</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.import.instagram.limits.size')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>OAUTH_ENABLED</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('pixelfed.oauth_enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>PF_BOUNCER_ENABLED</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('pixelfed.bouncer.enabled') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>PF_MEDIA_FAST_PROCESS</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>{{config_cache('pixelfed.media_fast_process') ? '✅ true' : '❌ false' }}</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PIXELFED</span></td>
<td><strong>PF_MEDIA_MAX_ALTTEXT_LENGTH</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('pixelfed.max_altext_length')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">PURIFY</span></td>
<td><strong>RESTRICT_HTML_TYPES</strong></td>
<td><span>BROKEN</span></td>
</tr>
<tr>
<td><span class="badge badge-primary">QUEUE</span></td>
<td><strong>QUEUE_DRIVER</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('queue.default')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">SESSION</span></td>
<td><strong>SESSION_DRIVER</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('session.driver')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">SESSION</span></td>
<td><strong>SESSION_LIFETIME</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('session.lifetime')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">SESSION</span></td>
<td><strong>SESSION_DOMAIN</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('session.domain')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
<tr>
<td><span class="badge badge-primary">TRUSTEDPROXY</span></td>
<td><strong>TRUST_PROXIES</strong></td>
2022-05-18 05:58:46 +00:00
<td><span>"{{config_cache('trustedproxy.proxies')}}"</span></td>
2022-05-17 02:59:53 +00:00
</tr>
</tbody>
</table>
</div>
</ul>
</div>
<div class="pb-3 border-bottom">
<div class="form-group mb-0">
<div class="ml-n4 mr-n2 p-3">
<label class="font-weight-bold text-muted">Decrypt Payload</label>
<textarea class="form-control payload-input" rows="5" name="payload" placeholder="Enter payload here"></textarea>
<p class="help-text small text-muted mt-3 mb-0">The payload is from the "Something went wrong" page, anyone can copy the payload for you to decrypt.<br />Contents are encrypted due to potential sensitive information.</p>
</div>
</div>
<div class="form-group row">
<div class="col-12">
<button type="button" class="btn btn-primary font-weight-bold px-5 decrypt-payload">Decrypt</button>
</div>
</div>
</div>
@endsection
@push('scripts')
<style type="text/css">
.tt {
display: flex;
}
.information strong {
margin-right: 5px;
}
.information .text-truncate {
overflow: hidden;
max-width: 200px;
}
</style>
<script type="text/javascript" src="{{mix('js/components.js')}}"></script>
<script type="text/javascript">
$('.decrypt-payload').on('click', function(e) {
let payload = document.querySelector('.payload-input').value;
axios.post('{{route('admin.diagnostics.decrypt')}}', {
'payload': payload
}).then(res => {
swal(
'Payload',
res.data.decrypted,
'info'
);
document.querySelector('.payload-input').value = '';
}).catch(err => {
swal(
'Error',
err.response.data.error,
'error'
);
});
});
$('.copy-information').on('click', function(e) {
let text = document.querySelector('.information').innerText;
let payload = '=======================\n Pixelfed Instance Diagnostic v0.2 \n=======================\n' + text + '\n========= END =========\n';
navigator.clipboard.writeText(payload);
swal('Copied', 'Successfully copied diagnostic information to clipboard!', 'success');
});
</script>
@endpush