463 Commits (4b1afa8a8c0ba834af85b6ac6438898ea4d0a436)

Author SHA1 Message Date
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
barisusakli c000e852b5 closes #1935 11 years ago
barisusakli 4eabf41a21 dont allow invalid status to be set 11 years ago
barisusakli bedadd8b5f #2137 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 4de658e096 checks 11 years ago
barisusakli 327d1c1bec some cleanup and callbacks for post 11 years ago
psychobunny 251351e245 forgot to require plugins 11 years ago
psychobunny efe11a63a3 woops, wrong property name 11 years ago
psychobunny 9e7f929029 updated filter:sockets.sendNewPostToUids and added type 11 years ago
psychobunny 8f916ed066 filter:sockets.sendNewPostsToUids 11 years ago
barisusakli 4066607388 closes #2052 11 years ago
Julian Lam b85ff61de6 refactored chat notification system to wait a bit before sending notif/email, closes #2098 11 years ago
barisusakli 0a936e5dd1 unreadTids 11 years ago
psychobunny 48c123592e prevent administrators from being deleted - first remove them from admin group 11 years ago
barisusakli 32257c9b2f updateUnreadCount 11 years ago
barisusakli 9a96458f79 closes #2053 11 years ago
barisusakli 7c3dc4877a closes #2089 11 years ago
barisusakli 82e721e854 send new post/topic to users who can read it 11 years ago
barisusakli e56b18822b added topic titles to notifs
upvote, favourite and flag has topic titles now
11 years ago
barisusakli b3d9db10f2 notification fixes
made post notifications unique per post so they dont overwrite other
types.
11 years ago
barisusakli 493d0dea1e part 1 of notif refactor 11 years ago
barisusakli 01f983e29c markAsRead improvement
takes in an array of tids instead of marking topics read 1 by 1
same for the category.markAsRead function
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 242721c73f using websockets 11 years ago
barisusakli 6cd84ebe81 removed parseInt from sorts 11 years ago
barisusakli cc3786e22d closes #2055 11 years ago
barisusakli b7ee875b12 user.isOnline fix
wont hit db on every user socket connect or user disconnect
11 years ago
barisusakli 57e204df8e removed most of the debug
dont get more than 6 usernames for upvote tooltips
generatePostPaths wont check null pids
11 years ago
psychobunny 6aa47efc06 we don't trust user.isOnline, waiting on an optimization (disabling for now) 11 years ago
psychobunny 0de458141b separated the sockets.emit to socket.emit + broadcast so OP gets action right away. moved callback sooner. 11 years ago
barisusakli bf67424fd6 if there are no uids return 11 years ago
barisusakli 421d091828 optimizing browsing users 11 years ago
barisusakli 0dc780148a removed global room
socket.io already puts everyone into a room named ''
11 years ago
barisusakli 9fac18c4b6 derp 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 0b2df849bd Merge remote-tracking branch 'origin/cluster' into cluster
Conflicts:
	loader.js
11 years ago
barisusakli 98f338b41c online count fixes for cluster 11 years ago
Julian Lam 08abbe19bc zero downtime and reload support with cluster module 11 years ago
barisusakli c62f251afc added index and fixed vote button in infinite scroll 11 years ago
barisusakli 84d0e64361 fix topic move 11 years ago
barisusakli 05a9e8b1d6 chat typing notif use room 11 years ago
barisusakli fdafb72c34 removed getUserSockets for chat
emit to users rooms directly
11 years ago