Commit graph

39 commits

Author SHA1 Message Date
Mitchell Wulfman
6fc6b9eb78 cleanup while getting familiar with the codebase 2014-09-16 15:18:27 -04:00
Sacha Greif
e1919593e7 refactoring dates and timestamps 2014-07-03 13:15:23 +09:00
Ankur Patel
81ced52a99 Best practice to pass object than to check for optional parameter value 2014-01-25 14:11:26 -05:00
Sacha Greif
1b6072e114 fixing updateScore syntax 2013-11-12 08:23:15 +09:00
Sacha Greif
9b441c1048 make scoring client-side too for latency compensation 2013-10-29 13:30:35 +09:00
Sacha Greif
e8c726bd9c refactoring scoring.js 2013-04-26 20:05:52 +09:00
Sacha Greif
5526adc686 making updateScore global too 2013-04-05 11:59:41 +09:00
Sacha Greif
b3cdd86a5c fixed scoring typo 2013-01-14 10:53:36 +09:00
Sacha Greif
f7fff10572 calculate score based on createdAt if submitted not available (i.e. post is pending) 2013-01-13 12:34:29 +09:00
Sacha Greif
e02f748059 define updatedPosts 2013-01-11 11:17:24 +09:00
Sacha Greif
05fcbaf1bd test if either http:// or https:// is missing from URLs 2012-12-31 18:18:46 +01:00
Sacha Greif
a111f71384 show which post is being updated 2012-12-24 16:37:09 +01:00
Sacha Greif
3190d15f88 inactive posts get updated every hour 2012-12-24 16:21:56 +01:00
Sacha Greif
98c2a1f739 working on scoring algorithm optimizations 2012-12-24 10:59:13 +01:00
Sacha Greif
5718c66a2a only run scoreUpdate if score difference is large enough 2012-12-23 17:25:03 +01:00
Sacha Greif
fcc7313449 Improve sticky system by sorting posts by sticky instead of changing score 2012-12-20 17:30:54 +01:00
Sacha Greif
e1246e0d13 error if sign up form is empty 2012-12-07 09:31:38 +09:00
Sacha Greif
cc61f38d7c tweaks 2012-11-21 12:30:45 +09:00
Sacha Greif
7afaee4e80 admin now able to change user and date 2012-10-23 12:24:38 +09:00
Sacha Greif
1685afa2f5 made score update interval a settings 2012-10-22 14:00:47 +09:00
Sacha Greif
c0b3ab1d3b switch timeout back to 30s 2012-10-02 11:06:21 +09:00
Sacha Greif
eb31195174 fixed conflicts and got rid of workaround 2012-10-02 11:05:59 +09:00
Sacha Greif
93f7803140 added sticky posts 2012-10-02 10:54:04 +09:00
Sacha Greif
339970cea8 hooking up more events, hooking up comment upvotes and downvotes 2012-10-01 11:45:18 +09:00
Sacha Greif
ba88343975 preserve edit fields when re-rendering template 2012-09-29 17:48:49 +09:00
Sacha Greif
d5eef75999 scoring timeout=10s 2012-09-29 17:20:50 +09:00
Sacha Greif
13760df80b made comment edit field constant 2012-09-29 17:19:48 +09:00
Sacha Greif
75c8a86f4a refactoring vote.js 2012-09-29 13:51:55 +09:00
Matt DeBergalis
5ed9296814 Simplify plumbing for voting 2012-09-27 13:13:55 -07:00
Sacha Greif
eda774aea1 updated voting and scoring to give more "power" to admins 2012-09-26 06:51:38 +09:00
Sacha Greif
019ba53740 temporarily setting min-height on the body 2012-09-21 18:51:03 +09:00
Sacha Greif
dcdc0ffc3f extracted comment field in separate template 2012-09-21 18:43:49 +09:00
Sacha Greif
9f8dba7785 css bugfix 2012-09-21 17:57:02 +09:00
Sacha Greif
66522a539b bugfix 2012-09-21 17:49:10 +09:00
Sacha Greif
709b978fbf temporarily remove cron job 2012-09-21 10:08:11 +09:00
Tom Coleman
7361ad915b Change to updating every 10s 2012-09-20 11:15:53 +10:00
Tom Coleman
24846062e1 Added cron package, update scores every minute 2012-09-20 10:59:53 +10:00
Sacha Greif
bcf498404e added throwError method 2012-09-20 08:56:44 +09:00
Tom Coleman
85b09d702a Split voting out into something in lib/ so it runs client side too. 2012-09-18 09:24:07 +10:00
Renamed from server/vote.js (Browse further)