1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/feed
epriestley e397103bf2 Extend all "ManagementWorkflow" classes from a base class
Summary:
Ref T2015. Not directly related to Drydock, but I've wanted to do this for a bit.

Introduce a common base class for all the workflows in the scripts in `bin/*`. This slightly reduces code duplication by moving `isExecutable()` to the base, but also provides `getViewer()`. This is a little nicer than `PhabricatorUser::getOmnipotentUser()` and gives us a layer of indirection if we ever want to introduce more general viewer mechanisms in scripts.

Test Plan: Lint; ran some of the scripts.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2015

Differential Revision: https://secure.phabricator.com/D7838
2013-12-27 13:15:40 -08:00
..
application Normalize application descriptions 2013-09-13 23:09:37 -07:00
builder Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
conduit Add a "before" parameter to feed.query 2013-09-06 10:45:08 -07:00
config Feed options. 2013-01-14 18:35:30 -08:00
constants Move Project transaction storage to modern tables 2013-10-22 13:49:28 -07:00
controller Provide convenience method addTextCrumb() to PhabricatorCrumbsView 2013-12-18 17:47:34 -08:00
management Extend all "ManagementWorkflow" classes from a base class 2013-12-27 13:15:40 -08:00
query Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
storage Apply lint rules to Phabricator 2013-02-19 13:33:10 -08:00
story Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
worker Refactor shared code between JIRA + Asana publishers into a base class 2013-09-10 15:22:01 -07:00
PhabricatorFeedStoryPublisher.php Push feed publishing deeper into the task queue 2013-06-25 16:29:47 -07:00