@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Give "create" transactions a readable type in "transaction.search"

Summary:
Ref T13151. See PHI725. By default, "transaction.search" doesn't provide details about transactions because many have bad/weird/policy-violating internal types or fields.

The "create" transaction is simple and straightforward, so label it to allow callers to distinguish it.

Test Plan:
- Created a new task.
- Called `transaction.search` on it.
- Saw the labelled "create" transaction.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: swisspol

Maniphest Tasks: T13151

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

+3
+3
src/applications/transactions/conduit/TransactionSearchConduitAPIMethod.php
··· 205 205 case PhabricatorTransactions::TYPE_COMMENT: 206 206 $type = 'comment'; 207 207 break; 208 + case PhabricatorTransactions::TYPE_CREATE: 209 + $type = 'create'; 210 + break; 208 211 } 209 212 } 210 213