@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 some more options to the "core" group.

Summary:
Refs #2255 and completes the first group ("CORE") in @epriestley's comment
thereof.

Test Plan: Saw the new options appear in the list and save correctly.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

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

authored by

Ricky Elrod and committed by
epriestley
9c41ea96 ec7d799b

+53 -1
+53 -1
src/applications/config/option/PhabricatorCoreConfigOptions.php
··· 35 35 "production environment. If unset, defaults to ". 36 36 "{{phabricator.base-uri}}. Most installs do not need to set ". 37 37 "this option.")) 38 - ->addExample('http://phabricator.example.com/', 'Valid Setting') 38 + ->addExample('http://phabricator.example.com/', 'Valid Setting'), 39 + $this->newOption('phabricator.timezone', 'string', null) 40 + ->setSummary( 41 + pht("The timezone Phabricator should use.")) 42 + ->setDescription( 43 + pht( 44 + "PHP requires that you set a timezone in your php.ini before ". 45 + "using date functions, or it will emit a warning. If this isn't ". 46 + "possible (for instance, because you are using HPHP) you can set ". 47 + "some valid constant for date_default_timezone_set() here and ". 48 + "Phabricator will set it on your behalf, silencing the warning.")) 49 + ->addExample('America/New_York', 'Valid Setting'), 50 + $this->newOption('phabricator.serious-business', 'bool', false) 51 + ->setOptions( 52 + array( 53 + pht('Shenanigans'), // That should be interesting to translate. :P 54 + pht('Serious business'), 55 + )) 56 + ->setSummary( 57 + pht("Should Phabricator be serious?")) 58 + ->setDescription( 59 + pht( 60 + "By default, Phabricator includes some silly nonsense in the UI, ". 61 + "such as a submit button called 'Clowncopterize' in Differential ". 62 + "and a call to 'Leap Into Action'. If you'd prefer more ". 63 + "traditional UI strings like 'Submit', you can set this flag to ". 64 + "disable most of the jokes and easter eggs.")), 65 + $this->newOption('storage.default-namespace', 'string', 'phabricator') 66 + ->setSummary( 67 + pht("The namespace that Phabricator databases should use.")) 68 + ->setDescription( 69 + pht( 70 + "Phabricator puts databases in a namespace, which defualts to ". 71 + "'phabricator' -- for instance, the Differential database is ". 72 + "named 'phabricator_differential' by default. You can change ". 73 + "this namespace if you want. Normally, you should not do this ". 74 + "unless you are developing Phabricator and using namespaces to ". 75 + "separate multiple sandbox datasets.")) 76 + ->addExample('phabricator', 'Valid Setting'), 77 + $this->newOption('environment.append-paths', 'list<string>', null) 78 + ->setSummary( 79 + pht("These paths get appended to your \$PATH envrionment variable.")) 80 + ->setDescription( 81 + pht( 82 + "Phabricator occasionally shells out to other binaries on the ". 83 + "server. An example of this is the \"pygmentize\" command, used ". 84 + "to syntax-highlight code written in languages other than PHP. ". 85 + "By default, it is assumed that these binaries are in the \$PATH ". 86 + "of the user running Phabricator (normally 'apache', 'httpd', or ". 87 + "'nobody'). Here you can add extra directories to the \$PATH ". 88 + "environment variable, for when these binaries are in ". 89 + "non-standard locations.")) 90 + ->addExample('/usr/local/bin', 'Valid Setting'), 39 91 ); 40 92 } 41 93