Commit graph

1493 commits

Author SHA1 Message Date
jenkins-bot 48c506bd9d Merge "TOTPKey: Move logging/rate limit handling to the callers" 2023-02-21 02:52:52 +00:00
Translation updater bot 3f263b595d Localisation updates from https://translatewiki.net.
Change-Id: I2932cae9424febaafecf4851e63820d66bf59118
2023-02-16 08:47:02 +01:00
Translation updater bot a3fedc5127 Localisation updates from https://translatewiki.net.
Change-Id: Ic757bf658a3a72da6ae14451485bb29d8595f232
2023-02-02 08:47:10 +01:00
Taavi Väänänen 8890a44a31
TOTPKey: simplify verify() method
* Do not set the last window cache value when using a scratch token.
* Always return a boolean.

Change-Id: I60ce99ed3c70de73794ebafedd434adfcbf86ffc
2023-01-31 19:50:59 +02:00
Taavi Väänänen b843d75e96
TOTPKey: Move logging/rate limit handling to the callers
Change-Id: I88b946ed9a90e60579b708d71fa65d3d0aaf62b9
2023-01-31 19:42:44 +02:00
jenkins-bot 34acf3b222 Merge "Add separate OATHAuthDatabase service" 2023-01-31 15:43:38 +00:00
Taavi Väänänen 56b1b23805 API: Do not expose the module name in the output
Drop the module name from the oathvalidate API result. As far as I can
tell none of the clients of this internal API (Keystone and Striker) use
the field. This is needed for adding support for a single user having
multiple two-factor keys with different types.

Bug: T242031
Change-Id: I06895c153d7db69a3a6a2e9c34ae432bdc6ca96c
2023-01-31 15:33:59 +00:00
Taavi Väänänen e3d07eb0ae
Add separate OATHAuthDatabase service
Add a simple service to access the central database to decrease code
repetition.

Change-Id: Ib33000f4d44d77da31cc375e374cb595ad23bcbd
2023-01-30 14:16:37 +02:00
Translation updater bot 38733711bf Localisation updates from https://translatewiki.net.
Change-Id: I86b1b2ad082ae2cfd64d700368bab0c351fabc37
2023-01-27 08:36:44 +01:00
Translation updater bot fde05b0b43 Localisation updates from https://translatewiki.net.
Change-Id: Ibe72870b1a56f27df0906fa91b6b5007c3da371b
2023-01-26 08:52:12 +01:00
Translation updater bot 3e555c395f Localisation updates from https://translatewiki.net.
Change-Id: I08764bd0cb19660c052d3a1837fd420995a376e1
2023-01-24 08:49:19 +01:00
Translation updater bot 711a173fd3 Localisation updates from https://translatewiki.net.
Change-Id: Ifb8c2c7489beb4d11f166b75e715b324b787e770
2023-01-23 08:23:36 +01:00
Translation updater bot 65ba6b68f5 Localisation updates from https://translatewiki.net.
Change-Id: I92b637aef436b1a41dd14d3a2030a01a434e029f
2023-01-19 11:32:00 +01:00
Translation updater bot ec4ea703f0 Localisation updates from https://translatewiki.net.
Change-Id: If19e2ae243205e0c4558f8e50076bc022e548123
2023-01-18 08:30:07 +01:00
Translation updater bot 54648cf334 Localisation updates from https://translatewiki.net.
Change-Id: I9b2d29edc75f662c0bf86e93d907133600e9eb97
2023-01-09 09:27:58 +01:00
jenkins-bot e329be1781 Merge "Add separate OATHAuthModuleRegistry service" 2023-01-04 20:01:02 +00:00
Translation updater bot 60be909901 Localisation updates from https://translatewiki.net.
Change-Id: I285f2b0c0f6a86eee5152fd05ccd6ed208242f6b
2023-01-02 08:43:56 +01:00
Taavi Väänänen c0da90be2b
Add separate OATHAuthModuleRegistry service
This new service is separated from the previous OATHAuth class to give
the service a more accurate name. Also removed unnecessary injected
services and do some other minor cleanup.

Change-Id: I8d5fbc7594b69168dc0c8bfade1ac172a5aeef6f
2023-01-01 21:17:04 +02:00
Taavi Väänänen f3382dd3d1
OATHUserRepository: rely less on global state
Inject more stuff into OATHUserRepository properly. Also done other misc
cleanup on that class.

Change-Id: I194345974146517c8216a81330cd930534d655e4
2023-01-01 01:59:22 +02:00
Translation updater bot ea97465b99 Localisation updates from https://translatewiki.net.
Change-Id: I6ea1fb61d10499db440d07312ac00f7dd16487f7
2022-12-29 10:02:07 +01:00
Umherirrender 0fbb714b36 Replace deprecated HTMLForm::setPreText
Bug: T325474
Change-Id: I6dbbee52e27fd048cba3bd58a23554324c0db4b9
2022-12-27 12:49:08 +01:00
Translation updater bot 762e88cb14 Localisation updates from https://translatewiki.net.
Change-Id: I34a35cc7700bf6fd4d67c14c25e475770b8d7476
2022-12-26 09:10:36 +01:00
Translation updater bot 33b5f93c6b Localisation updates from https://translatewiki.net.
Change-Id: I2b9e43a16214b7f06ad35b81b77cd09948f75ada
2022-12-21 09:16:55 +01:00
Translation updater bot 952f3c62f7 Localisation updates from https://translatewiki.net.
Change-Id: I82e5ee05d258055a390594ba9aac6da07f23e86a
2022-12-19 09:04:27 +01:00
Translation updater bot 3a7e27d01e Localisation updates from https://translatewiki.net.
Change-Id: I632da7505821c1f19f426f3c37ff90099a757072
2022-12-15 11:36:29 +01:00
Translation updater bot f71fd8fd48 Localisation updates from https://translatewiki.net.
Change-Id: I12776dfbf3949654f1dead5059274c583e6575ec
2022-12-13 08:17:15 +01:00
Translation updater bot 7902093198 Localisation updates from https://translatewiki.net.
Change-Id: Iea7fce9b7332986aa6aef4ad03b8811863b355b2
2022-12-08 08:29:34 +01:00
Translation updater bot 4cb734e3d3 Localisation updates from https://translatewiki.net.
Change-Id: I68ce95ff6408bda27b7591d493bd896766b7b324
2022-11-29 08:59:00 +01:00
Translation updater bot 2c7217f6d8 Localisation updates from https://translatewiki.net.
Change-Id: Ie88c52b87139105b3cde13e39c5889216641a654
2022-11-28 08:49:58 +01:00
Translation updater bot 269f770f4f Localisation updates from https://translatewiki.net.
Change-Id: Iaf5142bba15bcf9c8cee02e7a86cefc25e602961
2022-11-24 08:17:52 +01:00
Translation updater bot 658270b1f0 Localisation updates from https://translatewiki.net.
Change-Id: I747d4a7bd03ec0d8779cf830482b9a884e83917d
2022-11-22 08:34:12 +01:00
Translation updater bot 780f4a7b7a Localisation updates from https://translatewiki.net.
Change-Id: I50aac7bfe42ad87728d6bbc452319ae47b7be86b
2022-11-21 08:16:41 +01:00
libraryupgrader 47d9b3c415 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 40.0.1

npm:
* stylelint-config-wikimedia: 0.11.1 → 0.13.1

Change-Id: I2eed2998f6d0128150ffc05712503ebaec44f0d6
2022-11-16 11:09:10 +00:00
Translation updater bot b44ecb3428 Localisation updates from https://translatewiki.net.
Change-Id: I1f94cc85d510964f328a67c005c463aa0f8034a6
2022-11-15 08:24:25 +01:00
Translation updater bot 27a0273aca Localisation updates from https://translatewiki.net.
Change-Id: If38fc77313d78acf3fd60305837d7cd3411e7461
2022-11-14 08:10:59 +01:00
libraryupgrader 77b5188afe build: Updating grunt-stylelint to 0.18.0
Change-Id: Idef514c85bff726aecf4b7726552f71e11d8d371
2022-11-13 06:53:09 +00:00
libraryupgrader 7a07d22494 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.1 → 0.12.0
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* grunt: 1.4.0 → 1.5.3
* grunt-banana-checker: 0.9.0 → 0.10.0
* grunt-eslint: 23.0.0 → 24.0.0
* async: 3.2.0 → 3.2.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimatch: 3.0.4 → 3.0.8
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3
* minimist: 1.2.5 → 1.2.7
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* nanoid: 3.1.25 → 3.3.4
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2

Additional changes:
* Set `name` in package.json.

Change-Id: I76d70ca68b385b44e647cdbebd1a3e473f3fb566
2022-11-11 21:53:17 +00:00
Translation updater bot 40612c5a9d Localisation updates from https://translatewiki.net.
Change-Id: Idb59709c32fc3e2252347a41608b651b27eccea8
2022-11-01 08:53:45 +01:00
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
jenkins-bot 96245b4055 Merge "Move UpdateTables to HookHandler" 2022-10-06 04:12:44 +00:00
Reedy dac8cb27dc Move UpdateTables to HookHandler
Standardises code

Bug: T270971
Change-Id: If4ec8443afde189ce69d305857f94249a605dd42
2022-10-05 23:25:55 -04:00
Translation updater bot c0f5706a48 Localisation updates from https://translatewiki.net.
Change-Id: I747d4c28bfad3687a63c1653b7baf03b177ed1b0
2022-10-05 08:24:58 +02:00