Add buttons to delete or free tasks from the queue

Summary: See T709. I also ran into a case in Drydock where this is useful for
testing/development.

Test Plan: Freed lease of a task; deleted a task.

Reviewers: btrahan, jungejason

Reviewed By: btrahan

CC: aran, epriestley

Maniphest Tasks: T709

Differential Revision: https://secure.phabricator.com/D1469
This commit is contained in:
epriestley
2012-01-23 16:36:32 -08:00
parent 51bc18e93f
commit 7a9e6af008
6 changed files with 128 additions and 2 deletions

View File

@@ -259,6 +259,8 @@ class AphrontDefaultApplicationConfiguration
'/daemon/' => array(
'task/(?P<id>\d+)/$' => 'PhabricatorWorkerTaskDetailController',
'task/(?P<id>\d+)/(?P<action>[^/]+)/$'
=> 'PhabricatorWorkerTaskUpdateController',
'log/' => array(
'$' => 'PhabricatorDaemonLogListController',
'combined/$' => 'PhabricatorDaemonCombinedLogController',