zulip/zproject
Zixuan James Li 059d0e7be8 settings: Make SHARED_SECRET mandatory.
This implements get_mandatory_secret that ensures SHARED_SECRET is
set when we hit zerver.decorator.authenticate_notify. To avoid getting
ZulipSettingsError when setting up the secrets, we set an environment
variable DISABLE_MANDATORY_SECRET_CHECK to skip the check and default
its value to an empty string.

Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2022-08-25 12:13:03 -07:00
..
jinja2 requirements: Upgrade Python requirements. 2022-07-05 17:54:17 -07:00
__init__.py
backends.py rate_limiter: Extract rate limit related functions. 2022-08-12 16:51:55 -07:00
computed_settings.py settings: Make SHARED_SECRET mandatory. 2022-08-25 12:13:03 -07:00
config.py settings: Make SHARED_SECRET mandatory. 2022-08-25 12:13:03 -07:00
configured_settings.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
default_settings.py types: Add OIDCIdPConfigDict. 2022-08-03 15:03:15 -07:00
dev_settings.py settings: Add CUSTOM_HOME_NOT_LOGGED_IN for type narrowing. 2022-07-25 14:11:32 -07:00
dev_urls.py typing: Fix function signatures with django-stubs. 2021-08-20 06:02:55 -07:00
email_backends.py email_backends: Fix type annotation of EmailLogBackEnd. 2022-07-29 14:58:11 -07:00
legacy_urls.py legacy_urls: Add type annotation to legacy_urls. 2022-08-12 17:08:04 -07:00
prod_settings.pyi zproject: Add prod_settings mypy stub, aliasing prod_settings_template. 2021-07-05 09:53:41 -07:00
prod_settings_template.py types: Add OIDCIdPConfigDict. 2022-08-03 15:03:15 -07:00
sentry.py requirements: Upgrade Python requirements. 2022-06-01 16:01:54 -07:00
settings.py python: Add noqa comments for the specific star imports we allow. 2020-06-11 15:36:43 -07:00
test_extra_settings.py settings: Extract unnecessary test specific settings. 2022-08-11 13:45:28 -07:00
test_settings.py test_settings: Use TEST_EXTERNAL_HOST to override ‘testserver’ default. 2020-12-17 13:07:59 -08:00
urls.py urls: Move URLs that don't belong on self-hosted servers to corporate URLs. 2022-08-22 15:53:43 -07:00
wsgi.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00