Commit Graph

741 Commits

Author SHA1 Message Date
Qiang Xue
60e07e0d2a new asset WIP: renabled asset publishing 2014-09-02 14:51:44 -04:00
Klimov Paul
6709154792 yii\base\ErrorHandler::handleError() adjusted keeping native error processing on error reporting miss match. 2014-08-19 12:42:41 +03:00
disem
7d64e93c00 Merge branch 'master' of git://github.com/yiisoft/yii2 into dynamic-model-typo-fix 2014-08-13 15:51:26 +03:00
disem
a83d441534 typo fix 2014-08-13 15:51:10 +03:00
Henry Abbott
00aab7c379 Fixed typo in comments for generatePasswordHash 2014-08-09 00:23:29 -04:00
Qiang Xue
dee0382c1f Added yii\base\InvalidValueException.
Refactored `yii\web\User`.
2014-08-06 10:07:14 -04:00
Carsten Brandt
0ed6355ee1 test and docs to be clear about #4558 2014-08-01 15:35:23 +02:00
Qiang Xue
da544b2676 Fixes #4519: yii\base\Model::isAttributeRequired() should check if the when option of the validator is set 2014-07-29 21:01:24 -04:00
Thiago Talma
45ee387f92 It is not required by default when you set the "when" attribute 2014-07-29 20:59:21 -04:00
Qiang Xue
83b800271b Merge branch 'master' of git://github.com/yiisoft/yii2 2014-07-29 20:54:07 -04:00
Qiang Xue
a0d19e922b Fixes #4497: changed to use hex digits by default when hashing data. 2014-07-29 20:54:01 -04:00
Carsten Brandt
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
Carsten Brandt
ca9d4867f4 code style 2014-07-29 22:23:59 +02:00
Carsten Brandt
1f31f27787 phpdoc 2014-07-29 22:19:14 +02:00
Carsten Brandt
8701d7df3b more explicit comment in phpdoc, code style 2014-07-29 02:45:56 +02:00
Alexander Makarov
be24a2e2c7 Removed mentions of $deriveKeyStrategy from Security phpdoc 2014-07-28 13:36:06 +04:00
Carsten Brandt
9e9175fe09 fixed typo
fixes #4480
2014-07-28 09:12:29 +02:00
Alexey Samoylov
b3260567c2 Mistype 2014-07-28 12:10:14 +08:00
tom--
33f2525a39 Remove nonsense branch logic 2014-07-27 14:30:13 -04:00
tom--
4f5b7afd95 Merge branch 'master' of git://github.com/yiisoft/yii2 into 4469-compareString-without-shortcut 2014-07-27 12:04:03 -04:00
tom--
c6a8b418ef compareString(): timing depends only on length of $actual input, unit test 2014-07-27 12:03:03 -04:00
Vincent
56a9536b51 Typo in docs 2014-07-26 17:07:06 +02:00
Qiang Xue
b680afc721 Fixes #4462. 2014-07-26 10:08:52 -04:00
Alexander Makarov
c5a3cd511e Security component adjustments: fixed comment style, hkdf() and pbkdf2() are now protected, compareString() is now public 2014-07-26 14:09:38 +04:00
tom--
2c5c2c101b Fixes #4131: Security adjustments 2014-07-26 03:29:30 +04:00
Alexander Makarov
0edd8bc65a Fixed missing and incorrect phpdoc 2014-07-25 17:26:35 +04:00
Kai Mindermann
46b553f012 fixes formatter doing one division too much, fixes #4427 2014-07-24 15:55:21 +04:00
Kai Mindermann
f3520187d6 formatter: adds unit tests for base 1000, fixes #4412 2014-07-24 14:57:52 +04:00
Qiang Xue
390a6c782e Fixes #4409: Upper case letters in subdirectory prefixes of controller IDs were not properly handled 2014-07-23 22:10:13 -04:00
Alexander Makarov
8802d0305e Avoid method call in for condition 2014-07-23 16:42:41 +04:00
Qiang Xue
d62f7bebb5 Fixes #4231: turned Controller::findLayoutFile() from protected to public. 2014-07-09 17:12:49 -04:00
Qiang Xue
9c4d4715dd guide WIP [skip ci] 2014-07-03 08:33:09 -04:00
Alexander Makarov
deecdcad84 Adjusted exception message when pdkdbf2 is set but environment isn't OK 2014-06-30 21:23:33 +04:00
Alexander Makarov
481db35512 Fixes #4114: Added Security::generateRandomHexKey(), used it for various tokens and default key generation 2014-06-30 16:36:52 +04:00
Paul Klimov
90a625013c Result check at Security::generateRandomKey() added 2014-06-29 15:39:25 +03:00
fps01
039909a846 Fixed a call of function "generateRandomKey()" in app\base\Security 2014-06-29 12:23:06 +04:00
Qiang Xue
399b6b18e3 Fixes #4103 2014-06-28 21:58:07 -04:00
Paul Klimov
648b9b70f5 Merge pull request #4089 from klimov-paul/87-security-component-3
Fix #87: security helper converted into component and improved
2014-06-29 00:04:03 +03:00
Paul Klimov
84cbf19bfe Doc comments at Security::generateRandomKey() adjusted 2014-06-28 19:05:16 +03:00
Paul Klimov
69abbc7ff3 Fallback at Security::generateRandomKey() removed 2014-06-28 19:02:53 +03:00
Paul Klimov
052ae83340 Option Security::autoGenerateSecretKey added 2014-06-28 00:11:48 +03:00
Paul Klimov
25a3637709 Upgrade note about Security updated 2014-06-27 23:33:16 +03:00
Paul Klimov
5a42985750 Option Security::useDeriveKeyUniqueSalt added 2014-06-27 23:30:28 +03:00
Paul Klimov
772667fa1c Doc comments at Security updated 2014-06-27 23:13:57 +03:00
Paul Klimov
4ce4707a3a Option Security::passwordHashStrategy added 2014-06-27 23:05:23 +03:00
Paul Klimov
4063502439 Option Security::deriveKeyStrategy added 2014-06-27 22:10:02 +03:00
Paul Klimov
846596294d Fallback for Security::generateRandomKey() added 2014-06-27 21:45:52 +03:00
Paul Klimov
4768dcdbc2 Method Security::compareString() extracted 2014-06-27 21:33:42 +03:00
Qiang Xue
06f27758b3 Fixed typo. [skip ci] 2014-06-27 09:23:09 -04:00
Klimov Paul
47f8eafb6d Doc comments at yii\base\Security fixed 2014-06-27 14:37:59 +03:00