Go to file
Daimona Eaytoy a0fd0bae01 Overhaul throttle identifiers
- Use a /64 range for IPv6 instead of /16.
- Fix a curious and serious bug for IPv6, where grouping by range
  would only use the first (!) number of the IP address, due to the
  'v6-' prefix returned by IP::toHex.
- Fail hard if the identifier is unknown -- it's not something that's
  supposed to happen.
- Include the type name in each identifier, instead of prefixing all
  type names to all identifiers. This makes it easier to understand the
  parts of the key.
- Test the whole lot.

Bug: T211101
Change-Id: I54c4209f2f0d5a4c5e7b81bed240ca3e28a2ded7
2022-03-06 13:31:06 +00:00
.phan Notify of a throttled filter 2020-12-19 10:31:29 +01:00
db_patches Rename filter_timestamp index in a different file 2021-10-20 15:22:04 +02:00
i18n Overhaul throttle identifiers 2022-03-06 13:31:06 +00:00
includes Overhaul throttle identifiers 2022-03-06 13:31:06 +00:00
maintenance Remove leftovers of AbuseFilterAflFilterMigrationStage 2021-09-25 03:48:37 +02:00
modules build: Update eslint-config-wikimedia to 0.21.0 2021-12-21 22:53:00 +01:00
tests Overhaul throttle identifiers 2022-03-06 13:31:06 +00:00
.eslintrc.json build: Updating eslint-config-wikimedia to 0.19.0 2021-03-10 23:05:48 +00:00
.gitignore Add config for Selenium and basic tests 2019-09-17 16:23:07 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:01:30 -07:00
.phpcs.xml Merge "Use FauxRequest::setUpload in AbuseFilterUploadTestTrait::doUpload" 2021-05-15 12:22:10 +00:00
.stylelintrc.json build: Bump devDependencies to latest 2018-02-10 21:00:53 +00:00
AbuseFilter.alias.php Add aliases for Serbian language 2018-12-24 02:16:55 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.4.0 2018-09-01 05:29:54 +00:00
composer.json build: Upgrade mediawiki-phan-config to 0.11.1 2021-12-05 11:29:54 +00:00
COPYING
extension.json Merge "Update description of AbuseFilterEmergencyDisableThreshold" 2022-02-26 14:26:15 +00:00
Gruntfile.js eslint config tweaks 2020-06-09 19:39:03 +01:00
package-lock.json build: Updating eslint-config-wikimedia to 0.22.1 2022-02-10 03:45:09 +00:00
package.json build: Updating eslint-config-wikimedia to 0.22.1 2022-02-10 03:45:09 +00:00