Create and dispatch to site-wide webhooks

Review Request #983 — Created Aug. 21, 2009 and discarded — Latest diff uploaded

Information

Review Board SVN (deprecated)

Reviewers

MOVED!

This review request is now at: http://reviews.review-board.org/r/993/


(This is a preliminary code drop; needs more stuff to be ready)
Allows admin to add multiple webhook URLs. These are dispatched to on publish events, with a payload of the published object and of the changedesc, when available.

TODO:

- write micro test app using djng to receive POSTs
Ran test suite with a webhook pointing at http://www.postbin.org/14iso90 and everything worked fine.
/trunk/reviewboard/notifications/admin.py
/trunk/reviewboard/notifications/email.py
/trunk/reviewboard/notifications/event_manager.py
/trunk/reviewboard/notifications/models.py
/trunk/reviewboard/notifications/post_url_dispatcher.py
/trunk/reviewboard/reviews/models.py
/trunk/reviewboard/reviews/signals.py
/trunk/reviewboard/reviews/urls.py
/trunk/reviewboard/reviews/views.py
/trunk/reviewboard/scmtools/admin.py
/trunk/reviewboard/scmtools/bzr.py
/trunk/reviewboard/scmtools/core.py
/trunk/reviewboard/scmtools/cvs.py
/trunk/reviewboard/scmtools/forms.py
/trunk/reviewboard/scmtools/git.py
/trunk/reviewboard/scmtools/hg.py
/trunk/reviewboard/scmtools/localfile.py
/trunk/reviewboard/scmtools/models.py
/trunk/reviewboard/scmtools/mtn.py
/trunk/reviewboard/scmtools/perforce.py
This diff has been split across 8 pages: < 1 2 3 4 5 6 7 8 >
Loading...