zulip/zerver
Mateusz Mandera 2ce2024bd7 ldap: Fix unintended user deactivation in case of connection failure.
Fixes #13130.

django_auth_ldap doesn't give any other way of detecting that LDAPError
happened other than catching the signal it emits - so we have to
register a receiver. In the receiver we just raise our own Exception
which will properly propagate without being silenced by
django_auth_ldap. This will stop execution before the user gets
deactivated.
2019-09-05 11:59:20 -07:00
..
data_import slack: Remove unnecessary comments. 2019-08-26 14:10:19 -07:00
lib stream settings: Use the .show-sender version of email address. 2019-09-05 11:48:32 -07:00
management parse_lsb_release: Use /etc/os-release instead of /etc/lsb-release. 2019-08-28 17:53:27 -07:00
migrations models: Migration of UserMessage.id to bigint, part 2. 2019-08-26 21:25:19 -07:00
openapi populate_db: Extract internal realm creation into a function. 2019-08-23 12:57:24 -07:00
templatetags openapi: Pass api_url to curl example generation. 2019-08-17 11:35:08 -07:00
tests ldap: Fix unintended user deactivation in case of connection failure. 2019-09-05 11:59:20 -07:00
tornado messages: Add email/push notifications for wildcard mentions. 2019-08-26 14:39:53 -07:00
views settings: Add FAKE_EMAIL_DOMAIN setting. 2019-08-30 14:59:00 -07:00
webhooks webhooks/papertrail: Requests from Papertrail are not JSON requests. 2019-09-04 13:16:17 -07:00
worker emails: Send invitation reminder email two days before expiry. 2019-08-23 12:53:11 -07:00
__init__.py
apps.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
context_processors.py open graph: Uploaded realm icon URL is absolute for some backends. 2019-05-20 13:14:28 -07:00
decorator.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
filters.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
forms.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
logging_handlers.py zerver: Accept HEAD requests wherever GET requests are accepted. 2019-08-12 16:47:41 -07:00
middleware.py middleware: Fix exception typing. 2019-07-31 12:23:20 -07:00
models.py settings: Add FAKE_EMAIL_DOMAIN setting. 2019-08-30 14:59:00 -07:00
signals.py zerver core: Remove unused imports. 2019-02-02 17:41:24 -08:00