This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
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
disallowed_hashtags_validator.rb
email_mx_validator.rb
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
poll_validator.rb
status_length_validator.rb
status_pin_validator.rb
unique_username_validator.rb
unreserved_username_validator.rb
url_validator.rb
vote_validator.rb