| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This package is installed by plenty of extensions, including
Wikimedia-deployed ones [1]; if you use the composer merge plugin to
manage dependencies, then composer will ask you if composer/installers
should be allowed to run code, because the merge plugin doesn’t merge
the allow-plugins information. Therefore, explicitly list and disallow
the plugin in MediaWiki core, even though we don’t use the package
directly.
[1]: https://codesearch.wmcloud.org/deployed/?q=composer%2Finstallers&files=^composer\.json%24
Bug: T298283
Change-Id: I29f9fb27b9d38fbb1607a0dc9991548e5a0ee967
|
|
|
|
|
| |
Change-Id: I0fec3af9a16c315d48209901c88860c1395f8642
Depends-On: Ib4fb8570a84f2621f8c1a607072f86c861cf5f62
|
|
|
|
|
|
| |
Bug: T287972
Change-Id: I8573b18909ea74aec04b7ae6c5dc5cb4f3f234ac
Depends-On: I353c10547d7161caaba246f169adfa91a4a6cd77
|
|
|
|
|
|
| |
Bug: T287972
Change-Id: I0b72c69faec8a194ced8e0da6a18b3db77daebcd
Depends-On: Id83f7612ec5c7851a7f8fb1f0e55737b31c6c35b
|
|
|
|
|
|
| |
Bug: T287972
Change-Id: I8458f98ec4b47369d53e8d2a42fb0cd24461b24c
Depends-On: Ib90bff33eaa15714bcc6659456ab0c24cf13e71d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
WAN cache"
I think this is no longer necessary since PHP commit 65067dff01 [1],
first included in PHP 7.2.21, 7.3.8, and in 7.4 since the beginning of
that series. That commit fixed the discrepancy between time() and
microtime() by making time() use gettimeofday() like microtime() already
did (and still does).
The PHP requirement in composer.json is tweaked to ensure no PHP 7.3
version without the fix is used; note that supported release branches
already require >=7.3.19, and the 7.2 requirement is unchanged.
This reverts commit d2c2bf6553c07ea6dd089efd1c7ba62826eea009.
[1]: https://github.com/php/php-src/commit/65067dff01fc3a46861ddfe0fe6d3e556460c146
Change-Id: I8bfe0dceb809d0f63a2e9cc767ace9235d5f5246
|
|
|
|
|
|
|
| |
To be backported...
Change-Id: Ibe55fe9369bfff6b391a1fa47e9e75bce250f03b
Depends-On: I26d3c0307929745c58e87f9da68556e3933c00f6
|
|
|
|
|
| |
Change-Id: Id169b0f0fa93756c4e44b18e31221f8a41d9426d
Depends-On: I44059e311286f3d2ac244f497f1e945ab97c56f4
|
|
|
|
|
| |
Change-Id: Ic80ba1facc75bf197d68e705d32cc5530f5d7136
Depends-On: I8a94c0e2e3dd819f8d35f702a5615429e065ed1f
|
|
|
|
|
| |
Change-Id: I5ed58ca08f06924791a7ccde1ccdfe9dce14717a
Depends-On: I7a0deaafe8dfa4a5de4bab6eeef57669b5e5cbd7
|
|
|
|
|
|
|
| |
To be backported to REL1_38, so no RELEASE-NOTES
Change-Id: I1fca338ca4383daf860149d88ed83dcc13cbd45f
Depends-On: Ib1931860b536e99a7efc8f072a3e2a6f4fe83e26
|
|
|
|
|
|
| |
Bug: T311384
Depends-On: If511b71eabc4c204ff72d2e9b0024c8aab180ad0
Change-Id: Ie4879a8daf92aca2c7e7340b5f2c9f7f67636384
|
|
|
|
|
|
|
|
|
|
|
|
| |
We use a function that’s introduced in PHP 7.3 and polyfilled in this
package (array_key_first(), in rdbms), but previously didn’t declare a
dependency on the package. (We declared a dependency on polyfill-php80,
but that doesn’t transitively pull in polyfill-php73.) Let’s add it.
(The package is already part of mediawiki/vendor, using the same
version.)
Change-Id: Ia76d4945087ba51354e21136f36f2614cf7d9bf8
|
|
|
|
|
|
|
|
|
|
| |
This caused unexpected problems with no obvious fixes. Needs more work.
This reverts commit 7238dff532d035644b1f3adc41816e8523b35f23.
Bug: T310255
Bug: T90875
Change-Id: I3758cbb6d0029b20ec1b0f67dbf2f422031c50ae
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* switch to phpunit.xml.dist instead of suites.xml
* switch composer.json to vendor/bin/phpunit
* tests/phpunit/phpunit.php is retained but will be removed after CI
jobs and other references on
codesearch (https://codesearch.wmcloud.org/search/?q=tests%2Fphpunit%2Fphpunit.php&i=nope&files=&excludeFiles=&repos=)
are removed
* add a default bootstrap.integration.php; unit tests in
composer.json use the non-MW bootstrap file (bootstrap.php)
* Migrate the phpunit.php logic into tests/phpunit/BootstrapIntegrationWrapper.php
Depends-On: I19d560bdcdb2ee914ab055e094841f2b5db8be55
Depends-On: Ib23209fc3b095e3c012ed84ce5c11f8b2d27b898
Co-authored-by: Daimona Eaytoy <daimona.wiki@gmail.com>
Bug: T227900
Bug: T90875
Change-Id: I82045c207738d152d5b0006f353637cfaa40bb66
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make use of `@` reference so that phpunit is invoked from a centrally
defined command. Otherwise phpunit:integration defaults to
`vendor/bin/phpunit` when `tests/phpunit/phpunit.php` may be desired
instead.
`composer phpunit:unit` does not use the composer.json defined phpunit
command, as it must use `vendor/bin/phpunit` and not
`tests/phpunit/phpunit.php`; the latter expects a LocalSettings.php file
which is not in place at the time that `composer phpunit:unit` runs in
CI.
See https://getcomposer.org/doc/articles/scripts.md#referencing-scripts
Change-Id: I13f947637060698226b6e5a2b593655798196de0
|
|
|
|
|
| |
Change-Id: I81d84c3158b58374233f6488815af6cbfbc8a357
Depends-On: I6c5e738f6bd094b3ef75cb1e250d12856bdbaae8
|
|
|
|
|
|
| |
Follow-Up: I51764415d8a221b0146922c1b9041ba0d8711326
Change-Id: I3f1d96fcce37e17bba2a4132ce0bf95351c2b6ab
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* This patch only adds support for
- selser manual edits tests
- selser changetree [5] tests
Both these types of selser tests are known statically.
* This doesn't yet add support for selser auto-edit tests since
they cannot be determined statically.
There is some code already in place in the test runner to apply
change trees, but it will all likely get refactored in a future
patch.
Bug: T270311
Depends-On: I3be7826e08be120043f3bcd9151bade930b65fb7
Change-Id: Ic824dae6ee49867c766d40c11acfda117c7e2689
|
|/
|
|
|
|
| |
Bug: T303827
Depends-On: Iab346c62b101411bb2315008a8d07b75c4ea5237
Change-Id: Ie8179c9aca5ac5b0a0c4ea2dc96abb7e2a16ec95
|
|
|
|
|
| |
Depends-On: I78fdb962ca8b8b88b261410d02be857f6b040c22
Change-Id: I955af0f8d47f1f88457fd267f69a107aef1ebb7d
|
|
|
|
|
|
|
|
|
| |
Move the relevant options to the config file instead, and add some hacky
code to force that config file if none was passed. "--help" works even
without the previous hack.
Bug: T90875
Change-Id: I84421e3eeaad0f88be83477cb99d6524abe13b77
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MediaWiki still supports PHP 7.2+, but we want to mainly test in newer versions
of PHP. Setting minimum_target_php_version to 7.2 this lets us run phan without
phan trying to get us to make PHP 7.2-incompatible changes to 'appease' PHP 8.0
or whatever later changes.
Some switches of generic 'resource' type-hinting to 'resource|object' to inform
phan to ignore this (triggering PHPCS at the time, ah well), rather than trying
to hint the specific novel PHP encapsulation classes to that have replaced them
from PHP 8.0 onwards but don't yet exist, and fixes from where we were checking
the results of implode and explode.
Bug: T293924
Change-Id: I629e3fb3adfad73beb3d424a07e643c2e079d9bb
|
|
|
|
|
|
|
| |
Also remove the unmaintained kafka-php package from the from "suggested"
and "dev" composer dependencies, as this is now no longer used.
Change-Id: If5668974f417b627df95bce47db18d46fa03327c
|
|
|
|
|
| |
Depends-On: I84fe739494237a2e6de24a4864d652f3e27265f7
Change-Id: Ic403cac3bad87a64686257d06f3fb6cc558de310
|
|
|
|
|
| |
Change-Id: I54a8acd5cde66ab56a026d52800049d14dee3abf
Depends-On: I75da5051a09662bae4cd6af02488a86fdb5c3af6
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Release notes:
https://gerrit.wikimedia.org/g/oojs/ui/+/v0.43.2/History.md
Bug: T293723
Bug: T301157
Bug: T302495
Depends-On: I10583ee43b8e6874fecbf3becf303550d19743bc
Change-Id: I5a35aa239b2186d729c8549229c4beac3d48f5a2
|
|/
|
|
|
| |
Depends-On: Idd105bc0937acf71935d82549783cd3bcd5f53e3
Change-Id: Ie9f434d36b7da629a6357f1fb00e908f28fa0bca
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This appears impossible to use because the request is always made
with `Content-Type: application/json`.
* It seems unreasonable for an Etcd server to not support JSON.
* It seems unreasonable for an Etcd server to respond with YAML
to a JSON request.
* It seems unlikely that anyone would prefer YAML over JSON for
the automated encoding and decoding of fully automated inter-service
communication.
Change-Id: I290e03e17d547c3dc675820bb024c940e02e097a
|
|
|
|
|
|
|
| |
Follows-up I795e785dd70f10.
Bug: T302540
Change-Id: I3436bda1e3fa930b92addbb3412af5a7ac64f431
|
|
|
|
|
| |
Bug: T302540
Change-Id: I795e785dd70f10479ef1f522f1528de08e4cdb72
|
|
|
|
|
|
|
| |
Alphasort ext entries
Bug: T302540
Change-Id: I1d57f24554c92863c13f7a1d017779786b89e948
|
|
|
|
|
|
|
| |
Used by ExportTest and RandomImageGenerator
Bug: T302540
Change-Id: I1ebb975905687174bae753b7165c58653c715833
|
|
|
|
|
|
|
| |
Used by HistoryAction
Bug: T302540
Change-Id: I8e77efa1192a3c5b61c36a674d991389e6aba8cb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Release notes:
https://gerrit.wikimedia.org/g/oojs/ui/+/v0.43.1/History.md
Bug: T297979
Bug: T298200
Bug: T298211
Bug: T298904
Bug: T299061
Bug: T299370
Bug: T299473
Bug: T299660
Bug: T301256
Depends-On: Ie44922aa40885bd867fc0ee4bb366358206fbc69
Change-Id: I02e046e1b5f6da4117c50238b5a87172f625caad
|
|
|
|
|
| |
Depends-On: I02f29397bad8334d38b6de3f7ac50187f11f98a1
Change-Id: I3deb4d9a4555019620ef9db705caa8a52f5d6d2e
|
|
|
|
|
| |
Change-Id: Icaeb68f226bd74e5981f4be3ffc562b9380cd636
Depends-On: I3e4a7f826cb788f2c6d4b2c118f9ba66e9ac1b04
|
|
|
|
|
| |
Change-Id: Ica51e282bf6832ff10b1a41b02c15826da757891
Depends-On: I58cbe3a1bf9c611a3c72aaf07efee970de2ecf69
|
|
|
|
|
|
|
|
| |
- Upgrading symfony/polyfill-php80 (v1.23.1 => v1.24.0)
- Upgrading symfony/yaml (v5.4.0 => v5.4.3)
Depends-On: I89e097b944a1ee94930c8bd8edff4f2fbf6c22d5
Change-Id: I42139c288001674f95e00eb7fa149bfc9a36cdd1
|
|
|
|
|
| |
Change-Id: Ie4febaf054f86bf44cef0e1b2cd4f0500183b77d
Depends-On: I991511ca3384513aa5c300b89e9dac7cb10104e5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some node modules include PHP scripts, and these files shouldn't be
analyzed.
This could be improved further by excluding `extensions/*/{node_modules,vendor}`,
but I wasn't able to find a way to represent this for php-parallel-lint
without listing each directory individually.
For comparison, .phpcs.xml has this line to exclude dependencies:
<exclude-pattern type="relative">^(\.git|coverage|node_modules|vendor)/*</exclude-pattern>
Change-Id: I285eb32f67b71eaf111c9c9cd12f8205ba97eaf3
|
|
|
|
|
|
| |
Because I want Daimona's PR #71. I reviewed the diff.
Change-Id: I4ecd2a191a7fd023aa82d80a3736b56de39b41f3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Release notes:
https://gerrit.wikimedia.org/g/oojs/ui/+/v0.43.0/History.md
Bug: T248631
Bug: T254646
Bug: T282751
Bug: T292631
Bug: T295682
Bug: T295885
Bug: T296335
Bug: T296766
Bug: T297386
Bug: T297481
Bug: T297900
Bug: T297963
Bug: T297979
Bug: T298211
Bug: T298737
Depends-On: I7a19fba8bce65640bdb69b3a63812537e1d29af3
Depends-On: I1bb6aa75b28f263543ea069496cf34bdaa5d02e0
Depends-On: I3d00bb19467d59d1a79ed57b2abb91ea0a951094
Depends-On: Icb30c4c454da2b362a2555b8bae6efa4cc5de9db
Change-Id: I5b1af082503fe22ec6049784fc43b324534c5b95
|
|
|
|
|
|
|
| |
Should be removeable after release and integration of newer doctine/dbal release
Bug: T298283
Change-Id: Ia91325bb9ac89cd1ff6831251ae291764892b143
|
|
|
|
|
|
| |
doctrine/dbal 3.1.3 suffered from CVE-2021-43608
Change-Id: Ia58cfac87271d75530cac29cc4966833fbe00480
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: T298283
Change-Id: If1ca75740394b807467ba8b139d996adc38378c0
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also, re-alpha-sort the lists of external libraries in the release
notes file.
Bug: T287972
Depends-On: Ib55a7fc8968ec7e951d4e4d160db0601aaff74ea
Change-Id: If9fd7efd0f232a567204fee0b7b093f6edacd456
|