Dmitrii Golub
|
4d427058e0
|
Merge pull request #24 from rossta/spec_rails_app
Integration specs
|
11 years ago |
Dmitrii Golub
|
5b7594f129
|
Merge pull request #23 from rossta/readme_updates
README updates
|
11 years ago |
Ross Kaffenberger
|
0a57c06d15
|
feature spec for checking max attempts before show
|
11 years ago |
Ross Kaffenberger
|
79c048d0f5
|
explicit before_script and script steps in travis.yml
|
11 years ago |
Ross Kaffenberger
|
04899f3ae0
|
Add comment for running specs against multiple versions of Rails
|
11 years ago |
Ross Kaffenberger
|
c49c267928
|
Feature spec for max login attempts
adds nickname column to dummy app user
Update feature specs with user nickname; add max login attempt spec
regenerate schema
|
11 years ago |
Ross Kaffenberger
|
b2f9935a08
|
Remove rails 3.1 from travis
|
11 years ago |
Ross Kaffenberger
|
0e32309820
|
Updates to dummy app
update .gitignore
updates for rails 4
update dummy spec assets
remove dummy app home helper
update dummy spec README
Restore lib/two_factor_authentication.rb
|
11 years ago |
Ross Kaffenberger
|
bee9df70a9
|
README: use correct column name, update markdown code blocks
|
11 years ago |
Ross Kaffenberger
|
957e6b144b
|
extract GuestUser for unit specs
|
11 years ago |
Ross Kaffenberger
|
f46a62720c
|
happy path feature specs for two factor auth
|
11 years ago |
Ross Kaffenberger
|
6c13b3f239
|
require rspec/core/rake_task
|
11 years ago |
Ross Kaffenberger
|
c6e08dd379
|
update travis and gemspec with rake dependency
|
11 years ago |
Ross Kaffenberger
|
c9192a2e07
|
add .travis.yml with multile rails and ruby versions
|
11 years ago |
Ross Kaffenberger
|
b25dd2ffc2
|
remove User model from spec/support; now loaded from spec rails app
|
11 years ago |
Ross Kaffenberger
|
6ea4db49fe
|
rename rails app in spec directory
|
11 years ago |
Ross Kaffenberger
|
269f4df246
|
install two_factor_authentication in dummy app User
|
11 years ago |
Ross Kaffenberger
|
5c000fe605
|
ability to specify rails version on command line
|
11 years ago |
Ross Kaffenberger
|
eb392309d3
|
remove log and sqlite3 dummy app files from git
|
11 years ago |
Ross Kaffenberger
|
4c4f978d2e
|
Load dummy environment in specs and dummy tasks in Rakefile
|
11 years ago |
Ross Kaffenberger
|
cc12f171e6
|
scope to rails 3
|
11 years ago |
Ross Kaffenberger
|
cbc1d3dcda
|
generated dummy app with basic devise install
|
11 years ago |
Dmitrii Golub
|
9f50283743
|
Merge pull request #22 from rossta/extract_method_max_login_attempts
extract method #max_login_attempts
|
11 years ago |
Dmitrii Golub
|
f294ad7358
|
Merge pull request #21 from rossta/extract_method_populate_otp_column
|
11 years ago |
Ross Kaffenberger
|
153a4531ca
|
extract method #max_login_attempts
Respects Law of Demeter, useful for stubbing out methods on instance or
for apps that use the NullObject pattern for guest user accounts.
|
11 years ago |
Ross Kaffenberger
|
9ef373482a
|
extract method #populate_otp_column
useful for populating column values for pre-existing devise-enabled records
|
11 years ago |
Dmitrii Golub
|
30f618edab
|
Merge pull request #20 from rossta/specs_for_provisioning_uri
specs for Model#provisioning_uri
|
11 years ago |
Ross Kaffenberger
|
404372e317
|
specs for Model#provisioning_uri
|
11 years ago |
Dmitrii Golub
|
f918008d00
|
Merge pull request #19 from rossta/provide_options_for_provisioning_uri
Provide options for #provisioning_uri
|
11 years ago |
Ross Kaffenberger
|
987c0feef6
|
provide options for #provisioning_uri
options are passed to the ROTP::TOTP constructor, which currently makes
use of :issuer and :interval option keys
|
11 years ago |
Dmitrii Golub
|
6f0c1fb993
|
update version to 1
|
11 years ago |
Dmitrii Golub
|
297717be8a
|
+two factor authentication example in readme
|
11 years ago |
Dmitrii Golub
|
4d5e28942e
|
Merge pull request #16 from checkdin/master
Use time-based authentication codes
|
11 years ago |
Matt Mueller
|
af6e150124
|
Adding unique index to otp secret key.
This prevents the potential of a leaking of a single secret key from effecting others.
|
11 years ago |
Matt Mueller
|
89352f5ac2
|
Adding clarification around google authenticator.
|
11 years ago |
Matt Mueller
|
8d464b2862
|
Modifying readme based on changes to gem.
|
11 years ago |
Matt Mueller
|
d91d13fc1b
|
Remove code argument from send_two_factor_authentication_code
|
11 years ago |
Matt Mueller
|
ffab2c2dd2
|
Allow for successful rollback of migration.
|
11 years ago |
Matt Mueller
|
5094238c74
|
Allowing both config and override of allowed otp drift.
|
11 years ago |
Matt Mueller
|
3d8b6c484d
|
Controller: authenticate using new one time password algorithm.
|
11 years ago |
Matt Mueller
|
1961ae7535
|
otp_column_name: do not allow for override.
|
11 years ago |
Matt Mueller
|
4d2dbe1c44
|
Spec: validate that send_two_factor_authentication_code can be overwritten
|
11 years ago |
Matt Mueller
|
b4e8138b5a
|
Only max_login_attempts is now configurable.
|
11 years ago |
Matt Mueller
|
a57329534f
|
Test otp authentication.
|
11 years ago |
Matt Mueller
|
d00f0ae35e
|
Introducing first spec to test otp code.
|
11 years ago |
Matt Mueller
|
ea0799270e
|
Adding rspec.
|
11 years ago |
Matt Mueller
|
6c0930ba8d
|
Adding rotp dependency.
|
11 years ago |
Matt Mueller
|
3e501a30b2
|
Misc renames for otp secret key.
|
11 years ago |
Matt Mueller
|
13f33a9445
|
Adding otp methods.
|
11 years ago |
Matt Mueller
|
98868bbece
|
Change migration to add otp secret key.
|
11 years ago |