Commit graph

8 commits

Author SHA1 Message Date
Tyler Anthony Romeo 1a8006317d Move token login to separate page
Rather than have an extraneous form on the login page,
move the token input to a separate page. The actual
logic for logging in is identical, the only difference
is that the token is added to the form data on a second
page request.

Bug: 53195
Change-Id: I39859cc59f1811de42b72f6167d332ea48812f97
2016-03-29 16:02:54 -07:00
Tyler Romeo 4e9ad22469 Add user right for enabling two-factor auth
Make new right oathauth-enable that the user must have to enable two
factor authentication (disabling and logging in, of course, are still
allowed).

Bug: T100376
Change-Id: I18d43f8b2cf2c2ce9c2309a43961686498b5c999
2016-03-24 12:45:41 -07:00
Translation updater bot a161c3122c Localisation updates from https://translatewiki.net.
Change-Id: I37c58596e845f958a1337193fbabca36b843209a
2016-03-23 22:23:27 +01:00
Tyler Anthony Romeo 0c389f5025 Refactored special pages into HTMLForm and proxy
Made new class ProxySpecialPage, which acts as a
proxy object to another SpecialPage object that is
determined based on context information other than
the title.

Then Special:OATH has been split into two separate
special page classes (both FormSpecialPages using
HTMLForm) that are routed to by a ProxySpecialPage
object.

In addition, the form for enabling two-factor auth
has been refactored into vform style, with some
better instructions on how to enable two-factor
authentication.

Change-Id: Ib9117cbc9d7f044de9607db81a157e1b472b5ec0
2016-03-23 11:26:04 -07:00
Translation updater bot c21ca85ed7 Localisation updates from https://translatewiki.net.
Change-Id: I7891e0fd51469afe96d44f28f76511b1e7feba37
2015-03-23 22:02:25 +01:00
Translation updater bot fe63ccea77 Localisation updates from https://translatewiki.net.
Change-Id: Ib01f35c1bda7577f3329decade6902042badeb41
2015-03-16 21:58:55 +01:00
Translation updater bot a5b9fc5632 Localisation updates from https://translatewiki.net.
Change-Id: Ibf1357b2975533e24a28c7e078269280ffa0db51
2014-04-16 15:44:35 +00:00
Siebrand Mazeland e08f4b18f5 Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: Iec7afc3b9697ec16145dd215ae27842cf54a5934
2014-03-28 12:07:32 +01:00