Go to file
Moriel Schottlender c649c29e7d Generalize the SubGroupListWidget
Allow for the widget to have a mark-as-read button to its individual
groups, as well as change the event listening from 'remove' to 'discard'

The problem with 'remove' event is that it is triggered when an item
is either intentionally removed from the list *and* when an item is
changing its position in the list (move event includes 'remove' and
then 'add' event)

If we listen to 'remove' events we will get both cases, which is
unhelpful. Instead, a new event - 'discard' - was introduced so
we are certain it is used with the clear intention of removing the
item completely.

Change-Id: Ia08720bf4c547fa41edf62331eeb1a45ff4965b7
2016-05-26 18:44:16 +00:00
db_patches Track what wikis a user has unread notifications on 2015-11-20 15:54:11 -08:00
i18n Localisation updates from https://translatewiki.net. 2016-05-22 22:24:01 +02:00
images Crush all SVGs with svgo 2016-01-15 17:05:17 -08:00
includes Remove overwritten $notifyTypes array 2016-05-20 11:43:48 +01:00
maintenance NotifUser: Refactor getNotificationCount() and friends, add caching for global counts 2016-05-02 16:16:57 -07:00
modules Generalize the SubGroupListWidget 2016-05-26 18:44:16 +00:00
scripts Remove legacy qunit handling from Echo 2016-03-31 19:09:48 +00:00
tests Merge "HTML email formatter using presentation model" 2016-05-14 00:29:30 +00:00
.csslintrc Add Grunt infrastructure for CI 2015-05-01 20:35:23 -07:00
.gitignore Add tmp emacs file to gitignore 2016-05-12 13:11:20 -04:00
.gitreview Add .gitreview file 2012-04-28 01:26:21 +10:00
.jscsrc Add JSDuck support and fix errors 2016-05-11 14:07:12 -07:00
.jshintignore Recurse into sub folders for jshint and jscs 2015-11-09 12:52:42 +00:00
.jshintrc Update formatting 2015-10-03 23:28:54 -04:00
.mailmap Add Kunal, Moriel, Jon to credits; add mailmap file 2015-12-15 16:30:19 -08:00
.rubocop.yml Fixed Metrics/LineLength RuboCop offense 2015-09-29 14:59:05 +02:00
autoload.php Get rid of email bundling 2016-05-17 16:24:16 -04:00
composer.json Remove forced -p (progress) flag from phpcs.xml 2016-04-26 14:21:28 -07:00
COPYING Add COPYING 2014-01-24 16:00:24 -08:00
Echo.alias.php Add mark-as-read button to notifications in Special:Notifications 2016-05-11 10:41:32 -07:00
Echo.php Add $wgEchoCrossWikiNotifications flag to disable cross-wiki notifications 2016-05-13 13:52:54 -07:00
echo.sql Allow multiple target pages per event 2015-03-31 07:56:52 +00:00
Gemfile Migration of browsertests* Jenkins jobs to selenium* jobs 2016-04-25 17:54:45 +02:00
Gemfile.lock Migration of browsertests* Jenkins jobs to selenium* jobs 2016-04-25 17:54:45 +02:00
Gruntfile.js Ignore docs folder in all grunt tasks 2016-05-16 13:59:43 -07:00
Hooks.php Merge "Fix indenting in onResourceLoaderGetConfigVars hook method" 2016-05-20 15:47:46 +00:00
jsduck.external.js Add JSDuck support and fix errors 2016-05-11 14:07:12 -07:00
jsduck.json Add JSDuck support and fix errors 2016-05-11 14:07:12 -07:00
jsduck_custom_tags.rb Add JSDuck support and fix errors 2016-05-11 14:07:12 -07:00
Makefile Remove legacy qunit handling from Echo 2016-03-31 19:09:48 +00:00
package.json Add JSDuck support and fix errors 2016-05-11 14:07:12 -07:00
phpcs.xml Remove forced -p (progress) flag from phpcs.xml 2016-04-26 14:21:28 -07:00
Rakefile Migration of browsertests* Jenkins jobs to selenium* jobs 2016-04-25 17:54:45 +02:00
RELEASE_NOTES BREAKING CHANGE: Change $wgEchoDefaultNotificationTypes to be logical 2016-04-22 19:08:12 -07:00
Resources.php Refactoring Echo's front end for MVC 2016-05-18 12:28:45 -07:00