Commit Graph

9617 Commits (c2c925cacdfa63a4e70faf37c2734162409847af)

Author SHA1 Message Date
Julian Lam c2c925cacd closes
Julian Lam 29836aaad9 rename session account middleware to sessions, plural, prep for fixing
Baris Usakli 5b45b2f72c closes
Barış Soner Uşaklı 0519f84734
Promisify modules ()
* 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
Julian Lam c1725442ea added progress bar to username_email_history upgrade script
Julian Lam 545e678e8a fixes
Julian Lam 5c04ec2d63 removed client-side chat message length check in favour of server-side check, firing new hook on messaging.checkContent for hooks to intercept
Julian Lam 1e3cdc99ac fixes
Andrew Rodrigues a06b33a713 fix html characters when cloning children categories
Julian Lam aaa9561b7f Revert "moved filter:post.getPostSummaryByPids to before parsePosts call"
This reverts commit cf82407a8f.
Julian Lam cf82407a8f moved filter:post.getPostSummaryByPids to before parsePosts call
/@pitaj
Barış Soner Uşaklı ae4016d9e0 add getCateries to helpers
Andrew Rodrigues 12940b577b closes
Julian Lam 2ce6a85756 properly closes
Julian Lam f751d21d1e removed debug line
Julian Lam f9d3484ec6 fixes
Julian Lam ed9dc113b0 sanitizing notes in flags details page, fixes
Julian Lam a77630c6be closes
Ben Lubar 33228bb7fe PostgreSQL database driver ()
* [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.
Jimb Esser 3cccbbc1f2 Add option to enable/disable HSTS
Also fix HSTS middleware being added twice.
Barış Soner Uşaklı 1c286e4536 not even used
Barış Soner Uşaklı fa499aef18 closes
Baris Usakli e7bd0cea74 fix lint
Baris Usakli bcef32c5af closes
Baris Usakli 546b13b897 fix lint and tests
Baris Usakli 79ffae608e closes
Baris Usakli 4200cff47c closes
Julian Lam 3c6c0ed7a1 restoring passwordExpiry for use in continueLogin, fixed tests, hopefully
Julian Lam 786af5fbb3 derp
Julian Lam b6a5419ca1 closes
Julian Lam 4f8815eb78 closes
Julian Lam ea2bd33bfa fixes , restored template values in widget containers
Julian Lam 7dfe953526 closes
Julian Lam 48197e2d25 this upgrade script was written in 2018, not 2017, heh
Barış Soner Uşaklı c7d6cacd98 closes
Ben Lubar 44373afc52 Fix socket.io not working properly in single-host clusters. ()
This is because we don't use the cluster module, so the master nodejs process doesn't know about any of the clients through the socket API.
Julian Lam 3522ad0e05 Revert "closes #6664"
This reverts commit f27a0d252c.
Julian Lam f27a0d252c closes
Julian Lam 506467ad6f closes
Ben Lubar c1e98eefa7 Allow single-host clusters to not send pubsub and socket.io messages through the database. ()
* Allow single-host clusters to not send pubsub and socket.io messages through the database.

* Fix lint errors.
Barış Soner Uşaklı 87b6808c4e refactor to use getCidsByPrivilege
switch to .includes
Ben Lubar f1a6537fc2 Add notification frequencies from nodebb-plugin-upvote-notifications. ()
* Add notification frequencies from nodebb-plugin-upvote-notifications.

https://github.com/boomzillawtf/nodebb-plugin-upvote-notifications

* Fix editing settings clearing upvote notification preferences.
Sebastian G. Marinescu e35d4a7d85 closes
Peter Jaszkowiak 04d31fe1d4 Precompile all templates
- Benchpress compilation is 33x faster now
- Native module with JS fallback and pre-built binaries
- Dev template build is <1sec now
- Minified template build is ~5sec (uglify accounts for almost all)
Julian Lam 7558046e75 add brute-force protection for change password and email actions
Barış Soner Uşaklı 91f9c60660 closes
Barış Soner Uşaklı 85a55d1740 closes
Barış Soner Uşaklı cfb9784527 closes
Baris Usakli 16a7728ab8 fix redis warnings
Baris Usakli cc6a683bc4 closes