1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 21:02:41 +01:00

Set device to false for all pages which don't specify device readiness

Summary:
Ref T5446.

  - For all callsites which do not specify a value, set `false` explicitly.
  - Make `true` the default.

Test Plan: Used `grep`, then manually went through everything.

Reviewers: chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5446

Differential Revision: https://secure.phabricator.com/D9687
This commit is contained in:
epriestley 2014-06-23 15:15:11 -07:00
parent 44ed1ad87f
commit ca6bd26475
19 changed files with 20 additions and 1 deletions

View file

@ -293,7 +293,7 @@ abstract class PhabricatorController extends AphrontController {
} }
} }
if (idx($options, 'device')) { if (idx($options, 'device', true)) {
$page->setDeviceReady(true); $page->setDeviceReady(true);
} }

View file

@ -38,6 +38,7 @@ final class PhabricatorDaemonCombinedLogController
$nav, $nav,
array( array(
'title' => pht('Combined Daemon Log'), 'title' => pht('Combined Daemon Log'),
'device' => false,
)); ));
} }

View file

@ -226,6 +226,7 @@ final class PhabricatorDaemonConsoleController
$nav, $nav,
array( array(
'title' => pht('Console'), 'title' => pht('Console'),
'device' => false,
)); ));
} }

View file

@ -43,6 +43,7 @@ final class PhabricatorDaemonLogEventViewController
), ),
array( array(
'title' => pht('Combined Daemon Log'), 'title' => pht('Combined Daemon Log'),
'device' => false,
)); ));
} }

View file

@ -83,6 +83,7 @@ final class PhabricatorDaemonLogViewController
), ),
array( array(
'title' => pht('Daemon Log'), 'title' => pht('Daemon Log'),
'device' => false,
)); ));
} }

View file

@ -281,6 +281,7 @@ final class DifferentialChangesetViewController extends DifferentialController {
), ),
array( array(
'title' => pht('Changeset View'), 'title' => pht('Changeset View'),
'device' => false,
)); ));
} }

View file

@ -69,6 +69,7 @@ final class DiffusionBranchTableController extends DiffusionController {
pht('Branches'), pht('Branches'),
'r'.$repository->getCallsign(), 'r'.$repository->getCallsign(),
), ),
'device' => false,
)); ));
} }

View file

@ -167,6 +167,7 @@ final class DiffusionBrowseFileController extends DiffusionBrowseController {
), ),
array( array(
'title' => $basename, 'title' => $basename,
'device' => false,
)); ));
} }

View file

@ -96,6 +96,7 @@ final class DiffusionChangeController extends DiffusionController {
), ),
array( array(
'title' => pht('Change'), 'title' => pht('Change'),
'device' => false,
)); ));
} }

View file

@ -67,6 +67,7 @@ final class DiffusionCommitController extends DiffusionController {
), ),
array( array(
'title' => pht('Commit Still Parsing'), 'title' => pht('Commit Still Parsing'),
'device' => false,
)); ));
} }
@ -400,6 +401,7 @@ final class DiffusionCommitController extends DiffusionController {
array( array(
'title' => $commit_id, 'title' => $commit_id,
'pageObjects' => array($commit->getPHID()), 'pageObjects' => array($commit->getPHID()),
'device' => false,
)); ));
} }

View file

@ -172,6 +172,7 @@ final class DiffusionLintController extends DiffusionController {
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => false,
)); ));
} }

View file

@ -90,6 +90,7 @@ final class DiffusionTagListController extends DiffusionController {
pht('Tags'), pht('Tags'),
$repository->getCallsign().' Repository', $repository->getCallsign().' Repository',
), ),
'device' => false,
)); ));
} }

View file

@ -90,6 +90,7 @@ final class PhabricatorFactChartController extends PhabricatorFactController {
), ),
array( array(
'title' => 'Chart', 'title' => 'Chart',
'device' => false,
)); ));
} }

View file

@ -68,6 +68,7 @@ final class PhabricatorFactHomeController extends PhabricatorFactController {
), ),
array( array(
'title' => 'Facts', 'title' => 'Facts',
'device' => false,
)); ));
} }

View file

@ -157,6 +157,7 @@ final class ManiphestBatchEditController extends ManiphestController {
), ),
array( array(
'title' => $title, 'title' => $title,
'device' => false,
)); ));
} }

View file

@ -58,6 +58,7 @@ final class ManiphestReportController extends ManiphestController {
$nav, $nav,
array( array(
'title' => pht('Maniphest Reports'), 'title' => pht('Maniphest Reports'),
'device' => false,
)); ));
} }

View file

@ -30,6 +30,7 @@ final class PhabricatorNotificationStatusController
), ),
array( array(
'title' => pht('Notification Server Status'), 'title' => pht('Notification Server Status'),
'device' => false,
)); ));
} }

View file

@ -56,6 +56,7 @@ final class PhabricatorSearchHovercardController
return $this->buildApplicationPage( return $this->buildApplicationPage(
$cards, $cards,
array( array(
'device' => false,
)); ));
} else { } else {
return id(new AphrontAjaxResponse())->setContent( return id(new AphrontAjaxResponse())->setContent(

View file

@ -107,6 +107,7 @@ final class PhabricatorTypeaheadModularDatasourceController
), ),
array( array(
'title' => pht('Typeahead Results'), 'title' => pht('Typeahead Results'),
'device' => false,
)); ));
} }