neocities/app
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
..
activity.rb reduce activity updates to 500 for now (pending optimizations) 2017-06-15 23:50:21 -07:00
admin.rb Stop Forum Spam: Evidence must be direct data, not an abstraction! 2017-01-16 20:33:26 -08:00
api.rb fixes for upload hash check, catch index.html delete scenario 2017-05-21 20:16:37 -07:00
blog.rb redirect blog path to subdomain 2015-07-23 17:27:37 -07:00
browse.rb Don't show edu sites in regular browse 2017-10-10 12:09:11 -07:00
comment.rb refactor app.rb blob to partition routes into files 2014-12-03 08:29:01 -08:00
contact.rb Fix contact for not logged in 2016-12-08 15:39:28 -06:00
create.rb fix for signup captcha check when internet is not available 2017-07-10 10:07:21 -07:00
dashboard.rb no browser cache for dashboard and text editor 2016-04-06 20:23:48 -07:00
dmca.rb fix DMCA typo #198 2015-11-11 01:43:25 -08:00
domain.rb initial contact form for domain registration 2016-02-19 19:37:27 -08:00
event.rb better tos issue reporting, and a threshold for being considered abusive in 2016-11-27 19:21:42 -06:00
index.rb Force case insensitivity for new emails, existing. 2017-12-08 22:13:27 -08:00
mockup.rb disable mockups 2017-07-10 09:06:33 -07:00
password_reset.rb Force case insensitivity for new emails, existing. 2017-12-08 22:13:27 -08:00
plan.rb major refactor of supporter structure 2016-10-18 12:47:58 -05:00
settings.rb Email invoice support 2017-10-04 20:27:24 -07:00
signin.rb add ability to restore deleted sites 2017-06-03 23:43:05 -07:00
site.rb archives: fix for title being set before not found check 2017-07-23 14:21:30 -07:00
site_files.rb upgrades ruby gems, related fixes 2017-05-08 02:54:19 -07:00
supporter.rb raise supporter space to 50GB, BW to 3TB. Compare cleanups 2017-07-07 13:05:43 -07:00
surf.rb 404 the surf page for now 2017-07-10 09:17:38 -07:00
sysops.rb further cleanups to app.rb 2014-12-03 08:50:24 -08:00
tags.rb Fix for tag remove issues 2016-05-07 22:20:23 +00:00
tutorial.rb Edits to tutorial layout pg 2, simplified default html 2016-04-13 15:15:47 -07:00
webhooks.rb Email invoice support 2017-10-04 20:27:24 -07:00