This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts
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
..
admin FEATURE: group can grant a trust level when a user is added 2015-09-01 16:52:12 -04:00
defer FIX: remove invalid hack, correct whitelist to use value returned from callback 2014-07-25 12:16:00 +10:00
discourse FEATURE: implement capping of new/unread 2015-09-07 12:03:17 +10:00
docs Ember Upgrade: 1.0 2013-10-01 11:16:27 -04:00
ember-addons Ember 1.12 support 2015-08-13 11:14:16 -04:00
locales FEATURE: Localization fallbacks (client) 2015-07-15 10:17:28 -07:00
admin.js.erb Add support for plugins to declare ES6 in the admin bundle 2015-08-17 15:03:55 -04:00
application.js.erb Add support for plugins to declare ES6 in the admin bundle 2015-08-17 15:03:55 -04:00
discourse.js Avoid calling Discourse.logout and use an action instead 2015-09-01 14:41:31 -04:00
ember_include.js.erb Ember 1.12 support 2015-08-13 11:14:16 -04:00
env.js Many fixes for Ember 1.9.0 2014-12-17 09:31:40 -05:00
jquery_include.js.erb Ember 1.11 broken WIP 2015-05-11 11:18:37 -04:00
main_include_admin.js FIX: List views in admin were broken 2015-05-11 13:17:12 -04:00
main_include.js FEATURE: Category reordering dialog 2015-09-06 16:53:52 -07:00
pagedown_custom.js FIX: quote whote post should insert at cursor position 2015-02-02 19:08:28 +01:00
preload_store.js Remove deprecated Ember.Deferred 2014-09-24 14:17:29 -04:00
vendor.js FIX: stop disabling default in detect swipe library 2015-08-26 10:26:58 +10:00