zulip/scripts/setup
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
..
apt-repos apt-repos: Remove now-unneeded Ubuntu 21.10 repository on 22.04. 2022-05-25 17:25:23 -07:00
__init__.py setup: Add missing __init__.py. 2021-07-05 12:20:39 -07:00
compare-settings-to-template compare-settings-to-template: Handle prod_settings_template renaming. 2022-04-28 14:52:38 -07:00
configure-rabbitmq configure-rabbitmq: Remove use of sudo. 2022-04-19 12:36:31 -07:00
create-database scripts: Switch to stop-server/restart-server. 2022-03-21 16:33:28 -07:00
create-db.sql create-db: Default dbuser and dbname to zulip. 2021-05-26 17:19:11 -07:00
create-pgroonga.sql postgres-create-db: Split into non-pgroonga and pgroonga scripts. 2019-07-17 16:18:22 -07:00
flush-memcached memcached: Switch from pylibmc to python-binary-memcached. 2020-08-06 12:51:14 -07:00
generate-rabbitmq-cookie CVE-2021-43799: Set a secure Erlang cookie. 2022-01-25 02:13:53 +00:00
generate-self-signed-cert generate-self-signed-cert: Remove RANDFILE. 2022-02-25 14:49:07 -08:00
generate_secrets.py settings: Make SHARED_SECRET mandatory. 2022-08-25 12:13:03 -07:00
initialize-database scripts: Switch to stop-server/restart-server. 2022-03-21 16:33:28 -07:00
inline_email_css.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
install install: Use a period at end of root error message. 2021-06-23 08:42:46 -07:00
reindex-textual-data reindex-textual-data: Find psycopg2 in the virtualenv. 2022-01-26 11:56:30 -08:00
restore-backup restore-backup: Provide flags to leave settings.py and zulip.conf as-is. 2022-07-20 12:35:51 -07:00
setup-certbot setup-certbot: Reinstate nginx reload after installation. 2021-12-10 16:43:53 -08:00
sha256-tarball-to scripts: Use curl -f (--fail). 2021-07-13 16:47:49 -07:00
terminate-psql-sessions terminate-psql-sessions: Rely on the caller to set PGHOST, PGUSER. 2020-06-15 21:37:14 -07:00
upgrade-postgresql upgrade-postgresql: Check for extension upgrade steps. 2021-11-20 07:13:50 -08:00