17287 Commits (fc68263f91fba83a471821829c2dece120b0f0b4)
 

Author SHA1 Message Date
Barış Soner Uşaklı d880a7ade0 closes #6771 6 years ago
Barış Soner Uşaklı dff86b1ac9 closes #6740
* flag notifications will go to the flag details page instead of the post or user that was flag
* if you assign a flag to yourself you won't get a notification about it
@benlubar
6 years ago
Julian Lam 3c89befad2 fallbacks for account/sessions 6 years ago
Julian Lam ce6f9ec84e pushing translations for blocks user page 6 years ago
Barış Soner Uşaklı 089bf5d8bb
closes #6773 6 years ago
Julian Lam 06bd4892ce bump composer-default 6 years ago
André Zanghelini f3956299eb Add tooltip in taskbar icons (#6693)
* Add tooltip in taskbar icons

* Translate taskbar title when creating taskbar
6 years ago
Julian Lam 382d06bbb0 fixes #6765 -- no need to have gmods and admins access login sessions page 6 years ago
smyther f120015b54 Fix for user being able to open multiple "delete posts" modals (#6770)
* Implement fix for multiple fork cards showing

* Fix for admin being able to open multiple 'delete posts' modals

* Fix linting issue
6 years ago
Renovate Bot bfadd3ea58 Update dependency eslint to v5.6.0 6 years ago
Barış Soner Uşaklı d996ea27be closes #6763 6 years ago
Barış Soner Uşaklı 6a377568d2 closes #6764 fix typo in notif rescind 6 years ago
Julian Lam 7bde09f645 update issue template to show postgres version command 6 years ago
Renovate Bot c0b96a402e Update dependency jimp to v0.5.0 6 years ago
Misty (Bot) 3a36a2b53b Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı 08dfb3470c fix tests 6 years ago
Barış Soner Uşaklı b43bfa3d5b closes #6759
-moved user.blocks.filter from unread controller to getUnreadTopics so
topics are filtered at other places this function is called
- when a new post is made do not send it to uids that have blocked the
poster
- update getUnreadTids so it does not return topics that have new posts
from blocked users
- update hasReadTopics so it does not return false data if topic has new
posts from blocked users
6 years ago
smyther 0c9907367a Implement fix for multiple fork cards showing (#6757) 6 years ago
Misty (Bot) fe118fe1c3 Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı cfe0e690b5 up themes 6 years ago
Barış Soner Uşaklı 41aae6f418 closes #6749 6 years ago
Barış Soner Uşaklı ebaea9b6c1 closes #6743 6 years ago
Misty (Bot) 60c54d6cdf Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı 37ca5a1c63 filter falsy teasers 6 years ago
Barış Soner Uşaklı 93d52ef338 default to 'recent' sort 6 years ago
Barış Soner Uşaklı ea1697d073 remove console.log 6 years ago
Barış Soner Uşaklı 25fed0aa8d change isPasswordCorrect to return false if user does not have password 6 years ago
Barış Soner Uşaklı 84a0a68b2b up vanilla 6 years ago
Barış Soner Uşaklı 6f18cf368b closes #6741 6 years ago
Andrew Rodrigues bd0983c6a1
add postgres to issue template 6 years ago
Misty (Bot) 59fd27510a Latest translations and fallbacks 6 years ago
Renovate Bot a3cb7dc68a Update dependency nyc to v13 6 years ago
Renovate Bot 3175d58dc0 Update dependency eslint to v5.5.0 6 years ago
Renovate Bot 65497b18fa Update dependency validator to v10.7.1 6 years ago
Barış Soner Uşaklı 446b125c83 escape post content 6 years ago
LudwikJaniuk c7f3b76b4e DRY req props that depend on auth (fix #6727) (#6731)
* DRY req props that depend on auth (fix #6727)

authentication leads to req.loggedIn and req.uid being set. However, a
later authentication event might outdate them. Here, I create one
function for setting those properties, and make sure it also is called
on the `action:middleware.authenticate` hook, which would be such an
authentication event. If there are other places, those should be added
as well.

* fix lint errors

* fix lint error

* change exports
6 years ago
Barış Soner Uşaklı 3e1b007f9f escape title in post queue 6 years ago
renovate[bot] f51b2e07f4 Update dependency jimp to v0.4.0 (#6682) 6 years ago
Misty (Bot) 13044df14e Latest translations and fallbacks 6 years ago
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.
6 years ago
Julian Lam cc532d2c8b bump persona 6 years ago
Julian Lam c2c925cacd closes #6678 6 years ago
Julian Lam 29836aaad9 rename session account middleware to sessions, plural, prep for fixing #6678 6 years ago
Baris Usakli 5b45b2f72c closes #6729 6 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
6 years ago
Julian Lam e882a091a1 updated blocks localisations from Tx 6 years ago
Julian Lam c1725442ea added progress bar to username_email_history upgrade script 6 years ago
Julian Lam 545e678e8a fixes #6726 6 years ago
Julian Lam d3ee71e09f bump persona 6 years ago
Julian Lam ba96a7a7bc bump emoji 6 years ago