66 Commits

Author SHA1 Message Date
Mayhem
5d80be015c Don't open the QR post previews list when we drop a single file. Close #1290 2013-10-06 15:07:30 +02:00
Mayhem
f77f70bde3 Add QRPostSuccessful_. #1127 2013-10-03 15:53:03 +02:00
Mayhem
10e93091d7 {Post,Thread}::callbacks => {Post,Thread}.callbacks 2013-10-02 11:38:15 +02:00
Mayhem
380eda18d2 Don't show the "running low on captchas" when we actually have just enough. 2013-09-20 11:03:18 +02:00
Mayhem
47347d95f5 Posting an image after a reply has no cooldown. 2013-09-20 10:53:42 +02:00
Mayhem
124a2ef473 No need to store hasFile. 2013-09-20 00:01:19 +02:00
Mayhem
7aaa91508c Small cooldown fixes. 2013-09-19 13:53:54 +02:00
Mayhem
499288e6da Update cooldown counting procedures. 2013-09-19 10:59:38 +02:00
Mayhem
a56b6765cb Remove some /q/-only settings. 2013-09-19 09:22:24 +02:00
Mayhem
641de541b4 Thread creation cooldown duration is 600 seconds. 2013-09-17 09:48:58 +02:00
Mayhem
d3654f9079 Update post/delete cooldown timers. 2013-09-17 09:46:02 +02:00
Mayhem
f606b5fbd5 Remember the flag selection. Close #1270 2013-09-13 17:03:42 +02:00
Mayhem
1208e96233 Add support for the flag selector on /pol/. #1270 2013-09-13 16:41:18 +02:00
Mayhem
4742e7dac6 Fix the QR showing incorrect file data when opening multiple files at once. 2013-08-28 20:38:32 +02:00
Mayhem
5c36d646a5 Start desktop notification closing timeout only after they appeared. 2013-08-26 21:31:30 +02:00
ferongr
638c836e59 Autohide persistent QR in catalog, fix #1241
That was easier than expected
2013-08-23 23:42:05 +03:00
Mayhem
24762fd182 Un-hide the QR and focus the captcha input when clicking on the low-captcha notification. 2013-08-21 22:37:47 +02:00
Mayhem
ae8e633ee3 Refactor file input handling. 2013-08-21 22:32:55 +02:00
Mayhem
7d51b560d8 offset -> layer
Because Fx doesn't have offsetX/Y.
2013-08-21 20:49:40 +02:00
Mayhem
a5e20db33f Refine QR previews dragging. 2013-08-21 20:25:44 +02:00
Mayhem
6454090cfd Warn with a desktop notification when we're running low on cached captchas. Close #1253.
Also increase delay to close the notifications from 5 to 7 seconds. #1252
2013-08-21 16:24:48 +02:00
Mayhem
a312645cf0 Typo. Fix #1245. 2013-08-18 14:12:16 +02:00
Mayhem
8e98e030c2 document.hasFocus() doesn't always work as intended in Chrome stable.
See crbug.com/64846
2013-08-18 03:38:13 +02:00
Mayhem
f9005c02bf Fix missing () 2013-08-18 00:44:45 +02:00
Mayhem
a088db9ee2 Use document.hasFocus() instead. 2013-08-18 00:28:48 +02:00
Mayhem
346010e188 Show a desktop notification even if the tab is visible. 2013-08-18 00:20:07 +02:00
Mayhem
25f77a12da Don't handle a notification's onclose on Firefox.
Mozilla hates devs and won't let us distinguish
an automatic closing to a user's closing action.
2013-08-17 22:54:51 +02:00
Mayhem
5742405f67 Add desktop notification permission granting setting and notice. 2013-08-17 22:37:30 +02:00
Mayhem
43fbf62da0 Add the 4chan X logo to desktop notifications. 2013-08-17 19:02:04 +02:00
Mayhem
9efb04435c fixes 2013-08-17 17:53:44 +02:00
Mayhem
253a4a8fbe Replace QR alerts with desktop notifications. #1053 2013-08-17 17:43:31 +02:00
Mayhem
b9afef771d Rename the Notification class to Notice.
To avoid conflicts with window.Notification.
2013-08-17 15:46:21 +02:00
Mayhem
030b1278bc Use Font Awesome to replace "QR" end "EAI".
Hopefully this'll make more sense for some users.
2013-08-16 22:43:02 +02:00
Mayhem
712a83b971 Don't hide the file remove button of locked posts. 2013-08-15 20:42:35 +02:00
Mayhem
229bf14683 Stop auto-posting when we abort the QR. 2013-08-15 15:46:19 +02:00
Mayhem
bf66353ff3 Fix filenames containing / or \. 2013-08-15 02:28:15 +02:00
Mayhem
d73b3c9e39 Don't auto-hide the QR when focusout-ing of the QR on Firefox. 2013-08-15 01:24:21 +02:00
Mayhem
f42296483f Add a fake filename extension when needed. 2013-08-15 01:16:25 +02:00
Mayhem
8135e93db8 On-the-fly QR filename editing. 2013-08-15 00:24:40 +02:00
Mayhem
772e82aa60 Let CoffeeScript handle binding methods for us. 2013-08-14 17:10:24 +02:00
Mayhem
3581a235e7 Fix post menus in stubs.
Also removed some old arguments, fixed some semantics, added Get.threadFromNode, and used it.
2013-08-13 16:29:54 +02:00
Mayhem
f1cf1addfe Move the header menu button into the header shortcuts. 2013-08-13 12:56:21 +02:00
Mayhem
ffd98de110 Polyfill canvas toBlob(). 2013-08-11 13:09:25 +02:00
Mayhem
773f2cfe0f Use xhr.responseType = 'document'. 2013-08-07 20:04:47 +02:00
Mayhem
39f30c1d0e Slightly simplify $.ajax. 2013-08-07 19:55:25 +02:00
Mayhem
b36cf54d83 Make use of a few CoffeeScript filters. 2013-08-05 23:30:39 +02:00
Mayhem
6ee8dc83a7 Fix #1210
We were inserting the same Post twice in QR.posts,
once in the constructor, and once in the splice.
2013-07-30 15:13:33 +02:00
Mayhem
8a9df9d15a Tiny optimization to avoid calling QR.status() multiple times when closing the QR. 2013-07-20 18:19:51 +02:00
Mayhem
dc8551bcf1 Fix #1194. 2013-07-20 18:08:53 +02:00
Mayhem
56d44bc310 Fix #1189. 2013-07-20 13:23:59 +02:00