Go to file
Stephane Bisson 52b60075d1 Handle empty foreign notification sources
Foreign notification sources can end up being empty
for legitimate reasons (already marked as read on the
foreign wiki) or errors (failed to query remote server).

This change makes the front-end resilient by
removing the sources if they end up being empty,
and removing the foreign notifications bundle if
all the sources end up being empty.

Bug: T135252
Bug: T135250
Change-Id: I5901bb0007420a19d8c0727faa982eb00809c074
2016-05-13 15:42:58 -04: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-12 22:14:01 +02:00
images Crush all SVGs with svgo 2016-01-15 17:05:17 -08:00
includes Protect against some errors that apparently happen in production 2016-05-12 17:56:16 -07:00
maintenance NotifUser: Refactor getNotificationCount() and friends, add caching for global counts 2016-05-02 16:16:57 -07:00
modules Handle empty foreign notification sources 2016-05-13 15:42:58 -04:00
scripts Remove legacy qunit handling from Echo 2016-03-31 19:09:48 +00:00
tests Get rid of addApiHandler factory 2016-05-13 14:11:42 -04: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 Add mark-as-read button to notifications in Special:Notifications 2016-05-11 10:41:32 -07: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 Merge "Add mark-as-read button to notifications in Special:Notifications" 2016-05-11 18:42:46 +00: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 build: Remove grunt-contrib-csslint 2016-01-18 19:51:04 -08:00
Hooks.php Respect editmyprivateinfo for email 2016-05-12 11:21:10 -07: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 Add mark-as-read button to notifications in Special:Notifications 2016-05-11 10:41:32 -07:00