581 Commits (14a2db4b2e58d9ba45a73435a91fac48549170c8)

Author SHA1 Message Date
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
barisusakli bd4722665d closes #1725
removed move button from main post, disable moving main post, fixed
moving posts.
11 years ago
barisusakli a4d4e53f45 speed up category purge
using eachLimit
dont emit stats on every topic delete
11 years ago
Julian Lam d229cd21b2 parsing the post content that's passed into bodyLong in notifs #1720 11 years ago
Julian Lam c41bb05711 final pass #1720, closed #1720 11 years ago
Julian Lam d257632878 first pass #1720, updating existing calls to notifications.create, backwards compatibility in case plugins create notifications too. 11 years ago
Charles 51fb7786f5 Don't reset widgets when changing skin 11 years ago
barisusakli ab80016910 fixed group hide for privilege groups 11 years ago
barisusakli 07275b5fc4 some checks to make last admin isnt removed 11 years ago
barisusakli 842a1f90cf fix crash on push 11 years ago
barisusakli 4c2765a79c closes #1679 11 years ago
barisusakli 4fa79dc821 closes #1281
category purge, deletes all topics and posts in the category
11 years ago
barisusakli 311a7ad5b9 #1281 topic purge 11 years ago
barisusakli a65d612907 #1281 post purge 11 years ago
barisusakli 7610c11cd1 closes #450
backup database before upgrade!
upgrade script will take the first post of each topic and set the
`mainPid` property on the topic. then it will remove that pid from the
sorted sets for that topic, this was done to make alternative sorting
work.

added a new sorted set called `tid:<id>:posts:votes` that is used to
sort topic posts by vote count, the original sorted set `tid:<id>:posts`
is used to sort by oldest first or newest first.

the main post is added to the returned posts array on topic load and is
always at the top.
theme changes are minimal just a few new data properties on the posts
and the sorting dropdown.
hopefully didn't miss anything too critical.
11 years ago
barisusakli e1491e4182 fixed wrong admin tags on admin/user/search 11 years ago
barisusakli 6b93095204 more link fixes 11 years ago
barisusakli efe04c12d3 closes #1635
if email isnt confirmed, show a warning in account/edit and let users
resend confirm email
11 years ago
barisusakli b537666e5c closes #1592, closes #1634 11 years ago
barisusakli e20920c536 closes #1630 11 years ago
psychobunny 94312cfda8 closes #1595 11 years ago
psychobunny b2b76f701d woops, okay actually fixing it properly this time 11 years ago
psychobunny d5e55d27ed fix for previous commit 11 years ago
psychobunny d81351579d don't require passing in uid for topics.markAsRead 11 years ago
psychobunny 791fde7904 fixing #1587 properly for unread count 11 years ago
psychobunny 0334a487b5 fixing #1587 properly for profile views 11 years ago
barisusakli eb0a06b777 closes #1577 11 years ago
barisusakli 48aba5fc64 category widget changes 11 years ago
barisusakli 4e8a9fbe27 closes #1582 11 years ago
barisusakli ee1495a44d fixes reply/quote buttons on new posts 11 years ago
Julian Lam 8a510c340b limiting user and group creation so that their slugs can't intersect. 11 years ago
barisusakli df73ceaeb7 closes #1556
added tag input box to composer when creating a topic
added new routes for viewing tags 'tags' and 'tags/:tagname'
respectively
post_bar.tpl shows the tags of the topic
can edit the main post to remove or add new tags
added a new menu item to header to go to the tags page
11 years ago
Julian Lam 3849b2d6b3 added pushGroup method to notifications object #1331 11 years ago
barisusakli 472e6b5206 privilege cleanup 11 years ago
Julian Lam b1534b7798 removing allowGuestPosting logic in NodeBB 11 years ago
Julian Lam 3474cdc5ea added new privilege "find", added guest meta group, closed #1282 11 years ago
barisusakli b1aae05a08 closes #1518 11 years ago
barisusakli 3e86bdb38f more work on #1518
still needs more work, category is next
11 years ago
psychobunny a5a2e6f04e update BS brand colors in ACP 11 years ago
barisusakli 4234057821 first pass for #1518
this only handles postTools privileges, topic and category will follow
11 years ago
Julian Lam 34b522f36d missed a bunch of "editable" checks 11 years ago
Julian Lam 759775ecbe Merge remote-tracking branch 'origin/master' 11 years ago
Julian Lam 87f4566e06 more fixed to privs, and ACP modal 11 years ago
Julian Lam 7c8b442dcd more updates to privileges revamp 11 years ago
barisusakli 4f11ac9664 fixed missing comma 11 years ago
barisusakli da72924187 removed duplication 11 years ago
barisusakli c5d9a68b4b closes #1445 11 years ago
barisusakli fc00586f0e 0 disables flags for ban 11 years ago
barisusakli c7744d7a64 closes #1483 11 years ago
Julian Lam 65dd79c84e socket logic for #1149 -- handling of help tab in ACP 11 years ago
barisusakli 43bbc00be8 closes #1512
spaces are required
11 years ago
barisusakli d304bab4f1 dont change height if sizing horizontally #1508 11 years ago
barisusakli 7280567d21 closes #1505 11 years ago
barisusakli 883978007d closes #1482
removed updateHeader, the header is using template values in from the
api, update menu partial in vanilla theme as well
11 years ago
barisusakli 967b486ce1 closes #1487
ban and delete user admin actions takes an array of uids now.
11 years ago
barisusakli d43d363a7a refactored topics.js
removed ajaxify.register_events using removeListener now
11 years ago
Julian Lam 90269ad9b8 fixed bad example code 11 years ago
Julian Lam a5410f7ae7 added stub plugins socket file for plugin usage (ping @schamper @frissdiegurke @akhoury @psychobunny @barisusakli) 11 years ago
barisusakli 63d88957a8 replace self links client side 11 years ago
barisusakli fdfd421e1c fixes error during user delete and ban 11 years ago
barisusakli cd3bb77a7f added reqFromSocket to topic posting
new filter topic.post
11 years ago
barisusakli c9551abc5d closes #1432
ability to select a default gravatar image (default, identicon,
mystery-man, monsterid, wavatar, retro) or upload a custom image to use
as default gravatar image
11 years ago
psychobunny 066b1c0d64 @akhoury and his comments.. :p + jshinting 11 years ago
Aziz Khoury 32a5334402 socket.handshake.address may not always be defined, thanks @psychobunny 11 years ago
Aziz Khoury 056b39709f no need for quotes 11 years ago
Aziz Khoury c7bd27fb3f spaces vs tabs ugh 11 years ago
Aziz Khoury fa7db423c6 adding hook filter:topic.reply for antispam 11 years ago
barisusakli d05920ec78 refactor of thread tools 11 years ago
barisusakli fa221437dc removed whitespace 11 years ago
barisusakli 6f2ea3eafc closes #1439 11 years ago
barisusakli adf6f34e42 closes #1436 11 years ago
barisusakli cf94a71499 closes #1427
flag and chat buttons are hidden on self posts, updated in vanilla and
lavender
11 years ago
barisusakli a1e6a3616c ability to install/uninstall plugins from ACP 11 years ago
barisusakli 3c11030929 closes #1398 11 years ago
barisusakli 2ad715ead3 closes #1412 11 years ago
barisusakli 8d3f72b5a1 closes #1404 11 years ago
barisusakli e12beccc09 closes #1371
adds a dropdown to category view to move/pin/lock/delete multiple topics
11 years ago
barisusakli f0428f5f1f removed double post notification #1386 11 years ago
barisusakli f9897daad1 all notifications are translated now closes #1388 11 years ago
Julian Lam 8cb2b9b97a fixed #1351 -- themes and plugins no longer auto-restart the server 11 years ago
barisusakli 01555cbb5c return privileges in category 11 years ago
barisusakli 04488a9a14 closes #1139 11 years ago
psychobunny a8801feabe cleanup 11 years ago
psychobunny da665853e4 bugfixes 11 years ago
psychobunny 78dea8ea40 don't attempt to require a directory 11 years ago
psychobunny 5ffeb3319b socket.io admin/groups 11 years ago
psychobunny aaa2dbe757 removed unused topics; fixed require 11 years ago
psychobunny 9e24ccc976 socket.io admin/categories 11 years ago
psychobunny 2fc6bfaa72 socket.io admin/user 11 years ago
barisusakli d832a6f805 closes #1381 11 years ago
psychobunny e5486db1ae Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts:
	src/database.js
11 years ago
barisusakli 3e60451ce4 closes #1013
lets user change languages,
11 years ago
Julian Lam df8728c785 allowing plugins to define new sounds -- woot.
Also moving the core sounds into a separate package, soundpack-default
11 years ago
Micheil Smith 3e82cab398 Add missing new lines at end of files. 11 years ago
barisusakli fdeaf3a16e user.js error keys 11 years ago
barisusakli eaf4be4979 posts.js error keys 11 years ago
barisusakli b07efb0085 modules.js error keys 11 years ago
barisusakli 7b992e7a20 meta.js error language keys 11 years ago
barisusakli 197e61a5d0 admin js language keys 11 years ago
barisusakli d366be7967 added error key 11 years ago
barisusakli 95972209f4 favourite changes
favourites.js no longer makes socket calls, moved that code into
socket.io/posts.js. it also makes a single socket call when you downvote
a post that you previously upvoted.
11 years ago