Commit graph

1570 commits

Author SHA1 Message Date
libraryupgrader d43a9a492d build: Updating eslint-config-wikimedia to 0.26.0
Change-Id: I886d037d2a64a9f17712a030429c62feaed1d5af
2024-02-09 08:36:11 +00:00
libraryupgrader 3a8f411d61 build: Updating npm dependencies
* grunt-eslint: 24.0.1 → 24.3.0
* grunt-stylelint: 0.18.0 → 0.19.0
* stylelint-config-wikimedia: 0.15.0 → 0.16.1

Change-Id: I93ecbb39b13c8482c909a2645e06980811728a0e
2024-02-07 20:54:36 +00:00
Translation updater bot a5224cfd3c Localisation updates from https://translatewiki.net.
Change-Id: I7da1ddd40dec212e6aa254941945df5b838c2de8
2024-02-07 08:27:17 +01:00
jenkins-bot b1dd354958 Merge "build: Updating npm dependencies" 2024-02-06 19:04:21 +00:00
libraryupgrader 3886709bb6 build: Updating npm dependencies
* eslint-plugin-compat: 4.1.2 → 4.2.0
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* postcss: 8.4.19 → 8.4.33
  * https://github.com/advisories/GHSA-7fh5-64p2-3v2j
* semver: 6.3.0 → 6.3.1
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* word-wrap: 1.2.3 → 1.2.5
  * https://github.com/advisories/GHSA-j8xg-fqg3-53r7

Depends-On: I8ec574a833a337bda84244cf38fbb870768cd89a
Change-Id: I4fd9b9b58bdc4cd275677c3fbb644ebcf3fcf325
2024-02-06 18:24:09 +00:00
Translation updater bot da91ad68fb Localisation updates from https://translatewiki.net.
Change-Id: Ief6fefd23e4d8fd09f68fa3ec42e8b29bfe812a0
2024-02-05 08:50:11 +01:00
Translation updater bot 293030387b Localisation updates from https://translatewiki.net.
Change-Id: Id355dac62b0ffc2f5d438db260d469d84386bfd1
2024-02-02 08:53:55 +01:00
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