HomePhabricator

Export recurring events and build ICS files for configured exports

Description

Export recurring events and build ICS files for configured exports

Summary:
Ref T10747. This:

  • Exports recurring events properly, with RRULE + RECURRENCE-ID.
  • When exporting a part of an event series, export the whole series to ICS so it is represented faithfully.
  • Make the subscribable URL for "Export" objects work.

Test Plan:

  • Downloaded the ".ics" for a normal event, imported it into Calendar.app and Google Calendar.
  • Downloaded the ".ics" for a recurring event, imported it into Calendar.app and Google Calendar.
  • Defined an ".ics" Export of my events, subscribed to them in Calendar.app.
    • Edited an event in Phabricator.
    • Hit +R in Calendar.app, saw changes. (MAGIC!)
    • This export included recurring events, which appeared the same way in Calendar.app and Phabricator.
  • Can't import into Google Calendar from my local install easily since Google's servers can't hit my laptop, but I'll test once we deploy.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10747

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

Details

Provenance
epriestleyAuthored on Oct 6 2016, 7:31 PM
epriestleyPushed on Oct 6 2016, 9:07 PM
Reviewer
chad
Differential Revision
D16679: Export recurring events and build ICS files for configured exports
Parents
rPfa6a5a46ba57: Make more of the Calendar export workflow work
Branches
Unknown
Tags
Unknown
Tasks
T10747: Import and export ICS from Calendar
Build Status
Buildable 14049
Build 18223: Run Core Tests