5 Commits (c1ac92ac199fbb97ef39f2fee26f90ffe813bf14)

Author SHA1 Message Date
barisusakli bc00d7d159 check just in case 11 years ago
barisusakli ca90afd544 #1992
(drunk) not even done yet
11 years ago
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.
11 years ago
barisusakli 5497b8c419 striptags 11 years ago
barisusakli 64d04f7aa6 closes #1803 11 years ago