Site-wide webhooks

Review Request #993 — Created Aug. 24, 2009 and discarded — Latest diff uploaded

Information

Review Board

Reviewers

Allows admin to add multiple webhook URLs. These are POSTed to on publish events, with a JSON payload of:

 - event_name (only "post_publish" for now)
 - event_source (model instance that got published)
 - event_source_type (model class: reviewrequest, review)
 - changedesc (when available)

TODO:

- write micro test app using wsgi to receive POSTs
Ran test suite with a webhook pointing at http://www.postbin.org/14iso90 and everything worked fine.