Commit Graph

56 Commits (3f0ca3139306dbfd9aa2aba0c4ddda2903194af2)

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