Commit graph

6296 commits

Author SHA1 Message Date
Matt DeBergalis
b327f36bfa drop client use of isAdmin 2012-09-27 23:33:10 -07:00
Matt DeBergalis
f4ff14f3ce drop postLoaded, always return from post helper. 2012-09-27 23:33:10 -07:00
Matt DeBergalis
72564644da use dotted path for comment authors 2012-09-27 23:33:10 -07:00
Matt DeBergalis
e07daec6f3 Use currentUser builtin to simplify templates.
* {{currentUser.isAdmin}} instead of custom helpers.
* drop currentUserIsAdmin session variable.

relies on fix to meteor's handlebars evaluator in 0.4.2.
2012-09-27 23:33:08 -07:00
Matt DeBergalis
2a2cfbc40d Session is meant to hold the selected comment's ID 2012-09-27 23:32:01 -07:00
Sacha Greif
0e16290807 removed console.log call 2012-09-28 10:09:57 +09:00
Sacha Greif
5f46d82842 added default avatar image 2012-09-28 10:09:29 +09:00
Sacha Greif
ab7dac1ba2 removed old auth/new auth error message 2012-09-28 09:57:21 +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
Sacha Greif
9342f5bc15 Merge branch 'voting' of https://github.com/debergalis/Telescope into debergalis-voting 2012-09-28 09:32:11 +09:00
Sacha Greif
1de514751c smart.lock update 2012-09-28 09:31:33 +09:00
SachaG
f66663e2fa Merge pull request #7 from julien-c/master
User karma
2012-09-27 17:30:30 -07: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
Julien Chaumond
1b6e18a1db Small error fix when mixpanel's not configured 2012-09-27 21:55:46 +02:00
Julien Chaumond
4b9b0f8e0d Make sure bootstrapping posts are not from exact same date or they show up on top of each other (same rank) 2012-09-27 21:49:01 +02:00
Julien Chaumond
97a86bc5ff Gitignore Sublime Text project files 2012-09-27 18:12:04 +02:00
Julien Chaumond
b5ad48101d Fix author name in bootstrapping data 2012-09-27 18:02:22 +02:00
Julien Chaumond
7c94590793 Use meteorite package version of moment ? 2012-09-27 17:44:23 +02:00
SachaG
227cc187b2 Merge pull request #6 from debergalis/current_user_id
Use this.userId() in publish rather than an arg.
2012-09-26 17:17:05 -07:00
Matt DeBergalis
56bf573de6 Use this.userId() in publish rather than an arg.
Also eliminates the current_user_id global.
2012-09-26 17:14:17 -07:00
SachaG
77d78de086 Merge pull request #5 from debergalis/no-json2
Meteor includes json2.js
2012-09-26 17:08:41 -07:00
Matt DeBergalis
3c9810add3 Meteor includes json2.js 2012-09-26 16:48:31 -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
205f59c562 empty comment form when posting a new comment 2012-09-25 13:22:30 +09:00
Sacha Greif
a71cd77345 sort users by createdAt 2012-09-25 11:05:49 +09:00
Sacha Greif
a01b1c0bb9 Merge branch 'master' of github.com:SachaG/Telescope 2012-09-25 10:52:44 +09:00
Sacha Greif
98acd4b3f0 do not re-queue comments after they've been opened once 2012-09-25 10:51:43 +09:00
Sacha Greif
56824622ca cleaning up the code a little, grouping helpers in helpers({...}) 2012-09-25 09:20:49 +09:00
SachaG
5713ba79b6 Merge pull request #4 from julien-c/master
User profile pages
2012-09-24 16:40:59 -07:00
Sacha Greif
fd990ea5c1 Merge branch 'master' of https://github.com/julien-c/Telescope 2012-09-25 08:36:15 +09:00
Julien Chaumond
e1e8af929c User profile pages 2012-09-24 22:27:29 +02:00
Julien Chaumond
cbf2465124 Check whether mixpanel's defined 2012-09-24 19:48:32 +02:00
Julien Chaumond
2156c308c3 Add meteorite to .gitignore 2012-09-24 19:45:22 +02:00
Sacha Greif
470b4782d8 fixed typo 2012-09-24 16:36:44 +09:00
Sacha Greif
79c806599b do not show the "create new account" message while loading 2012-09-24 16:32:28 +09:00
Sacha Greif
86997f8cb3 added author field to posts, for cases where user has been deleted 2012-09-24 16:20:00 +09:00
Sacha Greif
bcb716d8d7 settings page bugfix 2012-09-24 16:12:50 +09:00
Sacha Greif
55cd01c8bd only show social buttons when clicking 2012-09-24 15:56:56 +09:00
Sacha Greif
566c280546 added proxino error tracking 2012-09-24 15:36:37 +09:00
Sacha Greif
a82a0ccbc6 fixed user update bug 2012-09-24 14:51:21 +09:00
Sacha Greif
54375236b5 working on new auth 2012-09-24 14:29:54 +09:00
Sacha Greif
f8748eccd9 replaced emails[0].email by emails[0].address 2012-09-24 12:12:14 +09:00
Sacha Greif
cd67042ebb added mixpanel 2012-09-24 11:31:45 +09:00
Sacha Greif
0ce2900c6d bugfix 2012-09-24 10:09:53 +09:00
Sacha Greif
fe9e64f894 bugfix 2012-09-24 09:52:53 +09:00
Sacha Greif
baa1336676 fixed bug with constant 2012-09-24 09:45:34 +09:00
Sacha Greif
73dc78c48e added footer code setting 2012-09-24 09:41:15 +09:00