Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorSecurityConfigOptions.php
Show First 20 Lines • Show All 228 Lines • ▼ Show 20 Lines | return array( | ||||
'editor' => true, | 'editor' => true, | ||||
)) | )) | ||||
->setSummary(pht('Whitelists editor protocols for "Open in Editor".')) | ->setSummary(pht('Whitelists editor protocols for "Open in Editor".')) | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Users can configure a URI pattern to open files in a text '. | 'Users can configure a URI pattern to open files in a text '. | ||||
'editor. The URI must use a protocol on this whitelist.')) | 'editor. The URI must use a protocol on this whitelist.')) | ||||
->setLocked(true), | ->setLocked(true), | ||||
$this->newOption( | |||||
'celerity.resource-hash', | |||||
'string', | |||||
'd9455ea150622ee044f7931dabfa52aa') | |||||
->setSummary( | |||||
pht('An input to the hash function when building resource hashes.')) | |||||
->setDescription( | |||||
pht( | |||||
'This value is an input to the hash function when building '. | |||||
'resource hashes. It has no security value, but if you '. | |||||
'accidentally poison user caches (by pushing a bad patch or '. | |||||
'having something go wrong with a CDN, e.g.) you can change this '. | |||||
'to something else and rebuild the Celerity map to break user '. | |||||
'caches. Unless you are doing Celerity development, it is '. | |||||
'exceptionally unlikely that you need to modify this.')), | |||||
$this->newOption('remarkup.enable-embedded-youtube', 'bool', false) | $this->newOption('remarkup.enable-embedded-youtube', 'bool', false) | ||||
->setBoolOptions( | ->setBoolOptions( | ||||
array( | array( | ||||
pht('Embed YouTube videos'), | pht('Embed YouTube videos'), | ||||
pht("Don't embed YouTube videos"), | pht("Don't embed YouTube videos"), | ||||
)) | )) | ||||
->setSummary( | ->setSummary( | ||||
pht('Determines whether or not YouTube videos get embedded.')) | pht('Determines whether or not YouTube videos get embedded.')) | ||||
▲ Show 20 Lines • Show All 106 Lines • Show Last 20 Lines |