zulip/zerver/views
Steve Howell bfc13ecea4 submessages: Just send content for submessage events.
For some reason in my original version I was sending both
content and data to the client for submessage events,
where data === JSON.parse(content).  There's no reason
to not just let the client parse it, since the client
already does it for data that comes on the original
message, and since we might eventually have non-JSON
payloads.

The server still continues to validate that the payload
is JSON, and the client will blueslip if the server
regressses and sends bad JSON for some reason.
2018-05-30 13:53:11 -07:00
..
__init__.py views: Rename __init__.py to zerver.views.registration. 2017-01-08 16:21:15 -08:00
alert_words.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
archive.py views/archive.py: Make 'StreamDoesNotExist' return a error msg page. 2018-05-02 15:23:33 -07:00
attachments.py attachments: Send events for attachment updates. 2018-05-04 16:22:27 -07:00
auth.py 2FA: Integrate with login feature. 2018-05-23 15:46:57 -07:00
compatibility.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
custom_profile_fields.py custom fields: Add user type of custom fields. 2018-05-27 23:01:21 -07:00
email_log.py zerver: Migrate away from six. 2018-05-09 18:38:25 +00: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 views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
home.py i18n: Clean up logic for picking language in app. 2018-05-30 08:57:26 -07:00
hotspots.py views: Fix imports of REQ/has_request_variables from the wrong place. 2017-10-27 15:07:31 -07:00
integrations.py integrations: Make integration_doc endpoint work only on ajax. 2018-05-13 08:56:04 -07:00
invite.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
messages.py pgroonga: Fix issues with HTML escaping in queries. 2018-05-28 16:53:30 -07:00
muting.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
pointer.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
presence.py presence: Extract and use get_active_user helper. 2018-05-20 19:07:29 -07:00
push_notifications.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
reactions.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
realm.py org setting: Add time limits for message deleting. 2018-04-27 19:22:28 -07:00
realm_domains.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
realm_emoji.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
realm_filters.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
realm_icon.py zerver/views: Use python 3 syntax for typing. 2017-10-26 21:58:22 -07:00
registration.py auth: Improve interactions between LDAPAuthBackend and EmailAuthBackend. 2018-05-28 22:47:47 -07:00
report.py mypy: Set local_partial_types = True. 2018-05-21 22:41:00 -07:00
storage.py mypy: Migrate views/storage.py to python3.5 type annotations. 2018-03-12 11:23:30 -07:00
streams.py streams: Don't allow adding deactivated users to streams. 2018-05-20 19:17:15 -07:00
submessage.py submessages: Just send content for submessage events. 2018-05-30 13:53:11 -07:00
tutorial.py mypy: Use Python 3 syntax for typing in views/tutorial.py. 2017-12-08 18:34:26 -08:00
typing.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
unsubscribe.py requirements: Upgrade pyflakes to 2.0.0. 2018-05-24 11:31:36 -07:00
upload.py uploads: Make django-sendfile to force downloading attachments. 2018-03-14 11:22:10 -07:00
user_groups.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00
user_settings.py user_settings: Prevent LDAP users from setting a Zulip password. 2018-05-28 22:47:47 -07:00
users.py users: Replace duplication with generic func to validate bot id. 2018-05-29 15:47:27 -07:00
zephyr.py views: Change use of typing.Text to str. 2018-04-23 18:51:23 -07:00