barisusakli
93d4a7c1f1
fix notifications to actually get recent
2014-10-17 18:51:58 -04:00
barisusakli
6cb5f9c098
emit stats to registered users only
2014-10-17 18:46:17 -04:00
barisusakli
c5e1f8e0aa
user onlineUsers instead of calculating from rooms
2014-10-17 18:40:20 -04:00
barisusakli
7bf655541c
cleanup and optimize notifications
2014-10-17 18:31:20 -04:00
barisusakli
cfd7edbf34
added nid
2014-10-17 17:23:47 -04:00
barisusakli
24de757549
Merge branch 'master' of https://github.com/NodeBB/NodeBB
2014-10-17 17:20:48 -04:00
barisusakli
b5fb7691cd
optimize getUnreadByField
...
only get the most recent 100 notifications
dont call UserNotifications.getNotifications which does alot more work,
call the db directly
2014-10-17 17:20:45 -04:00
Julian Lam
75aa3f1006
updating markdown minimum version to 0.7.x and up
2014-10-17 13:44:47 -04:00
psychobunny
8ef4ad6f14
Revert "reverting #2259 temporarily until we figure out why logs aren't showing up"
...
This reverts commit 59b3e6f78f .
2014-10-17 01:47:13 -04:00
psychobunny
59b3e6f78f
reverting #2259 temporarily until we figure out why logs aren't showing up
2014-10-17 01:43:00 -04:00
barisusakli
3ba4d2aa2b
get correct count only from one of the active users elements
2014-10-17 01:11:55 -04:00
barisusakli
fec84821b7
removed this wasn't the problem after all
2014-10-16 20:03:22 -04:00
barisusakli
762b2fff37
display user count in browsing
2014-10-16 18:04:04 -04:00
barisusakli
df590d01e6
set key as well
...
not sure if this fixes dupe keys
2014-10-16 02:02:16 -04:00
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
2014-10-15 21:55:31 -04:00
Steve Lacy
d01497dde3
Merge branch 'master' of https://github.com/stevelacy/NodeBB
2014-10-15 16:27:01 -07:00
Steve Lacy
3ff7719cd4
add hook: filter: user.updateProfile
2014-10-15 16:26:40 -07:00
barisusakli
eb546dfaab
temp until package manager is in place
2014-10-15 16:26:50 -04:00
barisusakli
834c4f8ff0
log stack
2014-10-15 16:19:27 -04:00
barisusakli
80489c6564
log post purges
2014-10-15 15:57:37 -04:00
barisusakli
90224d2de3
removed unique for now
2014-10-15 15:25:51 -04:00
barisusakli
f2883c2c9f
createIndex helper
2014-10-15 15:11:01 -04:00
barisusakli
1be6a253bf
make _key value index unique
2014-10-15 15:07:30 -04:00
barisusakli
72a919e416
time based check
2014-10-15 14:49:11 -04:00
barisusakli
f318f2f815
move out update, should work even if post isnt in dom
2014-10-14 23:57:27 -04:00
barisusakli
b3e83d2f9a
update post count on purge
2014-10-14 23:41:58 -04:00
barisusakli
8471fcbd79
fixed typo
2014-10-14 23:36:59 -04:00
barisusakli
4b1adba9ec
removed || 1
2014-10-14 23:35:32 -04:00
barisusakli
ffbefda5f7
#2265 upgrade script
2014-10-14 23:35:11 -04:00
barisusakli
761f56aeb1
removed most of the db.sortedSetCards
2014-10-14 23:12:47 -04:00
barisusakli
09bd42b9f6
removed deleted
2014-10-14 22:52:41 -04:00
barisusakli
b1d48df6d8
dont modify counts on soft post delete
2014-10-14 22:51:48 -04:00
barisusakli
5de74914bd
moved updateCounters to purge
2014-10-14 22:18:24 -04:00
barisusakli
b65c17c5bc
parseInt score
2014-10-14 20:56:52 -04:00
barisusakli
29fcb6c366
fix images in manage/flags and fadeout
2014-10-14 17:03:14 -04:00
barisusakli
040d7b8424
limit unread to 100 tids
2014-10-14 14:27:45 -04:00
barisusakli
0eae679bcd
crash fix if field is undefined
2014-10-14 13:52:47 -04:00
barisusakli
be287740f9
Merge branch 'master' of https://github.com/NodeBB/NodeBB
2014-10-14 13:29:26 -04:00
barisusakli
62503c16c6
mark category read only if unread
2014-10-14 13:29:23 -04:00
Julian Lam
b5481ceed2
property fixed #2087
2014-10-14 11:48:31 -04:00
Julian Lam
08d4d6b5bf
changed indentation for continueLogin method in authentication.js
2014-10-14 11:48:31 -04:00
barisusakli
f463030e76
closes #2264
2014-10-14 03:00:24 -04:00
barisusakli
835c58d27d
mark read after infinite scroll
...
dont mark read if already read
2014-10-14 02:39:20 -04:00
barisusakli
6ff00a935f
dont reverse infinite load admin/events
2014-10-13 23:36:08 -04:00
barisusakli
2b0957b8c7
Merge branch 'master' of https://github.com/NodeBB/NodeBB
2014-10-13 22:25:40 -04:00
barisusakli
40fe40deac
removed users:online set
...
using websockets.getConnectedClients directly
2014-10-13 22:25:34 -04:00
Julian Lam
62d0e08d6a
stopped loader from crashing whenever NodeBB restarts
2014-10-13 19:46:42 -04:00
Barış Soner Uşaklı
129a438ebe
Merge pull request #2256 from Spiritlebon/master
...
lint fix
2014-10-13 15:14:35 -04:00
barisusakli
fced152e41
read total from global object
2014-10-13 15:06:21 -04:00
barisusakli
be0d043b2b
Merge branch 'master' of https://github.com/NodeBB/NodeBB
2014-10-13 14:20:11 -04:00