neocities/tests
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
..
acceptance Force case insensitivity for new emails, existing. 2017-12-08 22:13:27 -08:00
fabricators fixes for tests 2016-05-24 21:44:45 -04:00
files Missing xml file for blog feed test 2017-02-07 22:47:35 -08:00
stat_logs try to fix stat_logs dir 2015-09-13 00:52:09 -07:00
workers clean up tests to reflect new purging code 2017-10-15 11:26:42 -07:00
admin_tests.rb pace out the email sending 2015-06-29 13:28:59 -07:00
api_tests.rb update gems, fix warning about must_equal nil test 2017-05-22 18:10:26 -07:00
environment.rb Update gems, remove simplecov/coveralls to prevent crashing issue 2017-12-08 22:08:50 -08:00
ext_tests.rb patch a few missing tests, deprecate server model, fix a few bugs 2014-09-12 19:09:58 -07:00
site_file_tests.rb clean up tests to reflect new purging code 2017-10-15 11:26:42 -07:00
site_tests.rb Switch to directory sharding model for site storage 2017-03-22 17:45:01 -07:00
stat_tests.rb Log stats for log date, rather than processing time. Add daily total 2015-12-22 04:37:16 -06:00
tag_tests.rb forgot a line 2014-09-16 00:44:02 -07:00
tempfile_tests.rb Fix tempfile returning nil for empty files 2017-02-06 11:26:14 -08:00
webhook_tests.rb Switch to directory sharding model for site storage 2017-03-22 17:45:01 -07:00