aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/Rest
Commit message (Expand)AuthorAgeFilesLines
* Use real type hints for services etc. in includes/Rest/Bartosz DziewoƄski2024-06-111-4/+2
* Introduce Modules into the REST frameworkdaniel2024-05-081-3/+2
* Merge "Rest: Turn Rest\EntryPoint into a MediaWikiEntryPoint subclass"jenkins-bot2024-03-121-45/+49
|\
| * Rest: Turn Rest\EntryPoint into a MediaWikiEntryPoint subclassdaniel2024-03-121-45/+49
* | REST: allow lower-case method namesdaniel2024-03-061-1/+5
|/
* tests: Add more use statements in namespaced classesReedy2024-02-181-1/+2
* Namespace includes/contextJames D. Forrester2024-02-081-1/+1
* Update tests for PHPUnit 9.6 (part 2)Daimona Eaytoy2024-01-171-6/+13
* tests: Prevent leaking $_SERVER in RequestFromGlobalsTestmainframe982023-07-191-0/+12
* build: Updating mediawiki/mediawiki-codesniffer to 41.0.0libraryupgrader2023-03-111-2/+2
* Reorg: Move WebResponse and FauxResponse to Request/Amir Sarabadani2023-03-011-1/+1
* tests: Simplify some nested ->will( $this->return assertionsReedy2022-11-121-1/+1
* REST: introduce getPrivateRouteUrldaniel2022-07-141-35/+4
* Allow REST API handlers to require csrf-safe session providersBill Pirkle2022-05-201-1/+4
* Use updated ObjectFactory namespaceAlexander Vorwerk2022-03-091-1/+1
* Merge "REST: gracefully handle all exceptions."jenkins-bot2021-11-041-0/+2
|\
| * REST: gracefully handle all exceptions.daniel2021-11-021-0/+2
* | Convert response to string & fix `assertEquals()` to `assertSame()`Derick Alangi2021-11-031-3/+1
|/
* build: Updating dependencieslibraryupgrader2021-07-221-1/+1
* Fix order of parameters in assertionsDannyS7122021-05-031-23/+28
* Convert MWBasicRequestAuthorizerTest to a unit testDannyS7122021-04-231-104/+0
* Remove meaningless ->expects( $this->any() ) from all testsThiemo Kreuz2021-04-231-2/+1
* Use UserIdentityValue in tests where possibleThiemo Kreuz2021-04-221-2/+2
* phpunit: Mass-replace setMethods with onlyMethods and adjustDaimona Eaytoy2021-04-161-1/+1
* Remove $actor field from UsererIdentityValuedaniel2021-04-131-1/+1
* Remove unused EntryPointTest::$mockHandlerDannyS7122021-03-141-1/+0
* Rest: use Authority in all core handlersPetr Pchelko2021-01-211-3/+2
* Rest: inject Authority into HandlerPetr Pchelko2021-01-212-17/+13
* Handle CORS preflight request and prevent anon users from unsafe methodsDavid Barratt2020-09-211-5/+15
* Rest: Use try/catch to handle URIs with embedded colonC. Scott Ananian2020-09-041-1/+12
* Add option to enable cross-origin resource sharing (CORS) in REST APIDavid Barratt2020-08-041-2/+7
* Fix RequestFromGlobalsTest failing in Travis CIAmmar Abdulhamid2020-07-291-3/+2
* Rest: Handle Uri constructor exceptionAmmar Abdulhamid2020-07-141-0/+9
* MediaWikiTestCase to MediaWikiIntegrationTestCaseaddshore2020-06-303-4/+4
* Hooks::run() call site migrationTim Starling2020-05-302-2/+4
* WebRequest & RequestFromGlobals: get HTTP headers in one wayPablo Grass2020-04-031-4/+14
* Define POST handler for /page/: create pagedaniel2020-03-252-0/+2
* Remove sample REST API handlerClara Andrew-Wani2020-03-181-2/+2
* Add Content-Type to HeadersClara Andrew-Wani2020-02-141-0/+181
* Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUseJames D. Forrester2020-01-101-3/+3
* Use UserIdentity instead of User in RESTPetr Pchelko2019-09-182-15/+15
* Use TextFormatter in the REST APITim Starling2019-09-172-2/+2
* rest: Use ParamValidator library, add BodyValidatorBrad Jorsch2019-09-042-12/+36
* Remove unneeded overrideMwServices/resetServicesAryeh Gregor2019-08-291-1/+0
* REST: call MediaWiki::preOutputCommit and doPostOutputShutdownTim Starling2019-08-261-0/+96
* Convert PermissionManager constructor to use ServiceOptions.Petr Pchelko2019-08-211-20/+11
* Load GlobalFunctions.php to tests/phpunit/bootstrap.phpAmir Sarabadani2019-07-141-146/+0
* REST: add write access checks to BasicAccessTim Starling2019-07-091-0/+37
* REST: basic read restrictionsTim Starling2019-07-091-0/+73
* Move trivial unit tests, round IIAmir Sarabadani2019-07-023-185/+0