Path: blob/master/src/applications/conpherence/application/PhabricatorConpherenceApplication.php
12256 views
<?php12final class PhabricatorConpherenceApplication extends PhabricatorApplication {34public function getBaseURI() {5return '/conpherence/';6}78public function getName() {9return pht('Conpherence');10}1112public function getShortDescription() {13return pht('Chat with Others');14}1516public function getIcon() {17return 'fa-comments';18}1920public function getTitleGlyph() {21return "\xE2\x9C\x86";22}2324public function getRemarkupRules() {25return array(26new ConpherenceThreadRemarkupRule(),27);28}2930public function getRoutes() {31return array(32'/Z(?P<id>[1-9]\d*)'33=> 'ConpherenceViewController',34'/conpherence/' => array(35''36=> 'ConpherenceListController',37'thread/(?P<id>[1-9]\d*)/'38=> 'ConpherenceListController',39'threadsearch/(?P<id>[1-9]\d*)/'40=> 'ConpherenceThreadSearchController',41'(?P<id>[1-9]\d*)/'42=> 'ConpherenceViewController',43'(?P<id>[1-9]\d*)/(?P<messageID>[1-9]\d*)/'44=> 'ConpherenceViewController',45'columnview/'46=> 'ConpherenceColumnViewController',47$this->getEditRoutePattern('new/')48=> 'ConpherenceRoomEditController',49$this->getEditRoutePattern('edit/')50=> 'ConpherenceRoomEditController',51'picture/(?P<id>[1-9]\d*)/'52=> 'ConpherenceRoomPictureController',53'search/(?:query/(?P<queryKey>[^/]+)/)?'54=> 'ConpherenceRoomListController',55'panel/'56=> 'ConpherenceNotificationPanelController',57'participant/(?P<id>[1-9]\d*)/'58=> 'ConpherenceParticipantController',59'preferences/(?P<id>[1-9]\d*)/'60=> 'ConpherenceRoomPreferencesController',61'update/(?P<id>[1-9]\d*)/'62=> 'ConpherenceUpdateController',63),64);65}6667public function getQuicksandURIPatternBlacklist() {68return array(69'/conpherence/.*',70'/Z\d+',71);72}7374public function getMailCommandObjects() {7576// TODO: Conpherence threads don't currently support any commands directly,77// so the documentation page we end up generating is empty and funny78// looking. Add support here once we support "!add", "!leave", "!topic",79// or whatever else.8081return array();82}8384}858687