Page MenuHomePhabricator

Include storyText in feed POST data
ClosedPublic

Authored by sophiebits on Apr 5 2014, 5:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 21, 8:13 AM
Unknown Object (File)
Feb 24 2024, 4:54 PM
Unknown Object (File)
Feb 19 2024, 8:58 PM
Unknown Object (File)
Feb 13 2024, 2:05 PM
Unknown Object (File)
Feb 4 2024, 5:05 PM
Unknown Object (File)
Feb 4 2024, 5:05 PM
Unknown Object (File)
Feb 4 2024, 5:04 PM
Unknown Object (File)
Feb 4 2024, 5:04 PM
Subscribers

Details

Summary

I also changed PhabricatorApplicationTransactionFeedStory and the TokenGivenFeedStory to include only the title/first line of the feed story, which is more convenient (previously, strip_tags gave a multi-line story without even any linebreaks) and more consistent with the other story types.

Test Plan

Added a requestbin URL to feed.http-hooks, commented on a Differential, and saw storyText equal to "alpert added a comment to D2: c." in the POST data it received.

Diff Detail

Repository
rP Phabricator
Branch
feed-hook-title
Lint
Lint Passed
Unit
Tests Passed

Event Timeline

sophiebits retitled this revision from to Include storyText in feed POST data.
sophiebits updated this object.
sophiebits edited the test plan for this revision. (Show Details)
sophiebits added a reviewer: epriestley.
This revision is now accepted and ready to land.Apr 6 2014, 6:48 PM
epriestley updated this revision to Diff 20660.

Closed by commit rPcd829434d49d (authored by @spicyj, committed by @epriestley).