1959 Commits

Author SHA1 Message Date
Nicolas Stepien
18525ecee1 Refactor and fix. This won't wait for an answer from images.4chan.org to see if the picture 404'd or not. 2012-01-27 17:42:22 +01:00
Nicolas Stepien
43df119987 Revert "Replace usual file input by custom elements."
This reverts commit d830ae3f95756fbab1ca16c9a66fe73b5bb655ac.
2012-01-27 16:51:18 +01:00
Nicolas Stepien
988b0ec824 Revert "Fix custom file input for Firefox."
This reverts commit cdc53f0333d6512a3b5d55a391264147d1fdf3ff.
2012-01-27 16:51:17 +01:00
Nicolas Stepien
bd29db7551 Styling inline-blocks with percentages is impossible in Firefox. I'm not gonna use flexboxes for now.
Revert "Display filename."

This reverts commit 50e9a0e633e22f64d412ad19e56268dcf0f55dad.
2012-01-27 16:50:35 +01:00
Nicolas Stepien
19970a2faf No one told me that image spoiling was not working. 2012-01-27 04:15:49 +01:00
Nicolas Stepien
50e9a0e633 Display filename. 2012-01-27 00:33:54 +01:00
Nicolas Stepien
cdc53f0333 Fix custom file input for Firefox. 2012-01-27 00:09:28 +01:00
Nicolas Stepien
d830ae3f95 Replace usual file input by custom elements. 2012-01-27 00:01:35 +01:00
Nicolas Stepien
5f1cc1d471 Don't overlap the scrollbar on the spoiler labels. I'm such a genius. 2012-01-26 20:48:53 +01:00
Nicolas Stepien
0e7cb3a42a Scroll the list to center the focused reply. 2012-01-26 19:12:15 +01:00
Nicolas Stepien
018753689e Disable text selection in the dump list. 2012-01-26 18:33:30 +01:00
Nicolas Stepien
b3427dc652 Move #spoilerLabel, compile. 2012-01-26 17:04:56 +01:00
seaweed
bf25d1e016 redo 2012-01-26 00:17:59 -07:00
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