Kyle Drake
249ea7a2d0
Support for site file and directory renaming / moving
2019-02-03 05:05:47 -08:00
valtron
8d0e339f72
api: include file sha1 hash in /api/list ( #252 )
2019-01-23 18:07:17 -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
b2e1c8bb61
fix for the broken stripe mock in test
2019-01-19 03:03:00 -08:00
Kyle Drake
b250b19bbb
fix stat tests
2018-12-02 00:14:34 -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
33054a8298
Update gems, remove simplecov/coveralls to prevent crashing issue
2017-12-08 22:08:50 -08:00
Kyle Drake
9d3b86302d
clean up tests to reflect new purging code
2017-10-15 11:26:42 -07:00
Kyle Drake
c9ba1cf0f4
add ability to restore deleted sites
2017-06-03 23:43:05 -07:00
Kyle Drake
4d397df015
update gems, fix warning about must_equal nil test
2017-05-22 18:10:26 -07:00
Kyle Drake
bf089379aa
fixes for upload hash check, catch index.html delete scenario
2017-05-21 20:16:37 -07:00
Kyle Drake
4a2926508e
api: add upload_hash for checking file hash before uploading
2017-05-21 17:32:26 -05:00
Kyle Drake
9f8afbd18e
ability to return api key from api using login
2017-05-13 18:31:51 -05:00
Kyle Drake
1274e9fa63
API key support
2017-05-13 18:18:34 -05:00
Kyle Drake
d6f51a1cbb
fix failing tests
2017-04-02 13:59:14 -07:00
Kyle Drake
ff5e424c4b
Fix missing shard_dir link in thumbnail test
2017-03-30 15:41:39 -07:00
Kyle Drake
26a53995db
Clean up junk from previous tests when running new tests
2017-03-30 15:40:36 -07:00
Kyle Drake
29a6e95a2a
Disable site file max hard check, getting too slow
2017-03-30 15:40:12 -07:00
Kyle Drake
54422802e5
Switch to directory sharding model for site storage
2017-03-22 17:45:01 -07:00
Kyle Drake
b556795f78
Missing xml file for blog feed test
2017-02-07 22:47:35 -08:00
Kyle Drake
28a71d275a
Tests for paypal tipping webhook
2017-02-07 22:46:39 -08:00
Kyle Drake
e52aa29290
Fix tempfile returning nil for empty files
...
This is an "monkey patch" to have Tempfile return 0 instead of nil when
a tempfile is empty. This has caused an unexplained exception in our
logs for years, and I was really surprised when I caught it, and more
surprised that nobody has ever reported it to us before.
I really think this is a bug, and have filed it as a bug on the ruby
tracker. I haven't seen any consequences (yet) to doing this, so I'm
just going to run with it and see what happens. If it blows
something up (how? what scenario?), I'll try a different approach.
2017-02-06 11:26:14 -08:00
Kyle Drake
28000fc73c
Send email notifications for email and password changes
2017-02-04 11:31:48 -08:00
Kyle Drake
0428a1246e
Fix for cache purging for subdir default indexes
2017-01-29 00:00:25 -08:00
Kyle Drake
46b402a633
Fix up index test, stub blog rss feed get
2017-01-26 00:31:22 -08:00
Kyle Drake
be2c2598c7
Flush password reset token when email changes
2017-01-25 20:45:00 -08: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
3272b16f47
whitelisting for education
2016-11-14 15:49:09 -06:00
Kyle Drake
882d2fb4b2
fix for api 404
2016-10-26 21:34:53 -05:00
Kyle Drake
d5493d4d23
fix tests for new code
2016-10-23 13:05:10 -05:00
Kyle Drake
2c88c62cbc
major refactor of supporter structure
2016-10-18 12:47:58 -05:00
Kyle Drake
4ca2e3f443
finish merge on cleaned up news feed
2016-07-29 14:10:29 -07:00
Kyle Drake
c33a8a86b1
fix escaping issues for file deletion
2016-06-30 15:29:23 -07:00
Kyle Drake
68e4424725
Fix for deletion with regexp escape chars
2016-06-29 12:58:46 -07:00
Kyle Drake
8473b99d56
checkin of initial letsencrypt code
2016-06-16 01:42:16 -07:00
Kyle Drake
52c488a3d7
fixes for tests
2016-05-24 21:44:45 -04:00
Kyle Drake
6b88c8339d
Merge branch 'emailvalidation'
2016-05-14 23:21:22 -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
5014083277
Mock redis for tests
2016-05-13 16:47:02 -04:00
Kyle Drake
05e5b3998b
username lookup tool
2016-04-11 17:57:51 -07:00
Kyle Drake
fd3a7ccabc
major improvements and testing for password reset
2016-04-07 15:30:43 -07:00
Kyle Drake
02ecd19f58
provide latest ipfs hash for api
2016-04-06 20:51:54 -07:00
Kyle Drake
bbe57750da
New API method: /api/list
2016-02-12 19:07:24 -08:00
Kyle Drake
fcb86b185e
Record dashboard access
2016-02-08 00:54:08 -08:00
Kyle Drake
aeb5fe4e34
change name downcases username check
2016-01-23 14:36:47 -08:00
Kyle Drake
393fc4a63d
Merge branch 'master' into paypalrecurring
2016-01-21 17:21:22 -08:00
Kyle Drake
ad89bf4187
Check in working Gemfile.lock due to dep problems
2016-01-21 17:14:45 -08:00
Kyle Drake
b878417ee0
merge master with paypalrecurring
2016-01-19 11:29:12 -08:00
Kyle Drake
a37586bad4
step back on classifier for now
2016-01-15 20:20:16 -08:00