Differential D15927 Diff 38352 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 223 Lines • ▼ Show 20 Lines | return array( | ||||
| "\n\n". | "\n\n". | ||||
| 'If you have an unusual workflow where Differential is used for '. | 'If you have an unusual workflow where Differential is used for '. | ||||
| 'post-commit review (normally called "Audit", elsewhere in '. | 'post-commit review (normally called "Audit", elsewhere in '. | ||||
| 'Phabricator), you can set this flag to treat the "Accepted" '. | 'Phabricator), you can set this flag to treat the "Accepted" '. | ||||
| 'state as a "Closed" state and end the review workflow early.'. | 'state as a "Closed" state and end the review workflow early.'. | ||||
| "\n\n". | "\n\n". | ||||
| 'This sort of workflow is very unusual. Very few installs should '. | 'This sort of workflow is very unusual. Very few installs should '. | ||||
| 'need to change this option.')), | 'need to change this option.')), | ||||
| $this->newOption('differential.days-fresh', 'int', 1) | |||||
| ->setSummary( | |||||
| pht( | |||||
| "For how many business days should a revision be considered ". | |||||
| "'fresh'?")) | |||||
| ->setDescription( | |||||
| pht( | |||||
| 'Revisions newer than this number of days are marked as fresh in '. | |||||
| 'Action Required and Revisions Waiting on You views. Only work '. | |||||
| 'days (not weekends and holidays) are included. Set to 0 to '. | |||||
| 'disable this feature.')), | |||||
| $this->newOption('differential.days-stale', 'int', 3) | |||||
| ->setSummary( | |||||
| pht("After this many days, a revision will be considered 'stale'.")) | |||||
| ->setDescription( | |||||
| pht( | |||||
| "Similar to `%s` but marks stale revisions. ". | |||||
| "If the revision is even older than it is when marked as 'old'.", | |||||
| 'differential.days-fresh')), | |||||
| $this->newOption( | $this->newOption( | ||||
| 'metamta.differential.subject-prefix', | 'metamta.differential.subject-prefix', | ||||
| 'string', | 'string', | ||||
| '[Differential]') | '[Differential]') | ||||
| ->setDescription(pht('Subject prefix for Differential mail.')), | ->setDescription(pht('Subject prefix for Differential mail.')), | ||||
| $this->newOption( | $this->newOption( | ||||
| 'metamta.differential.attach-patches', | 'metamta.differential.attach-patches', | ||||
| 'bool', | 'bool', | ||||
| Show All 35 Lines | |||||