@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 60 lines 2.1 kB view raw
1<?php 2 3final class PhabricatorAWSConfigOptions 4 extends PhabricatorApplicationConfigOptions { 5 6 public function getName() { 7 return pht('Amazon Web Services'); 8 } 9 10 public function getDescription() { 11 return pht('Configure integration with AWS (EC2, SES, S3, etc.).'); 12 } 13 14 public function getIcon() { 15 return 'fa-server'; 16 } 17 18 public function getGroup() { 19 return 'core'; 20 } 21 22 public function getOptions() { 23 return array( 24 $this->newOption('amazon-s3.access-key', 'string', null) 25 ->setLocked(true) 26 ->setDescription(pht('Access key for Amazon S3.')), 27 $this->newOption('amazon-s3.secret-key', 'string', null) 28 ->setHidden(true) 29 ->setDescription(pht('Secret key for Amazon S3.')), 30 $this->newOption('amazon-s3.region', 'string', null) 31 ->setLocked(true) 32 ->setDescription( 33 pht( 34 'Amazon S3 region where your S3 bucket is located. When you '. 35 'specify a region, you should also specify a corresponding '. 36 'endpoint with `amazon-s3.endpoint`. You can find a list of '. 37 'available regions and endpoints in the AWS documentation.')) 38 ->addExample('us-west-1', pht('USWest Region')), 39 $this->newOption('amazon-s3.endpoint', 'string', null) 40 ->setLocked(true) 41 ->setDescription( 42 pht( 43 'Explicit S3 endpoint to use. This should be the endpoint '. 44 'which corresponds to the region you have selected in '. 45 '`amazon-s3.region`. This software can not determine the correct '. 46 'endpoint automatically because some endpoint locations are '. 47 'irregular.')) 48 ->addExample( 49 's3-us-west-1.amazonaws.com', 50 pht('Use specific endpoint')), 51 $this->newOption('amazon-ec2.access-key', 'string', null) 52 ->setLocked(true) 53 ->setDescription(pht('Access key for Amazon EC2.')), 54 $this->newOption('amazon-ec2.secret-key', 'string', null) 55 ->setHidden(true) 56 ->setDescription(pht('Secret key for Amazon EC2.')), 57 ); 58 } 59 60}