206 Commits (63f449d0adf90bc556d935ce0c3c0168b689d45d)

Author SHA1 Message Date
barisusakli 761f56aeb1 removed most of the db.sortedSetCards 11 years ago
barisusakli b1d48df6d8 dont modify counts on soft post delete 11 years ago
barisusakli 5de74914bd moved updateCounters to purge 11 years ago
barisusakli 040d7b8424 limit unread to 100 tids 11 years ago
barisusakli 835c58d27d mark read after infinite scroll
dont mark read if already read
11 years ago
psychobunny d632ba2242 fix post crash from 712bd3938f 11 years ago
barisusakli 712bd3938f parse post in Topics.reply not in Posts.create
makes importer faster if md plugin is enabled
11 years ago
barisusakli cf5ac4fb74 filter before getting topics 11 years ago
barisusakli 31a1f85a7e removed year from popular 11 years ago
barisusakli 2af077544b make sure postcount isnt NaN 11 years ago
barisusakli 6aa53b8323 nextStart changes, fixed move topic notification text 11 years ago
barisusakli 2bc7007953 removed sendUnread function 11 years ago
barisusakli 5fc760c6c4 unread changes 11 years ago
barisusakli 998ed24589 check topic cid 11 years ago
barisusakli 21f65cbb6a crash fix 11 years ago
barisusakli 4de658e096 checks 11 years ago
barisusakli f3f4711a60 wait for callback 11 years ago
barisusakli 327d1c1bec some cleanup and callbacks for post 11 years ago
psychobunny 45383ce21e posts.getPostsByTid and posts.getPostsByPids now require a uid passed in 11 years ago
barisusakli b48d81310c #2095 11 years ago
barisusakli 0a936e5dd1 unreadTids 11 years ago
barisusakli 51eac70f67 fixed derp 11 years ago
barisusakli 32257c9b2f updateUnreadCount 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 6cd84ebe81 removed parseInt from sorts 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
barisusakli 0d5605ab35 trace in addPostData 11 years ago
psychobunny 099a04c1c8 disabling pushUnreadCount for now, perhaps this might be good on redis too? 11 years ago
psychobunny 07376c9a4c look for unread only for today 11 years ago
barisusakli 3f96532c3f disabled 2 calls 11 years ago
barisusakli 8e86f4b787 crash fix 11 years ago
barisusakli 9fac18c4b6 derp 11 years ago
barisusakli 10b30e303b mongo posting fix 11 years ago
barisusakli 4736a68534 dont create term object on each call 11 years ago
barisusakli 74282ffeea removed another unnecessary socket call 11 years ago
barisusakli 761d59f5ec each limit on pushUnreadCount 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 4f5c78d675 merge 11 years ago
barisusakli 537dea4e4b crash fix 11 years ago
barisusakli e6b3da18f2 merge 11 years ago
barisusakli 87c8cd2fb0 another crash fix 11 years ago
barisusakli 197226eea6 closes #1742 11 years ago
barisusakli acef614147 removed 2 BS classes 11 years ago
barisusakli 94c765fa25 closes #1996 11 years ago
barisusakli eef200be10 closes #1284 11 years ago
barisusakli 62dd056faa tag search 11 years ago
barisusakli d411ed5c28 closes #1995 11 years ago
barisusakli 05fdc945f3 closes #1993 11 years ago
barisusakli ca90afd544 #1992
(drunk) not even done yet
11 years ago
barisusakli a9ca035e1e gotto check read after each pass 11 years ago
barisusakli 522fda2e58 closes #1936 11 years ago
barisusakli cd096f8832 sortedSetScores for tag counts 11 years ago
barisusakli e10eaf0d50 added tag counts to api return 11 years ago
barisusakli d91fa5747d closes #1964 11 years ago
barisusakli c9c454825e closes #1369 11 years ago
barisusakli ceaedf9e2f closes #1941 11 years ago
barisusakli b5cc852551 do a single filter after getting all unread tids 11 years ago
barisusakli 528ee335d5 optimize getTopicsByTids and getTeasers 11 years ago
barisusakli 95979d9d97 closes #1947 11 years ago
barisusakli e420ee5fb6 privilege fix for single category check 11 years ago
barisusakli c217834165 fixed typo 11 years ago
barisusakli 7bfec99df1 permission fix for popular page 11 years ago
barisusakli fed8cc6d53 optimize privileges and assorted fixes.
* new methods
privileges.categories.filter
privileges.topics.filter
privileges.posts.filter

they take a list of ids and a privilege, and return the filtered list of
ids, faster than doing  async.filter and calling the db for each id.

* remove event listeners on recent page before adding
* group.exists works for both single group names and arrays
* helpers.allowedTo works for both a single cid and an array of cids
* moved filter:topic.post hook right before topic creation.
* moved filter:topic.reply hook right before topic reply.
11 years ago
barisusakli f31978aa2c moved core notifications all the way to the end 11 years ago
barisusakli f71bd41408 more fixes 11 years ago
barisusakli d7520508e3 #1375 part1 11 years ago
barisusakli fa8fcc00ec fix tag counts
if a tag is removed from a topic, update number of topics in that tag
11 years ago
barisusakli bc2f7339ee getLatestUndeletedPid will return string #1884 11 years ago
barisusakli 2bf38ec84b handle pinned topics 11 years ago
barisusakli 82ffaad939 parseint 11 years ago
barisusakli a69973e7a7 topics.getPids will return mainPid as well 11 years ago
barisusakli 2c890ad609 moved pushUnreadCount 11 years ago
barisusakli 67d5307a8f small change to tag search 11 years ago
barisusakli 6d8cc5648c some tag hooks/filters 11 years ago
barisusakli 0362c1a3b0 show day/week/month/year popular topics 11 years ago
barisusakli b2ece27263 topic post hook 11 years ago
psychobunny 1d8aeda9c2 closes #1814 11 years ago
barisusakli d57f183f42 privileges.posts.get takes an array of pids now 11 years ago
barisusakli 6cd29a31a4 removed timing 11 years ago
barisusakli c3a9767bf6 late night optimizations
-isMemberOfSets returns true/false instead of 1/0
-when loading the posts of a topic only get the userdata for each user
once, before this commit if a topic had 10 posts from 2 different users
we were getting the user data for each user 5 times (drunk)
-getVoteStatusByPostIDs and getFavouritesByPostIDs no longer make
pids.length calls to the db, they use isMemberOfSets now
-getUserInfoForPost renamed to getUserInfoForPosts and doesnt make
uids.length calls to db, uses getMultipleUserFields instead
11 years ago
barisusakli bd4722665d closes #1725
removed move button from main post, disable moving main post, fixed
moving posts.
11 years ago
barisusakli 0987aed0e6 callback undefined error 11 years ago
barisusakli 78509b4ad0 use sortedSetsRemove to remove tid from tags 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
barisusakli 7c84680b06 closes #1709 11 years ago
Charles b811bef42c Don't decrease postCount when purging post from a deleted topic 11 years ago
Charles 1448bed057 Remove console.log 11 years ago
Charles 31f1914ec8 Update global postCount when deleting/restoring topic 11 years ago
barisusakli 4c2765a79c closes #1679 11 years ago
barisusakli e8b89513d4 some cleanup in addUserInfoToPost 11 years ago
barisusakli b9139ef263 some escaping and fixed uploads in progress 11 years ago
barisusakli 311a7ad5b9 #1281 topic purge 11 years ago
barisusakli a65d612907 #1281 post purge 11 years ago
barisusakli eb1b48092d closes #1666 11 years ago