discourse/app/assets/javascripts/discourse/controllers
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
..
badges Convert Badges / User Badges to ES6. 2015-08-19 12:09:10 -04:00
discovery FEATURE: implement capping of new/unread 2015-09-07 12:03:17 +10:00
group ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
navigation Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
preferences Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
about.js.es6 Fixes some deprecations 2015-05-11 11:18:37 -04:00
application.js.es6 Migrate search drop down to menu-panel component. 2015-08-28 15:44:24 -04:00
avatar-selector.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
bulk-notification-level.js.es6 Remove duplicated NotificationType globals 2015-02-27 10:33:39 -05:00
change-owner.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
change-timestamp.js.es6 FEATURE: Allow admin to change timestamp of topic. 2015-08-17 00:00:05 +08:00
composer-messages.js.es6 FIX: popups stopped appearing 2015-03-19 13:42:13 +01:00
composer.js.es6 FIX: Dirty edit can toggle to another edit. 2015-08-24 22:55:56 +08:00
create-account.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
directory-item.js.es6 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
discovery-sortable.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
discovery.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
edit-category.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
edit-topic-auto-close.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
exception.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
feature-topic.js.es6 FIX: pop a descriptive error when pinning a topic without a date 2015-08-26 22:23:08 +02:00
flag-action-type.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
flag.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
forgot-password.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
full-page-search.js.es6 FEATURE: bulk select on search results 2015-08-27 11:44:13 +10:00
group.js.es6 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
header.js.es6 FIX: Opening panels by keyboard should respect closing 2015-08-31 14:51:38 -04:00
history.js.es6 FIX: revision history broken for anon 2015-08-23 19:56:03 +02:00
invite.js.es6 fix the build :fired: 2015-08-31 21:42:31 +05:30
keyboard-shortcuts-help.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
login.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
merge-topic.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
modal.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
not-activated.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
post-enqueued.js.es6 Support for custom reasons for things being queued for approval 2015-04-28 15:06:47 -04:00
preferences.js.es6 FEATURE: global admin override of most of the user preferences 2015-08-21 20:39:21 +02:00
queued-post.js.es6 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
quote-button.js.es6 Ember 1.12 support 2015-08-13 11:14:16 -04:00
raw-email.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
reorder-categories.js.es6 FEATURE: Category reordering dialog 2015-09-06 16:53:52 -07:00
search-help.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
share.js.es6 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
split-topic.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
static.js.es6 FEATURE: Show FAQ at top of the hamburger until the user reads it 2015-09-04 16:56:02 -04:00
topic-admin-menu.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
topic-bulk-actions.js.es6 FIX: since stuff is unbound in the list we must issue a refresh on all bulk actions 2015-08-27 11:43:32 +10:00
topic-entrance.js.es6 FIX: highest_post_number was not being updated from gaps 2015-09-03 13:37:55 -04:00
topic-progress.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
topic-unsubscribe.js.es6 ObjectController is deprecated 2015-08-12 23:07:58 +02:00
topic.js.es6 FIX: Don't use observers to update data 2015-09-03 11:10:04 -04:00
upload-customization.js.es6 FEATURE: Can create stylesheets for embedded comments 2015-08-10 10:21:04 -04:00
upload-selector.js.es6 FIX: smoke test :fired: 2015-08-21 21:06:47 +02:00
user-activity.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
user-badges.js.es6 FIX: sane badge ordering on user page 2014-12-22 14:30:37 +11:00
user-card.js.es6 Add ES6 support to more files 2015-08-13 10:49:08 -04:00
user-invited-show.js.es6 FEATURE: show pending/redeemed invite count in tabs 2015-08-25 01:12:46 +05:30
user-notifications.js.es6 Upgrade Notifications to fix deprecations and use store 2015-05-11 11:20:45 -04:00
user-posts.js.es6 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
user-topics-list.js.es6 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
user.js.es6 when looking at your own profile it should be collapsed. 2015-09-02 16:50:40 +10:00
users.js.es6 Add ES6 support to more files 2015-08-13 10:49:08 -04:00