Differential D8468 Diff 20121 src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
| Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | return array( | ||||
| "List of file regexps where whitespace is meaningful and should ". | "List of file regexps where whitespace is meaningful and should ". | ||||
| "not use 'ignore-all' by default")), | "not use 'ignore-all' by default")), | ||||
| $this->newOption( | $this->newOption( | ||||
| 'differential.field-selector', | 'differential.field-selector', | ||||
| 'class', | 'class', | ||||
| 'DifferentialDefaultFieldSelector') | 'DifferentialDefaultFieldSelector') | ||||
| ->setBaseClass('DifferentialFieldSelector') | ->setBaseClass('DifferentialFieldSelector') | ||||
| ->setDescription(pht('Field selector class')), | ->setDescription(pht('Field selector class')), | ||||
| $this->newOption('differential.show-host-field', 'bool', false) | |||||
| ->setBoolOptions( | |||||
| array( | |||||
| pht('Show "Host" Fields'), | |||||
| pht('Hide "Host" Fields'), | |||||
| )) | |||||
| ->setSummary(pht('Show or hide the "Host" and "Path" fields.')) | |||||
| ->setDescription( | |||||
| pht( | |||||
| 'Differential can show "Host" and "Path" fields on revisions, '. | |||||
| 'with information about the machine and working directory where '. | |||||
| 'the change came from. These fields are disabled by default '. | |||||
| 'because they may occasionally have sensitive information, but '. | |||||
| 'they can be useful if you work in an environment with shared '. | |||||
| 'development machines. You can set this option to true to enable '. | |||||
| 'these fields.')), | |||||
| $this->newOption('differential.show-test-plan-field', 'bool', true) | |||||
| ->setBoolOptions( | |||||
| array( | |||||
| pht('Show "Test Plan" Field'), | |||||
| pht('Hide "Test Plan" Field'), | |||||
| )) | |||||
| ->setSummary(pht('Show or hide the "Test Plan" field.')) | |||||
| ->setDescription( | |||||
| pht( | |||||
| 'Differential has a required "Test Plan" field by default, which '. | |||||
| 'requires authors to fill out information about how they verified '. | |||||
| 'the correctness of their changes when they send code for review. '. | |||||
| 'If you would prefer not to use this field, you can disable it '. | |||||
| 'here. You can also make it optional (instead of required) by '. | |||||
| 'setting {{differential.require-test-plan-field}}.')), | |||||
| $this->newOption('differential.require-test-plan-field', 'bool', true) | $this->newOption('differential.require-test-plan-field', 'bool', true) | ||||
| ->setBoolOptions( | ->setBoolOptions( | ||||
| array( | array( | ||||
| pht("Require 'Test Plan' field"), | pht("Require 'Test Plan' field"), | ||||
| pht("Make 'Test Plan' field optional"), | pht("Make 'Test Plan' field optional"), | ||||
| )) | )) | ||||
| ->setSummary(pht('Require "Test Plan" field?')) | ->setSummary(pht('Require "Test Plan" field?')) | ||||
| ->setDescription( | ->setDescription( | ||||
| ▲ Show 20 Lines • Show All 179 Lines • Show Last 20 Lines | |||||