You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/validators
Sasha Sorokin 37b3985bfa
Improve polls: option lengths & redesign (#13257)
This commit redesign the polls and increases characters limit for the
options from 25 to 50 characters, giving pollsters more freedom.

Summarizing, the redesign is making the polls more adaptive for upcoming
changes to the options characters limit: the bar, or a "chart", is now
displayed separately from the option itself; vote check mark is moved
next to the option text, making the percentages take less space. Option
lengths are taken into account and text is wrapped to multiple lines
if necessary to avoid overflow.
5 years ago
..
blacklisted_email_validator.rb Fix “invited by” not showing up for invited accounts in admin interface (#10791) 6 years ago
disallowed_hashtags_validator.rb Change admin UI for hashtags and add back whitelisted trends (#11490) 6 years ago
domain_validator.rb Fix uncaught domain normalization error in remote follow (#11703) 6 years ago
email_mx_validator.rb Fix encoding error when checking e-mail MX records (#11696) 6 years ago
existing_username_validator.rb Fix admin validation being too strict about usernames (#10449) 6 years ago
follow_limit_validator.rb Fix follow limit validator reporting lower number past threshold (#9230) 6 years ago
html_validator.rb Change HTML validator to ignore all errors except unmatched tags (#10534) 6 years ago
note_length_validator.rb Change note length validation to ignore mention domains and URLs (#9717) 6 years ago
poll_validator.rb Improve polls: option lengths & redesign (#13257) 5 years ago
reaction_validator.rb Fix validations of reactions limit (#12955) 5 years ago
status_length_validator.rb Add pending specs for StatusLengthValidator (#9647) 6 years ago
status_pin_validator.rb Allow more than the max pins if account is not local (#7105) 7 years ago
unique_username_validator.rb Search account domain in lowercase (#13016) 5 years ago
unreserved_username_validator.rb Add specs for UnreservedUsernameValidator (#9698) 6 years ago
url_validator.rb Change note length validation to ignore mention domains and URLs (#9717) 6 years ago
vote_validator.rb Fix invalid votes from the API being accepted (#12601) 5 years ago