zulip/zerver/tests
Marco Burstein bdb86f1b5e emoji: Add support for translating emoticons.
Add `translate_emoticons` to `prop_types` and `expected_keys`.
Furthermore, create a emoji-translating Markdown inline pattern.

Also use a JavaScript version of `translate_emoticons` and then use
this function during Markdown previews and as a preprocessor. This
is only needed for previews, because usually emoticon translation
happens on the backend after sending.

Add tests for emoticon translation, a settings UI, and a /help/ page
as well.

Tweaked by tabbott to fix various test failurse as well as how this
handles whitespace, requiring emoticons to not have adjacent
characters.

Fixes #1768.
2018-03-04 15:37:24 -08:00
..
images uploads: Convert CMYK to RGB when saving avatar/realm icon as png. 2018-03-02 12:57:22 -08:00
__init__.py
test_alert_words.py zerver/tests: Use python 3 syntax for typing in most files. 2017-11-16 21:52:01 -08:00
test_attachments.py lint: Prevent `self: Any` annotations. 2017-12-08 19:00:18 -08:00
test_audit_log.py zerver/tests: Use python 3 syntax for typing in most files. 2017-11-16 21:52:01 -08:00
test_auth_backends.py django-2.0: Don't assign directly to Many-to-Many field. 2018-03-01 08:49:35 -08:00
test_bots.py backend: Add bot config data patching. 2018-03-01 08:25:43 -08:00
test_bugdown.py emoji: Add support for translating emoticons. 2018-03-04 15:37:24 -08:00
test_compatibility.py zerver/tests: Use python 3 syntax for typing in most files. 2017-11-16 21:52:01 -08:00
test_custom_profile_data.py zerver/tests: Use python 3 syntax for typing in most files. 2017-11-16 21:52:01 -08:00
test_decorators.py webhooks/github: Log payloads that aren't handled properly. 2018-03-03 15:30:36 -08:00
test_docs.py auth: Redirect to an error page instead of 500. 2018-02-20 22:34:53 -08:00
test_email_change.py settings: Allow admin to change email/name even if it is disabled in realm. 2018-03-02 12:17:00 -08:00
test_email_log.py zerver/tests: Use python 3 syntax for typing. 2017-11-18 15:35:57 -08:00
test_email_mirror.py Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
test_embedded_bot_system.py embedded bots: Test that BotHandler.initialize is called. 2018-02-28 12:31:38 -08:00
test_event_queue.py zerver/tests: Use python 3 syntax for typing in most files. 2017-11-16 21:52:01 -08:00
test_events.py streams: send data for recent streams traffic to frontend. 2018-03-04 13:24:53 -08:00
test_export.py zerver/tests: Use python 3 syntax for typing in most files. 2017-11-16 21:52:01 -08:00
test_external.py tests: Replace api_auth usages with auth methods in zerver/tests. 2017-12-18 09:24:09 -05:00
test_feedback.py Add basic test for FeedbackBot. 2018-03-04 13:31:33 -08:00
test_home.py emoji: Add support for translating emoticons. 2018-03-04 15:37:24 -08:00
test_hotspots.py zerver/tests: Use python 3 syntax for typing in most files. 2017-11-16 21:52:01 -08:00
test_i18n.py Renamed 'Register' to 'Sign up' including translations 2017-12-18 10:02:15 -05:00
test_json_encoder_for_html.py zerver: Remove simplejson dependency. 2017-11-21 21:51:48 -08:00
test_link_embed.py python: Wrap long def lines in test files. 2017-11-16 22:00:53 -08:00
test_logging_handlers.py errors tests: Deduplicate and isolate the magical part. 2017-12-22 11:52:13 -05:00
test_management_commands.py urls: Use /new endpoint for creating new realm. 2018-02-28 13:47:54 -08:00
test_message_edit_notifications.py python: Wrap long def lines in test files. 2017-11-16 22:00:53 -08:00
test_messages.py refactor: Move topic name checks to Addressee class. 2018-01-25 06:21:01 -05:00
test_middleware.py zerver/tests: Use python 3 syntax for typing. 2017-11-18 15:35:57 -08:00
test_muting.py tests: Replace api_auth usages with auth methods in zerver/tests. 2017-12-18 09:24:09 -05:00
test_narrow.py requirements: Update sqlalchemy to 1.2.4. 2018-02-26 21:32:27 -08:00
test_new_users.py models: Replace core team with Realm.INITIAL_PRIVATE_STREAM_NAME. 2017-11-21 17:39:51 -08:00
test_notifications.py Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
test_outgoing_webhook_interfaces.py zerver/tests: Use python 3 syntax for typing in most files. 2017-11-16 21:52:01 -08:00
test_outgoing_webhook_system.py Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
test_presence.py tests: Replace api_auth usages with auth methods in zerver/tests. 2017-12-18 09:24:09 -05:00
test_push_notifications.py push notifs: For group PMs, identify the users in the group. 2018-02-16 16:06:03 -08:00
test_queue_worker.py Add tests for SignupWorker error handling. 2018-02-28 12:31:38 -08:00
test_reactions.py tests: Replace api_auth usages with auth methods in zerver/tests. 2017-12-18 09:24:09 -05:00
test_realm.py settings: Allow admin to change email/name even if it is disabled in realm. 2018-03-02 12:17:00 -08:00
test_realm_domains.py tests: Pass a realm option to login for non-zulip realms. 2017-11-17 15:32:42 -08:00
test_realm_emoji.py zerver/tests: Use python 3 syntax for typing. 2017-11-08 12:50:27 -08:00
test_realm_filters.py zerver/tests: Use python 3 syntax for typing. 2017-11-08 12:50:27 -08:00
test_report.py zerver/tests: Use python 3 syntax for typing. 2017-11-08 12:50:27 -08:00
test_retention.py Eliminate get_user_profile_by_email from test_classes. 2017-11-26 15:47:56 -08:00
test_service_bot_system.py backend: Call real endpoint in create_test_bot(). 2018-02-09 12:30:24 -08:00
test_sessions.py tests: Pass a realm option to login for non-zulip realms. 2017-11-17 15:32:42 -08:00
test_settings.py settings: Change error for "no data" to something more friendly. 2018-01-23 14:38:59 -05:00
test_signup.py streams: send data for recent streams traffic to frontend. 2018-03-04 13:24:53 -08:00
test_slack_importer.py slack importer: Fetch and save the avatars. 2018-03-01 16:49:37 -08:00
test_slack_message_conversion.py slack importer: Add test for checking link in message conversion. 2018-02-05 14:46:39 -08:00
test_soft_deactivation.py zerver/tests: Use python 3 syntax for typing. 2017-11-08 12:50:27 -08:00
test_stripe.py billing: Make several small style fixes to new tests. 2018-02-12 12:46:01 -08:00
test_subdomains.py zerver/tests: Use python 3 syntax for typing (part 4). 2017-11-21 22:01:19 -08:00
test_subs.py streams: send data for recent streams traffic to frontend. 2018-03-04 13:24:53 -08:00
test_templates.py password reset: Simplify password reset form logic. 2017-11-20 10:40:33 -08:00
test_timestamp.py zerver/tests: Use python 3 syntax for typing. 2017-11-08 12:50:27 -08:00
test_tornado.py Test MessageSenderWorker with Electron as user agent. 2018-02-28 12:31:38 -08:00
test_tutorial.py zerver/tests: Use python 3 syntax for typing. 2017-11-08 12:50:27 -08:00
test_type_debug.py python: Wrap long def lines in test files. 2017-11-16 22:00:53 -08:00
test_typing.py tests: Replace api_auth usages with auth methods in zerver/tests. 2017-12-18 09:24:09 -05:00
test_unread.py api: Return anchor in get_messages when use_first_unread_anchor=True. 2018-02-16 10:06:20 -08:00
test_upload.py uploads: Convert CMYK to RGB when saving avatar/realm icon as png. 2018-03-02 12:57:22 -08:00
test_urls.py django-2.0: Shift to resolvers from urlresolvers. 2018-01-30 10:53:54 -08:00
test_user_groups.py user_groups: Fix reporting of empty user groups. 2017-11-29 16:13:55 -08:00
test_users.py models: Add ScheduledEmail.realm. 2017-12-19 17:46:36 -08:00
test_zephyr.py zerver/tests: Use python 3 syntax for typing (part 3). 2017-11-21 22:01:19 -08:00
tests.py retention-period: Add retention period to front-end admin organization settings. 2017-03-25 17:57:18 -07:00