Page MenuHomePhabricator

Give organizers in ICS exports a dummy email address to placate Gmail
ClosedPublic

Authored by epriestley on Oct 30 2016, 4:13 PM.
Tags
None
Referenced Files
F13060231: D16772.diff
Fri, Apr 19, 5:32 PM
Unknown Object (File)
Sat, Apr 13, 4:58 PM
Unknown Object (File)
Thu, Apr 11, 8:18 AM
Unknown Object (File)
Sat, Apr 6, 12:35 AM
Unknown Object (File)
Thu, Apr 4, 8:56 AM
Unknown Object (File)
Fri, Mar 29, 11:50 PM
Unknown Object (File)
Thu, Mar 28, 5:30 AM
Unknown Object (File)
Thu, Mar 21, 11:38 AM
Subscribers
None

Details

Summary

Ref T10747. In the in-email ICS event card that Gmail shows, it has a "Who" field which reads "Unknown Organizer*" if the URI for the organizer isn't email-address-like.

Previously, we used a URI like https://phabricator.install.com/p/username, which I think is OK as far as RFC 5545 is concerned, but Gmail doesn't like it.

Instead, use PHID-USER-asdfa@phabricator.install.com, which doesn't go anywhere, but makes Gmail happy. Users don't normally see this URI anyway.

Test Plan

Got a readable "Who" in Gmail when importing an event exported from Calendar:

Screen Shot 2016-10-30 at 9.12.16 AM.png (272×525 px, 25 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Give organizers in ICS exports a dummy email address to placate Gmail.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Oct 30 2016, 4:18 PM
This revision was automatically updated to reflect the committed changes.