646 Commits

Author SHA1 Message Date
ccd0
beaf66702b Work around apparent Firefox bug preventing focusing on captcha iframe. 2015-11-21 00:47:13 -08:00
ccd0
539b4bc636 Add indication that noscript iframe has focus. 2015-11-20 23:46:31 -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
67b5eb30c8 Minor rearrangement. 2015-11-20 17:55:30 -08:00
ccd0
399693441a Better focus indication for noscript captcha. 2015-11-20 17:51:30 -08:00
ccd0
599804dbd2 Remove 'Hide Original Post Form' option; show toggle for original form in smaller font. #600 2015-11-20 13:56:11 -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
a78ac7530c Don't focus on the captcha for an error that would stop autoposting.
(Other than being out of captchas.)
Attention is needed elsewhere.
2015-11-20 12:11:23 -08:00
ccd0
c270ee8def Revert making post submission focus captcha if more were needed and focus was on body.
It was a bad idea.  What we really need is to focus on captcha at the moment
autodumping is started if more captchas are needed, but #222 will need to be
fixed first.
2015-11-20 11:30:00 -08:00
ccd0
78f7a0de42 Don't load iframe until original post form is opened. 2015-11-20 10:35:02 -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
210b6bd201 Make 'Force Noscript Captcha' work on all forms. #262 2015-11-19 16:39:33 -08:00
ccd0
7a11a5c70b Consolidate js-enabled tests. 2015-11-19 12:46:54 -08:00
ccd0
d2a9e49959 Don't record posts as yours when 'Mark Quotes of You' is disabled. 2015-11-18 17:31:43 -08:00
ccd0
8f88c58a99 Use captchas closer to expiring first. #618 2015-11-17 21:33:33 -08:00
ccd0
bb32e6eaa5 All posting errors should reload the captcha if we need more. 2015-11-17 21:20:37 -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
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
ef72d3b783 Revert "Work around focus bug in newest Recaptcha."
This reverts commit ce1e58d7011b724c640933a9385812dd3bf98a41.
2015-11-15 22:32:37 -08:00
ccd0
e27858216f Remove unwanted execute permissions. 2015-11-15 14:00:17 -08:00
ccd0
34c8da43c4 Reorganization: Move stuff out of src/General. 2015-11-15 11:57:19 -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
73fc544dea Move Pass Link out of Main.coffee, make optional, fix minor issues. 2015-11-07 23:36:27 -08:00
ccd0
97a11034d1 Work around new Recaptcha bug interfering with focusing on submit button. 2015-11-05 10:55:13 -08:00
ccd0
a25a4d7c44 Add UI to choose oekaki background color. #555 2015-11-01 23:50:36 -08:00
ccd0
b65d9acc9d Make transparency visible when editing, and reset background color to white when done. 2015-11-01 16:53:05 -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
ef4491b0c2 Merge branch 'bstable' 2015-10-30 12:16:41 -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
48610816ae Merge branch 'bstable' 2015-10-30 09:28:45 -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
8ad001f0e5 Prevent posts without comments on /r9k/.
Including quotelink-only comments and other posts that will be rejected as zero-content.
2015-10-29 21:06:53 -07:00
ccd0
4c378bab75 Fix error message. 2015-10-28 21:14:25 -07:00
ccd0
50e3e6dead Support editing first frame of video from QR.
Because why not?
2015-10-26 11:20:20 -07:00
ccd0
0b1048c76a Not necessarily an image. 2015-10-26 11:03:44 -07:00
ccd0
77c13230f1 Support editing frame from video. 2015-10-26 10:55:40 -07:00
ccd0
cf0c72941e Showing the controls from the page scope requires running after QR is inserted. 2015-10-25 23:02:23 -07:00
ccd0
285ea622db Quote the post with the image being edited. 2015-10-25 21:46:06 -07:00
ccd0
0e1863aa39 Prevent errors from edit link in threads with posting disabled (i.e. archived threads). 2015-10-25 21:34:56 -07:00
ccd0
673408f5e1 With no file selected, oekaki button in QR shows/hides new image controls. 2015-10-25 20:34:18 -07:00
ccd0
d278ed5c81 Refer to 4chan's oekaki software by name. 2015-10-25 20:00:35 -07:00