Commit Graph

77 Commits (82d3b24cd3f203a57004fa2744d8f11dd9ee0f3e)

Author SHA1 Message Date
Moritz Schmidt c8393d6f87 mongo: set scores as float instead of int
Barış Soner Uşaklı c512a02c83 Merge pull request from yariplus/lexistuff
Add additional lexical dbal operations.
yariplus af2122bdb9 fix lex tests maybe
yariplus 472dd007d8 fix mongo lex callback
yariplus be3b35dea3 fix callbacks and regex
yariplus 1bb44e2429 Allow lex min and max to be inclusive or exclusive.
yariplus 437d2744cc addl lex commands for mongo
barisusakli 1a63672e66 more test fixes
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule
HeeL 3fa1c1f927 Fix space-infix-ops linter rule
Barış Soner Uşaklı be07772a91 check for e11000
Barış Soner Uşaklı 0452e9cfa4 dont need last step
barisusakli 990ecc8cd2 sortedSetIntersectionCard
barisusakli 7b7ec77f5c remove console.log
barisusakli e1263f1057 sortedSetUnionCard
barisusakli eabb745116 change union to match intersect
accept aggregate and withscores
barisusakli fe3417538c fix getSortedSetRange() if start>0 and stop is -1
barisusakli f77d9053ad closes
barisusakli f4e3d571a3 shorter
barisusakli 6022fd984a closes
barisusakli 17b4dd85e7 use valueToString in sortedSetIncrBy
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