Commit Graph

114 Commits (0bb04249988866e3f0ab81df749b8bc79aa1f2fe)

Author SHA1 Message Date
barisusakli 0bb0424998 bubble error
barisusakli 90224d2de3 removed unique for now
barisusakli f2883c2c9f createIndex helper
barisusakli 1be6a253bf make _key value index unique
barisusakli 5db24fbe68 closes
Julian Lam 625247611b closed
barisusakli e8dc9fed3c remove unnecessary index
the _key:1 score:-1 index already handles reverse sorting on score
barisusakli 176023d712 read poolsize from config
barisusakli c5f9a8a111 increase poolSize to 10 from default 5
Julian Lam ecea917d11 closed -- NodeBB will prefer using Redis as session store if at all possible
Julian Lam 20819e3dfd Revert "use redis session storage instead of connect-mongo"
This reverts commit 056f89d6cf.
barisusakli c640e01969 show stack
psychobunny 056f89d6cf use redis session storage instead of connect-mongo
barisusakli c62f251afc added index and fixed vote button in infinite scroll
barisusakli c8692f0562 Merge remote-tracking branch 'origin/0.5.1' into cluster
barisusakli f81acd37db added indices on search key and id for mongo
barisusakli 10b30e303b mongo posting fix
barisusakli 0c8c6632d9 create index on key value
barisusakli 487793e692 create index on score field
barisusakli 24ebf20d7e first commit
psychobunny f892a6793a mongo/redis - don't show passwords when typing in CLI
psychobunny 71d33c0a79 fixed mongo helpers
psychobunny 290e348851 move database helpers into their own files
psychobunny bba3df6802 moving db.close into the parent module
psychobunny df5f3d185a don't attempt to initialize db until we attempt to initialize
psychobunny 46b6a93e98 organizing mongo driver
barisusakli 9d405812cb changed sortedSetRangeByScore
barisusakli e11efad0b7 added getSortedSetRangeByScore
barisusakli 7b409c095c mongo callback refactor
barisusakli 4f72513f19 removed keys
barisusakli 6eff7d4c51 mongo cleanup
barisusakli 76037a5f14 closes
added a new method called isSetMembers takes in an array of values to
test if they are members of a set
barisusakli 3d68c7c6b6 added getObjectsFields methods to db class, changed getUsers methods to use the new method, refactor to user.js and mongo.js
barisusakli 23e1cc010c removed removeHiddenFields function, using mongo selector instead
Baris Soner Usakli d34e68ca25 convert score to int in mongo
Baris Soner Usakli 4986c8ed3a fixed tests
Baris Soner Usakli 37aeda14c4 fixed email retrieval in mongo
Baris Soner Usakli 87f337f2fb cleanup
Baris Soner Usakli 3958ee4120 added close db command
Baris Soner Usakli de34beaf6d closes
Baris Soner Usakli eb3b240b04 some cleanup of unread
Baris Soner Usakli ae93c372ff fixed mongo setAdd and setRemove to accept arrays like redis, fixed infinite scroll for mongo
Julian Lam a2942e22cc Revert "removing exported search methods from redis and mongo"
This reverts commit bba3b76108.
Julian Lam bba3b76108 removing exported search methods from redis and mongo
Baris Soner Usakli 1e44ca3a0f upgrade topics:tid to sorted set, topics:recent doesnt have deleted topics
Baris Soner Usakli c78942b7a4 added warnings if no pwd setup for db,
Baris Soner Usakli 917458d48d minor cleanup
Baris Soner Usakli b2d3578eac check if callback is function
Baris Soner Usakli dedf4add53 better incr for mongo
Baris Soner Usakli da626a4035 more fixes