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
F18808347: D12236.id29395.diff
Sun, Oct 19, 6:00 AM
F18771977: D12236.id.diff
Wed, Oct 8, 11:22 PM
F18766976: D12236.diff
Tue, Oct 7, 7:51 PM
F18764245: D12236.id29406.diff
Tue, Oct 7, 5:04 AM
F18737863: D12236.id29395.diff
Oct 1 2025, 1:02 PM
F18625310: D12236.id29406.diff
Sep 15 2025, 10:28 PM
F18625308: D12236.id29406.diff
Sep 15 2025, 10:28 PM
F18623424: D12236.diff
Sep 15 2025, 3:44 PM
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
Branch
mcom8
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 5073
Build 5091: [Placeholder Plan] Wait for 30 Seconds

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.