1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 06:20:56 +01:00
phorge-phorge/src/infrastructure
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
..
celerity Fix some brace lint stuff. 2011-08-02 10:40:45 -07:00
daemon Fixed the missing space after the : for vote 2011-08-23 22:03:56 -04:00
diff/engine Fix Diffusion rendering of SVN files which did not change 2011-07-20 11:54:33 -07:00
env Documentation: improve Diffusion documentation 2011-05-19 13:40:40 -07:00
events Build an event dispatch mechanism into Phabricator 2011-09-30 12:16:40 -07:00
javelin Prevent CSRF uploads via /file/dropupload/ 2011-08-16 13:19:10 -07:00
lint Add a custom lint name hook to Phabricator 2011-08-31 13:49:30 -07:00
markup/remarkup/markuprule Allow Phriction [[links]] to link to non-Phriction URIs 2011-08-31 13:48:58 -07:00
setup Add an explicit test for the availablility of 'php' from the command line during 2011-09-07 13:20:39 -07:00
testing/testcase Add a little more unit test documentation, fail loudly when isolation prevents a 2011-08-03 09:15:43 -07:00