sync/www
calzoneman 6e416fea8a Add a hack to detect distrust of Let's Encrypt
Many older devices do not support the Let's Encrypt CA, for various
reasons.  This causes connection issues for sites using Let's Encrypt to
support HTTPS connections.  This commit adds a hack that can be enabled
with a switch in callbacks.js to try to detect when the user's browser
does not trust the certificate and permit the user to connect to an
insecure endpoint instead.

Unfortunately, the AJAX API does not allow to distinguish between *why*
a request fails, so the best we can do is detect that the HTTPS request
failed, try to make a request over plain HTTP, and if it works, assume
the HTTPS request failed due to a certificate error.  It's not 100%
foolproof since the HTTPS endpoint could just be down for some reason,
but it should work well enough in most cases.

Closes #602
2016-07-17 16:30:35 -07:00
..
css Make EmoteList self-contained instead of referencing globals 2016-03-29 23:31:02 -07:00
img Resolve #343 2014-04-14 19:22:01 -05:00
js Add a hack to detect distrust of Let's Encrypt 2016-07-17 16:30:35 -07:00
StrobeMediaPlayback.swf Change Vimeo fallback player 2014-03-07 20:37:20 -06:00
boop.wav Directory cleanup 2014-02-18 22:00:56 -06:00
video-js.swf Upgrade to video.js 5.0 2015-10-17 18:45:13 -07:00