libraryupgrader
5357695270
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0
The following sniffs now pass and were enabled:
* Generic.ControlStructures.InlineControlStructure
* MediaWiki.PHPUnit.AssertCount.NotUsed
npm:
* svgo: 2.3.0 → 2.3.1
* https://npmjs.com/advisories/1754 (CVE-2021-33587)
Change-Id: I2a9bbee2fecbf7259876d335f565ece4b3622426
2021-07-22 03:36:05 +00:00
Petr Pchelko
22c47c4edd
Rest: inject Authority into Handler
...
Bug: T239753
Change-Id: Iddde137c5a86786357d67458f28fe3e4d6e98710
2021-01-21 15:09:34 -06:00
Petr Pchelko
c1d5cbe561
Introduce CompoundAuthorizer to pass multiple authorizers
...
Change-Id: Icacad6fe95400e1ec9817fae0f9aa6edfe717b43
2020-09-22 00:25:38 +00:00
DannyS712
94169ee873
Whitespace cleanup: Use tabs for indentation, avoid double spaces
...
Change-Id: I346073b59d283029bd6666356c62c81e687ea5e6
2020-06-27 07:53:07 +00:00
James D. Forrester
4f2d1efdda
Coding style: Auto-fix MediaWiki.Classes.UnsortedUseStatements.UnsortedUse
...
Change-Id: I94a0ae83c65e8ee419bbd1ae1e86ab21ed4d8210
2020-01-10 09:32:25 -08:00
Petr Pchelko
0df763f71d
Use UserIdentity instead of User in REST
...
Change-Id: Ia6a517c6a64664be2363492108f9497fc949f299
2019-09-18 14:45:01 +10:00
Tim Starling
f7ed8615e1
REST: add write access checks to BasicAccess
...
This is a stub implementation which just checks for the apiwrite
permission.
Change-Id: Ib84cd93e7f0f5e31cf620b2d30609035c4448c95
2019-07-09 15:23:57 +10:00
Tim Starling
94c0baaa2f
REST: basic read restrictions
...
Protect private wikis by providing basic read restrictions,
closely following the example of the action API.
The BasicAccess module provides a narrow interface for this
functionality, without exposing the whole session/user concept to the
router.
Also, add RouterTest and fix a bug in Router::getRelativePath() thus
discovered.
Change-Id: I82319d56f08b2eec4a585ff6dbd348ccdbadc5b5
2019-07-09 15:23:20 +10:00