discourse/spec
Sam 335be272ff FEATURE: implement capping of new/unread
We cap new and unread at 2/5th of SiteSetting.max_tracked_new_unread

This dynamic capping is applied under 2 conditions:

1. New capping is applied once every 15 minutes in the periodical job, this effectively ensures that usually even super active sites are capped at 200 new items

2. Unread capping is applied if a user hits max_tracked_new_unread,
  meaning if new + unread == 500, we defer a job that runs within 15 minutes that will cap user at 200 unread

This logic ensures that at worst case a user gets "bad" numbers for 15 minutes and then the system goes ahead and fixes itself up
2015-09-07 12:03:17 +10:00
..
components FEATURE: Add a trigger for plugins to include their own jobs. 2015-09-04 22:59:39 +08:00
controllers FEATURE: Category reordering dialog 2015-09-06 16:53:52 -07:00
fabricators FEATURE: Can edit category/host relationships for embedding 2015-08-20 15:56:04 -04:00
fixtures FEATURE: global admin override of most of the user preferences 2015-08-21 20:39:21 +02:00
helpers Update rspec syntax to v3 2015-01-05 11:59:30 -03:00
integration Convert specs to RSpec 2.99.2 syntax with Transpec 2015-04-25 11:18:35 -04:00
integrity correct invalid spec 2015-06-15 16:34:35 +10:00
jobs FEATURE: global admin override of most of the user preferences 2015-08-21 20:39:21 +02:00
mailers FEATURE: include email_prefix in digest email subject instead of site title 2015-06-03 22:22:29 +05:30
models FEATURE: implement capping of new/unread 2015-09-07 12:03:17 +10:00
phantom_js FIX: smoke test :fired: 2015-08-21 21:06:47 +02:00
serializers UX: show complete URL path if website domain is same as instance domain 2015-08-12 01:19:20 +05:30
services FEATURE: relax username rules to allow - and . and leading _ 2015-09-02 12:13:44 +10:00
support PERF: Cache About#stats. 2015-07-20 22:45:05 +08:00
views/omniauth_callbacks Better support for passing up errors when OmniAuth fails after auth 2015-06-24 12:12:43 -04:00
spec_helper.rb Allow Postgres to trigger readonly mode for the site. 2015-04-29 11:49:58 -04:00