wiki.techinc.nl/tests/phpunit/includes
Aaron Schulz fb51330084 rdbms: include client ID hash in ChronologyProtector cookies
Previously, if an internal service forwarded the cookies for a
user (e.g. for permissions) but not the User-Agent header or not
the IP address (e.g. XFF), ChronologyProtector could timeout
waiting for a matching writeIndex to appear for the wrong key.

The cookie now tethers the client to the key that holds the
DB positions from their last state-changing request.

Bug: T194403
Bug: T190082
Change-Id: I84f2cbea82532d911cdfed14644008894498813a
2018-06-02 03:57:30 +00:00
..
actions Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
api Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
auth Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
cache Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
changes Remove @dataProvider and @covers from non-test functions 2018-03-18 22:22:43 +00:00
changetags Add new core tags 2017-11-30 10:29:58 -08:00
collation Remove everything related to CollationFa 2018-05-18 18:33:25 +02:00
composer tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
config tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
content RFC T157418: Trim whitespace in table cells, list items, headings 2018-03-16 13:42:55 -05:00
context
db rdbms: include client ID hash in ChronologyProtector cookies 2018-06-02 03:57:30 +00:00
debug Fix KafkaHandlerTest hack to work with PHPUnit 6 2018-04-12 09:49:54 -07:00
deferred rdbms: rename onTransactionIdle() to onTransactionCommitOrIdle() 2018-05-09 21:07:06 +00:00
diff Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
editpage Use Sanitizer::mergeAttributes when merging classes into attributes 2018-01-05 10:32:56 +01:00
exception Don't write exceptions to STDERR from BadTitleErrorTest or ThrottledErrorTest 2018-02-16 09:01:51 +00:00
externalstore build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
filebackend Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
filerepo Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
GlobalFunctions Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
htmlform Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
http Replace HTTP by HTTPS 2018-05-22 12:14:14 +02:00
import build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 21:53:10 +02:00
installer Move @group and @covers tags in tests close to class 2018-01-28 13:30:07 +01:00
interwiki Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
jobqueue Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
json Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
libs Merge "objectcache: make RedisBagOStuff pass all tests" 2018-06-02 01:35:26 +00:00
linkeddata Remove various redundant '@license' tags in file headers 2018-01-12 18:15:11 +00:00
linker
logging Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
mail mail: Always quote uncoded names in MailAddress 2018-04-24 21:29:25 +00:00
media Bump PHP version requirement to 7.0.0+ 2018-05-24 16:15:56 +01:00
objectcache build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
page tests: Assert that the user who deleted a page is logged as such 2018-04-26 00:49:00 +00:00
pager Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
parser Resolve used lazy options in ParserOptions::optionsHash() 2018-05-15 06:54:55 +00:00
password Add Special:PasswordPolicies 2018-05-19 08:55:39 +00:00
poolcounter Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
preferences Fix PreferencesForm alias 2018-05-29 21:44:18 +00:00
rcfeed build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 21:53:10 +02:00
registration registration: Initialize PSR-4 namespaces at same stage as normal autoloader 2018-05-30 13:07:42 -07:00
resourceloader Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
search build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
services tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
session Merge "Update suppressWarning()/restoreWarning() calls" 2018-02-11 22:06:29 +00:00
shell Deprecate wfShellWikiCmd() 2018-04-16 16:38:05 +00:00
site Replace wfGetLB 2018-05-02 22:30:24 +02:00
skins skins: Move default style modules to getDefaultModules 2018-05-04 23:52:02 +00:00
sparql tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
specialpage Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
specials Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors 2018-05-23 16:23:42 -07:00
Storage Merge "[MCR] Introduce RevisionSlotsUpdate." 2018-05-09 13:27:08 +00:00
tidy tidy: Remove obsolete Depurate and Balancer drivers 2018-05-08 15:32:49 +00:00
title Revert "Strip soft hyphens (U+00AD) from title" 2018-05-31 10:45:11 -07:00
upload Update declaration of UploadFromUrlTest::doApiRequest 2018-04-10 13:54:52 -07:00
user Send a cookie with IP/IP-Range blocks when blocking logged-out users 2018-05-24 00:48:05 -04:00
utils Have ClassCollector ignore PHP 7 anonymous classes 2018-05-01 13:13:37 -04:00
watcheditem Use constants for rc_patrolled values instead of numbers 2018-04-13 23:56:35 +02:00
ActorMigrationTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
AutoLoaderTest.php Improve AutoLoader test coverage 2018-05-26 21:29:36 -07:00
AutopromoteTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
BlockTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
CommentStoreTest.php Add actor table and code to start using it 2018-02-23 10:06:20 -08:00
ContentSecurityPolicyTest.php ContentSecurityPolicy: Add trailing & to report urls 2018-05-22 22:20:43 +00:00
DeprecatedGlobalTest.php
DiffHistoryBlobTest.php
EditPageTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ExportTest.php
ExtraParserTest.php Add 'unwrap' ParserOutput post-cache transform 2018-02-01 14:24:27 -08:00
FauxRequestTest.php tests: Enable PHPUnit 4/6 compat layer in some tests that need it 2018-04-07 19:31:24 -07:00
FauxResponseTest.php
FormOptionsInitializationTest.php
FormOptionsTest.php
GitInfoTest.php Improve GitInfo for reading packed refs 2017-10-02 03:47:33 +00:00
HooksTest.php Complete test coverage of Hooks class 2018-05-26 23:38:28 -07:00
HtmlTest.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
LicensesTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
LinkerTest.php Move @group and @covers tags in tests close to class 2018-01-28 13:30:07 +01:00
LinkFilterTest.php Add @covers tags to miscellaneous tests 2017-12-24 23:29:00 -08:00
ListToggleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
MediaWikiServicesTest.php MediaWikiServicesTest::testDisableStorageBackend: Make PHPUnit6 happy 2018-04-12 15:29:56 -07:00
MediaWikiTest.php
MediaWikiVersionFetcherTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
MergeHistoryTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
MessageTest.php Use wikimedia/object-factory 1.0.0 2018-02-04 12:52:44 -08:00
MovePageTest.php tests: Add some more @covers tags 2018-05-07 17:49:01 +00:00
MWNamespaceTest.php Don't rely on magic __call in MWNamespaceTest 2018-04-06 14:17:42 -07:00
MWTimestampTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
OutputPageTest.php Initial support for Content Security Policy, disabled by default 2018-05-13 21:01:11 -07:00
PageArchiveTest.php Drop archive.ar_text and ar_flags 2018-04-03 12:54:27 -04:00
PagePropsTest.php Add @covers tags to miscellaneous tests 2017-12-24 23:29:00 -08:00
PathRouterTest.php build: Updating mediawiki/mediawiki-codesniffer to 15.0.0 2018-01-01 14:10:16 +01:00
PreferencesTest.php Convert Preferences class into PreferencesFactory service 2018-01-03 09:48:25 +08:00
PrefixSearchTest.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
ReadOnlyModeTest.php
RevisionContentHandlerDbTest.php Run RevisionIntegrationTest for both ContentHandlerUseDB settings 2017-11-10 14:11:17 +00:00
RevisionDbTestBase.php Drop archive.ar_text and ar_flags 2018-04-03 12:54:27 -04:00
RevisionNoContentHandlerDbTest.php Run RevisionIntegrationTest for both ContentHandlerUseDB settings 2017-11-10 14:11:17 +00:00
RevisionTest.php Merge "Drop archive.ar_text and ar_flags" 2018-04-23 20:15:26 +00:00
RevisionTestModifyableContent.php Split Revision tests into Unit & Integration classes 2017-10-13 14:46:36 +01:00
RevisionTestModifyableContentHandler.php Split Revision tests into Unit & Integration classes 2017-10-13 14:46:36 +01:00
SampleTest.php tests: Add some more @covers tags 2018-05-07 17:49:01 +00:00
SanitizerValidateEmailTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
SiteConfigurationTest.php SiteConfiguration: Add test to confirm null as valid override 2018-04-24 18:31:30 +01:00
SiteStatsTest.php phpunit: Clear job queues in MediaWikiTestCase::setUp() 2018-04-24 00:46:19 +01:00
StatusTest.php RFC T157418: Trim whitespace in table cells, list items, headings 2018-03-16 13:42:55 -05:00
TemplateCategoriesTest.php Move phpunit @group from file comment to class comment 2018-03-10 11:48:28 +01:00
TemplateParserTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
TestLogger.php Autofix MediaWiki.Commenting.FunctionComment.SpacingDoc* errors 2018-05-19 14:07:03 -07:00
TestUser.php
TestUserRegistry.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
TimeAdjustTest.php
TitleArrayFromResultTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
TitleMethodsTest.php Add protection for User: JSON pages in the same manner as JS & CSS ones 2018-03-29 14:33:46 +00:00
TitlePermissionTest.php Add protection for User: JSON pages in the same manner as JS & CSS ones 2018-03-29 14:33:46 +00:00
TitleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
WebRequestTest.php Remove internal use of deprecated $wgRequestTime 2018-03-18 04:41:12 +00:00
WikiMapTest.php Clean up wiki ID and DB domain ID handling 2017-09-30 10:25:03 +00:00
WikiReferenceTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
XmlJsTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
XmlSelectTest.php
XmlTest.php Xml.php: Do not escape double quotes in $contents of Xml::element() 2018-05-23 20:03:54 +00:00