Commit graph

731 commits

Author SHA1 Message Date
Translation updater bot 3c47b1bf0f Localisation updates from https://translatewiki.net.
Change-Id: Ie772e1e782f3c8f54df96f8d1d83d02e217e7a0c
2022-10-28 08:36:58 +02:00
Translation updater bot dc9ef25074 Localisation updates from https://translatewiki.net.
Change-Id: Iaafb37af50ac09f33ee430ccd9c2fb9e85e0fb1c
2022-10-26 08:19:44 +02:00
Translation updater bot 1701d5f3ba Localisation updates from https://translatewiki.net.
Change-Id: I644148664b6db1979c56c1a5c04dbb842469cc3a
2022-10-24 08:23:17 +02:00
Translation updater bot 2b0a30299b Localisation updates from https://translatewiki.net.
Change-Id: I4b6dfe12d120591ffec35fb3424ee30e52e781c8
2022-10-19 08:20:27 +02:00
Translation updater bot 2b95c7f247 Localisation updates from https://translatewiki.net.
Change-Id: I5aa66efbb2964ef326de1be26cb288bb5023a1cd
2022-10-17 08:22:08 +02:00
Translation updater bot d7c04401bb Localisation updates from https://translatewiki.net.
Change-Id: Ie5bb709428a2eb8300e6c6d0cb9e3a410561ec68
2022-10-14 08:42:32 +02:00
Translation updater bot e7a1535637 Localisation updates from https://translatewiki.net.
Change-Id: If4e90463f6166df8d514d4d6da371ebf3b2ed8e0
2022-10-11 09:17:01 +02:00
Translation updater bot 8f3eddeb69 Localisation updates from https://translatewiki.net.
Change-Id: I1169a1c9bfbda64bdd42d86012a0ddf144395d00
2022-10-10 10:20:41 +02:00
Translation updater bot 8d4c057013 Localisation updates from https://translatewiki.net.
Change-Id: I8da77aa1abefb84d251f4beb6840c47268c9e417
2022-10-06 08:15:59 +02:00
Translation updater bot c0f5706a48 Localisation updates from https://translatewiki.net.
Change-Id: I747d4c28bfad3687a63c1653b7baf03b177ed1b0
2022-10-05 08:24:58 +02:00
Translation updater bot 3d1b73be7b Localisation updates from https://translatewiki.net.
Change-Id: Ic78fe7db7eb03d7a1820bade8c4dc6dfed532ff0
2022-10-03 09:46:07 +02:00
jenkins-bot a01508c78b Merge "ApiOATHValidate: Remove deprecated totp parameter" 2022-10-01 04:19:47 +00:00
Translation updater bot ad34daf494 Localisation updates from https://translatewiki.net.
Change-Id: Ie16cb022908cf42f52319d59b609dae9a0c1c29f
2022-09-29 08:27:54 +02:00
Translation updater bot 3f3bff1457 Localisation updates from https://translatewiki.net.
Change-Id: Ice24a38f134dbff5d4a373360d0c48bc64022689
2022-09-28 08:22:16 +02:00
Translation updater bot 9a402fa3df Localisation updates from https://translatewiki.net.
Change-Id: Id72c276cf685893cb06168a4357683f06bdb276f
2022-09-26 08:15:51 +02:00
Translation updater bot 9b85234763 Localisation updates from https://translatewiki.net.
Change-Id: I47101be0dfb0e7a9f964c1f3cf9ae1fc6a951a05
2022-09-23 08:29:41 +02:00
Translation updater bot 71719f4270 Localisation updates from https://translatewiki.net.
Change-Id: Ic174bebaff81440c75fb33284f51a3a8fb299990
2022-09-22 08:46:46 +02:00
Reedy 5efe6e212a ApiOATHValidate: Remove deprecated totp parameter
Was deprecated in I5fa88704c6da2ae2679a19e0c5a2cfe7f3bf5f50

Bug: T304375
Change-Id: Ibea5ab0b1215b21ef4e0cd1afbd1de8fc87a9810
2022-09-21 19:18:20 +00:00
Translation updater bot 5ec4093b7f Localisation updates from https://translatewiki.net.
Change-Id: Ic8e07fc223dc6c690aabaf75acef4bb1a4926eed
2022-09-19 08:25:28 +02:00
Translation updater bot f16679bb18 Localisation updates from https://translatewiki.net.
Change-Id: Ic62f84938c66382fd7d6850f9f62d1e921da8a47
2022-09-14 10:31:49 +02:00
Translation updater bot 86a7baaca4 Localisation updates from https://translatewiki.net.
Change-Id: If569ffc95ead58904444701c9b7ee3dc127f3cac
2022-09-12 09:36:56 +02:00
Translation updater bot c14dba5977 Localisation updates from https://translatewiki.net.
Change-Id: I8480992d0bf4c3622294c68a65536e6738af53a8
2022-09-09 10:10:40 +02:00
Translation updater bot 2782b02c54 Localisation updates from https://translatewiki.net.
Change-Id: I869398af37db5f35239a1ac56ac50a4b363bc4a1
2022-09-08 09:59:42 +02:00
Translation updater bot 65dc7ad336 Localisation updates from https://translatewiki.net.
Change-Id: Id100a95be6253b830b66943ea0f589a7e08956e6
2022-09-07 09:55:04 +02:00
Translation updater bot 36d7b9da36 Localisation updates from https://translatewiki.net.
Change-Id: I4e2296ed3b77994df4d661121e0f5d463a84999b
2022-09-05 10:11:28 +02:00
Translation updater bot 41e2639583 Localisation updates from https://translatewiki.net.
Change-Id: If2db40d8199276e0ed1343f6da800b56149ee7f4
2022-08-23 08:11:04 +02:00
Translation updater bot c5193ef5da Localisation updates from https://translatewiki.net.
Change-Id: Icbdcc6d3d243214ce97b848a9cd733eb48c0eab7
2022-08-22 08:23:31 +02:00
Translation updater bot 9f5fe29efc Localisation updates from https://translatewiki.net.
Change-Id: I3c85d6f2409f91f7646a09869a3ef5474478390d
2022-08-18 08:39:18 +02:00
Translation updater bot 42643b056a Localisation updates from https://translatewiki.net.
Change-Id: I04b7d68e48d969a3f42ba580eb49ecd206405f98
2022-08-09 08:20:02 +02:00
Translation updater bot 21c1401303 Localisation updates from https://translatewiki.net.
Change-Id: I390cca0b1af745a081910b82cfda859255a65fa9
2022-07-28 08:57:30 +02:00
Translation updater bot 2cca8345ce Localisation updates from https://translatewiki.net.
Change-Id: I17491428e1d69c6398eb8f8c156c642e1efc5eed
2022-07-25 08:38:05 +02:00
Translation updater bot b6800f4359 Localisation updates from https://translatewiki.net.
Change-Id: Ia69cb16381adaefb32e4f0048d3156dd4d6ea630
2022-07-13 08:17:54 +02:00
Translation updater bot a0ecda0b26 Localisation updates from https://translatewiki.net.
Change-Id: Ia799389175421914188466fc3da40a4231b22ce6
2022-07-11 09:50:11 +02:00
Translation updater bot 423f9c7b38 Localisation updates from https://translatewiki.net.
Change-Id: I2572ecfa631656e1a0d8aa774396078ed556ceda
2022-07-05 08:38:41 +02:00
Translation updater bot f6366908de Localisation updates from https://translatewiki.net.
Change-Id: Ic9610a53e8b87a8301d50df647f500907ae552c7
2022-06-16 09:25:08 +02:00
Translation updater bot 754e325cd8 Localisation updates from https://translatewiki.net.
Change-Id: I0cc3d026324bf43e65f15c3894f924774412ed26
2022-06-15 08:42:04 +02:00
Kunal Mehta c896015a44 Allow filtering Special:Log/oath by action
Configure "ActionFilteredLogs" in extension.json to allow filtering
the oath log by its two actions, verify ("checking" in the UI) and
disable-other.

== Test plan ==
* Enable 2FA on your administrator account, use Special:VerifyOATHForUser
  and Special:VerifyOATHForUser to generate two log entries.
* Visit Special:Log/oath and use the new action selector, testing each
  state to verify the correct set of logs are shown.
* Screenshots showing this testing are posted at T310487#7999991.

Bug: T310487
Change-Id: I10632c86689e330b21b44a096b098436ebe47e3e
2022-06-13 14:28:22 -04:00
Translation updater bot 93df1c72a4 Localisation updates from https://translatewiki.net.
Change-Id: I1f33e8a93407de88b7b5bf603ed3e90a70fe7cb0
2022-06-06 09:26:19 +02:00
Translation updater bot 84fd8f191b Localisation updates from https://translatewiki.net.
Change-Id: I64fdd6e63fb9b81dd01de60e90528cc5ff186fb2
2022-06-02 08:14:52 +02:00
Translation updater bot 2aa0eab5d9 Localisation updates from https://translatewiki.net.
Change-Id: I6d62ed7e7b5fb26ded99f4008a0d5ffd9a7f0c2b
2022-05-30 09:23:52 +02:00
Translation updater bot 3ffe16642f Localisation updates from https://translatewiki.net.
Change-Id: I5939d308b3421d992e82fc44dc060ecd137f0fc8
2022-05-23 08:17:17 +02:00
Translation updater bot 22ea9b824f Localisation updates from https://translatewiki.net.
Change-Id: If47ffb28b8d94c04849dfd250afc0010429c1e11
2022-05-16 08:24:50 +02:00
Translation updater bot b5f92e0876 Localisation updates from https://translatewiki.net.
Change-Id: Ib9848213b363328c8feec39c8c7ea452c672064b
2022-05-05 08:06:46 +02:00
Translation updater bot 5e108c281e Localisation updates from https://translatewiki.net.
Change-Id: I7fafd4c10337ccc57abf09bf06064e8bef13ae66
2022-05-02 08:20:02 +02:00
Translation updater bot 826c6cbcb2 Localisation updates from https://translatewiki.net.
Change-Id: If467eb231da6340cdaf510f625d1f3b9c6fb8f9f
2022-04-29 08:43:28 +02:00
Translation updater bot 249971292c Localisation updates from https://translatewiki.net.
Change-Id: Id279e0cd7e3ad60f24a9d6d2a197e0af222cc1ac
2022-04-25 08:18:34 +02:00
Translation updater bot 9a6bb80ad1 Localisation updates from https://translatewiki.net.
Change-Id: I7ecf6dd6d237952bddf3d5f797fbf321de02d43f
2022-04-19 10:15:16 +02:00
Translation updater bot eb3fbfc553 Localisation updates from https://translatewiki.net.
Change-Id: I5aa56ad95585fbfa758acdc2d6b7d3a6c7a33174
2022-04-18 10:06:31 +02:00
Translation updater bot 5e6234b968 Localisation updates from https://translatewiki.net.
Change-Id: Icd3f219fcec2ffc732efb439304d89792caa86d7
2022-04-14 08:27:03 +02:00
Translation updater bot d8d2ad339a Localisation updates from https://translatewiki.net.
Change-Id: I3d74f742798e0adf27bb5e87d0b535e0d857181f
2022-04-11 08:14:24 +02:00
Translation updater bot 68846a28bd Localisation updates from https://translatewiki.net.
Change-Id: Iedf54e3a683de297ace950e8921ea47e8e18b278
2022-04-07 08:09:50 +02:00
Translation updater bot 4e829fe99c Localisation updates from https://translatewiki.net.
Change-Id: I36ed68d9d2870990a5f8fea48491b737e9104527
2022-04-06 08:27:03 +02:00
jenkins-bot bf532cea7e Merge "Rename oauthauth-ui-no-module" 2022-04-06 01:04:02 +00:00
Translation updater bot 048ed3c807 Localisation updates from https://translatewiki.net.
Change-Id: I0e0ff8161f2af547c9610fc810811138b0fa953e
2022-04-05 08:25:51 +02:00
Translation updater bot 7290062aef Localisation updates from https://translatewiki.net.
Change-Id: I0e1bf7537ce449b60fca061571f63856f22f0430
2022-04-04 09:34:50 +02:00
Reedy b5a762d7fe Rename oauthauth-ui-no-module
Change-Id: I23a05cd04756b87d0a97db32ddedc1ea8af0c1b7
2022-04-02 21:39:07 +00:00
Translation updater bot 7b4cb85502 Localisation updates from https://translatewiki.net.
Change-Id: If07423b4ecf4b0d4e4202d63c6d6c40d763f7e7b
2022-04-01 08:27:14 +02:00
Translation updater bot 15196bc1e4 Localisation updates from https://translatewiki.net.
Change-Id: Ia0aca926538c38a315efa0a5070c4ba7760983c1
2022-03-31 08:36:10 +02:00
Translation updater bot 54371e9072 Localisation updates from https://translatewiki.net.
Change-Id: Iad8096217327197547d7947e3d9646dcf005dadd
2022-03-30 08:18:27 +02:00
Translation updater bot 1a92eef0bf Localisation updates from https://translatewiki.net.
Change-Id: I3b96bf1bbf95f46a7955ace3fa4f445b36cf1c02
2022-03-29 08:06:00 +02:00
Translation updater bot 4faabe76b5 Localisation updates from https://translatewiki.net.
Change-Id: I37943a2b3846dae741c5c5834ea5f8faba1ca784
2022-03-28 08:21:35 +02:00
Translation updater bot 1b6ed147d7 Localisation updates from https://translatewiki.net.
Change-Id: Iab3beb8db6aabbf4058815a2394d3e239b4423b5
2022-03-25 08:35:09 +01:00
Translation updater bot 9606a8f679 Localisation updates from https://translatewiki.net.
Change-Id: I36c3607874a56f9754676f691dabda84d4f269fd
2022-03-24 08:34:59 +01:00
Translation updater bot feb4ae190e Localisation updates from https://translatewiki.net.
Change-Id: I0ffd4e269fcff02c3f7c36071b9d9ea42ec5ab63
2022-03-22 08:29:50 +01:00
Translation updater bot 81ece94b9d Localisation updates from https://translatewiki.net.
Change-Id: I7906b17770bf9e45b4b8014f60018c66d3a92a84
2022-03-21 08:15:06 +01:00
Translation updater bot 0f3ec513fb Localisation updates from https://translatewiki.net.
Change-Id: I01803540ade12679c1b1ca00b42bb9f0764c46b3
2022-03-18 08:45:09 +01:00
Translation updater bot ead1dde666 Localisation updates from https://translatewiki.net.
Change-Id: Id7b58b44a21542e4d60da2ec664475f6dd95528d
2022-03-17 08:37:26 +01:00
Translation updater bot 4410eb9da0 Localisation updates from https://translatewiki.net.
Change-Id: I5fda7e98750dbbfd2b521ad611c21f70c10a2535
2022-03-16 08:07:59 +01:00
jenkins-bot 3043b1eb75 Merge "Send a notification when 2FA is enabled" 2022-03-15 18:32:59 +00:00
Translation updater bot 5b6921caca Localisation updates from https://translatewiki.net.
Change-Id: Id282f9cefbd7e474e3d8b9431af57c77aa138ea2
2022-03-14 08:14:25 +01:00
Translation updater bot e96bd2e768 Localisation updates from https://translatewiki.net.
Change-Id: I8a5e1c889432085ceef61d9e6eb3a77241ba26bb
2022-03-10 08:19:31 +01:00
Translation updater bot 792e6f10d4 Localisation updates from https://translatewiki.net.
Change-Id: I32369421add4f351fbfb9f4b76372463831b618f
2022-03-09 08:09:51 +01:00
Translation updater bot 2978eba304 Localisation updates from https://translatewiki.net.
Change-Id: I48113b595c0f3b46ef19215f55114b24c4e29598
2022-03-07 08:11:22 +01:00
Translation updater bot 3f2d81f837 Localisation updates from https://translatewiki.net.
Change-Id: Ice717fdf645285750e92224028abbe52c756638c
2022-03-03 08:22:58 +01:00
Translation updater bot abdf3584c0 Localisation updates from https://translatewiki.net.
Change-Id: Ie94bc63e21e8394d3c725a863c11551d38787577
2022-02-28 14:29:08 +01:00
Translation updater bot a458752222 Localisation updates from https://translatewiki.net.
Change-Id: I7771da37eaed44691782976168fba716ba2f19b2
2022-02-25 09:44:51 +01:00
Translation updater bot e3ef5d1619 Localisation updates from https://translatewiki.net.
Change-Id: I3cde834312cd4208580b32f6b7b85f98f60c1e50
2022-02-24 08:49:40 +01:00
Reedy 16bc5d7168 Send a notification when 2FA is enabled
Bug: T301987
Change-Id: I0fe32b735e34753442ec9811ea41d15b76999d87
2022-02-24 00:39:37 +00:00
Translation updater bot fa6acfbc17 Localisation updates from https://translatewiki.net.
Change-Id: Icc0870102ede8c370457e55646d208514df5d602
2022-02-23 08:19:18 +01:00
Translation updater bot 7c64eaf0a4 Localisation updates from https://translatewiki.net.
Change-Id: I870f0a7a161d11e7f9edd994a62a45bc5304043b
2022-02-22 08:12:01 +01:00
Translation updater bot 900f9e171c Localisation updates from https://translatewiki.net.
Change-Id: Id7282b409d4df3f66ac7fae4558cfd7399304600
2022-02-21 08:16:21 +01:00
Translation updater bot 44831d0ecf Localisation updates from https://translatewiki.net.
Change-Id: Icbe945f1481cdc10980b68f04fad9bceb0b287f6
2022-02-18 08:40:54 +01:00
Kunal Mehta 329c3133d6 Send a notification when 2FA is disabled
Notify users when 2FA is disabled on their account in case something was
fishy about it. This notification is a "system" notification that will
be displayed in the web UI and sent over email. It can't be opted out of
as a preference.

The notification links to Special:Preferences, where users can see their
2FA status and re-enable it if they want. A secondary help link goes to
[[mw:Help:Two-factor authentication]], but can be overridden by
adjusting the "oathauth-notifications-disable-helplink" message. The
notification text is different based on whether the user disabled 2FA on
their own, or an admin used the special page or a maint script to do it.

On Wikimedia wikis, we'll use the WikimediaMessages extension to
customize the messages.

The Echo (Notifications) extension is not required, this will gracefully
do nothing if it's not enabled.

Bug: T210075
Bug: T210963
Change-Id: I99077ea082b8483cc4fd77573a0d00fa98201f15
2022-02-17 00:14:20 -08:00
jenkins-bot 4cc5cbe4ad Merge "Require OATHAuth for membership in specified user groups" 2022-02-17 07:41:53 +00:00
Translation updater bot 094051f490 Localisation updates from https://translatewiki.net.
Change-Id: If253afd0e21b27a2dfe9791ff9d5402d9976fb70
2022-02-17 08:12:05 +01:00
Translation updater bot 7ead5b8888 Localisation updates from https://translatewiki.net.
Change-Id: I8fbf5c821276fec4fc92cc712e693c2044dd7000
2022-02-16 08:13:20 +01:00
Kunal Mehta 498dcfeb80 Require OATHAuth for membership in specified user groups
Users in groups listed in $wgOATHRequiredForGroups (default none) must
have two-factor authentication enabled otherwise their membership in
those groups will be disabled. This is done using the
UserEffectiveGroups hook, which allows dynamically adding or removing
user groups.

If a user doesn't have 2FA enabled, it will appear to them as if they
aren't a member of the group at all. Special:Preferences will show which
groups are disabled. In the future it would be good to have a hook into
PermissionsError to show this as well. The UserGetRights hook is used to
ensure the user still has the "oathauth-enable" user right in case it
was only granted to them as part of the user group they are disabled
from.

On the outside, Special:ListUsers will still show the user as a member
of the group. The API list=users&prop=groups|groupmemberships will show
inconsistent informaiton, groups will remove disabled groups while
groupmemberships will not.

This functionality was somewhat already available with
$wgOATHExclusiveRights, except that implementation has flaws outlined at
T150562#6078263 and haven't been resolved in I69af6a58e4 for over a year
now. If this works out, it's expected that will be deprecated/removed.

Bug: T150562
Change-Id: I07ebddafc6f2233ccec216fa8ac6e996553499fb
2022-02-14 00:47:20 -08:00
Translation updater bot 15a1792b2a Localisation updates from https://translatewiki.net.
Change-Id: Ic453ed1c38f95f5232c807f90f21bf623bb6f45a
2022-02-10 08:41:55 +01:00
Translation updater bot fbcd002117 Localisation updates from https://translatewiki.net.
Change-Id: I13cb0819beb71c260fa0703fee1b61fad418aa8e
2022-01-20 09:17:58 +01:00
Translation updater bot 84aa02e195 Localisation updates from https://translatewiki.net.
Change-Id: I4e1be32f996b081885187c69c58d79f33e3dafeb
2022-01-17 08:12:39 +01:00
Translation updater bot 30e033c395 Localisation updates from https://translatewiki.net.
Change-Id: I7bb4a11f6222b40069d07dc4a843528557f045e0
2021-12-20 08:21:32 +01:00
Translation updater bot 8e9d997e70 Localisation updates from https://translatewiki.net.
Change-Id: Ifb91bb3e575ad0c567cf42eeaf65cb5a2373501a
2021-12-10 08:24:34 +01:00
Translation updater bot d0dfa7b94c Localisation updates from https://translatewiki.net.
Change-Id: Icf5105d7b07fabca9cd1e5bab6121dccded41082
2021-11-17 08:30:47 +01:00
Translation updater bot 6c5bf86159 Localisation updates from https://translatewiki.net.
Change-Id: I6229db7b5102077a059a8145d94ff87d332f2622
2021-11-15 08:12:14 +01:00
Translation updater bot a3a3fd576d Localisation updates from https://translatewiki.net.
Change-Id: I0dc5dc74f81d3e12605be34ac61e22e76f1dd3bf
2021-11-11 10:02:45 +01:00
Translation updater bot ef1dd8bd85 Localisation updates from https://translatewiki.net.
Change-Id: Ic96eaad7cdc569d0c97cbdfe3b9435d495586911
2021-11-09 07:29:23 +01:00
Translation updater bot 71b39bdfde Localisation updates from https://translatewiki.net.
Change-Id: Icd0af2ba65542ccfe155c017ffac7115ee8f489a
2021-11-02 08:07:16 +01:00
Translation updater bot 5abfbaecd3 Localisation updates from https://translatewiki.net.
Change-Id: I868242bb94998d454a95ed682e3845a29a03546f
2021-10-20 08:37:29 +02:00
Translation updater bot 42b60bfa28 Localisation updates from https://translatewiki.net.
Change-Id: I76532831b67d9308c9bd7a34bc625d0a8d811c03
2021-10-18 15:20:52 +02:00
Translation updater bot c2a8d7fe39 Localisation updates from https://translatewiki.net.
Change-Id: I7fe9ada8766c49aa8464ca5db20b4295cb71f15a
2021-10-08 09:21:23 +02:00