Commit Graph

104 Commits (7a4fc8e48b09fe47178542ac5e20f241e19e656d)

Author SHA1 Message Date
barisusakli 756d03fa62 closes
generate paths on retrieval instead of notification creation
also fix follow notification path
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
Julian Lam c351261165 added daily cleaning of reset tokens
barisusakli b41119a374 show seconds like search page
barisusakli 2c8e8a1f1c closes , closes
Julian Lam 23b14b3443 moving nearly all startup messages to verbose type
barisusakli 283ac1578f fix null datetime error
barisusakli 9ff35a18f2 closes
barisusakli 3272ca34ee 0.6.0 cleanup
barisusakli 7bf655541c cleanup and optimize notifications
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
barisusakli 72a919e416 time based check
barisusakli cf252a29a7 closes
barisusakli 2a1f9600e6 less event logs for notif pruning
barisusakli d303dea6c7 closes
barisusakli 64c51d5cba check nid before pusing and marking read
barisusakli 515e663f85 getObjectsFix
return empty array if keys is empty or not an array
Julian Lam b85ff61de6 refactored chat notification system to wait a bit before sending notif/email, closes
barisusakli b3d9db10f2 notification fixes
made post notifications unique per post so they dont overwrite other
types.
barisusakli 9466d7ced4 faster notif prune
no need to loop tru and check datetime since notifications is a sorted
set now
barisusakli 35a903f9c8 closes
when new notifications are pushed to uids clear their old notifications.
barisusakli 5204dc1e23 removed total count
barisusakli 493d0dea1e part 1 of notif refactor
barisusakli e79c980421 delete anything older than 1 week
Baris Usakli f16ced6bcc removed path from notif, its created on the fly when retrieveing the notifications
barisusakli 9b26b60082 fixed cron
barisusakli 61e1c51ef6 run notif prune every 30mins
disabled post edit log
barisusakli 2252ab7479 notifications.prune
run every hour
dont get more than 500 notifications
barisusakli 1075305444 crash fix
barisusakli 77a7c5caef eachLimit notifications.push
barisusakli 5ae7c92d55 notifications refactor
added getMultiple which works with an array of nids
barisusakli ea2975cb3f eachLimit on expire nids
barisusakli 7d179b68df faster notif prune
barisusakli b0b78c3092 minor fix to prevent err when trying to mark null nid
barisusakli e420ee5fb6 privilege fix for single category check
barisusakli 62681c36ef if notif is deleted don't push, prevent crash
barisusakli f31978aa2c moved core notifications all the way to the end
barisusakli f71bd41408 more fixes
barisusakli d7520508e3 part1
barisusakli eea987d8dd removed console.log
Julian Lam 91ce3634fc fixed
Julian Lam 458e294293 switched validator library out in favour of String lib
Julian Lam c41bb05711 final pass , closed
Julian Lam d257632878 first pass , updating existing calls to notifications.create, backwards compatibility in case plugins create notifications too.
Julian Lam dedc6d8154 added new hook for notification pushing
barisusakli ce1934e566 closes
barisusakli 4570edb122 closes
Julian Lam 3baf00208f slugifying group name when checking for existence
barisusakli 66701afdaa closes
fixes the notification image too, the property was called image not
picture
Julian Lam 3849b2d6b3 added pushGroup method to notifications object