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
F19912724: D12236.id.diff
Thu, Apr 2, 9:35 PM
F19825117: D12236.diff
Mar 8 2026, 7:47 AM
F19746397: D12236.diff
Feb 15 2026, 5:00 PM
F19426837: D12236.id.diff
Dec 28 2025, 7:38 AM
F19426833: D12236.id29395.diff
Dec 28 2025, 7:37 AM
F19426832: D12236.id29406.diff
Dec 28 2025, 7:37 AM
F19189021: D12236.diff
Dec 16 2025, 7:55 AM
F19152401: D12236.id29406.diff
Dec 11 2025, 2:36 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.