912 Commits

Author SHA1 Message Date
ferongr
638c836e59 Autohide persistent QR in catalog, fix #1241
That was easier than expected
2013-08-23 23:42:05 +03:00
Mayhem
de82bd3e45 Give CS loops a hand. 2013-08-23 15:34:42 +02:00
Mayhem
b394a81494 Adjust the color ID contrast threshold.
Totally not arbitrary edition.
2013-08-23 02:31:23 +02:00
NoneGiven
cb498db8df Typo
It just werx
2013-08-23 02:04:19 +02:00
noface
01146f85c5 Close #1255. 2013-08-23 01:04:44 +02: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
6e88579cc8 Close #1250. 2013-08-21 17:25:49 +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
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