wiki.techinc.nl/includes/block
Matěj Suchánek 1902efbcc7 BlockUser: Restore blocking autoblocked IP addresses
This seems to be a regression from 166ed5c.
DatabaseBlock::newFromTarget may return an autoblock for an IP
unless there is an existing manual block. If so, ignore it
because it is allowed to have an IP address both manually
blocked and autoblocked (see ipb_address_unique index).

Also add an integration test case.

Bug: T287798
Change-Id: I7c9a66ba0ffe759f43f4d0821c30fb94649d3dea
2021-08-03 14:49:41 +00:00
..
Hook GetAllBlockActionsHook: Document avoiding blockable action ID conflicts 2021-05-10 18:35:58 +01:00
Restriction Introduce infrastructure for partial blocks for actions 2021-04-27 21:53:13 +01:00
AbstractBlock.php Merge "Convert AbstractBlock::$target to UserIdentity" 2021-07-27 15:30:20 +00:00
Block.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
BlockActionInfo.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
BlockErrorFormatter.php BlockErrorFormatter: clean up handling of link to blocker's user page 2021-07-27 22:13:28 +00:00
BlockManager.php Make BlockManager::getUserBlock take UserIdentity 2021-05-26 19:29:47 -07:00
BlockPermissionChecker.php Authority: expose user block info 2021-06-30 13:42:21 +02:00
BlockPermissionCheckerFactory.php Authority: expose user block info 2021-06-30 13:42:21 +02:00
BlockRestrictionStore.php Replace uses of DB_MASTER with DB_PRIMARY 2021-04-29 09:24:31 -07:00
BlockUser.php BlockUser: Restore blocking autoblocked IP addresses 2021-08-03 14:49:41 +00:00
BlockUserFactory.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
BlockUtils.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
CompositeBlock.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
DatabaseBlock.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
DatabaseBlockStore.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
SystemBlock.php Introduce Block interface and replace AbstractBlock. 2021-05-11 11:36:11 +02:00
UnblockUser.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
UnblockUserFactory.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
UserBlockCommandFactory.php build: Updating dependencies 2021-07-22 03:36:05 +00:00