zulip/zerver
Puneeth Chaganti 4d2ce607c9 tools: Add script to trigger webhook notification using fixtures.
When creating a webhook integration or creating a new one, it is a pain to
create or update the screenshots in the documentation. This commit adds a
tool that can trigger a sample notification for the webhook using a fixture,
that is likely already written for the tests.

Currently, the developer needs to take a screenshot manually, but this could
be automated using puppeteer or something like that.

Also, the tool does not support webhooks with basic auth, and only supports
webhooks that use json fixtures. These can be fixed in subsequent commits.
2020-04-16 19:25:13 -07:00
..
data_import python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
lib tools: Add script to trigger webhook notification using fixtures. 2020-04-16 19:25:13 -07:00
management send_custom_email: Improve docstrings a bit. 2020-04-14 10:55:04 -07:00
migrations python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
openapi api_docs: Move /rest-error-handling examples. 2020-04-15 12:17:50 -07:00
templatetags openapi: Pass api_url to curl example generation. 2019-08-17 11:35:08 -07:00
tests tools: Add script to trigger webhook notification using fixtures. 2020-04-16 19:25:13 -07:00
tornado python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
views terms: Fix email address visibility displayed when accepting ToS. 2020-04-16 11:44:51 -07:00
webhooks webhook/semaphore: Add only summary line to the notification message. 2020-04-14 12:42:36 -07:00
worker queue_processors: Write a newline char at the end of stats files. 2020-04-10 13:48:16 -07:00
__init__.py
apps.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
context_processors.py decorators: Restructure get_client_name interface. 2020-03-08 14:19:50 -07:00
decorator.py rate_limit: Move functions called by external code to RateLimitedObject. 2020-03-22 18:42:35 -07:00
filters.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
forms.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
logging_handlers.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
middleware.py middleware: Remove unused cookie_domain setting. 2020-04-12 11:55:55 -07:00
models.py python: Further pyupgrade changes following merge conflict. 2020-04-09 16:59:47 -07:00
signals.py emails: Translate from_name of account security emails. 2020-02-18 17:45:33 -08:00