Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
604358ecc4
ESlint keyword-spacing, no-multi-spaces
2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
2e031f3759
ESlint comma-spacing
2017-02-18 01:31:47 -07:00
Peter Jaszkowiak
3361a72725
ESlint no-plusplus
...
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
barisusakli
4ce8e2224a
optimize topics.markTopicNotificationsRead
...
let's not call it once for each tid
2016-09-19 23:43:50 +03:00
barisusakli
b446ff42c3
style changes
2016-05-06 13:47:10 +03:00
barisusakli
eb0aea6390
add /user/<uid> and /post/<pid> redirects
...
change notifications to use new redirects
2016-05-05 20:24:09 +03:00
Julian Lam
bd8fcb527b
closes #4583
2016-04-29 12:54:53 -04:00
barisusakli
b0151502c2
use '-inf'/'+inf'
2016-03-11 14:20:23 +02:00
Julian Lam
3c7a42c959
fixed #4294
2016-03-01 16:13:05 -05:00
pichalite
5f6a1a0acd
complete fixes for #4144
2016-02-26 00:04:56 +00:00
barisusakli
1349c4907d
fix notification crash
2016-02-24 22:05:14 +02:00
Julian Lam
ff8e1b52e0
fixed #4251
2016-02-23 13:15:45 -05:00
barisusakli
add4e6ee5b
notifications.create can return null
2016-01-27 20:03:28 +02:00
barisusakli
5e9a656709
Merge remote-tracking branch 'refs/remotes/origin/master' into group-chat
2015-12-19 17:21:52 +02:00
Julian Lam
fe90dd77c1
fixed #3967
2015-12-19 09:31:03 -05:00
barisusakli
26ac05dd5c
Merge remote-tracking branch 'refs/remotes/origin/master' into group-chat
2015-12-18 13:16:55 +02:00
Julian Lam
f4187fc671
fixing crash with deleted notifications
2015-12-16 15:33:00 -05:00
Julian Lam
9db0f59432
part of #3912
2015-12-16 12:15:26 -05:00
barisusakli
832a20e59e
markRead fixes
2015-12-16 15:43:01 +02:00
barisusakli
0ff5c65f43
removed rel path, its in templates
2015-10-24 22:54:28 -04:00
barisusakli
f17ba88c0f
closes #3765
2015-10-19 12:48:26 -04:00
barisusakli
777157c0d6
remove old postTools requires
2015-09-17 15:12:26 -04:00
barisusakli
57c2418157
closes #1306
2015-06-27 21:26:19 -04:00
Kalina Panayotova
118de65f5e
Bugfix: use sorted set to get user followers in sendTopicNotificationToFollowers
2015-05-21 16:24:33 -07:00
Barış Soner Uşaklı
cc92d09498
generateNotificationPaths
2015-03-19 15:24:46 -04:00
Julian Lam
37d426dddb
npnp, I totally meant to remove a method that's still in use...
2015-02-25 15:56:52 -05:00
Julian Lam
29873f1c5c
removed unused .getAll method, and sorting notifications client-side so that unread notifs don't all appear at the top, #2772
2015-02-25 12:26:55 -05:00
barisusakli
756d03fa62
closes #2745
...
generate paths on retrieval instead of notification creation
also fix follow notification path
2015-02-19 18:14:38 -05:00
Julian Lam
350acde379
ability to mark a notification read/unread from dropdown list, made styling less bootstrap-locked, using FA icon in theme instead of hardcoded in template
2015-02-19 12:06:15 -05:00
barisusakli
e414008c59
closes #2584
2015-01-13 17:30:44 -05:00
barisusakli
793a0a6772
fix mark topic notifications read on enter
2014-12-18 23:28:19 -05:00
barisusakli
9e1789dc58
closes #2297
2014-11-05 20:41:31 -05:00
barisusakli
5be1c17aa7
refactor user.create
...
dont fire filter:user.create if there userData is invalid
2014-10-28 18:28:26 -04:00
barisusakli
f15631c3e1
topic notification nid doesn't need post id
2014-10-19 18:41:54 -04:00
barisusakli
224218f519
fix missing callback
2014-10-19 16:39:36 -04:00
barisusakli
304f5b1c76
removed duped and empty bodyLong
2014-10-18 17:02:37 -04:00
barisusakli
6802bf7ce9
closes #2284
2014-10-18 16:45:39 -04:00
barisusakli
93d4a7c1f1
fix notifications to actually get recent
2014-10-17 18:51:58 -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
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
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
barisusakli
761f56aeb1
removed most of the db.sortedSetCards
2014-10-14 23:12:47 -04:00
barisusakli
cf252a29a7
closes #2196
2014-10-01 15:32:54 -04:00
barisusakli
5ff293109d
fix getUnreadByField
2014-09-30 23:20:25 -04:00
barisusakli
d303dea6c7
closes #1986
2014-09-29 12:30:07 -04:00