Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-25 | Localize with i18n for Devise::FailureApp (#2309) | alpaca-tc | |
This PR fixes I18n.locale for rake middlewares. Mastodon uses Devise that depends on Warden. Warden::Manager can be found in rake middleware. It is outside of the controller. In the case of authentication failed, warden calls throw(:warden). At the time Warden::Manager delegates request to failure_app to generate response and flash[:alert] after catching it. Unfortunately, I18n.locale is already reset then because I18n.with_locale is enabled only inside the controller. If we used I18n.locale=, Devise::FailureApp could get the current locale. | |||
2017-04-17 | Assign user locale on signup (#1982) | saturday06 | |
2017-04-15 | Add recovery code support for two-factor auth (#1773) | Patrick Figel | |
* 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-09 | Fix /api/v1/accounts/update_credentials tests (#1357) | Eugen | |
2017-01-04 | Fix #390 - fix redirect after sign-up (to login page instead of homepage) | Eugen Rochko | |
2016-11-17 | Fix #148 - Devise mailer fixed, test spec added so it won't slip past again | Eugen Rochko | |
2016-09-26 | Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app | Eugen Rochko | |
registration API | |||
2016-08-17 | Upgrade to Rails 5.0.0.1 | Eugen Rochko | |
2016-03-28 | Remember me enabled by default | Eugen Rochko | |