Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F972117
PhabricatorApplicationReleeph.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
PhabricatorApplicationReleeph.php
View Options
<?php
final
class
PhabricatorApplicationReleeph
extends
PhabricatorApplication
{
public
function
getName
()
{
return
pht
(
'Releeph'
);
}
public
function
getShortDescription
()
{
return
pht
(
'Pull Requests'
);
}
public
function
getBaseURI
()
{
return
'/releeph/'
;
}
public
function
getIconName
()
{
return
'releeph'
;
}
public
function
getApplicationGroup
()
{
return
self
::
GROUP_ORGANIZATION
;
}
public
function
isInstalled
()
{
if
(
PhabricatorEnv
::
getEnvConfig
(
'releeph.installed'
))
{
return
parent
::
isInstalled
();
}
return
false
;
}
public
function
getRoutes
()
{
return
array
(
'/Y(?P<requestID>[1-9]
\d
*)'
=>
'ReleephRequestViewController'
,
// TODO: Remove these older routes eventually.
'/RQ(?P<requestID>[1-9]
\d
*)'
=>
'ReleephRequestViewController'
,
'/releeph/request/(?P<requestID>[1-9]
\d
*)/'
=>
'ReleephRequestViewController'
,
'/releeph/'
=>
array
(
''
=>
'ReleephProductListController'
,
'(?:product|project)/'
=>
array
(
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'ReleephProductListController'
,
'create/'
=>
'ReleephProductCreateController'
,
'(?P<projectID>[1-9]
\d
*)/'
=>
array
(
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'ReleephProductViewController'
,
'edit/'
=>
'ReleephProductEditController'
,
'cutbranch/'
=>
'ReleephBranchCreateController'
,
'action/(?P<action>.+)/'
=>
'ReleephProductActionController'
,
'history/'
=>
'ReleephProductHistoryController'
,
),
),
'branch/'
=>
array
(
'edit/(?P<branchID>[1-9]
\d
*)/'
=>
'ReleephBranchEditController'
,
'(?P<action>close|re-open)/(?P<branchID>[1-9]
\d
*)/'
=>
'ReleephBranchAccessController'
,
'preview/'
=>
'ReleephBranchNamePreviewController'
,
'(?P<branchID>[1-9]
\d
*)/'
=>
array
(
'history/'
=>
'ReleephBranchHistoryController'
,
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'ReleephBranchViewController'
,
),
'pull/(?P<branchID>[1-9]
\d
*)/'
=>
'ReleephRequestEditController'
,
),
'request/'
=>
array
(
'create/'
=>
'ReleephRequestEditController'
,
'differentialcreate/'
=>
array
(
'D(?P<diffRevID>[1-9]
\d
*)'
=>
'ReleephRequestDifferentialCreateController'
,
),
'edit/(?P<requestID>[1-9]
\d
*)/'
=>
'ReleephRequestEditController'
,
'action/(?P<action>.+)/(?P<requestID>[1-9]
\d
*)/'
=>
'ReleephRequestActionController'
,
'typeahead/'
=>
'ReleephRequestTypeaheadController'
,
'comment/(?P<requestID>[1-9]
\d
*)/'
=>
'ReleephRequestCommentController'
,
),
)
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Jun 18, 6:03 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
226235
Default Alt Text
PhabricatorApplicationReleeph.php (2 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment