Peter Jaszkowiak
277a7fb8b4
ESlint key-spacing, no-trailing-spaces
2017-02-18 01:27:46 -07:00
Peter Jaszkowiak
3361a72725
ESlint no-plusplus
...
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
2ba46808a1
ESlint one-var, fix comma-dangle
2017-02-17 20:20:42 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
b71ab64cf4
organize dbal sorted code
2016-12-23 14:12:07 +03:00
Moritz Schmidt
c8393d6f87
mongo: set scores as float instead of int
2016-12-11 15:58:57 +01:00
Barış Soner Uşaklı
c512a02c83
Merge pull request #5124 from yariplus/lexistuff
...
Add additional lexical dbal operations.
2016-10-18 12:17:02 +03:00
yariplus
af2122bdb9
fix lex tests maybe
2016-10-17 18:08:56 -04:00
yariplus
472dd007d8
fix mongo lex callback
2016-10-17 15:24:35 -04:00
yariplus
be3b35dea3
fix callbacks and regex
2016-10-16 23:07:22 -04:00
yariplus
1bb44e2429
Allow lex min and max to be inclusive or exclusive.
2016-10-16 21:50:13 -04:00
yariplus
437d2744cc
addl lex commands for mongo
2016-10-16 20:37:48 -04:00
barisusakli
1a63672e66
more test fixes
2016-10-16 21:51:42 +03:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927
Fix space-infix-ops linter rule
2016-10-13 11:42:29 +02:00
Barış Soner Uşaklı
be07772a91
check for e11000
2016-09-28 23:19:25 +03:00
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