discourse/app
Sam Saffron 372f6f4f22
FEATURE: limit number of notifications per user to 10,000
Introduces a new site setting `max_notifications_per_user`.

Out-of-the-box this is set to 10,000. If a user exceeds this number of
notifications, we will delete the oldest notifications keeping only 10,000.

To disable this safeguard set the setting to 0.

Enforcement happens weekly.

This is in place to protect the system from pathological states where a
single user has enormous amounts of notifications causing various queries
to time out. In practice nobody looks back more than a few hundred notifications.
2020-02-24 11:42:50 +11:00
..
assets modal footer button height fix 2020-02-21 20:13:23 -05:00
controllers FEATURE: Publish a message when reviewable claimer changes (#9019) 2020-02-21 19:11:50 +02:00
helpers FIX: blank popular posts in summary emails due to lightbox images 2020-02-21 16:18:38 -05:00
jobs FEATURE: limit number of notifications per user to 10,000 2020-02-24 11:42:50 +11:00
mailers FIX: Replace deprecated URI.encode, URI.escape, URI.unescape and URI.unencode (#8528) 2019-12-12 12:49:21 +10:00
models FEATURE: limit number of notifications per user to 10,000 2020-02-24 11:42:50 +11:00
serializers FIX: tag info misleading message saying it's not restricted 2020-02-05 15:23:39 -05:00
services FIX: Mentions updater should work regardless of .notify 2020-02-18 16:02:26 -05:00
views UX: use same styling for username and user-name 2020-02-20 17:51:37 +05:30