Differential D18825 Diff 45177 src/applications/diffusion/config/PhabricatorDiffusionConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/config/PhabricatorDiffusionConfigOptions.php
| Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | return array( | ||||
| pht( | pht( | ||||
| 'Regular expression to link external bug tracker. See '. | 'Regular expression to link external bug tracker. See '. | ||||
| 'http://tortoisesvn.net/docs/release/TortoiseSVN_en/'. | 'http://tortoisesvn.net/docs/release/TortoiseSVN_en/'. | ||||
| 'tsvn-dug-bugtracker.html for further explanation.')), | 'tsvn-dug-bugtracker.html for further explanation.')), | ||||
| $this->newOption('diffusion.allow-http-auth', 'bool', false) | $this->newOption('diffusion.allow-http-auth', 'bool', false) | ||||
| ->setBoolOptions( | ->setBoolOptions( | ||||
| array( | array( | ||||
| pht('Allow HTTP Basic Auth'), | pht('Allow HTTP Basic Auth'), | ||||
| pht('Disable HTTP Basic Auth'), | pht('Disallow HTTP Basic Auth'), | ||||
| )) | )) | ||||
| ->setSummary(pht('Enable HTTP Basic Auth for repositories.')) | ->setSummary(pht('Enable HTTP Basic Auth for repositories.')) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| "Phabricator can serve repositories over HTTP, using HTTP basic ". | "Phabricator can serve repositories over HTTP, using HTTP basic ". | ||||
| "auth.\n\n". | "auth.\n\n". | ||||
| "Because HTTP basic auth is less secure than SSH auth, it is ". | "Because HTTP basic auth is less secure than SSH auth, it is ". | ||||
| "disabled by default. You can enable it here if you'd like to use ". | "disabled by default. You can enable it here if you'd like to use ". | ||||
| "it anyway. There's nothing fundamentally insecure about it as ". | "it anyway. There's nothing fundamentally insecure about it as ". | ||||
| "long as Phabricator uses HTTPS, but it presents a much lower ". | "long as Phabricator uses HTTPS, but it presents a much lower ". | ||||
| "barrier to attackers than SSH does.\n\n". | "barrier to attackers than SSH does.\n\n". | ||||
| "Consider using SSH for authenticated access to repositories ". | "Consider using SSH for authenticated access to repositories ". | ||||
| "instead of HTTP.")), | "instead of HTTP.")), | ||||
| $this->newOption('diffusion.allow-git-lfs', 'bool', false) | |||||
| ->setBoolOptions( | |||||
| array( | |||||
| pht('Allow Git LFS'), | |||||
amckinley: "Enable"? | |||||
| pht('Disallow Git LFS'), | |||||
| )) | |||||
| ->setLocked(true) | |||||
| ->setSummary(pht('Allow Git Large File Storage (LFS).')) | |||||
Not Done Inline ActionsOr change this to "allow" amckinley: Or change this to "allow" | |||||
| ->setDescription( | |||||
| pht( | |||||
| 'Phabricator supports Git LFS, a Git extension for storing large '. | |||||
Not Done Inline Actions"a Git extension" amckinley: "a Git extension" | |||||
| 'files alongside a repository. Activate this setting to allow '. | |||||
Not Done Inline ActionsI'm just quibbling, but technically, the files aren't stored in the repository itself. FWIW, here's the blurb from the project page if we want to use it:
amckinley: I'm just quibbling, but technically, the files aren't stored in the repository itself. FWIW… | |||||
| 'the extension to store file data in Phabricator.')), | |||||
| $this->newOption('diffusion.ssh-user', 'string', null) | $this->newOption('diffusion.ssh-user', 'string', null) | ||||
| ->setLocked(true) | ->setLocked(true) | ||||
| ->setSummary(pht('Login username for SSH connections to repositories.')) | ->setSummary(pht('Login username for SSH connections to repositories.')) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| 'When constructing clone URIs to show to users, Diffusion will '. | 'When constructing clone URIs to show to users, Diffusion will '. | ||||
| 'fill in this login username. If you have configured a VCS user '. | 'fill in this login username. If you have configured a VCS user '. | ||||
| 'like `git`, you should provide it here.')), | 'like `git`, you should provide it here.')), | ||||
| Show All 27 Lines | |||||
"Enable"?