54 Commits

Author SHA1 Message Date
ccd0
7a11a5c70b Consolidate js-enabled tests. 2015-11-19 12:46:54 -08:00
ccd0
8f88c58a99 Use captchas closer to expiring first. #618 2015-11-17 21:33:33 -08:00
ccd0
d6e16c8eac Captcha should steal focus from submit button or body only. 2015-11-17 20:10:19 -08:00
ccd0
f0d76d8ef7 Replace shouldFocus flag with focus on counter. 2015-11-17 17:36:18 -08:00
ccd0
6e56b085cd Revert "Remove scroll lock while focus is on captcha."
This reverts commit 46fd6744da2d4e8e3a2e3916ad6fd4483edc5ddf.
2015-11-15 23:37:58 -08:00
ccd0
46fd6744da Remove scroll lock while focus is on captcha. 2015-11-09 00:05:11 -08:00
ccd0
3723f7d06e Revert "Match Halloween theme colors for users who haven't blocked it."
This reverts commit 01b0e59a9814dc19123153e6b3b6c8047e607d7a.
2015-11-07 23:53:34 -08:00
ccd0
97a11034d1 Work around new Recaptcha bug interfering with focusing on submit button. 2015-11-05 10:55:13 -08:00
ccd0
01b0e59a98 Match Halloween theme colors for users who haven't blocked it. 2015-10-31 16:50:15 -07:00
ccd0
ca6b6994a7 Prevent Recaptcha from keeping focus when popup dismissed.
Best solution for now since we still have to support the outgoing
version.  When the outgoing version is gone, we may be able to
remove the strict anti-scroll measures, and this will no longer
be necessary.
2015-10-30 14:43:58 -07:00
ccd0
7ddefaf35a New version of captcha when hiding bubble sets visibility to hidden and doesn't always go offscreen. 2015-10-30 12:04:14 -07:00
ccd0
1895d5e589 Work around captcha bug causing captcha to go offscreen to the right. #550 2015-10-30 09:26:01 -07:00
ccd0
1d5a144cb2 Update captcha cleanup. 2015-10-23 17:34:18 -07:00
ccd0
9407af1f65 Fix cached captchas causing errors when we switch between captcha types. 2015-08-14 12:17:21 -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
244d40cd93 Implement replacement of captchas with v1 everywhere. 2015-06-22 23:15:39 -07:00
ccd0
5dec400267 Captcha.language -> Captcha.replace 2015-06-22 21:03:30 -07:00
ccd0
f69cee50e4 Fix issue with iframe targetWindow not being immediately available. 2015-06-21 14:40:26 -07:00
ccd0
96b8df852a Add CSS class to QR to distinguish v1 from v2 captcha. 2015-06-21 11:41:35 -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
fc90b895ef Add option to set captcha language. 2015-06-20 16:56:53 -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
1e93066f5e Fix remaining scrolling-from-captcha issue in Firefox. 2015-06-03 18:24:35 -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
09acfaf9a2 Move captcha fixes to its own module. 2015-04-17 21:10:46 -07:00
ccd0
c72d5b4c97 Fix focusing on image in Firefox. 2015-04-17 20:40:01 -07:00
ccd0
88d1aafe28 Start working on keyboard navigation in image captcha.
Still having some issues with focusing in Firefox.
2015-04-17 00:46:23 -07:00
ccd0
4e49ed7c1c More consistent checkbox focusing. 2015-04-16 22:20:24 -07:00
ccd0
a7bbdfcdf7 Revert "Fix captcha stealing focus on completion."
This reverts commit 3049a9993c95aaa173e5b9308960666a84fe6198.
2015-04-16 20:36:55 -07:00
ccd0
ebaa687a73 Clean up leftover Recaptcha iframes to prevent memory leak. 2015-04-16 16:42:25 -07:00
ccd0
e250bd1091 Fix unwanted focusing on the submit button if you focus on the comment field too soon after entering the captcha. 2015-04-13 20:56:43 -07:00
ccd0
29afe88625 Nuke 'Captcha Warning Notifications' option. 2015-03-14 10:07:11 -07:00
ccd0
fa7eb381a1 Fix captcha count briefly showing over comment field as captcha opens. 2015-02-28 22:32:42 -08:00
ccd0
f3f110df22 Don't focus on checkbox when iframe doesn't have focus. 2015-02-28 21:27:21 -08:00
ccd0
3049a9993c Fix captcha stealing focus on completion. 2015-02-27 13:39:59 -08:00
ccd0
83309cc28c Focus on checkbox when captcha is tabbed into. #250, #333 2015-02-21 11:18:02 -08:00
ccd0
9c1059c39c Revert "Temporarily hard-enable captcha on /b/."
This reverts commit 3ea1f44429ca2c21d37e848285863578ae7c7591.
2015-01-04 00:09:26 -08:00
ccd0
3ea1f44429 Temporarily hard-enable captcha on /b/. 2015-01-03 23:38:23 -08:00
ccd0
323410cf00 Reload captcha when needed even if we don't focus on it. 2014-12-22 21:07:20 -08:00
ccd0
add0f3d3a2 Revert "Destroy captcha when QR is hidden."
This reverts commit f2260ca2ac3dc7060a33eee77f7ccace21e8f6fe.

Conflicts:
	src/Posting/QR.coffee
2014-12-22 12:04:37 -08:00
ccd0
f2260ca2ac Destroy captcha when QR is hidden. 2014-12-21 18:17:53 -08:00
ccd0
a9e7240547 Minor fix. 2014-12-21 15:49:16 -08:00
ccd0
af111918ae Merge branch 'master' into noscript 2014-12-13 08:24:57 -08:00
ccd0
e028273eed Unify captcha module interfaces. 2014-12-13 07:56:36 -08:00