mediawiki-extensions-AbuseF.../tests/phpunit/unit
STran bd819b98a2 Add preference for viewing protected variables in AbuseFilter
Users need to enable a preference before gaining access to the IPs
from `user_unnamed_ip`, a protected variable.

- Add a preference that the user can check to toggle their access
- Check for the preference and the view right for logs that reveal
  protected variables on:
  + AbuseFilterViewExamine
  + SpecialAbuseLog
  + QueryAbuseLog

Bug: T371798
Change-Id: I5363380d999118982b216585ea73ee4274a6eac1
2024-09-12 07:59:24 -07:00
..
ChangeTags tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
Consequences tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
Filter Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
Hooks Use namespaced classes 2024-06-12 20:01:35 +02:00
Parser Simplify FilterEvaluator::getUsedVars using ::checkSyntax 2024-07-05 11:32:09 +02:00
Special tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
VariableGenerator Add user_unnamed_ip variable 2024-05-23 07:19:48 -07:00
Variables Use namespaced classes 2024-06-12 20:01:35 +02:00
Watcher tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
AbuseFilterPermissionManagerTest.php Add preference for viewing protected variables in AbuseFilter 2024-09-12 07:59:24 -07:00
AbuseLoggerFactoryTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
ActionSpecifierTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
BlockAutopromoteStoreTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
CentralDBManagerTest.php tests: Use IDatabase for mocking instead of DBConnRef 2024-05-02 22:32:05 +02:00
EditBoxBuilderFactoryTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
EditRevUpdaterTest.php tests: Use IDatabase for mocking instead of DBConnRef 2024-05-02 22:32:05 +02:00
EditStashCacheTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
EmergencyCacheTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
FilterCompareTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
FilterImporterTest.php Convert af_hidden into a bitmask 2024-05-28 00:59:08 -07:00
FilterLookupTest.php Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
FilterProfilerTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
FilterRunnerFactoryTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
FilterStoreTest.php Remove AbuseFilterActorMigration 2024-06-15 09:42:27 +02:00
FilterValidatorTest.php Miscellaneous minor fixes 2024-07-03 02:31:38 +02:00
GlobalNameUtilsTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
KeywordsManagerTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
RunnerDataTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
SpecsFormatterTest.php Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
TextExtractorTest.php Use namespaced classes 2024-06-12 20:01:35 +02:00