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 2
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/settings.py |
---|
/trunk/reviewboard/signals.py |
---|
/trunk/reviewboard/urls.py |
---|
/trunk/reviewboard/admin/urls.py |
---|
/trunk/reviewboard/admin/views.py |
---|
/trunk/reviewboard/notifications/__init__.py |
---|
/trunk/reviewboard/notifications/email.py |
---|
/trunk/reviewboard/notifications/event_manager.py |
---|
/trunk/reviewboard/notifications/forms.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/templates/notifications/manage_webhooks.html |
---|
/trunk/reviewboard/webapi/json.py |
---|
/trunk/reviewboard/webapi/tests.py |
---|