Commit Graph

3563 Commits

Author SHA1 Message Date
Julian Lam
74e5524492 fixing request to /api not returning api result 2014-08-18 13:44:27 -04:00
psychobunny
4dd32e1024 filter:category.get applies to all category-like API calls now
@a5mith
https://gist.github.com/psychobunny/572d867935469774c6e8#comment-1281883
2014-08-18 13:05:20 -04:00
Barış Soner Uşaklı
02889f2e70 call callback on follow/unfollow 2014-08-17 01:29:20 -04:00
barisusakli
a9ca035e1e gotto check read after each pass 2014-08-15 18:15:10 -04:00
barisusakli
b50b5e4787 satifying my OCD
fire hook after successful follow/unfollow
2014-08-14 17:59:33 -04:00
psychobunny
0c17ee15f7 action:user.follow and action:user.unfollow 2014-08-14 17:52:17 -04:00
psychobunny
1036ba4636 removing timestamp from thread hooks... completely pointless 2014-08-14 17:47:05 -04:00
barisusakli
2d0637d7c6 fix user online status on profile page 2014-08-14 07:51:21 -04:00
barisusakli
dda0322968 getUsersInCategory 2014-08-13 18:44:40 -04:00
Julian Lam
a2fb4a66b0 migrated ACP themes page from html rendered via js to template engine 2014-08-13 16:55:41 -04:00
Julian Lam
b48571ceb8 fixed #1988 2014-08-13 16:03:33 -04:00
barisusakli
0847eb2c3d added uid to filter:header.build 2014-08-13 15:32:31 -04:00
barisusakli
b16932a676 check mainPid 2014-08-12 15:08:42 -04:00
barisusakli
c358ff3d83 fix isSortedSetMembers on mongo 2014-08-12 14:39:58 -04:00
Julian Lam
4fa80263b0 fixed #1981 2014-08-12 14:15:01 -04:00
Julian Lam
cf6acf6b41 sacrificing a goat to ensure this doesn't come back to bite me 2014-08-12 14:02:40 -04:00
Julian Lam
5936c72f96 further fix to #1957 2014-08-12 13:57:30 -04:00
barisusakli
1cf5c3145a doing it properly this time
mainPost always has index 0
2014-08-12 12:32:38 -04:00
barisusakli
8584da75f2 reverted main post change, breaks indices 2014-08-12 11:49:28 -04:00
barisusakli
32d46f3889 crash fix 2014-08-12 11:41:18 -04:00
barisusakli
851d5c0f32 send uids to isOnline in messaging 2014-08-12 11:36:36 -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
Julian Lam
0e28b6f2d5 fixed #1980 -- missing pass-through 2014-08-12 09:17:41 -04:00
barisusakli
c4b083330c closes #1978 2014-08-11 18:07:56 -04:00
barisusakli
c8084e9b2e closes #1978 2014-08-11 16:26:20 -04:00
barisusakli
5e68e0b009 same deal as previous commit 2014-08-11 15:41:45 -04:00
barisusakli
e137baccd9 fixed ip:recent weird 2014-08-11 13:47:24 -04:00
barisusakli
7642be3608 closes #1939 2014-08-10 14:52:23 -04:00
barisusakli
b5cc852551 do a single filter after getting all unread tids 2014-08-09 16:15:22 -04:00
barisusakli
b8279dc737 optimize getUserGroups to work with multiple user ids 2014-08-09 02:07:03 -04:00
barisusakli
5b681678b1 could use async.apply here hm 2014-08-08 17:42:03 -04:00
barisusakli
4e4a583d9d took out the meta config check from image.js 2014-08-08 17:30:37 -04:00
barisusakli
ea2975cb3f eachLimit on expire nids 2014-08-08 16:28:29 -04:00
barisusakli
a2bb8029fe use utils.toISOString 2014-08-08 15:28:44 -04:00
barisusakli
5c6e26832e removed console.logs 2014-08-07 21:31:34 -04:00
barisusakli
df0a5e780a prevent edit to change title length above max 2014-08-07 20:03:56 -04:00
barisusakli
46398fa924 removed unused require 2014-08-07 16:20:50 -04:00
psychobunny
db2ef15a09 linting 2014-08-07 16:06:23 -04:00
psychobunny
e77491fcbb closes #1956 2014-08-07 16:02:25 -04:00
barisusakli
049d7f766e use getSetsMembers instead of async.map 2014-08-07 13:48:07 -04:00
barisusakli
7d179b68df faster notif prune 2014-08-07 00:44:25 -04:00
barisusakli
f39d772a40 if notification is purged delete from user mapping as well 2014-08-07 00:17:26 -04:00
barisusakli
cb519d53a1 isArray check 2014-08-07 00:06:13 -04:00
barisusakli
8e8b678d40 small tweak 2014-08-07 00:02:20 -04:00
barisusakli
84aadc03fd fix filter condition 2014-08-06 22:04:35 -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
7ffad7e0d1 send callback directly 2014-08-06 21:30:41 -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
b1ef42889d updated site title for tags page to be more user friendly 2014-08-06 18:51:32 -04:00