Commit graph

22 commits

Author SHA1 Message Date
Pavel Djundik
5fe0710724 Remove cyclical dependency in router<->webpush 2020-01-03 20:02:22 +02:00
Pavel Djundik
a3be259567 Fix opening channel when clicking a push notification 2019-11-25 21:51:04 +02:00
Pavel Djundik
0cb8dc73bb Use es6 import syntax 2019-11-25 20:13:12 +02:00
Pavel Djundik
7584f47c7d Cleanup webpush code 2019-11-25 20:13:10 +02:00
Pavel Djundik
f2309c7c89 Improve router experience 2019-11-25 20:13:07 +02:00
Pavel Djundik
80c6cfbd7c Use switchToChannel instead of click 2019-11-25 20:13:00 +02:00
Pavel Djundik
b164e95290 Remove DOM access from webpush 2019-11-25 20:12:57 +02:00
Pavel Djundik
2f635069e0 Move vuex state to a separate file and reorganize some code
Co-Authored-By: Tim Miller-Williams <timmw@users.noreply.github.com>
2019-11-25 20:12:54 +02:00
Richard Lewis
b5f2e7f0cc Fix lint and format with prettier. 2019-11-25 20:12:30 +02:00
Richard Lewis
7fd48d8155 Fix enabling and disabling push notifications. 2019-11-25 20:12:28 +02:00
Pavel Djundik
71f54f6a5d Move some settings to Vue 2019-11-25 20:12:22 +02:00
Alistair McKinlay
133e7bf710 Format js/vue with prettier 2019-07-19 11:27:40 +01:00
Daniel STANCU
bf4d55564c Incorrect spelling 2018-03-17 00:44:19 +02:00
Jérémie Astori
416f45d1e3 Use some ES6/Node v4-only syntax when possible 2018-02-19 18:30:00 +02:00
Pavel Djundik
6d6b5cb2a9 Remove deprecated jQuery calls
Fixes #2011
2018-02-01 12:15:51 +02:00
Pavel Djundik
3c8fcadfe8
Merge pull request #1895 from thelounge/xpaw/sw-notification-focus
Open and focus correct channel when clicking on push notifications
2017-12-25 11:59:47 +02:00
Pavel Djundik
80c11f2bde Fix error not showing up in failed push subscription 2017-12-24 22:12:36 +02:00
Pavel Djundik
f81f083b24 Open and focus correct channel when clicking on push notifications
Affects all notifications sent via service workers

Fixes #1550
2017-12-24 16:06:23 +02:00
Pavel Djundik
8d88779918 Fix options 2017-11-19 19:43:42 +02:00
Pavel Djundik
8791a17fc4 Use service worker to display notifications if available 2017-11-19 18:18:55 +02:00
Jérémie Astori
1dc92d8934
Enforce dangling commas with ESLint
¯\_(ツ)_/¯
2017-11-15 01:35:15 -05:00
Pavel Djundik
0ac3ba28e1 Web Push Notifications 2017-08-22 10:54:18 +03:00