Commit graph

8 commits

Author SHA1 Message Date
Kyle Drake
0ca1473d22 mostly finished port to ruby3 2022-08-10 14:31:36 -05:00
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
Kyle Drake
c9ba1cf0f4 add ability to restore deleted sites 2017-06-03 23:43:05 -07:00
Kyle Drake
54a5a8b30f unused code in signin test 2015-01-19 10:28:36 -08:00
Kyle Drake
5abfcabe8b more test fixes 2014-10-27 17:25:37 -07:00
Kyle Drake
dbdf55841f fix tests 2014-10-15 15:43:29 -07:00
Kyle Drake
d3c1546d45 start on accounts using site context, improved settings page, clean up space representation 2014-10-07 02:22:08 +02:00
Kyle Drake
2f73732daa Folders. 2014-08-19 13:44:15 -07:00