Commit Graph

76 Commits

Author SHA1 Message Date
barisusakli
b65c17c5bc parseInt score 2014-10-14 20:56:52 -04:00
barisusakli
e699c02b65 get less data 2014-10-12 23:46:58 -04:00
barisusakli
10ead05d4b another unused require 2014-10-12 18:04:16 -04:00
barisusakli
8cc1cc0f1b removed unused require 2014-10-12 18:02:28 -04:00
barisusakli
1eb95a71ae no need for $in 2014-10-12 17:40:59 -04:00
barisusakli
feed33f6e2 closes #2100 2014-10-10 22:53:01 -04:00
barisusakli
035c32df66 dont need to pass value on upserts 2014-10-10 19:21:47 -04:00
psychobunny
f149fb0191 linting, TIL that obj.$key is valid syntax 2014-10-08 12:22:39 -04:00
barisusakli
33780e6fdb closes #2133 2014-10-03 14:14:41 -04:00
barisusakli
73d358edc5 faster getTeasers
got rid of getPostIndices
2014-10-03 13:43:51 -04:00
barisusakli
c72c876b04 check value 2014-10-02 18:57:21 -04:00
barisusakli
31db0d78b1 return empty array instead of undefined 2014-09-30 18:27:23 -04:00
barisusakli
3865fd3ab9 fixes crash is sets is empty 2014-09-30 16:10:26 -04:00
barisusakli
34106aa209 fix fields 2014-09-27 17:46:39 -04:00
barisusakli
5fc760c6c4 unread changes 2014-09-27 17:41:49 -04:00
barisusakli
9d25772b53 added sortedSetIncrBy 2014-09-27 15:48:16 -04:00
barisusakli
c5c97c784a optimize getPostIndices
only use 1 set when its in a topic
2014-09-26 22:19:26 -04:00
barisusakli
515e663f85 getObjectsFix
return empty array if keys is empty or not an array
2014-09-22 21:47:20 -04:00
barisusakli
5f2a66295c check keys 2014-09-21 13:30:20 -04:00
barisusakli
7d93926ef7 removed async.map 2014-09-20 23:04:49 -04:00
barisusakli
e2707353e9 dont return unnecessary data 2014-09-20 16:05:57 -04:00
barisusakli
59120df71c bulk fix 2014-09-19 18:59:11 -04:00
barisusakli
1bad2f79ee show megabyte values 2014-09-18 22:24:14 -04:00
barisusakli
4b80bbb9c4 optimized user.delete 2014-09-16 22:25:12 -04:00
barisusakli
451c5b40fd removed debug 2014-09-16 13:10:30 -04:00
barisusakli
0a936e5dd1 unreadTids 2014-09-16 12:38:31 -04:00
barisusakli
b3d9db10f2 notification fixes
made post notifications unique per post so they dont overwrite other
types.
2014-09-14 12:07:27 -04:00
barisusakli
35a903f9c8 closes #2074
when new notifications are pushed to uids clear their old notifications.
2014-09-14 12:07:26 -04:00
barisusakli
493d0dea1e part 1 of notif refactor 2014-09-14 12:07:23 -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
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
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
fe58ea55d4 moved debugs 1 level up increased key limit to 100 2014-09-06 20:47:20 -04:00
barisusakli
3f4ede0778 parseInt 2014-09-06 04:11:44 -04:00
barisusakli
017f6bde2c 50 2014-09-06 02:45:38 -04:00
barisusakli
e2697030ec removed reuqire 2014-09-06 01:10:46 -04:00
barisusakli
a48e95b910 check keys 2014-09-06 01:04:20 -04:00
barisusakli
45afe2e831 cast return to bool 2014-09-04 00:20:50 -04:00
barisusakli
c8692f0562 Merge remote-tracking branch 'origin/0.5.1' into cluster 2014-09-03 23:43:52 -04:00
barisusakli
f81acd37db added indices on search key and id for mongo 2014-09-03 23:43:07 -04:00
barisusakli
84d0e64361 fix topic move 2014-09-03 20:19:51 -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
8b4c61241f query change 2014-09-01 20:45:24 -04:00
barisusakli
cd096f8832 sortedSetScores for tag counts 2014-08-15 11:48:01 -04:00
barisusakli
e10eaf0d50 added tag counts to api return 2014-08-14 21:12:12 -04:00
barisusakli
c358ff3d83 fix isSortedSetMembers on mongo 2014-08-12 14:39:58 -04:00
barisusakli
528ee335d5 optimize getTopicsByTids and getTeasers 2014-08-06 21:30:11 -04:00