zulip/zerver
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
..
actions create_user: Handle integrity error when importing settings. 2024-10-31 09:55:01 -07:00
data_import email_notifications: Prevent html2text from mangling Unicode. 2024-10-30 09:49:23 -07:00
integration_fixtures/nagios
lib webhooks: Support filtering GitHub activity from private repositories. 2024-10-31 10:40:28 -07:00
management send_custom_email: Support specifying sender email address. 2024-10-24 14:36:48 -07:00
migrations migrations: Fix migration 0576 local backfill path and repeat. 2024-10-30 12:06:33 -07:00
models settings: Remove `edit_topic_policy` setting. 2024-10-29 16:27:04 -07:00
openapi webhooks: Support filtering GitHub activity from private repositories. 2024-10-31 10:40:28 -07:00
tests webhooks: Support filtering GitHub activity from private repositories. 2024-10-31 10:40:28 -07:00
tornado subscription: Include archived channels in streams list. 2024-10-25 16:06:40 -07:00
transaction_tests user_groups: Add add_can_members_group to user group. 2024-10-11 16:31:18 -07:00
views user_groups: Include group_id in success response on group creation. 2024-10-30 09:46:38 -07:00
webhooks webhooks: Support filtering GitHub activity from private repositories. 2024-10-31 10:40:28 -07:00
worker worker: Address sentry_sdk deprecations. 2024-10-22 10:05:01 -07:00
__init__.py
apps.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
context_processors.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
decorator.py upload: Use tusd for resumable, larger uploads. 2024-09-19 11:37:29 -07:00
filters.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
forms.py auth: Tweak invalid credentials error message. 2024-10-24 14:35:31 -07:00
logging_handlers.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
middleware.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
signals.py ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00