Commit Graph

12 Commits

Author SHA1 Message Date
barisusakli
451c5b40fd removed debug 2014-09-16 13:10:30 -04:00
barisusakli
01f983e29c markAsRead improvement
takes in an array of tids instead of marking topics read 1 by 1
same for the category.markAsRead function
2014-09-10 21:44:19 -04:00
barisusakli
ec32a3d243 mising reuqire 2014-09-07 12:16:01 -04:00
barisusakli
fe58ea55d4 moved debugs 1 level up increased key limit to 100 2014-09-06 20:47:20 -04:00
barisusakli
45afe2e831 cast return to bool 2014-09-04 00:20:50 -04:00
barisusakli
10b30e303b mongo posting fix 2014-09-03 19:38:48 -04:00
barisusakli
94d050fd4f removed helpers.done 2014-09-03 01:13:28 -04:00
barisusakli
528ee335d5 optimize getTopicsByTids and getTeasers 2014-08-06 21:30:11 -04:00
barisusakli
efdd795084 closes #1922 2014-07-30 14:29:48 -04:00
barisusakli
37b73e1c02 cleaner mongo setRemoveRandom 2014-07-04 23:36:40 -04:00
barisusakli
c3a9767bf6 late night optimizations
-isMemberOfSets returns true/false instead of 1/0
-when loading the posts of a topic only get the userdata for each user
once, before this commit if a topic had 10 posts from 2 different users
we were getting the user data for each user 5 times (drunk)
-getVoteStatusByPostIDs and getFavouritesByPostIDs no longer make
pids.length calls to the db, they use isMemberOfSets now
-getUserInfoForPost renamed to getUserInfoForPosts and doesnt make
uids.length calls to db, uses getMultipleUserFields instead
2014-06-28 01:03:26 -04:00
psychobunny
46b6a93e98 organizing mongo driver 2014-04-11 15:44:53 -04:00