Commit Graph

247 Commits

Author SHA1 Message Date
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
borales
6d19a150d4 Replacing spaces with tabs, removing dots
[ci skip]
2013-03-06 20:59:38 +02:00
borales
2f68a75235 Replacing spaces with tabs
[ci skip]
2013-03-06 08:48:59 +02:00
borales
07975cad64 Fixing spaces
[ci skip]
2013-03-06 01:06:46 +02:00
borales
a7af2c5371 Fixing some typos, PHPDocs
[ci skip]
2013-03-06 00:24:35 +02:00
odevyatkov
35738f6274 add previous exception as param 2013-03-03 20:40:14 +02:00
Maurizio Domba (mdlap)
dd02b17e67 doc fix 2013-02-02 10:47:37 +01:00
Ragazzo
4bd3bfbc5c Added more docs about second param. 2013-02-02 01:25:30 +04:00
Abdul Malik Ikhsan
6247adaf26 change copyright symbol 2013-01-15 18:38:02 +07:00
Abdul Malik Ikhsan
46c8ef0d9a update copyright year
from 2011 to 2013
2013-01-15 17:28:17 +07:00
Carsten Brandt
1779443632 Merged pull request #1772 branch '162-behavior'
* 162-behavior:
  doc comments
  refactored CBehavior
  CBehaviorTest structure
  added assertations about CBehavior::$enabled
  Fix issue #162, eventhandlers attached twice

Conflicts:
	CHANGELOG
2012-11-30 17:14:10 +01:00
Carsten Brandt
97edb90501 better fix for #835
issue #835
reverts fix introduced with 5b28c6ab00

as onEndRequest will fire event only once I added app->end() method as
shutdown function to make sure onEndRequest gets called in any case.
If application called it before shutdown function has no effect.
2012-11-30 16:42:26 +01:00