29 Commits

Author SHA1 Message Date
ccd0
ad9c3df4dc Help out decaffeinate. #829 2016-10-01 03:18:22 -07:00
ccd0
de0d779029 Set style properties to empty string to clear them, not null. #544 2016-09-10 21:06:25 -07:00
ccd0
e8276ca800 Use the &altc=1 report form but substitute our own captcha options.
Also
- fix tab order in report form
- focus on captcha in report form
- extend refresh on image click / backspace to original post form
- support language setting for v1 (#458)
2016-01-30 00:24:59 -08:00
ccd0
c8ff3f0bcd $.globalEval -> $.global in Captcha.v1. 2016-01-29 21:53:12 -08:00
ccd0
ba1f466e8f Fix captcha not refocusing when QR is autohidden and first try is wrong. #635 2015-11-25 19:13:15 -08:00
ccd0
9231c8e9dc Testing current focus in setup() wasn't flexible enough. 2015-11-20 18:46:04 -08:00
ccd0
8f88c58a99 Use captchas closer to expiring first. #618 2015-11-17 21:33:33 -08:00
ccd0
712a159816 Update captcha count when captchas expire. 2015-11-17 21:07:01 -08:00
ccd0
d6e16c8eac Captcha should steal focus from submit button or body only. 2015-11-17 20:10:19 -08:00
ccd0
9407af1f65 Fix cached captchas causing errors when we switch between captcha types. 2015-08-14 12:17:21 -07:00
ccd0
3aea135524 Captcha must be replaced before container is observed. 2015-06-30 08:50:46 -07:00
ccd0
f00bb45c4e Take 2 at preventing momentary display of previous image when setting up captcha for a second time. 2015-06-29 02:59:38 -07:00
ccd0
456123fa70 Code cleanup. 2015-06-28 18:58:41 -07:00
ccd0
ee9b589a5f Prevent momentary display of previous image when setting up captcha for a second time. 2015-06-28 18:54:23 -07:00
ccd0
132a75b800 Prevent 4chan from hiding the default captcha controls.
Also don't show image in QR in case of audio captcha selection.
2015-06-28 18:45:09 -07:00
ccd0
dcc70d9fd6 Set the tabindex for the v1 captcha. 2015-06-28 16:56:58 -07:00
ccd0
1a19b54c49 Share captcha with original post form. 2015-06-23 01:06:09 -07:00
ccd0
244d40cd93 Implement replacement of captchas with v1 everywhere. 2015-06-22 23:15:39 -07:00
ccd0
7ea5bf79a1 Generalize Recaptcha.v1 script setup to something we can use outside the Quick Reply. 2015-06-22 22:19:55 -07:00
ccd0
44b791b9d9 Captcha caching is possible in v1; I was just doing it wrong. 2015-06-21 17:33:15 -07:00
ccd0
8072a44599 Revert "Captcha caching doesn't work on v1; remove it."
This reverts commit dcc76472932971727d8cd1bf60bf7ba6fd06460d.
2015-06-21 17:18:39 -07:00
ccd0
96b8df852a Add CSS class to QR to distinguish v1 from v2 captcha. 2015-06-21 11:41:35 -07:00
ccd0
dcc7647293 Captcha caching doesn't work on v1; remove it. 2015-06-21 10:02:15 -07:00
ccd0
cbc12dfac6 Fix detection of forgotten captcha. 2015-06-21 09:36:34 -07:00
ccd0
e3fcf3d3a1 This should have $.forceSync.
Moot now but will matter if caching comes back and we revert the removal.
2015-06-21 09:04:01 -07:00
ccd0
f49e4aab26 Wait for post submission before reloading captcha.
Google seems to have disallowed captcha caching for v1.
2015-06-21 08:59:47 -07:00
ccd0
54ef84b372 Don't setup captcha before captchas array exists. 2015-06-21 08:55:36 -07:00
ccd0
1892ad1973 Integrate v1 captcha into current QR code. 2015-04-18 21:27:37 -07:00
ccd0
c7433d9271 Merge branch 'old-captcha'; allow selection of old or new captcha. 2014-12-10 01:53:33 -08:00