196 Commits (06bf631445ba2e696b151208355c3ca33e1f5204)

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