56 Commits (3f0ca3139306dbfd9aa2aba0c4ddda2903194af2)

Author SHA1 Message Date
barisusakli a9cc12c667 retry failed upserts closes #4467 9 years ago
barisusakli 5920697ac0 closes #4368 9 years ago
barisusakli b0151502c2 use '-inf'/'+inf' 9 years ago
barisusakli 018f7ba65a closes #4307
ability to send an array of keys to getSortedSetRange
use getSortedSetRevRange instead of getSortedSetRevUnion
9 years ago
Barış Soner Uşaklı 4316c9a566 style changes 9 years ago
Ben Lubar df8c1abf7d fast path for mongodb batches (otherwise it's O(n^2) memory, which gets ugly fast) 9 years ago
barisusakli 60e1831152 check online from users:online zset 10 years ago
barisusakli 53d29e29af performance improvements
store parsed category description
removed mongo _key from returns
dont get category teaser for parent
10 years ago
barisusakli aa577f4adc part 1
no upgrade script yet
10 years ago
barisusakli 625a0dcbfa closes #3074 10 years ago
Barış Soner Uşaklı e4199179f7 Merge remote-tracking branch 'origin/master' into mongodb-3.0-driver-2.0 10 years ago
Barış Soner Uşaklı ea9fccbf2a fix -inf +inf
added test for -inf +inf
10 years ago
Barış Soner Uşaklı 6bd3c54a03 fix findAndModify
temp fix for connect-mongo
create admin after categories
10 years ago
barisusakli c379753341 upgrade scripts
upgrade groups to sorted set(groups:createtime) upgrade
upgrade groups:<name>:members to sorted set
new database methods
tests
10 years ago
barisusakli fbd875b397 fix sortedSetIncrBy return 10 years ago
barisusakli 0a534b20e3 sortedSetCount fix for +inf/-inf 10 years ago
barisusakli 03ee524121 fix tests and mongo method 10 years ago
barisusakli 00541b2bc8 sortedSetRange tests 10 years ago
barisusakli 984b17349a closes #2476 10 years ago
barisusakli c56b9aafff closes #2289, replace Infinity with '+inf' 11 years ago
barisusakli 1fe82ee452 added 2 new methods to dbal
getSortedSetRangeWithScores
getSortedSetRangeByScoreWithScores
11 years ago
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
11 years ago
barisusakli b65c17c5bc parseInt score 11 years ago
barisusakli e699c02b65 get less data 11 years ago
barisusakli 035c32df66 dont need to pass value on upserts 11 years ago
psychobunny f149fb0191 linting, TIL that obj.$key is valid syntax 11 years ago
barisusakli 33780e6fdb closes #2133 11 years ago
barisusakli 73d358edc5 faster getTeasers
got rid of getPostIndices
11 years ago
barisusakli c72c876b04 check value 11 years ago
barisusakli 34106aa209 fix fields 11 years ago
barisusakli 5fc760c6c4 unread changes 11 years ago
barisusakli 9d25772b53 added sortedSetIncrBy 11 years ago
barisusakli c5c97c784a optimize getPostIndices
only use 1 set when its in a topic
11 years ago
barisusakli 5f2a66295c check keys 11 years ago
barisusakli b3d9db10f2 notification fixes
made post notifications unique per post so they dont overwrite other
types.
11 years ago
barisusakli 35a903f9c8 closes #2074
when new notifications are pushed to uids clear their old notifications.
11 years ago
barisusakli 493d0dea1e part 1 of notif refactor 11 years ago
barisusakli 5222edb624 sortedSetsAdd
using mullti/bulk for redis/mongo
lets you add a score/value pair to multiple sorted sets at once
11 years ago
barisusakli 3f4ede0778 parseInt 11 years ago
barisusakli 84d0e64361 fix topic move 11 years ago
barisusakli 94d050fd4f removed helpers.done 11 years ago
barisusakli 8b4c61241f query change 11 years ago
barisusakli cd096f8832 sortedSetScores for tag counts 11 years ago
barisusakli e10eaf0d50 added tag counts to api return 11 years ago
barisusakli c358ff3d83 fix isSortedSetMembers on mongo 11 years ago
barisusakli eeb4c9f487 optimize getPostSummaryByPids 11 years ago
barisusakli 3829019bfa removed optional params 11 years ago
barisusakli 8dce99250b final fix for #1884
fix mongo functions so they return correct data if duplicate keys are
passed. getObjects(['post:1', 'post:1'], callback) was only returning
one object.
11 years ago
barisusakli a3fecee781 removed console.log err check 11 years ago
barisusakli 89bb11a58c closes #1880 11 years ago