Commit graph

1479 commits

Author SHA1 Message Date
Translation updater bot 441c5f04b4
Localisation updates from https://translatewiki.net.
Change-Id: Ib7e40fbb7f8649724e873dd5df194ac3e609ed31
2024-11-07 07:01:50 +01:00
Amir E. Aharoni 965107e640 Simplify the message notification-body-oathauth-oathauth-recoverycodesleft
Make it less repetitive and add a missing word.

Change-Id: Ie8e512de2b4d48cce109d0a3e3505d8ea0bfde3f
2024-11-05 22:32:51 +00:00
libraryupgrader 7012345a76 build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: I4a80832aea9f3fc4ac9e4c9e383e5da2e6a12a06
2024-11-03 13:50:52 +00:00
jenkins-bot 980faaec2f Merge "OATHManage: Add messages to signify 2FA auth is needed to continue action" into REL1_42 2024-11-02 16:14:21 +00:00
Reedy 6e108ad1e7 OATHManage: Add messages to signify 2FA auth is needed to continue action
Bug: T354538
Change-Id: I242dad188c94ec59c4a181f72cf9e3cd0d6f3529
(cherry picked from commit 5d5c9365c7)
2024-11-02 16:04:32 +00:00
Reedy 116220da5d Display help on OATHToken field
Bug: T354539
Change-Id: I9f4598fc5044ce57898418fed53fb609013837f6
(cherry picked from commit 790660802b)
2024-11-02 16:02:35 +00:00
jenkins-bot 00e73c4018 Merge "Add notification when user is running out of recovery codes" into REL1_42 2024-11-02 13:37:47 +00:00
Reedy 8b8b336613 Add notification when user is running out of recovery codes
Bug: T131788
Change-Id: Ic4294dc4ca8eb238998af3ec6b69a771f1b17c17
(cherry picked from commit 8eb5725494)
2024-11-02 11:39:32 +00:00
Gergő Tisza b1dcd2bc52 Add download link for recovery codes
Bug: T245027
Change-Id: I558fa2aaed90afee8488f8b68c71959e3c75331d
(cherry picked from commit b760e3f6e4)
2024-11-02 11:03:49 +00:00
libraryupgrader 2ad451d2fa build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: I216a2b6cb1034ca66400e270148816caea90fdc5
2024-11-02 10:47:01 +00:00
Translation updater bot f41a187c17
Localisation updates from https://translatewiki.net.
Change-Id: Iafeb3331d3a9ddf8bacb436d6284f7767ca66ce0
2024-10-31 07:12:34 +01:00
Translation updater bot ee1ee65cad
Localisation updates from https://translatewiki.net.
Change-Id: I8f572eef40642977cd4f1030558d24c83ca18615
2024-10-24 09:20:01 +02:00
Translation updater bot 4f968fc085
Localisation updates from https://translatewiki.net.
Change-Id: I27e5afdb271d3367ce726b0df6053c738e1f7817
2024-10-17 08:29:47 +02:00
Translation updater bot d0ebcf3cce
Localisation updates from https://translatewiki.net.
Change-Id: Ibdee986aca7ac1f0387ab2aff7bd16b37e99c3b5
2024-10-03 08:12:01 +02:00
Translation updater bot b2fd3d7113
Localisation updates from https://translatewiki.net.
Change-Id: Ia35665ffeba11cccfb9e6826fda5966ba9bd2a1e
2024-09-26 07:58:38 +02:00
Translation updater bot b1084cdee3
Localisation updates from https://translatewiki.net.
Change-Id: Id93ac5ac7db8977d35cda45d46d0bb5e7a9906db
2024-09-19 08:02:22 +02:00
Translation updater bot d9fcd9758c
Localisation updates from https://translatewiki.net.
Change-Id: I1ebc2b46027ea5a806e837925bd1db281ed3e3b0
2024-09-05 08:06:22 +02:00
Translation updater bot 2ac44f1706
Localisation updates from https://translatewiki.net.
Change-Id: Ic4da24fde2686b9facc9315e03c84f1c32bb2e20
2024-08-29 08:11:50 +02:00
Translation updater bot c16481f998
Localisation updates from https://translatewiki.net.
Change-Id: Ieb14155246de922914878a0ef47b2263e0ecebe1
2024-08-22 08:34:59 +02:00
Translation updater bot 42d162ea66
Localisation updates from https://translatewiki.net.
Change-Id: I786b7f1e4ae18f7646556b0bab2324450ee23888
2024-08-15 08:02:07 +02:00
Translation updater bot b3f7e181cc
Localisation updates from https://translatewiki.net.
Change-Id: I44aea769d88945726dad22ab5a86060b7807e7a1
2024-08-08 08:09:35 +02:00
Translation updater bot 1ab8e05b42
Localisation updates from https://translatewiki.net.
Change-Id: Ifc8610faa6ce0e98e69e84e31dcbfafaf95a2e08
2024-08-01 07:55:31 +02:00
Translation updater bot 9306d3965c
Localisation updates from https://translatewiki.net.
Change-Id: I008d893fea378be9313401e7656375a7da3bec93
2024-07-25 08:26:23 +02:00
Translation updater bot eb1a13cb50
Localisation updates from https://translatewiki.net.
Change-Id: I5b1f92e3e50bd81bff1c8738a992cd5d38914528
2024-07-18 08:15:59 +02:00
Translation updater bot 1fada4665e
Localisation updates from https://translatewiki.net.
Change-Id: Ia943315b89ef54cfc984916c139699e9fb07a6c0
2024-07-11 08:05:55 +02:00
Translation updater bot 1274b1e978
Localisation updates from https://translatewiki.net.
Change-Id: If4d15b11e300c53d0e3c92c7cccd70c08b58b495
2024-07-04 08:34:53 +02:00
Translation updater bot edc581ab7d
Localisation updates from https://translatewiki.net.
Change-Id: If1390bc0648d17d56fb7cdc1f8f0138ff789c816
2024-06-27 08:44:58 +02:00
Translation updater bot 75467fb056
Localisation updates from https://translatewiki.net.
Change-Id: I60a9909022374d688cedcb736d713ee26a211aa3
2024-06-20 08:45:38 +02:00
Translation updater bot 0e26225a3f
Localisation updates from https://translatewiki.net.
Change-Id: Ie7a068122f84fdc0d7a2df7fa78089fe1a222f65
2024-06-13 08:39:21 +02:00
Translation updater bot cb8dbf17d2 Localisation updates from https://translatewiki.net.
Change-Id: I0584b7e2af533d59b8cb364322d02126b4baa7d8
2024-05-30 09:13:07 +02:00
Translation updater bot 6525cc91d2 Localisation updates from https://translatewiki.net.
Change-Id: I7d7ae725a5a88ebc248045fa0bb85f7be842d0b7
2024-05-23 08:41:11 +02:00
Translation updater bot b91525a190 Localisation updates from https://translatewiki.net.
Change-Id: Ib499bea746c56b43f61fbbbd3d94d4809178d18f
2024-05-16 08:31:36 +02:00
Majavah 8afe7f91c7 Merge "Fix disabling TOTP keys with scratch tokens" into REL1_42 2024-05-05 07:10:44 +00:00
Translation updater bot 282cfefd0f Localisation updates from https://translatewiki.net.
Change-Id: I61c3a445cb8214baa3e960013418088c732071d7
2024-05-02 08:11:44 +02:00
Taavi Väänänen 2832e97046 Fix disabling TOTP keys with scratch tokens
The current implementation of OATHUserRepository::persist() causes every
key to get a new ID when it's saved. This, combined with ::removeKey()
which compares keys by ID, means that using recovery codes to disable
TOTP is broken since TOTPKey calls persist() to mark the code as saved
just before the key is deleted.

In this patch I've chosen to add a new ::updateKey() method instead of
fixing ::persist(). This is more in line with the other new APIs in
OATHUserRepository (namely ::createKey() and ::removeKey()), and is
something I've been planning to do eventually - this bug just made that
a bit more urgent. ::persist() should be dropped once WebAuthn has been
updated too.

Tests are also updated - OATHUserRepositoryTest now updates the key
before deleting it and there's a new TOTPDisableFormTest to test the
entire disabling process.

Bug: T363548
Change-Id: I86ddc8e5bfc9cf74c587ffdff523f559c5a3c08c
(cherry picked from commit 0dad2c7031)
2024-04-26 18:11:56 +00:00
Translation updater bot ff164518ab Localisation updates from https://translatewiki.net.
Change-Id: Ie9979565dfdc6a12c89b5cd59b5d60039025fe9a
2024-04-25 08:31:37 +02:00
Translation updater bot e49b337b88 Localisation updates from https://translatewiki.net.
Change-Id: Ib77fb7ebc3b2dac01632711df15faf8a3a550264
2024-04-18 08:11:16 +02:00
Translation updater bot 1f5a32add0 Localisation updates from https://translatewiki.net.
Change-Id: Ib761a8225cee381144506d3f46a0849ee97bb585
2024-04-03 09:24:07 +02:00
jenkins-bot 07ec66f30f Merge "Make the TOTP disable form only remove that single key" 2024-03-29 16:04:52 +00:00
Translation updater bot 47bcb47bd1 Localisation updates from https://translatewiki.net.
Change-Id: I7c4b16b848f6f54ac3e6c5677ef1e47353525ff4
2024-03-26 08:20:20 +01:00
Translation updater bot 13f90ae5c9 Localisation updates from https://translatewiki.net.
Change-Id: I79b47d07b1d06626dfe97be429798b6122a97d47
2024-03-22 08:45:08 +01:00
Translation updater bot 122761032a Localisation updates from https://translatewiki.net.
Change-Id: I3c7d20b4c827deb97a901fe18132a18392f287a9
2024-03-20 08:24:15 +01:00
Translation updater bot 61a4aec40b Localisation updates from https://translatewiki.net.
Change-Id: Iab16dc09b488cab65018af0fdbd076a628b5799e
2024-03-15 08:33:50 +01:00
Translation updater bot c26f57f670 Localisation updates from https://translatewiki.net.
Change-Id: Ia15863b41c36a8a7dcb76e3440e681987f9824a8
2024-03-14 09:03:30 +01:00
Umherirrender bc8a149b89 build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: Ieff9fdac7b2235a38090d3ade14201961c845d8c
2024-03-11 20:43:28 +01:00
Translation updater bot f0c05a68c2 Localisation updates from https://translatewiki.net.
Change-Id: I0f494d899389227c29df1fd3d7162265e3a1ab0a
2024-03-11 08:27:36 +01:00
jenkins-bot 8cdbb2fd81 Merge "Make Key objects aware of their database IDs" 2024-03-07 18:41:57 +00:00
Translation updater bot a1f760bac3 Localisation updates from https://translatewiki.net.
Change-Id: Id84d142426e7987d93e925ceb9362295d9f43d8f
2024-03-07 08:49:00 +01:00
Translation updater bot 4712a6b19f Localisation updates from https://translatewiki.net.
Change-Id: I8cd46068efb14a271465ab47f6547423208ccc06
2024-03-05 08:28:00 +01:00
Taavi Väänänen c6a621d31c
Make the TOTP disable form only remove that single key
Bug: T242031
Change-Id: Iad07292cc96537e8ebd72da65e8f1e922cba3eca
2024-03-02 18:53:00 +02:00