Commit Graph

95 Commits

Author SHA1 Message Date
barisusakli
a0cd4b49f5 when a category is deleted, set the children's parent to 0 2015-08-28 13:04:10 -04:00
barisusakli
49afe544e1 recursive #3227 2015-08-20 14:23:29 -04:00
barisusakli
7db41275a3 closes #3227 2015-08-19 15:53:37 -04:00
barisusakli
5b87af4389 closes #3447
recursively get all children
calculate topic/post count from children
new sorted set `cid:<id>:children`
fix search query params
2015-08-18 14:17:25 -04:00
barisusakli
0be2a79210 pass the data used to create the category to filter:category.create 2015-07-16 15:56:26 -04:00
barisusakli
072d287183 closes #3311 2015-07-10 16:43:31 -04:00
Nicolas Siver
9d0a0538a6 use tabs 2015-07-07 20:10:44 +03:00
Nicolas Siver
1e2f4ae5e9 filter slug for category update 2015-07-05 08:31:21 +03:00
barisusakli
dff1a04585 more category hooks 2015-06-19 15:39:37 -04:00
barisusakli
5445e32522 2 new hooks 2015-06-19 15:11:22 -04:00
barisusakli
ba9a68c59c async.waterfall 2015-05-11 16:13:09 -04:00
barisusakli
b292aeea72 closes #3120
also dont allow loading posts of a topic if its deleted via
topics.loadMore
2015-05-11 15:12:23 -04:00
Julian Lam
a54dccdf3b closed #3068 2015-04-23 11:27:44 -04:00
Сергей Савельев
6b3b44e2fc Delete errors 2015-04-01 18:22:55 +03:00
Сергей Савельев
a70f1b09e4 m 2015-03-30 12:11:01 +03:00
EvSpirit
2ea840e65d #2886 Check subcategories when showing category recent topics 2015-03-24 21:58:35 +03:00
EvSpirit
0fcd4dee58 #2886 Check subcategories when showing category recent topics 2015-03-24 21:39:28 +03:00
Julian Lam
f8aba4f4ef Merge branch 'master' into search-cid-uid 2015-03-17 15:13:43 -04:00
psychobunny
a3f167bfd2 default category should be col-xs-12 2015-03-16 13:49:47 -04:00
Сергей Савельев
e529d18414 save 2015-03-16 16:47:45 +03:00
barisusakli
78c65aee05 even more search changes 2015-03-15 01:12:13 -04:00
Julian Lam
e8167a80a0 if bgColor and color are not sent in the category creation call, automatic colours are supplied 2015-03-10 14:55:25 -04:00
Сергей Савельев
3831cd0e71 Adding the ability to use a different url 2015-03-09 23:19:51 +03:00
Сергей Савельев
6d03f5c9e8 Revert line order 2015-03-09 17:04:30 +03:00
Сергей Савельев
8a5b5936b7 Revert line bgColor 2015-03-09 16:56:57 +03:00
Сергей Савельев
cc384cc4d6 Update file for create categories 2015-03-09 16:45:22 +03:00
Сергей Савельев
3910f8bf28 Add parameters for create categories 2015-03-09 16:43:02 +03:00
Julian Lam
27282a2877 if no order is specified during a category creation, NodeBB won't crash 2015-02-27 12:31:23 -05:00
barisusakli
39a75ea2d7 fix recent replies 2015-02-04 15:49:08 -05:00
barisusakli
f5b448c300 closes #2623 2015-01-18 14:32:47 -05:00
barisusakli
e46cda835a closes #2624 2015-01-18 14:31:37 -05:00
barisusakli
a77a761433 closes #1917 2015-01-08 13:47:21 -05:00
Baris Usakli
a36391864a fix recent replies crash, closes #2575 2015-01-04 11:42:39 -05:00
barisusakli
b7f55e8453 fix tests 2014-12-25 15:57:37 -05:00
barisusakli
8007bb0644 dont ignore error 2014-12-25 15:50:55 -05:00
barisusakli
7daf3a34a7 removed slice 2014-11-23 00:32:31 -05:00
barisusakli
15c2b124e3 recent replies needs stripTags true
changed [self] to _
2014-11-19 14:13:00 -05:00
barisusakli
21459fff84 use getPostsFromSet for recent replies 2014-11-19 11:02:28 -05:00
barisusakli
cb8ce066c8 give guests find read access on category creation 2014-11-17 12:39:07 -05:00
barisusakli
8e114c2093 moved isAdminOrMod check out of getTopicsByTids 2014-11-16 16:15:49 -05:00
barisusakli
0a44d3f5e0 moved updateCategoryField out, db.delete only sends back err 2014-11-15 22:41:45 -05:00
barisusakli
d485b65b67 call next 2014-11-15 21:52:05 -05:00
barisusakli
52c12fa1b1 use wrapper functions getPostsFields and getTopicsFields 2014-11-14 20:19:14 -05:00
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
2014-11-14 19:52:25 -05:00
Julian Lam
9debfd94ec removed the hook I just added: filter:category.recent, was a bit misleading. 2014-11-14 17:42:33 -05:00
Julian Lam
20ea40133b added four new hooks: filter:categories.recent, filter:privileges.categories.get, filter:privileges.posts.filter, filter:privileges.topics.filter 2014-11-14 17:31:44 -05:00
psychobunny
1e453140d9 adding uid to filter:category.topics.get 2014-11-14 16:34:34 -05:00
psychobunny
abe887f557 filter:category.topics.get 2014-11-14 16:29:59 -05:00
psychobunny
c988f54243 renaming filter:category.topics.get to filter:category.topics.prepare 2014-11-14 16:28:59 -05:00
barisusakli
485827db84 check count before privileges 2014-11-14 16:22:05 -05:00