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

v1.18.x
Julian Lam 12 years ago
commit 8234294be8

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

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

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

Loading…
Cancel
Save