@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.

Add an "authored commits" prebuilt filter to Audit

Summary: Add a prebuilt filter to show all of the viewer's commits across all repositories. I could go either way on this, but it seems maybe-useful (?), and we have similar prebuilt filters elsewhere.

Test Plan: scoped it out <.< >.>

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

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

+7
+7
src/applications/audit/query/PhabricatorCommitSearchEngine.php
··· 113 113 114 114 $names['open'] = pht('Open Audits'); 115 115 116 + if ($this->requireViewer()->isLoggedIn()) { 117 + $names['authored'] = pht('Authored Commits'); 118 + } 119 + 116 120 $names['all'] = pht('All Commits'); 117 121 118 122 return $names; ··· 139 143 $query->setParameter( 140 144 'auditorPHIDs', 141 145 PhabricatorAuditCommentEditor::loadAuditPHIDsForUser($viewer)); 146 + return $query; 147 + case 'authored': 148 + $query->setParameter('commitAuthorPHIDs', array($viewer->getPHID())); 142 149 return $query; 143 150 case 'problem': 144 151 $query->setParameter('commitAuthorPHIDs', array($viewer->getPHID()));