@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 upstream/main 30 lines 692 B view raw
1<?php 2 3/** 4 * Trivial action which logs a message. 5 * 6 * This action is primarily useful for testing triggers. 7 */ 8final class PhabricatorLogTriggerAction 9 extends PhabricatorTriggerAction { 10 11 public function validateProperties(array $properties) { 12 PhutilTypeSpec::checkMap( 13 $properties, 14 array( 15 'message' => 'string', 16 )); 17 } 18 19 public function execute($last_epoch, $this_epoch) { 20 $message = pht( 21 '(%s -> %s @ %s) %s', 22 $last_epoch ? date('Y-m-d g:i:s A', $last_epoch) : 'null', 23 date('Y-m-d g:i:s A', $this_epoch), 24 date('Y-m-d g:i:s A', PhabricatorTime::getNow()), 25 $this->getProperty('message')); 26 27 phlog($message); 28 } 29 30}