Merge pull request #2007 from shleeable/cleanup

Code Review - dead code
This commit is contained in:
daniel 2020-02-21 18:06:31 -07:00 committed by GitHub
commit 585a5ca8f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 10 additions and 58 deletions

View file

@ -7,7 +7,6 @@ APP_URL=http://localhost
APP_DOMAIN="localhost"
ADMIN_DOMAIN="localhost"
SESSION_DOMAIN="localhost"
SESSION_SECURE_COOKIE=true
TRUST_PROXIES="*"
LOG_CHANNEL=stack

View file

@ -7,7 +7,6 @@ APP_URL=http://localhost
APP_DOMAIN="localhost"
ADMIN_DOMAIN="localhost"
SESSION_DOMAIN="localhost"
SESSION_SECURE_COOKIE=true
TRUST_PROXIES="*"
LOG_CHANNEL=stack

View file

@ -7,7 +7,6 @@ APP_URL=https://pixelfed.dev
APP_DOMAIN="pixelfed.dev"
ADMIN_DOMAIN="pixelfed.dev"
SESSION_DOMAIN="pixelfed.dev"
SESSION_SECURE_COOKIE=true
TRUST_PROXIES="*"
LOG_CHANNEL=stack

View file

@ -39,10 +39,6 @@ class ProfileTransformer extends Fractal\TransformerAbstract
'owner' => $profile->permalink(),
'publicKeyPem' => $profile->public_key,
],
// remove shared inbox support until proper support
// 'endpoints' => [
// 'sharedInbox' => config('routes.api.sharedInbox'),
// ],
'icon' => [
'type' => 'Image',
'mediaType' => 'image/jpeg',

View file

@ -4,7 +4,5 @@ return [
'lc' => env('EXP_LC', false),
'rec' => env('EXP_REC', false),
'ns' => env('EXP_NS', false),
'loops' => env('EXP_LOOPS', false)
'loops' => env('EXP_LOOPS', false),
];

View file

@ -10,9 +10,6 @@ return [
],
'discover' => [
'loops' => [
'enabled' => env('EXP_LOOPS', false),
],
'tags' => [
'is_public' => env('INSTANCE_PUBLIC_HASHTAGS', false)
],

View file

@ -3,13 +3,5 @@
return [
'exif' => [
'database' => env('MEDIA_EXIF_DATABASE', false),
'strip' => true
],
'types' => env('MEDIA_TYPES', 'image/jpeg,image/png,image/gif'),
'photo' => [
'optimize' => env('PF_OPTIMIZE_IMAGES', true),
'quality' => (int) env('IMAGE_QUALITY', 80),
'max_size' => env('MAX_PHOTO_SIZE', 15000),
'max_album_length' => env('MAX_ALBUM_LENGTH', 4),
],
];

View file

@ -58,17 +58,6 @@ return [
*/
'open_registration' => env('OPEN_REGISTRATION', true),
/*
|--------------------------------------------------------------------------
| ActivityPub
|--------------------------------------------------------------------------
|
*/
'activitypub_enabled' => env('ACTIVITY_PUB', false),
'ap_delivery_timeout' => env('ACTIVITYPUB_DELIVERY_TIMEOUT', 2.0),
'ap_delivery_concurrency' => env('ACTIVITYPUB_DELIVERY_CONCURRENCY', 10),
'remote_follow_enabled' => false,
/*
|--------------------------------------------------------------------------
| Account file size limit
@ -257,13 +246,7 @@ return [
'oauth_enabled' => env('OAUTH_ENABLED', false),
'sanitizer' => [
'restrict_html_types' => env('RESTRICT_HTML_TYPES', true)
],
'admin' => [
'env_editor' => env('ADMIN_ENV_EDITOR', false)
],
'links_per_post' => env('MAX_LINKS_PER_POST', 0)
];

View file

@ -1,16 +1,8 @@
<?php
return [
'api' => [
'base' => config('app.url').'/api/1/',
'sharedInbox' => config('app.url').'/api/sharedInbox',
'search' => config('app.url').env('MIX_API_SEARCH'),
],
'hashtag' => [
'base' => config('app.url').'/discover/tags/',
'search' => config('app.url').'/discover/tags/',
],
];

View file

@ -46,9 +46,6 @@ body, button, input, textarea {
opacity: .4;
}
.card.status-container {
}
.card-img-top {
height: auto;
}