phorge/src
epriestley 9a7383121d Move cancel/retry/free task queue actions to bin/worker
Summary:
Fixes T6702. Ref T3554. Currently, tasks can be cancelled, retried and freed from the web UI by any logged in user.

This isn't appreciably dangerous (I can't come up with a way that a user could do anything security-affecting), but I think I probably intended this to be admin-only, but these actions should move to the CLI anyway.

Move them to the CLI. Lay some groundwork for some future `bin/worker cancel --class SomeTaskClass`, but don't implement that yet.

Test Plan: Used `cancel`, `retry` and `free` from the CLI. Hit all the error/success states.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T3554, T6702

Differential Revision: https://secure.phabricator.com/D10939
2014-12-06 09:14:16 -08:00
..
__tests__ Remove UTF8 BMP unit test and replace it with a general UTF8 test 2014-10-02 11:47:25 -07:00
aphront Decouple some aspects of request routing and construction 2014-10-17 05:01:40 -07:00
applications Move cancel/retry/free task queue actions to bin/worker 2014-12-06 09:14:16 -08:00
docs Fixed typo in Phame user guide 2014-11-26 05:07:43 -08:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Move cancel/retry/free task queue actions to bin/worker 2014-12-06 09:14:16 -08:00
view Transactions - kill the old "show all" code pathways 2014-12-04 14:55:18 -08:00
__phutil_library_init__.php Delete license headers from files 2012-11-05 11:16:51 -08:00
__phutil_library_map__.php Move cancel/retry/free task queue actions to bin/worker 2014-12-06 09:14:16 -08:00