@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
1<?php
2
3final class PhabricatorFeedApplication extends PhabricatorApplication {
4
5 public function getBaseURI() {
6 return '/feed/';
7 }
8
9 public function getName() {
10 return pht('Feed');
11 }
12
13 public function getShortDescription() {
14 return pht('Review Recent Activity');
15 }
16
17 public function getIcon() {
18 return 'fa-newspaper-o';
19 }
20
21 public function getApplicationGroup() {
22 return self::GROUP_UTILITIES;
23 }
24
25 public function canUninstall() {
26 return false;
27 }
28
29 public function getRoutes() {
30 return array(
31 '/feed/' => array(
32 '(?P<id>\d+)/' => 'PhabricatorFeedDetailController',
33 '(?:query/(?P<queryKey>[^/]+)/)?' => 'PhabricatorFeedListController',
34 'transactions/' => array(
35 $this->getQueryRoutePattern()
36 => PhabricatorFeedTransactionListController::class,
37 ),
38 ),
39 );
40 }
41
42}