aboutsummaryrefslogtreecommitdiffstats
path: root/includes/auth/Throttler.php
Commit message (Collapse)AuthorAgeFilesLines
* Use MainConfigNames instead of string literalsAryeh Gregor2022-04-111-1/+2
| | | | | | | | Part 1, proof of concept. Hundreds of files left to go. These changes brought to you in large part by vim macros. Bug: T305805 Change-Id: I44789091e9f6394c800a11b29f22528c8dcacf71
* cache: Fix various scalar and null types to match documentationUmherirrender2022-03-141-2/+2
| | | | | | | | Adding float as type when INF is used as argument Found by phan strict checks Change-Id: I7e19cd0d9b09bf685e4e8387c900f303b669ad54
* Unsuppress more phan issues (part 5)Daimona Eaytoy2019-09-011-2/+2
| | | | | | Bug: T231636 Depends-On: I6e5fba7bd273219b1206559420b5bdb78734aa84 Change-Id: I50377746f01749b058c39fd8229f9d566224cc43
* Migrate BagOStuff::incr() calls to incrWithInit()Aaron Schulz2019-08-251-12/+13
| | | | Change-Id: I722d6fe3d50c594858e3e7960fb99ef2fc1664b3
* Fix PhanTypeMismatchDeclaredParamUmherirrender2018-07-071-1/+1
| | | | | | Auto fix MediaWiki.Commenting.FunctionComment.DefaultNullTypeParam sniff Change-Id: I865323fd0295aabd06f3e3c75e0e5043fb31069e
* MediaWiki\Auth\Throttler: Change "ip" key nameBrad Jorsch2018-05-251-2/+2
| | | | | | | Apparently 'ip' is overwritten by logstash at some level, so use 'ipKey' instead. Change-Id: I0547acdbb9f3fc7a990bd4baa2d748e89bac8c3b
* auth: Avoid deprecated wfGlobalCacheKey()Kunal Mehta2017-05-231-2/+2
| | | | Change-Id: I2d6fa73fe857a0495df13aa25071e69b1ec2ba70
* Remove multiple spaces in PHP filesFomafix2017-04-121-1/+1
| | | | Change-Id: Id9c26ec5ca730a9536f8fdccb8853eb03cbe87a4
* Get ConfigFactory & MainConfig from MediaWikiServicesaddshore2016-11-231-1/+2
| | | | Change-Id: Iafdd7e00747060572463ffb05aae4543f3a06163
* Throttler: improve log message compatibility with Monolog loggerBryan Davis2016-11-151-2/+2
| | | | | | | | | | The `type` log event attribute is used in Wikimedia production logging to categorize log events by source (e.g. 'mediawiki', 'restbase', etc). Adding a `type` key to the logging context overwrites the default value of 'mediawiki'. Rename the key to `throttle` in the context and the message template. Change-Id: Ic274159774e43a8749f83c850fff7897956cf377
* Remove unused importsThiemo Mättig2016-07-051-3/+0
| | | | Change-Id: I3b2ede8a11863c0fb775d851abb251e44ad616db
* Add AuthManagerBrad Jorsch2016-05-161-0/+210
This implements the AuthManager class and its needed interfaces and subclasses, and integrates them into the backend portion of MediaWiki. Integration with frontend portions of MediaWiki (e.g. ApiLogin, Special:Login) is left for a followup. Bug: T91699 Bug: T71589 Bug: T111299 Co-Authored-By: Gergő Tisza <gtisza@wikimedia.org> Change-Id: If89d24838e326fe25fe867d02181eebcfbb0e196