HomePhabricator

Add a skeleton for Calendar notifications

Description

Add a skeleton for Calendar notifications

Summary:
Ref T7931. I'm going to do this separate from existing infrastructure because:

  • events start at different times for different users;
  • I like the idea of being able to batch stuff (send one email about several upcoming events);
  • triggering on ghost/recurring events is a real complicated mess.

This puts a skeleton in place that finds all the events we need to notify about and writes some silly example bodies to stdout, marking that we notified users so they don't get notified again.

Test Plan:
Ran bin/calendar notify, got a "great" notification in the command output.

Screen Shot 2016-10-31 at 6.13.41 PM.png (109×341 px, 11 KB)

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T7931

Differential Revision: https://secure.phabricator.com/D16783