1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app/validators
luigi eb51e43fb4
Optimize some regex matching (#15528)
* Use Regex#match?

* Replace =~ too

* Avoid to call match? from Nil

* Keep value of Regexp.last_match
2021-01-22 10:09:08 +01:00
..
blacklisted_email_validator.rb Optimize some regex matching (#15528) 2021-01-22 10:09:08 +01:00
disallowed_hashtags_validator.rb
domain_validator.rb
ed25519_key_validator.rb
ed25519_signature_validator.rb
email_mx_validator.rb Improve email address validation (#14565) 2020-08-12 12:40:25 +02:00
existing_username_validator.rb Optimize map { ... }.compact calls (#15513) 2021-01-10 00:32:01 +01:00
follow_limit_validator.rb
html_validator.rb Optimize some regex matching (#15528) 2021-01-22 10:09:08 +01:00
import_validator.rb Fix follow limit preventing re-following of a moved account (#14207) 2020-12-18 09:18:31 +01:00
note_length_validator.rb
poll_validator.rb
reaction_validator.rb
registration_form_time_validator.rb Add honeypot fields and minimum fill-out time for sign-up form (#15276) 2020-12-10 06:27:26 +01:00
status_length_validator.rb
status_pin_validator.rb
unique_username_validator.rb
unreserved_username_validator.rb
url_validator.rb
vote_validator.rb