zulip/zerver/webhooks
Aditya Kumar Kasaudhan d1ff871523 webhooks: Support filtering GitHub activity from private repositories.
Currently, the GitHub webhook sends activity from both public and private
repositories, which could lead to unintended disclosure of sensitive
information from private repositories.

This commit introduces a ignore_private_repositories parameter to the
webhook URL. When set to true, the webhook ignore processing activity from
private repositories, ensuring that such activities are not posted to
Zulip streams. By default, if the parameter is omitted or set to false,
activities from both public and private repositories are processed
normally. This provides users with the flexibility to control the
visibility of private repository activities without altering the default
behavior.

More importantly, this introduces a cleaner mechanism for individual
incoming webhooks to declare support for settings not common to all
webhook integrations.

Fixes #31638.
2024-10-31 10:40:28 -07:00
..
airbrake webhooks: Rename create-stream.md to create-channel.md. 2024-05-06 09:07:57 -07:00
alertmanager ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
ansibletower ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
appfollow integration-docs: Update Appfollow for updated doc format. 2024-07-02 12:50:25 -07:00
appveyor integration-docs: Update AppVeyor for new doc format. 2024-07-02 12:50:25 -07:00
azuredevops ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
basecamp integration-docs: Clarify use of event-filtering-additional-feature. 2024-07-08 13:51:50 -07:00
beanstalk ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
beeminder integration-docs: Update Beeminder for new doc format. 2024-07-02 12:50:25 -07:00
bitbucket ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
bitbucket2 ruff: Fix B905 `zip()` without an explicit `strict=` parameter. 2024-07-13 22:28:22 -07:00
bitbucket3 python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
buildbot webhooks: Rename remaining stream references to channel. 2024-05-06 09:07:57 -07:00
canarytoken integration-docs: Update Canarytoken for new doc format. 2024-07-05 15:20:59 -07:00
circleci integration-docs: Clarify use of event-filtering-additional-feature. 2024-07-08 13:51:50 -07:00
clubhouse ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
codeship integration-docs: Update Codeship for new doc format. 2024-07-01 13:27:45 -07:00
crashlytics integration-docs: Update Crashlytics for new doc format. 2024-07-01 13:27:45 -07:00
delighted integration-docs: Update Delighted for new doc format. 2024-07-01 13:27:45 -07:00
deskdotcom integration-docs: Add comma to all uses of "e.g." in integration docs. 2024-07-05 15:36:24 -07:00
dialogflow webhooks: Rename create-stream.md to create-channel.md. 2024-05-06 09:07:57 -07:00
dropbox ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
errbit integration-docs: Update Errbit for new doc format. 2024-07-01 13:27:45 -07:00
flock integration-docs: Update Flock for new doc format. 2024-07-02 16:07:22 -07:00
freshdesk ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
freshping integration-docs: Clarify use of event-filtering-additional-feature. 2024-07-08 13:51:50 -07:00
freshstatus ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
front ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
gitea git webhooks: Handle assignment events better. 2024-10-24 12:46:39 -07:00
github webhooks: Support filtering GitHub activity from private repositories. 2024-10-31 10:40:28 -07:00
gitlab integrations: Add support for release events to GitLab integration. 2024-09-16 09:26:20 -07:00
gocd webhooks: Rename create-stream.md to create-channel.md. 2024-05-06 09:07:57 -07:00
gogs git webhooks: Handle assignment events better. 2024-10-24 12:46:39 -07:00
gosquared integration-docs: Update Gosquared for new doc format. 2024-07-08 16:29:33 -07:00
grafana integration-docs: Clarify use of event-filtering-additional-feature. 2024-07-08 13:51:50 -07:00
greenhouse webhooks: Fix strange joining code in greenhous webhook. 2024-09-03 12:31:36 -07:00
groove ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
harbor ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
hellosign ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
helloworld integration-docs: Update Hello World for new doc format. 2024-07-08 16:29:02 -07:00
heroku integration-docs: Update Heroku for new doc format. 2024-07-08 16:29:02 -07:00
homeassistant webhooks: Rename remaining stream references to channel. 2024-05-06 09:07:57 -07:00
honeybadger/fixtures
ifttt integration-docs: Update IFTTT for new doc format. 2024-07-08 16:29:02 -07:00
insping integration-docs: Update Insping for new doc format. 2024-07-08 16:29:02 -07:00
intercom ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
jira integrations: Update comment related notifications in Jira integration. 2024-08-12 11:45:09 -07:00
jotform integration-docs: Update Jotform for new doc format. 2024-07-12 13:21:07 -07:00
json ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
librato ruff: Fix B905 `zip()` without an explicit `strict=` parameter. 2024-07-13 22:28:22 -07:00
lidarr ruff: Fix UP006 Use `list` instead of `List` for type annotation. 2024-07-13 22:28:22 -07:00
linear ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
mention integration-docs: Update Mention for new doc format. 2024-08-15 13:16:14 -07:00
netlify integration-docs: Update Netlify for new doc format. 2024-08-15 13:16:14 -07:00
newrelic integration-docs: Add comma to all uses of "e.g." in integration docs. 2024-07-05 15:36:24 -07:00
opencollective integration-docs: Update Open Collective for new doc format. 2024-08-15 13:16:14 -07:00
opsgenie integration-docs: Update Opsgenie for new doc format. 2024-07-21 18:09:13 -07:00
pagerduty integration-docs: Update PagerDuty to the new doc format. 2024-08-12 11:43:16 -07:00
papertrail integration-docs: Update Papertrail the new doc format. 2024-08-12 11:43:16 -07:00
patreon integration-docs: Update Patreon to the new doc format. 2024-08-12 11:43:16 -07:00
pingdom integration-docs: Update Pingdom to the new doc format. 2024-08-12 11:43:16 -07:00
pivotal integration-docs: Update Pivotal for new doc format. 2024-07-21 18:09:13 -07:00
radarr integration-docs: Update Radarr for new doc format. 2024-07-21 18:09:13 -07:00
raygun integration-docs: Update Raygun for new doc format. 2024-07-21 18:09:13 -07:00
reviewboard integration-docs: Update Review Board for new doc format. 2024-07-21 18:09:13 -07:00
rhodecode integration-docs: Update RhodeCode for new doc format. 2024-07-21 18:09:13 -07:00
rollbar/fixtures
rundeck integration-docs: Update Rundeck for new doc format. 2024-07-21 18:09:13 -07:00
runscope/fixtures
semaphore integration-docs: Update Semaphore to the new doc format. 2024-07-31 10:16:54 -07:00
sentry docs: Update existing links to use "channel" operator. 2024-10-11 17:00:23 -07:00
slack ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
slack_incoming slack_incoming: Add ok=false to JSON in case of error. 2024-10-30 15:33:29 -07:00
sonarqube integration-docs: Update Sonarqube for new doc format. 2024-07-16 14:55:56 -07:00
sonarr integration-docs: Update Sonarr for new doc format. 2024-07-16 14:55:56 -07:00
splunk integration-docs: Fix typo in Splunk doc hint. 2024-07-18 12:24:36 -07:00
statuspage integration-docs: Update Statuspage for new doc format. 2024-07-16 14:55:56 -07:00
stripe integration-docs: Include suggestion for HTTPS hint in Stripe. 2024-07-18 12:28:08 -07:00
taiga integration-docs: Update Taiga for new doc format. 2024-07-16 09:40:45 -07:00
teamcity integration-docs: Update TeamCity for new doc format. 2024-07-16 17:02:55 -07:00
thinkst integration-docs: Update Thinkst for new doc format. 2024-07-16 09:40:45 -07:00
transifex integration-docs: Update Transifex for new doc format. 2024-07-16 09:40:45 -07:00
travis integrations: Remove ignore_pull_requests from Travis CI webhook. 2024-09-24 11:04:49 -07:00
trello integration-docs: Format keyboard shortcuts in Trello doc. 2024-07-18 12:24:45 -07:00
updown integration-docs: Update Updown for new doc format. 2024-07-08 16:28:24 -07:00
uptimerobot integration-docs: Update UptimeRobot for new doc format. 2024-07-08 16:28:24 -07:00
wekan integration-docs: Update Wekan for new doc format. 2024-07-16 14:55:02 -07:00
wordpress integration-docs: Update WordPress for new doc format. 2024-07-16 14:55:02 -07:00
zabbix integration-docs: Update Zabbix for new doc format. 2024-07-16 14:55:27 -07:00
zapier integration-docs: Update Zapier for new doc format. 2024-07-15 16:42:22 -07:00
zendesk integration-docs: Update Zendesk for new doc format. 2024-07-15 16:42:22 -07:00
__init__.py