44 Commits

Author SHA1 Message Date
6987fb5d54 Fixed Captcha client side validation after image refresh, when controller is under module
Closes #10910
2016-03-06 11:33:50 +02:00
ef050338cc Fixed Imagick call in Captcha 2016-02-25 21:45:01 +03:00
5c4e2d4372 Removed unnecessary parentheses 2016-02-16 14:08:43 +03:00
1f7134634b Use static:: instead of $this for static method calls 2016-02-16 14:06:23 +03:00
090a9875d9 Fixed CaptchaValidator to pass correct hashKey
Fixed `yii\validators\CaptchaValidator` passed incorrect hashKey to JS validator when `captchaAction` begins with `/`

Closes #10385
2015-12-15 12:45:00 +02:00
2441e95a96 Update CaptchaAction.php
added missing version annotation
2015-11-23 15:45:31 +01:00
742f106ec0 Fixes #8284: Added \yii\captcha\CaptchaAction::$imageLibrary property allowing to set image rendering library 2015-11-23 13:40:38 +03:00
d22a689fac Fixes #9984: Fixed wrong captcha color in case Imagick is used 2015-10-21 17:10:35 +03:00
3f4fcbe569 Removed accidentally typed char 2015-10-10 20:53:23 +03:00
fb2fa8634d Fixes #9877 2015-10-10 18:17:27 +03:00
7a08b8d9d9 Use ++ instead of x = x + 1 2015-10-10 01:05:56 +03:00
4ecafe653c More compact number operations 2015-10-10 00:41:54 +03:00
7a32c63a5c Update yii\captcha\Captcha.php
phpDoc microfix
2015-06-10 00:23:55 +03:00
78d3a856d3 Added Json::htmlEncode() to support safer JSON data encoding in HTML code 2015-05-09 23:38:17 -04:00
21b87b67af Fixes #7218: yii\captcha\CaptchaAction should send response in JSON format 2015-02-09 20:33:05 -05:00
40c232df92 enhanced widget documentation 2015-02-08 18:02:31 +01:00
48ec791e4a Fixes #5587: json_encode is now used with JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE where it makes sense, also it is now default for Json::encode() 2014-10-19 18:50:46 +04:00
9302786944 Fixes #5598: added ImageMagick with PNG and GD with FreeType checks to requirements of basic and advanced applications, used better Captcha exception message 2014-10-19 01:23:46 +04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
dd5a16aa4a Fixes #4127: CaptchaValidator clientside error message wasn't formed properly 2014-06-30 20:35:49 +04:00
ba690d5451 Imagick image can not be converted to string on HHVM
made it consistent with the GD function.

See also https://github.com/yiisoft/yii/pull/3406
2014-06-23 13:46:35 +02:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
0174caf424 Fixed hashKey [skip ci] 2014-05-28 10:18:35 -04:00
7f7546485d Fixes #3601: Fixed the bug that the refresh URL was not generated correctly by Captcha 2014-05-28 09:55:44 -04:00
a87e589af7 Fixes #3458: Fixed the bug that the image rendered by CaptchaAction was using a wrong content type 2014-05-13 22:02:49 -04:00
91965fd391 phpdoc formatting issues 2014-04-23 02:55:17 +02:00
c1445871f4 Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
6e8c460273 Fixes #2724: consistent use of absolute and relative routes. 2014-03-22 20:17:31 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
df54621e76 fixes #2740 2014-03-13 21:37:44 +01:00
6fff5662df better use @see for See in phpdoc 2014-03-11 05:38:35 +01:00
c94a40e90d added a large amount of missing documentation 2014-03-11 05:38:35 +01:00
5d6c314d4e Adjusted URL helper, fixed usage 2014-03-10 15:25:15 +04:00
92b381795b Adjusted Url helper methods 2014-03-10 01:34:05 +04:00
3400eb5215 #2630: yii\heplers\Html::url moved to new yii\helpers\Url::create 2014-03-09 16:41:55 +04:00
43c17d99cc Fixes #2426: Changed URL creation method signatures to be consistent 2014-02-20 20:10:33 +04:00
928df00951 fixed validation message translation [skip ci] 2014-02-08 18:19:42 -05:00
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
6f82959675 made post params consistend with body and query params in request
issue #2093
2014-01-27 10:48:33 +01:00
baad3eb2a8 fixed #1992 the issue that use 'site/captcha' will get wrong refreshUrl in module scenario 2014-01-17 11:32:14 +08:00
579003ab93 fix #1992: when set yii\captcha\CaptchaValidator::$captchaAction = '/site/captcha'
yii\captcha\CaptchaValidator->createCaptchaAction() error
2014-01-17 10:03:56 +08:00
5d23a066ca Removed unused imports 2014-01-12 23:42:55 +04:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00