discourse/lib/validators
Guo Xiang Tan 142571bba0 Remove use of `rescue nil`.
* `rescue nil` is a really bad pattern to use in our code base.
  We should rescue errors that we expect the code to throw and
  not rescue everything because we're unsure of what errors the
  code would throw. This would reduce the amount of pain we face
  when debugging why something isn't working as expexted. I've
  been bitten countless of times by errors being swallowed as a
  result during debugging sessions.
2018-04-02 13:52:51 +08:00
..
allow_user_locale_enabled_validator.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
allowed_ip_address_validator.rb Improve IP blocking error message 2015-06-02 07:48:26 +05:30
alternative_reply_by_email_addresses_validator.rb BUG: Load the appropriate file for AlternativeReplyByEmailAddressesValidator 2017-12-19 09:43:41 +11:00
censored_words_validator.rb Remove censored_pattern site setting, which is replaced by watched words 2018-02-26 16:29:27 -05:00
email_setting_validator.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
email_validator.rb SECURITY: email domain whitelist could be bypassed 2018-01-17 21:45:32 +01:00
enable_local_logins_via_email_validator.rb FEATURE: login by a link from email 2018-02-13 16:14:39 +08:00
enable_private_email_messages_validator.rb Support for sending PMs to email addresses (#4988) 2017-08-28 12:07:30 -04:00
enable_sso_validator.rb FIX: verify presence of 'sso url' before enabling 'enable sso' 2017-12-23 13:30:49 +05:30
integer_setting_validator.rb FIX: bump default max for int site settings to a much higher number 2017-08-24 10:16:41 -04:00
ip_address_format_validator.rb Drop Rails3 support 2014-02-17 19:42:08 +01:00
max_emojis_validator.rb FIX: do not treat :: as a valid emoji 2018-03-05 15:35:24 +01:00
password_validator.rb FIX: Password required flag should be cleared whenever clearing the raw password (#5384) 2017-12-01 15:19:24 +11:00
pop3_polling_enabled_setting_validator.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
post_validator.rb UX: when a post is blocked due to a watched word, message includes the word being blocked 2018-02-28 11:22:18 -05:00
quality_title_validator.rb refactor Topic validation 2013-05-22 22:31:52 -07:00
regex_presence_validator.rb FIX: validate presence of 'top menu' setting 2018-01-17 01:43:53 +05:30
regex_setting_validation.rb allow regex options on username site settings 2017-10-04 15:08:51 -04:00
regex_setting_validator.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
reply_by_email_address_validator.rb FIX: 'reply by email addresses' site settings should allow email addresses without a 'reply_key' when 'find related post with key' is disabled 2018-03-02 17:53:18 +01:00
reply_by_email_enabled_validator.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
sso_overrides_email_validator.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
string_setting_validator.rb allow regex options on username site settings 2017-10-04 15:08:51 -04:00
stripped_length_validator.rb FIX: less crazy error when post exceeds max length. 2014-07-04 16:39:15 +10:00
topic_title_length_validator.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
unique_among_validator.rb refactor Topic validation 2013-05-22 22:31:52 -07:00
upload_url_validator.rb Remove use of `rescue nil`. 2018-04-02 13:52:51 +08:00
upload_validator.rb FEATURE: New site setting for additional allowed filetypes for staff (#5364) 2018-02-19 10:44:24 +01:00
url_validator.rb Treat non-ascii URLs in `UrlValidator`. 2017-12-21 14:22:55 +08:00
user_full_name_validator.rb FEATURE: make full names a required field of user profiles with the full_name_required setting 2015-04-02 17:08:04 -04:00
username_setting_validator.rb allow regex options on username site settings 2017-10-04 15:08:51 -04:00