85 Commits (d1101a7fb407cd15fd315fb7d0ef916a7aa58c94)

Author SHA1 Message Date
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 9 years ago
barisusakli 4ce8e2224a optimize topics.markTopicNotificationsRead
let's not call it once for each tid
9 years ago
barisusakli b446ff42c3 style changes 9 years ago
barisusakli eb0aea6390 add /user/<uid> and /post/<pid> redirects
change notifications to use new redirects
9 years ago
Julian Lam bd8fcb527b closes #4583 9 years ago
barisusakli b0151502c2 use '-inf'/'+inf' 9 years ago
Julian Lam 3c7a42c959 fixed #4294 9 years ago
pichalite 5f6a1a0acd complete fixes for #4144 9 years ago
barisusakli 1349c4907d fix notification crash 9 years ago
Julian Lam ff8e1b52e0 fixed #4251 9 years ago
barisusakli add4e6ee5b notifications.create can return null 9 years ago
barisusakli 5e9a656709 Merge remote-tracking branch 'refs/remotes/origin/master' into group-chat 9 years ago
Julian Lam fe90dd77c1 fixed #3967 9 years ago
barisusakli 26ac05dd5c Merge remote-tracking branch 'refs/remotes/origin/master' into group-chat 9 years ago
Julian Lam f4187fc671 fixing crash with deleted notifications 9 years ago
Julian Lam 9db0f59432 part of #3912 9 years ago
barisusakli 832a20e59e markRead fixes 9 years ago
barisusakli 0ff5c65f43 removed rel path, its in templates 9 years ago
barisusakli f17ba88c0f closes #3765 10 years ago
barisusakli 777157c0d6 remove old postTools requires 10 years ago
barisusakli 57c2418157 closes #1306 10 years ago
Kalina Panayotova 118de65f5e Bugfix: use sorted set to get user followers in sendTopicNotificationToFollowers 10 years ago
Barış Soner Uşaklı cc92d09498 generateNotificationPaths 10 years ago
Julian Lam 37d426dddb npnp, I totally meant to remove a method that's still in use... 10 years ago
Julian Lam 29873f1c5c removed unused .getAll method, and sorting notifications client-side so that unread notifs don't all appear at the top, #2772 10 years ago
barisusakli 756d03fa62 closes #2745
generate paths on retrieval instead of notification creation
also fix follow notification path
10 years ago
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 10 years ago
barisusakli e414008c59 closes #2584 10 years ago
barisusakli 793a0a6772 fix mark topic notifications read on enter 10 years ago
barisusakli 9e1789dc58 closes #2297 10 years ago
barisusakli 5be1c17aa7 refactor user.create
dont fire filter:user.create if there userData is invalid
10 years ago
barisusakli f15631c3e1 topic notification nid doesn't need post id 11 years ago
barisusakli 224218f519 fix missing callback 11 years ago
barisusakli 304f5b1c76 removed duped and empty bodyLong 11 years ago
barisusakli 6802bf7ce9 closes #2284 11 years ago
barisusakli 93d4a7c1f1 fix notifications to actually get recent 11 years ago
barisusakli 7bf655541c cleanup and optimize notifications 11 years ago
barisusakli cfd7edbf34 added nid 11 years ago
barisusakli b5fb7691cd optimize getUnreadByField
only get the most recent 100 notifications
dont call UserNotifications.getNotifications which does alot more work,
call the db directly
11 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
11 years ago
barisusakli 761f56aeb1 removed most of the db.sortedSetCards 11 years ago
barisusakli cf252a29a7 closes #2196 11 years ago
barisusakli 5ff293109d fix getUnreadByField 11 years ago
barisusakli d303dea6c7 closes #1986 11 years ago
barisusakli 64c51d5cba check nid before pusing and marking read 11 years ago
barisusakli 3d4dad226e crash fix 11 years ago
barisusakli b3d9db10f2 notification fixes
made post notifications unique per post so they dont overwrite other
types.
11 years ago
barisusakli dc441c2873 check err 11 years ago
barisusakli 4e6719e0aa added filterUids method to privileges
used to filter uids on a single category
11 years ago