mediawiki-extensions-Echo/includes
Roan Kattouw f3c9a0a255 AttributeManager: Check notify type availability before notifying
It was sort of checked in an implicit and roundabout way, in the sense
that the preferences page checks this and forces the relevant
preferences to on or off. But this was difficult to discover, and it's
not clear if this works correctly when defaults change.

Instead, explicitly check whether the requested notify type is available
for the event's category. Also rewrite the entire method to use
array_filter().

Change-Id: I9502a42fc705b2e56ef5edab433f1804f2924359
2019-04-12 18:00:04 -07:00
..
api Add phan 2019-04-10 18:51:59 +02:00
cache cache: Reduce responsibility of subclass and remove unused parts 2018-08-17 03:28:02 +00:00
controller Merge "Convert caching to WANObjectCache" 2019-03-04 15:06:35 +00:00
exception
formatters Merge "Do not fail on unknown revids in mention-summary events" 2019-04-11 11:12:51 +00:00
gateway Pass string as field to IDatabase::selectField and ::selectRowCount 2019-03-02 17:29:29 +00:00
iterator Fix some doc blocks 2017-11-07 17:06:17 +01:00
jobs Merge "NotificationDeleteJob: Remove unused variable $targetMapper" 2019-03-02 03:43:50 +00:00
mapper Use echo_event.event_page_id to find events to moderate 2019-04-11 10:48:49 -04:00
model Use echo_event.event_page_id to find events to moderate 2019-04-11 10:48:49 -04:00
ooui Use local vars in LabelIconWidget 2019-02-23 21:26:35 +01:00
special Merge "Add phan" 2019-04-10 17:29:04 +00:00
AttributeManager.php AttributeManager: Check notify type availability before notifying 2019-04-12 18:00:04 -07:00
Bundleable.php Remove some non-helpful lines of documentation 2018-07-06 15:14:44 +00:00
Bundler.php build: Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-12-05 15:54:30 -08:00
DataOutputFormatter.php Code improvements for includes/ **only** directory 2019-03-05 18:58:52 +01:00
DeferredMarkAsDeletedUpdate.php Merge "Make "@… array" type hints more specific" 2018-08-16 00:57:12 +00:00
DiscussionParser.php Simplify a few overly complex code snippets 2019-02-19 20:39:26 +00:00
EchoArrayList.php Fix multiple PHP class declarations in one file 2018-01-21 21:17:53 +00:00
EchoCachedList.php Convert caching to WANObjectCache 2019-02-28 21:56:38 -08:00
EchoContainmentList.php Make "@… array" type hints more specific 2018-08-13 09:27:37 +02:00
EchoContainmentSet.php Convert caching to WANObjectCache 2019-02-28 21:56:38 -08:00
EchoDbFactory.php Code improvements for includes/ **only** directory 2019-03-05 18:58:52 +01:00
EchoDiffGroup.php Make "@… array" type hints more specific 2018-08-13 09:27:37 +02:00
EchoDiffParser.php Code improvements for includes/ **only** directory 2019-03-05 18:58:52 +01:00
EchoHooks.php Add phan 2019-04-10 18:51:59 +02:00
EchoOnWikiList.php Code improvements for includes/ **only** directory 2019-03-05 18:58:52 +01:00
EchoSummaryParser.php Replace two regular expressions with cheap string manipulations 2018-10-11 10:59:04 +02:00
EmailBatch.php Code improvements for includes/ **only** directory 2019-03-05 18:58:52 +01:00
EmailFormat.php HTML email formatter using presentation model 2016-05-12 09:29:24 -04:00
EmailFrequency.php HTML email formatter using presentation model 2016-05-12 09:29:24 -04:00
EventLogging.php Code improvements for includes/ **only** directory 2019-03-05 18:58:52 +01:00
ForeignNotifications.php Use php null coalesce operator ?? 2019-03-12 21:04:00 +01:00
ForeignWikiRequest.php Add phan 2019-04-10 18:51:59 +02:00
Notifier.php Drop $wgNotificationReplyName, instead let just show the e-mail 2018-08-29 01:03:54 +00:00
NotifUser.php Code improvements for includes/ **only** directory 2019-03-05 18:58:52 +01:00
ResourceLoaderEchoImageModule.php Fix Illegal string offset 'ltr' in ResourceLoaderEchoImageModule.php 2017-03-27 23:46:45 +00:00
schemaUpdate.php Code improvements for includes/ **only** directory 2019-03-05 18:58:52 +01:00
SeenTime.php Merge "Use "false" as type hint in PHPDoc tags" 2018-08-16 01:00:05 +00:00
UnreadWikis.php Merge "Use "false" as type hint in PHPDoc tags" 2018-08-16 01:00:05 +00:00
UserLocator.php Fix typo 2019-03-08 15:36:55 +02:00