zulip/zerver/tests
Rohitt Vashishtha 96aa1d4b37 markdown: Reduce mentions inside blockquotes to silent-mentions.
On the backend, we extend the BlockQuoteProcessor's clean function that
just removes '>' from the start of each line to convert each mention to
have the silent mention syntax, before UserMentionPattern is invoked.

The frontend, however, has an edge case where if you are mentioned in
some message and you quote it while having mentioned yourself above
the quoted message, you wouldn't see the red highlight till we get the
final rendered message from the backend.

This is such a subtle glitch that it's likely not worth worrying about.

Fixes #8025.
2019-01-16 16:08:37 -08:00
..
fixtures emoji: Make unicode/span emojis more accessible. 2019-01-16 09:07:19 -08:00
images uploads: Return a HTTP 400 error for a decompression bomb attack. 2019-01-13 08:17:24 +00:00
__init__.py
test_alert_words.py alert words: Return the updated list when adding/removing words. 2018-07-13 01:01:00 +05:30
test_archive.py archives: Change the topic/<topic_name> code path to use topics prefix. 2018-07-14 10:39:35 +05:30
test_attachments.py
test_audit_log.py email: Support delivery email in email change system. 2018-12-06 17:43:26 -08:00
test_auth_backends.py ldap: Add a setting to automatically deactivate non_matching users. 2019-01-13 19:04:09 -08:00
test_bots.py bots: Prevent bots from having duplicate full names. 2018-10-24 16:59:57 -07:00
test_bugdown.py markdown: Reduce mentions inside blockquotes to silent-mentions. 2019-01-16 16:08:37 -08:00
test_cache.py tests: Add 100% test coverage to zerver/apps.py. 2018-05-14 10:36:10 -07:00
test_camo.py camo: Add endpoint to handle camo requests. 2019-01-04 10:27:04 -08:00
test_compatibility.py compatibility: Respond with HTTP 400 when no User-Agent header. 2018-12-10 15:04:34 -08: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 zerver: Add bugdown rendering for text custom profile fields. 2018-11-29 09:47:32 -08:00
test_decorators.py validators: Add a validator called check_color for hex color codes. 2019-01-14 10:16:42 -08:00
test_digest.py digest_email: Add endpoint for rendering digest to the web. 2018-12-11 13:38:30 -08:00
test_docs.py test_docs: Print better error messages for failed responses. 2018-12-27 20:13:08 -08:00
test_email_change.py email: Support delivery email in email change system. 2018-12-06 17:43:26 -08:00
test_email_log.py emails: Don't log emails while running test suite. 2018-10-11 15:12:08 -07:00
test_email_mirror.py email_mirror: Handle case where email body is empty. 2019-01-15 11:30:15 -08:00
test_embedded_bot_system.py tests: Fix message.subject references. 2018-11-12 15:47:11 -08:00
test_event_queue.py event_queue: Avoid hardcoded paths in /var/tmp. 2019-01-15 16:12:05 -08:00
test_events.py markdown: Use silent mentions in Notification Bot messages. 2019-01-16 16:01:06 -08:00
test_external.py subject -> topic: Fix external tests. 2018-11-12 15:47:11 -08:00
test_feedback.py
test_gitter_importer.py import: Fix rendered_content in imported messages. 2018-08-09 15:12:53 -07:00
test_hipchat_importer.py hipchat: Limit messages in slim mode. 2018-11-26 16:37:30 -08:00
test_home.py compose: Add support for using Zoom as the video chat provider. 2019-01-07 10:00:02 -08:00
test_hotspots.py hotspots: Add ALWAYS_SEND_ALL_HOTSPOTS in dev_settings. 2018-03-19 10:39:43 -07:00
test_i18n.py emails: Update text for confirm_new_email. 2019-01-04 14:32:21 -08:00
test_import_export.py billing: Always transition to Realm.LIMITED via do_change_plan_type. 2018-12-13 13:26:24 -08:00
test_json_encoder_for_html.py
test_legacy_subject.py Add alias support to REQ helpers for subject/topic. 2018-11-12 15:47:11 -08:00
test_link_embed.py preview: Hash cache keys for preview urls. 2018-10-14 09:28:57 -07:00
test_logging_handlers.py logging_handlers: Fix unnecessary broken import. 2018-12-04 18:18:07 -08:00
test_management_commands.py management: Extend `sync_ldap_user_data` to allow update of a single user. 2019-01-13 18:51:50 -08:00
test_message_edit_notifications.py zerver/lib/notifications: Add stream email notifications. 2018-07-14 12:19:33 +05:30
test_messages.py reminders: Make reminders setup work only for Streams. 2019-01-14 12:23:48 -08:00
test_middleware.py docs: Automatically construct OpenAPI metadata for help center. 2018-12-19 10:18:20 -08:00
test_migrations.py migration_tests: Document the migration test framework. 2018-05-21 09:59:55 -07:00
test_muting.py Accept stream_id for muting endpoints. 2018-12-27 20:26:30 -08:00
test_narrow.py subject -> topic: Fix narrow tests. 2018-11-14 23:24:06 -08:00
test_new_users.py markdown: Use silent mentions in Notification Bot messages. 2019-01-16 16:01:06 -08:00
test_notifications.py emoji: Make unicode/span emojis more accessible. 2019-01-16 09:07:19 -08:00
test_onboarding.py create_realm_internal_bots: Refactor to extract main op as a function. 2018-05-23 11:53:22 +05:30
test_openapi.py api docs: Load the OpenAPI file only when needed. 2018-08-08 09:00:28 -07:00
test_outgoing_webhook_interfaces.py subject -> topic: Fix webhook system tests. 2018-11-12 15:47:11 -08:00
test_outgoing_webhook_system.py outgoing webhooks: Set a Zulip-specific user-agent. 2019-01-09 10:45:46 -08:00
test_presence.py billing: Do subscription management in-house instead of with Stripe Billing. 2018-12-22 13:39:30 -08:00
test_push_notifications.py notifications: Optimize push notifications code path in tests. 2018-12-15 11:12:43 -08:00
test_queue.py requirements: Upgrade pyflakes to 2.0.0. 2018-05-24 11:31:36 -07:00
test_queue_worker.py send_email: Add support for multiple recipients. 2018-12-03 15:12:11 -08:00
test_reactions.py reactions: Allow using emoji_name for removing reactions. 2018-07-11 19:41:43 +05:30
test_realm.py compose: Add support for using Zoom as the video chat provider. 2019-01-07 10:00:02 -08:00
test_realm_domains.py models: Rename Realm.restricted_to_domain field. 2018-07-31 09:28:33 -07:00
test_realm_emoji.py emoji: Make uploading new realm emoji inaccessible for guest users. 2018-06-16 06:33:14 -07:00
test_realm_filters.py docs: Advertise arbitrary org GitHub patterns for linkifiers. 2018-12-17 12:58:52 -08:00
test_report.py report: Allow error-reporting views from unauthed users. 2018-12-16 15:44:48 -08:00
test_retention.py tests: Fix flaky test by using sets, not lists. 2018-10-25 13:47:37 -05:00
test_service_bot_system.py bot_lib: Raise exception when PM recipient list is empty. 2019-01-08 16:19:20 -08:00
test_sessions.py Avoid double redirects to /login and then to /login/. 2018-12-04 16:12:58 -08:00
test_settings.py settings: Fix flushing of API key cache. 2019-01-04 17:26:10 -08:00
test_signup.py tests: Fix tests broken in previous commit and add some new ones. 2019-01-16 09:45:51 -08:00
test_slack_importer.py slack import: Import long-inactive users as long-term idle. 2018-12-16 18:52:20 -08:00
test_slack_message_conversion.py import: Add slack import files in zerver/data_import directory. 2018-08-01 11:52:14 -07:00
test_soft_deactivation.py populate_db: Add new user of "guest" type. 2018-04-20 16:20:00 -07:00
test_subdomains.py
test_submessage.py events: Pass a realm object into send_event. 2018-11-02 16:47:39 -07:00
test_subs.py markdown: Use silent mentions in Notification Bot messages. 2019-01-16 16:01:06 -08:00
test_templates.py bugdown: Trigger test failure for invalid Markdown include statements. 2018-12-27 20:13:08 -08:00
test_thumbnail.py thumbnails: Fix bug with use of filters in thumbnail generation. 2019-01-04 19:06:01 +05:30
test_timestamp.py
test_tornado.py subject -> topic: Fix tornado tests. 2018-11-12 15:47:11 -08:00
test_tutorial.py
test_type_debug.py mypy: Remove some now-unnecessary type: ignores. 2018-03-28 10:39:05 -07:00
test_typing.py backend: Support user IDs for sending typing notifications. 2019-01-08 19:08:49 -03:30
test_unread.py notifications: Optimize push notifications code path in tests. 2018-12-15 11:12:43 -08:00
test_upload.py uploads: Return a HTTP 400 error for a decompression bomb attack. 2019-01-13 08:17:24 +00:00
test_urls.py docs: Fix 500s with super long fake /help/ article URLs. 2018-12-03 14:43:45 -08:00
test_user_groups.py subject -> topic: Fix user group tests. 2018-11-12 15:47:11 -08:00
test_user_status.py status: Add endpoint to toggle "away" status. 2019-01-02 09:16:30 -08:00
test_users.py custom profile fields: Fix error handling for admin clearing values. 2019-01-15 15:29:02 -08:00
test_webhooks_common.py webhooks: Fix HttpResponse with notify_bot_owner_on_invalid_json. 2018-12-05 15:17:31 -08:00
test_widgets.py subject -> topic: Fix widget tests. 2018-11-12 15:47:11 -08:00
test_zcommand.py zcommand: Raise error when command doesn't begin with a slash. 2018-07-01 20:32:36 -04:00
test_zephyr.py users: Get all API keys via wrapper method. 2018-08-08 16:35:17 -07:00
tests.py