Commit Graph

6 Commits

Author SHA1 Message Date
barisusakli
60f1b9679a search filters 2015-01-07 16:10:11 -05:00
barisusakli
bc00d7d159 check just in case 2014-09-05 13:51:02 -04:00
barisusakli
ca90afd544 #1992
(drunk) not even done yet
2014-08-16 21:33:42 -04:00
barisusakli
fed8cc6d53 optimize privileges and assorted fixes.
* new methods
privileges.categories.filter
privileges.topics.filter
privileges.posts.filter

they take a list of ids and a privilege, and return the filtered list of
ids, faster than doing  async.filter and calling the db for each id.

* remove event listeners on recent page before adding
* group.exists works for both single group names and arrays
* helpers.allowedTo works for both a single cid and an array of cids
* moved filter:topic.post hook right before topic creation.
* moved filter:topic.reply hook right before topic reply.
2014-07-29 21:51:46 -04:00
barisusakli
5497b8c419 striptags 2014-07-07 17:56:58 -04:00
barisusakli
64d04f7aa6 closes #1803 2014-07-07 17:36:14 -04:00