discourse/app/assets/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
..
admin FEATURE: Implement 2factor login TOTP 2018-02-21 09:04:07 +08:00
discourse FEATURE: Implement 2factor login TOTP 2018-02-21 09:04:07 +08:00
discourse-common FIX: do not translate the same string two times when rendering icon label 2018-02-14 12:41:24 +01:00
docs
ember-addons Upgrade to Babel 6 2017-07-05 15:25:23 -04:00
locales FIX: Enabling verbose localization for session didn't work 2018-01-25 23:29:53 +01:00
pretty-text FIX: include title in local onebox when linking to a different topic 2018-02-19 22:40:14 +01:00
select-kit FIX: makes mini-tag-chooser search more efficient 2018-02-15 15:01:19 +01:00
wizard FIX: invite-list expects initial value mutation 2017-11-24 13:32:24 +01:00
admin.js.erb Add support for plugins to declare ES6 in the admin bundle 2015-08-17 15:03:55 -04:00
application.js Add support for mixed text directions 2018-01-28 18:33:55 -08:00
deprecated.js REFACTOR: Remove `requirejs` calls 2017-07-05 17:24:27 -04:00
discourse-loader.js Upgrade to Babel 6 2017-07-05 15:25:23 -04:00
discourse-objects.js Scaffold for new Wizard - Rails / Ember / Tests 2016-09-22 09:48:58 -04:00
discourse.js.es6 FIX: Skip pasting files if plain text available in clipboard 2017-12-02 02:05:11 +05:30
ember-shim.js Migrate discourse.js to ES6 2016-07-11 12:57:05 -04:00
ember_include.js.erb move template compiler into vendor for now 2015-11-25 15:54:54 +11:00
ember_jquery.js Use the same jQuery in prod and dev, avoid minimizing twice 2017-03-22 15:48:37 -04:00
env.js Reapply Ember 2.10 for good this time! 2016-12-19 11:19:10 -05:00
main_include_admin.js FEATURE: handle bounced emails 2016-05-02 23:15:32 +02:00
markdown-it-bundle.js UX: Improve editor and preview scroll syncing. 2017-11-23 17:02:02 +08:00
plugin-third-party.js.erb FEATURE: split JavaScript application bundle, so plugins live in own file 2016-11-15 11:43:13 +11:00
plugin.js.erb FEATURE: split JavaScript application bundle, so plugins live in own file 2016-11-15 11:43:13 +11:00
preload-store.js.es6 REFACTOR: PreloadStore to ES6 2016-07-11 12:57:05 -04:00
pretty-text-bundle.js FEATURE: image uploads now have short urls 2017-08-22 16:40:08 -04:00
service-worker.js.erb FIX: stop counting offline page as a page view 2018-02-13 16:19:43 +11:00
template_include.js.erb PERF: stop loading handlebars and ember compilers in prod 2015-11-27 11:59:01 +11:00
vendor.js FEATURE: HTML to Markdown conversion using native JavaScript ES6 classes (#5425) 2017-12-15 10:28:20 +05:30
wizard-application.js Introduces select-kit 2017-11-21 11:53:09 +01:00
wizard-vendor.js FIX: Wizard was broken 2017-07-27 10:48:31 -04:00