zulip/zilencer
Eeshan Garg af56df7723 webhooks: Enable custom topics and default PM notifications.
This commit adds a generic function called check_send_webhook_message
that does the following:
* If a stream is specified in the webhook URL, it sends a stream
  message, otherwise sends a PM to the owner of the bot.
* In the case of a stream message, if a custom topic is specified
  in the webhook URL, it uses that topic as the subject of the
  stream message.

Also, note that we need not test this anywhere except for the
helloworld webhook. Since helloworld is our default example for
webhooks, it is here to stay and it made sense that tests for a
generic function such as check_send_webhook_message be tested
with an actual generic webhook!

Fixes #8607.
2018-03-16 11:34:20 -07:00
..
lib stripe: Use sources.list instead of sources.all. 2018-02-12 12:45:46 -08:00
management webhooks: Enable custom topics and default PM notifications. 2018-03-16 11:34:20 -07:00
migrations billing: Create model for customers paying with Stripe. 2018-01-17 16:15:14 -08:00
README.md Update comments to rename Local Server => Enterprise. 2013-11-12 15:57:02 -05:00
__init__.py [schema] Support for authenticating Deployments via the API. 2013-10-25 14:13:30 -04:00
forms.py Extend lint-all to check for newlines at the end of files. 2016-03-17 23:03:56 -07:00
models.py django-2.0: Add on_delete to OneToOneField. 2018-01-31 12:07:36 -08:00
urls.py zilencer: Make /billing appear without i18n prefix. 2018-01-17 16:44:04 -08:00
views.py translation: Try the new `err_` marking on a handful of messages. 2018-02-15 13:38:09 -08:00

README.md

ZILENCER -- The Zulip License Manager

This app is the place for storing state about various deployments of Zulip that exist in the world.