453 Commits (834c4f8ff019b570dca48cb54aa09776ab43ac9a)

Author SHA1 Message Date
barisusakli 761f56aeb1 removed most of the db.sortedSetCards 10 years ago
barisusakli 0eae679bcd crash fix if field is undefined 10 years ago
barisusakli 29d90bc67d only use unique cids in isModerator 10 years ago
barisusakli e1c3bc9713 fix teasers 10 years ago
barisusakli 73d358edc5 faster getTeasers
got rid of getPostIndices
10 years ago
barisusakli 8737c5a56d removed debug 10 years ago
barisusakli c12b159bb5 temp debug 10 years ago
barisusakli 6aa53b8323 nextStart changes, fixed move topic notification text 10 years ago
barisusakli 5f55cc947c watch unwatch
update on toggle, moved isFollowing to api return and template
10 years ago
psychobunny 99bacf910c oops - #2126 10 years ago
psychobunny 7f2254c9da closes https://github.com/NodeBB/NodeBB/issues/2126 10 years ago
barisusakli 5323934cc2 calculate page count in controller 10 years ago
barisusakli a19c306f49 guest fixes 10 years ago
psychobunny 45383ce21e posts.getPostsByTid and posts.getPostsByPids now require a uid passed in 10 years ago
barisusakli 655f5087d9 Merge remote-tracking branch 'origin/master' into hashtalk 10 years ago
barisusakli 6bde9a1656 prevent getTopicsByTids crash if a topic is null 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 34a4a2103f isNan check 11 years ago
barisusakli edd73b5be2 again 11 years ago
barisusakli 5160a4f90f getTopicwithposts 11 years ago
barisusakli 779b2a8d73 optimize queries 11 years ago
barisusakli 9fac18c4b6 derp 11 years ago
psychobunny f609b1e45d calololback
(how the hell was this working?)
11 years ago
barisusakli 73bef8168f another crash fix 11 years ago
barisusakli 0473e7f25b crash fix 11 years ago
Julian Lam cd10248226 basic topic searching via search bar working 11 years ago
Julian Lam 5d32073f2c Merge branch '0.5.1' into topic_searching 11 years ago
barisusakli eef200be10 closes #1284 11 years ago
barisusakli 22fdf9f4ed getMainPost uses getMainPosts 11 years ago
barisusakli b858b120da closes #1998 11 years ago
barisusakli 05fdc945f3 closes #1993 11 years ago
barisusakli ca90afd544 #1992
(drunk) not even done yet
11 years ago
barisusakli b16932a676 check mainPid 11 years ago
barisusakli 1cf5c3145a doing it properly this time
mainPost always has index 0
11 years ago
barisusakli 8584da75f2 reverted main post change, breaks indices 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 46398fa924 removed unused require 11 years ago
barisusakli cb519d53a1 isArray check 11 years ago
barisusakli 8e8b678d40 small tweak 11 years ago
barisusakli 84aadc03fd fix filter condition 11 years ago
barisusakli 7ffad7e0d1 send callback directly 11 years ago
barisusakli 528ee335d5 optimize getTopicsByTids and getTeasers 11 years ago
barisusakli 90ac399f6d fix topics.loadMore so it checks read permission 11 years ago
Julian Lam 925cd99afb Merge branch 'master' into topic_searching 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 0792731873 new hook filter:topics.get 11 years ago
Julian Lam 8296dc5630 beginning topic searching + new hook 11 years ago
psychobunny 1a37176a9d filter:topic.get, surprisingly never implemented till today 11 years ago
barisusakli 0362c1a3b0 show day/week/month/year popular topics 11 years ago
barisusakli 24aa166ed5 dont error when no teaser data 11 years ago