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

Don't run older mail setup checks if "cluster.mailers" is configured

Summary: Ref T12677. Skip these checks if we're doing the new stuff. Also, allow priority to be unspecified.

Test Plan: Will deploy.

Maniphest Tasks: T12677

Differential Revision: https://secure.phabricator.com/D19043

+6 -2
+4
src/applications/config/check/PhabricatorMailSetupCheck.php
··· 7 7 } 8 8 9 9 protected function executeChecks() { 10 + if (PhabricatorEnv::getEnvConfig('cluster.mailers')) { 11 + return; 12 + } 13 + 10 14 $adapter = PhabricatorEnv::getEnvConfig('metamta.mail-adapter'); 11 15 12 16 switch ($adapter) {
+2 -2
src/infrastructure/cluster/config/PhabricatorClusterMailersConfigType.php
··· 63 63 } 64 64 $map[$key] = true; 65 65 66 - $priority = idx($spec, 'priority', 0); 67 - if ($priority <= 0) { 66 + $priority = idx($spec, 'priority'); 67 + if ($priority !== null && $priority <= 0) { 68 68 throw $this->newException( 69 69 pht( 70 70 'Mailer configuration ("%s") is invalid: priority must be '.