stable

Clone or download

Read-only

Introduce front end check of new password

The password is validated against Password Strategies. The code is copy/pasted from Site Admin password update modal. The style was copy/paster from site admin too with class name changed. I don't know if we can do better. Let's be honest, the whole thing is crap but... It's not my war! Part of story #14552: User preferences goes Burning Parrot Change-Id: I933766515cc7b4cd41aa463acae71214166f59b6

Modified Files

Name
M site-content/en_US/account/account.tab +0 −7 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +10 −1 Go to diff View file
M site-content/fr_FR/account/account.tab +0 −3 Go to diff View file
M src/common/Password/PasswordSanityChecker.php +16 −2 Go to diff View file
M src/common/Password/PasswordStrategy.class.php +2 −5 Go to diff View file
M src/common/Request/RouteCollector.php +1 −5 Go to diff View file
M src/common/User/Account/DisplaySecurityController.php +32 −2 Go to diff View file
M src/common/User/Account/SecurityPresenter.php +10 −1 Go to diff View file
M src/common/User/Account/templates/security-password.mustache +35 −13 Go to diff View file
M src/common/User/Admin/UserChangePasswordPresenter.php +0 −3 Go to diff View file
M src/common/account/RegisterPresenter.class.php +0 −6 Go to diff View file
M src/templates/account/register-choose-password.mustache +2 −2 Go to diff View file
M src/templates/admin/users/user-change-password.mustache +4 −4 Go to diff View file
M src/www/include/user.php +0 −58 Go to diff View file
M src/www/scripts/check_pw.js +8 −8 Go to diff View file
M src/www/themes/BurningParrot/css/account/_account.scss +1 −0 Go to diff View file
A src/www/themes/BurningParrot/css/account/includes/_security.scss +69 −0 Go to diff View file
M src/www/themes/BurningParrot/css/includes/_siteadmin-user-password.scss +2 −2 Go to diff View file
M src/www/themes/common/css/utils/_password-validator.scss +2 −2 Go to diff View file
M src/www/themes/common/css/utils/_register.scss +1 −1 Go to diff View file
M tests/phpunit/common/User/Account/DisplaySecurityControllerTest.php +2 −0 Go to diff View file