HomePhabricator

Create separate "Accept" and "Decline" transactions for Calendar

Description

Create separate "Accept" and "Decline" transactions for Calendar

Summary:
Ref T9275. Currently, there's a single "invite" transaction type for managing Calendar invites, and it takes a map of invitees to status.

This isn't great for EditEngine or API access, since it lets you set anyone else to any status and we can't reuse as much code as we can with a simpler API.

Make "Accept" and "Decline" separate actions which affect the actor's invite, so "invite" can be a simpler transaction which just invites or uninvites people.

Test Plan:

  • Joined/accepted/declined an event invitation.
  • Edited event invitees.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9275

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

Details

Provenance
epriestleyAuthored on Jul 11 2016, 10:08 PM
epriestleyPushed on Jul 13 2016, 2:42 PM
Reviewer
chad
Differential Revision
D16272: Create separate "Accept" and "Decline" transactions for Calendar
Parents
rPffdb9f06f859: Move more event fields to EditEngine
Branches
Unknown
Tags
Unknown
Tasks
T9275: Move Calendar to EditEngine
Build Status
Buildable 13045
Build 16671: Run Core Tests