1051 Commits

Author SHA1 Message Date
Mayhem
08ea3cf7d0 Count unread posts if desktop notifications are enabled.
Also fix missing Conf check, and return too early in counting replies to you.
Minor tweaks here and there.
2013-08-21 15:45:32 +02:00
Mayhem
606cbcc1c1 Shave a few lines. 2013-08-21 03:25:56 +02:00
Mayhem
a7d26c173d Replace the Header & Thread Watcher menu icon with a FontAwesome icon.
Also fix .brackets-wrap spacing.
2013-08-20 18:18:17 +02:00
Mayhem
3f04351e48 Mention Gruber's regexp in the LICENSE. 2013-08-20 17:19:04 +02:00
Mayhem
7cd4b7cee0 Use FontAwesome to replace the thread watcher toggle icon. 2013-08-20 17:06:23 +02:00
Mayhem
f4433ccf4c Merge pull request #1246 from MayhemYDG/linkify
Add Linkification.
2013-08-19 15:45:52 -07:00
Mayhem
4196ce2600 Clean links from spoiler and code tags. 2013-08-20 00:33:56 +02:00
Mayhem
abfbd734aa Add a 'linkified' class. 2013-08-20 00:05:41 +02:00
Mayhem
fc745767c4 Replace already-linkified links. 2013-08-19 23:15:54 +02:00
Mayhem
7ee6b24606 Handle a Chrome/WebKit/Blink bug. 2013-08-19 22:09:52 +02:00
Mayhem
abedf85973 Disable error reports if localStorage is blocked. 2013-08-19 20:50:48 +02:00
Mayhem
19524d26b6 Fix endOffset when relocating. 2013-08-19 17:41:31 +02:00
Mayhem
b378db78f5 Linkify: Attempt to handle un-surroundable contents. 2013-08-19 17:18:13 +02:00
Mayhem
27c1a77b86 Create a single range per post, and detach it when we're done. 2013-08-19 12:32:15 +02:00
Mayhem
a5adff0ab6 Fix parsing of empty text nodes in Post::parseComment(). 2013-08-19 12:27:04 +02:00
Mayhem
6d5f422c3f Tweak/rewrite Linkify. 2013-08-19 12:21:49 +02:00
Mayhem
58531319ca sourround -> surround 2013-08-18 20:55:23 +02:00
noface
7b842c01be Fix spoiler issue. 2013-08-18 20:53:08 +02:00
noface
202d7617e3 Add Linkification. 2013-08-18 20:53:08 +02:00
Mayhem
a1e8d1a924 Remove the Tab to Choose Files First on Firefox.
Firefox forces the flex order as tab order so the setting is useless.
2013-08-18 17:48:52 +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
dd8748fbfb Fix #1243. 2013-08-18 00:15:50 +02:00
Mayhem
eb2ea88ede Opera doesn't actually support the "minimum_opera_version" key.
I assume it follows the "minimum_chrome_version"?
2013-08-17 23:11:02 +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
e539c35a53 Show a desktop notification for 5 seconds when someone replies to you.
Close #971.
2013-08-17 18:50:20 +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
c64792f35c src/General/Notification.coffee -> src/General/Notice.coffee 2013-08-17 17:29:58 +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
629802b196 Anticipate greasemonkey/greasemonkey#1726 and greasemonkey/greasemonkey#1788 2013-08-16 01:13:55 +02:00
Mayhem
0f2dfcdaeb Fix QuoteOP for cross-board clones quoting their thread's OPs. 2013-08-15 22:09:45 +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
a972183286 Use a static array instead of a stray variable for DataBoard keys. 2013-08-14 17:59:54 +02:00
Mayhem
772e82aa60 Let CoffeeScript handle binding methods for us. 2013-08-14 17:10:24 +02:00
Mayhem
5924dbb4bb Add support for litteral tags, simpler regexp. 2013-08-14 16:13:32 +02:00
Mayhem
c2cc0b4599 Ban text uses <strong> instead of <b>. 2013-08-14 15:48:59 +02:00
Mayhem
10c8ccc90d Update prettyPrinting support. 2013-08-14 15:46:15 +02:00
Mayhem
b7ddfa5c66 Shave a line and move a few things around in QuoteOP. 2013-08-13 19:10:57 +02:00