glowing-bear/js
Tor Hveem 9985e91a69 use service workers for notifications
If Service Workers are available use them to display notifications
instead of the old way of creating notifications directly.

This has the side effect that it works nicely on chrome on android which
the old method does not.

This also paves the way to set up GCM for push notification in the
future which can give us push notifications without having the app running.

This patch can be improved in the future to get existing notifications
and change the message instead of just adding more and more
notifications.

See: ServiceWorkerRegistration.getNotifications() and
ServiceWorkerRegistration.update() from
https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration
2015-12-20 15:10:44 +01:00
..
connection.js fetch weechat configuration variables 2015-12-17 17:46:43 +01:00
file-change.js Add directive for file input change 2015-11-07 12:29:53 +01:00
filters.js fix #688 and provide a unit test 2015-12-01 21:31:12 +02:00
glowingbear.js Fix problem with saving of sound notify 2015-12-18 13:48:51 +01:00
handlers.js Merge pull request #710 from glowing-bear/weechatconf 2015-12-18 10:05:19 +01:00
imgur-drop-directive.js Insert URL at caret when dropping image into GB 2015-11-10 19:40:30 +01:00
imgur.js Support sending multiple images 2015-11-07 12:45:05 +01:00
inputbar.js Switch to adjacent buffer with alt+arrow 2015-12-04 08:43:48 -06:00
irc-utils.js fix nick completion on nicks with special chars 2015-03-24 12:57:57 +01:00
localstorage.js Settings module 2015-02-04 19:56:56 +01:00
models.js fetch weechat configuration variables 2015-12-17 17:46:43 +01:00
notifications.js use service workers for notifications 2015-12-20 15:10:44 +01:00
plugin-directive.js Fix automatic embedding of asynchronous plugins (jsonp) 2015-02-08 11:50:49 +01:00
plugins.js adding imgur gifv support to the videoPlugin 2015-11-13 21:38:32 +00:00
settings.js settings: add a cache 2015-05-21 21:08:17 +02:00
utils.js Split things up into logical blocks 2014-08-31 15:57:36 +01:00
websockets.js fixes for reconnect feature 2015-03-15 23:58:18 +01:00
weechat.js weechat.js: implement infolist 2015-12-17 17:17:16 +01:00