Differential D11538 Diff 31986 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 114 Lines • ▼ Show 20 Lines | return array( | ||||
| 'If inbound email is configured, users can interact with '. | 'If inbound email is configured, users can interact with '. | ||||
| 'revisions by using "!actions" in email replies (for example, '. | 'revisions by using "!actions" in email replies (for example, '. | ||||
| '"!resign" or "!rethink"). However, by default, users may not '. | '"!resign" or "!rethink"). However, by default, users may not '. | ||||
| '"!accept" revisions via email: email authentication can be '. | '"!accept" revisions via email: email authentication can be '. | ||||
| 'configured to be very weak, and email "!accept" is kind of '. | 'configured to be very weak, and email "!accept" is kind of '. | ||||
| 'sketchy and implies the revision may not actually be receiving '. | 'sketchy and implies the revision may not actually be receiving '. | ||||
| 'thorough review. You can enable "!accept" by setting this '. | 'thorough review. You can enable "!accept" by setting this '. | ||||
| 'option to true.')), | 'option to true.')), | ||||
| $this->newOption('differential.generated-paths', 'list<regex>', array()) | |||||
| ->setSummary(pht('File regexps to treat as automatically generated.')) | |||||
| ->setDescription( | |||||
| pht( | |||||
| 'List of file regexps that should be treated as if they are '. | |||||
| 'generated by an automatic process, and thus be hidden by '. | |||||
| 'default in Differential.'. | |||||
| "\n\n". | |||||
| 'NOTE: This property is cached, so you will need to purge the '. | |||||
| 'cache after making changes if you want the new configuration '. | |||||
| 'to affect existing revisions. For instructions, see '. | |||||
| '**[[ %s | Managing Caches ]]** in the documentation.', | |||||
| $caches_href)) | |||||
| ->addExample("/config\.h$/\n#/autobuilt/#", pht('Valid Setting')), | |||||
| $this->newOption('differential.sticky-accept', 'bool', true) | $this->newOption('differential.sticky-accept', 'bool', true) | ||||
| ->setBoolOptions( | ->setBoolOptions( | ||||
| array( | array( | ||||
| pht('Accepts persist across updates'), | pht('Accepts persist across updates'), | ||||
| pht('Accepts are reset by updates'), | pht('Accepts are reset by updates'), | ||||
| )) | )) | ||||
| ->setSummary( | ->setSummary( | ||||
| pht('Should "Accepted" revisions remain "Accepted" after updates?')) | pht('Should "Accepted" revisions remain "Accepted" after updates?')) | ||||
| ▲ Show 20 Lines • Show All 162 Lines • Show Last 20 Lines | |||||