From f4104612b2defb960c23b60e440b524ca745111d Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Tue, 10 Sep 2024 16:54:07 +0100 Subject: [PATCH] chore: strip all the duplicate stuff from dev Revolt.toml --- Revolt.toml | 150 ---------------------------------------------------- 1 file changed, 150 deletions(-) diff --git a/Revolt.toml b/Revolt.toml index 71b71d46..0a2e2d1e 100644 --- a/Revolt.toml +++ b/Revolt.toml @@ -25,11 +25,6 @@ voso_legacy_ws = "" [api] -[api.registration] -# Whether an invite should be required for registration -# See https://github.com/revoltchat/self-hosted#making-your-instance-invite-only -invite_only = false - [api.smtp] # Email server configuration for verification # Defaults to no email verification (host field is empty) @@ -41,95 +36,7 @@ reply_to = "support@revolt.chat" port = 14025 use_tls = false -[api.vapid] -# Generate your own keys: -# 1. Run `openssl ecparam -name prime256v1 -genkey -noout -out vapid_private.pem` -# 2. Find `private_key` using `base64 vapid_private.pem` -# 3. Find `public_key` using `openssl ec -in vapid_private.pem -outform DER|tail -c 65|base64|tr '/+' '_-'|tr -d '\n'` -private_key = "LS0tLS1CRUdJTiBFQyBQUklWQVRFIEtFWS0tLS0tCk1IY0NBUUVFSUJSUWpyTWxLRnBiVWhsUHpUbERvcEliYk1yeVNrNXpKYzVYVzIxSjJDS3hvQW9HQ0NxR1NNNDkKQXdFSG9VUURRZ0FFWnkrQkg2TGJQZ2hEa3pEempXOG0rUXVPM3pCajRXT1phdkR6ZU00c0pqbmFwd1psTFE0WAp1ZDh2TzVodU94QWhMQlU3WWRldVovWHlBdFpWZmNyQi9BPT0KLS0tLS1FTkQgRUMgUFJJVkFURSBLRVktLS0tLQo" -public_key = "BGcvgR-i2z4IQ5Mw841vJvkLjt8wY-FjmWrw83jOLCY52qcGZS0OF7nfLzuYbjsQISwVO2HXrmf18gLWVX3Kwfw=" - -[api.fcm] -# Google Firebase Cloud Messaging Service Account Key -# Obtained from the cloud messaging console -key_type = "" -project_id = "" -private_key_id = "" -private_key = "" -client_email = "" -client_id = "" -auth_uri = "" -token_uri = "" -auth_provider_x509_cert_url = "" -client_x509_cert_url = "" - -[api.apn] -# Apple Push Notifications keys for sending notifications -sandbox = false -pkcs8 = "" -key_id = "" -team_id = "" - -[api.security] -# Authifier Shield API key -authifier_shield_key = "" -# Legacy voice server management token -voso_legacy_token = "" -# Whether services are behind the Cloudflare network -trust_cloudflare = false - -[api.security.captcha] -# hCaptcha configuration -hcaptcha_key = "" -hcaptcha_sitekey = "" - -[api.workers] -# Maximum concurrent connections (to proxy server) -max_concurrent_connections = 50 - -[files] -# Encryption key for stored files -# Generate your own key using `openssl rand -base64 32` -encryption_key = "qcuMA+ssxhMyKaNAKBGFfryfFtUH8NDlamQyDwGW6fU=" -# Quality used for lossy WebP previews (set to 100 for lossless) -webp_quality = 80.0 -# Mime types that cannot be uploaded or served -# -# Example for Windows executables and Android installation files: -# ["application/vnd.microsoft.portable-executable", "application/vnd.android.package-archive"] -blocked_mime_types = [] -# ClamAV service -# hostname:port -clamd_host = "" - -[files.limit] -# Minimum image resolution -min_resolution = [1, 1] -# Maximum MP of images -max_mega_pixels = 40 -# Maximum pixel side of an image -max_pixel_side = 10_000 - -[files.preview] -# Maximum image resolution -attachments = [1280, 1280] -avatars = [128, 128] -backgrounds = [1280, 720] -icons = [128, 128] -banners = [480, 480] -emojis = [128, 128] - [files.s3] -# Configuration for S3 -# Defaults included for MinIO + self-hosted setup -# -# Backblaze B2: -# - endpoint is listed on the "Buckets" page -# - region is `eu-central-003` string from endpoint URL -# - access_key_id is keyID generated on the "Application Keys" page -# - secret_access_key is token generated on the "Application Keys" page -# - default_bucket matches the name of the bucket you've created - # S3 protocol endpoint endpoint = "http://localhost:14009" # S3 region name @@ -140,60 +47,3 @@ access_key_id = "minioautumn" secret_access_key = "minioautumn" # Bucket to upload to by default default_bucket = "revolt-uploads" - -[features] -# Feature gate options -webhooks_enabled = false - -[features.limits] - -[features.limits.global] -group_size = 100 -message_embeds = 5 -message_replies = 5 -message_reactions = 20 -server_emoji = 100 -server_roles = 200 -server_channels = 200 - -# How many days since creation a user is considered new -new_user_days = 3 - -# Maximum permissible body size in bytes for uploads -# (should be greater than any one file upload limit) -body_limit_size = 20_000_000 - -[features.limits.new_user] -outgoing_friend_requests = 5 - -bots = 2 -message_length = 2000 -message_attachments = 5 -servers = 100 - -attachment_size = 20_000_000 -avatar_size = 4_000_000 -background_size = 6_000_000 -icon_size = 2_500_000 -banner_size = 6_000_000 -emoji_size = 500_000 - -[features.limits.default] -outgoing_friend_requests = 10 - -bots = 5 -message_length = 2000 -message_attachments = 5 -servers = 100 - -attachment_size = 20_000_000 -avatar_size = 4_000_000 -background_size = 6_000_000 -icon_size = 2_500_000 -banner_size = 6_000_000 -emoji_size = 500_000 - -[sentry] -# Configuration for Sentry error reporting -api = "" -events = ""