833 Commits

Author SHA1 Message Date
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
7edf0eda95 Work around SeaMonkey desktop notifications bug. #383 2015-06-28 19:33:47 -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
2cfec41c16 Don't remove captcha upon leaving form; more annoying than useful. 2015-06-28 16:43:00 -07:00
ccd0
4b39229888 Merge branch 'v1-original' 2015-06-28 15:44:49 -07:00
ccd0
019ac5733d Support toggling captcha with space bar. 2015-06-24 21:55:44 -07:00
ccd0
1a19b54c49 Share captcha with original post form. 2015-06-23 01:06:09 -07:00
ccd0
f27b240b6e This ought to set the tabindex on the captcha, but for some reason it doesn't. 2015-06-22 23:43:57 -07:00
ccd0
9e5daa700a Recaptcha v1 is not yet accepted on /feedback or /banned. 2015-06-22 23:28:03 -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
12e44e0ca5 Move 'Use Recaptcha v2 in Reports' into Captcha.replace. 2015-06-22 21:15:39 -07:00
ccd0
5dec400267 Captcha.language -> Captcha.replace 2015-06-22 21:03:30 -07:00
ccd0
bf461e1d6a Merge Captcha.language.fixPage into init. 2015-06-22 20:54:17 -07:00
ccd0
3540745689 Assume v1 noscript captcha has same lifetime as v1 JS captcha. 2015-06-21 17:34:20 -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
395726aef0 Set timeout to 10 minutes until I find out what it really is. 2015-06-21 14:41:22 -07:00
ccd0
f69cee50e4 Fix issue with iframe targetWindow not being immediately available. 2015-06-21 14:40:26 -07:00
ccd0
b937825747 Implement v1 noscript captcha. 2015-06-21 13:11:08 -07:00
ccd0
0a97248c99 Restore Captcha.noscript.coffee (Merge branch 'dummy' into noscript-v1) 2015-06-21 11:48:13 -07:00
ccd0
2331a7e608 Skip the anti-scrolling code for v1. 2015-06-21 11:45:15 -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
2762363093 Merge branch 'master' into v1
Conflicts:
	src/Posting/QR.coffee
2015-06-21 08:18:29 -07:00
ccd0
29fe77e7f6 Add noscript-captcha class to QR if using noscript captcha. 2015-06-20 22:58:22 -07:00
ccd0
19c595ed7c Fix focusing on submit button when using new noscript captcha. 2015-06-20 22:41:34 -07:00
ccd0
26e38c17b1 Remove remaining obsolete noscript captcha code. 2015-06-20 22:16:17 -07:00
ccd0
43ae6354f3 Spell out 'Comma' and 'Period' in keybinds. 2015-06-20 22:00:39 -07:00
ccd0
ec61bf9d6a Add tooltips showing the keys to toggle an image. 2015-06-20 21:55:23 -07:00
ccd0
71d2460224 Support toggling images with numbers (as arranged on numpad) or UIOJKLM,. keys. 2015-06-20 21:43:37 -07:00
ccd0
f45a55f46a Use Keybinds.keyCode in Captcha.fixes. 2015-06-20 21:17:37 -07:00
ccd0
614d3a3e40 Use refresh button as position when nothing has focus. 2015-06-20 20:42:37 -07:00
ccd0
07fa6e944e Move form checking to named function. 2015-06-20 20:01:54 -07:00
ccd0
cde281cdf6 Prevent noscript captcha submission when no checkboxes are checked.
Google gives an obnoxious error page instead of reloading in this case.
2015-06-20 19:53:20 -07:00
ccd0
d8ba3e1708 Don't run noscript captcha stuff on error pages. 2015-06-20 19:45:03 -07:00
ccd0
83ce9c1cfe Extend arrow key navigation to noscript captcha. 2015-06-20 19:33:48 -07:00
ccd0
d34944e1c4 No need to prevent scrolling when using noscript captcha. 2015-06-20 18:45:28 -07:00
ccd0
fc90b895ef Add option to set captcha language. 2015-06-20 16:56:53 -07:00
ccd0
9538fa5cd7 Allow clicking the image in noscript captcha rather than the checkbox. 2015-06-20 11:30:46 -07:00
ccd0
69c882f9bf Merge branch 'bstable'
Conflicts:
	builds/4chan-X-beta.crx
	builds/4chan-X-beta.meta.js
	builds/4chan-X-beta.user.js
	builds/4chan-X-noupdate.crx
	builds/4chan-X-noupdate.user.js
	builds/4chan-X.crx
	builds/4chan-X.meta.js
	builds/4chan-X.user.js
	builds/4chan-X.zip
	builds/updates-beta.xml
	builds/updates.xml
	package.json
2015-06-19 15:54:14 -07:00
ccd0
0c3b09c39c Measure expiry time for pasted captchas from time of paste. #407
Prevents captcha non-acceptance when multiple captchas are demanded.
2015-06-19 15:38:05 -07:00
ccd0
047ce3c471 Make Quick Reply work with new image-based non-JS captcha. 2015-06-19 15:04:08 -07:00