198 Commits (8ca36ad12279dd00b042a4261e8a4708bdafe2b4)

Author SHA1 Message Date
Barış Soner Uşaklı 8ca36ad122 closes #6890 6 years ago
Barış Soner Uşaklı c27be9db5a
Recent refactor (#6879)
* wip

* fix inf scroll

* remove duplicated code

* remove dupe code in /unread

* use topicList

* update tag page to use topicList

* fix tests

* combine ifs

* remove more dupe code

* disable timeout
6 years ago
Barış Soner Uşaklı 986511e718 try with higher timeout 6 years ago
Barış Soner Uşaklı 0aebb9caf8 closes #6844 6 years ago
Barış Soner Uşaklı 9dbe68a9cb testing again 6 years ago
Barış Soner Uşaklı 18d0deeccb
update deprecated methods (#6794) 7 years ago
Barış Soner Uşaklı 0519f84734
Promisify modules (#6723)
* WIP promisify

* promisify psql

* ability to skip some keys

* dont promisify client object

* remove async

* clone entire module so it has all properties

* add shim for node 6

* ignore sessionStore as well

* ignore pool on psql
7 years ago
Ben Lubar 33228bb7fe PostgreSQL database driver (#5861)
* [test/database/list] Fix test list 4 being used in two different tests

* [database/postgres] PostgreSQL database driver

* [database/postgres] Make transactions work based on continuation scope.

* [database/postgres] Implement nested transactions

* eslint --fix

* Add database changes from earlier this week to the PostgreSQL driver.

* Fix typo

* Fix postgres.incrObjectFieldBy returning undefined instead of null when given NaN

* [database/postgres] Fix sortedSetsCard returning an array of strings.

* Update socket.io postgres adapter

* Fix PostgreSQL erroring when multiple updates are made to the same sorted set entry in a single operation.

Add a test case to catch this error.

* Fix lint errors.

* Only prune sessions on one instance in a cluster to avoid deadlocks.

They're caught and handled by the database server, but they spam the logs.

* Fix arguments.slice.
7 years ago
Barış Soner Uşaklı 8263f81d0c fix pubsub when only mongodb is used 7 years ago
Barış Soner Uşaklı 3b5d6951bb closes #6499 7 years ago
Barış Soner Uşaklı 77d47b31fb cleanly shutdown
wait for webserver to stop accepting connections
destroy current connections
wait for db connection to close
7 years ago
Barış Soner Uşaklı 8a6345ded7 possible fix for pubsub 7 years ago
Ben Lubar e85aabbe74 Allow running as a cluster without Redis (#6233)
* [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
7 years ago
Baris Usakli 5ca3b535e7 closes #6105 7 years ago
Peter Jaszkowiak e609e497b3 Provide more error information to logs
Provides full stack instead of just message
7 years ago
Barış Soner Uşaklı 7ad4420b6a closes #6000 7 years ago
Baris Usakli 7fe239229d show 3 digits 8 years ago
Peter Jaszkowiak 3c2d4fe649 Switch from underscore to lodash 8 years ago
Barış Soner Uşaklı fd0043f36a more tests 8 years ago
Barış Soner Uşaklı 54a9e7eab9 #5674 8 years ago
Barış Soner Uşaklı 33f135c091 closes #5675 8 years ago
barisusakli b91b41dfa3 show database values in gbs 8 years ago
barisusakli b7b65c7d63 change style 8 years ago
barisusakli 65a65b19c0 tests for #5600 8 years ago
barisusakli 9f8d80e3a4 closes #5600 8 years ago
Peter Jaszkowiak 57696b22f4 Partial fix #5538 8 years ago
Barış Soner Uşaklı 6b0a907ede closes #5552 8 years ago
Julian Lam b6134b160e moved auto_reconnect out of socketOptions object for Mongo 8 years ago
barisusakli 5e0de4b8fb closes #5517 8 years ago
barisusakli 0c7dee05ef fix lint 8 years ago
barisusakli 92fa9fecb6 add mongodb connection options #3670
increase reconnect tries
add keepAlive setting
set autoReconnect to true, should be on by default
8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak a038c66549 ESlint quotes 8 years ago
Peter Jaszkowiak b1b486f729 ESlint quote-props 8 years ago
Peter Jaszkowiak 3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak 1cf25f57fc ESlint no-space-func 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
Dominic Lennon 3f116e7636 Fixing null ttl issue for MongoSession 8 years ago
Dominic Lennon b1f0f8fa8b Adding ttl value to the MongoStore options 8 years ago
Dominic Lennon a06e39528f Code review change 8 years ago
Dominic Lennon ed19454eca Adding more specific timing for session timings 8 years ago
Dominic Lennon d248ef95cd Fix for issue #5334. SessionStore now uses the correct value 8 years ago
Barış Soner Uşaklı e0501656b6 parallel startup 8 years ago
Barış Soner Uşaklı bca6151892 fix lint 8 years ago
Barış Soner Uşaklı 8c8e2ae190 closes #5271 8 years ago
barisusakli 1c3d9f7e94 switch to createIndex 8 years ago
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 3275d26590 removed comments 9 years ago