gitlab-org--gitlab-foss/app/views/devise
Dmitriy Zaporozhets e1299bab7b Merge branch 'feature_password_strength_indicator' into 'master'
Add a password strength indicator to SIGN UP and PROFILE pages

Fixes #1647

Added a password strength indicator to the sign up page. You can see how it looks in the following screenshot. In the sign up page, it checks if the password contains the username and alerts the user about it. If the user still wants to proceed with creating his account, nothing will stop him. This is merely a message. The indicator changes the input background color based on the strength like this:

![new_full](https://dev.gitlab.org/uploads/gitlab/gitlabhq/0e6da27cfe/new_full.png)

The password strength indicator can also be found in the profile edit page. It functions in almost the exact same way, with the exception that it doesn't check if the password contains the username.

![edit_full](https://dev.gitlab.org/uploads/gitlab/gitlabhq/f73001539e/edit_full.png)

There are tests included.

/cc @job

See merge request !1227
2014-10-30 11:32:11 +00:00
..
confirmations Cleaner UI for login/signup pages 2014-08-15 17:52:20 +03:00
mailer Update to accomodate devise deprecations and backward incompatible changes. 2014-07-10 13:56:35 +02:00
passwords Added ID to the form-group, to fix alignment of inputs 2014-10-28 11:02:36 -05:00
registrations Removed unnecessary role in form. 2014-10-28 11:04:46 -05:00
sessions Merge pull request #7866 from cirosantilli/input-button-to-tag 2014-10-28 12:11:15 +02:00
shared Improve signin/signup/reset pages UI 2014-07-11 16:05:57 +03:00
unlocks Replace old hashes with new 1.9 ruby hashes (rebase) 2013-05-05 18:01:10 +04:00