SampleApp::Application.configure do
  # Settings specified here will take precedence over those in config/application.rb

  # Code is not reloaded between requests
  config.cache_classes = true

  # Full error reports are disabled and caching is turned on
  config.consider_all_requests_local       = false
  config.action_controller.perform_caching = true

  # Disable Rails's static asset server (Apache or nginx will already do this)
  config.serve_static_files = true # in true production we use false, but in 'fake production mode locally', this is useful

  config.eager_load = true

  # Compress JavaScripts and CSS
  config.assets.compress = false # this seems like a bad idea in early development phases

  # Don't fallback to assets pipeline if a precompiled asset is missed
  config.assets.compile = false

  # Generate digests for assets URLs
  config.assets.digest = true

  config.assets.initialize_on_precompile = false

  # Defaults to Rails.root.join("public/assets")
  # config.assets.manifest = YOUR_PATH

  # Specifies the header that your server uses for sending files
  # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
  # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx

  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
  config.force_ssl = false

  # See everything in the log (default is :info)
  config.log_level = :debug

  # Prepend all log lines with the following tags
  # config.log_tags = [ :subdomain, :uuid ]

  # Use a different logger for distributed setups
  # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)

  # Use a different cache store in production
  # config.cache_store = :mem_cache_store

  # Enable serving of images, stylesheets, and JavaScripts from an asset server
  # config.action_controller.asset_host = "http://assets.example.com"


  # Disable delivery errors, bad email addresses will be ignored
  # config.action_mailer.raise_delivery_errors = false

  # Enable threaded mode
  # config.threadsafe!

  # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
  # the I18n.default_locale when a translation can not be found)
  config.i18n.fallbacks = true

  # Send deprecation notices to registered listeners
  config.active_support.deprecation = :notify

  # Set the logging destination(s)
  config.log_to = %w[file]

  # Show the logging configuration on STDOUT
  config.show_log_configuration = true

  # run websocket-gateway embedded
  config.websocket_gateway_enable = false

  config.aws_bucket = 'jamkazam'
  config.aws_bucket_public = 'jamkazam-public'
  config.aws_fullhost = "#{config.aws_bucket_public}.s3.amazonaws.com"

  # Dev cloudfront hostname
  config.cloudfront_host = "d34f55ppvvtgi3.cloudfront.net"

  # filepicker app configured to use S3 bucket jamkazam
  config.filepicker_rails.api_key = "AhUoVoBZSLirP3esyCl7Zz"
  config.fp_secret = 'HZBIMSOI5VAQ5LXT4XLG6XA7IE'

  config.allow_force_native_client = false

  config.facebook_app_id       = '1412328362347190' # staging
  config.facebook_app_secret   = '8b1f20430356d44fb49c0a504a9ff401' # staging

  config.twitter_app_id        = 'RHv0NJod7NLCXH6Kv29LWw' # staging
  config.twitter_app_secret    = 'ZjLl7rtagTozYDuKKyZNtaTQ4aGFmZPVCO8EoUJmg' # staging

  config.recurly_subdomain = 'jamkazam'
  config.jam_tracks_available=false

  config.video_conferencing_host = ""
  config.use_video_conferencing_server = false
  config.latency_data_host = ""
  config.latency_data_host_auth_code = ""
end
