[MM-18152] Desktop notifications (#1040)

* temp

* add in html5 notification tests

* strip out custom permissions handling

* disable middle click

* validate as URI instead of URL

allow’s custom protocol’s to pass through

* add context isolation to new window requests

* add new permissions handling

* prevent setting user to away from quit/shutdown

* dispatch desktop notifications from renderer

* remove test code

* log desktop notification errors

* should deny as a last resort

* only trigger callback once
This commit is contained in:
Dean Whillier
2019-09-23 14:59:12 -04:00
committed by GitHub
parent 77d823a076
commit 761ef8d0e6
14 changed files with 116 additions and 468 deletions

View File

@@ -3,7 +3,7 @@
"provider": "generic",
"url": "https://releases.mattermost.com/desktop/"
}],
"appId": "com.mattermost.desktop",
"appId": "Mattermost.Desktop",
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
"directories": {
"buildResources": "resources",