Remove mixpanel

(imported from commit 9b6cc58ee9be483db8bf2d2eaaaecabc14f821e4)
This commit is contained in:
Zev Benjamin
2015-02-06 13:59:30 -08:00
parent a901677be1
commit 2c760ae735
9 changed files with 1 additions and 107 deletions

View File

@@ -90,8 +90,6 @@ if DEPLOYED and not ENTERPRISE:
S3_BUCKET="humbug-user-uploads"
S3_AUTH_UPLOADS_BUCKET = "zulip-user-uploads"
S3_AVATAR_BUCKET="humbug-user-avatars"
MIXPANEL_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
else:
S3_KEY="xxxxxxxxxxxxxxxxxxxx"
S3_SECRET_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
@@ -99,7 +97,6 @@ else:
S3_AUTH_UPLOADS_BUCKET = "zulip-user-uploads-test"
S3_AVATAR_BUCKET="humbug-user-avatars-test"
MIXPANEL_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
LOCAL_DATABASE_PASSWORD="xxxxxxxxxxxx"
# Twitter API credentials

View File

@@ -269,7 +269,6 @@ DEFAULT_SETTINGS = {'TWITTER_CONSUMER_KEY': '',
'S3_SECRET_KEY': '',
'S3_BUCKET': '',
'S3_AVATAR_BUCKET': '',
'MIXPANEL_TOKEN': '',
'MAILCHIMP_API_KEY': '',
'LOCAL_UPLOADS_DIR': None,
'DROPBOX_APP_KEY': '',
@@ -602,11 +601,6 @@ JS_SPECS = {
app_srcs = JS_SPECS['app']['source_filenames']
if MIXPANEL_TOKEN:
# Mixpanel is not used on enterprise and throws an error when the
# library is not included
app_srcs.append('js/metrics.js')
PIPELINE_JS = {} # Now handled in tools/minify-js
PIPELINE_JS_COMPRESSOR = None