Page MenuHomePhabricator

Lift common code for transaction-based reply handlers into parent class
ClosedPublic

Authored by epriestley on Apr 1 2015, 1:51 AM.
Tags
None
Referenced Files
F15522989: D12236.id.diff
Sun, Apr 20, 10:56 PM
F15519009: D12236.diff
Sat, Apr 19, 6:58 PM
F15464842: D12236.id.diff
Wed, Apr 2, 12:54 PM
F15458441: D12236.id29395.diff
Mon, Mar 31, 2:15 AM
F15437473: D12236.id29406.diff
Mar 25 2025, 7:37 PM
F15420541: D12236.id29395.diff
Mar 21 2025, 2:47 PM
F15419332: D12236.id.diff
Mar 21 2025, 5:23 AM
F15418711: D12236.id.diff
Mar 21 2025, 12:59 AM
Subscribers

Details

Summary

Ref T7199. Essentially all of the reply handlers now apply transactions to something which implements PhabricatorApplicationTransactionInterface.

We can share code between them by lifting this stuff into a superclass.

First, convert paste. Also rename PasteMockMailReceiver to PasteMailReceiver (this got mis-copied from Pholio at some point, I think).

Test Plan

Used bin/mail receive-test to send comments + !unsubscribe to pastes.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Lift common code for transaction-based reply handlers into parent class.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Apr 1 2015, 3:07 PM
This revision was automatically updated to reflect the committed changes.