Correct CWebUser::loginRequired() ajax logic
CHANGELOG
CHANGELOG
Merge pull request #2551 from creocoder/cwebuser-login-ajax-correct-logic

[READY] Correct CWebUser::loginRequired() ajax logic
fixed class name
added tests
more tests
fixed test
fixes #2554
changelog
used strcmp instead of complex comparison, code formatting
Merge pull request #2554 from yiisoft/range-validator-bug

Range validator doesn't work well with empty values when allowEmpty=false
Fixes #2565. CCaptchaAction + ImageMagick color issue.
Better readability of the colors instantiation code in the CCaptchaAction::renderImageImagick() method.
Better AR docs related to transactions handling.
Merge pull request #2574 from resurtm/ar-transaction-docs

Better AR docs related to transactions handling.
Proper indentation.