220 Commits (1864a5082620eb7c727ab7cf322cbb3e39a24f2a)

Author SHA1 Message Date
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
barisusakli dc7839b511 small fix 10 years ago
barisusakli daf1a388eb closes #3039 10 years ago
Barış Soner Uşaklı c9b98306e0 dont require everything in folder
dont want rooms.js to be public
10 years ago
barisusakli 77e956861a #2486
various fixes for socket.io cluster
display user presence correctly
10 years ago
Barış Soner Uşaklı 07572b188b fix crash 10 years ago
barisusakli 558e708576 remove console.log 10 years ago
Barış Soner Uşaklı e5343b7efc dont display cluster warning if not running as cluster 10 years ago
Barış Soner Uşaklı 8eb45fc80a dont remove self from browsing 10 years ago
Barış Soner Uşaklı d20628a8d4 closes #2539 10 years ago
barisusakli 92c869e886 try to get ip from x-forwarded-for first 10 years ago
barisusakli c87c99eadd dont check admin emits against flooding 10 years ago
barisusakli caec718092 callback for getUidsInRoom 10 years ago
barisusakli aab2bc0b39 keep track of the last 20 events 10 years ago
barisusakli 6ccdf187ea closes #2595 10 years ago
barisusakli f6525a13c8 data will be always inside socket.io/ modules 10 years ago
barisusakli e0edb71a8a use socket.io default and ["polling", "websocket"] 10 years ago
barisusakli d68c44fd0a dont sent status update if user set it offline 10 years ago
barisusakli a9e12f4174 remove unused requires 10 years ago
psychobunny da7dcd99a8 #2532 renamed to "socket.io:transports"
Sample config:

"socket.io": {
"transports": ["websocket"]
}
10 years ago
barisusakli 7ec8393004 closes #2532 10 years ago
barisusakli 59545d740c only emit event:user_leave to topic rooms instead of all online users 10 years ago
barisusakli e72ec429a2 remvoed lowered pingTimeout 10 years ago
barisusakli 9b083a6a66 half ping timeout 10 years ago
barisusakli 2e04501224 closes #2516 10 years ago
barisusakli b63c0df8a2 fixed event name 10 years ago
barisusakli ef3b6a2450 closes #2498 10 years ago
barisusakli 7ae7c50f56 app.user 10 years ago
barisusakli d544b19220 set path on socket.io server 10 years ago
barisusakli 3a0b92a0e4 fix path for socket.io subfolder install 10 years ago
barisusakli e7a52b615b remove user from users:online on delete 10 years ago
barisusakli 392be78554 fix whitespace 10 years ago
barisusakli 0a2d543186 removed getUserSockets 10 years ago
barisusakli fa92eb4d5c onDisconnect fix 10 years ago
barisusakli 3a172711f4 socket.io index refactor 10 years ago
barisusakli 14a5de6d9d not used 10 years ago
barisusakli f7c70e2a7a update all socket methods, works on single node 10 years ago
barisusakli 13609edf82 fix reqFromSocket for socket.io 1.x 10 years ago
barisusakli c213f77f91 merge 10 years ago
barisusakli 5ac5d20e4b users:online refactor 10 years ago
Julian Lam 1ce3c9ca2d no longer logging warnings for socket.io 10 years ago
Julian Lam 7ad242b981 using redis for user online list management if configured 10 years ago
Julian Lam e952a873a8 moving onlineUsers from an in-memory variable to a sorted set 10 years ago
barisusakli 4bed05a622 disable stuff that crashes in socket.io 1.x 10 years ago
barisusakli 7cbaa90d36 update to socket.io 1.2.1, return_buffers option 10 years ago
barisusakli 73fb653ddf emit works 10 years ago
barisusakli 82d863b9c8 deps, disabled all server side calls 10 years ago
barisusakli 347e37a224 show warning and errors for socket.io also show info in dev 10 years ago
barisusakli d177481f94 chop chop 10 years ago
barisusakli 6012223b81 show message name, fix template name overwrite 10 years ago
barisusakli 9c1216eb63 closes #2432 10 years ago
psychobunny 25c7dfbc12 fix crash if socket.handshake is null 10 years ago
barisusakli 63cf8d674d listen disconnect event, display unknow socket method name on dev 10 years ago
Julian Lam 62d85b0e26 updated installation data to only create four categories by default, and altered colour to be less stark (heh, what does that mean anyway...). Also added an intro post 11 years ago
barisusakli 6cb5f9c098 emit stats to registered users only 11 years ago
barisusakli c5e1f8e0aa user onlineUsers instead of calculating from rooms 11 years ago
barisusakli 762b2fff37 display user count in browsing 11 years ago
barisusakli 40fe40deac removed users:online set
using websockets.getConnectedClients directly
11 years ago
psychobunny 729ed6fbda all your semi-colons are belongs to me 11 years ago
barisusakli 5f55cc947c watch unwatch
update on toggle, moved isFollowing to api return and template
11 years ago
Julian Lam 5a36c33fac fixed #2142 -- passing in cached (pre-required) redis module into socket.io so it uses the same redis module... why? who bloody knows. 11 years ago
Julian Lam f41be4ae8b exposed redis' "connect" method, so socket.io can call it from outside database/redis.js, fixed NodeBB requiring Redis as a socket.io store. It will now go back to using in-memory store per process, if no redis config is found in the NodeBB configuration. re: #2097 11 years ago
barisusakli b7eddda8c8 one more fix 11 years ago
barisusakli 20eb4def1d possible fix to online guest count
using socket io rooms instead of syncing between workers.
11 years ago
barisusakli b7ee875b12 user.isOnline fix
wont hit db on every user socket connect or user disconnect
11 years ago
barisusakli bf67424fd6 if there are no uids return 11 years ago
barisusakli 421d091828 optimizing browsing users 11 years ago
barisusakli 2008bf28ff auto update user counts dont transmit all room data 11 years ago
barisusakli 190647a074 only update room text if its topic
will fix this in a better way
11 years ago
barisusakli e28d778c0c fixed my derp 11 years ago
barisusakli 31fb0efbd9 crash fix 11 years ago
barisusakli 707a062661 one more fix 11 years ago
barisusakli 94a3ecdbd1 cluster socket.io fixes
getUserRooms
getUidsInRoom
getAnonCountInRoom
11 years ago
barisusakli 98f338b41c online count fixes for cluster 11 years ago
barisusakli 84d0e64361 fix topic move 11 years ago
barisusakli c40355b816 removed debug 11 years ago
barisusakli 5362863588 debug 11 years ago