discourse/lib/validators
Guo Xiang Tan 6ecf37c482 Improve URL validation to check for a valid host.
Parsing a URL with `URI` is not sufficient as the following cases
are considered valid:

URI.parse("http://https://google.com")
=> #<URI::HTTP http://https//google.com>
2017-12-21 13:50:15 +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 FEATURE: Watched Words: when posts contain words, do one of flag, require approval, censor, or block 2017-07-26 11:01:09 -04:00
email_setting_validator.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
email_validator.rb FIX: respect email domain whitelist/blacklist when creating staged users 2017-10-03 16:36:08 +02:00
enable_private_email_messages_validator.rb Support for sending PMs to email addresses (#4988) 2017-08-28 12:07:30 -04:00
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
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 Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
quality_title_validator.rb refactor Topic validation 2013-05-22 22:31:52 -07:00
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 Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09: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 Revert "FIX: wasn't able to update category's settings" 2016-09-22 11:29:44 +08:00
upload_validator.rb FEATURE: new 'allow_staff_to_upload_any_file_in_pm' site setting 2017-06-12 22:41:29 +02:00
url_validator.rb Improve URL validation to check for a valid host. 2017-12-21 13:50:15 +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