2013-11-14 05:14:18 +01:00
|
|
|
# Settings for Zulip Enterprise
|
|
|
|
|
|
|
|
### MANDATORY SETTINGS
|
2013-10-23 23:28:03 +02:00
|
|
|
|
2013-11-14 05:25:45 +01:00
|
|
|
# The user-accessible Zulip hostname for this installation, e.g.
|
|
|
|
# zulip.example.com
|
2013-10-25 21:19:30 +02:00
|
|
|
EXTERNAL_HOST = ''
|
2013-10-17 16:33:04 +02:00
|
|
|
|
2013-11-14 05:25:45 +01:00
|
|
|
# The email address for the person or team who maintain the Zulip
|
|
|
|
# Enterprise installation.
|
2013-11-04 19:37:05 +01:00
|
|
|
ZULIP_ADMINISTRATOR = ''
|
2013-11-13 15:59:59 +01:00
|
|
|
|
2013-11-14 05:25:45 +01:00
|
|
|
# The domain for your organization, e.g. example.com
|
2013-11-10 16:12:02 +01:00
|
|
|
ADMIN_DOMAIN = ''
|
2013-11-04 19:37:05 +01:00
|
|
|
|
2013-11-14 05:25:45 +01:00
|
|
|
# These credentials are for communication with the central Zulip
|
|
|
|
# deployment manager. You should have been provided with them by
|
|
|
|
# Zulip support.
|
2013-10-17 16:33:04 +02:00
|
|
|
DEPLOYMENT_ROLE_NAME = ''
|
|
|
|
DEPLOYMENT_ROLE_KEY = ''
|
2013-10-23 23:28:03 +02:00
|
|
|
|
2013-11-13 15:59:59 +01:00
|
|
|
# Enable at least one of the following authentication backends.
|
|
|
|
AUTHENTICATION_BACKENDS = (
|
|
|
|
# 'zproject.backends.EmailAuthBackend', # Email and password
|
2013-11-13 16:45:16 +01:00
|
|
|
# 'zproject.backends.ZulipRemoteUserBackend', # Local SSO
|
2013-11-13 15:59:59 +01:00
|
|
|
# 'zproject.backends.GoogleBackend', # Google Apps
|
|
|
|
)
|
|
|
|
|
2013-11-14 05:25:45 +01:00
|
|
|
# If you are using the ZulipRemoteUserBackend authentication backend,
|
|
|
|
# set this to your domain (e.g. if REMOTE_USER is "username" and the
|
|
|
|
# corresponding email address is "username@example.com", set
|
|
|
|
# SSO_APPEND_DOMAIN = "example.com")
|
2013-11-13 15:59:59 +01:00
|
|
|
SSO_APPEND_DOMAIN = None
|
|
|
|
|
2013-10-25 21:19:30 +02:00
|
|
|
# Configure the outgoing SMTP server below. For outgoing email
|
|
|
|
# via a GMail SMTP server, EMAIL_USE_TLS must be True and the
|
|
|
|
# outgoing port must be 587. The EMAIL_HOST is prepopulated
|
2013-11-05 01:19:52 +01:00
|
|
|
# for GMail servers, change it for other hosts, or leave it unset
|
|
|
|
# or empty to skip sending email.
|
2013-10-25 21:19:30 +02:00
|
|
|
EMAIL_HOST = 'smtp.gmail.com'
|
2013-10-23 23:28:03 +02:00
|
|
|
EMAIL_HOST_USER = ''
|
|
|
|
EMAIL_HOST_PASSWORD = ''
|
|
|
|
EMAIL_PORT = 587
|
2013-11-05 01:19:52 +01:00
|
|
|
EMAIL_USE_TLS = True
|
2013-10-23 23:28:03 +02:00
|
|
|
|
2013-11-14 05:25:45 +01:00
|
|
|
### OPTIONAL SETTINGS
|
2013-11-14 05:14:18 +01:00
|
|
|
|
2013-11-14 05:25:45 +01:00
|
|
|
# Controls whether session cookies expire when the browser closes
|
2013-11-14 05:14:18 +01:00
|
|
|
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
|
|
|
|
|
|
|
|
# Session cookie expiry in seconds after the last page load
|
2013-11-14 05:25:45 +01:00
|
|
|
SESSION_COOKIE_AGE = 60 * 60 * 24 * 7 * 2 # 2 weeks
|
2013-11-14 05:14:18 +01:00
|
|
|
|
2013-11-14 05:25:45 +01:00
|
|
|
# Controls whether or not there is a feedback button in the UI, which
|
|
|
|
# can be used to send feedback directly to the Zulip developers.
|
2013-11-13 16:59:03 +01:00
|
|
|
ENABLE_FEEDBACK = True
|
|
|
|
|
2013-11-14 05:25:45 +01:00
|
|
|
# Controls whether or not error reports are sent to Zulip. Error
|
|
|
|
# reports are used to improve the quality of the product and do not
|
|
|
|
# include message contents; please contact Zulip support with any
|
|
|
|
# questions.
|
2013-11-13 21:35:04 +01:00
|
|
|
ERROR_REPORTING = True
|
|
|
|
|
2013-11-14 14:37:39 +01:00
|
|
|
# Controls whether or not Zulip will provide inline image preview when
|
|
|
|
# a link to an image is referenced in a message.
|
|
|
|
INLINE_IMAGE_PREVIEW = True
|
|
|
|
|
2013-11-14 05:25:45 +01:00
|
|
|
# By default, files uploaded by users and user avatars are stored
|
|
|
|
# directly on the Zulip server. If file storage in Amazon S3 (or
|
|
|
|
# elsewhere, e.g. your corporate fileshare) is desired, please contact
|
|
|
|
# Zulip Support (support@zulip.com) for further instructions on
|
|
|
|
# setting up the appropriate integration.
|
2013-10-28 16:13:53 +01:00
|
|
|
LOCAL_UPLOADS_DIR = "/home/zulip/uploads"
|
2013-10-23 23:28:03 +02:00
|
|
|
|
2013-11-14 05:25:45 +01:00
|
|
|
### TWITTER INTEGRATION
|
|
|
|
|
|
|
|
# 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:
|
2013-10-25 21:19:30 +02:00
|
|
|
#
|
|
|
|
# 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". Fill in the requested values.
|
|
|
|
TWITTER_CONSUMER_KEY = ''
|
|
|
|
TWITTER_CONSUMER_SECRET = ''
|
|
|
|
TWITTER_ACCESS_TOKEN_KEY = ''
|
|
|
|
TWITTER_ACCESS_TOKEN_SECRET = ''
|
|
|
|
|
2013-11-14 05:25:45 +01:00
|
|
|
### EMAIL GATEWAY INTEGRATION
|
|
|
|
|
|
|
|
# The email gateway provides, for each stream, an email address that
|
|
|
|
# you can send email to in order to have the email's content be posted
|
|
|
|
# to that stream. Emails received at the per-stream email address
|
|
|
|
# will be converted into a Zulip message
|
2013-11-12 16:19:38 +01:00
|
|
|
|
|
|
|
# The email address pattern to use for auto-generated stream emails
|
|
|
|
# The %s will be replaced with a unique token, and the resulting email
|
2013-11-14 05:25:45 +01:00
|
|
|
# must be delivered to the EMAIL_GATEWAY_IMAP_FOLDER of the
|
|
|
|
# EMAIL_GATEWAY_LOGIN account below.
|
|
|
|
#
|
|
|
|
# Example: zulip+%s@example.com
|
2013-11-12 16:19:38 +01:00
|
|
|
EMAIL_GATEWAY_PATTERN = ""
|
|
|
|
|
2013-11-14 05:25:45 +01:00
|
|
|
# The Zulip username of the bot that the email pattern should post as.
|
|
|
|
# Example: emailgateway@example.com
|
2013-11-12 16:19:38 +01:00
|
|
|
EMAIL_GATEWAY_BOT = ""
|
|
|
|
|
|
|
|
# Configuration of the email mirror mailbox
|
|
|
|
# The IMAP login and password
|
|
|
|
EMAIL_GATEWAY_LOGIN = ""
|
|
|
|
EMAIL_GATEWAY_PASSWORD = ""
|
|
|
|
# The IMAP server & port to connect to
|
|
|
|
EMAIL_GATEWAY_IMAP_SERVER = ""
|
|
|
|
EMAIL_GATEWAY_IMAP_PORT = 993
|
|
|
|
# The IMAP folder name to check for emails. All emails sent to EMAIL_GATEWAY_PATTERN above
|
|
|
|
# must be delivered to this folder
|
|
|
|
EMAIL_GATEWAY_IMAP_FOLDER = "INBOX"
|
|
|
|
|
2013-11-14 05:25:45 +01:00
|
|
|
# The following secrets are randomly generated during the install
|
|
|
|
# process, are used for security purposes, and should not be shared
|
|
|
|
# with anyone.
|
|
|
|
#
|
|
|
|
# PLEASE DO NOT CHANGE THEM WITHOUT INSTRUCTIONS FROM ZULIP SUPPORT
|
2013-10-25 21:19:30 +02:00
|
|
|
CAMO_KEY = ''
|
|
|
|
SECRET_KEY = ''
|
|
|
|
HASH_SALT = ''
|
|
|
|
RABBITMQ_PASSWORD = ''
|
|
|
|
AVATAR_SALT = ''
|
|
|
|
SHARED_SECRET = ''
|