1686 Commits

Author SHA1 Message Date
Nicolas Stepien
e58cbc8897 Disable auto-posting when the thread 404s. 2012-01-26 06:50:53 +01:00
Nicolas Stepien
c94b08c1ab Start auto-post on connection error when possible. Provide some feedback that we're starting to submit. 2012-01-26 06:48:59 +01:00
Nicolas Stepien
8cd6598e00 Auto Watch on thread creation. 2012-01-26 04:15:42 +01:00
Nicolas Stepien
76cb2b4f9a Auto-noko on thread creation. 2012-01-26 03:53:03 +01:00
Nicolas Stepien
fe5e0a08d4 Disable auto-posting if there is an error before post submission. 2012-01-26 02:41:20 +01:00
Nicolas Stepien
5d7d13ec70 Auto-posting now works!
Try to submit during the cooldown to toggle auto-posting.
It will be automatically activated if you have more than one reply to submit when posting or after posting.
2012-01-26 02:28:31 +01:00
Nicolas Stepien
fb3dee8e6e Cooldown is now working! 2012-01-25 22:51:05 +01:00
Nicolas Stepien
93895e081e Change the .error class to .warning. 2012-01-25 20:23:37 +01:00
Nicolas Stepien
a65faabcbe Small refactor. 2012-01-25 19:19:54 +01:00
Nicolas Stepien
41bc376644 Disable the submit button until the iframe is ready. 2012-01-25 18:56:11 +01:00
Nicolas Stepien
966b84ea71 Reload the iframe on connection error. 2012-01-25 18:31:00 +01:00
Nicolas Stepien
593329b41e Random minor changes 2012-01-25 04:44:57 +01:00
Nicolas Stepien
6810c84e6a Sync name/email/subject if there's only one reply. 2012-01-25 04:34:20 +01:00
Nicolas Stepien
5dbc9a2480 Divide hide function into un/hide/toggle. 2012-01-25 03:59:01 +01:00
Nicolas Stepien
53d3197c6a Indicate the wait for a response from sys.4chan.org after an upload with some ellipsis. 2012-01-24 23:53:22 +01:00
Nicolas Stepien
58da6d4e18 Refactor $.ajax. 2012-01-24 23:49:57 +01:00
Nicolas Stepien
6bc0fb18d9 Prepare to start some cooldown when an incorrect captcha was input to avoid autoban.
Remove redundant "Error:".
2012-01-24 21:25:16 +01:00
Nicolas Stepien
de4c34746c Restore email after sage. 2012-01-24 18:02:52 +01:00
Nicolas Stepien
c9b7c0f15c Display a link in case of duplicate image error. Should display a message in case of connection error. 2012-01-24 16:23:06 +01:00
Nicolas Stepien
df14650cc6 Finally fix object cloning through interwindow messaging. 2012-01-24 15:48:40 +01:00
Nicolas Stepien
c3cd11afd8 Indicate upload progress. I really need to refactor $.ajax. 2012-01-24 15:08:40 +01:00
Nicolas Stepien
64a3e4284a Fix error/success checking for Firefox. WHY do you people still use this garbage.
Apparently, I cannot message the object once again, unless I recreate it for who the hell knows what reason.
Fuck that shit.
2012-01-24 12:15:35 +01:00
Nicolas Stepien
8a4cdb7d09 0 cached captchas. 1 cached captcha. 2 cached catpchas. 2012-01-24 09:33:05 +01:00
Nicolas Stepien
2f8052163d Merge branch 'master' into qr 2012-01-24 03:51:32 +01:00
Nicolas Stepien
9b482ddc96 WTF? Fix normal captcha automatic focus prevention.
Chrome only issue?
This happened since I injected the messaging code using the window.location too.
2012-01-24 03:49:13 +01:00
Nicolas Stepien
48afb6d880 Do not cycle through board pages with Index Navigation or See next/previous thread keybinds. 2012-01-23 23:47:31 +01:00
Nicolas Stepien
b854eb4d00 Disable autocomplete for the captcha input. 2012-01-23 22:51:37 +01:00
Nicolas Stepien
60a62232ad Yeah, checking captcha timeout is probably better like that. 2012-01-23 20:52:00 +01:00
Nicolas Stepien
e357fec7f5 Abort the post submit when closing the QR. Fix stored captcha timeout checking when submitting. Probably fix some persona checking after post submission. Don't wait for the very slow sys.4chan.org to load to start listening to messages and send XHRs. 2012-01-23 19:13:05 +01:00
Nicolas Stepien
ce2cf2891e Display posting errors. Clean/close QR on successful post. 2012-01-23 02:12:36 +01:00
Nicolas Stepien
efa326d534 Yeah, this is better like that. 2012-01-23 01:01:45 +01:00
Nicolas Stepien
3bb9cba3ee Send HTML response to the parent window; save and load poster identity. 2012-01-23 00:54:18 +01:00
Nicolas Stepien
d3ce33c913 Whoops, I thought el.querySelector could match el. 2012-01-22 23:57:17 +01:00
Nicolas Stepien
ba8ae38d0a Get Auto Watch on Reply done. Refactor un/watch while I'm at it. 2012-01-22 23:48:50 +01:00
Nicolas Stepien
b3fb89af3e Give a filename to the blob we append to the FormData for Firefox. This, obviously, does not work yet. 2012-01-22 17:14:28 +01:00
Nicolas Stepien
c91b22812f Finally fix file upload on Firefox. 2012-01-22 16:45:34 +01:00
Nicolas Stepien
c2bd74260b Supposedly actually fix file upload on Firefox. 2012-01-22 05:10:48 +01:00
Nicolas Stepien
239ea5180f Fix file upload for Firefox. Fix xhr abortion request. 2012-01-22 02:19:48 +01:00
Nicolas Stepien
87da955036 Fix script appending on Firefox, document.documentElement is null on document-start. Append the iframe on page load instead of QR load. 2012-01-22 00:56:20 +01:00
Nicolas Stepien
a5b2e1d265 Firefox fix. 2012-01-21 22:36:32 +01:00
Nicolas Stepien
0055c6d164 Actual posting or reply/new thread. The QR is now usable. Caution: no posting feedback yet. 2012-01-21 22:18:06 +01:00
Nicolas Stepien
48e8b33f6c Send reply to the iframe. Don't alert in qr.error if the tab is visible. 2012-01-21 21:15:09 +01:00
Nicolas Stepien
385a5c6ee1 Merge branch 'master' into qr 2012-01-21 18:13:40 +01:00
Nicolas Stepien
59131e484c Set up transcontext messaging between the global window and the iframe window. Fuck you moot. 2012-01-21 18:12:59 +01:00
ahodesuka
10ba4513e9 Make expand [ + ], icon-able 2012-01-21 03:33:45 -06:00
Nicolas Stepien
8e64f1e877 Recaptcha reload on backspace in the report window. 2012-01-21 03:41:49 +01:00
Nicolas Stepien
ae8a99c53f Captcha loading, reloading, caching. 2012-01-21 03:12:52 +01:00
Nicolas Stepien
91f7de90e5 Merge branch 'master' of github.com:MayhemYDG/4chan-x into qr
Conflicts:
	4chan_x.user.js
	script.coffee
2012-01-20 18:41:47 +01:00
Nicolas Stepien
8c85a768cf Release 2.24.4. 2012-01-20 05:46:08 +01:00
Mayhem
19b82203b6 Merge pull request #123 from e000/master
Add sanity check for cooldown, closes #97
2012-01-19 20:36:19 -08:00