zulip/zerver/views
PIG208 75cea329b4 markdown: Refactor out additional properties added to Message.
This adds a new class called MessageRenderingResult to contain the
additional properties we added to the Message object (like alert_words)
as well as the rendered content to ensure typesafe reference. No
behavioral change is made except changes in typing.

This is a preparatory change for adding django-stubs to the backend.

Related: #18777
2021-06-24 18:14:53 -07:00
..
development docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
__init__.py
alert_words.py request: Rename validator parameter of REQ to json_validator. 2021-04-07 14:13:06 -07:00
archive.py archive: Use access_web_public_stream helper. 2021-04-14 12:37:34 -07:00
attachments.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
auth.py billing: Create is_free_trial_offer_enabled function. 2021-06-14 16:49:53 -07:00
compatibility.py compatibility: Shift functions to new module. 2021-06-05 07:33:25 -07:00
custom_profile_fields.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
digest.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
documentation.py api docs: Replace most markdown files with a common template. 2021-06-24 10:42:08 -07:00
drafts.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
email_mirror.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
events_register.py mypy: Don’t use Iterable for values iterated multiple times. 2021-04-29 16:06:17 -07:00
home.py gear_menu: Extract the gear menu as a handlebars template. 2021-06-15 12:17:45 -07:00
hotspots.py api: Fix encoding of strings in hotspot endpoint. 2021-05-07 11:45:25 -07:00
invite.py invites: Allow user to be invited as a moderator. 2021-04-30 15:57:09 -07:00
message_edit.py message delete: Select Message FOR UPDATE when archiving. 2021-06-04 08:18:17 -07:00
message_fetch.py web_public_view: Replace `web_public_visitor` with `spectator`. 2021-06-16 07:46:34 -07:00
message_flags.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
message_send.py markdown: Refactor out additional properties added to Message. 2021-06-24 18:14:53 -07:00
muting.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
portico.py plans_page: Fix broken redirection to /accounts/login/. 2021-06-15 16:49:01 -07:00
presence.py docs: Correct “webapp” to “web app”. 2021-05-14 13:15:38 -07:00
push_notifications.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
reactions.py reactions: Select Message FOR UPDATE when adding/removing. 2021-06-04 08:18:17 -07:00
realm.py models: Replace allow_community_topic_editing with edit_topic_policy. 2021-06-16 14:59:36 -07:00
realm_domains.py api: Fix encoding of strings in realm domain endpoint. 2021-05-07 14:06:54 -07:00
realm_emoji.py settings: Rename MAX_EMOJI_FILE_SIZE. 2021-06-02 13:55:15 -07:00
realm_export.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
realm_icon.py settings: Rename MAX_ICON_FILE_SIZE. 2021-06-02 13:55:15 -07:00
realm_linkifiers.py linkifiers: Add an API to support the editing of linkifier. 2021-04-19 18:01:45 -07:00
realm_logo.py settings: Rename MAX_LOGO_FILE_SIZE. 2021-06-02 13:55:15 -07:00
realm_playgrounds.py docs: Capitalize “Markdown” consistently. 2021-04-26 09:31:08 -07:00
registration.py billing: Enforce license limit for plans on manual license management. 2021-06-09 17:42:38 -07:00
report.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
storage.py storage: Fix get_storage and remove_storage with empty keys list. 2021-04-13 08:53:03 -07:00
streams.py message delete: Select Message FOR UPDATE when archiving. 2021-06-04 08:18:17 -07:00
submessage.py poll widget: Add server validation. 2021-06-14 17:46:16 -07:00
thumbnail.py requirements: Remove Thumbor. 2021-05-06 20:07:32 -07:00
tutorial.py api: Fix encoding of strings in tutorial endpoint. 2021-05-07 14:06:54 -07:00
typing.py typing: Support sending stream/topic typing status. 2021-04-27 20:52:21 -07:00
unsubscribe.py unsubscribe: Configure as csrf_exempt. 2021-04-28 15:33:32 -07:00
upload.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
user_groups.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
user_settings.py settings: Rename MAX_AVATAR_FILE_SIZE. 2021-06-02 13:55:15 -07:00
users.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
video_calls.py api: Fix encoding of strings in video calls endpoint. 2021-05-07 14:11:48 -07:00
zephyr.py docs: Add missing space to compound verbs “log in”, “set up”, etc. 2021-04-26 09:31:08 -07:00