Matt Jankowski
268dd32d76
Auth sign out ( #2511 )
* Add a spec for signing out
* Add spec showing that suspended user gets a 403 forbidden on sign out
* Allow suspended account users to sign out
7 years ago
yhirano
3988f2dade
Fix Rubocop offences ( #2630 )
* disable Bundler/OrderedGems
* fix rubocop Lint/UselessAssignment
* fix rubocop Style/BlockDelimiters
* fix rubocop Style/AlignHash
* fix rubocop Style/AlignParameters, Style/EachWithObject
* fix rubocop Style/SpaceInLambdaLiteral
7 years ago
Matt Jankowski
b48f2cbc8b
Catch error when server decryption fails on 2FA ( #2512 )
7 years ago
saturday06
d87ee1167e
Assign user locale on signup ( #1982 )
7 years ago
Marcin Cieślak
1c8477eab2
Give SINGLE_USER a chance to register ( #1820 )
An attempt to open a brand new Mastodon instance configured
as SINGLE_USER_MODE=true will cause an exception.
Enable temporary registration if we have no users in the database
Fixes #1817
7 years ago
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
7 years ago
Eugen Rochko
5f54981846
New admin setting: open/close registrations, with custom message, from the admin UI
7 years ago
Eugen
d96e031dfc
Fix #611 - Layout setting in registrations controller
7 years ago
Eugen Rochko
23b997ae55
Split 2FA login into two prompts
7 years ago
Eugen Rochko
f4bc9620a9
Update settings to re-use admin layout, one big navigation tree, improve settings forms
7 years ago
Eugen Rochko
ba192f12e3
Added optional two-factor authentication
7 years ago
Eugen Rochko
1bbcd71cd4
Fix #390 - fix redirect after sign-up (to login page instead of homepage)
7 years ago
Eugen Rochko
1357c1cb3d
Add single user mode
8 years ago
Eugen Rochko
fdc17bea58
Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko
33f7e1cf99
Shorten rendered links (strip protocol and www, truncate to 30 chars), redirect
to sign in page after sign up instead of root path which redirects to /about
8 years ago
Eugen Rochko
fc198a8b4c
Adding e-mail confirmations
8 years ago
Eugen Rochko
a0f85774c4
Redirect after sign in to previous page (unless it's a sign in/up/etc page)
8 years ago
Eugen Rochko
927333f4f8
Improve code style
8 years ago
Eugen Rochko
7e14eefc81
Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app
registration API
8 years ago
Eugen Rochko
10ba09f546
Upgrade to Rails 5.0.0.1
8 years ago
Eugen Rochko
ff2cbc0753
Remember me enabled by default
8 years ago
Eugen Rochko
85b00d19b8
Moving Salmon notifications to background processing, fixing mini-profiler
behaviour with Turbolinks enabled, optimizing Rabl for production
8 years ago
Eugen Rochko
da4b675aca
Fix favourite handling in ProcessInteractionService
8 years ago
Eugen Rochko
43bb8a25e7
Remember user logins by default
8 years ago
Eugen Rochko
02696a063e
Change default avatar, redirect to home after sign up
8 years ago
Eugen Rochko
6045b6cb18
Customizing devise views and controllers
8 years ago