Commit Graph

197 Commits (d9d60c20bd743abd0a027efef474916278e3d793)

Author SHA1 Message Date
Julian Lam d9d60c20bd flag updating and note appending,
Julian Lam ede7a71db7 Fixes
On socket.io connection, all clients join a room pertaining to
their express session id. We use this room to keep track of any
sessions in different browser windows (but the same cookie jar),
so if a login/logout occurs, we can throw a session mismatch
modal.

This room can also be used to emit messages across windows/tabs...
barisusakli ee75c69817 post edit tests
barisusakli 1a63672e66 more test fixes
barisusakli 12f366f4b4 more tests
register/login/logout tests
ability to test socket.io emits for logged in users
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule
HeeL 9a0d764bbd Fix wrap-iife linter rule
barisusakli 4eb8015017 closes
barisusakli 80c98e5ecf closes
Julian Lam e26166a45b closes
barisusakli 98d17a0589 fix tab
akhoury 46a57f5d5c rm cls because it's not ready yet
Julian Lam 0a1dea09a0 added missing dependency lib
Julian Lam 85fb9cd9dc in cases where host is not provided in the websocket request, infer one from the referer
Aziz Khoury 3dc63438de hmm-2 ...
Aziz Khoury aac30cb5ec hmm ..
Aziz Khoury 8920c95281 reqFromSocket now support payload and event and uid
Aziz Khoury c07e29bad6 fix circular dependency -- involves indentations fix
Aziz Khoury 807e3a9d7e adding cls back in socketio index
Aziz Khoury 4f3a962f7f what did i do?
Aziz Khoury 01ee020750 bring back disconnect only for CLS purposes
Aziz Khoury 53e9627001 unify request as a store key for both http and websockets calls
barisusakli b6e22b7723 closes
barisusakli 596e5676ff remove status change
barisusakli c9ac1a4027 https://github.com/akhoury/nodebb-plugin-spam-be-gone/issues/46
barisusakli 0b2f01b8bc info page
Barış Soner Uşaklı b147f42f0a show unique user count in acp
barisusakli 7ca7a31a5a only send user status on first connect
akhoury a8411d44fd merge
akhoury 07586c9023 merge
barisusakli 92fba4f396 closes
akhoury 4245cb2739 adding cls support for ws
barisusakli 83cb916264 closes
barisusakli a6074da17e closes
barisusakli 670ed38d75 missing semicolons
barisusakli 7ed378b367 removed override no longer needed
barisusakli 46c2563164 removed rooms.js removed browsing users, removed chat syncing across sockets
use lastonline for online detection
barisusakli 1ecf27417a removed commented out stuff removed topics.enter
barisusakli 491a6d0234 Merge remote-tracking branch 'refs/remotes/origin/master' into room-optimize
barisusakli 0d23c56281 removed event:disconnect
barisusakli bac2a0d959 removed event:connect use socket.io connect event duh
barisusakli 5879185ebc single proc stats
barisusakli 0199ed27a6 disable user_leave for topic
barisusakli be86c74c91 disabled browsing users and global rooms syncing
barisusakli f4bfcc7351 removed icon:bgColor and icon:text from db calls
calculates from username on the fly
Julian Lam b52475c270 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/client/account/edit.js
	src/middleware/middleware.js
	src/socket.io/meta.js
	src/socket.io/user/picture.js
	src/user.js
	src/views/admin/manage/group.tpl
barisusakli 85d09ce2e4 removed unsused require
Julian Lam f6d5b52a8b WIP user-icons
barisusakli 5950f97f96 more refactors
barisusakli 4a06750ae2 io.in logger