186 Commits (fe3fbb71970eca5dd97c8a24c2546ed7bf7fc1a2)

Author SHA1 Message Date
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 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
barisusakli dda0322968 getUsersInCategory 11 years ago
barisusakli 32d46f3889 crash fix 11 years ago
barisusakli 473310d42d use empty string if referer is undefined 11 years ago
Julian Lam 7b3159292f added some utility functions for #1798, fixed chat notifications bodyLong value 11 years ago
barisusakli 24ebf20d7e first commit 11 years ago
barisusakli b537666e5c closes #1592, closes #1634 11 years ago
barisusakli 4e8a9fbe27 closes #1582 11 years ago
barisusakli d304bab4f1 dont change height if sizing horizontally #1508 11 years ago
barisusakli d43d363a7a refactored topics.js
removed ajaxify.register_events using removeListener now
11 years ago
barisusakli 63d88957a8 replace self links client side 11 years ago
barisusakli cd3bb77a7f added reqFromSocket to topic posting
new filter topic.post
11 years ago
barisusakli fa221437dc removed whitespace 11 years ago
barisusakli 2ad715ead3 closes #1412 11 years ago
psychobunny da665853e4 bugfixes 11 years ago
psychobunny 78dea8ea40 don't attempt to require a directory 11 years ago
Micheil Smith 3e82cab398 Add missing new lines at end of files. 11 years ago
barisusakli a75baef450 removed socket emits for post errors 11 years ago
barisusakli 4e71c8328c closes #1346 11 years ago
barisusakli 3f44f4bb3a closes #1319 11 years ago
barisusakli 46a475fdde controllers/admin/users cleanup 11 years ago
barisusakli 90e398e5c9 user js refactor, category fix
if a category that didn't exist was request with category/1231 or
api/category/1231 it was crashing.
11 years ago
Julian Lam 5a8a3627d2 bringing subfolder installations to v0.4.0 - JUST FOR @PLANNER 11 years ago
Baris Soner Usakli b28e4846a4 fixed disconnect check 11 years ago
Baris Soner Usakli feeb220514 removed console.log 11 years ago
Baris Soner Usakli 1b7f8cc5cb active users fix 11 years ago
Baris Soner Usakli dab71d04bd removed unused var 11 years ago