mastodon/app/models
Patrick Figel df4ff9a8e1 Add recovery code support for two-factor auth (#1773)
* Add recovery code support for two-factor auth

When users enable two-factor auth, the app now generates ten
single-use recovery codes. Users are encouraged to print the codes
and store them in a safe place.

The two-factor prompt during login now accepts both OTP codes and
recovery codes.

The two-factor settings UI allows users to regenerated lost
recovery codes. Users who have set up two-factor auth prior to
this feature being added can use it to generate recovery codes
for the first time.

Fixes #563 and fixes #987

* Set OTP_SECRET in test enviroment

* add missing .html to view file names
2017-04-15 13:26:03 +02:00
..
concerns Resolve issue with rendering authorize/reject Salmon slaps 2017-02-11 19:42:05 +01:00
form Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled (#1278) 2017-04-08 22:20:08 +02:00
web Persist UI settings, add missing localizations for German 2017-01-09 14:00:55 +01:00
account.rb When avatar/header are GIF, generate static versions (#1428) 2017-04-11 00:38:58 +02:00
account_filter.rb Admin accounts controller cleanup (#1664) 2017-04-13 13:04:23 +02:00
application_record.rb
block.rb add more tests to models 2017-04-05 00:29:56 +02:00
domain_block.rb Split public timeline into "public timeline" which is local, and 2017-02-19 20:25:54 +01:00
export.rb Settings export refactor (#1646) 2017-04-13 13:02:02 +02:00
favourite.rb Add counter caches for a large performance increase on API requests 2017-03-30 15:06:59 +02:00
feed.rb Only call regeneration worker after first login after a 14 day break 2017-04-04 02:00:10 +02:00
follow.rb fix rubocop issues 2017-04-05 00:47:17 +02:00
follow_request.rb add more tests to models 2017-04-05 00:29:56 +02:00
import.rb Allow import/export of mutes list (#1541) 2017-04-12 18:20:44 +02:00
media_attachment.rb Performance improvement for profiles 2017-03-06 01:50:35 +01:00
mention.rb add more tests to models 2017-04-05 00:29:56 +02:00
mute.rb Fix #231 - Muting 2017-03-02 18:49:32 +01:00
notification.rb API param to exclude notification types from response (#1341) 2017-04-10 23:45:29 +02:00
preview_card.rb Fix #463 - Fetch and display previews of URLs using OpenGraph tags 2017-01-20 01:00:14 +01:00
remote_follow.rb
report.rb Admin reports controller improvements (#1714) 2017-04-14 11:10:28 +02:00
setting.rb Add digest e-mails 2017-03-04 00:00:48 +01:00
status.rb Fix #1339 - better Atom titles (#1343) 2017-04-09 20:55:54 +02:00
stream_entry.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
subscription.rb
tag.rb Search cleanup (#1333) 2017-04-09 14:45:01 +02:00
user.rb Add recovery code support for two-factor auth (#1773) 2017-04-15 13:26:03 +02:00
web.rb Add extended about page stub 2017-01-13 03:24:41 +01:00