zulip/zerver/views
Tim Abbott bc38870136 preview: Fix adding links in message editing.
When you edit a message to contain links, and URL previews are
enabled, previously we'd throw an exception, because the realm ID
wasn't included in the event.

Also adds a test so that we can have effective test coverage on this
codepath, though this history is actually that I found the bug through
writing this test :).
2017-03-01 10:38:47 -08:00
..
__init__.py views: Rename __init__.py to zerver.views.registration. 2017-01-08 16:21:15 -08:00
alert_words.py alert_words: Avoid redundant .lstrip(). 2017-02-28 10:13:03 -08:00
attachments.py Add support for managing and deleting attachments. 2017-02-16 23:44:44 -08:00
auth.py server-version: Add server version to api endpoints. 2017-02-28 14:22:01 -08:00
compatibility.py mobile: Add an endpoint for checking compatibility. 2017-02-03 09:55:34 -08:00
events_register.py events_register: Don't include subscribers in API data by default. 2017-02-20 11:07:09 -08:00
home.py page_params: Reorganize page_params dict with plans. 2017-02-28 14:58:54 -08:00
integrations.py test-backend: Raise zerver/views/integrations.py test coverage to 100%. 2017-02-28 09:31:06 -08:00
invite.py Add customizable invite-new-user text. 2017-02-21 22:35:01 -08:00
messages.py preview: Fix adding links in message editing. 2017-03-01 10:38:47 -08:00
muting.py lint: clean up PEP-8 W391 rule. 2017-01-23 20:39:02 -08:00
pointer.py mypy: Convert zerver/views to use typing.Text. 2016-12-26 13:43:09 -08:00
presence.py presence: Fix mypy errors in new feature. 2017-02-10 23:57:28 -08:00
push_notifications.py Change now() to timezone.now() throughout codebase. 2017-02-28 16:03:37 -08:00
reactions.py emoji: Extract zerver.lib.emoji. 2017-01-16 23:45:28 -08:00
realm.py auth methods: Fix buggy check for changes. 2017-01-22 17:12:58 -08:00
realm_aliases.py Add RealmAlias.allow_subdomains to model, frontend, and API. 2017-02-08 22:03:27 -08:00
realm_emoji.py mypy: Fix several Optional typing errors. 2017-02-10 23:53:44 -08:00
realm_filters.py Change domain to realm_id in bugdown and realm filter dicts and caches. 2017-01-03 16:25:20 -08:00
realm_icon.py realm-icon: Add realm icon feature. 2017-02-26 12:16:07 -08:00
registration.py decorator: Add logging data to zulip_login_required. 2017-02-20 21:15:44 -08:00
report.py report: Use DEVELOPMENT instead of DEBUG setting. 2017-02-28 21:44:41 -08:00
streams.py mypy: Clean up more optional types. 2017-02-10 23:53:44 -08:00
tutorial.py internal_send_message: Make realm argument mandatory. 2017-01-21 21:37:30 -08:00
typing.py mypy: Convert zerver/views to use typing.Text. 2016-12-26 13:43:09 -08:00
unsubscribe.py lint: Clean up E123 PEP-8 rule. 2017-01-23 21:34:26 -08:00
upload.py decorator: Add logging data to zulip_login_required. 2017-02-20 21:15:44 -08:00
user_settings.py change-email: Implement confirmation flow. 2017-02-23 03:15:17 -08:00
users.py Add support for getting medium size profile images. 2017-03-01 09:57:30 -08:00
zephyr.py test-backend: Raise zerver/views/zephyr.py test coverage to 100%. 2017-02-26 20:54:25 -08:00