Barış Soner Uşaklı
fe0a5aaf28
fix redis tests
8 years ago
Barış Soner Uşaklı
fd0043f36a
more tests
8 years ago
Barış Soner Uşaklı
95196ceedc
closes #5692
8 years ago
Barış Soner Uşaklı
54a9e7eab9
#5674
8 years ago
Barış Soner Uşaklı
33f135c091
closes #5675
8 years ago
Julian Lam
ad14b0d60b
more fixes for #5660
8 years ago
Barış Soner Uşaklı
7135d25a4a
closes #5654
8 years ago
Barış Soner Uşaklı
14f3907aa4
change the way group member posts are stored
8 years ago
barisusakli
b91b41dfa3
show database values in gbs
8 years ago
barisusakli
ba51a6c746
fix underscore
8 years ago
barisusakli
b7b65c7d63
change style
8 years ago
barisusakli
a2784738a4
fix lint
8 years ago
barisusakli
2029de4cc5
closes #5449
8 years ago
barisusakli
3d39a577f4
style change
8 years ago
barisusakli
38e16ca8f6
Merge branch 'master' into develop
8 years ago
barisusakli
65a65b19c0
tests for #5600
8 years ago
barisusakli
c3ac7c31b1
Merge branch 'master' into develop
8 years ago
barisusakli
185b6e5c8e
#5600
8 years ago
barisusakli
e3205bcfad
merge
8 years ago
barisusakli
9f8d80e3a4
closes #5600
8 years ago
barisusakli
92343eb2e1
fix mongo setObject if key/value is empty string
8 years ago
barisusakli
7ce6c1d0ad
closes #5571
8 years ago
Peter Jaszkowiak
1ed571189c
Make utils and translator easier to require
...
Move utils.walk to file.walk, backwards compatible
8 years ago
Peter Jaszkowiak
57696b22f4
Partial fix #5538
8 years ago
Barış Soner Uşaklı
6b0a907ede
closes #5552
8 years ago
Julian Lam
b6134b160e
moved auto_reconnect out of socketOptions object for Mongo
8 years ago
barisusakli
5e0de4b8fb
closes #5517
8 years ago
barisusakli
0c7dee05ef
fix lint
8 years ago
barisusakli
92fa9fecb6
add mongodb connection options #3670
...
increase reconnect tries
add keepAlive setting
set autoReconnect to true, should be on by default
8 years ago
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
c18808fdeb
ESlint no-useless-concat, no-mixed-spaces-and-tabs
8 years ago
Peter Jaszkowiak
09e868ce5f
ESlint no-useless-escape, no-else-return
8 years ago
Peter Jaszkowiak
11cb3a9554
ESlint operator-assignment, block-scoped-var
8 years ago
Peter Jaszkowiak
c4bdb72941
ESlint no-unneeded-ternary
...
and no-extend-native, no-sequences
8 years ago
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
8 years ago
Peter Jaszkowiak
1493afee2a
ESlint indent
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
2e031f3759
ESlint comma-spacing
8 years ago
Peter Jaszkowiak
277a7fb8b4
ESlint key-spacing, no-trailing-spaces
8 years ago
Peter Jaszkowiak
b1b486f729
ESlint quote-props
8 years ago
Peter Jaszkowiak
3361a72725
ESlint no-plusplus
...
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak
d7526b5e44
ESlint array-bracket-spacing
...
and object-property-newline
8 years ago
Peter Jaszkowiak
1cf25f57fc
ESlint no-space-func
8 years ago
Peter Jaszkowiak
2ba46808a1
ESlint one-var, fix comma-dangle
8 years ago
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
8 years ago
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
9 years ago
Barış Soner Uşaklı
0452e9cfa4
dont need last step
9 years ago
barisusakli
990ecc8cd2
sortedSetIntersectionCard
9 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
Mr.Lee
3e2f36fc29
Make the description more clear.
...
The same description in mongo.js and install.js are ambiguous.
9 years ago
barisusakli
a9cc12c667
retry failed upserts closes #4467
9 years ago
barisusakli
5920697ac0
closes #4368
9 years ago
barisusakli
d52a0ad87a
closes #4366
9 years ago
barisusakli
b0151502c2
use '-inf'/'+inf'
9 years ago
barisusakli
018f7ba65a
closes #4307
...
ability to send an array of keys to getSortedSetRange
use getSortedSetRevRange instead of getSortedSetRevUnion
9 years ago
Barış Soner Uşaklı
4316c9a566
style changes
9 years ago
Ben Lubar
df8c1abf7d
fast path for mongodb batches (otherwise it's O(n^2) memory, which gets ugly fast)
9 years ago
barisusakli
20ca1e40aa
fallback
9 years ago
barisusakli
d44d036b67
up mongodb connect-mongo remove workaround
9 years ago
barisusakli
7185463d81
display avg object size in bytes
9 years ago
barisusakli
dcbf53bae3
moved search to dbsearch
9 years ago
barisusakli
60e1831152
check online from users:online zset
9 years ago
barisusakli
53d29e29af
performance improvements
...
store parsed category description
removed mongo _key from returns
dont get category teaser for parent
9 years ago
barisusakli
e2f590e0b4
only return id
9 years ago
barisusakli
a1dca63914
fileSize fix
9 years ago
barisusakli
a9fae94e5a
switch to dbStats, only display fileSize if it exists
9 years ago
barisusakli
5fda800f2b
filter info
9 years ago
barisusakli
3b9fdcaa2b
more mongodb info
9 years ago
barisusakli
e7f87f4ffd
closes #3686
10 years ago
Barış Soner Uşaklı
235a981dd1
added mongodb memory usage
10 years ago
Barış Soner Uşaklı
fd87bedc90
fix indent
10 years ago
Barış Soner Uşaklı
0d789261a9
filter falsy check valid
10 years ago
barisusakli
f4ea534327
closes #3312
10 years ago
barisusakli
ea818e2af8
closes #3259
10 years ago
Barış Soner Uşaklı
6fc073d33e
if key is fasly not a member
10 years ago
psychobunny
78ea462620
fix crash when redis server isn't running
10 years ago
Julian Lam
96526a37a3
fixed #3218
10 years ago
Julian Lam
d5c6e2e73a
Merge pull request #3156 from pentode/master
...
add feature to define mongo client connect options via config.json
10 years ago
barisusakli
aa577f4adc
part 1
...
no upgrade script yet
10 years ago
pentode
297b5906ed
add feature to define mongo client connect options via config.json
10 years ago
barisusakli
d9af2242a7
store id as int
10 years ago
barisusakli
484ad33549
convert key, value index to sparse/unique
10 years ago
barisusakli
7b550b13b9
display both redis/mongo info if available
10 years ago
Julian Lam
379bdd12e0
fixed improper parsing of url in loader, and updated mongo init to not send anything in cb except err. Also updated webserver init so that it doesn't expect stuff from static:app.preload
10 years ago
Ryan Wilson
6f66209428
use tabs per barisusakli
10 years ago
Ryan Wilson
c354929569
handled port as int with toString()
...
Signed-off-by: Ryan Wilson <syndicated.life@gmail.com>
10 years ago
Ryan Wilson
ec6c618751
use replicaset if configured
...
Signed-off-by: Ryan Wilson <syndicated.life@gmail.com>
10 years ago
barisusakli
625a0dcbfa
closes #3074
10 years ago
Julian Lam
848babcdfa
Merge pull request #2778 from ahwayakchih/support-more-config-defaults-for-setup
...
This adds more setup defaults from config.
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
Barış Soner Uşaklı
ca332d23c0
wait for createIndex errors
10 years ago
Barış Soner Uşaklı
f6d0ad9b0f
Merge remote-tracking branch 'origin/master' into mongodb-3.0-driver-2.0
10 years ago
Julian Lam
4dbb1c08b6
added default host port and db settings for mongo, if not set in config file
10 years ago
barisusakli
6c0e07c384
Merge remote-tracking branch 'origin/master' into mongodb-3.0-driver-2.0
10 years ago
barisusakli
518aec6e76
modified indices, removed key 2 collections now
10 years ago
barisusakli
ec7caea368
fix search on mongo
10 years ago
barisusakli
78c65aee05
even more search changes
10 years ago
barisusakli
e2196af8ab
part 2 of search changes
10 years ago