Commit graph

29 commits

Author SHA1 Message Date
Sacha Greif
1253f1563e extending post item to calculate score 2013-10-29 18:02:10 +09:00
Sacha Greif
b7f4fb38e8 add _id property to post object 2013-10-29 17:54:45 +09:00
Sacha Greif
5c3aee060c reworking animations 2013-10-29 15:47:20 +09:00
Sacha Greif
3edfb38032 clean up upvoting/downvoting/scoring code 2013-10-29 15:06:50 +09:00
Sacha Greif
c97e7ea443 fixed karma 2013-10-29 13:39:28 +09:00
Sacha Greif
9b441c1048 make scoring client-side too for latency compensation 2013-10-29 13:30:35 +09:00
Peter Coles
1e2750bb28 make upvote cleanup prior downvote and vice-versa 2013-05-19 16:26:42 -04:00
Sacha Greif
59e1304c72 still cleaning up files 2013-04-13 15:10:07 +09:00
Sacha Greif
3f180f027b added rate limiting to posts and comments posting 2012-10-06 13:15:55 +09:00
Sacha Greif
1c2056d2f8 perfected permission and redirection system 2012-10-05 22:46:20 +09:00
Sacha Greif
7419ff2cb0 adding canView to permissions 2012-10-05 14:08:46 +09:00
Tom Coleman
4edc7513c5 Best to test things before pushing. 2012-10-04 12:33:15 +10:00
Tom Coleman
973b17cb09 Updated vote.js to use approved (and some minor clean up) 2012-10-04 12:31:02 +10:00
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