wiki.techinc.nl/includes/block
Thalia 52f7720227 Introduce a BlockManager service
This introduces a minimal BlockManager service, for getting blocks
that apply to a User.

Move the part of User::getBlockedStatus that checks for the blocks
into BlockManager::getUserBlock, and move the related helper
methods from User to BlockManager.

Hard deprecate or remove these helper methods, and move to private
methods in the BlockManager:
* User::getBlockFromCookieValue
* User::isLocallyBlockedProxy
* User::inDnsBlacklist

Soft deprecate these helper methods, and move to public methods in
the BlockManager:
* User::isDnsBlacklisted

Add tests to cover the methods moved to BlockManager.

Bug: T219441
Change-Id: I0af658d71288376735cebe541215383b56bb72e5
2019-04-29 17:47:55 +01:00
..
Restriction Merge "Improve documentation of constants throughout the codebase" 2019-04-12 21:38:16 +00:00
BlockManager.php Introduce a BlockManager service 2019-04-29 17:47:55 +01:00
BlockRestrictionStore.php Rename BlockRestriction -> BlockRestrictionStore and wire it up as a service 2019-04-16 21:55:15 -04:00