Barış Soner Uşaklı
d117df77f7
fix : #7102
2018-12-12 14:26:11 -05:00
Barış Soner Uşaklı
263c918088
feat: remove uid:<uid>:ignored:cids ( #7099 )
...
use cid:<cid>:ignorers instead
2018-12-12 11:15:34 -05:00
Baris Usakli
e65d40c937
dont return undefined from sortedSetsCard if keys is empty or falsy
2018-12-07 16:50:35 -05:00
Baris Usakli
420227faae
parseFloat scores
2018-12-07 16:01:08 -05:00
Barış Soner Uşaklı
53ad2bbd6e
Categories optimize ( #6999 )
...
* WIP
* fix category page
* fix counts, and copyPrivileges
* fix lint
* more fixes,
* redis fix
* fix test
* fix category test
* remove getParentsAndChildren
2018-11-25 19:08:38 -05:00
Baris Usakli
7b9a2caec3
closes #6994
2018-11-23 14:39:59 -05:00
Barış Soner Uşaklı
48690a01b9
dont need to call multi if keys.length is 0
2018-11-21 17:24:38 -05:00
Barış Soner Uşaklı
43f9c3224f
dont crash sortedSetIncryBy on redis if no callback is supplied
2017-11-02 08:14:35 -04:00
Barış Soner Uşaklı
95196ceedc
closes #5692
2017-05-19 14:52:36 -04:00
barisusakli
7ce6c1d0ad
closes #5571
2017-04-13 16:36:02 -04:00
Peter Jaszkowiak
1ed571189c
Make utils and translator easier to require
...
Move utils.walk to file.walk, backwards compatible
2017-04-08 20:27:52 -06:00
Peter Jaszkowiak
09e868ce5f
ESlint no-useless-escape, no-else-return
2017-02-18 14:27:26 -07:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
a038c66549
ESlint quotes
2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
604358ecc4
ESlint keyword-spacing, no-multi-spaces
2017-02-18 01:52:56 -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
barisusakli
e1253f693a
fix redis union
2016-12-23 14:26:05 +03:00
barisusakli
b71ab64cf4
organize dbal sorted code
2016-12-23 14:12:07 +03:00
Moritz Schmidt
e8e33a8a23
ZSET scores are float: parseInt => parseFloat
...
In Redis, scores of sorted sets can be floats – so we should use `parseFloat` instead of `parseInt` when converting from string to number.
Should not lead to #4939 again, as `new Date()` works regardless of whether it's being passed a float or integer.
2016-12-04 17:41:27 +01:00
barisusakli
5d6e2ad083
multiple test fixes
2016-11-23 17:15:36 +03:00
barisusakli
c8b5c181ff
fix flag on redis
...
check if number is returned on tests
2016-10-25 19:14:56 +03:00
yariplus
af2122bdb9
fix lex tests maybe
2016-10-17 18:08:56 -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
ef20757f3e
zremrangebylex, zlexcount
2016-10-16 18:45:54 -04:00
yariplus
1fc5e5d0d3
getSortedSetRevRangeByLex
2016-10-16 14:48:29 -04: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
barisusakli
990ecc8cd2
sortedSetIntersectionCard
2016-09-16 13:01:11 +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
3d56776ab0
fix tabs
2016-08-15 19:28:01 +03:00
barisusakli
6022fd984a
closes #4945
2016-08-15 19:23:15 +03:00
barisusakli
c8a369f5c3
closes #4939
2016-08-13 20:02:48 +03: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
barisusakli
aa577f4adc
part 1
...
no upgrade script yet
2015-05-19 23:04:28 -04:00
barisusakli
2c45dc6450
redis helpers
2015-01-22 16:21:36 -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
00fb3ab909
only send back error for sortedSetsRemove
2014-12-24 01:54:04 -05:00
barisusakli
1fe82ee452
added 2 new methods to dbal
...
getSortedSetRangeWithScores
getSortedSetRangeByScoreWithScores
2014-10-31 17:19:55 -04:00
barisusakli
740c336480
typo
2014-10-03 15:16:04 -04:00
barisusakli
dba20160ce
check length
2014-10-03 15:15:38 -04:00
barisusakli
212e15b2c2
fixin redis zrevrangebyscore to return value score
2014-09-27 18:35:11 -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
b1f492dec3
fix redis bulk zadd
2014-09-23 17:07:22 -04:00
barisusakli
31eccb8e7f
configurable post delay before first post
2014-09-15 17:01:20 -04:00