Commit Graph

247 Commits (b8896d132842afd17f117d498861d813316aeecf)

Author SHA1 Message Date
barisusakli 878e548296 renamed end to stop globally
fixed getting favourites for admins
Barış Soner Uşaklı 36942125e6 closes
also mark user online if they post a reply
barisusakli b268927cf9 removedu if from filter:parse,post, parse strip teaser content
barisusakli 5bc2e7dac2 closes
Barış Soner Uşaklı cda38d6ed6 closes
Barış Soner Uşaklı 743cd20441 closes
Barış Soner Uşaklı 6680c2d475 Merge pull request from TheBronx/master
new filter hooks on favourite actions 
barisusakli 57ebcb8b8a closes
barisusakli 255f50343c closes
barisusakli cc2ab12f29 removed bans from downvotes and flags
cleanup thread tools emits
barisusakli 2c8e8a1f1c closes , closes
barisusakli 4d9e7fce22 notifyOnlineUsers helper
barisusakli 57453f33ab new group members route
getMembers can take start end
ability to specify how many group members to return
barisusakli 835ad3ea53 fix post.getUpvoters to work with an array
barisusakli 2f955c3af4 getUpvoters works with array
TheBronx 0bd48ef023 fix error in previous commit
fix error in previous commit
TheBronx e3cf528b57 pass also user id on fireHook
pass also user id on fireHook as suggested by @barisusakli
TheBronx 6ccb35576c new filter hooks on favourite actions
before a favourite action is made, fire a filter hook so plugins can
modify or cancel that action before it takes place.
Julian Lam 23b9b21cdd better handling of guest handles in frontend,
Julian Lam 325815a78d showing guest handles in frontend UI
barisusakli 9865f78cbb flat is good
barisusakli f47550d23e closes
barisusakli 5128f7d2f9 prevent crash on invalid data
barisusakli 8bea0bb6e5 fix favourite infinite scroll
psychobunny 113d35887c moved admin.getVoters to posts.getVoters; now getVoters modal can be accessed by moderators as well
barisusakli 1ffa498807 use shortcut
barisusakli 5ac5d20e4b users:online refactor
barisusakli d177481f94 chop chop
barisusakli 7f5984d1fd removed dupe code
barisusakli c974256600 missing radix
barisusakli 671ec8532c fix unfavourite
barisusakli 3d93a76508 removed command param made unvote wrapper
psychobunny 8c98f47688 action:post.upvote / action:post.downvote now sends current status; new: action:post.unvote
barisusakli d2cddc734b fix flagging and post filter
cant flag posts that don't exist anymore
Julian Lam 73dea4fc4e upvote and favourites notif fixing
Julian Lam f0b104fef0 possible fix to
barisusakli 595ff1f4b1 closes
see
https://community.nodebb.org/topic/3039/filter-post-parse-and-filter-post-parsesignature-changes
barisusakli dd135b875b
dont show flag on deleted posts
dont allow flag on deleted posts
dont allow upvote downvote favourite on deleted posts
barisusakli f83dd956eb check if post exists on up/down vote favourite
barisusakli fcc42883ab some checks for purge
barisusakli f6f6ca7f76 closes
barisusakli de98df842d priv fix
psychobunny a67c501eb8 temporary solution for
barisusakli 327d1c1bec some cleanup and callbacks for post
psychobunny efe11a63a3 woops, wrong property name
psychobunny 9e7f929029 updated filter:sockets.sendNewPostToUids and added type
psychobunny 8f916ed066 filter:sockets.sendNewPostsToUids
barisusakli 32257c9b2f updateUnreadCount
barisusakli 82e721e854 send new post/topic to users who can read it
barisusakli e56b18822b added topic titles to notifs
upvote, favourite and flag has topic titles now
barisusakli 493d0dea1e part 1 of notif refactor
barisusakli 242721c73f using websockets
barisusakli 57e204df8e removed most of the debug
dont get more than 6 usernames for upvote tooltips
generatePostPaths wont check null pids
psychobunny 0de458141b separated the sockets.emit to socket.emit + broadcast so OP gets action right away. moved callback sooner.
barisusakli 171f02101d closes , closes
barisusakli 14fcd36134 closes
barisusakli 347fc05376 getPidIndex socket call
barisusakli 05fdc945f3 closes
barisusakli dd9a383f46 removed unused functions
barisusakli dae3ef49be show user names who upvoted a post on mouse over
barisusakli ac43ff3c3d closes
barisusakli df0a5e780a prevent edit to change title length above max
barisusakli f49c95c16f closes
barisusakli 115598f382 minor refactor
barisusakli f71bd41408 more fixes
barisusakli d7520508e3 part1
barisusakli 2c890ad609 moved pushUnreadCount
barisusakli 9fbd535b79 fixes vote buttons on infinite scroll and new posts
barisusakli 9a4e6aa01c closes
barisusakli d57f183f42 privileges.posts.get takes an array of pids now
Julian Lam d229cd21b2 parsing the post content that's passed into bodyLong in notifs
Julian Lam c41bb05711 final pass , closed
Julian Lam d257632878 first pass , updating existing calls to notifications.create, backwards compatibility in case plugins create notifications too.
barisusakli 4c2765a79c closes
barisusakli a65d612907 post purge
barisusakli 6b93095204 more link fixes
barisusakli e20920c536 closes
barisusakli eb0a06b777 closes
barisusakli ee1495a44d fixes reply/quote buttons on new posts
barisusakli df73ceaeb7 closes
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
barisusakli 472e6b5206 privilege cleanup
Julian Lam b1534b7798 removing allowGuestPosting logic in NodeBB
barisusakli 3e86bdb38f more work on
still needs more work, category is next
barisusakli 4234057821 first pass for
this only handles postTools privileges, topic and category will follow
Julian Lam 87f4566e06 more fixed to privs, and ACP modal
barisusakli fc00586f0e 0 disables flags for ban
barisusakli c7744d7a64 closes
barisusakli 7280567d21 closes
barisusakli d43d363a7a refactored topics.js
removed ajaxify.register_events using removeListener now
barisusakli cd3bb77a7f added reqFromSocket to topic posting
new filter topic.post
psychobunny 066b1c0d64 @akhoury and his comments.. :p + jshinting
Aziz Khoury 32a5334402 socket.handshake.address may not always be defined, thanks @psychobunny
Aziz Khoury 056b39709f no need for quotes
Aziz Khoury c7bd27fb3f spaces vs tabs ugh
Aziz Khoury fa7db423c6 adding hook filter:topic.reply for antispam
barisusakli f0428f5f1f removed double post notification
barisusakli f9897daad1 all notifications are translated now closes
Micheil Smith 3e82cab398 Add missing new lines at end of files.
barisusakli eaf4be4979 posts.js error keys
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.
barisusakli a75baef450 removed socket emits for post errors
barisusakli e2d0d4db5c added error and success language files
removed some code from server side that was emitting alerts
barisusakli bdefebeea0 reverting some of my code and fixed properly
Julian Lam 682fa1f874 fixed incorrect scoping for new post event introduced accidentally last commit
Julian Lam 90616c6e7b closed
barisusakli 68db8c04f7 added missing radix
barisusakli 2507d6c853 display_moderator_tools is already returned
when new posts were loaded, we were making a socket call for each post
to check if the post is editable, but this data is already returned in
display_moderator_tools when posts are loaded.
barisusakli e8265efc20 closes
barisusakli 980cf2ccf9 closes
Julian Lam 7b4f596aba updating all group lib methods, and their callers --
barisusakli a0e784a612 closes
barisusakli 33e34ca864 change getRecentPosts to take count
barisusakli 6e6c5688d9 more cleanup
barisusakli 2befa06a33 some cleanup to socket posts
barisusakli 813b3d6fcc changes for live streaming of posts
barisusakli a5f4135c62 added socket listeners to home
psychobunny 5f7f5a37c1 linting
barisusakli 3d68c7c6b6 added getObjectsFields methods to db class, changed getUsers methods to use the new method, refactor to user.js and mongo.js
Baris Soner Usakli b6d97281d3 closes
Baris Soner Usakli 091723a8c5 closes
Baris Soner Usakli ea6cf3bbd5 more cleanup and changes to topics
Baris Soner Usakli 8da7a6f2f3 cleanup
Baris Soner Usakli 3ed2d21eb6 fixed flag post, added highlight to scroll post
Baris Soner Usakli 6e5a6b8784 upgraded categories to sorted set, score is the order set from acp, check if category topic exists before posting
Baris Soner Usakli d6d9776cde added toPid to posts
akhoury 25207852e8 added topics thumbnails support
Baris Soner Usakli 21367a1847 reverse infinite loading
Julian Lam 9e64f4e303 passing in a picture into notifications now
Julian Lam aba1b95cac updating notifications.create to accept a hash instead of discrete arguments - breaking change
Baris Soner Usakli 8456025f28 2 more maps
Baris Soner Usakli d0452dcc80 small pagination fix
psychobunny 60ec23b200 upvote/downvote/unvote socket calls
Baris Soner Usakli 574e981de9 closes , user profile changes
Baris Soner Usakli c7195290c8 added infinite load to user favourites page
Baris Soner Usakli ca06a24df2 only logged in users can flag
Baris Soner Usakli 45e2f7f7f5 removed console.log
Baris Soner Usakli 36ae568349
Baris Soner Usakli ed401de169 closes
Baris Soner Usakli 2988230b07 some more fixes, cant quote and see deleted messages
Baris Soner Usakli 1084523c92 lots of pagination work, query params, ajaxify to pids
Baris Soner Usakli 7f23f848fe fix for mismatch between favourite count and number of people in favourited seT
Baris Soner Usakli 824c5072e8 topics should be marked read correctly if you are already in it
MrWaffle d63ced8a5c Move to client side
Baris Soner Usakli b3816b98a1 more post fixes
Julian Lam 42d6880ac4 migrating posts to new socketAL format
Baris Soner Usakli 8bc0096b00 dont closed composer if callback isn't called
Julian Lam a150691b5e that's the last of it!! :D