Commit Graph

153 Commits

Author SHA1 Message Date
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
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
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
7f041a756d closes #4865 2016-08-04 20:58:04 +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
20ca1e40aa fallback 2016-01-11 18:40:40 +02:00
barisusakli
d44d036b67 up mongodb connect-mongo remove workaround 2016-01-11 17:42:23 +02:00
barisusakli
7185463d81 display avg object size in bytes 2015-12-26 08:40:08 +02:00
barisusakli
dcbf53bae3 moved search to dbsearch 2015-12-11 10:57:13 +02:00
barisusakli
a1dca63914 fileSize fix 2015-10-17 18:38:34 -04:00
barisusakli
a9fae94e5a switch to dbStats, only display fileSize if it exists 2015-10-17 18:37:07 -04:00
barisusakli
5fda800f2b filter info 2015-10-17 18:34:04 -04:00
barisusakli
3b9fdcaa2b more mongodb info 2015-10-17 18:26:03 -04:00
Barış Soner Uşaklı
235a981dd1 added mongodb memory usage 2015-08-12 16:14:48 -04:00
barisusakli
f4ea534327 closes #3312 2015-07-17 19:03:32 -04:00
psychobunny
78ea462620 fix crash when redis server isn't running 2015-06-08 15:34:39 -04:00
Julian Lam
96526a37a3 fixed #3218 2015-06-05 13:33:58 -04:00
pentode
297b5906ed add feature to define mongo client connect options via config.json 2015-05-19 14:55:06 -04:00
barisusakli
484ad33549 convert key, value index to sparse/unique 2015-05-11 18:07:45 -04:00
barisusakli
7b550b13b9 display both redis/mongo info if available 2015-05-08 15:36:06 -04:00
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 2015-04-27 22:51:44 -04:00
Ryan Wilson
6f66209428 use tabs per barisusakli 2015-04-27 11:08:58 -07:00
Ryan Wilson
c354929569 handled port as int with toString()
Signed-off-by: Ryan Wilson <syndicated.life@gmail.com>
2015-04-25 08:16:27 -07:00
Ryan Wilson
ec6c618751 use replicaset if configured
Signed-off-by: Ryan Wilson <syndicated.life@gmail.com>
2015-04-25 08:05:33 -07:00
Julian Lam
848babcdfa Merge pull request #2778 from ahwayakchih/support-more-config-defaults-for-setup
This adds more setup defaults from config.
2015-04-17 11:14:30 -04:00
Barış Soner Uşaklı
ca332d23c0 wait for createIndex errors 2015-04-01 12:28:10 -04:00
Barış Soner Uşaklı
f6d0ad9b0f Merge remote-tracking branch 'origin/master' into mongodb-3.0-driver-2.0 2015-03-24 12:16:31 -04:00
Julian Lam
4dbb1c08b6 added default host port and db settings for mongo, if not set in config file 2015-03-24 11:08:06 -04:00
barisusakli
6c0e07c384 Merge remote-tracking branch 'origin/master' into mongodb-3.0-driver-2.0 2015-03-20 17:52:04 -04:00
barisusakli
518aec6e76 modified indices, removed key 2 collections now 2015-03-15 03:18:24 -04:00
barisusakli
c7128bcc98 part 1 of search change 2015-03-14 23:00:24 -04:00
Barış Soner Uşaklı
6bd3c54a03 fix findAndModify
temp fix for connect-mongo
create admin after categories
2015-03-03 16:16:32 -05:00
Barış Soner Uşaklı
e421a2c7cd pass session 2015-03-03 15:12:40 -05:00
ahwayakchih
4c2f628baa Added support for using mongo:password and redis:password from config, when no password is entered at setup. This allows for having "default" password and overrides from config. Added using mongo:username and port from config when running setup. 2015-02-25 22:27:19 +01:00
barisusakli
c0c85c24cf duh strings dont work 2014-12-14 22:34:53 -05:00
barisusakli
0bb0424998 bubble error 2014-10-30 22:19:11 -04:00
barisusakli
90224d2de3 removed unique for now 2014-10-15 15:25:51 -04:00
barisusakli
f2883c2c9f createIndex helper 2014-10-15 15:11:01 -04:00
barisusakli
1be6a253bf make _key value index unique 2014-10-15 15:07:30 -04:00
barisusakli
5db24fbe68 closes #2175 2014-10-03 16:31:53 -04:00
Julian Lam
625247611b closed #1959 2014-09-29 12:13:20 -04:00
barisusakli
e8dc9fed3c remove unnecessary index
the _key:1 score:-1 index already handles reverse sorting on score
2014-09-29 00:20:54 -04:00
barisusakli
176023d712 read poolsize from config 2014-09-27 13:27:03 -04:00
barisusakli
c5f9a8a111 increase poolSize to 10 from default 5 2014-09-27 01:20:42 -04:00
Julian Lam
ecea917d11 closed #2097 -- NodeBB will prefer using Redis as session store if at all possible 2014-09-23 17:18:44 -04:00
Julian Lam
20819e3dfd Revert "use redis session storage instead of connect-mongo"
This reverts commit 056f89d6cf.
2014-09-23 17:18:43 -04:00