112 Commits (14a5de6d9d6651b7870c2ff4619535add9124252)

Author SHA1 Message Date
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 10 years ago
barisusakli 6cb5f9c098 emit stats to registered users only 10 years ago
barisusakli c5e1f8e0aa user onlineUsers instead of calculating from rooms 10 years ago
barisusakli 762b2fff37 display user count in browsing 10 years ago
barisusakli 40fe40deac removed users:online set
using websockets.getConnectedClients directly
10 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
barisusakli e00124007f testing 2 11 years ago
barisusakli 4f48f1865f removed updateLastOnlineTime from every socket call 11 years ago
barisusakli 26c0b097cf removed realtime update of anon count 11 years ago
barisusakli 171f02101d closes #2035, closes #2036 11 years ago
barisusakli b8dfbdaff2 small optimization to online users 11 years ago
barisusakli d0d1ebb28c Merge remote-tracking branch 'origin/master' into 0.5.1 11 years ago
barisusakli 2d0637d7c6 fix user online status on profile page 11 years ago
barisusakli d12a526e82 check against 0 first 11 years ago