mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-08 21:08:29 +01:00
Summary: Fixes T10697. This finishes bringing the rest of the config up to cluster power levels. Phabricator is now given an arbitrarily long list of notification servers. Each Aphlict server is given an arbitrarily long list of ports to run services on. Users are free to make them meet in the middle by proxying whatever they want to whatever else they want. This should also accommodate clustering fairly easily in the future. Also rewrote the status UI and changed a million other things. 🐗 Test Plan: {F1217864} {F1217865} Reviewers: chad Reviewed By: chad Maniphest Tasks: T10697 Differential Revision: https://secure.phabricator.com/D15703
38 lines
892 B
PHP
38 lines
892 B
PHP
<?php
|
|
|
|
final class PhabricatorNotificationsApplication extends PhabricatorApplication {
|
|
|
|
public function getName() {
|
|
return pht('Notifications');
|
|
}
|
|
|
|
public function getBaseURI() {
|
|
return '/notification/';
|
|
}
|
|
|
|
public function getShortDescription() {
|
|
return pht('Real-Time Updates and Alerts');
|
|
}
|
|
|
|
public function getIcon() {
|
|
return 'fa-bell';
|
|
}
|
|
|
|
public function getRoutes() {
|
|
return array(
|
|
'/notification/' => array(
|
|
'(?:query/(?P<queryKey>[^/]+)/)?'
|
|
=> 'PhabricatorNotificationListController',
|
|
'panel/' => 'PhabricatorNotificationPanelController',
|
|
'individual/' => 'PhabricatorNotificationIndividualController',
|
|
'clear/' => 'PhabricatorNotificationClearController',
|
|
'test/' => 'PhabricatorNotificationTestController',
|
|
),
|
|
);
|
|
}
|
|
|
|
public function isLaunchable() {
|
|
return false;
|
|
}
|
|
|
|
}
|