Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14037622
D11958.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D11958.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11958: Moderize Daemons a little
Attached
Detach File
Event Timeline
Log In to Comment