Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | | | | | | | Merge branch 'brakeman-level' | Dmitriy Zaporozhets | 2015-05-12 | 1 | -0/+2 | |
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/tasks/brakeman.rake | |||||
| * | | | | | | | | | | | | We would like to pass 'brakeman -w2' | Jacob Vosmaer | 2015-05-11 | 1 | -0/+2 | |
| |/ / / / / / / / / / / | ||||||
* | | | | | | | | | | | | Merge branch 'project-page' into 'master' | Dmitriy Zaporozhets | 2015-05-12 | 8 | -81/+94 | |
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restructure project sidebar and add more icons. I moved the repository stuff down (including the clone bar), and the project/contribution stuff up. I also added more icons, to the sidebar and tabs on other pages. ---  See merge request !633 | |||||
| * | | | | | | | | | | | | Move "Forked from" above "Version".project-page | Douwe Maan | 2015-05-12 | 1 | -8/+9 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Move clone panel to bottom of project sidebar. | Douwe Maan | 2015-05-12 | 1 | -3/+3 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Restructure project sidebar. | Douwe Maan | 2015-05-12 | 2 | -65/+81 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Fix alignment of ref picker, breadcrumb and buttons. | Douwe Maan | 2015-05-12 | 4 | -14/+3 | |
| | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | Add icons to more tabs. | Douwe Maan | 2015-05-12 | 2 | -1/+8 | |
| | |/ / / / / / / / / / | |/| | | | | | | | | | | ||||||
* | | | | | | | | | | | | Merge branch 'fix_migration' into 'master' | Valery Sizov | 2015-05-12 | 2 | -2/+9 | |
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make migrations reversible /cc @jacobvosmaer @marin See merge request !622 | |||||
| * | | | | | | | | | | | | Make migrations reversiblefix_migration | Valery Sizov | 2015-05-07 | 2 | -2/+9 | |
| | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | Merge branch '2fa' into 'master' | Dmitriy Zaporozhets | 2015-05-12 | 26 | -10/+566 | |
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two-factor authentication Implement's Two-factor authentication using tokens. - [X] Authentication logic - [X] Enable/disable 2FA feature - [x] Make 2-step login process if 2FA enabled - [x] Backup codes - [x] Backup code removed after being used - [x] Check backup codes for mysql db (mention mysql limitation if applied) - [x] Add tests - [x] Test if https://github.com/tinfoil/devise-two-factor#disabling-automatic-login-after-password-resets applies, and address if so - [x] Wait for fixed version of `attr_encrypted` or fork and use forked version - https://github.com/attr-encrypted/attr_encrypted/issues/155 Fixes http://feedback.gitlab.com/forums/176466-general/suggestions/4516817-implement-two-factor-authentication-2fa See merge request !474 | |||||
| * | | | | | | | | | | | | | Bump attr_encrypted | Dmitriy Zaporozhets | 2015-05-12 | 2 | -10/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||||
| * | | | | | | | | | | | | | Handle password reset for users with 2FA enabled2fa | Robert Speicher | 2015-05-11 | 3 | -2/+76 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Remove extra `devise` call that got added by accident | Robert Speicher | 2015-05-10 | 1 | -3/+0 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Remove unnecessary User#login accessor override | Robert Speicher | 2015-05-09 | 1 | -5/+0 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Add CHANGELOG entry | Robert Speicher | 2015-05-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Clear all 2FA-related fields when user disables the feature | Robert Speicher | 2015-05-09 | 2 | -2/+133 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Prevent "You are already signed in." error message upon 2FA login | Robert Speicher | 2015-05-09 | 2 | -3/+26 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Move "invalid 2FA code" error message to the flash | Robert Speicher | 2015-05-09 | 2 | -4/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it consistent with the Invalid email/password error message from the previous step. | |||||
| * | | | | | | | | | | | | | Autofocus the pin field on 2FA enable form | Robert Speicher | 2015-05-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Add otp_attempt to filtered parameters | Robert Speicher | 2015-05-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Generate 10 2FA backup codes instead of the default of 5 | Robert Speicher | 2015-05-09 | 2 | -3/+3 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Add :two_factor trait to User factory | Robert Speicher | 2015-05-09 | 2 | -8/+11 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Fix 2FA backup code removal | Robert Speicher | 2015-05-09 | 2 | -7/+8 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Make otp_backup_codes a text field | Robert Speicher | 2015-05-09 | 2 | -1/+6 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Quotes, icon helper in profiles/accounts/show view | Robert Speicher | 2015-05-09 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Re-annotate User model | Robert Speicher | 2015-05-09 | 2 | -0/+10 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Add a hint on login form about using a recovery code | Robert Speicher | 2015-05-09 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Improve copy for enabling 2FA | Robert Speicher | 2015-05-09 | 2 | -4/+5 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Update copy for generating new recovery codes | Robert Speicher | 2015-05-09 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Refactor SessionsController | Robert Speicher | 2015-05-09 | 3 | -23/+33 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adds test case for providing an invalid 2FA code and then a valid one without re-entering username and password. | |||||
| * | | | | | | | | | | | | | Fix nav and layout for TwoFactorAuthsController | Robert Speicher | 2015-05-09 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Add page titles for two_factor_auths views | Robert Speicher | 2015-05-09 | 3 | -0/+6 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Make two-factor login work and add a feature spec | Robert Speicher | 2015-05-09 | 2 | -7/+106 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Update User model for two-factor auth | Robert Speicher | 2015-05-09 | 1 | -2/+10 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Update login views for two-factor auth | Robert Speicher | 2015-05-09 | 2 | -6/+2 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Fix Devise parameter sanitizer for otp_attempt | Robert Speicher | 2015-05-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Don't use hard-coded sign_in path | Robert Speicher | 2015-05-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | prepend_before_filter -> prepend_before_action | Robert Speicher | 2015-05-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Be consistent with what we call the 2FA feature | Robert Speicher | 2015-05-09 | 4 | -11/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Two-factor" vs. "2-Factor" | |||||
| * | | | | | | | | | | | | | Update copy for recovery codes | Robert Speicher | 2015-05-09 | 1 | -5/+4 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Render 2fa recovery codes instead of downloading it | Dmitriy Zaporozhets | 2015-05-09 | 6 | -12/+28 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Add support for backup codes | Dmitriy Zaporozhets | 2015-05-09 | 6 | -14/+42 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Use non-broken version of attr_encrypted | Dmitriy Zaporozhets | 2015-05-09 | 2 | -2/+10 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Turn 2-factor authentication into 2 steps process. Disabled 2fa UI for ldap ↵ | Dmitriy Zaporozhets | 2015-05-09 | 5 | -18/+59 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | users since it is not supported | |||||
| * | | | | | | | | | | | | | Fix rubocop complain | Dmitriy Zaporozhets | 2015-05-09 | 3 | -3/+2 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Make 2 factor authentication work | Dmitriy Zaporozhets | 2015-05-09 | 3 | -9/+37 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Create Two-factor authentication resource for user | Dmitriy Zaporozhets | 2015-05-09 | 4 | -0/+48 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Init 2 factor authentication for user model | Dmitriy Zaporozhets | 2015-05-09 | 4 | -2/+18 | |
| | | | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Add 2 factor authentication gems | Dmitriy Zaporozhets | 2015-05-09 | 2 | -0/+20 | |
| | | | | | | | | | | | | | |