140 Commits (36895421ba0f8ceae21efbaa324ac8da4794602a)

Author SHA1 Message Date
barisusakli 5d6e2ad083 multiple test fixes 8 years ago
barisusakli 6d97c4cec8 up mongo deps, create session store after db.authenticate 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
barisusakli 4eb8015017 closes #5069 9 years ago
barisusakli 7f041a756d closes #4865 9 years ago
barisusakli dcbf53bae3 moved search to dbsearch 9 years ago
psychobunny 78ea462620 fix crash when redis server isn't running 10 years ago
Julian Lam 96526a37a3 fixed #3218 10 years ago
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 11 years ago
Julian Lam f082849126 removing console.log 11 years ago
Julian Lam 43db2289c2 moving db selection into db.connect, where it should be 11 years ago
Julian Lam 3554887f10 back to using redis.auth 11 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. 11 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 11 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
Baris Soner Usakli f21a98f37f first pass, #524, #667 11 years ago
Baris Soner Usakli 438f90d859 expire functionality in dbal 11 years ago
Baris Soner Usakli b504e2cd11 closes #658 11 years ago
Baris Usakli 5da4cead67 closes #631 11 years ago
Baris Usakli 0000a7f0b9 #631 11 years ago
psychobunny 090d35f306 clean up conditional comments in the DOM; conditionals now treat undefined variables as false; closes #617 11 years ago
Baris Soner Usakli 3a7fcc2d3d search in mongo 11 years ago
Baris Soner Usakli 53ca7a1143 added search functions to database files, removed reds from nodebb moved it to redis 11 years ago
Baris Soner Usakli 447073560f moved reds into redis, fixed notifications prune param 11 years ago
Baris Soner Usakli 1564e3d530 tons of fixes to mongo and redis, to make returns the same 11 years ago
Baris Usakli 806a454b05 fixing notifications.prune 11 years ago
Baris Usakli b927f6ce29 added raw info 11 years ago
Baris Usakli 519d376071 added mongo info function, change admin redis template to database template 11 years ago
Baris Soner Usakli b215dbde19 updated install 11 years ago
Baris Soner Usakli 2e2938616d more mongo and redis stuff 11 years ago
Baris Soner Usakli 53a7eab3e8 removed couple RDB.multis 11 years ago
Baris Soner Usakli 4b5988c269 isSetMember returns true or false 11 years ago
Baris Soner Usakli cfd3a7d126 added flushdb command to both dbs 11 years ago
Baris Soner Usakli 28c75e09a9 can haz sorted sets? 11 years ago
Baris Soner Usakli 3dc3769088 fixed redis.keys 11 years ago
Baris Soner Usakli 3d18c4015a cleanup 11 years ago
Baris Usakli e862a1c4cc added init method to database, progress made 11 years ago
Baris Soner Usakli 6d79521922 moved connect-redis to the redis.db file, expose the sessionStore from redis.js db file, do the same for mongo db with mongo-connect 11 years ago
Baris Soner Usakli b900bc9cce more fixes 11 years ago
Baris Soner Usakli 32d5118266 tons more changes 11 years ago
Baris Soner Usakli 3775c8e50a tons more changes 11 years ago
Baris Usakli c9308efbec more work 11 years ago
Baris Usakli 636551d2e9 plugins.js uses db, added some set methods to redis.js 11 years ago
Baris Usakli 347d6c2768 moved filename function into redis 11 years ago
Baris Usakli 4f654fb489 more work 11 years ago
Baris Usakli 80e7fd93c6 added redis 11 years ago
Baris Usakli 95efb2ae5e started dbal 11 years ago