barisusakli
eab180f305
crash fix
2014-10-02 19:03:03 -04:00
barisusakli
6aa53b8323
nextStart changes, fixed move topic notification text
2014-10-02 17:46:43 -04:00
psychobunny
9d53de5f70
oops
2014-10-02 16:00:17 -04:00
psychobunny
42d3656ecc
fixing
2014-10-02 15:59:05 -04:00
barisusakli
c5c97c784a
optimize getPostIndices
...
only use 1 set when its in a topic
2014-09-26 22:19:26 -04:00
psychobunny
180625ece3
forgot to return just posts array
2014-09-23 14:00:28 -04:00
psychobunny
77dfc7378b
filter:post.getPostSummaryByPids
2014-09-23 13:58:16 -04:00
barisusakli
5f2a66295c
check keys
2014-09-21 13:30:20 -04:00
barisusakli
f3f4711a60
wait for callback
2014-09-19 15:54:16 -04:00
barisusakli
327d1c1bec
some cleanup and callbacks for post
2014-09-19 14:25:48 -04:00
psychobunny
6844c828ca
added a hook I didn't end up needing, but here it is anyway filter:posts.modifyUserInfo
2014-09-18 17:05:30 -04:00
psychobunny
2c1bab2b9a
filter:post.getPosts now passes in uid
2014-09-17 18:10:19 -04:00
psychobunny
45383ce21e
posts.getPostsByTid and posts.getPostsByPids now require a uid passed in
2014-09-17 18:10:01 -04:00
barisusakli
aae7f2434d
closes #2088
2014-09-16 16:10:02 -04:00
barisusakli
655f5087d9
Merge remote-tracking branch 'origin/master' into hashtalk
2014-09-14 12:08:44 -04:00
barisusakli
523f245cd8
removed derp
2014-09-14 12:07:25 -04:00
barisusakli
ae02c1a06c
closes #2068
2014-09-10 18:48:43 -04:00
barisusakli
3c8ca63608
fixed getCidsByPids
2014-09-07 12:36:50 -04:00
barisusakli
57e204df8e
removed most of the debug
...
dont get more than 6 usernames for upvote tooltips
generatePostPaths wont check null pids
2014-09-06 20:46:18 -04:00
barisusakli
ef329c95df
fix
2014-09-06 03:21:00 -04:00
barisusakli
0b83657868
more trace
2014-09-06 03:19:13 -04:00
barisusakli
779b2a8d73
optimize queries
2014-09-06 00:58:03 -04:00
barisusakli
10b30e303b
mongo posting fix
2014-09-03 19:38:48 -04:00
barisusakli
4736a68534
dont create term object on each call
2014-09-03 15:16:45 -04:00
Julian Lam
a5423aff16
getPidIndex callback if none specified
2014-09-03 12:55:31 -04:00
Julian Lam
baf72249b6
made uid parameter optional in getPidIndex
2014-09-03 12:54:26 -04:00
barisusakli
171f02101d
closes #2035 , closes #2036
2014-09-02 05:04:39 -04:00
barisusakli
13bdd939e3
crash fix
2014-09-01 18:51:48 -04:00
barisusakli
4f5c78d675
merge
2014-08-30 14:44:43 -04:00
barisusakli
537dea4e4b
crash fix
2014-08-30 14:42:48 -04:00
barisusakli
e751a0c0cf
closes #2003
2014-08-24 12:58:13 -04:00
barisusakli
7019618863
closes #2003
2014-08-23 22:34:39 -04:00
barisusakli
83de5ba5a4
added topic owner uid
2014-08-18 19:04:49 -04:00
barisusakli
b858b120da
closes #1998
2014-08-18 16:03:25 -04:00
barisusakli
05fdc945f3
closes #1993
2014-08-17 00:14:45 -04:00
barisusakli
dd9a383f46
removed unused functions
2014-08-16 21:40:41 -04:00
barisusakli
ca90afd544
#1992
...
(drunk) not even done yet
2014-08-16 21:33:42 -04:00
barisusakli
c07d9121df
small optimizations
...
user.isOnline works with an array of uids
do not make 2 trips to db to get main post and first 10 posts
2014-08-12 11:19:17 -04:00
barisusakli
b8279dc737
optimize getUserGroups to work with multiple user ids
2014-08-09 02:07:03 -04:00
barisusakli
38b6c4ce55
#1925
2014-07-30 18:52:58 -04:00
barisusakli
d97af5020a
small cleanup to postSummary
2014-07-30 18:40:00 -04:00
barisusakli
5a2b02e798
fix var name, #1925
2014-07-30 17:45:12 -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
eeb4c9f487
optimize getPostSummaryByPids
2014-07-29 17:33:28 -04:00
barisusakli
e8b767d0dd
get recent poster uids
2014-07-29 01:36:33 -04:00
barisusakli
0792731873
new hook filter:topics.get
2014-07-25 19:58:44 -04:00
barisusakli
238d6602a2
check for valid content, #1884
2014-07-23 09:40:07 -04:00
barisusakli
206acab1bf
added posted data back whoops
2014-07-17 17:49:28 -04:00
barisusakli
afb62c7484
optional timestamp to post.create
2014-07-17 17:48:24 -04:00
barisusakli
64d04f7aa6
closes #1803
2014-07-07 17:36:14 -04:00