Commit graph

1463 commits

Author SHA1 Message Date
Translation updater bot 141f3e57f9 Localisation updates from https://translatewiki.net.
Change-Id: I001123e55b055dac6161f5cbae830d41dd0234ed
2024-02-01 09:02:52 +01:00
jenkins-bot 433e3b2f2f Merge "Add return type hint to functions in ServiceWiring.php" 2024-01-31 19:36:47 +00:00
Umherirrender a6c3d2a16d Add return type hint to functions in ServiceWiring.php
This is a common pattern for serivce wiring functions

Change-Id: I4b4fad8ac28108e53300231b3812426e82ccf84f
2024-01-31 20:08:46 +01:00
Translation updater bot 30814a78d0 Localisation updates from https://translatewiki.net.
Change-Id: I7233e9f7d84ad2c995b9630f93987757330a381a
2024-01-30 09:39:30 +01:00
Translation updater bot 6547a3d836 Localisation updates from https://translatewiki.net.
Change-Id: Ic793fba28d39546d3bcead40b044cfda416df8d2
2024-01-28 16:07:37 +01:00
Umherirrender 2222799fa4 Stop writing to tablesUsed in tests
Bug: T351733
Change-Id: I0cefa7108296cbf2cd6221d2457396ab30a320fa
2024-01-20 12:38:26 +01:00
Translation updater bot 58db958f5c Localisation updates from https://translatewiki.net.
Change-Id: I7868935b638f3255a36af74d4232dd8e517b9b7d
2024-01-19 09:17:34 +01:00
Piotr Miazga 14a19b0379 OATH validation is available only to named users
Bug: T326925
Change-Id: I963099aeb37c52fec54c0e19731f8cce11723093
2024-01-17 19:11:10 +01:00
Translation updater bot 320d0c5d17 Localisation updates from https://translatewiki.net.
Change-Id: Iccb397d79646c816cdd83a49d1dbb7a3d3252491
2024-01-17 08:37:36 +01:00
jenkins-bot d770f2bb05 Merge "Declare grant risk levels" 2024-01-17 03:44:51 +00:00
Translation updater bot 0aee7ae986 Localisation updates from https://translatewiki.net.
Change-Id: I92138bfaa09107075e9fe2740ccdfabbe681159a
2024-01-16 08:26:09 +01:00
Translation updater bot 9f909509ff Localisation updates from https://translatewiki.net.
Change-Id: Ic41bdc7b228fe7f57d345242d24185eba666f120
2024-01-15 08:25:04 +01:00
Reedy 6d58d6a6ee extension.json: Add config descriptions
Co-Authored credit to Ayush_Anand3310 who mostly wrote them on the task

Bug: T328577
Co-Authored-By: Ayush-Nautiyal007 <ayush.2020012016@tulas.edu.in>
Change-Id: Iea2d730bfe69c0ee72e894e7ea3bc31f141e546f
2024-01-13 14:33:04 +00:00
Reedy d82699be26 extension.json: Remove OATHAuthMultipleDevicesMigrationStage
Unused now

Change-Id: Ic712e81e2f935af4429debb52fa172958379392f
2024-01-13 14:29:14 +00:00
James D. Forrester de73bf5674 build: Update MediaWiki requirement to 1.42
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: Ia9dece4a8a203c2f5fc43b9f1c9af67268c0a08d
2024-01-12 14:12:34 -05:00
jenkins-bot fb97e8eb65 Merge "oathauth-recoverycodes: Force some text onto a newline" 2024-01-12 17:40:47 +00:00
Reedy b526b0eb18 oathauth-recoverycodes: Force some text onto a newline
Makes it stand out a bit more, rather than being trailing bold text on a line

Change-Id: Ia7431b436d46e08dec3b94b05613ba91f95fdea0
2024-01-12 15:53:10 +00:00
James D. Forrester b2abf6d832 extension.json: Drop RL targets definitions, no longer honoured
Bug: T328497
Change-Id: I1389d576d988e8d8b456d14db8d818c788a40d60
2024-01-12 08:50:50 -05:00
Translation updater bot 2f9666ca34 Localisation updates from https://translatewiki.net.
Change-Id: I42b1f4e068c906484e3672f2ccdba2e93b507dd6
2024-01-12 09:00:49 +01:00
Taavi Väänänen c18f6962de notifications: Show number of remaining devices
Bug: T353962
Change-Id: I519d1cdefa322b5bb729b21c0c6325a4dfe991c4
2024-01-11 23:49:14 +00:00
James D. Forrester 3b67ee9d4f i18n: Drop three unused messages
* specialpages-group-oath

  This was for grouping the OATHAuth special pages in their own section, but
  we have them in the general users and rights (specialpages-group-users) one
  instead.

* oathauth-token

  Removed as part of the post-AuthManager clean-up (e38c68c).

* oathauth-invalid-key-type

  Used to be thrown from maintenance/UpdateForMultipleDevicesSupport.php
  until that support was moved into the database (6ef3d24).

Bug: T354549
Change-Id: I033dbb054733ad88257ef334f451b9ac21430904
2024-01-11 16:27:23 -05:00
Reedy f682726ca8 More greppable messages
Bug: T354549
Change-Id: Id74f3a82791b990b57314c439b78718952946267
2024-01-11 21:16:46 +00:00
Reedy 6f0fd7c1b1 Add grepable usages of i18n messages
Bug: T354549
Change-Id: Ice32d6b32d4d57e49f38f6e173c52af97ed7884a
2024-01-11 20:52:24 +00:00
jenkins-bot e2da8c6796 Merge "TOTPKey: Fix log message" 2024-01-11 17:03:17 +00:00
Reedy 620e3d251b TOTPKey: Fix log message
Follows-Up: Ief577fb3e6adbf72b374d86df67529c46e4fe83e
Change-Id: Ie1b396987244685c4cdc15b8425f1f2d7b24c5fa
2024-01-11 16:21:25 +00:00
Taavi Väänänen 370452d05b TOTPKey: Drop newFromString
Only used in tests.

Change-Id: I4eb020eb507d5342e4e5ab8f92bf1ee22db0056b
2024-01-11 16:19:14 +00:00
Taavi Väänänen 0f026d7999 TOTPKey: Remove unused code
Change-Id: I2d171823dc4c7c88b32872a6c3521af05b10ef39
2024-01-11 15:58:58 +00:00
jenkins-bot f0f728d342 Merge "Fix a few remaining occurances of recovery token" 2024-01-11 15:38:09 +00:00
Reedy a5851432f7 TOTPDisableForm: Add a hint message that user can use recovery tokens
Bug: T189924
Change-Id: I4a2d7ccbd43810adc285e6d9f76e331344e43de6
2024-01-11 14:58:56 +00:00
Reedy 71fb7999f1 Fix a few remaining occurances of recovery token
Bug: T354031
Follows-Up: Icf8626799615f8b95f380db9745e1447519b150a
Change-Id: Ief577fb3e6adbf72b374d86df67529c46e4fe83e
2024-01-11 14:00:57 +00:00
James D. Forrester 217674f561 i18n: Rename the recovery code i18n messages to match
Follows-Up: Icf8626799615f8b95f380db9745e1447519b150a
Follows-Up: Ida71577719afbc1232cf1fd072503e2d3b8981bd
Change-Id: I9e788d2aa2b139cfb4c344ad424eb6a2586c33c4
2024-01-11 08:46:56 -05:00
Reedy 9039300635 TOTPEnableForm: Emphasise importance of recovery codes
Bug: T174937
Change-Id: Ida71577719afbc1232cf1fd072503e2d3b8981bd
2024-01-11 08:46:56 -05:00
jenkins-bot ed1dccc419 Merge "Standardised UI strings to use "recovery codes"" 2024-01-11 13:44:01 +00:00
Translation updater bot a3eeb983b0 Localisation updates from https://translatewiki.net.
Change-Id: Ib2517dbc1a7f27d5e56f269842857b04859e17cb
2024-01-11 10:05:22 +01:00
Translation updater bot 121a5f0686 Localisation updates from https://translatewiki.net.
Change-Id: I9999e5a24eb7200bfbc770b699487af7cf82acaf
2024-01-10 08:33:11 +01:00
Translation updater bot 10e47d353c Localisation updates from https://translatewiki.net.
Change-Id: Ia08007a989eadc291a596c2e2a4ca855fd6a22f0
2024-01-09 09:00:08 +01:00
Reedy 16058b456a Standardised UI strings to use "recovery codes"
This normalises the uses of "tokens" and "scratch"

Not changing all interal usages of "scratch"; comments
and some variables updated. Functions not updated.

Bug: T354031
Change-Id: Icf8626799615f8b95f380db9745e1447519b150a
2024-01-08 16:34:04 +00:00
jenkins-bot bf64c32647 Merge "Add test for user repository" 2024-01-08 11:33:56 +00:00
jenkins-bot a9bfc84cc2 Merge "Fix disabling two-factor authentication" 2024-01-08 11:14:03 +00:00
jenkins-bot 28132bfadd Merge "OATHAuthServices: Fix service name" 2024-01-08 11:14:00 +00:00
jenkins-bot 92a4db8312 Merge "oathauth-step1-test: Improve examples (and add links) of 2FA apps" 2024-01-08 10:58:30 +00:00
Taavi Väänänen c240ec5d7f
Add test for user repository
Change-Id: Iabd052ca2b6264254f6750b14e04df9923e732c0
2024-01-08 11:53:54 +02:00
Taavi Väänänen caf64f75ca
Fix disabling two-factor authentication
Fixes 97abce5.

Bug: T354505
Change-Id: Ifde7434a6c02e2f8d9d790834b7f316d4afa205a
2024-01-08 11:53:54 +02:00
Taavi Väänänen 7c46714b31
OATHAuthServices: Fix service name
Bug: T354505
Change-Id: Ie66a56904ad687ea8a2422bb713e54066559c6b4
2024-01-08 11:44:11 +02:00
Translation updater bot 2edc5053af Localisation updates from https://translatewiki.net.
Change-Id: I03c4c977589b5fb8e6a017b2100ba13f2d92abff
2024-01-08 09:16:04 +01:00
anterdc99 f76deba935
Add aliases for Chinese variants
What:
* Added variant Chinese (Hong Kong) (zh-hk)
* Added aliases of Special:DisableOATHForUser
* Added aliases of Special:VerifyOATHForUser

Change-Id: Ibbe04cdae9613b2417a144e58c5a90399c0bc50a
2024-01-07 17:43:49 +08:00
Translation updater bot 383a98eb6c Localisation updates from https://translatewiki.net.
Change-Id: I976a2101b04aefb18b97a4cb53d7cae4808c7ede
2024-01-05 09:13:08 +01:00
Reedy d4cc647595 oathauth-step1-test: Improve examples (and add links) of 2FA apps
Bug: T226059
Change-Id: I13ccf55016f6ca212142ce2a4290255f2890e023
2024-01-04 10:30:05 +00:00
Taavi Väänänen 0010503271
OATHUser: Cache central ID
It's useful to have the user central ID available in various places, for
example when caching used tokens to prevent replay attacks, and since
OATHUserRepository has to look it up anyway let's just store it from
there instead of looking it up again.

Change-Id: Ifb896feb7c70af638c14301511d067f24e35d6c2
2024-01-04 11:56:02 +02:00
Reedy ca3b49b86f TOTPEnableForm: Add message for step 2 before qr code image
Change-Id: Ifdacc045b5796c53061ab7b4f5ef44e4ade310a2
2024-01-03 17:07:24 +00:00