zulip/zerver/webhooks
Christopher Chong b6f6f6db8d slack_incoming: Process request payload directly in view.py.
slack_incoming webhook previously used has_request_variables to
extract payload from HttpRequest object first, before trying to
access HttpRequest.body again in view.py. This caused an error
when one sends a request without payload - it is forbidden to
read from request data stream twice.

Instead of relying on has_request_variables, this PR extracts
payload depending on content type in view.py directly to avoid
reading request data stream twice.

Fixes #19056.
2022-04-28 14:45:38 -07:00
..
airbrake airbrake: Strengthen types using WildValue. 2022-03-15 13:02:02 -07:00
alertmanager alertmanager: Strengthen types using WildValue. 2022-03-15 13:02:02 -07:00
ansibletower ansibletower: Strengthen types using WildValue. 2022-03-15 13:02:02 -07:00
appfollow appfollow: Strengthen types using WildValue. 2022-03-15 13:02:02 -07:00
appveyor appveyor: Strengthen types using WildValue. 2022-03-15 13:02:02 -07:00
basecamp basecamp: Strengthen types using WildValue. 2022-03-15 13:02:02 -07:00
beanstalk beanstalk: Strengthen types using WildValue. 2022-03-15 13:02:02 -07:00
beeminder beeminder: Accept float for payload["goal"]["pledge"]. 2022-03-22 21:08:48 -04:00
bitbucket bitbucket: Strengthen types using WildValue. 2022-03-15 13:02:02 -07:00
bitbucket2 python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
bitbucket3 python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
buildbot buildbot: Strengthen types using WildValue. 2022-03-15 13:02:02 -07:00
canarytoken canarytoken: Strengthen types using WildValue. 2022-03-15 13:02:02 -07:00
circleci circleci: Strengthen types using WildValue. 2022-03-15 13:02:02 -07:00
clubhouse clubhouse: Strengthen types using WildValue. 2022-03-15 13:02:02 -07:00
codeship codeship: Strengthen types using WildValue. 2022-03-15 13:02:02 -07:00
crashlytics crashlytics: Strengthen types using WildValue. 2022-03-15 13:02:02 -07:00
delighted backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
deskdotcom backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
dialogflow actions: Split out zerver.actions.message_send. 2022-04-14 17:14:34 -07:00
dropbox backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
errbit backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
flock backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
freshdesk backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
freshping backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
freshstatus actions: Split out zerver.actions.message_send. 2022-04-14 17:14:34 -07:00
front backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
gci backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
gitea webhook: Rename FIXTURE_DIR_NAME to WEBHOOK_DIR_NAME. 2021-06-29 17:01:54 -07:00
github backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
gitlab backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
gocd backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
gogs python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
gosquared backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
grafana backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
greenhouse backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
groove backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
harbor backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
hellosign validator: Replace converter=orjson.loads with json_validator. 2022-03-15 13:02:02 -07:00
helloworld Remove Debian 10 support. 2022-04-26 16:32:02 -07:00
heroku backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
homeassistant backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
honeybadger/fixtures
ifttt backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
insping backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
intercom backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
jira docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
jotform backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
json backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
librato validator: Replace converter=orjson.loads with json_validator. 2022-03-15 13:02:02 -07:00
lidarr backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
mention backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
netlify backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
newrelic backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
opbeat backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
opencollective Correctly hyphenate “non-”. 2022-04-27 22:10:31 -07:00
opsgenie webhooks: Correct OpsGenie to Opsgenie. 2022-02-07 18:51:06 -08:00
pagerduty backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
papertrail backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
pingdom docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
pivotal backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
radarr backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
raygun backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
reviewboard backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
rollbar/fixtures
runscope/fixtures
semaphore backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
sentry backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
slack actions: Split out zerver.actions.message_send. 2022-04-14 17:14:34 -07:00
slack_incoming slack_incoming: Process request payload directly in view.py. 2022-04-28 14:45:38 -07:00
solano backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
sonarqube backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
sonarr backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
splunk backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
statuspage backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
stripe backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
taiga backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
teamcity actions: Split out zerver.actions.message_send. 2022-04-14 17:14:34 -07:00
thinkst backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
transifex backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
travis docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
trello backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
updown backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
uptimerobot actions: Split out zerver.actions.message_send. 2022-04-14 17:14:34 -07:00
wordpress backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
yo actions: Split out zerver.actions.message_send. 2022-04-14 17:14:34 -07:00
zabbix actions: Split out zerver.actions.message_send. 2022-04-14 17:14:34 -07:00
zapier backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
zendesk docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
__init__.py