Dominic Lennon
3f116e7636
Fixing null ttl issue for MongoSession
8 years ago
Dominic Lennon
b1f0f8fa8b
Adding ttl value to the MongoStore options
8 years ago
Dominic Lennon
a06e39528f
Code review change
8 years ago
Dominic Lennon
ed19454eca
Adding more specific timing for session timings
8 years ago
Dominic Lennon
d248ef95cd
Fix for issue #5334 . SessionStore now uses the correct value
8 years ago
barisusakli
e1253f693a
fix redis union
8 years ago
barisusakli
b71ab64cf4
organize dbal sorted code
8 years ago
Barış Soner Uşaklı
1f52048866
Merge pull request #5252 from Fusselwurm/patch-2
...
ZSET scores are float: parseInt => parseFloat
8 years ago
Moritz Schmidt
c8393d6f87
mongo: set scores as float instead of int
8 years ago
Barış Soner Uşaklı
e0501656b6
parallel startup
8 years ago
Barış Soner Uşaklı
bca6151892
fix lint
8 years ago
Barış Soner Uşaklı
8c8e2ae190
closes #5271
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.
8 years ago
barisusakli
1c3d9f7e94
switch to createIndex
8 years ago
barisusakli
5d6e2ad083
multiple test fixes
8 years ago
barisusakli
c8b5c181ff
fix flag on redis
...
check if number is returned on tests
8 years ago
Barış Soner Uşaklı
c512a02c83
Merge pull request #5124 from yariplus/lexistuff
...
Add additional lexical dbal operations.
8 years ago
yariplus
af2122bdb9
fix lex tests maybe
8 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
8 years ago
yariplus
472dd007d8
fix mongo lex callback
8 years ago
yariplus
be3b35dea3
fix callbacks and regex
8 years ago
yariplus
1bb44e2429
Allow lex min and max to be inclusive or exclusive.
8 years ago
yariplus
437d2744cc
addl lex commands for mongo
8 years ago
yariplus
ef20757f3e
zremrangebylex, zlexcount
8 years ago
barisusakli
1a63672e66
more test fixes
8 years ago
yariplus
1fc5e5d0d3
getSortedSetRevRangeByLex
8 years ago
barisusakli
e462fadd94
init express/webserver for tests
8 years ago
barisusakli
6d97c4cec8
up mongo deps, create session store after db.authenticate
8 years ago
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
8 years ago
HeeL
3fa1c1f927
Fix space-infix-ops linter rule
8 years ago
barisusakli
3275d26590
removed comments
8 years ago
Nguyen Trung Quan
279559ff97
Fix: Memory leak & connection flood when access /admin/advanced/database
8 years ago
barisusakli
4eb8015017
closes #5069
8 years ago
Barış Soner Uşaklı
be07772a91
check for e11000
8 years ago
barisusakli
0d09fcbee7
fix setAdd on redis for empty arrays
8 years ago
barisusakli
cd9e2d17a3
fix db.incrObjectFieldBy for mongo
...
convert string to int
8 years ago
Barış Soner Uşaklı
0452e9cfa4
dont need last step
8 years ago
barisusakli
990ecc8cd2
sortedSetIntersectionCard
8 years ago
barisusakli
7b7ec77f5c
remove console.log
9 years ago
barisusakli
e1263f1057
sortedSetUnionCard
9 years ago
barisusakli
eabb745116
change union to match intersect
...
accept aggregate and withscores
9 years ago
barisusakli
fe3417538c
fix getSortedSetRange() if start>0 and stop is -1
9 years ago
barisusakli
f77d9053ad
closes #4795
9 years ago
barisusakli
3d56776ab0
fix tabs
9 years ago
barisusakli
f4e3d571a3
shorter
9 years ago
barisusakli
6022fd984a
closes #4945
9 years ago
barisusakli
c8a369f5c3
closes #4939
9 years ago
barisusakli
7f041a756d
closes #4865
9 years ago
barisusakli
17b4dd85e7
use valueToString in sortedSetIncrBy
9 years ago
wktang
414a26fe42
Default mongodb db name should be "nodebb" instead of 0 (unlike redis). ( #4573 )
9 years ago