Page MenuHomePhabricator

D11958.diff
No OneTemporary

D11958.diff

diff --git a/src/applications/daemon/controller/PhabricatorDaemonConsoleController.php b/src/applications/daemon/controller/PhabricatorDaemonConsoleController.php
--- a/src/applications/daemon/controller/PhabricatorDaemonConsoleController.php
+++ b/src/applications/daemon/controller/PhabricatorDaemonConsoleController.php
@@ -253,11 +253,11 @@
->setNoDataString(pht('There are no upcoming event triggers.'))
->setHeaders(
array(
- 'ID',
- 'Clock',
- 'Action',
- 'Last',
- 'Next',
+ pht('ID'),
+ pht('Clock'),
+ pht('Action'),
+ pht('Last'),
+ pht('Next'),
))
->setColumnClasses(
array(
diff --git a/src/applications/daemon/controller/PhabricatorDaemonLogEventViewController.php b/src/applications/daemon/controller/PhabricatorDaemonLogEventViewController.php
--- a/src/applications/daemon/controller/PhabricatorDaemonLogEventViewController.php
+++ b/src/applications/daemon/controller/PhabricatorDaemonLogEventViewController.php
@@ -23,9 +23,9 @@
->setCombinedLog(true)
->setShowFullMessage(true);
- $log_panel = new AphrontPanelView();
+ $log_panel = new PHUIObjectBoxView();
+ $log_panel->setHeaderText(pht('Combined Log'));
$log_panel->appendChild($event_view);
- $log_panel->setNoBackground();
$daemon_id = $event->getLogID();
@@ -43,7 +43,6 @@
),
array(
'title' => pht('Combined Daemon Log'),
- 'device' => false,
));
}
diff --git a/src/applications/daemon/controller/PhabricatorDaemonLogListController.php b/src/applications/daemon/controller/PhabricatorDaemonLogListController.php
--- a/src/applications/daemon/controller/PhabricatorDaemonLogListController.php
+++ b/src/applications/daemon/controller/PhabricatorDaemonLogListController.php
@@ -19,13 +19,17 @@
$daemon_table->setUser($request->getUser());
$daemon_table->setDaemonLogs($logs);
+ $box = id(new PHUIObjectBoxView())
+ ->setHeaderText(pht('All Daemons'))
+ ->appendChild($daemon_table);
+
$crumbs = $this->buildApplicationCrumbs();
$crumbs->addTextCrumb(pht('All Daemons'));
$nav = $this->buildSideNavView();
$nav->selectFilter('log');
$nav->setCrumbs($crumbs);
- $nav->appendChild($daemon_table);
+ $nav->appendChild($box);
$nav->appendChild($pager);
return $this->buildApplicationPage(
diff --git a/src/applications/daemon/controller/PhabricatorDaemonLogViewController.php b/src/applications/daemon/controller/PhabricatorDaemonLogViewController.php
--- a/src/applications/daemon/controller/PhabricatorDaemonLogViewController.php
+++ b/src/applications/daemon/controller/PhabricatorDaemonLogViewController.php
@@ -79,8 +79,8 @@
->setUser($user)
->setEvents($events);
- $event_panel = new AphrontPanelView();
- $event_panel->setNoBackground();
+ $event_panel = new PHUIObjectBoxView();
+ $event_panel->setHeaderText(pht('Events'));
$event_panel->appendChild($event_view);
$object_box = id(new PHUIObjectBoxView())
@@ -95,7 +95,6 @@
),
array(
'title' => pht('Daemon Log'),
- 'device' => false,
));
}
diff --git a/src/applications/daemon/view/PhabricatorDaemonLogListView.php b/src/applications/daemon/view/PhabricatorDaemonLogListView.php
--- a/src/applications/daemon/view/PhabricatorDaemonLogListView.php
+++ b/src/applications/daemon/view/PhabricatorDaemonLogListView.php
@@ -19,6 +19,7 @@
$env_hash = PhabricatorEnv::calculateEnvironmentHash();
$list = new PHUIObjectItemListView();
+ $list->setFlush(true);
foreach ($this->daemonLogs as $log) {
$id = $log->getID();
$epoch = $log->getDateCreated();

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 11, 5:37 PM (2 d, 11 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6739002
Default Alt Text
D11958.diff (3 KB)

Event Timeline