mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Merge pull request #2007 from shleeable/cleanup
Code Review - dead code
This commit is contained in:
commit
585a5ca8f8
11 changed files with 10 additions and 58 deletions
|
@ -7,7 +7,6 @@ APP_URL=http://localhost
|
||||||
APP_DOMAIN="localhost"
|
APP_DOMAIN="localhost"
|
||||||
ADMIN_DOMAIN="localhost"
|
ADMIN_DOMAIN="localhost"
|
||||||
SESSION_DOMAIN="localhost"
|
SESSION_DOMAIN="localhost"
|
||||||
SESSION_SECURE_COOKIE=true
|
|
||||||
TRUST_PROXIES="*"
|
TRUST_PROXIES="*"
|
||||||
|
|
||||||
LOG_CHANNEL=stack
|
LOG_CHANNEL=stack
|
||||||
|
|
|
@ -7,7 +7,6 @@ APP_URL=http://localhost
|
||||||
APP_DOMAIN="localhost"
|
APP_DOMAIN="localhost"
|
||||||
ADMIN_DOMAIN="localhost"
|
ADMIN_DOMAIN="localhost"
|
||||||
SESSION_DOMAIN="localhost"
|
SESSION_DOMAIN="localhost"
|
||||||
SESSION_SECURE_COOKIE=true
|
|
||||||
TRUST_PROXIES="*"
|
TRUST_PROXIES="*"
|
||||||
|
|
||||||
LOG_CHANNEL=stack
|
LOG_CHANNEL=stack
|
||||||
|
|
|
@ -7,7 +7,6 @@ APP_URL=https://pixelfed.dev
|
||||||
APP_DOMAIN="pixelfed.dev"
|
APP_DOMAIN="pixelfed.dev"
|
||||||
ADMIN_DOMAIN="pixelfed.dev"
|
ADMIN_DOMAIN="pixelfed.dev"
|
||||||
SESSION_DOMAIN="pixelfed.dev"
|
SESSION_DOMAIN="pixelfed.dev"
|
||||||
SESSION_SECURE_COOKIE=true
|
|
||||||
TRUST_PROXIES="*"
|
TRUST_PROXIES="*"
|
||||||
|
|
||||||
LOG_CHANNEL=stack
|
LOG_CHANNEL=stack
|
||||||
|
|
|
@ -39,10 +39,6 @@ class ProfileTransformer extends Fractal\TransformerAbstract
|
||||||
'owner' => $profile->permalink(),
|
'owner' => $profile->permalink(),
|
||||||
'publicKeyPem' => $profile->public_key,
|
'publicKeyPem' => $profile->public_key,
|
||||||
],
|
],
|
||||||
// remove shared inbox support until proper support
|
|
||||||
// 'endpoints' => [
|
|
||||||
// 'sharedInbox' => config('routes.api.sharedInbox'),
|
|
||||||
// ],
|
|
||||||
'icon' => [
|
'icon' => [
|
||||||
'type' => 'Image',
|
'type' => 'Image',
|
||||||
'mediaType' => 'image/jpeg',
|
'mediaType' => 'image/jpeg',
|
||||||
|
|
|
@ -4,7 +4,5 @@ return [
|
||||||
|
|
||||||
'lc' => env('EXP_LC', false),
|
'lc' => env('EXP_LC', false),
|
||||||
'rec' => env('EXP_REC', false),
|
'rec' => env('EXP_REC', false),
|
||||||
'ns' => env('EXP_NS', false),
|
'loops' => env('EXP_LOOPS', false),
|
||||||
'loops' => env('EXP_LOOPS', false)
|
|
||||||
|
|
||||||
];
|
];
|
|
@ -10,9 +10,6 @@ return [
|
||||||
],
|
],
|
||||||
|
|
||||||
'discover' => [
|
'discover' => [
|
||||||
'loops' => [
|
|
||||||
'enabled' => env('EXP_LOOPS', false),
|
|
||||||
],
|
|
||||||
'tags' => [
|
'tags' => [
|
||||||
'is_public' => env('INSTANCE_PUBLIC_HASHTAGS', false)
|
'is_public' => env('INSTANCE_PUBLIC_HASHTAGS', false)
|
||||||
],
|
],
|
||||||
|
|
|
@ -3,13 +3,5 @@
|
||||||
return [
|
return [
|
||||||
'exif' => [
|
'exif' => [
|
||||||
'database' => env('MEDIA_EXIF_DATABASE', false),
|
'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),
|
|
||||||
],
|
],
|
||||||
];
|
];
|
|
@ -58,17 +58,6 @@ return [
|
||||||
*/
|
*/
|
||||||
'open_registration' => env('OPEN_REGISTRATION', true),
|
'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
|
| Account file size limit
|
||||||
|
@ -257,13 +246,7 @@ return [
|
||||||
|
|
||||||
'oauth_enabled' => env('OAUTH_ENABLED', false),
|
'oauth_enabled' => env('OAUTH_ENABLED', false),
|
||||||
|
|
||||||
'sanitizer' => [
|
|
||||||
'restrict_html_types' => env('RESTRICT_HTML_TYPES', true)
|
|
||||||
],
|
|
||||||
|
|
||||||
'admin' => [
|
'admin' => [
|
||||||
'env_editor' => env('ADMIN_ENV_EDITOR', false)
|
'env_editor' => env('ADMIN_ENV_EDITOR', false)
|
||||||
],
|
],
|
||||||
|
|
||||||
'links_per_post' => env('MAX_LINKS_PER_POST', 0)
|
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,16 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
||||||
'api' => [
|
|
||||||
'base' => config('app.url').'/api/1/',
|
|
||||||
'sharedInbox' => config('app.url').'/api/sharedInbox',
|
|
||||||
'search' => config('app.url').env('MIX_API_SEARCH'),
|
|
||||||
],
|
|
||||||
|
|
||||||
'hashtag' => [
|
'hashtag' => [
|
||||||
'base' => config('app.url').'/discover/tags/',
|
'base' => config('app.url').'/discover/tags/',
|
||||||
'search' => config('app.url').'/discover/tags/',
|
'search' => config('app.url').'/discover/tags/',
|
||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
3
resources/assets/sass/custom.scss
vendored
3
resources/assets/sass/custom.scss
vendored
|
@ -46,9 +46,6 @@ body, button, input, textarea {
|
||||||
opacity: .4;
|
opacity: .4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card.status-container {
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-img-top {
|
.card-img-top {
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue