Merge branch 'master' of github.com:designcreateplay/NodeBB

This commit is contained in:
Julian Lam
2013-07-16 16:37:13 -04:00
3 changed files with 4 additions and 6 deletions

View File

@@ -56,8 +56,6 @@
container.insertBefore(topic, null);
$(topic).hide().fadeIn('slow');
}
ajaxify.enable();
});

View File

@@ -11,8 +11,7 @@ var async = require('async'),
'redis:host|Host IP or address of your Redis instance? (127.0.0.1)',
'redis:port|Host port of your Redis instance? (6379)',
'redis:password|Password of your Redis database? (no password)',
'secret|Your NodeBB secret? (keyboard mash for a bit here)',
'bcrypt_rounds|The number of rounds to use for bcrypt.genSalt? (10)'
'secret|Your NodeBB secret? (keyboard mash for a bit here)'
],
defaults: {
"base_url": 'http://localhost',
@@ -22,7 +21,7 @@ var async = require('async'),
"redis:port": 6379,
"redis:password": '',
"secret": utils.generateUUID(),
"bcrypt_rounds": 10,
"bcrypt_rounds": 12,
"upload_path": '/public/uploads'
},
ask: function(question, callback) {

View File

@@ -173,7 +173,8 @@ marked.setOptions({
topicData.teaser_text = teaser.text || '';
topicData.teaser_username = teaser.username || '';
topicData.teaser_timestamp = teaser.timestamp ? utils.relativeTime(teaser.timestamp) : '';
topicData.teaser_userpicture = teaser.picture;
callback(topicData);
});
}