Commit Graph

450 Commits

Author SHA1 Message Date
Julian Lam
b85ff61de6 refactored chat notification system to wait a bit before sending notif/email, closes #2098 2014-09-16 13:28:21 -04:00
barisusakli
0a936e5dd1 unreadTids 2014-09-16 12:38:31 -04:00
psychobunny
48c123592e prevent administrators from being deleted - first remove them from admin group 2014-09-16 12:20:06 -04:00
barisusakli
32257c9b2f updateUnreadCount 2014-09-16 11:06:10 -04:00
barisusakli
9a96458f79 closes #2053 2014-09-15 16:26:25 -04:00
barisusakli
7c3dc4877a closes #2089 2014-09-15 14:34:01 -04:00
barisusakli
82e721e854 send new post/topic to users who can read it 2014-09-14 14:19:36 -04:00
barisusakli
e56b18822b added topic titles to notifs
upvote, favourite and flag has topic titles now
2014-09-14 12:07:28 -04:00
barisusakli
b3d9db10f2 notification fixes
made post notifications unique per post so they dont overwrite other
types.
2014-09-14 12:07:27 -04:00
barisusakli
493d0dea1e part 1 of notif refactor 2014-09-14 12:07:23 -04:00
barisusakli
01f983e29c markAsRead improvement
takes in an array of tids instead of marking topics read 1 by 1
same for the category.markAsRead function
2014-09-10 21:44:19 -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
242721c73f using websockets 2014-09-07 14:13:05 -04:00
barisusakli
6cd84ebe81 removed parseInt from sorts 2014-09-07 13:03:06 -04:00
barisusakli
cc3786e22d closes #2055 2014-09-06 22:28:09 -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
57e204df8e removed most of the debug
dont get more than 6 usernames for upvote tooltips
generatePostPaths wont check null pids
2014-09-06 20:46:18 -04:00
psychobunny
6aa47efc06 we don't trust user.isOnline, waiting on an optimization (disabling for now) 2014-09-06 02:22:25 -04:00
psychobunny
0de458141b separated the sockets.emit to socket.emit + broadcast so OP gets action right away. moved callback sooner. 2014-09-06 02:22:24 -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
0dc780148a removed global room
socket.io already puts everyone into a room named ''
2014-09-05 22:11:21 -04:00
barisusakli
9fac18c4b6 derp 2014-09-05 17:39:24 -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
0b2df849bd Merge remote-tracking branch 'origin/cluster' into cluster
Conflicts:
	loader.js
2014-09-04 17:43:44 -04:00
barisusakli
98f338b41c online count fixes for cluster 2014-09-04 17:41:00 -04:00
Julian Lam
08abbe19bc zero downtime and reload support with cluster module 2014-09-04 17:09:57 -04:00
barisusakli
c62f251afc added index and fixed vote button in infinite scroll 2014-09-04 01:48:57 -04:00
barisusakli
84d0e64361 fix topic move 2014-09-03 20:19:51 -04:00
barisusakli
05a9e8b1d6 chat typing notif use room 2014-09-03 18:07:56 -04:00
barisusakli
fdafb72c34 removed getUserSockets for chat
emit to users rooms directly
2014-09-03 17:22:29 -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
6b39e328f5 chat fix 2014-09-02 16:01:45 -04:00
barisusakli
e495db3065 dont make a copy of chat message 2014-09-02 15:50:02 -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
1ed4c984bb Merge remote-tracking branch 'origin/master' into 0.5.1 2014-09-01 17:36:00 -04:00
barisusakli
0b79a73732 crash fix
if composer is opened in a topic that was deleted/purged
2014-09-01 17:24:23 -04:00
barisusakli
14fcd36134 closes #2028 2014-08-30 15:39:20 -04:00
barisusakli
197226eea6 closes #1742 2014-08-29 15:57:20 -04:00