discourse/test/javascripts
Jeff Wong f4f8a293e7 FEATURE: Implement 2factor login TOTP
implemented review items.

Blocking previous codes - valid 2-factor auth tokens can only be authenticated once/30 seconds.
I played with updating the “last used” any time the token was attempted but that seemed to be overkill, and frustrating as to why a token would fail.
Translatable texts.
Move second factor logic to a helper class.
Move second factor specific controller endpoints to its own controller.
Move serialization logic for 2-factor details in admin user views.
Add a login ember component for de-duplication
Fix up code formatting
Change verbiage of google authenticator

add controller tests:
second factor controller tests
change email tests
change password tests
admin login tests

add qunit tests - password reset, preferences

fix: check for 2factor on change email controller
fix: email controller - only show second factor errors on attempt
fix: check against 'true' to enable second factor.

Add modal for explaining what 2fa with links to Google Authenticator/FreeOTP

add two factor to email signin link

rate limit if second factor token present

add rate limiter test for second factor attempts
2018-02-21 09:04:07 +08:00
..
acceptance FEATURE: Implement 2factor login TOTP 2018-02-21 09:04:07 +08:00
admin FEATURE: grant badges in post admin wrench (#5498) 2018-01-22 14:10:53 +11:00
components FIX: use css instead of js to fix select-kit-collection max-height 2018-02-01 16:56:07 +01:00
controllers fix js suite 2018-01-22 17:48:03 +01:00
ember Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
fixtures FIX: Broken test 2018-01-08 17:22:53 -05:00
helpers FEATURE: Implement 2factor login TOTP 2018-02-21 09:04:07 +08:00
initializers FIX: Ignore if the default localization node is not an object (#5439) 2017-12-27 16:53:53 +11:00
lib FIX: invite to message was not allowing groups 2018-02-13 13:28:46 +11:00
mixins FEATURE: grant badges in post admin wrench (#5498) 2018-01-22 14:10:53 +11:00
models Merge pull request #5540 from discourse/mixed-text-direction-support 2018-02-01 07:29:15 -08:00
widgets rename 'enable_private_messages' to 'enable_personal_messages' 2018-02-01 13:25:29 +05:30
plugin_tests.js.erb Support for Acceptance tests in plugins 2015-08-27 17:07:11 -04:00
test_helper.js Introduces select-kit 2017-11-21 11:53:09 +01:00