Barış Soner Uşaklı
1f52048866
Merge pull request #5252 from Fusselwurm/patch-2
...
ZSET scores are float: parseInt => parseFloat
2016-12-13 11:58:24 +02:00
Moritz Schmidt
c8393d6f87
mongo: set scores as float instead of int
2016-12-11 15:58:57 +01:00
Barış Soner Uşaklı
e0501656b6
parallel startup
2016-12-09 00:18:25 +03:00
Barış Soner Uşaklı
bca6151892
fix lint
2016-12-09 00:00:40 +03:00
Barış Soner Uşaklı
8c8e2ae190
closes #5271
2016-12-09 00:00:39 +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
1c3d9f7e94
switch to createIndex
2016-11-24 16:15:04 +03: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
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
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
2016-10-17 23:34:14 +03: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
yariplus
ef20757f3e
zremrangebylex, zlexcount
2016-10-16 18:45:54 -04:00
barisusakli
1a63672e66
more test fixes
2016-10-16 21:51:42 +03:00
yariplus
1fc5e5d0d3
getSortedSetRevRangeByLex
2016-10-16 14:48:29 -04:00
barisusakli
e462fadd94
init express/webserver for tests
2016-10-16 06:03:09 +03:00
barisusakli
6d97c4cec8
up mongo deps, create session store after db.authenticate
2016-10-14 22:18:28 +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
barisusakli
3275d26590
removed comments
2016-10-07 11:03:19 +03:00
Nguyen Trung Quan
279559ff97
Fix: Memory leak & connection flood when access /admin/advanced/database
2016-10-07 11:14:28 +07:00
barisusakli
4eb8015017
closes #5069
2016-09-29 14:31:32 +03:00
Barış Soner Uşaklı
be07772a91
check for e11000
2016-09-28 23:19:25 +03:00
barisusakli
0d09fcbee7
fix setAdd on redis for empty arrays
2016-09-28 12:18:02 +03:00
barisusakli
cd9e2d17a3
fix db.incrObjectFieldBy for mongo
...
convert string to int
2016-09-23 13:42:14 +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
3d56776ab0
fix tabs
2016-08-15 19:28:01 +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
c8a369f5c3
closes #4939
2016-08-13 20:02:48 +03:00
barisusakli
7f041a756d
closes #4865
2016-08-04 20:58:04 +03:00
barisusakli
17b4dd85e7
use valueToString in sortedSetIncrBy
2016-05-25 21:18:19 +03:00
wktang
414a26fe42
Default mongodb db name should be "nodebb" instead of 0 (unlike redis). ( #4573 )
2016-04-27 14:52:36 -04:00
Mr.Lee
3e2f36fc29
Make the description more clear.
...
The same description in mongo.js and install.js are ambiguous.
2016-04-16 23:34:57 +08: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
d52a0ad87a
closes #4366
2016-03-15 10:53:10 +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