Commit Graph

110 Commits

Author SHA1 Message Date
barisusakli
13609edf82 fix reqFromSocket for socket.io 1.x 2014-11-28 17:46:00 -05:00
barisusakli
c213f77f91 merge 2014-11-28 14:35:21 -05:00
barisusakli
5ac5d20e4b users:online refactor 2014-11-28 14:25:11 -05:00
Julian Lam
1ce3c9ca2d no longer logging warnings for socket.io 2014-11-28 13:44:46 -05:00
Julian Lam
7ad242b981 using redis for user online list management if configured 2014-11-28 12:34:19 -05:00
Julian Lam
e952a873a8 moving onlineUsers from an in-memory variable to a sorted set 2014-11-28 11:50:29 -05:00
barisusakli
4bed05a622 disable stuff that crashes in socket.io 1.x 2014-11-25 15:18:33 -05:00
barisusakli
7cbaa90d36 update to socket.io 1.2.1, return_buffers option 2014-11-24 13:44:59 -05:00
barisusakli
73fb653ddf emit works 2014-11-20 19:02:29 -05:00
barisusakli
82d863b9c8 deps, disabled all server side calls 2014-11-20 16:51:11 -05:00
barisusakli
347e37a224 show warning and errors for socket.io also show info in dev 2014-11-20 15:53:23 -05:00
barisusakli
d177481f94 chop chop 2014-11-19 23:37:55 -05:00
barisusakli
6012223b81 show message name, fix template name overwrite 2014-11-19 22:41:16 -05:00
barisusakli
9c1216eb63 closes #2432 2014-11-19 15:55:01 -05:00
psychobunny
25c7dfbc12 fix crash if socket.handshake is null 2014-10-27 20:23:16 -04:00
barisusakli
63cf8d674d listen disconnect event, display unknow socket method name on dev 2014-10-26 14:30:13 -04:00
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 2014-10-22 13:26:34 -04:00
barisusakli
6cb5f9c098 emit stats to registered users only 2014-10-17 18:46:17 -04:00
barisusakli
c5e1f8e0aa user onlineUsers instead of calculating from rooms 2014-10-17 18:40:20 -04:00
barisusakli
762b2fff37 display user count in browsing 2014-10-16 18:04:04 -04:00
barisusakli
40fe40deac removed users:online set
using websockets.getConnectedClients directly
2014-10-13 22:25:34 -04:00
psychobunny
729ed6fbda all your semi-colons are belongs to me 2014-10-08 12:18:32 -04:00
barisusakli
5f55cc947c watch unwatch
update on toggle, moved isFollowing to api return and template
2014-09-25 16:46:00 -04:00
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. 2014-09-25 11:56:33 -04:00
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 2014-09-23 17:09:46 -04:00
barisusakli
b7eddda8c8 one more fix 2014-09-09 18:32:09 -04:00
barisusakli
20eb4def1d possible fix to online guest count
using socket io rooms instead of syncing between workers.
2014-09-09 18:05:21 -04:00
barisusakli
b7ee875b12 user.isOnline fix
wont hit db on every user socket connect or user disconnect
2014-09-06 22:08:55 -04:00
barisusakli
bf67424fd6 if there are no uids return 2014-09-06 01:55:56 -04:00
barisusakli
421d091828 optimizing browsing users 2014-09-06 00:19:46 -04:00
barisusakli
2008bf28ff auto update user counts dont transmit all room data 2014-09-05 00:28:27 -04:00
barisusakli
190647a074 only update room text if its topic
will fix this in a better way
2014-09-04 23:26:55 -04:00
barisusakli
e28d778c0c fixed my derp 2014-09-04 22:41:02 -04:00
barisusakli
31fb0efbd9 crash fix 2014-09-04 22:32:50 -04:00
barisusakli
707a062661 one more fix 2014-09-04 22:11:21 -04:00
barisusakli
94a3ecdbd1 cluster socket.io fixes
getUserRooms
getUidsInRoom
getAnonCountInRoom
2014-09-04 20:21:03 -04:00
barisusakli
98f338b41c online count fixes for cluster 2014-09-04 17:41:00 -04:00
barisusakli
84d0e64361 fix topic move 2014-09-03 20:19:51 -04:00
barisusakli
c40355b816 removed debug 2014-09-03 14:07:12 -04:00
barisusakli
5362863588 debug 2014-09-03 12:28:24 -04:00
barisusakli
e00124007f testing 2 2014-09-03 01:06:17 -04:00
barisusakli
4f48f1865f removed updateLastOnlineTime from every socket call 2014-09-02 17:36:59 -04:00
barisusakli
26c0b097cf removed realtime update of anon count 2014-09-02 13:49:48 -04:00
barisusakli
171f02101d closes #2035, closes #2036 2014-09-02 05:04:39 -04:00
barisusakli
b8dfbdaff2 small optimization to online users 2014-09-01 23:33:32 -04:00
barisusakli
d0d1ebb28c Merge remote-tracking branch 'origin/master' into 0.5.1 2014-08-14 07:52:11 -04:00
barisusakli
2d0637d7c6 fix user online status on profile page 2014-08-14 07:51:21 -04:00
barisusakli
d12a526e82 check against 0 first 2014-08-13 19:44:59 -04:00
barisusakli
dda0322968 getUsersInCategory 2014-08-13 18:44:40 -04:00
barisusakli
32d46f3889 crash fix 2014-08-12 11:41:18 -04:00