1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications
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
..
auth Add Google as an OAuth2 provider (BETA) 2011-09-14 07:32:04 -07:00
base Make detection/recovery for bad cookies more strict 2011-08-19 15:45:35 -07:00
calendar Build a basic calendar view 2011-08-08 10:34:06 -07:00
conduit Build an event dispatch mechanism into Phabricator 2011-09-30 12:16:40 -07:00
countdown Fix some brace lint stuff. 2011-08-02 10:40:45 -07:00
daemon Refactor repository reparse scripts to be more useful 2011-09-27 17:20:04 -07:00
differential T494 Image displaye issue 2011-09-30 00:25:33 -07:00
diffusion Allow Diffusion to display the initial commit in Git repositories 2011-09-30 11:56:19 -07:00
directory Use Javelin workflow on directory item deletion 2011-05-28 11:57:31 -07:00
draft/storage Revision comment drafts. 2011-02-05 16:57:21 -08:00
feed Fix generateChronologicalKey() for 32-bit machines 2011-09-14 09:03:45 -07:00
files Fix CSRF issue with image proxying 2011-09-13 08:49:16 -07:00
help/controller Explicitly show that "escape" closes dialogs in Phabricator 2011-08-02 09:21:28 -07:00
herald Make Herald Rules sticky in X-Herald-Rules 2011-08-17 10:38:29 -07:00
maniphest Build an event dispatch mechanism into Phabricator 2011-09-30 12:16:40 -07:00
markup Provide a "reference-with-full-name" syntax for Remarkup 2011-08-06 12:55:16 -07:00
metamta Add "Fax" content source 2011-09-01 12:27:45 -07:00
owners Removing reordering code that wasn't needed 2011-04-20 17:07:46 -07:00
paste Fix header display bug on forked pastes. 2011-07-21 11:22:56 -04:00
people Add Google as an OAuth2 provider (BETA) 2011-09-14 07:32:04 -07:00
phid Fix generateChronologicalKey() for 32-bit machines 2011-09-14 09:03:45 -07:00
phriction Some documentation updates. 2011-09-14 08:02:31 -07:00
project Fixed documentation in PhabricatorProjectSubproject 2011-09-13 21:21:12 -07:00
repository Allow Diffusion to display the initial commit in Git repositories 2011-09-30 11:56:19 -07:00
search Some documentation updates. 2011-09-14 08:02:31 -07:00
slowvote Some documentation updates. 2011-09-14 08:02:31 -07:00
status/base Add /status/ 2011-04-08 11:13:51 -07:00
typeahead/controller Add an option to switch tokenizers to use "ondemand" instead of "preloaded" 2011-09-21 14:22:01 -07:00
uiexample Add missing includes from XHPAST parse bug. 2011-04-06 23:14:58 -07:00
xhpastview Add missing includes from XHPAST parse bug. 2011-04-06 23:14:58 -07:00
xhprof Improve DarkConsole "Services" and "XHProf" plugins 2011-07-11 12:51:58 -07:00