From 2a9c33b9f8b363ee5abfba069989690c3e723168 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 25 Apr 2013 16:27:22 -0400 Subject: [PATCH] user activity counter (bug present where all users register as same session? this isn't good....) --- public/src/templates.js | 1 - public/templates/footer.tpl | 9 ++++++++- src/redis.js | 10 ++++++++-- src/user.js | 39 +++++++++++++++++++++++++++++++++++++ src/webserver.js | 3 +++ src/websockets.js | 4 ++++ 6 files changed, 62 insertions(+), 4 deletions(-) diff --git a/public/src/templates.js b/public/src/templates.js index c43c30f1ac..29e3850d33 100644 --- a/public/src/templates.js +++ b/public/src/templates.js @@ -28,7 +28,6 @@ var templates = {}; loadTemplates([ 'header', 'footer', 'register', 'home', 'login', 'reset', 'reset_code', 'account_settings', - 'logout', 'emails/reset', 'emails/reset_plaintext' ]); } diff --git a/public/templates/footer.tpl b/public/templates/footer.tpl index 472f5db1e0..6f76fc8673 100644 --- a/public/templates/footer.tpl +++ b/public/templates/footer.tpl @@ -4,6 +4,7 @@