Сергей Савельев
cc384cc4d6
Update file for create categories
10 years ago
Сергей Савельев
3910f8bf28
Add parameters for create categories
10 years ago
Julian Lam
27282a2877
if no order is specified during a category creation, NodeBB won't crash
10 years ago
barisusakli
39a75ea2d7
fix recent replies
10 years ago
barisusakli
f5b448c300
closes #2623
10 years ago
barisusakli
e46cda835a
closes #2624
10 years ago
barisusakli
a77a761433
closes #1917
10 years ago
Baris Usakli
a36391864a
fix recent replies crash, closes #2575
10 years ago
barisusakli
b7f55e8453
fix tests
10 years ago
barisusakli
8007bb0644
dont ignore error
10 years ago
barisusakli
7daf3a34a7
removed slice
10 years ago
barisusakli
15c2b124e3
recent replies needs stripTags true
...
changed [self] to _
10 years ago
barisusakli
21459fff84
use getPostsFromSet for recent replies
10 years ago
barisusakli
cb8ce066c8
give guests find read access on category creation
10 years ago
barisusakli
8e114c2093
moved isAdminOrMod check out of getTopicsByTids
10 years ago
barisusakli
0a44d3f5e0
moved updateCategoryField out, db.delete only sends back err
10 years ago
barisusakli
d485b65b67
call next
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
Julian Lam
9debfd94ec
removed the hook I just added: filter:category.recent, was a bit misleading.
10 years ago
Julian Lam
20ea40133b
added four new hooks: filter:categories.recent, filter:privileges.categories.get, filter:privileges.posts.filter, filter:privileges.topics.filter
10 years ago
psychobunny
1e453140d9
adding uid to filter:category.topics.get
10 years ago
psychobunny
abe887f557
filter:category.topics.get
10 years ago
psychobunny
c988f54243
renaming filter:category.topics.get to filter:category.topics.prepare
10 years ago
barisusakli
485827db84
check count before privileges
10 years ago
barisusakli
6a3a3669d2
check privs on getRecentReplies and getRecentTopicReplies
10 years ago
Julian Lam
c0fc7e9ca4
updating privilege handling to fire two new hooks, filter:privileges.topics.get and filter:category.topics.get
10 years ago
barisusakli
15e472db12
on category creation give defaults privs to admins and registered users
10 years ago
barisusakli
8fdc03eaad
categories.js refactor
10 years ago
barisusakli
daebc322eb
meh
10 years ago
barisusakli
7823416410
err check, assignPostsToCategory is sync
10 years ago
barisusakli
c56b9aafff
closes #2289 , replace Infinity with '+inf'
10 years ago
barisusakli
1ae39d638a
closes #2356
10 years ago
barisusakli
c4a39c8163
use processSortedSet instead of getting all users
10 years ago
barisusakli
f463030e76
closes #2264
10 years ago
barisusakli
32d0e0d7e5
dont update category post coint if topic post count is invalid
10 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
barisusakli
64d04f7aa6
closes #1803
11 years ago
Barış Soner Uşaklı
2d734c1648
fixed move recent replies
11 years ago
barisusakli
eb9b4a62dc
fix topic move, fix moveAll
...
move topic wasnt moving mainPid, also fixed crash on move all
clicking permissions on admin/categories no longer goes to top of page
11 years ago
barisusakli
a9adfe9428
fix crash in topic move
11 years ago
barisusakli
a4d4e53f45
speed up category purge
...
using eachLimit
dont emit stats on every topic delete
11 years ago
barisusakli
7c84680b06
closes #1709
11 years ago
barisusakli
4fa79dc821
closes #1281
...
category purge, deletes all topics and posts in the category
11 years ago
barisusakli
b1aae05a08
closes #1518
11 years ago
barisusakli
68fd997efd
closes #1419
11 years ago
barisusakli
e12beccc09
closes #1371
...
adds a dropdown to category view to move/pin/lock/delete multiple topics
11 years ago
Micheil Smith
3e82cab398
Add missing new lines at end of files.
11 years ago
Julian Lam
b9aa0d2121
stripping paragraph tags from post summaries in an effort to collapse it all into one paragraph block.
11 years ago
barisusakli
10f56faf9d
admin cleanup
...
removed unnecessary admin checks in src/admin/user then realized they
are just one liners so moved them to src/socket.io.admin.js moved
categories update to categories folder
11 years ago
barisusakli
26d67257fe
moved privilege check out of getRecentReplies
...
it was being called twice in api/home
11 years ago
barisusakli
1354739d19
user deletion #746
...
user deletion NOT SKALABLE
11 years ago
barisusakli
cc0ac29b36
categories refactor
11 years ago