mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
Remove mixpanel
(imported from commit 9b6cc58ee9be483db8bf2d2eaaaecabc14f821e4)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user