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
barisusakli
35a903f9c8
closes #2074
...
when new notifications are pushed to uids clear their old notifications.
2014-09-14 12:07:26 -04:00
barisusakli
493d0dea1e
part 1 of notif refactor
2014-09-14 12:07:23 -04:00
barisusakli
5222edb624
sortedSetsAdd
...
using mullti/bulk for redis/mongo
lets you add a score/value pair to multiple sorted sets at once
2014-09-08 16:13:48 -04:00
barisusakli
84d0e64361
fix topic move
2014-09-03 20:19:51 -04:00
barisusakli
cd096f8832
sortedSetScores for tag counts
2014-08-15 11:48:01 -04:00
barisusakli
e10eaf0d50
added tag counts to api return
2014-08-14 21:12:12 -04:00
barisusakli
e137baccd9
fixed ip:recent weird
2014-08-11 13:47:24 -04:00
barisusakli
b4182f57fe
simplified callback
2014-08-04 13:00:42 -04:00
barisusakli
eeb4c9f487
optimize getPostSummaryByPids
2014-07-29 17:33:28 -04:00
barisusakli
3829019bfa
removed optional params
2014-07-24 23:33:33 -04:00