zulip/zerver
Abhinav 41fc7b2ae1 webhooks/semaphore: Add support for Semaphore 2.0 notifications.
Semaphore has currently has two different versions of their product -
Classic and 2.0. This commit adds support for Semaphore 2.0, along side
Semaphore Classic, using the same webhook. This would let the integration
work seamlessly for users who have already configured a Zulip integration in
their Semaphore 2.0 projects.

Semaphore 2.0 currently only supports GitHub and their payloads do not
contain URLs for common entities like commits, pull requests and tags. We
construct URLs for them using templates, but also try to support other
services by providing notifications without URLs.

Closes #14171

Co-authored-by: Puneeth Chaganti <punchagan@muse-amuse.in>
2020-04-09 12:41:40 -07:00
..
data_import text: Fix some typos (most of them found and fixed by codespell). 2020-03-27 17:25:56 -07:00
lib webhooks/semaphore: Add support for Semaphore 2.0 notifications. 2020-04-09 12:41:40 -07:00
management text: Fix some typos (most of them found and fixed by codespell). 2020-03-27 17:25:56 -07:00
migrations migrations: Refactor the enum type fields. 2020-03-27 00:21:21 -07:00
openapi message_edit: Add backend for moving a topic to another stream. 2020-04-07 14:19:19 -07:00
templatetags openapi: Pass api_url to curl example generation. 2019-08-17 11:35:08 -07:00
tests test_docs: Fix use of fixture when testing /team data. 2020-04-08 13:09:09 -07:00
tornado tornado: Fix parsing of delete_message events with no users. 2020-04-09 05:39:47 -07:00
views team: Generate team page data using cron job. 2020-04-08 12:52:31 -07:00
webhooks webhooks/semaphore: Add support for Semaphore 2.0 notifications. 2020-04-09 12:41:40 -07:00
worker queue_processors: Gather statistics on queue worker operations. 2020-04-01 16:44:06 -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 rate_limiter: Put secs_to_freedom as message when raising RateLimited. 2020-04-08 10:29:18 -07:00
logging_handlers.py version: Only let `git describe` match tags beginning with a digit. 2019-10-24 14:54:45 -07:00
middleware.py rate_limiter: Change type of the RateLimitResult.remaining to int. 2020-04-08 10:29:18 -07:00
models.py models: Reuse constants for common realm permissions policies. 2020-04-03 15:17:51 -07:00
signals.py emails: Translate from_name of account security emails. 2020-02-18 17:45:33 -08:00