Commit graph

16 commits

Author SHA1 Message Date
Sacha Greif
d974d26ece using $addToSet instead of $push 2012-09-29 17:23:13 +09:00
Sacha Greif
a467225da1 refactoring vote.js and put this.isSimulation back in
Woops, turns out this.isSimulation is useful after all!

Also, I tried to simplify the code of vote.js. I especially tried to
get rid of the double inequalities, and took the voting validation code
out of the update call.
2012-09-29 14:14:57 +09:00
Sacha Greif
f25d7a619a remove this.isSimulation checks in vote.js 2012-09-29 13:54:47 +09:00
Sacha Greif
75c8a86f4a refactoring vote.js 2012-09-29 13:51:55 +09:00
Julien Chaumond
23fccbd082 Fix bad karma 2012-09-28 15:07:25 +02:00
Sacha Greif
0e16290807 removed console.log call 2012-09-28 10:09:57 +09:00
Sacha Greif
ef38173975 added karma increase/decrease back in 2012-09-28 09:57:03 +09:00
Sacha Greif
9cead70494 fixed conflicts using Matt's version over Julien's 2012-09-28 09:40:34 +09:00
Matt DeBergalis
99c780256b Whoops, correct use of upvoters and downvoters 2012-09-27 16:03:27 -07:00
Matt DeBergalis
5ed9296814 Simplify plumbing for voting 2012-09-27 13:13:55 -07:00
Julien Chaumond
a21b534469 User karma 2012-09-27 22:03:25 +02:00
Sacha Greif
eda774aea1 updated voting and scoring to give more "power" to admins 2012-09-26 06:51:38 +09:00
Sacha Greif
a47a77f04c working on admin account and permissions 2012-09-19 10:05:02 +09:00
Tom Coleman
2ccbf64edd Downvoting / cancel voting. 2012-09-18 10:04:26 +10:00
Tom Coleman
fcf8c4ae58 Added voting to comments. 2012-09-18 09:29:31 +10: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