581 Commits (14a2db4b2e58d9ba45a73435a91fac48549170c8)

Author SHA1 Message Date
barisusakli 5d79d2a75a closes #2191
added unique visitors analytics
only update it every hour
10 years ago
psychobunny 0d741f0031 commenting out the reconnection messages, it's annoying if you have 500 users online
not sure if we do need it though, so just leaving it there for now
10 years ago
psychobunny 729ed6fbda all your semi-colons are belongs to me 10 years ago
psychobunny 4b295decf8 forgot to update meta.title.build in socket.io/meta.js 10 years ago
barisusakli f6f6ca7f76 closes #2132 10 years ago
barisusakli 394a01fdef closes #2188 10 years ago
barisusakli ccf58ed40e closes #2213 10 years ago
barisusakli 258e14e20c closes #2225 10 years ago
psychobunny 2a2490541f some minor linting elsewhere 10 years ago
barisusakli 5db24fbe68 closes #2175 10 years ago
barisusakli c37cfe4b3f closes #2209 10 years ago
barisusakli de98df842d priv fix 11 years ago
psychobunny a67c501eb8 temporary solution for #2206 11 years ago
barisusakli 9c996e4b99 on config save update meta.config on all workers
also dont make 20 socket.emit calls for each setting field, everything
will be send in 1 socket call.
11 years ago
psychobunny 6a8ccf1ad5 now getting topic names for topics presence chart; adjusted layout to make it more responsive 11 years ago
psychobunny 51c3f0d77a topic presence graph, coolest one yet imo 11 years ago
psychobunny b34ec8d732 user presence pie chart 11 years ago
psychobunny d79b6b3803 forum traffic graph - unique visitors vs pageviews 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
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
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 6b39e328f5 chat fix 11 years ago
barisusakli e495db3065 dont make a copy of chat message 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 1ed4c984bb Merge remote-tracking branch 'origin/master' into 0.5.1 11 years ago
barisusakli 0b79a73732 crash fix
if composer is opened in a topic that was deleted/purged
11 years ago
barisusakli 14fcd36134 closes #2028 11 years ago
barisusakli 197226eea6 closes #1742 11 years ago
barisusakli 5f2380fdcd dont display all categories 11 years ago
Julian Lam cc930e4042 Merge branch '0.5.1' into topic_searching
Conflicts:
	src/socket.io/topics.js
11 years ago
barisusakli 94c765fa25 closes #1996 11 years ago
Julian Lam df5283cbae Merge remote-tracking branch 'origin/0.5.1' into topic_searching 11 years ago
barisusakli 347fc05376 getPidIndex socket call 11 years ago
Julian Lam 5d32073f2c Merge branch '0.5.1' into topic_searching 11 years ago
barisusakli eef200be10 closes #1284 11 years ago
Julian Lam 5f96823f66 allowed the "forum updated" message to show up for reloads as well 11 years ago
Julian Lam ab77e6767e closed #2011 11 years ago
barisusakli 5a42b6a7ea closes #2009 11 years ago
barisusakli d411ed5c28 closes #1995 11 years ago
Barış Soner Uşaklı 02889f2e70 call callback on follow/unfollow 11 years ago
barisusakli 05fdc945f3 closes #1993 11 years ago
barisusakli dd9a383f46 removed unused functions 11 years ago
barisusakli ca90afd544 #1992
(drunk) not even done yet
11 years ago
barisusakli d852f284da closes #1948 11 years ago
barisusakli 931d46fe7e merge 11 years ago
barisusakli b50b5e4787 satifying my OCD
fire hook after successful follow/unfollow
11 years ago
psychobunny 0c17ee15f7 action:user.follow and action:user.unfollow 11 years ago
barisusakli c58712e2a9 closes #1971 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 e909e46786 closes #1989 11 years ago
barisusakli 3ab2e70e07 Merge remote-tracking branch 'origin/master' into 0.5.1 11 years ago
barisusakli dda0322968 getUsersInCategory 11 years ago
barisusakli dae3ef49be show user names who upvoted a post on mouse over 11 years ago
barisusakli ac43ff3c3d closes #1970 11 years ago
barisusakli 32d46f3889 crash fix 11 years ago
barisusakli c07d9121df small optimizations
user.isOnline works with an array of uids
do not make 2 trips to db to get main post and first 10 posts
11 years ago
barisusakli df0a5e780a prevent edit to change title length above max 11 years ago
barisusakli 59d4d2880f fixed markAsUnreadForAll permissions 11 years ago
barisusakli 906e1a3846 removed unused meta 11 years ago
barisusakli 90ac399f6d fix topics.loadMore so it checks read permission 11 years ago
barisusakli f55d1897c8 fix categories.loadMore so it checks read permission 11 years ago
barisusakli f49c95c16f closes #1950 11 years ago
barisusakli 5ce0ebb4ac single socket call on topic enter 11 years ago
barisusakli 473310d42d use empty string if referer is undefined 11 years ago
barisusakli e420ee5fb6 privilege fix for single category check 11 years ago
barisusakli c6c23aad5e eachLimit on move all topics 11 years ago
barisusakli 115598f382 minor refactor 11 years ago
Julian Lam 925cd99afb Merge branch 'master' into topic_searching 11 years ago
Julian Lam 89a9d4b7f2 logic for #1837 11 years ago
barisusakli f71bd41408 more fixes 11 years ago
barisusakli d7520508e3 #1375 part1 11 years ago
Julian Lam 91ce3634fc fixed #1904 11 years ago
Julian Lam 8296dc5630 beginning topic searching + new hook 11 years ago
psychobunny b604a4961c thanks @barisusakli 11 years ago
psychobunny 788b16fa62 adding uid to the topic hooks, so plugins can know the user that did the action 11 years ago
psychobunny 685cd38162 calculate levenshtein distance between recent chat messages and temporarily ban if determined to be spam 11 years ago
psychobunny cb08d4b04f getting rid of this one for good 11 years ago
barisusakli ef8bbdd359 closes #1864
doing andrew's //todo's since 1991
11 years ago
barisusakli 04c6ca2ebb closes #1862 11 years ago
barisusakli a4975cab33 closes #1825, closes #1674 11 years ago
psychobunny d78fdb1520 more confusing, works perfectably 11 years ago
psychobunny a67e0ea3c2 less confusing 11 years ago
barisusakli 2c890ad609 moved pushUnreadCount 11 years ago
barisusakli 6d8cc5648c some tag hooks/filters 11 years ago
barisusakli 9fbd535b79 fixes vote buttons on infinite scroll and new posts 11 years ago
psychobunny 4cbe97a466 don't need this file anymore 11 years ago
Julian Lam dae2e14aac epic hax to make the chat message list resize #1788 11 years ago
Julian Lam 7b3159292f added some utility functions for #1798, fixed chat notifications bodyLong value 11 years ago
Julian Lam 71916f0691 marathon bugfixing with @barisusakli re: #1788 11 years ago
barisusakli 24ebf20d7e first commit 11 years ago
barisusakli e6c9647acf display user post topic stats in admin index 11 years ago
barisusakli 9a4e6aa01c closes #1774 11 years ago
barisusakli d57f183f42 privileges.posts.get takes an array of pids now 11 years ago
barisusakli a9e5e82431 closes #1758 11 years ago
barisusakli 3c3ad7d115 closes #1728 11 years ago