65 Commits

Author SHA1 Message Date
ccd0
fba3d2d18e Make HTML templates output Javascript, part 3. #829 2019-07-25 19:48:06 -07:00
ccd0
71896af275 No longer accept arbitrary properties in $.ajax; make it clear what we support. 2019-03-23 23:50:04 -07:00
ccd0
a94d76d84b Let the default responseType in $.ajax always be "json" regardless of URL. 2019-03-08 20:45:53 -08:00
ccd0
31d6a0aa31 Uncheck 'Report to Archives' and disable details field by default. #1745 2018-09-19 15:28:05 -07:00
ccd0
2409834dc3 Update reporting to archive for new report form. 2018-09-19 15:23:03 -07:00
ccd0
b1fe9efa82 Don't show archive report form on "Report submitted!" page. 2017-01-28 04:09:55 -08:00
ccd0
237ca18709 Use POST endpoint for reporting to archives; report to multiple archives. #1260 2017-01-23 20:38:50 -08:00
ccd0
16e28677e3 Support setting reports endpoint through archive JSON data. #1260 2017-01-21 23:27:17 -08:00
ccd0
c0f7bf14cc Revert "Remove Archive Report option since fgts.jp and its report form no longer exists. #933" #1260
This reverts commit 91aa12f8fd41ac2f7096ad55df357324b52a4118.
2017-01-21 22:29:13 -08:00
ccd0
ad9c3df4dc Help out decaffeinate. #829 2016-10-01 03:18:22 -07:00
ccd0
2a13c80190 Merge commit 'e1b0d62ceb258f016377517182497d3572fae095' 2016-07-09 15:35:52 -07:00
ccd0
91aa12f8fd Remove Archive Report option since fgts.jp and its report form no longer exists. #933 2016-06-13 03:59:02 -07:00
ccd0
fcd6ffa8bb Drop complaint and IRC links from captchas. #904 2016-06-13 03:02:17 -07:00
ccd0
e1b0d62ceb Have return hack be added by the compilation script. 2016-06-12 00:25:58 -07:00
ccd0
4e897e5e3c Switch [complain] link back to https://www.4chan.org/feedback. 2016-06-11 21:25:17 -07:00
ccd0
f4360bf82b Change link on report form to 4chan IRC. 2016-05-18 22:58:02 -07:00
ccd0
64bb62a075 No more having to hack the contents of the coffee-generated JS. 2016-04-19 16:27:05 -07:00
ccd0
b3d654f655 Create CSS module. 2016-04-16 07:18:06 -07:00
ccd0
6ab842c472 Take our complaint links out of the tab order. 2016-02-13 23:11:25 -08:00
ccd0
e8276ca800 Use the &altc=1 report form but substitute our own captcha options.
Also
- fix tab order in report form
- focus on captcha in report form
- extend refresh on image click / backspace to original post form
- support language setting for v1 (#458)
2016-01-30 00:24:59 -08:00
ccd0
ffd258b1f0 window.onAltCaptchaClick doesn't exist anymore. 2016-01-18 09:02:51 -08:00
ccd0
cba89a379f Fix leftover occurrences of 'Use Recaptcha v2 in Reports'. 2016-01-18 08:56:45 -08:00
ccd0
dded519aa1 Update for report form captcha change. #727 2016-01-18 08:37:06 -08:00
ccd0
dfcbc05929 Make email link match pass page. 2016-01-07 13:11:08 -08:00
ccd0
b8082e3092 Remove subtree argument from $.onExists. 2015-12-05 17:49:24 -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
6d62ec33ba I like this option for reporting fallback the best. 2015-11-15 16:06:31 -08:00
ccd0
c182d1b07d This is probably more effective. 2015-11-15 14:45:03 -08:00
ccd0
e27858216f Remove unwanted execute permissions. 2015-11-15 14:00:17 -08:00
ccd0
1a55bf69aa Parenthesize assignment in if. 2015-11-14 13:59:23 -08:00
ccd0
f8bfb87e46 Show audio captcha on report form. 2015-11-14 13:54:44 -08:00
ccd0
30d39e5fdd Restore backspace to refresh captcha in report window. #527 2015-11-14 13:15:19 -08:00
ccd0
1d11276d64 Add NCMEC link to report form. #591 2015-11-14 12:21:18 -08:00
ccd0
ab530c15b0 Replace Pass ad in reporting form / error message with complaint link. #591 2015-11-14 12:13:22 -08:00
ccd0
dc7bbb6821 Clean up some spaghetti in Main.coffee.
Also be more careful about pages we shouldn't run on
(e.g. robots.txt, sitemap.xml, ping.js). #574
2015-11-07 20:37:46 -08:00
ccd0
8a41b5634c Fit fallback captcha sometimes offered even when JS is enabled. 2015-11-05 22:09:00 -08:00
ccd0
3b3e8369e5 Don't make window size fit hidden bubbles. 2015-11-05 22:03:34 -08:00
ccd0
953f58c450 Update report window resizing to new version of captcha. 2015-11-05 21:05:16 -08:00
ccd0
c7b406a7f5 Fixes in noscript.css only needed on reports page now. 2015-06-29 19:16:21 -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
5d90cf0f28 Don't need to replace language if we're replacing the whole captcha. 2015-06-22 18:46:13 -07:00
ccd0
dcdb6afcbb Spam option has been removed from report window. 2015-06-22 13:45:09 -07:00
ccd0
8cd3218616 Implement 'Use Recaptcha v2 in Reports' option. 2015-06-22 13:35:10 -07:00
ccd0
fc90b895ef Add option to set captcha language. 2015-06-20 16:56:53 -07:00
ccd0
f59720fc0c Fix non-JS captcha on original post form, report form, etc. 2015-06-19 15:29:36 -07:00
ccd0
7b0aa7ee77 Fix words being cut off in non-JS captcha. 2015-06-16 10:33:14 -07:00
ccd0
efa80d5a3b Use importCSS in Report.coffee. 2015-06-16 10:07:06 -07:00