Commit Graph

258 Commits

Author SHA1 Message Date
Alexander Makarov
474e29f27a And another tial to achieve 5.2 compatibility 2014-02-05 21:29:17 +04:00
Alexander Makarov
439c70ab2f And another fix for PHP 5.2 in eb8516b8e7 2014-02-05 20:56:08 +04:00
Alexander Makarov
c260400f66 Fixed PHP 5.2 compatibility in eb8516b8e7 2014-02-05 20:25:29 +04:00
pzaremba
c8837495b4 #3077 2014-02-05 14:36:33 +01:00
pzaremba
5ff92dea33 Revert "one more revert."
This reverts commit 91787e8787.
2014-02-05 14:35:20 +01:00
pzaremba
91787e8787 one more revert. 2014-02-05 14:25:06 +01:00
Carsten Brandt
56312ec580 Fixed issue with Component::__call() and normal properties holding a Closure
fixes #2855
2014-01-28 13:20:23 +01:00
munawer-t
6adff58b63 Typo fix 2014-01-03 18:03:51 +05:30
munawer-t
c3237d044d Typo fix in PHPDoc 2013-10-23 17:56:27 +05:30
Paul Klimov
d885fcbba1 Property 'CErrorHandler::exception' added to store current handling exception instance 2013-10-02 12:43:54 +03:00
munawer-t
b2afa62604 Typo fix in PHPDoc 2013-09-10 13:36:18 +05:30
Carsten Brandt
c47c8ebf89 fixed CApplication docs about autoloader 2013-09-04 13:31:17 +02:00
Paul Klimov
1656e5742f Unnecessary comment at CErrorHandler::render() has been removed. 2013-08-30 14:00:24 +03:00
Paul Klimov
d0b76dcff0 CErrorHandler has been refactored to respect errorAction on AJAX request. 2013-08-29 16:49:51 +03:00
resurtm
2978531454 Fix indentation for #2697. 2013-07-30 19:46:39 +06:00
tom--
48b0cc952e Nonsense removal 2013-07-28 11:15:39 -04:00
tom--
a000259b73 Merge branch 'master' of git://github.com/yiisoft/yii into 2053-corrections-to-random-getters-see-PR-2604-discussion 2013-07-28 11:06:15 -04:00
tom--
ddbc45c255 Detailed explanation of $cryptographicallyStrong param in generateRandomBytes(). 2013-07-28 11:05:26 -04:00
Paul Klimov
7adb705334 Commit a1b6648 has been reverted. 2013-07-12 15:35:54 +03:00
Evgeny Blinov
a1b664813e Add checking default extensionPath value 2013-07-12 15:45:08 +04:00
Evgeny Blinov
b7df7f42dc Fix 2013-07-12 14:47:44 +04:00
Evgeny Blinov
1bfc7da00a Additional fix 2013-07-12 14:19:28 +04:00
Evgeny Blinov
74d500695a Fix 2013-07-11 10:43:02 +04:00
Evgeny Blinov
ee79af23c4 Code formatting 2013-07-10 19:12:02 +04:00
Evgeny Blinov
fa5e6e1a31 Bugfix. Unable import non-build aliases by config 2013-07-10 19:05:03 +04:00
tom--
8894ed1509 mcrypt_create_iv() default is MCRYPT_DEV_RANDOM. generateRandomBytes() should use urandom. 2013-07-08 08:08:07 -04:00
tom--
6b35db2a7d Code style. Convert spaces to tabs. 2013-07-08 07:48:25 -04:00
tom--
e2398faa9c Chg #2053 Corrections for more coherent CSecurityManager::generateRandomBytes() see PR 2604 discussion, unit tests. 2013-07-07 16:37:27 -04:00
Alexander Makarov
5cd179dfba Merge pull request #2604 from resurtm/fixes-2053
Fixes #2053: refactor CSecurityManager and CPasswordHelper
2013-07-07 03:46:09 -07:00
creocoder
05a7f34b4c 2607 rollback 2013-07-06 20:51:59 +04:00
resurtm
cac8df8177 Fixes:
1. Blowfish salt should have "./0-9A-Za-z" alphabet and should be 21
characters long. Proper format is: $2a$nn$xxxxxxxxxxxxxxxxxxxxx$

See: http://us2.php.net/crypt

2. CS fixes.
2013-07-05 15:37:38 +06:00
creocoder
75c7b6b9f0 Tests, code style fixes and changelog gramar corrections 2013-07-05 13:04:12 +04:00
resurtm
fbbe9ed72f Docblocks fixes and other minor adjustements made. 2013-07-05 14:46:28 +06:00
creocoder
238b5e5ac1 (CModel::prependValidator(), CModel::appendValidator()) (Enh #2259 rework) 2013-07-05 12:42:38 +04:00
resurtm
4cd2d38a71 Minor CS fixes and @throws docblock clause added. 2013-07-05 10:17:49 +06:00
resurtm
683de0131d Non-blocking read from /dev/random is not supported by RedHat 6.*. 2013-07-05 10:14:04 +06:00
resurtm
d662ee84f3 CSecurityManager:
1. Added /dev/urandom usage.
2. A couple of minor code optimizations.
2013-07-05 10:09:04 +06:00
resurtm
9cd40000d9 Fixes #2053:
1. CPasswordHelper has been refactored.

2. CSecurityManager has been enhanced and now able to generate
cryptographically strong random stuff.
2013-07-04 20:39:14 +06:00
nsanden
6dba650f28 fix small typo 2013-05-09 12:36:01 -07:00
Carsten Brandt
75bb017126 Improved documentation for php expressions
Fixes issue #1921
2013-05-01 23:16:00 +02:00
Paul Klimov
1259a92eba Merge pull request #2259 from gusnips/patch-2
Allow creation of new validators on the fly
2013-04-01 11:50:24 -07:00
Maurizio Domba (mdwork)
ec7c9100ef doc fix 2013-03-25 10:57:33 +01:00
Gustavo Salomé Silva
12394f1b23 new line after method
just to keep the standard
2013-03-25 06:55:45 -03:00
Gustavo Salomé Silva
10689390f8 now return $this allowing method chaining
also added @since tag
2013-03-25 06:45:36 -03:00
Gustavo Salomé Silva
33924a6a0d Allow creation of new validators on the fly
This is useful for extensions and/or behaviors.
I could do it outside the model, but I think it belongs in it.
2013-03-25 06:22:45 -03:00
resurtm
f1fbb48897 Reverted change of the deprecated property's PHPDoc (made in PR #2249). 2013-03-25 15:00:55 +06:00
resurtm
99bd5e2d06 PHPDoc of the CSecurityManager::computeHMAC() has been enhanced. 2013-03-23 10:50:42 +06:00
resurtm
9d9d729ef3 Fixes #1142. CSecurityManager::computeHMAC() now has public accessor. 2013-03-22 23:55:53 +06:00
CeBe
d3d94b9188 reverted changes of pull request #2163
changes are not compatible with PHP <5.3
2013-03-12 19:57:16 +01:00
Carsten Brandt
3d3134a1e2 Merge pull request #2163 from odevyatkov/addParentException
add previous exception to base yii exception classes as param
2013-03-12 08:24:35 -07:00