zulip/zerver/views
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
..
__init__.py
alert_words.py mypy: Use Python 3 type syntax in zerver/views/alert_words.py. 2017-12-28 07:26:44 -05:00
attachments.py
auth.py django-2.0: Don't assign directly to Many-to-Many field. 2018-03-01 08:49:35 -08:00
compatibility.py
custom_profile_fields.py mypy: Use Python 3 type syntax in zerver/views/custom_profile_fields.py. 2017-12-26 08:34:06 -05:00
email_log.py invitations: Remove custom_body. 2017-12-11 19:23:54 -08:00
email_mirror.py mypy: Use Python 3 type syntax in zerver/views/email_mirror.py. 2017-12-28 07:26:44 -05:00
events_register.py mypy: Use Python 3 type syntax in zerver/views. 2017-12-30 07:34:05 -05:00
home.py page_params: Pass through settings.WARN_NO_EMAIL, as `warn_no_email`. 2018-02-05 16:00:33 -08:00
hotspots.py
integrations.py integrations: Make sure settings.EXTERNAL_URI_SCHEME renders. 2018-02-24 06:21:02 -05:00
invite.py invites: Only admins should be able to create multiuse invites. 2018-03-02 11:59:32 -08:00
messages.py mypy: Rewrite conditional to clarify message-sending defer_until code. 2018-02-19 09:24:28 -08:00
muting.py mypy: Use Python 3 type syntax in zerver/views. 2017-12-30 07:34:05 -05:00
pointer.py mypy: Use Python 3 type syntax in views/pointer.py. 2017-12-26 08:29:30 -05:00
presence.py mypy: Use Python 3 type syntax in zerver/views. 2017-12-30 07:34:05 -05:00
push_notifications.py mypy: Use Python 3 type syntax in zerver/views/push_notifications.py. 2017-12-28 07:26:44 -05:00
reactions.py
realm.py org-settings: Add setting to turn off welcome emails. 2018-02-28 12:39:01 -08:00
realm_domains.py
realm_emoji.py
realm_filters.py mypy: Use Python 3 type syntax in zerver/views/realm_filters.py. 2017-12-09 16:50:12 -08:00
realm_icon.py
registration.py django-2.0: Don't assign directly to Many-to-Many field. 2018-03-01 08:49:35 -08:00
report.py mypy: Use Python 3 type syntax in zerver/views. 2017-12-30 07:34:05 -05:00
storage.py mypy: Amend typing of storage parameter to update_storage to be non-Optional. 2018-02-19 09:24:50 -08:00
streams.py create stream: Before sending notificaion, check if NOTIFICATION_BOT exists. 2017-12-29 08:59:55 -05:00
tutorial.py
typing.py mypy: Use Python 3 type syntax in zerver/views/typing.py. 2017-12-18 11:32:52 -05:00
unsubscribe.py
upload.py local-uploads: Start running authentication checks on file requests. 2018-02-16 05:06:37 +05:30
user_groups.py mypy: Use Python 3 type syntax in zerver/views. 2017-12-30 07:34:05 -05:00
user_settings.py emoji: Add support for translating emoticons. 2018-03-04 15:37:24 -08:00
users.py backend: Add bot config data patching. 2018-03-01 08:25:43 -08:00
zephyr.py mypy: Use Python 3 type syntax in zerver/views. 2017-12-30 07:34:05 -05:00