From b1d6638fc08d057985aa0be54013b70bcdfb8d41 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Thu, 7 Nov 2019 14:56:50 +1000 Subject: [PATCH] Remove default config values from state --- src/store/modules/settings.js | 79 ----------------------------------- 1 file changed, 79 deletions(-) diff --git a/src/store/modules/settings.js b/src/store/modules/settings.js index 8fd63099..3120082a 100644 --- a/src/store/modules/settings.js +++ b/src/store/modules/settings.js @@ -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