zulip/zerver/views
sahil839 c8849f8fe3 logo: Compute realm-logo url in frontend only.
This commit fixes the bug of always showing
day-mode realm logo when color scheme display
setting is set to automatic but the OS setting
is dark theme. This is because we cannot check
the OS setting on backend and we need to set
the logo url accordingly in frontend only.
So, we remove the logo url computation from
backend completely and instead compute it in
the frontend only.

Fixes #18778.
2021-06-29 13:42:44 -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 logo: Compute realm-logo url in frontend only. 2021-06-29 13:42:44 -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 widgets: Validate todo data on the backend. 2021-06-29 13:40:33 -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