1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 15:52:41 +01:00
phorge-phorge/src/applications/conduit/method
epriestley 522e5b4779 Build an event dispatch mechanism into Phabricator
Summary:
This is an attempt to satisfy a lot of the one-off requests a little more
generally, by providing a relatively generic piece of event architecture.

Allow the registation of event listeners which can react to various application
events (currently, task editing).

I'll doc this a bit better but I wanted to see if anyone had massive objections
to doing this or the broad approach. The specific problem I want to address is
that one client wants to do a bunch of routing for tasks via email, so it's
either build a hook, or have them override most of ManiphestReplyHandler, or
something slightly more general like this.

Test Plan: Wrote a silly listener that adds "Quack!" to a task every time it is
edited and edited some tasks. I was justly rewarded.

Reviewers: nh, jungejason, tuomaspelkonen, aran

Reviewed By: aran

CC: aran, epriestley

Differential Revision: 881
2011-09-30 12:16:40 -07:00
..
arcanist Add an "arcanist.projectinfo" Conduit call 2011-09-21 14:19:14 -07:00
base Create AphrontWriteGuard, a backup mechanism for CSRF validation 2011-08-16 13:29:57 -07:00
conduit Unguard conduit.getcertificate() so it can execute logging writes. 2011-08-17 12:26:30 -07:00
daemon These conduit methods SHOULD allow unguarded writes. 2011-08-16 13:38:14 -07:00
differential Merge branch 'master' of github.com:facebook/phabricator into unit_status 2011-09-08 18:24:54 -07:00
diffusion Provide basic Conduit documentation. 2011-07-04 12:03:36 -07:00
feed/publish Build basic infrastructure for an activity feed 2011-07-06 16:19:29 -07:00
file Add a 'file.info' Conduit method 2011-07-29 11:41:16 -07:00
maniphest Build an event dispatch mechanism into Phabricator 2011-09-30 12:16:40 -07:00
paste Provide a paste.create Conduit method 2011-07-29 19:00:04 -07:00
path/getowners Provide basic Conduit documentation. 2011-07-04 12:03:36 -07:00
phid Add user.info and phid.info Conduit methods 2011-08-30 12:46:02 -07:00
phriction Provide access to Phriction via Conduit 2011-08-30 15:52:45 -07:00
slowvote/info Conduit method for slowvote.poll.info. 2011-07-13 20:00:50 -04:00
user Add user.info and phid.info Conduit methods 2011-08-30 12:46:02 -07:00