fedibird-fe/app/validators
Eugen Rochko 230a012f00
Add polls (#10111)
* Add polls

Fix #1629

* Add tests

* Fixes

* Change API for creating polls

* Use name instead of content for votes

* Remove poll validation for remote polls

* Add polls to public pages

* When updating the poll, update options just in case they were changed

* Fix public pages showing both poll and other media
2019-03-03 22:18:23 +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
follow_limit_validator.rb Fix follow limit validator reporting lower number past threshold (#9230) 2018-11-08 21:06:01 +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 Add polls (#10111) 2019-03-03 22:18:23 +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 Add polls (#10111) 2019-03-03 22:18:23 +01:00