barisusakli
1658ebbe20
categories update test
8 years ago
Sergii Paryzhskyi
e515b791da
Fix eslint rules ( #5117 )
...
* Fix semi linter rule
* Fix semi-spacing linter rule
* Fix no-undef-init linter rule
* Fix space-before-blocks linter rule
8 years ago
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
8 years ago
HeeL
3fa1c1f927
Fix space-infix-ops linter rule
8 years ago
barisusakli
038418bf87
batch.processArray
...
use batch.processArray in notifications.push and moveRecentReplies
added notification tests
added test for moveRecentReplies
clear group cache if a group is deleted
8 years ago
barisusakli
a6c3be0bb1
store category recent tids for faster retrieval
9 years ago
barisusakli
958fe3e72f
closes #3762
9 years ago
barisusakli
07fe5057e1
make sure validator.escape() receives strings only
9 years ago
barisusakli
fa9f1ac7fe
fix dependency errors
9 years ago
barisusakli
89f550ce7c
moved middleware requires
9 years ago
barisusakli
56c4e13316
another dependency fix and test
9 years ago
barisusakli
6d946425fa
fix tests, circular deps
9 years ago
Barış Soner Uşaklı
e1c0a8f3b3
Merge pull request #4909 from BenLubar/self-topic-deletion
...
add edit/delete post, delete topic privileges per-category
9 years ago
Ben Lubar
936149bb38
grant topics:delete by default < f62da5c4e9 (r74206749)
>
9 years ago
Ben Lubar
f62da5c4e9
see NodeBB/NodeBB#4909
9 years ago
barisusakli
bb05e6e393
closes #4916
9 years ago
Ben Lubar
26df552d55
Add edit, delete, and topics:delete permissions for users acting on their own posts
9 years ago
barisusakli
d2cbd7e6dc
new priv for uploads
9 years ago
barisusakli
73e21d1d31
closes #4720
9 years ago
barisusakli
c969870cb6
removed dupe privilegeList, added missing privilege to copyPrivsFrom
9 years ago
barisusakli
b2311edb94
bubble replies from subcategories to the parents
9 years ago
psychobunny
5baf077cbe
Merge branch 'master' of https://github.com/NodeBB/NodeBB
9 years ago
psychobunny
e9921edb87
Merge remote-tracking branch 'refs/remotes/origin/topics-read-privileges'
9 years ago
Barış Soner Uşaklı
dd1b261950
closes #4712
9 years ago
Barış Soner Uşaklı
26be7c25e4
closes #4701
9 years ago
psychobunny
b37b083a4d
new privilege: Access Topic
...
differentiation between Access Category and Access Topic, ie. allows you
to see the category view but not actually enter the topic itself
9 years ago
barisusakli
38d1bde895
closes #4669
9 years ago
barisusakli
bf2133ed7c
topic watching
9 years ago
barisusakli
5e5e46e95f
closes #4499
9 years ago
Julian Lam
5f36bfab01
re: #4578
9 years ago
Julian Lam
de9357970f
fixes #4578
9 years ago
Julian Lam
8eaff1492a
Added ACP option to customise recent post
...
Before, could either be OP or last reply.
Now, you can choose between OP, last reply, or last post (which
includes OP)
9 years ago
barisusakli
eb28e178a7
closes #4567
9 years ago
barisusakli
b948e031f6
closes #2779
9 years ago
barisusakli
c9cfe5b089
closes #4355
9 years ago
Julian Lam
a275aaeaf5
fixes #4361
9 years ago
barisusakli
b0151502c2
use '-inf'/'+inf'
9 years ago
barisusakli
018f7ba65a
closes #4307
...
ability to send an array of keys to getSortedSetRange
use getSortedSetRevRange instead of getSortedSetRevUnion
9 years ago
barisusakli
ebcd892aee
closes #4259
9 years ago
barisusakli
878b7b21ee
closes #4170
9 years ago
barisusakli
93ae5e2a3f
style change
9 years ago
barisusakli
4b3f09deea
closes #4154
9 years ago
barisusakli
1a87767c2c
removed extra isAdminOrMod check
9 years ago
barisusakli
4440865ec4
support for array in getTopicIds
9 years ago
barisusakli
fddc6157a3
fix return of getRecentTopicReplies
9 years ago
barisusakli
290686a194
modifyCategory is no longer async
9 years ago
barisusakli
53d29e29af
performance improvements
...
store parsed category description
removed mongo _key from returns
dont get category teaser for parent
9 years ago
barisusakli
a054353b6c
category purge fix
10 years ago
barisusakli
e7f87f4ffd
closes #3686
10 years ago
barisusakli
5950f97f96
more refactors
10 years ago
barisusakli
c0c38437a0
isAdminOrMod
10 years ago
barisusakli
f9c8b1acf8
if a parent category is deleted add its children to root
10 years ago
barisusakli
8af64ba984
closes #3626
10 years ago
Barış Soner Uşaklı
5b08538264
closes #3614
10 years ago
Julian Lam
4acb31839e
nodebb/nodebb#3615
10 years ago
barisusakli
0bfc568ac3
closes #3537
10 years ago
barisusakli
a0cd4b49f5
when a category is deleted, set the children's parent to 0
10 years ago
barisusakli
49afe544e1
recursive #3227
10 years ago
barisusakli
7db41275a3
closes #3227
10 years ago
barisusakli
5b87af4389
closes #3447
...
recursively get all children
calculate topic/post count from children
new sorted set `cid:<id>:children`
fix search query params
10 years ago
barisusakli
0be2a79210
pass the data used to create the category to filter:category.create
10 years ago
barisusakli
072d287183
closes #3311
10 years ago
Nicolas Siver
9d0a0538a6
use tabs
10 years ago
Nicolas Siver
1e2f4ae5e9
filter slug for category update
10 years ago
barisusakli
dff1a04585
more category hooks
10 years ago
barisusakli
5445e32522
2 new hooks
10 years ago
barisusakli
ba9a68c59c
async.waterfall
10 years ago
barisusakli
b292aeea72
closes #3120
...
also dont allow loading posts of a topic if its deleted via
topics.loadMore
10 years ago
Julian Lam
a54dccdf3b
closed #3068
10 years ago
Сергей Савельев
6b3b44e2fc
Delete errors
10 years ago
Сергей Савельев
a70f1b09e4
m
10 years ago
EvSpirit
2ea840e65d
#2886 Check subcategories when showing category recent topics
10 years ago
EvSpirit
0fcd4dee58
#2886 Check subcategories when showing category recent topics
10 years ago
Julian Lam
f8aba4f4ef
Merge branch 'master' into search-cid-uid
10 years ago
psychobunny
a3f167bfd2
default category should be col-xs-12
10 years ago
Сергей Савельев
e529d18414
save
10 years ago
barisusakli
78c65aee05
even more search changes
10 years ago
Julian Lam
e8167a80a0
if bgColor and color are not sent in the category creation call, automatic colours are supplied
10 years ago
Сергей Савельев
3831cd0e71
Adding the ability to use a different url
10 years ago
Сергей Савельев
6d03f5c9e8
Revert line order
10 years ago
Сергей Савельев
8a5b5936b7
Revert line bgColor
10 years ago
Сергей Савельев
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
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
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