discourse/test/javascripts/acceptance
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
..
about-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
account-created-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
admin-flags-test.js.es6 Many enhancements to the flagging / suspending interface. 2018-02-01 17:13:02 -05:00
admin-search-log-term-test.js.es6 FEATURE: show header search results on search log term details page 2018-01-17 12:47:16 +05:30
admin-search-logs-test.js.es6 FEATURE: search logs page (#5313) 2017-11-15 11:13:50 +11:00
admin-site-text-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
admin-suspend-user-test.js.es6 select-kit refactoring 2017-12-22 13:08:12 +01:00
admin-users-list-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
admin-watched-words-test.js.es6 FIX: Broken acceptance test 2017-08-30 12:35:02 -04:00
badges-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
category-chooser-test.js.es6 select-kit refactoring 2017-12-22 13:08:12 +01:00
category-edit-security-test.js.es6 select-kit refactoring 2017-12-22 13:08:12 +01:00
category-edit-test.js.es6 select-kit refactoring 2017-12-22 13:08:12 +01:00
category-hashtag-test.js.es6 [WIP] select-box-kit refactoring 2017-10-19 12:51:08 -07:00
composer-actions-test.js.es6 FIX: broken composer-actions spec 2018-02-14 11:32:20 +01:00
composer-test.js.es6 select-kit refactoring 2017-12-22 13:08:12 +01:00
composer-topic-links-test.js.es6 correct specs 2018-02-01 16:16:14 +11:00
create-account-user-fields-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
custom-html-set-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
custom-html-template-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
emoji-picker-test.js.es6 FIX: emoji-picker broken and skipped specs 2017-07-25 12:23:38 +02:00
emoji-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
forgot-password-test.js.es6 FEATURE: login by a link from email 2018-02-13 16:14:39 +08:00
group-edit-test.js.es6 FIX: Allow group members to freely exit group option incorrectly disabled. 2017-11-06 10:30:58 +08:00
group-logs-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
groups-test.js.es6 FIX: CSS class names changed on group posts 2017-11-02 15:05:41 -04:00
invite-accept-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
invite-show-user-fields-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
login-required-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
mobile-discovery-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
mobile-sign-in-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
mobile-users-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
modal-test.js.es6 Migrate away from `#discourse-modal` to `.d-modal` 2017-08-30 15:29:51 -04:00
password-reset-test.js.es6 FEATURE: Implement 2factor login TOTP 2018-02-21 09:04:07 +08:00
plugin-outlet-connector-class-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
plugin-outlet-multi-template-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
plugin-outlet-single-template-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
preferences-test.js.es6 FEATURE: Implement 2factor login TOTP 2018-02-21 09:04:07 +08:00
queued-posts-test.js.es6 Rename "Blocked" to "Silenced" 2017-11-10 14:10:27 -05:00
raw-plugin-outlet-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
search-full-test.js.es6 select-kit refactoring 2017-12-22 13:08:12 +01:00
search-test.js.es6 select-kit refactoring 2017-12-22 13:08:12 +01:00
sign-in-test.js.es6 FEATURE: Implement 2factor login TOTP 2018-02-21 09:04:07 +08:00
static-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
tag-hashtag-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
tags-test.js.es6 PERF: calculate topic_counts for tags in an async job so tag queries that include counts are much faster 2018-01-12 11:03:03 -05:00
topic-anonymous-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
topic-discovery-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
topic-edit-timer-test.js.es6 select-kit refactoring 2017-12-22 13:08:12 +01:00
topic-notifications-button-test.js.es6 select-kit refactoring 2017-12-22 13:08:12 +01:00
topic-test.js.es6 select-kit refactoring 2017-12-22 13:08:12 +01:00
unknown-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
user-anonymous-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
user-card-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00
user-test.js.es6 Refactor user summary page to use more components 2017-10-13 16:05:40 -04:00
users-test.js.es6 Upgrade QUnit to latest version 2017-06-15 10:12:07 -04:00