Commit Graph

127 Commits

Author SHA1 Message Date
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
barisusakli
c640e01969 show stack 2014-09-21 22:07:08 -04:00
psychobunny
056f89d6cf use redis session storage instead of connect-mongo 2014-09-06 02:22:23 -04:00
barisusakli
c62f251afc added index and fixed vote button in infinite scroll 2014-09-04 01:48:57 -04:00
barisusakli
c8692f0562 Merge remote-tracking branch 'origin/0.5.1' into cluster 2014-09-03 23:43:52 -04:00
barisusakli
f81acd37db added indices on search key and id for mongo 2014-09-03 23:43:07 -04:00
barisusakli
10b30e303b mongo posting fix 2014-09-03 19:38:48 -04:00
barisusakli
0c8c6632d9 create index on key value 2014-09-01 20:12:34 -04:00
barisusakli
487793e692 create index on score field 2014-09-01 19:44:43 -04:00
barisusakli
24ebf20d7e first commit 2014-07-02 16:13:25 -04:00
psychobunny
f892a6793a mongo/redis - don't show passwords when typing in CLI 2014-04-14 20:33:08 -04:00
psychobunny
71d33c0a79 fixed mongo helpers 2014-04-14 17:09:03 -04:00
psychobunny
290e348851 move database helpers into their own files 2014-04-14 15:09:57 -04:00
psychobunny
bba3df6802 moving db.close into the parent module 2014-04-14 13:51:45 -04:00
psychobunny
df5f3d185a don't attempt to initialize db until we attempt to initialize 2014-04-14 13:41:33 -04:00
psychobunny
46b6a93e98 organizing mongo driver 2014-04-11 15:44:53 -04:00
barisusakli
9d405812cb changed sortedSetRangeByScore 2014-04-10 20:59:17 -04:00
barisusakli
e11efad0b7 added getSortedSetRangeByScore 2014-03-18 13:25:09 -04:00
barisusakli
7b409c095c mongo callback refactor 2014-03-12 13:38:25 -04:00
barisusakli
4f72513f19 removed keys 2014-03-12 12:46:34 -04:00
barisusakli
6eff7d4c51 mongo cleanup 2014-03-12 02:04:31 -04:00
barisusakli
76037a5f14 closes #1191
added a new method called isSetMembers takes in an array of values to
test if they are members of a set
2014-03-11 14:43:42 -04:00
barisusakli
3d68c7c6b6 added getObjectsFields methods to db class, changed getUsers methods to use the new method, refactor to user.js and mongo.js 2014-03-11 03:39:41 -04:00
barisusakli
23e1cc010c removed removeHiddenFields function, using mongo selector instead 2014-03-08 17:41:23 -05:00
Baris Soner Usakli
d34e68ca25 convert score to int in mongo 2014-03-06 15:31:10 -05:00
Baris Soner Usakli
4986c8ed3a fixed tests 2014-03-06 14:51:43 -05:00
Baris Soner Usakli
37aeda14c4 fixed email retrieval in mongo 2014-03-03 16:16:41 -05:00