barisusakli
6aa8c8aa94
merge
8 years ago
barisusakli
fa08498a9e
closes #5480
8 years ago
Peter Jaszkowiak
4bb49a7171
ESlint no-unused-vars
8 years ago
Peter Jaszkowiak
09e868ce5f
ESlint no-useless-escape, no-else-return
8 years ago
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
8 years ago
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
8 years ago
Peter Jaszkowiak
feb8405f95
ESlint eol-last
8 years ago
Peter Jaszkowiak
a038c66549
ESlint quotes
8 years ago
Peter Jaszkowiak
604358ecc4
ESlint keyword-spacing, no-multi-spaces
8 years ago
Peter Jaszkowiak
3361a72725
ESlint no-plusplus
...
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak
2ba46808a1
ESlint one-var, fix comma-dangle
8 years ago
barisusakli
e1253f693a
fix redis union
8 years ago
barisusakli
b71ab64cf4
organize dbal sorted code
8 years ago
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.
9 years ago
barisusakli
5d6e2ad083
multiple test fixes
9 years ago
barisusakli
c8b5c181ff
fix flag on redis
...
check if number is returned on tests
9 years ago
Barış Soner Uşaklı
c512a02c83
Merge pull request #5124 from yariplus/lexistuff
...
Add additional lexical dbal operations.
9 years ago
yariplus
af2122bdb9
fix lex tests maybe
9 years ago
barisusakli
4a0f67afdc
search tests
...
new method emptydb
use emptydb instead of flushdb, flushdb removes indices for mongo which
breaks search tests
initialize meta.config properly in tests
enable nodebb-plugin-dbsearch for tests
9 years ago
yariplus
be3b35dea3
fix callbacks and regex
9 years ago
yariplus
1bb44e2429
Allow lex min and max to be inclusive or exclusive.
9 years ago
yariplus
ef20757f3e
zremrangebylex, zlexcount
9 years ago
yariplus
1fc5e5d0d3
getSortedSetRevRangeByLex
9 years ago
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
9 years ago
HeeL
3fa1c1f927
Fix space-infix-ops linter rule
9 years ago
barisusakli
0d09fcbee7
fix setAdd on redis for empty arrays
9 years ago
barisusakli
990ecc8cd2
sortedSetIntersectionCard
9 years ago
barisusakli
e1263f1057
sortedSetUnionCard
9 years ago
barisusakli
eabb745116
change union to match intersect
...
accept aggregate and withscores
9 years ago
barisusakli
3d56776ab0
fix tabs
9 years ago
barisusakli
6022fd984a
closes #4945
9 years ago
barisusakli
c8a369f5c3
closes #4939
9 years ago
barisusakli
018f7ba65a
closes #4307
...
ability to send an array of keys to getSortedSetRange
use getSortedSetRevRange instead of getSortedSetRevUnion
9 years ago
barisusakli
dcbf53bae3
moved search to dbsearch
10 years ago
barisusakli
aa577f4adc
part 1
...
no upgrade script yet
10 years ago
barisusakli
7b550b13b9
display both redis/mongo info if available
10 years ago
Barış Soner Uşaklı
ba1afdf879
dont crash if callback isnt supplied fixes #3033
10 years ago
barisusakli
fa9fde43fb
closes #2971
10 years ago
barisusakli
e2196af8ab
part 2 of search changes
10 years ago
barisusakli
c7128bcc98
part 1 of search change
10 years ago
barisusakli
ec8fc8b97b
dont do anything if id is falsy
...
added callback
10 years ago
psychobunny
b0628c2df8
missing semi-colons in database/
10 years ago
barisusakli
3bcd8aefb0
deleteObjectFields method
...
cleaned up user reset
10 years ago
Barış Soner Uşaklı
749ce5f8e5
dont crash if callback isnt supplied to list methods
10 years ago
barisusakli
39cac43b96
if key isn't found dont error
...
Conflicts:
src/database/redis/main.js
10 years ago
barisusakli
bd8a77a22b
dont crash if callback isnt passed in
10 years ago
barisusakli
2c45dc6450
redis helpers
10 years ago
barisusakli
c379753341
upgrade scripts
...
upgrade groups to sorted set(groups:createtime) upgrade
upgrade groups:<name>:members to sorted set
new database methods
tests
10 years ago
barisusakli
96c27d29f4
dont crash if callback isn't supplied
10 years ago
Julian Lam
eb5b8ccec3
better check for group exist, groups with different cases can no longer be created, #2588
10 years ago