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

at recaptime-dev/main 55 lines 1.3 kB view raw
1<?php 2 3final class PhabricatorConduitMethodCallLog 4 extends PhabricatorConduitDAO 5 implements PhabricatorPolicyInterface { 6 7 protected $callerPHID; 8 protected $connectionID; 9 protected $method; 10 protected $error; 11 protected $duration; 12 13 protected function getConfiguration() { 14 return array( 15 self::CONFIG_COLUMN_SCHEMA => array( 16 'id' => 'auto64', 17 'connectionID' => 'id64?', 18 'method' => 'text64', 19 'error' => 'text255', 20 'duration' => 'uint64', 21 'callerPHID' => 'phid?', 22 ), 23 self::CONFIG_KEY_SCHEMA => array( 24 'key_date' => array( 25 'columns' => array('dateCreated'), 26 ), 27 'key_method' => array( 28 'columns' => array('method'), 29 ), 30 'key_callermethod' => array( 31 'columns' => array('callerPHID', 'method'), 32 ), 33 ), 34 ) + parent::getConfiguration(); 35 } 36 37 38/* -( PhabricatorPolicyInterface )----------------------------------------- */ 39 40 41 public function getCapabilities() { 42 return array( 43 PhabricatorPolicyCapability::CAN_VIEW, 44 ); 45 } 46 47 public function getPolicy($capability) { 48 return PhabricatorPolicies::POLICY_USER; 49 } 50 51 public function hasAutomaticCapability($capability, PhabricatorUser $viewer) { 52 return false; 53 } 54 55}