mediawiki-extensions-Echo/includes/Push
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
..
NotificationRequestJob.php Push: Bail out of notification job early if no subscriptions found 2020-06-10 15:38:23 -04:00
NotificationServiceClient.php Push: Submit requests to configured service endpoint 2020-06-08 13:37:24 +00:00
PushNotifier.php Push: Add additional job params for logging 2020-06-17 17:58:21 -04:00
Subscription.php Fix push subscription retrieval 2020-06-08 13:58:42 +02:00
SubscriptionManager.php Create and enforce a config setting for max subscriptions per user 2020-08-12 17:58:11 -04:00