zulip/zerver/tests
Rishi Gupta 15b3a8e4ff email change: Use confirmation object user to determine changeability.
Seems like the more logical check. Also, the previous code makes it feel
like there is a potential vulnerability where one could get an email change
object in a realm where email changes are disabled, and then open that link
while logged in to a different realm.

While we're at it, remove the unnecessary check that the user is
logged in when clicking the confirmation link; that creates
unnecessary trouble for users who use multiple browsers.
2017-11-07 16:26:27 -08:00
..
images Update types of images accepted as avatars. 2016-07-26 16:36:47 +05:30
__init__.py
test_alert_words.py tests: Fix send_message calls in test_alert_words.py. 2017-10-28 10:20:59 -07:00
test_attachments.py lint: Replace `pk` with `id` where they are equivalent. 2017-10-06 12:52:12 -07:00
test_audit_log.py Use stream ids in various tests. 2017-10-08 20:18:34 -07:00
test_auth_backends.py refactor: Remove six.moves.https_cookies import. 2017-11-07 10:51:44 -08:00
test_bots.py Embedded bots: Add support for creating embedded bots via the API. 2017-10-25 16:13:29 -07:00
test_bugdown.py markdown: Remove now-obsolete bugdown_matches_marked. 2017-11-07 12:01:57 -08:00
test_compatibility.py zerver/tests: Remove print_function. 2017-09-27 18:05:45 -07:00
test_custom_profile_data.py zerver/tests: Remove absolute_import. 2017-09-27 10:00:39 -07:00
test_decorators.py Add cachify decorator. 2017-11-07 10:36:02 -08:00
test_docs.py team: Tweak some text. 2017-10-31 12:44:05 -07:00
test_email_change.py email change: Use confirmation object user to determine changeability. 2017-11-07 16:26:27 -08:00
test_email_mirror.py refactor: Remove six.moves.StringIO import. 2017-11-07 10:51:44 -08:00
test_embedded_bot_system.py mypy: Fix buggy import setup for embedded bot tests. 2017-11-03 14:38:43 -07:00
test_event_queue.py Support client_gravatar field for event registration. 2017-11-07 10:42:17 -08:00
test_events.py Support client_gravatar field for event registration. 2017-11-07 10:42:17 -08:00
test_export.py tests: Fix send_message calls in test_export.py. 2017-10-28 10:20:59 -07:00
test_external.py Change urllib import to be Python 3-specific. 2017-11-07 10:46:42 -08:00
test_home.py Change urllib import to be Python 3-specific. 2017-11-07 10:46:42 -08:00
test_hotspots.py zerver/tests: Remove absolute_import. 2017-09-27 10:00:39 -07:00
test_i18n.py Revert "locale: Fix incorrect locale name for zh-Hans." 2017-10-06 10:09:08 -07:00
test_link_embed.py tests: Fix send_message calls in test_link_embed.py. 2017-10-28 10:20:59 -07:00
test_logging_handlers.py mypy: Specify type of decorator correctly in test_logging_handlers.py. 2017-11-04 19:47:45 -07:00
test_management_commands.py refactor: Remove six.moves.filter import. 2017-11-07 10:51:44 -08:00
test_message_edit_notifications.py Extract get_stream_recipient(). 2017-10-28 17:57:39 -07:00
test_messages.py Restructure send-message code for gravatars. 2017-11-07 10:36:02 -08:00
test_middleware.py urls: Move the report endpoints to be API-style routes. 2017-10-17 22:05:56 -07:00
test_muting.py Extract get_stream_recipient(). 2017-10-28 17:57:39 -07:00
test_narrow.py mypy: Amend type of bad_stream_content within test_bad_narrow_stream_content. 2017-11-07 11:26:46 -08:00
test_new_users.py Use stream ids in various tests. 2017-10-08 20:18:34 -07:00
test_notifications.py notifications: Instead of regex use lxml for fixing emojis. 2017-10-28 10:38:33 -07:00
test_outgoing_webhook_interfaces.py zerver/tests: Remove print_function. 2017-09-27 18:05:45 -07:00
test_outgoing_webhook_system.py zerver/tests: Remove inheritance from object. 2017-11-06 08:53:48 -08:00
test_presence.py refactor: Replace all __unicode__ method with __str__. 2017-11-02 11:01:47 -07:00
test_push_notifications.py zerver/tests: Remove inheritance from object. 2017-11-06 08:53:48 -08:00
test_queue_worker.py zerver/tests: Remove inheritance from object. 2017-11-06 08:53:48 -08:00
test_reactions.py tests: Fix send_message calls in test_reactions.py. 2017-10-28 10:20:59 -07:00
test_realm.py Use stream ids in various tests. 2017-10-08 20:18:34 -07:00
test_realm_domains.py subdomains: Hardcode REALMS_HAVE_SUBDOMAINS=True. 2017-10-02 16:42:43 -07:00
test_realm_emoji.py zerver/tests: Remove absolute_import. 2017-09-27 10:00:39 -07:00
test_realm_filters.py zerver/tests: Remove absolute_import. 2017-09-27 10:00:39 -07:00
test_report.py zerver/tests: Remove inheritance from object. 2017-11-06 08:53:48 -08:00
test_retention.py mypy: Clarify return type of _check_messages_before_archiving. 2017-11-07 11:26:46 -08:00
test_service_bot_system.py service bot tests: Remove bot stream subscription. 2017-11-02 14:44:11 -07:00
test_sessions.py zerver/tests: Remove absolute_import. 2017-09-27 10:00:39 -07:00
test_settings.py zerver/tests: Remove print_function. 2017-09-27 18:05:45 -07:00
test_signup.py unsubscribe: Use a custom confirmation error page. 2017-11-07 16:02:49 -08:00
test_soft_deactivation.py tests: Fix send_message calls in test_soft_deactivation.py. 2017-10-28 10:20:59 -07:00
test_subdomains.py alias domains: Add a v1 of this feature. 2017-11-03 13:38:59 -07:00
test_subs.py refactor: Remove six.moves.zip import. 2017-11-07 10:46:42 -08:00
test_templates.py zerver/tests: Remove inheritance from object. 2017-11-06 08:53:48 -08:00
test_timestamp.py refactor: Remove six.moves.zip import. 2017-11-07 10:46:42 -08:00
test_tornado.py refactor: Remove six.moves.https_cookies import. 2017-11-07 10:51:44 -08:00
test_tutorial.py tests: Fix send_message calls in test_tutorial.py. 2017-10-28 10:20:59 -07:00
test_type_debug.py refactor: Remove six.moves.StringIO import. 2017-11-07 10:51:44 -08:00
test_typing.py zerver/tests: Remove absolute_import. 2017-09-27 10:00:39 -07:00
test_unread.py Extract get_stream_recipient(). 2017-10-28 17:57:39 -07:00
test_upload.py refactor: Remove six.moves.StringIO import. 2017-11-07 10:51:44 -08:00
test_urls.py errors: Force a super-simpler handler for 400 errors. 2017-10-11 20:43:36 -07:00
test_user_groups.py user-groups: Add basic backend for UserGroup model. 2017-10-31 15:16:14 -07:00
test_users.py Extract get_stream_recipient(). 2017-10-28 17:57:39 -07:00
test_zephyr.py zephyr: Update path to process_cache for repository split. 2017-10-05 12:35:20 -07:00
tests.py retention-period: Add retention period to front-end admin organization settings. 2017-03-25 17:57:18 -07:00