zulip/zproject
Mateusz Mandera a095c34503 saml: Add OneLogin_Saml2_ValidationError to caught parsing exceptions.
This is an exception that we should be generally catching like the
others, which will give our standard /login/ redirect and proper logging
- as opposed to a 500 if we don't catch.

Addresses directly a bug we occurred in the wild, where a SAMLResponse
was submitted without issuers specified in a valid way, causing this
exception. The added test tests this specific type of scenario.
2023-09-27 10:32:18 -07:00
..
jinja2 jinja2: Make sure that 500 pages have support_email set. 2023-04-12 16:41:07 -07:00
__init__.py
backends.py saml: Add OneLogin_Saml2_ValidationError to caught parsing exceptions. 2023-09-27 10:32:18 -07:00
computed_settings.py mypy: Remove no_implicit_reexport override. 2023-09-08 16:46:44 -07:00
config.py coverage: Clean up coverage configuration. 2023-05-31 13:53:04 -07:00
configured_settings.py coverage: Clean up coverage configuration. 2023-05-31 13:53:04 -07:00
default_settings.py typing: Add typing constants to the post register api response. 2023-08-23 16:36:44 -07:00
dev_settings.py dev_settings: Remove `THUMBNAIL_IMAGES` from test_extra_settings. 2023-06-12 16:26:55 -07:00
dev_urls.py transaction_tests: Remove testing URL. 2023-09-06 09:13:02 -07:00
email_backends.py email: Replace `uri` with `url` in templates and backend. 2023-04-26 16:37:16 -07:00
legacy_urls.py legacy_urls: Add type annotation to legacy_urls. 2022-08-12 17:08:04 -07:00
prod_settings.pyi lint: Replace pycodestyle and pyflakes with ruff. 2022-11-03 12:10:15 -07:00
prod_settings_template.py uploads: Allow uploads to set storage class. 2023-07-19 16:19:34 -07:00
sentry.py sentry: Remove dependence on get_current_request. 2023-07-11 22:23:47 -07:00
settings.py ruff: Fix M001 Unused `noqa` directive. 2022-11-03 12:10:15 -07:00
settings_types.py saml: Rework SP-initiated logout config to support IdP-level config. 2023-05-23 13:01:15 -07:00
template_loaders.py template_loaders: Extract TwoFactorLoader to new module. 2022-09-26 12:42:36 -07:00
test_extra_settings.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
test_settings.py ruff: Fix M001 Unused `noqa` directive. 2022-11-03 12:10:15 -07:00
urls.py views: Add a /health healthcheck endpoint. 2023-09-20 09:53:59 -07:00
wsgi.py