mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-24 15:52:41 +01:00
c1c5fbce21
Summary: Minor rebuild / redesign of Conpherence. Most of this is new UX and tossing out things like widgets, device fallbacks. I expect some of the UI to get more polished after next pass, but most everything here is in place. - Removed "Widgets", now just a single Participants pane - Added "Topic" - New header - Settings, Edit are action icons - Removed a lot of JS - Simplified CSS as much as I could Test Plan: Desktop, Tablet, Mobile. Adding and removing people. Setting new topics, new rooms. {F1828662} {F1828669} Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D16550
68 lines
1.9 KiB
PHP
68 lines
1.9 KiB
PHP
<?php
|
|
|
|
final class PhabricatorConpherenceApplication extends PhabricatorApplication {
|
|
|
|
public function getBaseURI() {
|
|
return '/conpherence/';
|
|
}
|
|
|
|
public function getName() {
|
|
return pht('Conpherence');
|
|
}
|
|
|
|
public function getShortDescription() {
|
|
return pht('Chat with Others');
|
|
}
|
|
|
|
public function getIcon() {
|
|
return 'fa-comments';
|
|
}
|
|
|
|
public function getTitleGlyph() {
|
|
return "\xE2\x9C\x86";
|
|
}
|
|
|
|
public function getRemarkupRules() {
|
|
return array(
|
|
new ConpherenceThreadRemarkupRule(),
|
|
);
|
|
}
|
|
|
|
public function getRoutes() {
|
|
return array(
|
|
'/Z(?P<id>[1-9]\d*)' => 'ConpherenceViewController',
|
|
'/conpherence/' => array(
|
|
'' => 'ConpherenceListController',
|
|
'thread/(?P<id>[1-9]\d*)/' => 'ConpherenceListController',
|
|
'(?P<id>[1-9]\d*)/' => 'ConpherenceViewController',
|
|
'(?P<id>[1-9]\d*)/(?P<messageID>[1-9]\d*)/'
|
|
=> 'ConpherenceViewController',
|
|
'columnview/' => 'ConpherenceColumnViewController',
|
|
'new/' => 'ConpherenceNewRoomController',
|
|
'search/(?:query/(?P<queryKey>[^/]+)/)?'
|
|
=> 'ConpherenceRoomListController',
|
|
'panel/' => 'ConpherenceNotificationPanelController',
|
|
'participant/(?P<id>[1-9]\d*)/' => 'ConpherenceParticipantController',
|
|
'update/(?P<id>[1-9]\d*)/' => 'ConpherenceUpdateController',
|
|
),
|
|
);
|
|
}
|
|
|
|
public function getQuicksandURIPatternBlacklist() {
|
|
return array(
|
|
'/conpherence/.*',
|
|
'/Z\d+',
|
|
);
|
|
}
|
|
|
|
public function getMailCommandObjects() {
|
|
|
|
// TODO: Conpherence threads don't currently support any commands directly,
|
|
// so the documentation page we end up generating is empty and funny
|
|
// looking. Add support here once we support "!add", "!leave", "!topic",
|
|
// or whatever else.
|
|
|
|
return array();
|
|
}
|
|
|
|
}
|