discourse/app
Selase Krakani 7ba115769a
DEV: Skip push notifications for active online users (#19502)
* DEV: Skip push notifications for active online users

Currently, users with active push subscriptions get push notifications
regardless of their "presence" on the site.

This change introduces a `push_notification_time_window_mins`
site setting which is used in conjunction with a user's `last_seen_at` to
determine if push notifications should be sent. A user is considered to
be actively online if their `last_seen_at` is within `push_notification_time_window_mins`
minutes. `push_notification_time_window_mins` is set to 10 by default.

* DEV: Remove client param for push_notification_time_window_mins site setting

Co-authored-by: Bianca Nenciu <nbianca@users.noreply.github.com>

Co-authored-by: Bianca Nenciu <nbianca@users.noreply.github.com>
2022-12-19 20:17:40 +00:00
..
assets Build(deps): Bump ember-qunit in /app/assets/javascripts (#19519) 2022-12-19 19:04:55 +01:00
controllers FIX: Remove user_option saving for bookmark auto delete pref (#19476) 2022-12-16 08:50:31 +10:00
helpers FEATURE: Optionally allow a separate `s3_asset_cdn_url` to be specified (#19284) 2022-12-08 10:36:20 +00:00
jobs DEV: Skip push notifications for active online users (#19502) 2022-12-19 20:17:40 +00:00
mailers SECURITY: Filter tags in user notifications for visibility (#19239) 2022-11-29 10:35:41 -06:00
models FIX: discourse-follow notification types (#19513) 2022-12-19 15:57:35 +11:00
serializers UX: Redesign and refactor penalty modals (#19458) 2022-12-19 19:36:03 +02:00
services DEV: Skip push notifications for active online users (#19502) 2022-12-19 20:17:40 +00:00
views FIX: Broken images on subfolder installs (#19404) 2022-12-09 11:24:12 -07:00