Commit Graph

6866 Commits

Author SHA1 Message Date
barisusakli
5696ea2396 check errors on decodeURIComponent 2014-09-09 22:09:27 -04:00
barisusakli
b7eddda8c8 one more fix 2014-09-09 18:32:09 -04:00
barisusakli
20eb4def1d possible fix to online guest count
using socket io rooms instead of syncing between workers.
2014-09-09 18:05:21 -04:00
barisusakli
e79c980421 delete anything older than 1 week 2014-09-08 18:09:35 -04:00
barisusakli
5222edb624 sortedSetsAdd
using mullti/bulk for redis/mongo
lets you add a score/value pair to multiple sorted sets at once
2014-09-08 16:13:48 -04:00
Baris Usakli
f16ced6bcc removed path from notif, its created on the fly when retrieveing the notifications 2014-09-08 01:22:47 -04:00
barisusakli
aed9a9f76f removed console.log 2014-09-07 21:41:39 -04:00
barisusakli
9b26b60082 fixed cron 2014-09-07 20:45:31 -04:00
barisusakli
61e1c51ef6 run notif prune every 30mins
disabled post edit log
2014-09-07 20:03:29 -04:00
barisusakli
a56ab7f15a closes #2061 2014-09-07 16:41:27 -04:00
barisusakli
242721c73f using websockets 2014-09-07 14:13:05 -04:00
barisusakli
6cd84ebe81 removed parseInt from sorts 2014-09-07 13:03:06 -04:00
barisusakli
3c8ca63608 fixed getCidsByPids 2014-09-07 12:36:50 -04:00
barisusakli
ec32a3d243 mising reuqire 2014-09-07 12:16:01 -04:00
psychobunny
0727c2a0bf forgot winston 2014-09-07 12:12:12 -04:00
barisusakli
2252ab7479 notifications.prune
run every hour
dont get more than 500 notifications
2014-09-07 03:17:51 -04:00
barisusakli
273db693e7 closes #2051 2014-09-06 23:57:51 -04:00
barisusakli
cc3786e22d closes #2055 2014-09-06 22:28:09 -04:00
barisusakli
b7ee875b12 user.isOnline fix
wont hit db on every user socket connect or user disconnect
2014-09-06 22:08:55 -04:00
barisusakli
fe58ea55d4 moved debugs 1 level up increased key limit to 100 2014-09-06 20:47:20 -04:00
barisusakli
57e204df8e removed most of the debug
dont get more than 6 usernames for upvote tooltips
generatePostPaths wont check null pids
2014-09-06 20:46:18 -04:00
barisusakli
0ad42873d5 nasty 2014-09-06 04:30:25 -04:00
barisusakli
4b20e78de2 hopefully final fix 2014-09-06 04:29:20 -04:00
barisusakli
3f4ede0778 parseInt 2014-09-06 04:11:44 -04:00
barisusakli
518d731562 one more time 2014-09-06 04:09:13 -04:00
barisusakli
f9c9f58561 post_index fix 2014-09-06 03:56:15 -04:00
barisusakli
34a4a2103f isNan check 2014-09-06 03:45:34 -04:00
barisusakli
edd73b5be2 again 2014-09-06 03:35:28 -04:00
barisusakli
5160a4f90f getTopicwithposts 2014-09-06 03:25:32 -04:00
barisusakli
ef329c95df fix 2014-09-06 03:21:00 -04:00
barisusakli
0b83657868 more trace 2014-09-06 03:19:13 -04:00
barisusakli
0d5605ab35 trace in addPostData 2014-09-06 03:09:41 -04:00
barisusakli
126b1c4f4c only get 20 chats 2014-09-06 02:59:40 -04:00
barisusakli
0cfa430444 crash fix 2014-09-06 02:46:43 -04:00
barisusakli
017f6bde2c 50 2014-09-06 02:45:38 -04:00
barisusakli
7405051924 50 2014-09-06 02:41:04 -04:00
barisusakli
5fd199ae8a check privs pids 2014-09-06 02:39:54 -04:00
barisusakli
51cafe075c only get 25 posts 2014-09-06 02:34:39 -04:00
psychobunny
099a04c1c8 disabling pushUnreadCount for now, perhaps this might be good on redis too? 2014-09-06 02:22:26 -04:00
psychobunny
07376c9a4c look for unread only for today 2014-09-06 02:22:25 -04:00
psychobunny
6aa47efc06 we don't trust user.isOnline, waiting on an optimization (disabling for now) 2014-09-06 02:22:25 -04:00
psychobunny
0de458141b separated the sockets.emit to socket.emit + broadcast so OP gets action right away. moved callback sooner. 2014-09-06 02:22:24 -04:00
psychobunny
61895633b3 disabling updateLastOnlineTime until we can move this key to redis 2014-09-06 02:22:24 -04:00
psychobunny
056f89d6cf use redis session storage instead of connect-mongo 2014-09-06 02:22:23 -04:00
psychobunny
071be4ae7f cache popular route for anons 2014-09-06 02:22:22 -04:00
psychobunny
15052143d3 that preloader, will blow up your datacenter. 2014-09-06 02:22:22 -04:00
psychobunny
6c7d7a45e8 their plugins, in package.json 2014-09-06 02:22:21 -04:00
psychobunny
4fd9b58a55 give mongo room to breathe 2014-09-06 02:22:20 -04:00
psychobunny
a4c625a4d6 use compiled bcrypt 2014-09-06 02:22:20 -04:00
barisusakli
bf67424fd6 if there are no uids return 2014-09-06 01:55:56 -04:00