Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

[MM-17253] Change to using ‘postMessage’ for desktop presence detection #3548

Merged
merged 3 commits into from
Aug 29, 2019

Conversation

deanwhillier
Copy link
Contributor

@deanwhillier deanwhillier commented Aug 28, 2019

Summary

As a result of a security update to the Desktop app (context isolation), the Desktop <-> Webapp communication for presence detection broke. This PR changes the communication mechanism to use postMessage in order to get Desktop <-> Webapp communication working again.

Ticket Link

https://mattermost.atlassian.net/browse/MM-17253

Related Pull Requests

@deanwhillier deanwhillier added 2: Dev Review Requires review by a core commiter 3: QA Review Requires review by a QA tester CherryPick/Candidate A candidate for a quality or patch release, but not yet approved labels Aug 28, 2019
@deanwhillier deanwhillier added this to the v5.15.0 milestone Aug 28, 2019
Copy link
Member

@lieut-data lieut-data left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we delete the now unused utils/webapp_connector.js?

@lindalumitchell
Copy link
Contributor

@deanwhillier Can you help add any known test steps to the ticket please?

@amyblais amyblais added CherryPick/Approved Meant for the quality or patch release tracked in the milestone and removed CherryPick/Candidate A candidate for a quality or patch release, but not yet approved labels Aug 28, 2019
@deanwhillier
Copy link
Contributor Author

Thanks for catching that @lieut-data!

@lindalumitchell, you can reference the test cases on this PR (I will add the link to the ticket as well)

@lindalumitchell lindalumitchell removed the 3: QA Review Requires review by a QA tester label Aug 29, 2019
@lindalumitchell
Copy link
Contributor

Thanks! Removed QA Review label; will test along with other PRs after merging.

@enahum enahum added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter labels Aug 29, 2019
@enahum enahum merged commit b4a9d6a into master Aug 29, 2019
@enahum enahum deleted the MM-17253 branch August 29, 2019 22:11
@mattermod mattermod added AutomatedCherryPick and removed CherryPick/Approved Meant for the quality or patch release tracked in the milestone labels Aug 29, 2019
enahum pushed a commit that referenced this pull request Aug 29, 2019
* change to ‘postMessage’ for desktop integration

* remove unused reference

* remove old connector
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation and removed Docs/Not Needed Does not require documentation labels Aug 30, 2019
@amyblais amyblais added the Docs/Needed Requires documentation label Aug 30, 2019
@amyblais
Copy link
Member

amyblais commented Sep 4, 2019

@esethna Please help check if this needs documentation for v5.15.

skheria pushed a commit to uber-archive/mattermost-webapp that referenced this pull request Oct 3, 2019
…on (mattermost#3548)

* change to ‘postMessage’ for desktop integration

* remove unused reference

* remove old connector
skheria pushed a commit to uber-archive/mattermost-webapp that referenced this pull request Oct 3, 2019
…on (mattermost#3548)

* change to ‘postMessage’ for desktop integration

* remove unused reference

* remove old connector
@esethna esethna added Docs/Not Needed Does not require documentation and removed Docs/Needed Requires documentation labels Oct 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4: Reviews Complete All reviewers have approved the pull request AutomatedCherryPick Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation
Projects
None yet
7 participants