Differential D18825 Diff 45169 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 109 Lines • ▼ Show 20 Lines | return array( | ||||
| "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('Disable Git LFS'), | |||||
| )) | |||||
| ->setLocked(true) | |||||
| ->setSummary(pht('Enable Git Large File Storage (LFS).')) | |||||
amckinleyUnsubmitted Not Done Inline ActionsOr change this to "allow" amckinley: Or change this to "allow" | |||||
| ->setDescription( | |||||
| pht( | |||||
| 'Phabricator supports Git LFS, an Git extension for storing large '. | |||||
amckinleyUnsubmitted Not Done Inline Actions"a Git extension" amckinley: "a Git extension" | |||||
| 'files in a repository. To enable LFS support, activate this '. | |||||
amckinleyUnsubmitted 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… | |||||
| 'setting.')), | |||||
| $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"?