Homec4science

Add a skeleton for Calendar notifications

Authored by epriestley <git@epriestley.com> on Nov 1 2016, 02:01.

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.

{F1891625}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T7931

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

Details

Committed
epriestley <git@epriestley.com>Nov 1 2016, 18:41
Pushed
aubortJan 31 2017, 17:16
Parents
rPHa0ea31f47f26: When users edit recurring events, prompt to "Edit This Event" or "Edit All…
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH6e6ae36dcf93: Add a skeleton for Calendar notifications (authored by epriestley <git@epriestley.com>).Nov 1 2016, 18:41