Commit Graph

234 Commits

Author SHA1 Message Date
barisusakli
1ae39d638a closes #2356 2014-11-07 17:15:01 -05:00
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, #2355 2014-11-06 18:57:52 -05:00
Julian Lam
b91d39a0d3 almost everything for #2335 2014-10-31 13:22:42 -04:00
barisusakli
b12e3562d5 hide category icons if they are not set 2014-10-30 18:04:49 -04:00
barisusakli
3d5e72bbc8 fix null parents 2014-10-27 02:58:20 -04:00
barisusakli
8471fcbd79 fixed typo 2014-10-14 23:36:59 -04:00
barisusakli
761f56aeb1 removed most of the db.sortedSetCards 2014-10-14 23:12:47 -04:00
barisusakli
62503c16c6 mark category read only if unread 2014-10-14 13:29:23 -04:00
barisusakli
feed33f6e2 closes #2100 2014-10-10 22:53:01 -04:00
barisusakli
6aa53b8323 nextStart changes, fixed move topic notification text 2014-10-02 17:46:43 -04:00
barisusakli
ba90b5d113 widget render change 2014-09-21 18:56:36 -04:00
barisusakli
ac301eaabe changed default to 1 2014-09-19 20:14:20 -04:00
barisusakli
630977fb99 added parentCid 0 to new categories 2014-09-19 18:42:26 -04:00
barisusakli
89e56794e8 check cid 2014-09-19 18:40:51 -04:00
barisusakli
f3f4711a60 wait for callback 2014-09-19 15:54:16 -04:00
barisusakli
da86c46b4c Merge remote-tracking branch 'origin/0.5.1' into hashtalk 2014-09-15 14:36:27 -04:00
Julian Lam
6e21b7a830 disabled parents no longer show up as parents of a category, re: #2080 2014-09-15 10:47:38 -04:00
Julian Lam
d22fe4ad1e removing disabled categories from being listed as children, #2080 2014-09-14 21:25:21 -04:00
barisusakli
4e6719e0aa added filterUids method to privileges
used to filter uids on a single category
2014-09-14 12:07:24 -04:00
barisusakli
01f983e29c markAsRead improvement
takes in an array of tids instead of marking topics read 1 by 1
same for the category.markAsRead function
2014-09-10 21:44:19 -04:00
barisusakli
ba32a4dc4f crash fix 2014-09-05 13:45:36 -04:00
barisusakli
619ca103c7 crash fix 2014-09-01 18:46:42 -04:00
barisusakli
197226eea6 closes #1742 2014-08-29 15:57:20 -04:00
barisusakli
95c839579e closes #2007 2014-08-22 19:10:26 -04:00
Julian Lam
69b9e57daf completing subcategory integration in backend, closed #1299 2014-08-21 09:52:21 -04:00
Julian Lam
b7c7dd98c3 ACP setting and API return for subcats 2014-08-21 00:11:39 -04:00
barisusakli
d852f284da closes #1948 2014-08-15 15:45:01 -04:00
psychobunny
90513be321 send callback directly
except this time I'm fixing my own derps instead of @barisusakli
2014-08-06 21:42:23 -04:00
barisusakli
528ee335d5 optimize getTopicsByTids and getTeasers 2014-08-06 21:30:11 -04:00
psychobunny
9a5ed0bf27 forgot err, thanks @barisusakli 2014-08-06 18:52:04 -04:00
psychobunny
4cda8207e2 adding uid to filter:category.get 2014-08-06 13:56:05 -04:00
psychobunny
c88327d075 added filter:category.get 2014-08-06 13:51:46 -04:00
barisusakli
805e6934b9 derp this function should only return err 2014-08-05 23:10:45 -04:00
barisusakli
100328ef06 shorter markAsUnread 2014-08-05 22:52:33 -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
586aeaf53f added error checking to install.js for categories 2014-07-02 21:55:05 -04:00
barisusakli
7c84680b06 closes #1709 2014-06-17 13:11:13 -04:00
barisusakli
4fa79dc821 closes #1281
category purge, deletes all topics and posts in the category
2014-06-10 17:48:48 -04:00
barisusakli
364d55938c if no categories found return empty array 2014-05-31 22:24:22 -04:00
barisusakli
48aba5fc64 category widget changes 2014-05-27 12:44:28 -04:00
barisusakli
dfa1150709 fix missing category data 2014-05-21 00:03:22 -04:00
barisusakli
cd08a16f77 return post count to with categories 2014-05-19 19:24:06 -04:00
barisusakli
b1aae05a08 closes #1518 2014-05-15 20:49:47 -04:00
psychobunny
a51b357e67 removed deprecated categories.background property 2014-05-05 12:18:53 -04:00
barisusakli
68fd997efd closes #1419 2014-04-24 18:59:19 -04:00
Micheil Smith
3e82cab398 Add missing new lines at end of files. 2014-04-10 20:56:53 +01:00
barisusakli
0ac58dbee6 more error strings 2014-04-09 21:56:30 -04:00
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
2014-04-01 17:12:07 -04:00
barisusakli
a400e5de81 #1269 2014-03-25 12:23:55 -04:00
barisusakli
0741b162cb #1265 2014-03-23 18:53:21 -04:00