zulip/zerver/views
MariaGkoulta b10f156250 settings: Add automatic theme detection feature.
With this implementation of the feature of the automatic theme
detection, we make the following changes in the backend, frontend and
documentation.

This replaces the previous night_mode boolean with an enum, with the
default value being to use the prefers-color-scheme feature of the
operating system to determine which theme to use.

Fixes: #14451.

Co-authored-by: @kPerikou <44238834+kPerikou@users.noreply.github.com>
2020-06-21 01:09:01 -07:00
..
development python: Convert more percent formatting to Python 3.6 f-strings. 2020-06-14 23:27:22 -07:00
__init__.py views: Rename __init__.py to zerver.views.registration. 2017-01-08 16:21:15 -08:00
alert_words.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
archive.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
attachments.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
auth.py CVE-2020-14215: Fix validation in PreregistrationUser queries. 2020-06-16 23:35:39 -07:00
camo.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
compatibility.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
custom_profile_fields.py request: Improve validator type so mypy can check it against REQ. 2020-06-20 22:29:15 -07:00
digest.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
documentation.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
email_mirror.py email-mirror-postfix: Handle 8-bit messages correctly. 2020-06-14 20:24:06 -07:00
events_register.py events_register_backend: Validate client_capabilities type correctly. 2020-06-20 22:29:15 -07:00
home.py settings: Add automatic theme detection feature. 2020-06-21 01:09:01 -07:00
hotspots.py python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
invite.py invite: Add option to invite user as an organization owner. 2020-06-20 23:04:59 -07:00
messages.py request: Improve validator type so mypy can check it against REQ. 2020-06-20 22:29:15 -07:00
muting.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
pointer.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
portico.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
presence.py python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
push_notifications.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
reactions.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
realm.py mypy: Fix authentication_methods. 2020-06-20 17:09:15 -07:00
realm_domains.py python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
realm_emoji.py python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
realm_export.py python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
realm_filters.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
realm_icon.py python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
realm_logo.py python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
registration.py confirmation: Pass realm rather than host to confirmation_url. 2020-06-14 23:27:22 -07:00
report.py python: Manually convert more percent-formatting to f-strings. 2020-06-14 23:27:22 -07:00
storage.py update_storage: Validate storage type correctly. 2020-06-20 22:29:15 -07:00
streams.py request: Improve validator type so mypy can check it against REQ. 2020-06-20 22:29:15 -07:00
submessage.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
thumbnail.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
tutorial.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
typing.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
unsubscribe.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
upload.py python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
user_groups.py python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
user_settings.py settings: Add automatic theme detection feature. 2020-06-21 01:09:01 -07:00
users.py update_user_backend: Validate profile_data type correctly. 2020-06-20 22:29:15 -07:00
video_calls.py complete_zoom_user: Validate state type correctly. 2020-06-20 22:29:15 -07:00
zephyr.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00