@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.

Make MySQL stuff configurable

+28 -5
+25 -2
conf/default.conf.php
··· 23 23 'phabricator.base-uri' => null, 24 24 25 25 26 - // 27 26 'phabricator.csrf-key' => '0b7ec0592e0a2829d8b71df2fa269b2c6172eca3', 28 27 29 28 30 - // -- Facebook --------------------------------------------------------------- 29 + 30 + // -- MySQL --------------------------------------------------------------- // 31 + 32 + // The username to use when connecting to MySQL. 33 + 'mysql.user' => 'root', 34 + 35 + // The password to use when connecting to MySQL. 36 + 'mysql.pass' => '', 37 + 38 + // The MySQL server to connect to. 39 + 'mysql.host' => 'localhost', 40 + 41 + 42 + // -- Facebook ------------------------------------------------------------ // 31 43 32 44 // Can users use Facebook credentials to login to Phabricator? 33 45 'facebook.auth-enabled' => false, ··· 38 50 // The Facebook "Application Secret" to use for Facebook API access. 39 51 'facebook.application-secret' => null, 40 52 53 + 54 + 55 + // -- Recaptcha ------------------------------------------------------------- // 56 + 57 + // Is Recaptcha enabled? If disabled, captchas will not appear. 58 + 'recaptcha.enabled' => false, 59 + 60 + // Your Recaptcha public key, obtained from Recaptcha. 41 61 'recaptcha.public-key' => null, 62 + 63 + // Your Recaptcha private key, obtained from Recaptcha. 42 64 'recaptcha.private-key' => null, 43 65 44 66 45 67 'user.default-profile-image-phid' => 'PHID-FILE-f57aaefce707fc4060ef', 68 + 46 69 47 70 48 71 );
+3 -3
src/applications/base/storage/lisk/PhabricatorLiskDAO.php
··· 22 22 public function establishConnection($mode) { 23 23 return new AphrontMySQLDatabaseConnection( 24 24 array( 25 - 'user' => 'root', 26 - 'pass' => '', 27 - 'host' => 'localhost', 25 + 'user' => PhabricatorEnv::getEnvConfig('mysql.user'), 26 + 'pass' => PhabricatorEnv::getEnvConfig('mysql.pass'), 27 + 'host' => PhabricatorEnv::getEnvConfig('mysql.host'), 28 28 'database' => 'phabricator_'.$this->getApplicationName(), 29 29 )); 30 30