barisusakli
4f38a33702
fix pagination going to 404 if new post creates a new page
10 years ago
barisusakli
8e114c2093
moved isAdminOrMod check out of getTopicsByTids
10 years ago
barisusakli
653850661e
topics.getTopics doesnt take set param
10 years ago
barisusakli
79265b9e83
removed dupe code
10 years ago
barisusakli
52c12fa1b1
use wrapper functions getPostsFields and getTopicsFields
10 years ago
barisusakli
6b13a84d2f
removed extra priv checks
...
-removed category check from recentreplies since pids are already
checked
-removed category check from topics/unread.js since topics are filtered
now
-added array checks to src/topics.js
10 years ago
barisusakli
2579d2535d
closes #2396
10 years ago
barisusakli
fa5ac04cd3
src/topics.js cleanup
10 years ago
Julian Lam
44175188c4
handling case where user does not satisfy any of the privilege thresholds given to the hasEnoughReputationFor method
10 years ago
barisusakli
b12e3562d5
hide category icons if they are not set
10 years ago
barisusakli
081efd22e2
prevent crash if category is not found
10 years ago
barisusakli
802c8b15e2
fix upgrade script to include main post, and fix post indices
10 years ago
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
11 years ago
psychobunny
99bacf910c
oops - #2126
11 years ago
psychobunny
7f2254c9da
closes https://github.com/NodeBB/NodeBB/issues/2126
11 years ago
barisusakli
5323934cc2
calculate page count in controller
11 years ago
barisusakli
a19c306f49
guest fixes
11 years ago
psychobunny
45383ce21e
posts.getPostsByTid and posts.getPostsByPids now require a uid passed in
11 years ago
barisusakli
655f5087d9
Merge remote-tracking branch 'origin/master' into hashtalk
11 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