Ben Lubar
97a3079bc0
Optimize PostgreSQL session store.
...
- Sets session ID to be a constant-sized character field inline in the
table instead of a variable-length character field compressed outside
of the row.
- Changes the session data from "json" to "jsonb" which is faster and
smaller on disk with the drawback of not maintaining key order and
whitespace (which we don't care about at all)
- Adds a clustered index on the session expiration timestamp, which will
make periodic session purging much faster.
(For an example, WTDWTF currently has 482355 sessions in the table, and
because there is no index on the expiration timestamp, PostgreSQL must
check all the rows in the table every time.)
This upgrade script can run concurrently with a live NodeBB instance,
but any action that touches sessions will wait until the upgrade script
is done.
Does not touch the database if the database driver is not set to
PostgreSQL or if there is a Redis database configured.
7 years ago
Julian Lam
cc532d2c8b
bump persona
7 years ago
Julian Lam
c2c925cacd
closes #6678
7 years ago
Julian Lam
29836aaad9
rename session account middleware to sessions, plural, prep for fixing #6678
7 years ago
Baris Usakli
5b45b2f72c
closes #6729
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
Julian Lam
e882a091a1
updated blocks localisations from Tx
7 years ago
Julian Lam
c1725442ea
added progress bar to username_email_history upgrade script
7 years ago
Julian Lam
545e678e8a
fixes #6726
7 years ago
Julian Lam
d3ee71e09f
bump persona
7 years ago
Julian Lam
ba96a7a7bc
bump emoji
7 years ago
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
7 years ago
Misty (Bot)
e79f0dad90
Latest translations and fallbacks
7 years ago
Barış Soner Uşaklı
2a2e8136cd
fix tests
7 years ago
Julian Lam
1e3cdc99ac
fixes #6702
7 years ago
Misty (Bot)
6bb62a4728
Latest translations and fallbacks
7 years ago
Andrew Rodrigues
a06b33a713
fix html characters when cloning children categories
7 years ago
Julian Lam
8618afb45d
added Latvian localisation strings
7 years ago
Renovate Bot
40b453e9fd
Update dependency jsdom to v12
7 years ago
Renovate Bot
9e2e32500a
Update dependency smtp-server to v3.4.7
7 years ago
Misty (Bot)
e56b6daee4
Latest translations and fallbacks
7 years ago
Julian Lam
aaa9561b7f
Revert "moved filter:post.getPostSummaryByPids to before parsePosts call"
...
This reverts commit cf82407a8f
.
7 years ago
Misty (Bot)
badb06a9de
Latest translations and fallbacks
7 years ago
Julian Lam
cf82407a8f
moved filter:post.getPostSummaryByPids to before parsePosts call
...
/@pitaj
7 years ago
Renovate Bot
33020b1ee0
Update dependency validator to v10.7.0
7 years ago
Julian Lam
9d202d9be9
closes #424
7 years ago
Renovate Bot
8f724d7611
Update dependency archiver to v3
7 years ago
Julian Lam
70f04bd1c2
fixed client-side console error on vote
7 years ago
Barış Soner Uşaklı
ebe8593421
up dbsearch
7 years ago
Barış Soner Uşaklı
3124cb37db
closes #6712
7 years ago
Julian Lam
e4f0e59c7b
bump composer again
7 years ago
Julian Lam
af55a05122
bump composer
7 years ago
Julian Lam
ff3605fe78
bump markdown
7 years ago
Misty (Bot)
3c6327215c
Latest translations and fallbacks
7 years ago
Renovate Bot
ff593607fa
Update dependency eslint to v5.4.0
7 years ago
Barış Soner Uşaklı
ae4016d9e0
add getCateries to helpers
7 years ago
Julian Lam
18a875c51d
bump markdown
7 years ago
Julian Lam
e7a3dac10b
bump markdown again
7 years ago
Julian Lam
df4c90dc78
bump markdown
7 years ago
Renovate Bot
85eef740a8
Update dependency validator to v10.6.0
7 years ago
Renovate Bot
6a0755ee32
Update Node.js to v8.11.4
7 years ago
Andrew Rodrigues
12940b577b
closes #6703
7 years ago
Misty (Bot)
560e63c97a
Latest translations and fallbacks
7 years ago
Julian Lam
2ce6a85756
properly closes #6698
7 years ago
Julian Lam
82e61d76fd
bump markdown
7 years ago
Renovate Bot
aa1f881e88
Update dependency mocha to v5
7 years ago
Renovate Bot
a84e6c40ae
Update dependency nyc to v12
7 years ago
Renovate Bot
772b5ee115
Update dependency eslint to v5
7 years ago
Renovate Bot
904e3ff8e7
Update dependency eslint-plugin-import to v2.14.0
7 years ago
Renovate Bot
4627fc9cda
Update node:8.11.3 Docker digest to 049869
7 years ago