<commit_before>'use strict';
var express = require('express');
var mongoose = require('mongoose');
var async = require('async');
var util = require('util');
var domain = require('domain');
var auth = require("connect-auth");
var formage_admin = require('formage-admin');
formage_admin.forms.loadTypes(mongoose);

var logout_handler = require("connect-auth/lib/events").redirectOnLogout("/");
var utils = require('./utils');
var models = require('./models');
var account = require('./deliver/routes/account');
var fb_bot_middleware = require('./deliver/routes/fb_bot/middleware');



// ########### Static parameters ###########
var IS_ADMIN = ~process.env['NODE_ENV'].indexOf('admin');
var DB_URL = process.env['MONGOLAB_URI'] || 'mongodb://localhost/uru';
var ROOT_PATH = process.env.ROOT_PATH || 'http://dev.empeeric.com';
var IS_PROCESS_CRON = (process.argv[2] === 'cron');
var IS_PROCESS_WEB = !IS_PROCESS_CRON;
var s3_creds = {
    key: '<KEY>',
    secret: '<KEY>',
    bucket: 'uru'
};
var fb_auth_params = {
    appId: process.env['FACEBOOK_APPID'] || '175023072601087',
    appSecret: process.env['FACEBOOK_SECRET'] || '5ef7a37e8a09eca5ee54f6ae56aa003f',
    appName: process.env['FACEBOOK_APPNAME'] || 'uru_dev',
    callback: ROOT_PATH + '/account/facebooklogin',
    scope: 'email,publish_actions',
    failedUri: '/noauth'
};
var auth_middleware = auth({
    strategies: [
        account.SimpleAuthentication(),
        account.FbServerAuthentication(),
        auth.Facebook(fb_auth_params)
    ],<commit_msg>env wont fail app.js<commit_after>'use strict';
var express = require('express');
var mongoose = require('mongoose');
var async = require('async');
var util = require('util');
var domain = require('domain');
var auth = require("connect-auth");
var formage_admin = require('formage-admin');
formage_admin.forms.loadTypes(mongoose);

var logout_handler = require("connect-auth/lib/events").redirectOnLogout("/");
var utils = require('./utils');
var models = require('./models');
var account = require('./deliver/routes/account');
var fb_bot_middleware = require('./deliver/routes/fb_bot/middleware');



// ########### Static parameters ###########
var IS_ADMIN = (~process.env['NODE_ENV'] || '').indexOf('admin');
var DB_URL = process.env['MONGOLAB_URI'] || 'mongodb://localhost/uru';
var ROOT_PATH = process.env.ROOT_PATH || 'http://dev.empeeric.com';
var IS_PROCESS_CRON = (process.argv[2] === 'cron');
var IS_PROCESS_WEB = !IS_PROCESS_CRON;
var s3_creds = {
    key: '<KEY>',
    secret: '<KEY>',
    bucket: 'uru'
};
var fb_auth_params = {
    appId: process.env['FACEBOOK_APPID'] || '175023072601087',
    appSecret: process.env['FACEBOOK_SECRET'] || '5ef7a37e8a09eca5ee54f6ae56aa003f',
    appName: process.env['FACEBOOK_APPNAME'] || 'uru_dev',
    callback: ROOT_PATH + '/account/facebooklogin',
    scope: 'email,publish_actions',
    failedUri: '/noauth'
};
var auth_middleware = auth({
    strategies: [
        account.SimpleAuthentication(),
        account.FbServerAuthentication(),
        auth.Facebook(fb_auth_params)
    ],
{'fraction_non_alphanumeric': 0.1831537708129285, 'fraction_numerical': 0.021547502448579822, 'mean_word_length': 5.164989939637827, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6209262', 'n_tokens_mistral': 1053, 'n_tokens_neox': 1031, 'n_words': 188}