class Config

Included Modules

Defined in:

invidious/helpers/helpers.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Class Method Detail

def self.load #

[View source]

Instance Method Detail

def admins : Array(String) #

[View source]
def admins=(admins : Array(String)) #

[View source]
def banner : String | Nil #

[View source]
def banner=(banner : String | Nil) #

[View source]
def cache_annotations : Bool #

[View source]
def cache_annotations=(cache_annotations : Bool) #

[View source]
def captcha_api_url : String #

[View source]
def captcha_api_url=(captcha_api_url : String) #

[View source]
def captcha_enabled : Bool #

[View source]
def captcha_enabled=(captcha_enabled : Bool) #

[View source]
def captcha_key : String | Nil #

[View source]
def captcha_key=(captcha_key : String | Nil) #

[View source]
def channel_threads : Int32 #

[View source]
def channel_threads=(channel_threads : Int32) #

[View source]
def check_tables : Bool #

[View source]
def check_tables=(check_tables : Bool) #

[View source]
def cookies : HTTP::Cookies #

[View source]
def cookies=(cookies : HTTP::Cookies) #

[View source]
def database_url : URI #

[View source]
def database_url=(database_url : URI) #

[View source]
def db : DBConfig | Nil #

[View source]
def db=(db : DBConfig | Nil) #

[View source]
def decrypt_polling : Bool #

[View source]
def decrypt_polling=(decrypt_polling : Bool) #

[View source]
def default_user_preferences : ConfigPreferences #

[View source]
def default_user_preferences=(default_user_preferences : ConfigPreferences) #

[View source]
def disable_proxy : Bool | Nil | Array(String) | Nil #

[View source]
def disable_proxy=(disable_proxy : Bool | Nil | Array(String) | Nil) #

[View source]
def disabled?(option) #

[View source]
def dmca_content : Array(String) #

[View source]
def dmca_content=(dmca_content : Array(String)) #

[View source]
def domain : String | Nil #

[View source]
def domain=(domain : String | Nil) #

[View source]
def external_port : Int32 | Nil #

[View source]
def external_port=(external_port : Int32 | Nil) #

[View source]
def feed_threads : Int32 #

[View source]
def feed_threads=(feed_threads : Int32) #

[View source]
def force_resolve : Socket::Family #

[View source]
def force_resolve=(force_resolve : Socket::Family) #

[View source]
def full_refresh : Bool #

[View source]
def full_refresh=(full_refresh : Bool) #

[View source]
def hmac_key : String | Nil #

[View source]
def hmac_key=(hmac_key : String | Nil) #

[View source]
def host_binding : String #

[View source]
def host_binding=(host_binding : String) #

[View source]
def hsts : Bool | Nil #

[View source]
def hsts=(hsts : Bool | Nil) #

[View source]
def https_only : Bool | Nil #

[View source]
def https_only=(https_only : Bool | Nil) #

[View source]
def log_level : LogLevel #

[View source]
def log_level=(log_level : LogLevel) #

[View source]
def login_enabled : Bool #

[View source]
def login_enabled=(login_enabled : Bool) #

[View source]
def output : String #

[View source]
def output=(output : String) #

[View source]
def pool_size : Int32 #

[View source]
def pool_size=(pool_size : Int32) #

[View source]
def popular_enabled : Bool #

[View source]
def popular_enabled=(popular_enabled : Bool) #

[View source]
def port : Int32 #

[View source]
def port=(port : Int32) #

[View source]
def registration_enabled : Bool #

[View source]
def registration_enabled=(registration_enabled : Bool) #

[View source]
def statistics_enabled : Bool #

[View source]
def statistics_enabled=(statistics_enabled : Bool) #

[View source]
def use_pubsub_feeds : Bool | Int32 #

[View source]
def use_pubsub_feeds=(use_pubsub_feeds : Bool | Int32) #

[View source]
def use_quic : Bool #

[View source]
def use_quic=(use_quic : Bool) #

[View source]