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

Lock daemon configuration

Summary: I feel like the daemon configuration should be locked from editing from the web UI, given that much of it won't work unless the daemons are restarted anyway.

Test Plan: N/A

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

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

+5
+5
src/applications/config/option/PhabricatorPHDConfigOptions.php
··· 22 22 public function getOptions() { 23 23 return array( 24 24 $this->newOption('phd.pid-directory', 'string', '/var/tmp/phd/pid') 25 + ->setLocked(true) 25 26 ->setDescription( 26 27 pht('Directory that phd should use to track running daemons.')), 27 28 $this->newOption('phd.log-directory', 'string', '/var/tmp/phd/log') 29 + ->setLocked(true) 28 30 ->setDescription( 29 31 pht('Directory that the daemons should use to store log files.')), 30 32 $this->newOption('phd.taskmasters', 'int', 4) 33 + ->setLocked(true) 31 34 ->setSummary(pht('Maximum taskmaster daemon pool size.')) 32 35 ->setDescription( 33 36 pht( ··· 35 38 'this can increase the maximum throughput of the task queue. The '. 36 39 'pool will automatically scale down when unutilized.')), 37 40 $this->newOption('phd.verbose', 'bool', false) 41 + ->setLocked(true) 38 42 ->setBoolOptions( 39 43 array( 40 44 pht('Verbose mode'), ··· 59 63 'Phabricator imports or manages. This option is new and '. 60 64 'experimental.')), 61 65 $this->newOption('phd.trace', 'bool', false) 66 + ->setLocked(true) 62 67 ->setBoolOptions( 63 68 array( 64 69 pht('Trace mode'),