77 Commits

Author SHA1 Message Date
ccd0
ad9c3df4dc Help out decaffeinate. #829 2016-10-01 03:18:22 -07:00
ccd0
dce42ce168 Fix captcha scrolling in MS Edge. #1070 2016-09-10 22:42:04 -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
1ab4856474 New fixes for scrolling on space in captcha. 2016-07-09 09:26:02 -07:00
ccd0
dc6ba104a8 Handle case when setup() is quickly followed by destroy(). #615 2016-01-28 14:05:06 -08:00
ccd0
1dfa1df3b0 Show dark theme captcha if the document has the class dark-captcha. 2016-01-25 19:48:40 -08:00
ccd0
d61dd5276f Might as well fix this $.globalEval too. 2016-01-25 19:38:56 -08:00
ccd0
04dd179019 Another $.globalEval -> $.global. 2016-01-25 19:34:33 -08:00
ccd0
07ece0b7ee Revert "Work around captcha bug causing captcha to go offscreen to the right. #550"
This reverts commit 1895d5e5890e045e613adf491b1c845105f088a6.
2015-11-29 16:54:37 -08:00
ccd0
0b9cb7be5d Merge branch 'unlock' 2015-11-29 16:51:36 -08:00
ccd0
ccb30e0fc8 Merge branch 'bstable' 2015-11-25 19:15:39 -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
8734faf4c2 Fix captcha going below bottom of page due to delay in iframe loading. 2015-11-23 23:39:04 -08:00
ccd0
beaf66702b Work around apparent Firefox bug preventing focusing on captcha iframe. 2015-11-21 00:47:13 -08:00
ccd0
46a800ce62 Merge branch 'bstable' 2015-11-20 18:49:19 -08:00
ccd0
9231c8e9dc Testing current focus in setup() wasn't flexible enough. 2015-11-20 18:46:04 -08:00
ccd0
2d390d0a0f Fix reloading for new way of doing noscript captcha.
Was broken from 210b6bd20161286ace683ad1590a8df637f60de7.
2015-11-20 13:04:26 -08:00
ccd0
2d2081c287 Merge branch 'master' into noscript 2015-11-20 12:50:51 -08:00
ccd0
013562cdbe Fix captcha not reloading when fallback captcha was invoked. 2015-11-20 12:37:27 -08:00
ccd0
0387642fcb We do need to remove the old captcha when forcing noscript one.
Fix for 210b6bd20161286ace683ad1590a8df637f60de7.
2015-11-20 04:20:46 -08:00
ccd0
a49580e6be Support captcha code copying on all forms. 2015-11-20 04:12:40 -08:00
ccd0
720998721b Parenthesize assignments in if conditions. 2015-11-20 00:06:18 -08:00
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
2f4b81ee7c Revert "Revert "Remove scroll lock while focus is on captcha.""
This reverts commit 6e56b085cdc95d6b3df474b6df37eeda848a7d5c.

Revert "Revert "Fix captcha centering (broken by 46fd6744da2d4e8e3a2e3916ad6fd4483edc5ddf).""

This reverts commit dd8b3fc0e9c1b2d883a3650c26738c87432b2ad6.
2015-11-15 23:58:36 -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