catstodon/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 Fix follow limit validator reporting lower number past threshold (#9230) 2018-11-08 21:06:01 +01:00
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 Allow more than the max pins if account is not local (#7105) 2018-04-12 20:36:02 +02:00
unique_username_validator.rb Fix UniqueUsernameValidator comparison (#6926) 2018-03-27 04:33:57 +02:00
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