Commit graph

25 commits

Author SHA1 Message Date
Kyle Drake
0ca1473d22 mostly finished port to ruby3 2022-08-10 14:31:36 -05:00
Kyle Drake
69c32d17ed Update gems, modernize test stack, fix flaky tests 2019-09-21 01:19:47 -07:00
Kyle Drake
1fa8aa3a74 try to make capybara wait for a page load to continue running 2019-01-20 00:35:50 -08: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
54422802e5 Switch to directory sharding model for site storage 2017-03-22 17:45:01 -07:00
Kyle Drake
bedc08cb58 mechanism to report spam ips to stopforumspam 2017-01-11 17:16:40 -06:00
Kyle Drake
4fca52e03d fixes for broken/flaky tests and remove unused template 2016-11-22 00:59:31 -06:00
Kyle Drake
52c488a3d7 fixes for tests 2016-05-24 21:44:45 -04:00
Kyle Drake
a2a6a40438 Mandate email validation for free accounts. Be sure to set EMAIL_VALIDATION_CUTOFF_DATE before deploy 2016-05-13 16:48:29 -04:00
Kyle Drake
f753b66ffd try revisiting signup site if failure 2015-09-13 02:31:19 -07:00
Kyle Drake
955e3e86bc use multiformatter for simplecov to get html cov reports back 2015-09-13 02:02:40 -07:00
Kyle Drake
faa738d6c1 yet another attempt at fixing the timing bug 2015-09-13 01:04:51 -07:00
Kyle Drake
69b636d477 theoretical fix for occasional missing field in tests 2015-09-13 00:22:27 -07:00
Kyle Drake
aa56561dff further cleanups to filtering code 2015-07-15 16:23:58 -07:00
Kyle Drake
49defcd0c7 fix tag tests, start on education site creation, updated test code 2015-05-06 14:22:55 -07:00
Kyle Drake
ebc3254724 Add sleep to prevent missing element issue 2015-03-31 13:28:00 -07:00
Kyle Drake
84f4c3b3aa Welcome screen for new users 2015-02-10 19:15:49 -08:00
Kyle Drake
f5faa8877c Clean up valid data test 2015-01-29 15:11:51 -08:00
Kyle Drake
010a1dd994 implement new recaptcha 2014-12-15 12:25:08 -08:00
Kyle Drake
4983a9b24e Cryptographically scramble IPs stored by Neocities
"There is a time when the operation of the machine becomes so odious,
makes you so sick at heart, that you can't take part; you can't even
passively take part, and you've got to put your bodies upon the gears
and upon the wheels, upon the levers, upon all the apparatus, and you've
got to make it stop. And you've got to indicate to the people who run
it, to the people who own it, that unless you're free, the machine will
be prevented from working at all."

Mario Savio
Sproul Hall Steps
University of California, Berkeley
December 3, 1964
2014-11-07 00:41:10 -08:00
Kyle Drake
53d25cba1d use style.css for new installs, refactor new install to use store_file 2014-11-06 14:05:34 -08:00
Kyle Drake
5abfcabe8b more test fixes 2014-10-27 17:25:37 -07:00
Kyle Drake
0ee44a9924 Fix some of the tests.. sort of 2014-10-27 17:16:47 -07:00
Kyle Drake
dbdf55841f fix tests 2014-10-15 15:43:29 -07:00
Kyle Drake
2f73732daa Folders. 2014-08-19 13:44:15 -07:00
Renamed from tests/acceptance_tests.rb (Browse further)