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/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
/trunk/reviewboard/scmtools/perforce_vmware.py
/trunk/reviewboard/scmtools/svn.py
/trunk/reviewboard/scmtools/tests.py
/trunk/reviewboard/scmtools/evolutions/__init__.py
/trunk/reviewboard/scmtools/fixtures/initial_data.json
/trunk/reviewboard/scmtools/fixtures/test_scmtools.json
/trunk/reviewboard/templates/admin/scmtools/change_form.html
/trunk/reviewboard/templates/reviews/reply_email.txt
This diff has been split across 8 pages: < 1 2 3 4 5 6 7 8 >
Loading...