This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/spec
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
..
components FIX: use the avatar of the post rather than the topic in local oneboxes 2018-02-20 19:49:39 +01:00
controllers FEATURE: Implement 2factor login TOTP 2018-02-21 09:04:07 +08:00
fabricators FIX: Password required flag should be cleared whenever clearing the raw password (#5384) 2017-12-01 15:19:24 +11:00
fixtures FIX: support incoming emails with just an attachment 2018-02-16 18:14:56 +01:00
helpers FEATURE: allow specifying s3 config via globals 2017-10-06 16:20:01 +11:00
import_export FIX: topic and category exporters were only exporting users who created the first post 2018-01-16 12:51:53 -05:00
integration FIX: rate limiter text is confusing, should not say daily 2018-02-14 15:29:50 +11:00
integrity FEATURE: allow better fidelity for auto linkify, disable most tlds based linkify 2018-02-01 13:22:38 +11:00
jobs Spec test to make sure we do not skip trashed post 2018-02-13 12:23:47 +05:30
mailers FEATURE: add setting which adds group name to PM email subject (#5475) 2018-02-19 10:20:17 +01:00
models New setting: minimum trust level to embed images in a post 2018-02-20 20:00:06 -05:00
multisite Update rails_multisite to 2.0.1. 2018-01-19 10:19:16 +08:00
requests FEATURE: Implement 2factor login TOTP 2018-02-21 09:04:07 +08:00
serializers FIX: featured links are 'undefined' in suggested topics 2018-01-25 14:40:07 -05:00
services FEATURE: search within title using in:title 2018-02-20 14:41:21 +11:00
support SECURITY: Any group can be invited into a PM. 2017-12-14 14:57:48 +08:00
tasks suppress print output when running specs 2017-10-31 16:06:11 +05:30
views/omniauth_callbacks Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
discourse_tagging_spec.rb FIX: prevent creation of tags with invalid characters 2016-10-12 15:44:36 -04:00
rails_helper.rb FIX: load balanced servers do not share monotonic clock 2017-12-07 11:48:11 +11:00