Commit Graph

66 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
0452e9cfa4 dont need last step 2016-09-19 21:17:44 +03:00
barisusakli
990ecc8cd2 sortedSetIntersectionCard 2016-09-16 13:01:11 +03:00
barisusakli
7b7ec77f5c remove console.log 2016-09-09 13:27:19 +03:00
barisusakli
e1263f1057 sortedSetUnionCard 2016-09-09 13:19:14 +03:00
barisusakli
eabb745116 change union to match intersect
accept aggregate and withscores
2016-09-08 17:59:59 +03:00
barisusakli
fe3417538c fix getSortedSetRange() if start>0 and stop is -1 2016-08-31 21:23:02 +03:00
barisusakli
f77d9053ad closes #4795 2016-08-16 19:52:22 +03:00
barisusakli
f4e3d571a3 shorter 2016-08-15 19:26:18 +03:00
barisusakli
6022fd984a closes #4945 2016-08-15 19:23:15 +03:00
barisusakli
17b4dd85e7 use valueToString in sortedSetIncrBy 2016-05-25 21:18:19 +03:00
barisusakli
a9cc12c667 retry failed upserts closes #4467 2016-03-24 21:01:20 +02:00
barisusakli
5920697ac0 closes #4368 2016-03-15 11:09:06 +02:00
barisusakli
b0151502c2 use '-inf'/'+inf' 2016-03-11 14:20:23 +02:00
barisusakli
018f7ba65a closes #4307
ability to send an array of keys to getSortedSetRange
use getSortedSetRevRange instead of getSortedSetRevUnion
2016-03-03 19:52:48 +02:00
Barış Soner Uşaklı
4316c9a566 style changes 2016-03-01 21:38:36 +02:00
Ben Lubar
df8c1abf7d fast path for mongodb batches (otherwise it's O(n^2) memory, which gets ugly fast) 2016-02-29 16:16:05 -06:00
barisusakli
60e1831152 check online from users:online zset 2015-11-05 15:10:19 -05:00
barisusakli
53d29e29af performance improvements
store parsed category description
removed mongo _key from returns
dont get category teaser for parent
2015-10-18 18:30:17 -04:00
barisusakli
aa577f4adc part 1
no upgrade script yet
2015-05-19 23:04:28 -04:00
barisusakli
625a0dcbfa closes #3074 2015-04-20 23:26:02 -04:00
Barış Soner Uşaklı
e4199179f7 Merge remote-tracking branch 'origin/master' into mongodb-3.0-driver-2.0 2015-03-13 13:14:43 -04:00
Barış Soner Uşaklı
ea9fccbf2a fix -inf +inf
added test for -inf +inf
2015-03-06 15:12:55 -05:00
Barış Soner Uşaklı
6bd3c54a03 fix findAndModify
temp fix for connect-mongo
create admin after categories
2015-03-03 16:16:32 -05:00
barisusakli
c379753341 upgrade scripts
upgrade groups to sorted set(groups:createtime) upgrade
upgrade groups:<name>:members to sorted set
new database methods
tests
2015-01-21 22:48:27 -05:00
barisusakli
fbd875b397 fix sortedSetIncrBy return 2014-12-31 16:38:57 -05:00
barisusakli
0a534b20e3 sortedSetCount fix for +inf/-inf 2014-12-31 16:09:33 -05:00
barisusakli
03ee524121 fix tests and mongo method 2014-12-31 15:59:57 -05:00
barisusakli
00541b2bc8 sortedSetRange tests 2014-12-31 14:41:58 -05:00
barisusakli
984b17349a closes #2476 2014-12-20 17:26:39 -05:00
barisusakli
c56b9aafff closes #2289, replace Infinity with '+inf' 2014-11-07 19:40:41 -05:00
barisusakli
1fe82ee452 added 2 new methods to dbal
getSortedSetRangeWithScores
getSortedSetRangeByScoreWithScores
2014-10-31 17:19:55 -04:00
barisusakli
9e8be432b3 notification changes
-only send a notification when the person you follow creates a topic
-you still get a notification per post if you are following a topic
-changed notifications.push so that it sends the notifications over a
period of time, currently to 50 users per second
-optimized topics.notifyFollowers and
user.notifications.sendTopicNotification, they no longer query the
database for the topic and post data instead they get it as params
-you can no longer follow yourself :)
-changed mongo sortedSetRemove so that it doesn't use $in if there is
only a single value to remove
2014-10-15 21:55:31 -04:00
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
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
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
5f2a66295c check keys 2014-09-21 13:30:20 -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
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
3f4ede0778 parseInt 2014-09-06 04:11:44 -04:00
barisusakli
84d0e64361 fix topic move 2014-09-03 20:19:51 -04:00