Commit graph

64 commits

Author SHA1 Message Date
Dejan Savuljesku ae53dc5c60 Make sure key is of correct type before running operations on it
Bug: T231786
Change-Id: I54aad0753fa3eda48e7f382b27b1c89069f40d36
2019-09-04 11:53:22 +00:00
Dejan Savuljesku 36485440ee Improve ManageForm
Make sure that particular form is only loaded when it actually makes sense
for it to load, not when its just requested.

Bug: T218211
Change-Id: Ibae0279451b4a6a4a1d1ce212bbbbf919900a46d
2019-09-03 14:17:48 +02:00
Dejan Savuljesku 630a17da01 UI upgrade
Help messages for 2FA in general and for TOTP module are taken from Wikipedia.
Those could probably be improved, any suggestions are welcome

Bug: T218214
Bug: T226056
Change-Id: Ifc81a3c0e1adc9f6d0d49e7eee086714fc2c0f81
2019-08-29 10:38:10 +00:00
Dejan Savuljesku 019cf6ccdd Add method to clear all keys associated with the user
This is needed when changing modules, we need to remove all keys
from the old module

Change-Id: Iaada3df631260dbd612cce01f5477e93e6da4596
2019-08-26 12:13:23 +00:00
Aaron Schulz cb4e6a15a6 Make TOTPKey use the main stash for the token key
Change-Id: Idd20c778f7ea1d2393f1e08eb3cf7f74b8ee2b2d
2019-08-12 18:10:10 -07:00
Dejan Savuljesku 6c09ac0c53 Allow revocation of user rights if 2FA isn't enabled on an account
Bug: T199118
Bug: T218215

Change-Id: I7036dd0d95598b90654a1fcf3130c6bdc6b635b4
2019-07-31 13:36:33 +00:00
DannyS712 a9af4e59e1 Hide Special:OATHManage from users who can't use it
Bug: T228609
Change-Id: I3bce2b8ae9316ccc9ee77140de56f616ed981b24
2019-07-27 09:53:33 +00:00
James D. Forrester 142bda9170 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I456638fd0b59b0acebcc0e873f171d1ef0f69564
2019-07-11 14:09:30 +00:00
Dejan Savuljesku 017d8c8126 Support for multiple keys, improved module form logic #2
Removed unused classes, missed in previous commits

Bug: T218210

Change-Id: Iaf9facb54cd9693f20ed2f48d22b076c4b626705
2019-07-05 20:23:26 +00:00
rvogel b9f768e20a Refactor includes to src #2
Bug: T218210

Change-Id: I079e6e819c079b68bbfecdac0d873b26d4e16e86
2019-07-04 13:36:13 +00:00
rvogel b04722a1eb Rework the way user interacts with 2FA settings
Bug: T218210

Change-Id: Iaa6f6ae1c25f47ef43a0e6467474284d89a7a213
2019-07-04 12:45:27 +00:00
Reedy 707f33398f Disable autocomplete on 2FA verification fields
For both enabling and disabling 2FA TOTP

Bug: T226049
Change-Id: Ib0f4c8d1d19fe6cdc403ba306ec44dadbe6320c9
2019-06-19 13:21:29 +01:00
Reedy 8099c0ac7d Make token fields always ltr
Bug: T153556
Change-Id: Iff116722e60dee3e370905c9d7d0b2269e1c4c87
2019-06-18 23:36:20 +01:00
Dejan Savuljesku ea984e5c2b Refactor the extension to support multiple auth modules
Please note, this patch requires a schema change before merging

Change-Id: I71286534d21d95083436d64d79811943c1a1d032
ERM: #14484
Bug: T218210
2019-06-18 10:45:21 +00:00