zulip/zerver/openapi
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
..
__init__.py openapi: Add missing __init__.py; fix type errors hidden by its absence. 2021-07-05 12:20:39 -07:00
curl_param_value_generators.py do_deactivate_stream: Remove unnecessary mutations. 2024-10-25 16:06:42 -07:00
javascript_examples.js api-docs: Update comments in javascript usage examples for channel. 2024-05-20 11:27:03 -07:00
javascript_examples.py python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
markdown_extension.py python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
openapi.py python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
python_examples.py saved_snippets: Add backend for saved snippets. 2024-09-24 15:27:58 -07:00
test_curl_examples.py models: Replace realm.uri with realm.url. 2024-05-08 11:12:43 -07:00
testing.yaml test_openapi: Make testing.yml a full conformant specification. 2022-01-13 14:34:11 -08:00
zulip.yaml webhooks: Support filtering GitHub activity from private repositories. 2024-10-31 10:40:28 -07:00