Remove default config values from state

This commit is contained in:
Angelina Filippova 2019-11-07 14:56:50 +10:00
parent eccb0457f3
commit b1d6638fc0

View file

@ -5,85 +5,6 @@ const settings = {
state: {
description: [],
settings: {
':activitypub': {},
':adapter': {},
':admin_token': {},
':assets': { mascots: {}},
':auth': {},
':auto_linker': { opts: {}},
':backends': {},
':chat': {},
':console': { colors: {}},
':credentials': {},
':database': {},
':ecto_repos': {},
':email_notifications': { digest: {}},
':emoji': { groups: {}},
':enabled': {},
':ex_syslogger': {},
':expose': {},
':fetch_initial_posts': {},
':format_encoders': {},
':frontend_configurations': { pleroma_fe: {}, masto_fe: {}},
':gopher': {},
':hackney_pools': { federation: {}, media: {}, upload: {}},
':handler': {},
':headers': {},
':http': { adapter: {}},
':http_security': {},
':instance': { poll_limits: {}},
':level': {},
':ldap': {},
':markup': {},
':max_age': {},
':media_proxy': { proxy_opts: {}},
':meta': {},
':methods': {},
':mrf_hellthread': {},
':mrf_keyword': { replace: {}},
':mrf_mention': {},
':mrf_normalize_markup': {},
':mrf_rejectnonpublic': {},
':mrf_simple': {},
':mrf_subchain': { match_actor: {}},
':mrf_user_allowlist': {},
':mrf_vocabulary': {},
':oauth2': {},
':password_authenticator': {},
'Pleroma.Captcha': {},
'Pleroma.Captcha.Kocaptcha': {},
'Pleroma.Emails.Mailer': {},
'Pleroma.Emails.UserEmail': { styling: {}},
'Pleroma.Repo': {},
'Pleroma.ScheduledActivity': {},
'Pleroma.Upload': { proxy_opts: {}},
'Pleroma.Upload.Filter.AnonymizeFilename': {},
'Pleroma.Upload.Filter.Mogrify': {},
'Pleroma.Uploaders.Local': {},
'Pleroma.Uploaders.MDII': {},
'Pleroma.Uploaders.S3': {},
'Pleroma.User': {},
'Pleroma.Web.Auth.Authenticator': {},
'Pleroma.Web.Endpoint':
{ http: false, url: {}, render_errors: {}, pubsub: {}},
'Pleroma.Web.Federator.RetryQueue': {},
'Pleroma.Web.Metadata': {},
':port': {},
':priv_dir': {},
':queues': {},
':rate_limit': {},
':rich_media': {},
':suggestions': {},
':types': { value: {}},
'Ueberauth': {},
'Ueberauth.Strategy.Facebook.OAuth': {},
'Ueberauth.Strategy.Google.OAuth': {},
'Ueberauth.Strategy.Microsoft.OAuth': {},
'Ueberauth.Strategy.Twitter.OAuth': {},
':user': {},
':uri_schemes': {},
':vapid_details': {},
':webhook_url': {}
},
ignoredIfNotEnabled: ['enabled', 'handler', 'password_authenticator', 'port', 'priv_dir'],
loading: true