mirror of
https://github.com/discourse/discourse.git
synced 2025-08-20 18:52:44 +08:00
This removes all uses of both `send` and `public_send` from consumers of SiteSetting and instead introduces a `get` helper for dynamic lookup This leads to much cleaner and safer code long term as we are always explicit to test that a site setting is really there before sending an arbitrary string to the class It also removes a couple of risky stubs from the auth provider test |
||
---|---|---|
.. | ||
allow_user_locale_enabled_validator.rb | ||
allowed_ip_address_validator.rb | ||
alternative_reply_by_email_addresses_validator.rb | ||
category_search_priority_weights_validator.rb | ||
censored_words_validator.rb | ||
color_list_validator.rb | ||
email_setting_validator.rb | ||
email_validator.rb | ||
enable_invite_only_validator.rb | ||
enable_local_logins_via_email_validator.rb | ||
enable_private_email_messages_validator.rb | ||
enable_sso_validator.rb | ||
external_system_avatars_validator.rb | ||
group_setting_validator.rb | ||
integer_setting_validator.rb | ||
ip_address_format_validator.rb | ||
max_emojis_validator.rb | ||
max_username_length_validator.rb | ||
min_username_length_validator.rb | ||
password_validator.rb | ||
pop3_polling_enabled_setting_validator.rb | ||
post_validator.rb | ||
quality_title_validator.rb | ||
regex_presence_validator.rb | ||
regex_setting_validation.rb | ||
regex_setting_validator.rb | ||
reply_by_email_address_validator.rb | ||
reply_by_email_enabled_validator.rb | ||
sso_overrides_email_validator.rb | ||
string_setting_validator.rb | ||
stripped_length_validator.rb | ||
topic_title_length_validator.rb | ||
unicode_username_validator.rb | ||
unicode_username_whitelist_validator.rb | ||
unique_among_validator.rb | ||
upload_validator.rb | ||
url_validator.rb | ||
user_full_name_validator.rb | ||
username_setting_validator.rb |