category whitelist for replying to posts, lots of refactoring, too

This commit is contained in:
Julian Lam
2013-11-27 11:27:20 -05:00
parent 182659d0e1
commit 5ee5c8179a
11 changed files with 249 additions and 232 deletions

View File

@@ -55,15 +55,6 @@ var DebugRoute = function(app) {
});
});
app.get('/prune', function(req, res) {
var Notifications = require('../notifications');
Notifications.prune(new Date(), function() {
console.log('done');
});
res.send();
});
app.get('/uuidtest', function(req, res) {
var Utils = require('../../public/src/utils.js');