You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/config/locales
Matt Jankowski 67dea31b0f 2FA controller cleanup (#2296)
* Add spec coverage for settings/two_factor_auth area

* extract setup method for qr code

* Move otp required check to before action

* Merge method only used once

* Remove duplicate view

* Consolidate creation of @codes for backup

* Move settings/2fq#recovery_codes to settings/recovery_codes#create

* Rename settings/two_factor_auth#disable to #destroy

* Add coverage for the otp required path on 2fa#show

* Clean up the recovery codes list styles

* Move settings/two_factor_auth to settings/two_factor_authentication

* Reorganize the settings two factor auth area

Updated to use a flow like:

- settings/two_factor_authentication goes to a #show view which has a button
  either enable or disable 2fa on the account
- the disable button turns off the otp requirement for the user
- the enable button cycles the user secret and redirects to a confirmation page
- the confirmation page is a #new view which shows the QR code for user
- that page posts to #create which verifies the code, and creates the recovery
  codes
- that create action shares a view with a recovery codes controller which can be
  used separately to reset codes if needed
8 years ago
..
bg.yml 2FA controller cleanup (#2296) 8 years ago
de.yml
devise.bg.yml
devise.de.yml
devise.en.yml
devise.eo.yml
devise.es.yml
devise.fi.yml
devise.fr.yml
devise.hr.yml
devise.hu.yml
devise.id.yml Add Indonesian (Bahasa Indonesia / id) translation (#2200) 8 years ago
devise.io.yml Add Ido (io) translation (#2202) 8 years ago
devise.it.yml
devise.ja.yml
devise.nl.yml
devise.no.yml
devise.pl.yml
devise.pt-BR.yml
devise.pt.yml
devise.ru.yml
devise.uk.yml
devise.zh-CN.yml
devise.zh-HK.yml
devise.zh-TW.yml
doorkeeper.bg.yml
doorkeeper.de.yml
doorkeeper.en.yml
doorkeeper.eo.yml
doorkeeper.es.yml
doorkeeper.fi.yml
doorkeeper.fr.yml
doorkeeper.hr.yml
doorkeeper.hu.yml
doorkeeper.id.yml Add Indonesian (Bahasa Indonesia / id) translation (#2200) 8 years ago
doorkeeper.io.yml Add Ido (io) translation (#2202) 8 years ago
doorkeeper.it.yml
doorkeeper.ja.yml
doorkeeper.nl.yml
doorkeeper.no.yml
doorkeeper.oc.yml
doorkeeper.pl.yml
doorkeeper.pt-BR.yml
doorkeeper.pt.yml
doorkeeper.ru.yml
doorkeeper.uk.yml
doorkeeper.zh-HK.yml
doorkeeper.zh-TW.yml
en.yml 2FA controller cleanup (#2296) 8 years ago
eo.yml 2FA controller cleanup (#2296) 8 years ago
es.yml 2FA controller cleanup (#2296) 8 years ago
fi.yml 2FA controller cleanup (#2296) 8 years ago
fr.yml 2FA controller cleanup (#2296) 8 years ago
hr.yml 2FA controller cleanup (#2296) 8 years ago
hu.yml
id.yml 2FA controller cleanup (#2296) 8 years ago
io.yml 2FA controller cleanup (#2296) 8 years ago
it.yml 2FA controller cleanup (#2296) 8 years ago
ja.yml 2FA controller cleanup (#2296) 8 years ago
nl.yml 2FA controller cleanup (#2296) 8 years ago
no.yml 2FA controller cleanup (#2296) 8 years ago
oc.yml 2FA controller cleanup (#2296) 8 years ago
pl.yml 2FA controller cleanup (#2296) 8 years ago
pt-BR.yml Language: Missing keys for pt and pt-BR (#2277) 8 years ago
pt.yml Language: Missing keys for pt and pt-BR (#2277) 8 years ago
ru.yml 2FA controller cleanup (#2296) 8 years ago
simple_form.bg.yml
simple_form.de.yml
simple_form.en.yml Display remaining characters when editing display name and bio (#2219) 8 years ago
simple_form.eo.yml
simple_form.es.yml
simple_form.fi.yml
simple_form.fr.yml
simple_form.hr.yml Croatian language updates & fixes (#2203) 8 years ago
simple_form.hu.yml
simple_form.id.yml Add Indonesian (Bahasa Indonesia / id) translation (#2200) 8 years ago
simple_form.io.yml Add Ido (io) translation (#2202) 8 years ago
simple_form.it.yml
simple_form.ja.yml Add Japanese translation for display name and bio counter (#2275) 8 years ago
simple_form.nl.yml
simple_form.no.yml
simple_form.oc.yml
simple_form.pl.yml
simple_form.pt-BR.yml
simple_form.pt.yml
simple_form.ru.yml
simple_form.uk.yml
simple_form.zh-CN.yml
simple_form.zh-HK.yml
simple_form.zh-TW.yml
uk.yml
zh-CN.yml 2FA controller cleanup (#2296) 8 years ago
zh-HK.yml 2FA controller cleanup (#2296) 8 years ago
zh-TW.yml 2FA controller cleanup (#2296) 8 years ago