barisusakli
f5b448c300
closes #2623
11 years ago
barisusakli
e46cda835a
closes #2624
11 years ago
barisusakli
a77a761433
closes #1917
11 years ago
Baris Usakli
a36391864a
fix recent replies crash, closes #2575
11 years ago
barisusakli
b7f55e8453
fix tests
11 years ago
barisusakli
8007bb0644
dont ignore error
11 years ago
barisusakli
7daf3a34a7
removed slice
11 years ago
barisusakli
15c2b124e3
recent replies needs stripTags true
...
changed [self] to _
11 years ago
barisusakli
21459fff84
use getPostsFromSet for recent replies
11 years ago
barisusakli
cb8ce066c8
give guests find read access on category creation
11 years ago
barisusakli
8e114c2093
moved isAdminOrMod check out of getTopicsByTids
11 years ago
barisusakli
0a44d3f5e0
moved updateCategoryField out, db.delete only sends back err
11 years ago
barisusakli
d485b65b67
call next
11 years ago
barisusakli
52c12fa1b1
use wrapper functions getPostsFields and getTopicsFields
11 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
11 years ago
Julian Lam
9debfd94ec
removed the hook I just added: filter:category.recent, was a bit misleading.
11 years ago
Julian Lam
20ea40133b
added four new hooks: filter:categories.recent, filter:privileges.categories.get, filter:privileges.posts.filter, filter:privileges.topics.filter
11 years ago
psychobunny
1e453140d9
adding uid to filter:category.topics.get
11 years ago
psychobunny
abe887f557
filter:category.topics.get
11 years ago
psychobunny
c988f54243
renaming filter:category.topics.get to filter:category.topics.prepare
11 years ago
barisusakli
485827db84
check count before privileges
11 years ago
barisusakli
6a3a3669d2
check privs on getRecentReplies and getRecentTopicReplies
11 years ago
Julian Lam
c0fc7e9ca4
updating privilege handling to fire two new hooks, filter:privileges.topics.get and filter:category.topics.get
11 years ago
barisusakli
15e472db12
on category creation give defaults privs to admins and registered users
11 years ago
barisusakli
8fdc03eaad
categories.js refactor
11 years ago
barisusakli
daebc322eb
meh
11 years ago
barisusakli
7823416410
err check, assignPostsToCategory is sync
11 years ago
barisusakli
c56b9aafff
closes #2289 , replace Infinity with '+inf'
11 years ago
barisusakli
1ae39d638a
closes #2356
11 years ago
barisusakli
c4a39c8163
use processSortedSet instead of getting all users
11 years ago
barisusakli
f463030e76
closes #2264
11 years ago
barisusakli
32d0e0d7e5
dont update category post coint if topic post count is invalid
11 years ago
barisusakli
40fff367d1
faster topic move
11 years ago
barisusakli
6a64a3ab92
check err
11 years ago
barisusakli
b48d81310c
#2095
11 years ago
barisusakli
aae7f2434d
closes #2088
11 years ago
barisusakli
aed9a9f76f
removed console.log
11 years ago
barisusakli
6cd84ebe81
removed parseInt from sorts
11 years ago
barisusakli
51cafe075c
only get 25 posts
11 years ago
Julian Lam
b7c7dd98c3
ACP setting and API return for subcats
11 years ago
barisusakli
ca90afd544
#1992
...
(drunk) not even done yet
11 years ago
barisusakli
60624eedec
small tweak
11 years ago
barisusakli
5c91bc4335
optimized home
11 years ago
barisusakli
783926687c
reduced active users
11 years ago
barisusakli
bc2f7339ee
getLatestUndeletedPid will return string #1884
11 years ago
barisusakli
20df6fd5cd
small fix
11 years ago
barisusakli
2bf38ec84b
handle pinned topics
11 years ago
barisusakli
1e6d589080
show topics on home instead of replies
...
no template changes, instead of showing the latest x posts under
categories, we are now showing the latest x posts of the latest x
topics.
11 years ago
barisusakli
a69973e7a7
topics.getPids will return mainPid as well
11 years ago
barisusakli
633980ce4b
active users cleanup
11 years ago