Commit Graph

116 Commits

Author SHA1 Message Date
barisusakli
c7128bcc98 part 1 of search change 2015-03-14 23:00:24 -04: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
Baris Soner Usakli
87f337f2fb cleanup 2014-03-01 16:59:04 -05:00
Baris Soner Usakli
3958ee4120 added close db command 2014-02-21 23:42:16 -05:00
Baris Soner Usakli
de34beaf6d closes #1087 2014-02-21 18:31:59 -05:00
Baris Soner Usakli
eb3b240b04 some cleanup of unread 2014-02-21 15:54:51 -05:00
Baris Soner Usakli
ae93c372ff fixed mongo setAdd and setRemove to accept arrays like redis, fixed infinite scroll for mongo 2014-02-21 14:53:31 -05:00
Julian Lam
a2942e22cc Revert "removing exported search methods from redis and mongo"
This reverts commit bba3b76108.
2014-02-21 00:37:03 -05:00
Julian Lam
bba3b76108 removing exported search methods from redis and mongo 2014-02-20 21:38:31 -05:00
Baris Soner Usakli
1e44ca3a0f upgrade topics:tid to sorted set, topics:recent doesnt have deleted topics 2014-02-14 14:03:54 -05:00
Baris Soner Usakli
c78942b7a4 added warnings if no pwd setup for db, #936 2014-02-08 14:05:45 -05:00
Baris Soner Usakli
917458d48d minor cleanup 2014-02-07 20:04:14 -05:00
Baris Soner Usakli
b2d3578eac check if callback is function 2014-02-07 13:25:14 -05:00