mediawiki-extensions-Echo/tests/phpunit/api
Michael Holloway 15d48278be Create and enforce a config setting for max subscriptions per user
Creates a EchoPushMaxSubscriptionsPerUser config setting (default: 0)
that controls the maximum number of subscriptions a user may associate
with the user's central user ID.

The setting is enforced in EchoPush\SubscriptionManager::create().

To allow creating push subscriptions for development, set
$wgEchoPushMaxSubscriptionsPerUser to a positive integer value in
LocalSettings.php:

 $wgEchoPushMaxSubscriptionsPerUser = 10;

Bug: T259150
Change-Id: Ib97b6b6cbb8161dd75dad92c54b4fe4fff80c421
2020-08-12 17:58:11 -04:00
..
Push Create and enforce a config setting for max subscriptions per user 2020-08-12 17:58:11 -04:00
ApiEchoMarkReadTest.php Merge "Use absolute class names in @covers tags" 2019-10-24 18:37:15 +00:00
ApiEchoNotificationsTest.php Merge "Use absolute class names in @covers tags" 2019-10-24 18:37:15 +00:00