Commit graph

1565 commits

Author SHA1 Message Date
Reedy 4d6f069c9b en.json: Swap recovery tokens for recovery codes in some new messages
Bug: T380116
Change-Id: I27c352273647b037070bad7bb1e40685b8a4cd08
2024-11-18 13:44:29 +00:00
Translation updater bot 4ab35ca5d7
Localisation updates from https://translatewiki.net.
Change-Id: I5c1066ca68eb5d11313b20db3c8becd46eb49877
2024-11-18 08:24:35 +01:00
Translation updater bot bc8997f632
Localisation updates from https://translatewiki.net.
Change-Id: I1330f751070d1f5d34f14323725e8042abbb0786
2024-11-15 08:45:30 +01:00
Translation updater bot 092060ee65
Localisation updates from https://translatewiki.net.
Change-Id: Iefcc4d865cb355d29f3c291cd8d7a1655a5728bd
2024-11-14 08:19:56 +01:00
Piotr Miazga 5fec5fafb4
feat: exclude temporary accounts from VerifyOATHForUser special page
Bug: T326925
Bug: T344720
Change-Id: I60997970e52233d0e3afd2608904c3a400474fec
2024-11-13 18:43:48 +01:00
Translation updater bot f544361b15
Localisation updates from https://translatewiki.net.
Change-Id: I1efa5b088831862203bcb3853aad65c7f4956ae5
2024-11-13 08:25:58 +01:00
Translation updater bot 73376ec64b
Localisation updates from https://translatewiki.net.
Change-Id: I30d84b6e40d1a143c2f0b2a5d4169ec3d65bd921
2024-11-12 08:18:33 +01:00
jenkins-bot 198faf347a Merge "Add copy button for recovery codes" 2024-11-11 20:43:31 +00:00
Reedy ffb7da7a45 Add copy button for recovery codes
Bug: T354028
Co-Authored-by: TheDJ <hartman.wiki@gmail.com>
Change-Id: I3edf9f698aa1f7f5a9881516027a65a88ea1cac4
2024-11-11 18:34:01 +00:00
Translation updater bot b8e3a37185
Localisation updates from https://translatewiki.net.
Change-Id: Id4d6ef9da10497d40fa51a14a7bf355a150112d3
2024-11-11 08:23:34 +01:00
Reedy 55ea280897 Remove $wgOATHAuthDatabase support
Change-Id: I284ffeac243b22e8b557255edca3a285828214b5
2024-11-08 22:37:40 +00:00
jenkins-bot 3e09fffc40 Merge "Make 2FA client examples into urls" 2024-11-07 21:15:46 +00:00
jenkins-bot 138c626aad Merge "Add (non linked) 2FA client examples to two more messages" 2024-11-07 21:15:44 +00:00
Translation updater bot 0d4d9023b2
Localisation updates from https://translatewiki.net.
Change-Id: I72f3bdee300a3ad79093f6ecad8283593b49bec0
2024-11-07 08:19:14 +01:00
jenkins-bot 47c97efe69 Merge "TOTPSecondaryAuthenticationProvider: Avoid use of getModule()" 2024-11-06 14:55:22 +00:00
jenkins-bot 1335d98592 Merge "ApiOATHValidate: Remove use of getModule()" 2024-11-06 14:55:21 +00:00
Amir E. Aharoni b5bb50a0ae Simplify the message notification-body-oathauth-oathauth-recoverycodesleft
Make it less repetitive and add a missing word.

Change-Id: Ie8e512de2b4d48cce109d0a3e3505d8ea0bfde3f
2024-11-05 23:24:10 +00:00
Reedy 1be0b2bd07 Make 2FA client examples into urls
Bug: T359996
Change-Id: I60b5b4b8b5fea1a2d3a92889c61b53269e51a160
2024-11-05 22:22:57 +00:00
Reedy 12cd981edf Add (non linked) 2FA client examples to two more messages
Bug: T359996
Change-Id: I97877f72bfa9ea1f8be4b4024a69b2c2ce95db9a
2024-11-05 22:09:55 +00:00
Taavi Väänänen bd4f71a97d
TOTPSecondaryAuthenticationProvider: Avoid use of getModule()
Change-Id: Iec9be88a8e189b84263e0b2f567d7288b4e4321e
2024-11-05 21:01:33 +02:00
Taavi Väänänen ffe501d64f
ApiOATHValidate: Remove use of getModule()
Change-Id: I5fee274e792f087aedf30259069203d8e1f24d10
2024-11-05 21:01:33 +02:00
Taavi Väänänen 6a65185d3b
ApiOATHValidate: Inject services
Change-Id: I0718e804ed255c4a174804f1576b46f83a0f3401
2024-11-05 21:01:33 +02:00
Taavi Väänänen 6cc2423861
tests: Add basic integration tests for ApiOATHValidate
Change-Id: Ifeb7e5ec2dd6ba5c5e7ee75867e07c256f5e3d14
2024-11-05 21:01:33 +02:00
Taavi Väänänen d52c9514bd
OATHUser: Use UserIdentity where applicable
Depends-on: I562d6347f34691f1717d92b476618108af3de956
Change-Id: If0147e03ab7b7f43e6a261b673350317193389c1
2024-11-05 20:58:13 +02:00
Translation updater bot 1893b37c3e
Localisation updates from https://translatewiki.net.
Change-Id: I3160995039b1489752470da35c7c79ce7b357ccd
2024-11-05 08:33:23 +01:00
jenkins-bot 6b56b4238e Merge "Allow injecting services to Modules" 2024-11-04 19:03:48 +00:00
Taavi Väänänen e5bcf09868
Allow injecting services to Modules
And as a bonus tweak OATHModuleRegistry error handling.

Change-Id: I4e3ca0092115e22ab7e7703e1682d68fbcc06af4
2024-11-04 18:32:14 +02:00
Translation updater bot e13f0dc255
Localisation updates from https://translatewiki.net.
Change-Id: I4671a3d3e32ff779c9147537a685d16843129519
2024-11-04 08:22:51 +01:00
libraryupgrader 60cb86a0dc build: Updating mediawiki/mediawiki-codesniffer to 45.0.0
Change-Id: I9aef8bffb85d200350c4f78cc3d69307886e8203
2024-11-04 02:13:50 +00:00
jenkins-bot dc63d00723 Merge "TOTPEnableForm: Display enrollment timestamp with recovery tokens" 2024-11-03 11:08:53 +00:00
jenkins-bot d8a3d0ed10 Merge "Display help on OATHToken field" 2024-11-02 16:01:36 +00:00
jenkins-bot 098c55106f Merge "OATHManage: Add messages to signify 2FA auth is needed to continue action" 2024-11-02 15:58:55 +00:00
Reedy 790660802b Display help on OATHToken field
Bug: T354539
Change-Id: I9f4598fc5044ce57898418fed53fb609013837f6
2024-11-02 15:45:31 +00:00
Reedy a8c58f56f4 TOTPEnableForm: Display enrollment timestamp with recovery tokens
Bug: T234004
Change-Id: Ic708552fffdd2260e2f270b484c28ca47a9f4c03
2024-11-02 15:37:20 +00:00
Reedy 5d5c9365c7 OATHManage: Add messages to signify 2FA auth is needed to continue action
Bug: T354538
Change-Id: I242dad188c94ec59c4a181f72cf9e3cd0d6f3529
2024-11-02 10:37:47 +00:00
Reedy 8eb5725494 Add notification when user is running out of recovery codes
Bug: T131788
Change-Id: Ic4294dc4ca8eb238998af3ec6b69a771f1b17c17
2024-10-30 02:04:36 +00:00
Translation updater bot a0c70e1eaa
Localisation updates from https://translatewiki.net.
Change-Id: I9564fdbff01bef9181450e6f190e6ea3021c2043
2024-10-28 08:23:37 +01:00
Andre Klapper ee4d9dd5d5 Use explicit nullable type on parameter arguments (for PHP 8.4)
Implicitly marking parameter $... as nullable is deprecated in PHP
8.4. The explicit nullable type must be used instead.

Bug: T376276
Change-Id: I867b777f6799a383f1a19165fbaa7b4c0d47d76c
2024-10-26 15:08:32 +02:00
Umherirrender f8bce0e016 Use type-declaration on api module constructor
Parent class constructor gets type-declaration in 1145328459
Remove simple doc-blocks without further information

Change-Id: I1b4dc8d9ca01bd9db2f7c461c12e9dff46d76214
2024-10-25 20:15:40 +02:00
jenkins-bot afb31abd98 Merge "Use namespaced classes" 2024-10-20 13:29:27 +00:00
Umherirrender 30fa5efcaf Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I3b0d2a2a25d4c4c9d11906961634eac1d47afa80
2024-10-20 10:59:39 +02:00
Umherirrender 723636a8bb build: Enable cache for phpcs run
Faster run of phpcs on developer machine
by using results from previous runs

Change-Id: I15aaaa981d607c0244a0bb96e6c3c6eacae9197a
2024-10-18 20:18:57 +02:00
Translation updater bot c249526358
Localisation updates from https://translatewiki.net.
Change-Id: I602a61e411f3c42de36c77c24f73b866e67b00fc
2024-10-17 09:22:18 +02:00
Translation updater bot 3573b7e17b
Localisation updates from https://translatewiki.net.
Change-Id: I93c4f9d730dae9ae7ac97b2268aef922573722dd
2024-10-14 09:29:47 +02:00
Translation updater bot cddfae4abd
Localisation updates from https://translatewiki.net.
Change-Id: Iad478f852e3a7301fad6f6bcc8ef03d6a707ea4b
2024-09-30 09:21:34 +02:00
jenkins-bot bb2945b808 Merge "Add 'requireNamedUser' checks to all Special Pages" 2024-09-25 10:10:39 +00:00
Jamie Kuppens e69f94c074
Add 'requireNamedUser' checks to all Special Pages
Bug: T344720
Change-Id: I988337eae120532b7d7089905a5986299e79c536
2024-09-25 10:26:07 +02:00
Translation updater bot b731a9b9c2
Localisation updates from https://translatewiki.net.
Change-Id: Ice0a91f0a24bd3c8c89298d2fed57598b5767022
2024-09-25 09:18:19 +02:00
Translation updater bot 0b8f471b97
Localisation updates from https://translatewiki.net.
Change-Id: I2c71b158e54478ddb635988bd5def108a4656fe7
2024-09-23 09:22:08 +02:00
Translation updater bot b9071595be
Localisation updates from https://translatewiki.net.
Change-Id: I29a603740cf25248450a20acef28f6bd35a20c2e
2024-09-20 09:23:56 +02:00