Kunal Mehta
7451a5df33
Move classes to includes/
...
Change-Id: I2d2a917e5a22f88dc644eb3c33f775642728e1f4
2018-04-09 00:51:39 -07:00
Umherirrender
ad09b62e3b
Add missing use for namespace Wikimedia\Rdbms
...
Change-Id: I5d65237678d858f1d10969a3de5a5b9d48f6a87f
2018-04-05 11:29:45 +02:00
Umherirrender
15f3d89e25
Change DB_SLAVE in comments
...
Change-Id: I571007cacf4a6047724fbbd4c5c2b83b7e040654
2017-10-15 11:13:34 +02:00
libraryupgrader
f519a004fa
build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
...
Change-Id: I4f4ab422a6fefa0f61d7c2c2e21942cd83cf161b
2017-09-24 05:30:19 +00:00
Gergő Tisza
d5ec363ce6
Add in-process cache for OATHUser lookups
...
Change-Id: I9392b7b1a23944dfd91d690fa30b5a7fdf0f2e51
2017-06-21 18:00:38 +02:00
Reedy
52686c04b7
Minor documentation updates
...
Update DatabaseBase type hint
Update some deprecated code usages
Change-Id: I86aa4507447040754d0c9f20171f7e22aed4a0cc
2016-10-02 12:25:59 +00:00
Reedy
9cceee17cc
Clean up code style and docblocks
...
* array() -> []
* spacing fixes
* dirname( __FILE__ ) -> __DIR__
* Add phpcs style checks using latest mediawiki-codesniffer to keep
things clean.
Co-Authored-By: Bryan Davis <bd808@wikimedia.org>
Change-Id: I95735f928d3e5d6ac9d2a10d92b40ed01cf2737c
2016-09-30 14:40:06 -06:00
Aaron Schulz
28d625e6bc
Avoid DB connections on OATHUserRepository construction
...
Bug: T136224
Change-Id: I405d2f544409d635e4fac1d5222c42e8036c6945
2016-05-31 13:24:18 -07:00
csteipp
65543e1f6c
Fixup DB/uid handling for SUL wikis
...
We need to pass the db name to getConnection, in addition to wfGetLB.
Also, use core's CentralIdLookup for mapping local user to CentralId
when using a central DB for OATH secret storage.
Change-Id: I12a457633956a9a34dc5302ddcff468e31dd9cef
2016-04-06 17:52:34 -07:00
Tyler Anthony Romeo
89455cdfb2
Refactor extension key storage
...
This takes out the actual key information from
OATHUser and puts it into an OATHKey class, which OATHUser
depends on. This allows easily swapping keys in/out from
a user.
Change-Id: Ife5f1bae4ad65b66c5e20017cc43c0576b4aba19
2016-03-22 18:08:45 -07:00