add service worker and push notifications
Merge request reports
Activity
- Resolved by HJ
- Resolved by HJ
Also, how does it work with already existing non-push notifications?
Non-push notifications have priority over push. Push notifications show only if there are no open tabs with Pleroma.
Edited by minibikini- Resolved by minibikini
added 1 commit
- bbae2e10 - Add configuration to enable/disable web push notifications
- Resolved by HJ
- Resolved by HJ
- Resolved by HJ
@lambadalambda as far as i know, JS asks browser to do some black magic shit, which registers some shit at browser's push service which i can only assume tells the backend to start pushing stuff to it?
https://blog.mozilla.org/services/2016/08/23/sending-vapid-identified-webpush-notifications-via-mozillas-push-service/ has an explanation, and yes, it gets a magic browser-vendor specific url.
- Resolved by HJ
Still no configuration to disable web push. Only reference to
webPushNotifications
which isn't defined anywhere else, no UI changes.I'm sorry, I didn't know this is also a requirement. Could you please list all the requirements that we had not touched yet in previous discussions, if there are any.
I already asked for this before: !404 (comment 9142)
And given that you've added
webPushNotifications
i assume you started working on it but not quite finished.No more requirements.
added 136 commits
-
02c0e157...e443716b - 134 commits from branch
pleroma:develop
- b3455649 - improve notification subscription
- a8521fc8 - Merge commit 'e443716b' into feature/push-subscriptions
-
02c0e157...e443716b - 134 commits from branch
mentioned in commit 8e4777cc
✘ http://eslint.org/docs/rules/no-undef 'data' is not defined
/home/lambda/projects/pleroma/code/pleroma-fe/src/main.js:64:69 store.dispatch('setOption', { name: 'nsfwCensorImage', value: data['nsfwCensorImage'] })@lambadalambda hey buddy i think you got the wrong door, nsfwCensorImage is two blocks down