zulip/zerver
Alex Vandiver 8a77cca341 middleware: Detect reverse proxy misconfigurations.
Combine nginx and Django middlware to stop putting misleading warnings
about `CSRF_TRUSTED_ORIGINS` when the issue is untrusted proxies.
This attempts to, in the error logs, diagnose and suggest next steps
to fix common proxy misconfigurations.

See also #24599 and zulip/docker-zulip#403.
2023-07-02 16:20:21 -07:00
..
actions user_groups: Add support to update can_mention_group setting. 2023-06-30 17:28:33 -07:00
data_import slack: Handle the special case of permissions denied on team.info call. 2023-06-27 11:04:41 -07:00
integration_fixtures/nagios
lib user_groups: Add support to update can_mention_group setting. 2023-06-30 17:28:33 -07:00
management delete-user: Update management command help doc-string. 2023-06-23 11:24:13 -07:00
migrations user_groups: Add can_mention_group setting. 2023-06-30 17:28:33 -07:00
openapi user_groups: Add support to update can_mention_group setting. 2023-06-30 17:28:33 -07:00
tests doc tests: Mock html_to_text. 2023-07-02 16:18:24 -07:00
tornado narrow: Split out narrow_helpers. 2023-06-30 11:26:23 -07:00
views user_groups: Add support to update can_mention_group setting. 2023-06-30 17:28:33 -07:00
webhooks integrations: Remove label URL from GitHub issue labeled notifications. 2023-06-29 13:17:30 -07:00
worker queue_processors: Avoid queue worker timeouts in tests. 2023-06-28 11:06:24 -07:00
__init__.py
apps.py requirements: Upgrade Python requirements. 2023-04-03 22:39:21 -07:00
context_processors.py emails: Add corporate_enabled to context for emails. 2023-05-01 10:32:43 -07:00
decorator.py codespell: Correct “requestor” to “requester”. 2023-06-20 16:17:55 -07:00
filters.py
forms.py accounts: Allow user to change email visibility during first login. 2023-05-16 13:52:56 -07:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py middleware: Detect reverse proxy misconfigurations. 2023-07-02 16:20:21 -07:00
models.py user_groups: Add can_mention_group setting. 2023-06-30 17:28:33 -07:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00