82 Commits (5549280696533b402f3165e58127c63baafbd78a)

Author SHA1 Message Date
barisusakli 7b550b13b9 display both redis/mongo info if available 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
barisusakli c7128bcc98 part 1 of search change 10 years ago
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. 10 years ago
barisusakli 7cbaa90d36 update to socket.io 1.2.1, return_buffers option 10 years ago
barisusakli 73fb653ddf emit works 10 years ago
psychobunny f149fb0191 linting, TIL that obj.$key is valid syntax 10 years ago
Julian Lam f082849126 removing console.log 10 years ago
Julian Lam 43db2289c2 moving db selection into db.connect, where it should be 10 years ago
Julian Lam 3554887f10 back to using redis.auth 10 years ago
Julian Lam 5a36c33fac fixed #2142 -- passing in cached (pre-required) redis module into socket.io so it uses the same redis module... why? who bloody knows. 10 years ago
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 10 years ago
barisusakli 38494a2af0 pass in session directly 11 years ago
barisusakli 24ebf20d7e first commit 11 years ago
Julian Lam 584fe60284 fixed #1554, redis error handling will go back to crashing the error (though the error will be logged at least) 11 years ago
barisusakli 5f7ed289de print stack on db error 11 years ago
barisusakli 90f5683cc2 read redis host just before connecting 11 years ago
psychobunny 7a823283e4 fixed my derp 11 years ago
psychobunny f892a6793a mongo/redis - don't show passwords when typing in CLI 11 years ago
psychobunny 8a1f6eb43e forgot to export helpers as well for secondary db 11 years ago
psychobunny bba3df6802 moving db.close into the parent module 11 years ago
psychobunny df5f3d185a don't attempt to initialize db until we attempt to initialize 11 years ago
psychobunny 9ad7ce9ca8 organizing redis driver 11 years ago
barisusakli 1e3b88a7f0 passing array straight to redis 11 years ago
barisusakli 9d405812cb changed sortedSetRangeByScore 11 years ago
barisusakli e11efad0b7 added getSortedSetRangeByScore 11 years ago
barisusakli 4f72513f19 removed keys 11 years ago
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
11 years ago
barisusakli 3d68c7c6b6 added getObjectsFields methods to db class, changed getUsers methods to use the new method, refactor to user.js and mongo.js 11 years ago
barisusakli 71f84655ca minor cleanup 11 years ago
barisusakli 57f9f8bc57 closes #1176 11 years ago
Baris Soner Usakli da0e1a8eb9 added back err to redis flushdb 11 years ago
Baris Soner Usakli 4986c8ed3a fixed tests 11 years ago
Baris Soner Usakli 87f337f2fb cleanup 11 years ago
Baris Soner Usakli fff3ba5bec hinted redis.js 11 years ago
Baris Soner Usakli 3958ee4120 added close db command 11 years ago
Julian Lam a2942e22cc Revert "removing exported search methods from redis and mongo"
This reverts commit bba3b76108.
11 years ago
Julian Lam bba3b76108 removing exported search methods from redis and mongo 11 years ago
Baris Soner Usakli 1e44ca3a0f upgrade topics:tid to sorted set, topics:recent doesnt have deleted topics 11 years ago
Baris Soner Usakli a909a25393 closes #1016 11 years ago
Baris Soner Usakli c78942b7a4 added warnings if no pwd setup for db, #936 11 years ago
Julian Lam 8ac7ccb4f8 calling auth immediately after client connection (apparently, not doing so throws errors on install?) 11 years ago
Baris Soner Usakli 9fbd5ed596 removed unused function 11 years ago
Baris Soner Usakli da626a4035 more fixes 11 years ago
Baris Soner Usakli 606367701f pagination on posts 11 years ago
Baris Soner Usakli bc1cde38da added getObjectKeys for julian :) 11 years ago
Baris Soner Usakli 84cbcc5a97 closes #798 11 years ago
Julian Lam a48a7acd51 fixing issue where after a user changed their username, the new name was not reindexed by Reds 11 years ago
Baris Soner Usakli dcf47f558e limit search in db 11 years ago
Baris Soner Usakli bbcc2312db better redis info parser from node-redis 11 years ago