barisusakli
df4b555717
less db calls
...
no db call for settings if uid 0
no db call for isFollowing if uid 0
10 years ago
barisusakli
c74370bfb1
removed recent/day week month
...
it starts with most recent 20 topics now and goes back instead of
showing empty if there are no new replies in the past 24 hours
10 years ago
barisusakli
782896997d
post count fix for post move
10 years ago
barisusakli
6802bf7ce9
closes #2284
10 years ago
barisusakli
d2334fbb4a
dont search empty string, get 20 tags instead of 10
10 years ago
barisusakli
9e8be432b3
notification changes
...
-only send a notification when the person you follow creates a topic
-you still get a notification per post if you are following a topic
-changed notifications.push so that it sends the notifications over a
period of time, currently to 50 users per second
-optimized topics.notifyFollowers and
user.notifications.sendTopicNotification, they no longer query the
database for the topic and post data instead they get it as params
-you can no longer follow yourself :)
-changed mongo sortedSetRemove so that it doesn't use $in if there is
only a single value to remove
10 years ago
barisusakli
761f56aeb1
removed most of the db.sortedSetCards
10 years ago
barisusakli
b1d48df6d8
dont modify counts on soft post delete
10 years ago
barisusakli
5de74914bd
moved updateCounters to purge
10 years ago
barisusakli
040d7b8424
limit unread to 100 tids
10 years ago
barisusakli
835c58d27d
mark read after infinite scroll
...
dont mark read if already read
10 years ago
psychobunny
d632ba2242
fix post crash from 712bd3938f
10 years ago
barisusakli
712bd3938f
parse post in Topics.reply not in Posts.create
...
makes importer faster if md plugin is enabled
10 years ago
barisusakli
cf5ac4fb74
filter before getting topics
10 years ago
barisusakli
31a1f85a7e
removed year from popular
10 years ago
barisusakli
2af077544b
make sure postcount isnt NaN
11 years ago
barisusakli
6aa53b8323
nextStart changes, fixed move topic notification text
11 years ago
barisusakli
2bc7007953
removed sendUnread function
11 years ago
barisusakli
5fc760c6c4
unread changes
11 years ago
barisusakli
998ed24589
check topic cid
11 years ago
barisusakli
21f65cbb6a
crash fix
11 years ago
barisusakli
4de658e096
checks
11 years ago
barisusakli
f3f4711a60
wait for callback
11 years ago
barisusakli
327d1c1bec
some cleanup and callbacks for post
11 years ago
psychobunny
45383ce21e
posts.getPostsByTid and posts.getPostsByPids now require a uid passed in
11 years ago
barisusakli
b48d81310c
#2095
11 years ago
barisusakli
0a936e5dd1
unreadTids
11 years ago
barisusakli
51eac70f67
fixed derp
11 years ago
barisusakli
32257c9b2f
updateUnreadCount
11 years ago
barisusakli
b3d9db10f2
notification fixes
...
made post notifications unique per post so they dont overwrite other
types.
11 years ago
barisusakli
493d0dea1e
part 1 of notif refactor
11 years ago
barisusakli
01f983e29c
markAsRead improvement
...
takes in an array of tids instead of marking topics read 1 by 1
same for the category.markAsRead function
11 years ago
barisusakli
6cd84ebe81
removed parseInt from sorts
11 years ago
barisusakli
57e204df8e
removed most of the debug
...
dont get more than 6 usernames for upvote tooltips
generatePostPaths wont check null pids
11 years ago
barisusakli
0d5605ab35
trace in addPostData
11 years ago
psychobunny
099a04c1c8
disabling pushUnreadCount for now, perhaps this might be good on redis too?
11 years ago
psychobunny
07376c9a4c
look for unread only for today
11 years ago
barisusakli
3f96532c3f
disabled 2 calls
11 years ago
barisusakli
8e86f4b787
crash fix
11 years ago
barisusakli
9fac18c4b6
derp
11 years ago
barisusakli
10b30e303b
mongo posting fix
11 years ago
barisusakli
4736a68534
dont create term object on each call
11 years ago
barisusakli
74282ffeea
removed another unnecessary socket call
11 years ago
barisusakli
761d59f5ec
each limit on pushUnreadCount
11 years ago
barisusakli
1ed4c984bb
Merge remote-tracking branch 'origin/master' into 0.5.1
11 years ago
barisusakli
0b79a73732
crash fix
...
if composer is opened in a topic that was deleted/purged
11 years ago
barisusakli
14fcd36134
closes #2028
11 years ago
barisusakli
4f5c78d675
merge
11 years ago
barisusakli
537dea4e4b
crash fix
11 years ago
barisusakli
e6b3da18f2
merge
11 years ago