
# SQLAlchemy database URI. Currently tested, PGSQL, SQLite. Many others should
# also work fine.
SQLALCHEMY_DATABASE_URI = "mydatabaseuri"

# Set to true if you want people to be able to post Tweets from the site index.
INDEX_POSTING_ENABLED = True

# Number of handles an IP address can add to the opted-out list in an hour.
OPT_OUT_HOURLY_LIMIT = 5

# Maximum number of Tweets that can be posted by a single IP address from the
# index, if enabled, each hour.
POST_TWEET_HOURLY_LIMIT = 3

# Maximum number of Tweets that can be posted by a single IP address from the API
# every hour.
API_TWEETS_HOURLY_LIMIT = 50

# The key distribution policy, you can set this to "exchange" if you want to
# allow people to exchange Twitter authorizations for API keys, "closed" if you
# want it closed, and "open" if you want anybody to be able to create an API
# key.
API_KEY_DISTRIBUTION_POLICY = "exchange"

# Twitter OAuth master key information. This should be the key information for
# your Twitter application. It is used to control the Twitter accounts used to
# post Tweets.
TWITTER_OAUTH_KEY = "mykey"
TWITTER_OAUTH_SECRET = "mysecret"

# Your contact email address.
CONTACT_EMAIL = "myemail@site.com"

# A URL to the Github page hosting Twoxy.
GITHUB_URL = "https://github.com/ableiten/twoxy"

# Set this to false to disable the API.
API_ENABLED = True

# Set this to false to disable the website.
WEBSITE_ENABLED = True

# Your server name.
SERVER_NAME = "localhost:5000"

# Used by Flask for sessions, set this to something secret.
SECRET_KEY = "ch4ng3 th1s t0 s0m3th1ng s3kr1t"

# Surpress warnings created by SQLAlchemy for deprecated modification tracking.
SQLALCHEMY_TRACK_MODIFICATIONS = False

# An account to display a feed for on the site index.
TWITTER_FEED_ACCOUNT = None
