Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings: Remove vestigial twitter settings.

Alex Vandiver8c88221754ab
diff --git a/zproject/computed_settings.py b/zproject/computed_settings.py
index da472864b42..7eece9162e7 100644
--- a/zproject/computed_settings.py
+++ b/zproject/computed_settings.py
@@ -533,14 +533,6 @@ DROPBOX_APP_KEY = get_secret("dropbox_app_key")
BIG_BLUE_BUTTON_SECRET = get_secret("big_blue_button_secret")
-# Twitter API credentials
-# Secrecy not required because its only used for R/O requests.
-# Please don't make us go over our rate limit.
-TWITTER_CONSUMER_KEY = get_secret("twitter_consumer_key")
-TWITTER_CONSUMER_SECRET = get_secret("twitter_consumer_secret")
-TWITTER_ACCESS_TOKEN_KEY = get_secret("twitter_access_token_key")
-TWITTER_ACCESS_TOKEN_SECRET = get_secret("twitter_access_token_secret")
-
# These are the bots that Zulip sends automated messages as.
INTERNAL_BOTS = [
{
diff --git a/zproject/prod_settings_template.py b/zproject/prod_settings_template.py
index 5b397cf2834..d0a776c99e8 100644
--- a/zproject/prod_settings_template.py
+++ b/zproject/prod_settings_template.py
@@ -676,21 +676,6 @@ SOCIAL_AUTH_SAML_SUPPORT_CONTACT = {
## can also be disabled in a realm's organization settings.
# INLINE_URL_EMBED_PREVIEW = True
-########
-## Twitter previews.
-##
-## Zulip supports showing inline Tweet previews when a tweet is linked
-## to in a message. To support this, Zulip must have access to the
-## Twitter API via OAuth. To obtain the various access tokens needed
-## below, you must register a new application under your Twitter
-## account by doing the following:
-##
-## 1. Log in to http://dev.twitter.com.
-## 2. In the menu under your username, click My Applications. From this page, create a new application.
-## 3. Click on the application you created and click "create my access token".
-## 4. Fill in the values for twitter_consumer_key, twitter_consumer_secret, twitter_access_token_key,
-## and twitter_access_token_secret in /etc/zulip/zulip-secrets.conf.
-
################
## Logging and error reporting.