neocities/models
Kyle Drake d467e9be96 Force case insensitivity for new emails, existing.
There is a legacy bug I just caught, where many accounts would have the
same email but then have different casing. In extreme scenarios, this
would lead to them creating a new user with the same email, or having
issues with password reset and username lookup.

This doesn't merge in the existing duplicates, but makes sure to only
allow insensitive lowercase emails from here on out. It also will check
for emails in a case insensitive way for such things as resets and
logins if the sensitive lookup doesn't work.

The implementation was not wrong per se - email is supposed to be case sensitive
for usernames. But of course, nobody (nor do most/all email servers) treat
them that way, leading to confusion situations where the user sometimes
camelcases their email and then switches to lowercase later.
2017-12-08 22:13:27 -08:00
..
archive.rb ipfs: archive every 10 minutes, allow disabling, make archives public 2017-07-20 13:42:30 -07:00
block.rb add social schema, associations 2014-04-16 15:16:36 -07:00
blocked_ip.rb block ips rake task 2014-08-11 04:21:25 -07:00
comment.rb upgrades ruby gems, related fixes 2017-05-08 02:54:19 -07:00
comment_like.rb comment liking 2014-05-05 11:58:11 -07:00
daily_site_stat.rb Log stats for log date, rather than processing time. Add daily total 2015-12-22 04:37:16 -06:00
event.rb fix deleted comments not being hidden 2017-07-12 09:16:40 -07:00
follow.rb fixes for follows, initial follow event code 2014-05-08 08:47:28 -07:00
like.rb tooltip showing who likes an event 2014-05-02 01:46:18 -07:00
profile_comment.rb fixes for follows, initial follow event code 2014-05-08 08:47:28 -07:00
report.rb implement site reporting 2014-06-14 16:15:47 -07:00
simple_cache.rb more copy fixes 2014-04-23 15:07:00 -07:00
site.rb Force case insensitivity for new emails, existing. 2017-12-08 22:13:27 -08:00
site_change.rb 24 hours for site changes 2014-12-23 16:37:22 -08:00
site_change_file.rb site change and file recording, better share support 2014-06-04 18:05:29 -07:00
site_file.rb Fix for deletion with regexp escape chars 2016-06-29 12:58:46 -07:00
stat.rb support for multiple cache purge ips in stats parsing 2017-06-16 22:21:58 -07:00
stat_location.rb finish up pruning for stats 2015-05-02 14:34:21 -07:00
stat_path.rb finish up pruning for stats 2015-05-02 14:34:21 -07:00
stat_referrer.rb finish up pruning for stats 2015-05-02 14:34:21 -07:00
tag.rb Fix for tag test issues 2016-05-13 16:42:11 -04:00
tip.rb Code to display tips submitted on news feed 2017-02-07 22:45:29 -08:00