1
0
Fork 0
forked from fedi/mastodon
mastodon/spec/validators
ThibG 8d217d7231
Improve email address validation (#14565)
* Increase DNS timeout from 1 second to 5 seconds for MX check

1 seconds is rather short when using a recursive DNS resolver which
hasn't got a cached result already available. Use 5 seconds instead,
which is the timeout value we use for outgoing HTTP queries.

* Add more precise error messages for invalid e-mail addresses
2020-08-12 12:40:25 +02:00
..
blacklisted_email_validator_spec.rb Improve email address validation (#14565) 2020-08-12 12:40:25 +02:00
disallowed_hashtags_validator_spec.rb Change admin UI for hashtags and add back whitelisted trends (#11490) 2019-08-05 19:54:29 +02:00
email_mx_validator_spec.rb Add support for IPv6 only MXes in Email validation (#10009) 2019-02-12 14:48:04 +01:00
follow_limit_validator_spec.rb Add specs for FollowLimitValidator (#9655) 2018-12-29 08:24:52 +01:00
poll_validator_spec.rb Allow set the voting period to just 5 minutes (#10525) 2019-04-09 17:02:12 +02:00
reaction_validator_spec.rb Fix validations of reactions limit (#12955) 2020-01-25 16:00:29 +01:00
status_length_validator_spec.rb Add pending specs for StatusLengthValidator (#9647) 2018-12-28 08:18:47 +01:00
status_pin_validator_spec.rb Add specs for StatusPinValidator (#9648) 2018-12-28 18:09:32 +09:00
unique_username_validator_spec.rb Search account domain in lowercase (#13016) 2020-02-01 15:42:24 +01:00
unreserved_username_validator_spec.rb Add specs for UnreservedUsernameValidator (#9698) 2019-01-03 13:10:02 +09:00
url_validator_spec.rb Add specs for UrlValidator (#9699) 2019-01-03 13:10:20 +09:00