1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-13 07:18:35 +01:00
phorge-phorge/src/applications/notification/application/PhabricatorApplicationNotifications.php
epriestley 18f856ac6f Add a "Send Test Notification" button to make testing the server easier
Summary: Ref T4324. Currently, it's a bit of a pain to send yourself notifications, and often involves multiple browsers. Instead, add a button to send them.

Test Plan: {F114495}

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4324

Differential Revision: https://secure.phabricator.com/D8255
2014-02-17 16:00:33 -08:00

31 lines
827 B
PHP

<?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',
'test/' => 'PhabricatorNotificationTestController',
),
);
}
public function shouldAppearInLaunchView() {
return false;
}
}