zulip/zerver/tests
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
..
fixtures slack: Support importing shared channels. 2019-08-26 14:10:19 -07:00
images emoji: Only resize custom emoji that need it. 2019-01-29 10:33:50 -08:00
__init__.py
test_alert_words.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_archive.py
test_attachments.py
test_audit_log.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
test_auth_backends.py ldap: Fix unintended user deactivation in case of connection failure. 2019-09-05 11:59:20 -07:00
test_bots.py settings: Add FAKE_EMAIL_DOMAIN setting. 2019-08-30 14:59:00 -07:00
test_bugdown.py test_bugdown: Prepare for moving system bots to zulipinternal. 2019-07-24 16:44:16 -07:00
test_cache.py generic_bulk_cached_fetch: Only call query_function if necessary. 2019-08-15 17:14:02 -07:00
test_camo.py
test_compatibility.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
test_create_video_call.py zoom: Fix coverage of new zoom error handling code path. 2019-01-16 15:58:26 -08:00
test_custom_profile_data.py custom fields: Add default external account custom fields. 2019-08-28 15:35:53 -07:00
test_decorators.py zerver: Accept HEAD requests wherever GET requests are accepted. 2019-08-12 16:47:41 -07:00
test_digest.py emails: Extract get_narrow_url into a function. 2019-06-28 11:38:17 -07:00
test_docs.py restore-backup, test_docs: Import settings from django.conf. 2019-08-28 15:33:16 -07:00
test_email_change.py urls: Tighten many unintentionally broad URL patterns. 2019-08-26 20:51:49 -07:00
test_email_log.py
test_email_mirror.py stream settings: Use the .show-sender version of email address. 2019-09-05 11:48:32 -07:00
test_email_notifications.py messages: Add email/push notifications for wildcard mentions. 2019-08-26 14:39:53 -07:00
test_embedded_bot_system.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_event_queue.py messages: Add email/push notifications for wildcard mentions. 2019-08-26 14:39:53 -07:00
test_events.py messages: Fix unread_msgs accounting of wildcard mentions. 2019-08-25 20:32:12 -07:00
test_external.py rate_limiter: Generalise some rate_limit_user code. 2019-05-01 12:54:32 -07:00
test_feedback.py
test_gitter_importer.py tests: Move get_set to ZulipTestCase. 2019-05-21 14:10:29 -07:00
test_hipchat_importer.py
test_home.py page_params: Send the list of config_options for incoming webhook bots. 2019-08-20 17:00:48 -07:00
test_hotspots.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_i18n.py test_i18n: Clean up type ignores. 2019-08-09 17:42:33 -07:00
test_import_export.py tests: Adjust to new changes in populate_db. 2019-07-31 16:01:37 -07:00
test_integrations_dev_panel.py webhooks: Replace headers parsing logic with a common source. 2019-06-24 13:23:21 -07:00
test_json_encoder_for_html.py
test_legacy_subject.py
test_link_embed.py url preview: Replace YouTube URLs with their titles. 2019-07-12 19:14:19 -07:00
test_logging_handlers.py errors: Fix infinite recursion during memcached outages. 2019-09-03 11:44:39 -07:00
test_management_commands.py management: Fix password reset emails being sent to deactivated users. 2019-08-14 10:50:45 -07:00
test_mattermost_importer.py mattermost: Fix test flake in test_convert_channel_data. 2019-09-05 11:20:33 -07:00
test_message_edit_notifications.py messages: Add email/push notifications for wildcard mentions. 2019-08-26 14:39:53 -07:00
test_messages.py display_recipient: Eliminate raw_display_recipient from message dicts. 2019-08-20 12:22:52 -07:00
test_middleware.py open graph: Uploaded realm icon URL is absolute for some backends. 2019-05-20 13:14:28 -07:00
test_migrations.py test_migrations: Disable migrations test. 2019-05-12 22:06:17 -07:00
test_muting.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_narrow.py search: Reimplement ts_locs_array in pure PostgreSQL. 2019-08-28 17:59:12 -07:00
test_new_users.py test_new_users: Prepare for moving system bots to zulipinternal. 2019-07-20 14:55:22 -07:00
test_onboarding.py
test_openapi.py urls: Reformat how we handle API-only mobile endpoints. 2019-08-19 15:34:40 -07:00
test_outgoing_webhook_interfaces.py test_outgoing_webhook_interfaces: Clean up type ignores. 2019-08-09 17:42:33 -07:00
test_outgoing_webhook_system.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_populate_db.py populate_db: Refactor message.pub_date generating code. 2019-07-22 15:55:28 -07:00
test_presence.py test_presence: Prepare for moving system bots to zulipinternal. 2019-07-20 14:55:21 -07:00
test_push_notifications.py analytics: Fix logging for errors connecting to push bouncer. 2019-09-02 18:47:10 -07:00
test_queue.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_queue_worker.py test_queue_worker: Remove timing from test_slow_queries_worker. 2019-08-18 12:32:45 -07:00
test_reactions.py test_retention: Check that Reactions get correctly deleted. 2019-05-30 11:33:41 -07:00
test_realm.py models: Extract get_human_admin_users function. 2019-06-20 14:32:30 -07:00
test_realm_domains.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_realm_emoji.py get_realm: raise DoesNotExist instead of returning None. 2019-05-06 21:58:16 -07:00
test_realm_export.py data exports: Add upload and message limit test. 2019-08-12 19:52:46 -07:00
test_realm_filters.py linkifiers: Allow semicolons in target URLs. 2019-05-14 11:17:55 -07:00
test_report.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_retention.py test_retention: Prepare for moving system bots to zulipinternal. 2019-07-20 15:08:08 -07:00
test_service_bot_system.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_sessions.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_settings.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
test_signup.py onboarding: Mark the most recent 20 messages as unread. 2019-08-26 13:51:52 -07:00
test_slack_importer.py slack: Rename added_recipient to slack_recipient_name_to_zulip_recipient_id. 2019-08-26 14:10:19 -07:00
test_slack_message_conversion.py slack: Support importing shared channels. 2019-08-26 14:10:19 -07:00
test_soft_deactivation.py soft-deactivation: Run catch-up when "auto" deactivate is run. 2019-03-14 11:53:15 -07:00
test_subdomains.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
test_submessage.py
test_subs.py display_recipient: Eliminate raw_display_recipient from message dicts. 2019-08-20 12:22:52 -07:00
test_templates.py test_templates: Add a verbose error messages for rendering failures. 2019-08-12 16:24:08 -07:00
test_thumbnail.py lint: Fix code that evaded our lint checks for string % non-tuple. 2019-04-23 15:21:37 -07:00
test_timestamp.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
test_tornado.py events: Check last_event_id for validity, take 2. 2019-08-05 17:18:49 -07:00
test_transfer.py management: Add tooling for transfering local uploads to s3. 2019-02-14 14:31:46 -08:00
test_tutorial.py test_presence: Prepare for moving system bots to zulipinternal. 2019-07-20 14:55:21 -07:00
test_type_debug.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
test_typing.py test_typing: Prepare for moving system bots to zulipinternal. 2019-07-20 14:55:21 -07:00
test_unread.py models: Rename Subscription.in_home_view field to is_muted. 2019-05-12 22:08:10 -07:00
test_upload.py realm_logo: Remove redundant `realm_logo_url` function. 2019-08-20 12:07:20 -07:00
test_urls.py urls: Tighten many unintentionally broad URL patterns. 2019-08-26 20:51:49 -07:00
test_user_groups.py test_user_groups: Eliminate hard-coded user ids. 2019-08-21 21:28:09 -07:00
test_user_status.py user status: Add "status_text" support in the backend. 2019-01-24 09:46:35 -08:00
test_users.py settings: Add FAKE_EMAIL_DOMAIN setting. 2019-08-30 14:59:00 -07:00
test_webhooks_common.py webhooks: Eliminate the usage of a headers.py file. 2019-06-26 10:35:14 -07:00
test_widgets.py widgets: Remove ALLOW_SUB_MESSAGES flag and enable widgets by default. 2019-01-29 09:34:14 -08:00
test_zcommand.py
test_zephyr.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00