mastodon/app/validators
Eugen Rochko 555c4e11ba
Add validations to admin settings (#10348)
* Add validations to admin settings

- Validate correct HTML markup
- Validate presence of contact username & e-mail
- Validate that all usernames are valid
- Validate that enums have expected values

* Fix code style issue

* Fix tests
2019-03-23 14:07:04 +01:00
..
blacklisted_email_validator.rb Add specs for BlackListedEmailValidator (#9651) 2018-12-29 07:23:44 +01:00
disallowed_hashtags_validator.rb Add specs for DisallowedHashtagsValidator (#9653) 2018-12-29 07:22:51 +01:00
email_mx_validator.rb Add support for IPv6 only MXes in Email validation (#10009) 2019-02-12 14:48:04 +01:00
existing_username_validator.rb Add validations to admin settings (#10348) 2019-03-23 14:07:04 +01:00
follow_limit_validator.rb
html_validator.rb Add validations to admin settings (#10348) 2019-03-23 14:07:04 +01:00
note_length_validator.rb Change note length validation to ignore mention domains and URLs (#9717) 2019-01-05 07:16:46 +01:00
poll_validator.rb Fix poll validation issues (#10186) 2019-03-06 04:54:11 +01:00
status_length_validator.rb Add pending specs for StatusLengthValidator (#9647) 2018-12-28 08:18:47 +01:00
status_pin_validator.rb
unique_username_validator.rb
unreserved_username_validator.rb Add specs for UnreservedUsernameValidator (#9698) 2019-01-03 13:10:02 +09:00
url_validator.rb Change note length validation to ignore mention domains and URLs (#9717) 2019-01-05 07:16:46 +01:00
vote_validator.rb Fix vote validation for polls with multiple choices (#10138) 2019-03-03 23:41:30 +01:00