Commit Graph

71 Commits

Author SHA1 Message Date
Julian Lam
f41be4ae8b exposed redis' "connect" method, so socket.io can call it from outside database/redis.js, fixed NodeBB requiring Redis as a socket.io store. It will now go back to using in-memory store per process, if no redis config is found in the NodeBB configuration. re: #2097 2014-09-23 17:09:46 -04:00
barisusakli
38494a2af0 pass in session directly 2014-07-02 16:13:26 -04:00
barisusakli
24ebf20d7e first commit 2014-07-02 16:13:25 -04:00
Julian Lam
584fe60284 fixed #1554, redis error handling will go back to crashing the error (though the error will be logged at least) 2014-05-28 20:40:40 -04:00
barisusakli
5f7ed289de print stack on db error 2014-04-28 18:55:09 -04:00
barisusakli
90f5683cc2 read redis host just before connecting 2014-04-22 01:39:57 -04:00
psychobunny
7a823283e4 fixed my derp 2014-04-15 12:02:36 -04:00
psychobunny
f892a6793a mongo/redis - don't show passwords when typing in CLI 2014-04-14 20:33:08 -04:00
psychobunny
8a1f6eb43e forgot to export helpers as well for secondary db 2014-04-14 15:15:21 -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
9ad7ce9ca8 organizing redis driver 2014-04-11 15:29:01 -04:00
barisusakli
1e3b88a7f0 passing array straight to redis 2014-04-10 21:13:46 -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
4f72513f19 removed keys 2014-03-12 12:46:34 -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
71f84655ca minor cleanup 2014-03-10 00:17:06 -04:00
barisusakli
57f9f8bc57 closes #1176 2014-03-09 16:39:31 -04:00
Baris Soner Usakli
da0e1a8eb9 added back err to redis flushdb 2014-03-06 14:52:34 -05:00
Baris Soner Usakli
4986c8ed3a fixed tests 2014-03-06 14:51:43 -05:00
Baris Soner Usakli
87f337f2fb cleanup 2014-03-01 16:59:04 -05:00
Baris Soner Usakli
fff3ba5bec hinted redis.js 2014-03-01 15:45:43 -05:00
Baris Soner Usakli
3958ee4120 added close db command 2014-02-21 23:42:16 -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
a909a25393 closes #1016 2014-02-13 21:06:41 -05:00
Baris Soner Usakli
c78942b7a4 added warnings if no pwd setup for db, #936 2014-02-08 14:05:45 -05:00
Julian Lam
8ac7ccb4f8 calling auth immediately after client connection (apparently, not doing so throws errors on install?) 2014-02-01 14:59:45 -05:00
Baris Soner Usakli
9fbd5ed596 removed unused function 2014-01-30 15:21:00 -05:00
Baris Soner Usakli
da626a4035 more fixes 2014-01-26 16:23:37 -05:00
Baris Soner Usakli
606367701f pagination on posts 2014-01-24 20:00:56 -05:00
Baris Soner Usakli
bc1cde38da added getObjectKeys for julian :) 2014-01-23 16:34:54 -05:00
Baris Soner Usakli
84cbcc5a97 closes #798 2014-01-18 22:23:25 -05:00
Julian Lam
a48a7acd51 fixing issue where after a user changed their username, the new name was not reindexed by Reds 2014-01-16 12:34:48 -05:00
Baris Soner Usakli
dcf47f558e limit search in db 2014-01-14 18:04:54 -05:00
Baris Soner Usakli
bbcc2312db better redis info parser from node-redis 2014-01-14 08:20:41 -05:00
Baris Soner Usakli
f21a98f37f first pass, #524, #667 2014-01-03 21:33:41 -05:00
Baris Soner Usakli
438f90d859 expire functionality in dbal 2013-12-31 19:08:38 -05:00
Baris Soner Usakli
b504e2cd11 closes #658 2013-12-23 19:17:03 -05:00
Baris Usakli
5da4cead67 closes #631 2013-12-09 14:37:13 -05:00
Baris Usakli
0000a7f0b9 #631 2013-12-09 14:16:04 -05:00
psychobunny
090d35f306 clean up conditional comments in the DOM; conditionals now treat undefined variables as false; closes #617 2013-12-07 15:48:35 -05:00
Baris Soner Usakli
3a7fcc2d3d search in mongo 2013-12-05 21:07:35 -05:00
Baris Soner Usakli
53ca7a1143 added search functions to database files, removed reds from nodebb moved it to redis 2013-12-05 20:06:36 -05:00
Baris Soner Usakli
447073560f moved reds into redis, fixed notifications prune param 2013-12-05 18:31:15 -05:00
Baris Soner Usakli
1564e3d530 tons of fixes to mongo and redis, to make returns the same 2013-12-05 18:26:26 -05:00
Baris Usakli
806a454b05 fixing notifications.prune 2013-12-05 15:25:58 -05:00