Commit Graph

500 Commits (d25ab31427acb190ceb2bcae70e20f380491e434)

Author SHA1 Message Date
Barış Soner Uşaklı 77d47b31fb cleanly shutdown
wait for webserver to stop accepting connections
destroy current connections
wait for db connection to close
Baris Usakli 3c4b4f5263 don't call calback twice
Barış Soner Uşaklı be5c237388 fix decr/incrObjectField if key in array doesn't exist create it
Barış Soner Uşaklı 6a9a73c86c changes to leaveAllGroups
Groups.destroy can take an array of groupnames
Groups.leave can take an array of groupnames
db.incrObjectField/decrObjectField can take an array of keys
db.sortedSetRemove can take an array of keys and values
db.setRemove can take an array of keys
Baris Usakli 38acedf5bb lint
Baris Usakli 959a742c63 add llen to dbal
Barış Soner Uşaklı bce640e514 closes
Barış Soner Uşaklı 7a2d6fe22d Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Barış Soner Uşaklı b084a596fa closes
Barış Soner Uşaklı c0b7d4f5b5 fix redis export
Barış Soner Uşaklı 8a6345ded7 possible fix for pubsub
Ben Lubar e85aabbe74 Allow running as a cluster without Redis ()
* [database/*] Allow databases other than Redis to provide pubsub for clustering if Redis is not present

* [pubsub] Delay messages sent before the database is ready until the database is ready.

* [pubsub] Restore old behavior of not using the database in non-clustered NodeBB instances.

See comment: https://github.com/NodeBB/NodeBB/pull/6233#issuecomment-357814968
Julian Lam 457194b333 Merge branch 'master' into develop
Barış Soner Uşaklı e092778ba6 closes
Ben Lubar 5b1ed21634 [database/mongo] Improve speed of sortedSetRank ()
* [database/mongo] Improve speed of sortedSetRank

* [database/mongo] Fix sortedSetRank to filter by _key
Barış Soner Uşaklı 5146f43b33 remove console.log
Barış Soner Uşaklı 87d40e9e78 fix increment to use data
Barış Soner Uşaklı cbaa977233 fix type on mongodb if key has expireAt
Barış Soner Uşaklı ea8cf6545c change db.set/get to use data field instead of value
Barış Soner Uşaklı 8e04e86e24 closes
Baris Usakli 5ca3b535e7 closes
Baris Usakli dbf815ed47 closes
Baris Usakli 30ae0a5499 another process.nextTick
Baris Usakli e187a0def2 fix method name
Baris Usakli 12546cb9ad break up sync operation
Julian Lam 7e0d0e0eb5 Merge remote-tracking branch 'origin/develop'
Barış Soner Uşaklı 54a84bf130 cache fixes
Barış Soner Uşaklı 43f9c3224f dont crash sortedSetIncryBy on redis if no callback is supplied
Peter Jaszkowiak e609e497b3 Provide more error information to logs
Provides full stack instead of just message
Barış Soner Uşaklı a73c2628c4 cache improvements, stats
Barış Soner Uşaklı e7318a1cea Mongo cache ()
* cache mongodb objects

remove user settings cache since it is cached at the object level

* removed indexOf from isMemberOfSets

* change has to get, change maxAge to 0
Barış Soner Uşaklı 7ad4420b6a closes
Barış Soner Uşaklı 108f84fd19 add type to dbal
Barış Soner Uşaklı 62c81ca0d3 fix lint
Barış Soner Uşaklı 329bfeeb3b convert min/max to float
Barış Soner Uşaklı 923bd86662 Widgets refactor ()
* widgets refactor

render widgets server side
widgets can use all the data the template can use

* fix tests
Baris Usakli e0de922ede Revert "widgets refactor"
This reverts commit 9e94edb5aa.
Baris Usakli 9e94edb5aa widgets refactor
render widgets server side
widgets can use all the data the template can use
Baris Usakli d469f53eba using async in batch
removed unused code in debug
Barış Soner Uşaklı 3d85992757 modify db.processSortedSet so it works with intervals
Baris Usakli 7fe239229d show 3 digits
Peter Jaszkowiak 3c2d4fe649 Switch from underscore to lodash
Barış Soner Uşaklı 890c2eff70 style changes
Barış Soner Uşaklı fe0a5aaf28 fix redis tests
Barış Soner Uşaklı fd0043f36a more tests
Barış Soner Uşaklı 95196ceedc closes
Barış Soner Uşaklı 54a9e7eab9
Barış Soner Uşaklı 33f135c091 closes
Julian Lam ad14b0d60b more fixes for
Barış Soner Uşaklı 7135d25a4a closes