Page MenuHomePhabricator

D8254.id.diff
No OneTemporary

D8254.id.diff

Index: resources/celerity/map.php
===================================================================
--- resources/celerity/map.php
+++ resources/celerity/map.php
@@ -45,7 +45,7 @@
'rsrc/css/application/chatlog/chatlog.css' => '852140ff',
'rsrc/css/application/config/config-options.css' => '7fedf08b',
'rsrc/css/application/config/config-template.css' => '25d446d6',
- 'rsrc/css/application/config/setup-issue.css' => '1bb81c53',
+ 'rsrc/css/application/config/setup-issue.css' => '69e640e7',
'rsrc/css/application/conpherence/menu.css' => '561348ac',
'rsrc/css/application/conpherence/message-pane.css' => '2aedca89',
'rsrc/css/application/conpherence/notification.css' => 'f9ba9914',
@@ -170,6 +170,7 @@
'rsrc/externals/javelin/core/__tests__/stratcom.js' => 'da194d4b',
'rsrc/externals/javelin/core/__tests__/util.js' => 'd3b157a9',
'rsrc/externals/javelin/core/init.js' => 'b88ab49e',
+ 'rsrc/externals/javelin/core/init_node.js' => '9fe4895f',
'rsrc/externals/javelin/core/install.js' => '52a92793',
'rsrc/externals/javelin/core/util.js' => '7501647b',
'rsrc/externals/javelin/docs/Base.js' => '3b9ca7eb',
@@ -775,7 +776,7 @@
'releeph-request-differential-create-dialog' => '8d8b92cd',
'releeph-request-typeahead-css' => '667a48ae',
'releeph-status' => 'a20631d9',
- 'setup-issue-css' => '1bb81c53',
+ 'setup-issue-css' => '69e640e7',
'sprite-actions-css' => '969ad0e5',
'sprite-apps-css' => '6973a52b',
'sprite-apps-large-css' => '5abf49e9',
Index: src/__phutil_library_map__.php
===================================================================
--- src/__phutil_library_map__.php
+++ src/__phutil_library_map__.php
@@ -1114,6 +1114,7 @@
'PhabricatorApplicationMailingLists' => 'applications/mailinglists/application/PhabricatorApplicationMailingLists.php',
'PhabricatorApplicationManiphest' => 'applications/maniphest/application/PhabricatorApplicationManiphest.php',
'PhabricatorApplicationMetaMTA' => 'applications/metamta/application/PhabricatorApplicationMetaMTA.php',
+ 'PhabricatorApplicationNotifications' => 'applications/notification/application/PhabricatorApplicationNotifications.php',
'PhabricatorApplicationNuance' => 'applications/nuance/application/PhabricatorApplicationNuance.php',
'PhabricatorApplicationOwners' => 'applications/owners/application/PhabricatorApplicationOwners.php',
'PhabricatorApplicationPHIDTypeApplication' => 'applications/meta/phid/PhabricatorApplicationPHIDTypeApplication.php',
@@ -3759,6 +3760,7 @@
'PhabricatorApplicationMailingLists' => 'PhabricatorApplication',
'PhabricatorApplicationManiphest' => 'PhabricatorApplication',
'PhabricatorApplicationMetaMTA' => 'PhabricatorApplication',
+ 'PhabricatorApplicationNotifications' => 'PhabricatorApplication',
'PhabricatorApplicationNuance' => 'PhabricatorApplication',
'PhabricatorApplicationOwners' => 'PhabricatorApplication',
'PhabricatorApplicationPHIDTypeApplication' => 'PhabricatorPHIDType',
Index: src/aphront/configuration/AphrontDefaultApplicationConfiguration.php
===================================================================
--- src/aphront/configuration/AphrontDefaultApplicationConfiguration.php
+++ src/aphront/configuration/AphrontDefaultApplicationConfiguration.php
@@ -48,15 +48,6 @@
'keyboardshortcut/' => 'PhabricatorHelpKeyboardShortcutController',
),
- '/notification/' => array(
- '(?:(?P<filter>all|unread)/)?'
- => 'PhabricatorNotificationListController',
- 'panel/' => 'PhabricatorNotificationPanelController',
- 'individual/' => 'PhabricatorNotificationIndividualController',
- 'status/' => 'PhabricatorNotificationStatusController',
- 'clear/' => 'PhabricatorNotificationClearController',
- ),
-
'/debug/' => 'PhabricatorDebugController',
);
}
Index: src/applications/notification/PhabricatorNotificationQuery.php
===================================================================
--- src/applications/notification/PhabricatorNotificationQuery.php
+++ src/applications/notification/PhabricatorNotificationQuery.php
@@ -113,8 +113,7 @@
public function getQueryApplicationClass() {
- // TODO: No actual "Notification" app yet, but there probably should be.
- return null;
+ return 'PhabricatorApplicationNotifications';
}
}
Index: src/applications/notification/application/PhabricatorApplicationNotifications.php
===================================================================
--- /dev/null
+++ src/applications/notification/application/PhabricatorApplicationNotifications.php
@@ -0,0 +1,30 @@
+<?php
+
+final class PhabricatorApplicationNotifications extends PhabricatorApplication {
+
+ public function getBaseURI() {
+ return '/notification/';
+ }
+
+ public function getShortDescription() {
+ return pht('Beep Beep Bloop');
+ }
+
+ public function getRoutes() {
+ return array(
+ '/notification/' => array(
+ '(?:(?P<filter>all|unread)/)?'
+ => 'PhabricatorNotificationListController',
+ 'panel/' => 'PhabricatorNotificationPanelController',
+ 'individual/' => 'PhabricatorNotificationIndividualController',
+ 'status/' => 'PhabricatorNotificationStatusController',
+ 'clear/' => 'PhabricatorNotificationClearController',
+ ),
+ );
+ }
+
+ public function shouldAppearInLaunchView() {
+ return false;
+ }
+
+}
Index: src/applications/notification/controller/PhabricatorNotificationStatusController.php
===================================================================
--- src/applications/notification/controller/PhabricatorNotificationStatusController.php
+++ src/applications/notification/controller/PhabricatorNotificationStatusController.php
@@ -20,10 +20,16 @@
phutil_escape_html_newlines($ex->getMessage())));
}
- return $this->buildStandardPageResponse(
- $status,
+ $crumbs = $this->buildApplicationCrumbs();
+ $crumbs->addTextCrumb(pht('Status'));
+
+ return $this->buildApplicationPage(
+ array(
+ $crumbs,
+ $status,
+ ),
array(
- 'title' => 'Aphlict Server Status',
+ 'title' => pht('Notification Server Status'),
));
}
@@ -53,10 +59,10 @@
'wide',
));
- $panel = new AphrontPanelView();
- $panel->setHeader('Server Status');
- $panel->appendChild($table);
+ $box = id(new PHUIObjectBoxView())
+ ->setHeaderText(pht('Server Status'))
+ ->appendChild($table);
- return $panel;
+ return $box;
}
}

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 9:22 AM (13 h, 34 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7039808
Default Alt Text
D8254.id.diff (6 KB)

Event Timeline