zulip/zerver/webhooks
Anders Kaseorg 63be67af80 logging_util: Remove dependence on get_current_request.
Pass the HttpRequest explicitly through the two webhooks that log to
the webhook loggers.

get_current_request is now unused, so remove it (in the same commit
for test coverage reasons).

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-07-11 22:23:47 -07:00
..
airbrake markdown: Rewrite include plugin without markdown-include. 2022-06-26 17:36:31 -07:00
alertmanager alertmanager: Indent a documentation code block into its list item. 2023-02-27 11:49:36 -08:00
ansibletower black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
appfollow markdown: Rewrite include plugin without markdown-include. 2022-06-26 17:36:31 -07:00
appveyor black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
azuredevops integration: Refactor `get_pull_request_event_message` to use kwarg. 2023-03-28 15:51:43 -07:00
basecamp ruff: Fix ISC003 Explicitly concatenated string. 2023-01-04 16:25:07 -08:00
beanstalk webhooks: Pick a more reasonable length for short sha. 2022-11-08 08:20:51 -08:00
beeminder black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
bitbucket webhooks: Pick a more reasonable length for short sha. 2022-11-08 08:20:51 -08:00
bitbucket2 logging_util: Remove dependence on get_current_request. 2023-07-11 22:23:47 -07:00
bitbucket3 integration: Modify branch names for Bitbucket 3 events. 2023-03-29 18:13:36 -07:00
buildbot integrations: Add incoming webhook macro to relevant docs. 2022-09-09 16:31:33 -07:00
canarytoken markdown: Rewrite include plugin without markdown-include. 2022-06-26 17:36:31 -07:00
circleci circleci: Support the "ping" event type. 2023-06-20 14:26:31 -04:00
clubhouse black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
codeship markdown: Rewrite include plugin without markdown-include. 2022-06-26 17:36:31 -07:00
crashlytics markdown: Rewrite include plugin without markdown-include. 2022-06-26 17:36:31 -07:00
delighted markdown: Rewrite include plugin without markdown-include. 2022-06-26 17:36:31 -07:00
deskdotcom black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
dialogflow integrations: Add incoming webhook macro to relevant docs. 2022-09-09 16:31:33 -07:00
dropbox integrations-docs: Fix indentation issues in existing documentation. 2023-02-28 11:31:12 -08:00
errbit markdown: Rewrite include plugin without markdown-include. 2022-06-26 17:36:31 -07:00
flock markdown: Rewrite include plugin without markdown-include. 2022-06-26 17:36:31 -07:00
freshdesk tests: Call client methods with explicit keyword arguments. 2022-06-28 16:12:00 -07:00
freshping black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
freshstatus black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
front webhooks: Add support for gmail and rules sources to Front integration. 2023-05-11 11:36:58 -07:00
gci ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
gitea integration: Remove branch names from Gitea edited PR event. 2023-04-07 15:17:23 -07:00
github logging_util: Remove dependence on get_current_request. 2023-07-11 22:23:47 -07:00
gitlab integrations: Update links for various events in GitLab Integration. 2023-06-12 17:14:18 -07:00
gocd black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
gogs integration: Remove branch names to Gogs edited PR event. 2023-04-02 23:06:15 -07:00
gosquared webhooks: Update references to "private message" and "PM". 2023-06-23 11:24:13 -07:00
grafana black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
greenhouse greenhouse: Strengthen types using WildValue. 2022-11-14 13:49:38 -08:00
groove ruff: Fix UP032 Use f-string instead of `format` call. 2023-01-23 11:18:36 -08:00
harbor integrations: Support scans of untagged images in Harbor. 2023-05-11 11:42:54 -07:00
hellosign hellosign: Strengthen types using WildValue. 2022-11-14 13:49:38 -08:00
helloworld webhooks: Update references to "private message" and "PM". 2023-06-23 11:24:13 -07:00
heroku markdown: Rewrite include plugin without markdown-include. 2022-06-26 17:36:31 -07:00
homeassistant black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
honeybadger/fixtures
ifttt black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
insping black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
intercom intercom: Return success on HEAD requests. 2023-01-06 13:32:47 -08:00
jira ruff: Fix RSE102 Unnecessary parentheses on raised exception. 2023-02-04 16:34:55 -08:00
jotform jotform: Strengthen types using WildValue. 2022-11-14 13:49:38 -08:00
json black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
librato Fix typos caught by typos. 2023-01-03 11:09:50 -08:00
lidarr ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
linear integrations: Add Linear webhook integration. 2023-05-30 10:48:19 -07:00
mention mention: Strengthen types using WildValue. 2022-09-01 14:05:14 -07:00
netlify black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
newrelic black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
opbeat ruff: Fix SIM118 Use `key in dict` instead of `key in dict.keys()`. 2023-01-04 16:25:07 -08:00
opencollective black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
opsgenie black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
pagerduty webhooks: Use 200 status code for unknown events. 2023-07-11 13:51:37 -07:00
papertrail black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
pingdom ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
pivotal ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
radarr integrations: Add support for MovieAdded Radarr hook. 2023-05-11 12:08:25 -07:00
raygun ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
reviewboard ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
rhodecode ruff: Fix SIM102 nested `if` statements. 2023-01-23 11:18:36 -08:00
rollbar/fixtures
rundeck integrations: Add Rundeck webhook integration. 2023-04-07 10:13:21 -07:00
runscope/fixtures
semaphore black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
sentry sentry-webhook: Revise documentation page to be clearer. 2023-07-10 13:43:28 -07:00
slack black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
slack_incoming black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
solano webhooks: Use get_short_sha to get shortened sha. 2022-11-08 08:20:51 -08:00
sonarqube ruff: Fix SIM118 Use `key in dict` instead of `key in dict.keys()`. 2023-01-04 16:25:07 -08:00
sonarr ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
splunk black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
statuspage black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
stripe stripe: Nicknames are optional on plans. 2023-06-27 18:02:50 -07:00
taiga ruff: Fix SIM201 Use `… != …` instead of `not … == …`. 2023-01-23 11:18:36 -08:00
teamcity webhooks: Update references to "private message" and "PM". 2023-06-23 11:24:13 -07:00
thinkst thinkst: Strengthen types using WildValue. 2022-09-01 14:05:14 -07:00
transifex ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
travis markdown: Rewrite include plugin without markdown-include. 2022-06-26 17:36:31 -07:00
trello black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
updown webhooks: Use 200 status code for unknown events. 2023-07-11 13:51:37 -07:00
uptimerobot uptimerobot: Use the create-bot-construct-url macro for uptimerobot. 2022-09-08 13:37:35 -07:00
wekan integrations-docs: Fix indentation issues in existing documentation. 2023-02-28 11:31:12 -08:00
wordpress black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
zabbix black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
zapier integrations: Update text in Zapier Documentation. 2023-05-09 12:25:18 -07:00
zendesk integrations: Add incoming webhook macro to relevant docs. 2022-09-09 16:31:33 -07:00
__init__.py