Commit Graph

245 Commits (52cf224e5a21d0b0b7a764ea6863dd76859e49f3)

Author SHA1 Message Date
barisusakli 26b2ef1543 prevent crash in getChildren
barisusakli a69eafd9f7 added postcount to topic
barisusakli 30d7f3351b cid isnt always present
barisusakli cd05a123ab check cids
barisusakli 05a4737e84 closes
barisusakli b3544f644a relative path upload fixes
barisusakli 39def60f9b return empty array
barisusakli 420aa5e102 fix moderators
barisusakli 8294aec5e7 fixed indent
barisusakli 8fdc03eaad categories.js refactor
barisusakli db979d7a20 filter:category.get change
barisusakli 1ae39d638a closes
Julian Lam a12907512f refactored a bunch of methods so that you can pass in an author argument in querystring to see posts by just that author,
Julian Lam b91d39a0d3 almost everything for
barisusakli b12e3562d5 hide category icons if they are not set
barisusakli 3d5e72bbc8 fix null parents
barisusakli 8471fcbd79 fixed typo
barisusakli 761f56aeb1 removed most of the db.sortedSetCards
barisusakli 62503c16c6 mark category read only if unread
barisusakli feed33f6e2 closes
barisusakli 6aa53b8323 nextStart changes, fixed move topic notification text
barisusakli ba90b5d113 widget render change
barisusakli ac301eaabe changed default to 1
barisusakli 630977fb99 added parentCid 0 to new categories
barisusakli 89e56794e8 check cid
barisusakli f3f4711a60 wait for callback
barisusakli da86c46b4c Merge remote-tracking branch 'origin/0.5.1' into hashtalk
Julian Lam 6e21b7a830 disabled parents no longer show up as parents of a category, re:
Julian Lam d22fe4ad1e removing disabled categories from being listed as children,
barisusakli 4e6719e0aa added filterUids method to privileges
used to filter uids on a single category
barisusakli 01f983e29c markAsRead improvement
takes in an array of tids instead of marking topics read 1 by 1
same for the category.markAsRead function
barisusakli ba32a4dc4f crash fix
barisusakli 619ca103c7 crash fix
barisusakli 197226eea6 closes
barisusakli 95c839579e closes
Julian Lam 69b9e57daf completing subcategory integration in backend, closed
Julian Lam b7c7dd98c3 ACP setting and API return for subcats
barisusakli d852f284da closes
psychobunny 90513be321 send callback directly
except this time I'm fixing my own derps instead of @barisusakli
barisusakli 528ee335d5 optimize getTopicsByTids and getTeasers
psychobunny 9a5ed0bf27 forgot err, thanks @barisusakli
psychobunny 4cda8207e2 adding uid to filter:category.get
psychobunny c88327d075 added filter:category.get
barisusakli 805e6934b9 derp this function should only return err
barisusakli 100328ef06 shorter markAsUnread
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.
barisusakli 586aeaf53f added error checking to install.js for categories
barisusakli 7c84680b06 closes
barisusakli 4fa79dc821 closes
category purge, deletes all topics and posts in the category
barisusakli 364d55938c if no categories found return empty array