Commit Graph

13 Commits (d6c6431e5c61b39bbf9f7fed3f4b814c5cc6e65c)

Author SHA1 Message Date
Hinaloe da343470c4 Allow set the voting period to just 5 minutes ()
* Add spec of PollValidator for 

* Raise fraction less than 1 second

* format

* simplify time initialize
2019-04-09 17:02:12 +02:00
Franck Zoccolo ffe97d5dda Add support for IPv6 only MXes in Email validation ()
* Add support for IPv6 only MXes

* Fixed email validator tests
2019-02-12 14:48:04 +01:00
ysksn cd51dfdd76 Add specs for UrlValidator () 2019-01-03 13:10:20 +09:00
ysksn 3cab7b9a17 Add specs for UnreservedUsernameValidator ()
* Add specs for UnreservedUsernameValidator

* Use instance variable
2019-01-03 13:10:02 +09:00
ysksn 41afd670c9 Add specs for FollowLimitValidator () 2018-12-29 08:24:52 +01:00
ysksn 5eb6d7e3e0 Add specs for BlackListedEmailValidator ()
* Add specs for BlackListedEmailValidator

* Use instance variable
2018-12-29 07:23:44 +01:00
ysksn a3b4684435 Add specs for DisallowedHashtagsValidator ()
In order to implement tests easier, `#select_tags` created.
2018-12-29 07:22:51 +01:00
ysksn 44c1647ea1 Add specs for StatusPinValidator () 2018-12-28 18:09:32 +09:00
ysksn c4559969b4 Add pending specs for StatusLengthValidator ()
* Add pending specs of StatusLengthValidator

* Use instance variable
2018-12-28 08:18:47 +01:00
Eugen Rochko 8d3910afdd Improve e-mail MX validator and add tests () 2018-12-10 22:53:25 +01:00
ysksn 994c20699c Remove pending spec ()
Since dots are not allowed in username,
this spec is no longer needed.
2018-12-07 16:38:50 +01:00
unarist 0fb7252ac4 Add a spec for UniqueUsernameValidator ()
Note that this spec has a pending test about dots in the username,
because allowing it has been reverted for now.
2018-03-27 05:22:58 +02:00
Eugen Rochko 39b0588256 Count all URLs in text as 23 characters flat, do not count domain part of usernames ()
* Count all URLs in text as 23 characters flat, do not count domain part of usernames

* Add new status text counting logic to web UI
2017-07-29 00:06:29 +02:00