Commit graph

12 commits

Author SHA1 Message Date
calzoneman
c28dc0d3d2 Fix #489
Channels are occasionally plagued by trolls who confuse users by
"hijacking" names of other users in the channel.  This is accomplished
by replacing certain letters with visually similar letters (in fact,
indistinguishable in some sans-serif fonts), e.g. replacing lowercase
'l' with capital 'I'

This commit replaces capital 'I', lowercase 'l', digit '1', lowercase
'o', uppercase 'O', and digit '0' with '_' and changes the matching for
isUsernameTaken() to a LIKE query.  Since '_' is a single character
wildcard, this causes the database to treat a username with one of these
simple replacements as already registered.
2015-06-19 16:44:25 -04:00
calzoneman
b579db5310 Change login sessions 2015-02-20 18:53:02 -06:00
Calvin Montgomery
4b8681c2a4 Don't break if the profile is corrupt 2014-12-14 21:53:25 -05:00
Calvin Montgomery
9ea48f58cf Merge refactoring into 3.0 2014-05-20 19:30:14 -07:00
calzoneman
55b6e99896 Limit user registrations 2014-02-09 19:52:24 -06:00
calzoneman
87b40b679a Refactor database tables init; make 2.x import script 2014-02-08 00:55:45 -06:00
calzoneman
e33c6c7860 Fix register 2014-01-25 16:59:25 -06:00
calzoneman
ead38a9d35 Work on account channels interface; Start work on /account/profile 2013-12-26 23:38:35 -05:00
calzoneman
47af1d4892 More database refactoring 2013-12-13 20:39:21 -06:00
calzoneman
cfd1b0618d Do a bit of intermediate database work 2013-12-12 16:28:30 -06:00
calzoneman
8d2587cebd Implement get/setProfile 2013-12-12 14:27:18 -06:00
calzoneman
a821498298 Begin the long process of refactoring the database 2013-12-11 22:20:21 -06:00