@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
at upstream/main 38 lines 892 B view raw
1<?php 2 3final class PhabricatorNotificationsApplication extends PhabricatorApplication { 4 5 public function getName() { 6 return pht('Notifications'); 7 } 8 9 public function getBaseURI() { 10 return '/notification/'; 11 } 12 13 public function getShortDescription() { 14 return pht('Real-Time Updates and Alerts'); 15 } 16 17 public function getIcon() { 18 return 'fa-bell'; 19 } 20 21 public function getRoutes() { 22 return array( 23 '/notification/' => array( 24 '(?:query/(?P<queryKey>[^/]+)/)?' 25 => 'PhabricatorNotificationListController', 26 'panel/' => 'PhabricatorNotificationPanelController', 27 'individual/' => 'PhabricatorNotificationIndividualController', 28 'clear/' => 'PhabricatorNotificationClearController', 29 'test/' => 'PhabricatorNotificationTestController', 30 ), 31 ); 32 } 33 34 public function isLaunchable() { 35 return false; 36 } 37 38}