514 Commits

Author SHA1 Message Date
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
ccd0
551b11d447 Remove code that focused on first image of captcha. 2015-06-19 00:03:26 -07:00
ccd0
b291e8deae Remove 'Remember QR Size' option in Tampermonkey. #413 2015-06-13 15:39:20 -07:00
ccd0
6af84cc9ef Revert "Revert "Work around captcha's new scrolling-to-top issue.""
This reverts commit 966c0e1078cf2277b58acc1aa100cff891883966.
2015-06-11 20:06:53 -07:00
ccd0
905f6173c1 Support selecting images in the image captcha with the space bar in addition to the enter key. 2015-06-05 15:09:19 -07:00
ccd0
4accf03ebd 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-03 19:55:19 -07:00
ccd0
966c0e1078 Revert "Work around captcha's new scrolling-to-top issue."
This reverts commit e4a5f4f04aa54f209fbbc54c203adc111801f7c5.
2015-06-03 19:31:46 -07:00
ccd0
966c6dc441 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-03 18:34:18 -07:00
ccd0
1e93066f5e Fix remaining scrolling-from-captcha issue in Firefox. 2015-06-03 18:24:35 -07:00
ccd0
e4a5f4f04a Work around captcha's new scrolling-to-top issue. 2015-06-03 18:05:36 -07:00
ccd0
f492712444 Update image captcha keyboard navigation for DOM changes. 2015-06-03 16:25:41 -07:00
ccd0
f321323865 Add IJKL as an alternative to the arrow keys for image captcha. 2015-05-26 14:14:48 -07:00
ccd0
c44dced894 Revert "Fix bug where dragging and dropping disables captcha. #407"
This reverts commit c412a25d5a3fc9156f4f93df0f7b46ac988611ee.

Revert "Prevent dropping files onto captcha causing navigation to the file."

This reverts commit ee88196ffee1502fff13425457a8b831b13e8423.
2015-05-22 13:29:22 -07:00
ccd0
c412a25d5a Fix bug where dragging and dropping disables captcha. #407 2015-05-15 20:58:07 -07:00
ccd0
93918ae575 Fix bug where submit button was still getting unwanted focus under certain conditions. 2015-05-14 01:02:33 -07:00
ccd0
9c5d9ec15f Don't try to focus on captcha if already in captcha bubble. 2015-05-09 18:43:56 -07:00
ccd0
015e1ce1da Don't focus on captcha when it expires unless focus is on submit button. 2015-05-09 18:34:31 -07:00
ccd0
a1f3af15f9 Fix QR character count. 2015-05-03 22:44:46 -07:00
ccd0
be171ab6d1 Move test for Javascript into Main.coffee. 2015-05-03 21:02:12 -07:00
ccd0
ee88196ffe Prevent dropping files onto captcha causing navigation to the file. 2015-04-30 22:48:14 -07:00