Create and dispatch to site-wide webhooks
Review Request #983 — Created Aug. 21, 2009 and discarded — Latest diff uploaded
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.
Diff Revision 3
This is not the most recent revision of the diff. The latest diff is revision 5. See what's changed.
orig
1
2
3
4
5
/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 |
---|